You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
4.3 MiB
1 line
4.3 MiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[0],{"+3Gp":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n("MNsG"),i=n("Yr1X"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=r["e"]?1.5:1.35,s=8,l=function(){function e(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.fontFeatureSettings=e.fontFeatureSettings,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}return e.createFromValidatedSettings=function(t,n,r){var i=t.get(33),o=t.get(37),a=t.get(36),s=t.get(35),l=t.get(49),u=t.get(46);return e._create(i,o,a,s,l,u,n,r)},e._create=function(t,n,r,o,l,u,c,d){0===l?l=Math.round(a*r):l<s&&(l=s);var h=1+(d?0:.1*i["a"].getZoomLevel());return r*=h,l*=h,new e({zoomLevel:c,fontFamily:t,fontWeight:n,fontSize:r,fontFeatureSettings:o,lineHeight:l,letterSpacing:u})},e.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.fontFeatureSettings+"-"+this.lineHeight+"-"+this.letterSpacing},e.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},e}(),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isTrusted=n,r.isMonospace=t.isMonospace,r.typicalHalfwidthCharacterWidth=t.typicalHalfwidthCharacterWidth,r.typicalFullwidthCharacterWidth=t.typicalFullwidthCharacterWidth,r.canUseHalfwidthRightwardsArrow=t.canUseHalfwidthRightwardsArrow,r.spaceWidth=t.spaceWidth,r.middotWidth=t.middotWidth,r.maxDigitWidth=t.maxDigitWidth,r}return o(t,e),t.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&this.fontFeatureSettings===e.fontFeatureSettings&&this.lineHeight===e.lineHeight&&this.letterSpacing===e.letterSpacing&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.typicalFullwidthCharacterWidth===e.typicalFullwidthCharacterWidth&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.maxDigitWidth===e.maxDigitWidth},t}(l)},"+6XX":function(e,t,n){var r=n("y1pI");function i(e){return r(this.__data__,e)>-1}e.exports=i},"+7oY":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"i",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"f",(function(){return g}));var r=n("ic2d"),i=n("Cg/j"),o=n("CRAX"),a=Object(i["c"])("configurationService");function s(e,t){var n=Object.create(null);for(var r in e)l(n,r,e[r],t);return n}function l(e,t,n,r){for(var i=t.split("."),o=i.pop(),a=e,s=0;s<i.length;s++){var l=i[s],u=a[l];switch(typeof u){case"undefined":u=a[l]=Object.create(null);break;case"object":break;default:return void r("Ignoring "+t+" as "+i.slice(0,s+1).join(".")+" is "+JSON.stringify(u))}a=u}"object"===typeof a?a[o]=n:r("Ignoring "+t+" as "+i.join(".")+" is "+JSON.stringify(a))}function u(e,t){var n=t.split(".");c(e,n)}function c(e,t){var n=t.shift();if(0!==t.length){if(-1!==Object.keys(e).indexOf(n)){var r=e[n];"object"!==typeof r||Array.isArray(r)||(c(r,t),0===Object.keys(r).length&&delete e[n])}}else delete e[n]}function d(e,t,n){function r(e,t){for(var n=e,r=0,i=t;r<i.length;r++){var o=i[r];if("object"!==typeof n||null===n)return;n=n[o]}return n}var i=t.split("."),o=r(e,i);return"undefined"===typeof o?n:o}function h(){var e=r["a"].as(o["a"].Configuration).getConfigurationProperties();return Object.keys(e)}function f(){var e=Object.create(null),t=r["a"].as(o["a"].Configuration).getConfigurationProperties();for(var n in t){var i=t[n].default;l(e,n,i,(function(e){return console.error("Conflict in default settings: "+e)}))}return e}function p(e){return e.substring(1,e.length-1)}function g(e,t,n){var r=e.inspect(t),i=e.inspect(n);return"undefined"!==typeof r.userValue||"undefined"!==typeof r.workspaceValue||"undefined"!==typeof r.workspaceFolderValue?r.value:"undefined"!==typeof i.userValue||"undefined"!==typeof i.workspaceValue||"undefined"!==typeof i.workspaceFolderValue?i.value:r.defaultValue}},"+BJd":function(e,t,n){"use strict";n("cIOH"),n("6MrE")},"+Fos":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Ll0s"),i=n("cGHE"),o=n("aokT"),a=n("N0LK"),s=function(){function e(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n}return e}(),l=function(){function e(){}return e.leftPosition=function(e,t,n){return n>e.getLineMinColumn(t)?n-=a["G"](e.getLineContent(t),n-1):t>1&&(t-=1,n=e.getLineMaxColumn(t)),new i["a"](t,n)},e.left=function(t,n,r,i){var o=e.leftPosition(n,r,i);return new s(o.lineNumber,o.column,0)},e.moveLeft=function(t,n,r,i,o){var a,s;if(r.hasSelection()&&!i)a=r.selection.startLineNumber,s=r.selection.startColumn;else{var l=e.left(t,n,r.position.lineNumber,r.position.column-(o-1));a=l.lineNumber,s=l.column}return r.move(i,a,s,0)},e.rightPosition=function(e,t,n){return n<e.getLineMaxColumn(t)?n+=a["E"](e.getLineContent(t),n-1):t<e.getLineCount()&&(t+=1,n=e.getLineMinColumn(t)),new i["a"](t,n)},e.right=function(t,n,r,i){var o=e.rightPosition(n,r,i);return new s(o.lineNumber,o.column,0)},e.moveRight=function(t,n,r,i,o){var a,s;if(r.hasSelection()&&!i)a=r.selection.endLineNumber,s=r.selection.endColumn;else{var l=e.right(t,n,r.position.lineNumber,r.position.column+(o-1));a=l.lineNumber,s=l.column}return r.move(i,a,s,0)},e.down=function(e,t,n,i,o,a,l){var u=r["a"].visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+o;n+=a;var c=t.getLineCount();return n>c?(n=c,i=l?t.getLineMaxColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=r["a"].columnFromVisibleColumn2(e,t,n,u),o=u-r["a"].visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),new s(n,i,o)},e.moveDown=function(t,n,r,i,o){var a,s;r.hasSelection()&&!i?(a=r.selection.endLineNumber,s=r.selection.endColumn):(a=r.position.lineNumber,s=r.position.column);var l=e.down(t,n,a,s,r.leftoverVisibleColumns,o,!0);return r.move(i,l.lineNumber,l.column,l.leftoverVisibleColumns)},e.translateDown=function(t,n,a){var s=a.selection,l=e.down(t,n,s.selectionStartLineNumber,s.selectionStartColumn,a.selectionStartLeftoverVisibleColumns,1,!1),u=e.down(t,n,s.positionLineNumber,s.positionColumn,a.leftoverVisibleColumns,1,!1);return new r["f"](new o["a"](l.lineNumber,l.column,l.lineNumber,l.column),l.leftoverVisibleColumns,new i["a"](u.lineNumber,u.column),u.leftoverVisibleColumns)},e.up=function(e,t,n,i,o,a,l){var u=r["a"].visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize)+o;return n-=a,n<1?(n=1,i=l?t.getLineMinColumn(n):Math.min(t.getLineMaxColumn(n),i)):i=r["a"].columnFromVisibleColumn2(e,t,n,u),o=u-r["a"].visibleColumnFromColumn(t.getLineContent(n),i,e.tabSize),new s(n,i,o)},e.moveUp=function(t,n,r,i,o){var a,s;r.hasSelection()&&!i?(a=r.selection.startLineNumber,s=r.selection.startColumn):(a=r.position.lineNumber,s=r.position.column);var l=e.up(t,n,a,s,r.leftoverVisibleColumns,o,!0);return r.move(i,l.lineNumber,l.column,l.leftoverVisibleColumns)},e.translateUp=function(t,n,a){var s=a.selection,l=e.up(t,n,s.selectionStartLineNumber,s.selectionStartColumn,a.selectionStartLeftoverVisibleColumns,1,!1),u=e.up(t,n,s.positionLineNumber,s.positionColumn,a.leftoverVisibleColumns,1,!1);return new r["f"](new o["a"](l.lineNumber,l.column,l.lineNumber,l.column),l.leftoverVisibleColumns,new i["a"](u.lineNumber,u.column),u.leftoverVisibleColumns)},e.moveToBeginningOfLine=function(e,t,n,r){var i,o=n.position.lineNumber,a=t.getLineMinColumn(o),s=t.getLineFirstNonWhitespaceColumn(o)||a,l=n.position.column;return i=l===s?a:s,n.move(r,o,i,0)},e.moveToEndOfLine=function(e,t,n,r){var i=n.position.lineNumber,o=t.getLineMaxColumn(i);return n.move(r,i,o,0)},e.moveToBeginningOfBuffer=function(e,t,n,r){return n.move(r,1,1,0)},e.moveToEndOfBuffer=function(e,t,n,r){var i=t.getLineCount(),o=t.getLineMaxColumn(i);return n.move(r,i,o,0)},e}()},"+JPL":function(e,t,n){e.exports={default:n("+SFK"),__esModule:!0}},"+L6B":function(e,t,n){"use strict";n("cIOH"),n("qCM6")},"+QRC":function(e,t,n){"use strict";var r=n("E9nw"),i={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function a(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function s(e,t){var n,s,l,u,c,d,h=!1;t||(t={}),n=t.debug||!1;try{l=r(),u=document.createRange(),c=document.getSelection(),d=document.createElement("span"),d.textContent=e,d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i["default"];window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");h=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),s=a("message"in t?t.message:o),window.prompt(s,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),l()}return h}e.exports=s},"+SFK":function(e,t,n){n("AUvm"),n("wgeU"),n("adOz"),n("dl0q"),e.exports=n("WEpk").Symbol},"+TT/":function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=o.parsePercent,s=n("7aKB"),l=r.each,u=["left","right","top","bottom","width","height"],c=[["width","left","right"],["height","top","bottom"]];function d(e,t,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,u){var c,d,h=l.position,f=l.getBoundingRect(),p=t.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===e){var m=f.width+(g?-g.x+f.x:0);c=o+m,c>r||l.newline?(o=0,c=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);d=a+v,d>i||l.newline?(o+=s+n,a=0,d=v,s=f.width):s=Math.max(s,f.width)}l.newline||(h[0]=o,h[1]=a,"horizontal"===e?o=c+n:a=d+n)}))}var h=d,f=r.curry(d,"vertical"),p=r.curry(d,"horizontal");function g(e,t,n){var r=t.width,i=t.height,o=a(e.x,r),l=a(e.y,i),u=a(e.x2,r),c=a(e.y2,i);return(isNaN(o)||isNaN(parseFloat(e.x)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.x2)))&&(u=r),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(e.y2)))&&(c=i),n=s.normalizeCssArray(n||0),{width:Math.max(u-o-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}}function m(e,t,n){n=s.normalizeCssArray(n||0);var r=t.width,o=t.height,l=a(e.left,r),u=a(e.top,o),c=a(e.right,r),d=a(e.bottom,o),h=a(e.width,r),f=a(e.height,o),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(h)&&(h=r-c-g-l),isNaN(f)&&(f=o-d-p-u),null!=m&&(isNaN(h)&&isNaN(f)&&(m>r/o?h=.8*r:f=.8*o),isNaN(h)&&(h=m*f),isNaN(f)&&(f=h/m)),isNaN(l)&&(l=r-c-h-g),isNaN(u)&&(u=o-d-f-p),e.left||e.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-g;break}switch(e.top||e.bottom){case"middle":case"center":u=o/2-f/2-n[0];break;case"bottom":u=o-f-p;break}l=l||0,u=u||0,isNaN(h)&&(h=r-g-l-(c||0)),isNaN(f)&&(f=o-p-u-(d||0));var v=new i(l+n[3],u+n[0],h,f);return v.margin=n,v}function v(e,t,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],u=a&&a.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===e.type?new i(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(c=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();c=c.clone(),c.applyTransform(d)}t=m(r.defaults({width:c.width,height:c.height},t),n,o);var h=e.position,f=s?t.x-c.x:0,p=l?t.y-c.y:0;e.attr("position","raw"===u?[f,p]:[h[0]+f,h[1]+p])}}function y(e,t){return null!=e[c[t][0]]||null!=e[c[t][1]]&&null!=e[c[t][2]]}function b(e,t,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=s(c[0],0),a=s(c[1],1);function s(n,r){var o={},a=0,s={},c=0,h=2;if(l(n,(function(t){s[t]=e[t]})),l(n,(function(e){u(t,e)&&(o[e]=s[e]=t[e]),d(o,e)&&a++,d(s,e)&&c++})),i[r])return d(t,n[1])?s[n[2]]=null:d(t,n[2])&&(s[n[1]]=null),s;if(c!==h&&a){if(a>=h)return o;for(var f=0;f<n.length;f++){var p=n[f];if(!u(o,p)&&u(e,p)){o[p]=e[p];break}}return o}return s}function u(e,t){return e.hasOwnProperty(t)}function d(e,t){return null!=e[t]&&"auto"!==e[t]}function h(e,t,n){l(e,(function(e){t[e]=n[e]}))}h(c[0],e,o),h(c[1],e,a)}function _(e){return w({},e)}function w(e,t){return t&&e&&l(u,(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}t.LOCATION_PARAMS=u,t.HV_NAMES=c,t.box=h,t.vbox=f,t.hbox=p,t.getAvailableSize=g,t.getLayoutRect=m,t.positionElement=v,t.sizeCalculable=y,t.mergeLayoutParam=b,t.getLayoutParams=_,t.copyLayoutParams=w},"+Zaj":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("ugBc")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="CalendarOutlined";var u=o.forwardRef(l);t.default=u},"+a1H":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return n.e(181).then(n.bind(null,"O3xE"))}})},"+d4F":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("y3Yb"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"+eQT":function(e,t,n){"use strict";var r=n("wd/R"),i=n.n(r),o=n("Kwbf"),a={getNow:function(){return i()()},getWeekDay:function(e){var t=e.clone().locale("en_US");return t.weekday()+t.localeData().firstDayOfWeek()},getYear:function(e){return e.year()},getMonth:function(e){return e.month()},getDate:function(e){return e.date()},getHour:function(e){return e.hour()},getMinute:function(e){return e.minute()},getSecond:function(e){return e.second()},addYear:function(e,t){var n=e.clone();return n.add(t,"year")},addMonth:function(e,t){var n=e.clone();return n.add(t,"month")},addDate:function(e,t){var n=e.clone();return n.add(t,"day")},setYear:function(e,t){var n=e.clone();return n.year(t)},setMonth:function(e,t){var n=e.clone();return n.month(t)},setDate:function(e,t){var n=e.clone();return n.date(t)},setHour:function(e,t){var n=e.clone();return n.hour(t)},setMinute:function(e,t){var n=e.clone();return n.minute(t)},setSecond:function(e,t){var n=e.clone();return n.second(t)},isAfter:function(e,t){return e.isAfter(t)},isValidate:function(e){return e.isValid()},locale:{getWeekFirstDay:function(e){var t=i()().locale(e);return t.localeData().firstDayOfWeek()},getWeek:function(e,t){var n=t.clone(),r=n.locale(e);return r.week()},getShortWeekDays:function(e){var t=i()().locale(e);return t.localeData().weekdaysMin()},getShortMonths:function(e){var t=i()().locale(e);return t.localeData().monthsShort()},format:function(e,t,n){var r=t.clone(),i=r.locale(e);return i.format(n)},parse:function(e,t,n){for(var r=[],a=0;a<n.length;a+=1){var s=n[a],l=t;if(s.includes("wo")||s.includes("Wo")){s=s.replace(/wo/g,"w").replace(/Wo/g,"W");var u=s.match(/[-YyMmDdHhSsWwGg]+/g),c=l.match(/[-\d]+/g);u&&c?(s=u.join(""),l=c.join("")):r.push(s.replace(/o/g,""))}var d=i()(l,s,e,!0);if(d.isValid())return d}for(var h=0;h<r.length;h+=1){var f=i()(t,r[h],e,!1);if(f.isValid())return Object(o["b"])(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),f}return null}}},s=a,l=n("q1tI"),u=n("2/Rp");function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function d(e){return l["createElement"](u["a"],c({size:"small",type:"primary"},e))}var h=n("mr32");function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e){return l["createElement"](h["a"],f({color:"blue"},e))}var g=n("TSYQ"),m=n.n(g),v=n("r/2G"),y=n.n(v),b=n("XzQk"),_=n.n(b),w=n("kbBi"),x=n.n(w),C=n("1OyB"),S=n("vuIU"),O=n("Ji7U"),k=n("md7G"),E=n("foSv"),D=n("rePB"),M=n("ODXe"),N=n("6cGi"),L=n("U8pU"),I=n("4IlW"),T=l["createContext"]({}),P=T,A={visibility:"hidden"};function R(e){var t=e.prefixCls,n=e.prevIcon,r=void 0===n?"\u2039":n,i=e.nextIcon,o=void 0===i?"\u203a":i,a=e.superPrevIcon,s=void 0===a?"\xab":a,u=e.superNextIcon,c=void 0===u?"\xbb":u,d=e.onSuperPrev,h=e.onSuperNext,f=e.onPrev,p=e.onNext,g=e.children,m=l["useContext"](P),v=m.hideNextBtn,y=m.hidePrevBtn;return l["createElement"]("div",{className:t},d&&l["createElement"]("button",{type:"button",onClick:d,tabIndex:-1,className:"".concat(t,"-super-prev-btn"),style:y?A:{}},s),f&&l["createElement"]("button",{type:"button",onClick:f,tabIndex:-1,className:"".concat(t,"-prev-btn"),style:y?A:{}},r),l["createElement"]("div",{className:"".concat(t,"-view")},g),p&&l["createElement"]("button",{type:"button",onClick:p,tabIndex:-1,className:"".concat(t,"-next-btn"),style:v?A:{}},o),h&&l["createElement"]("button",{type:"button",onClick:h,tabIndex:-1,className:"".concat(t,"-super-next-btn"),style:v?A:{}},c))}var j=R;function F(e){var t=l["useContext"](P),n=t.hideHeader;if(n)return null;var r=e.prefixCls,i=e.generateConfig,o=e.locale,a=e.value,s=e.format,u="".concat(r,"-header");return l["createElement"](j,{prefixCls:u},a?i.locale.format(o.locale,a,s):"\xa0")}var B=F,V=n("KQm4"),z=new Map;function W(e,t,n){if(z.get(e)&&cancelAnimationFrame(z.get(e)),n<=0)z.set(e,requestAnimationFrame((function(){e.scrollTop=t})));else{var r=t-e.scrollTop,i=r/n*10;z.set(e,requestAnimationFrame((function(){e.scrollTop+=i,e.scrollTop!==t&&W(e,t,n-10)})))}}function H(e,t){var n=t.onLeftRight,r=t.onCtrlLeftRight,i=t.onUpDown,o=t.onPageUpDown,a=t.onEnter,s=e.which,l=e.ctrlKey,u=e.metaKey;switch(s){case I["a"].LEFT:if(l||u){if(r)return r(-1),!0}else if(n)return n(-1),!0;break;case I["a"].RIGHT:if(l||u){if(r)return r(1),!0}else if(n)return n(1),!0;break;case I["a"].UP:if(i)return i(-1),!0;break;case I["a"].DOWN:if(i)return i(1),!0;break;case I["a"].PAGE_UP:if(o)return o(-1),!0;break;case I["a"].PAGE_DOWN:if(o)return o(1),!0;break;case I["a"].ENTER:if(a)return a(),!0;break}return!1}function U(e,t,n,r){var i=e;if(!i)switch(t){case"time":i=r?"hh:mm:ss a":"HH:mm:ss";break;case"week":i="gggg-wo";break;case"month":i="YYYY-MM";break;case"quarter":i="YYYY-[Q]Q";break;case"year":i="YYYY";break;default:i=n?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return i}function K(e,t){var n="time"===e?8:10;return Math.max(n,t.length)+2}var G=null,q=new Set;function Y(e){return!G&&"undefined"!==typeof window&&window.addEventListener&&(G=function(e){Object(V["a"])(q).forEach((function(t){t(e)}))},window.addEventListener("mousedown",G)),q.add(e),function(){q.delete(e),0===q.size&&(window.removeEventListener("mousedown",G),G=null)}}var X=function(e){return"month"===e||"date"===e?"year":e},Z=function(e){return"date"===e?"month":e},Q=function(e){return"month"===e||"date"===e?"quarter":e},$=function(e){return"date"===e?"week":e},J={year:X,month:Z,quarter:Q,week:$,time:null,date:null};function ee(e,t){return e.some((function(e){return e&&e.contains(t)}))}function te(e){var t=e.prefixCls,n=e.units,r=e.onSelect,i=e.value,o=e.active,a=e.hideDisabledOptions,s="".concat(t,"-cell"),u=l["useContext"](P),c=u.open,d=l["useRef"](null),h=l["useRef"](new Map);return l["useLayoutEffect"]((function(){var e=h.current.get(i);e&&!1!==c&&W(d.current,e.offsetTop,120)}),[i]),l["useLayoutEffect"]((function(){if(c){var e=h.current.get(i);e&&W(d.current,e.offsetTop,0)}}),[c]),l["createElement"]("ul",{className:m()("".concat(t,"-column"),Object(D["a"])({},"".concat(t,"-column-active"),o)),ref:d,style:{position:"relative"}},n.map((function(e){var t;return a&&e.disabled?null:l["createElement"]("li",{key:e.value,ref:function(t){h.current.set(e.value,t)},className:m()(s,(t={},Object(D["a"])(t,"".concat(s,"-disabled"),e.disabled),Object(D["a"])(t,"".concat(s,"-selected"),i===e.value),t)),onClick:function(){e.disabled||r(e.value)}},l["createElement"]("div",{className:"".concat(s,"-inner")},e.label))})))}var ne=te;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0",r=String(e);while(r.length<t)r="".concat(n).concat(e);return r}var ie=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t};function oe(e){return null===e||void 0===e?[]:Array.isArray(e)?e:[e]}function ae(e){var t={};return Object.keys(e).forEach((function(n){"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n&&"name"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n])})),t}function se(e,t){return e?e[t]:null}function le(e,t,n){var r=[se(e,0),se(e,1)];return r[n]="function"===typeof t?t(r[n]):t,r[0]||r[1]?r:null}function ue(e,t,n,r){for(var i=[],o=e;o<=t;o+=n)i.push({label:re(o,2),value:o,disabled:(r||[]).includes(o)});return i}function ce(e){var t,n=e.generateConfig,r=e.prefixCls,i=e.operationRef,o=e.activeColumnIndex,a=e.value,s=e.showHour,u=e.showMinute,c=e.showSecond,d=e.use12Hours,h=e.hourStep,f=void 0===h?1:h,p=e.minuteStep,g=void 0===p?1:p,m=e.secondStep,v=void 0===m?1:m,y=e.disabledHours,b=e.disabledMinutes,_=e.disabledSeconds,w=e.hideDisabledOptions,x=e.onSelect,C=[],S="".concat(r,"-content"),O="".concat(r,"-time-panel"),k=a?n.getHour(a):-1,E=a?n.getMinute(a):-1,D=a?n.getSecond(a):-1,M=function(e,t,r,i){var o=a||n.getNow(),s=Math.max(0,t),l=Math.max(0,r),u=Math.max(0,i);return o=n.setSecond(o,u),o=n.setMinute(o,l),o=n.setHour(o,d&&e?s+12:s),o},N=ue(0,d?11:23,f,y&&y());d&&-1!==k&&(t=k>=12,k%=12,N[0].label="12");var L=ue(0,59,g,b&&b(k)),I=ue(0,59,v,_&&_(k,E));function T(e,t,n,r,i){!1!==e&&C.push({node:l["cloneElement"](t,{prefixCls:O,value:n,active:o===C.length,onSelect:i,units:r,hideDisabledOptions:w}),onSelect:i,value:n,units:r})}i.current={onUpDown:function(e){var t=C[o];if(t)for(var n=t.units.findIndex((function(e){return e.value===t.value})),r=t.units.length,i=1;i<r;i+=1){var a=t.units[(n+e*i+r)%r];if(!0!==a.disabled){t.onSelect(a.value);break}}}},T(s,l["createElement"](ne,{key:"hour"}),k,N,(function(e){x(M(t,e,E,D),"mouse")})),T(u,l["createElement"](ne,{key:"minute"}),E,L,(function(e){x(M(t,k,e,D),"mouse")})),T(c,l["createElement"](ne,{key:"second"}),D,I,(function(e){x(M(t,k,E,e),"mouse")}));var P=-1;return"boolean"===typeof t&&(P=t?1:0),T(!0===d,l["createElement"](ne,{key:"12hours"}),P,[{label:"AM",value:0},{label:"PM",value:1}],(function(e){x(M(!!e,k,E,D),"mouse")})),l["createElement"]("div",{className:S},C.map((function(e){var t=e.node;return t})))}var de=ce,he=function(e){return e.filter((function(e){return!1!==e})).length};function fe(e){var t=e.generateConfig,n=e.format,r=void 0===n?"HH:mm:ss":n,i=e.prefixCls,o=e.active,a=e.operationRef,s=e.showHour,u=e.showMinute,c=e.showSecond,d=e.use12Hours,h=void 0!==d&&d,f=e.onSelect,p=e.value,g="".concat(i,"-time-panel"),v=l["useRef"](),y=l["useState"](-1),b=Object(M["a"])(y,2),_=b[0],w=b[1],x=he([s,u,c,h]);return a.current={onKeyDown:function(e){return H(e,{onLeftRight:function(e){w((_+e+x)%x)},onUpDown:function(e){-1===_?w(0):v.current&&v.current.onUpDown(e)},onEnter:function(){f(p||t.getNow(),"key"),w(-1)}})},onBlur:function(){w(-1)}},l["createElement"]("div",{className:m()(g,Object(D["a"])({},"".concat(g,"-active"),o))},l["createElement"](B,Object.assign({},e,{format:r,prefixCls:i})),l["createElement"](de,Object.assign({},e,{prefixCls:i,activeColumnIndex:_,operationRef:v})))}var pe=fe,ge=7;function me(e,t){return!e&&!t||!(!e||!t)&&void 0}function ve(e,t,n){var r=me(t,n);if("boolean"===typeof r)return r;var i=Math.floor(e.getYear(t)/10),o=Math.floor(e.getYear(n)/10);return i===o}function ye(e,t,n){var r=me(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)}function be(e,t){var n=Math.floor(e.getMonth(t)/3);return n+1}function _e(e,t,n){var r=me(t,n);return"boolean"===typeof r?r:ye(e,t,n)&&be(e,t)===be(e,n)}function we(e,t,n){var r=me(t,n);return"boolean"===typeof r?r:ye(e,t,n)&&e.getMonth(t)===e.getMonth(n)}function xe(e,t,n){var r=me(t,n);return"boolean"===typeof r?r:e.getYear(t)===e.getYear(n)&&e.getMonth(t)===e.getMonth(n)&&e.getDate(t)===e.getDate(n)}function Ce(e,t,n){var r=me(t,n);return"boolean"===typeof r?r:e.getHour(t)===e.getHour(n)&&e.getMinute(t)===e.getMinute(n)&&e.getSecond(t)===e.getSecond(n)}function Se(e,t,n,r){var i=me(n,r);return"boolean"===typeof i?i:e.locale.getWeek(t,n)===e.locale.getWeek(t,r)}function Oe(e,t,n){return xe(e,t,n)&&Ce(e,t,n)}function ke(e,t,n,r){return!!(t&&n&&r)&&(!xe(e,t,r)&&!xe(e,n,r)&&e.isAfter(r,t)&&e.isAfter(n,r))}function Ee(e,t,n){var r=t.locale.getWeekFirstDay(e),i=t.setDate(n,1),o=t.getWeekDay(i),a=t.addDate(i,r-o);return t.getMonth(a)===t.getMonth(n)&&t.getDate(a)>1&&(a=t.addDate(a,-7)),a}function De(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;switch(t){case"year":return n.addYear(e,10*r);case"quarter":case"month":return n.addYear(e,r);default:return n.addMonth(e,r)}}var Me=l["createContext"]({}),Ne=Me;function Le(e){var t=e.cellPrefixCls,n=e.generateConfig,r=e.rangedValue,i=e.hoverRangedValue,o=e.isInView,a=e.isSameCell,s=e.offsetCell,l=e.today,u=e.value;function c(e){var c,d=s(e,-1),h=s(e,1),f=se(r,0),p=se(r,1),g=se(i,0),m=se(i,1),v=ke(n,g,m,e);function y(e){return a(f,e)}function b(e){return a(p,e)}var _=a(g,e),w=a(m,e),x=(v||w)&&(!o(d)||b(d)),C=(v||_)&&(!o(h)||y(h));return c={},Object(D["a"])(c,"".concat(t,"-in-view"),o(e)),Object(D["a"])(c,"".concat(t,"-in-range"),ke(n,f,p,e)),Object(D["a"])(c,"".concat(t,"-range-start"),y(e)),Object(D["a"])(c,"".concat(t,"-range-end"),b(e)),Object(D["a"])(c,"".concat(t,"-range-start-single"),y(e)&&!p),Object(D["a"])(c,"".concat(t,"-range-end-single"),b(e)&&!f),Object(D["a"])(c,"".concat(t,"-range-start-near-hover"),y(e)&&(a(d,g)||ke(n,g,m,d))),Object(D["a"])(c,"".concat(t,"-range-end-near-hover"),b(e)&&(a(h,m)||ke(n,g,m,h))),Object(D["a"])(c,"".concat(t,"-range-hover"),v),Object(D["a"])(c,"".concat(t,"-range-hover-start"),_),Object(D["a"])(c,"".concat(t,"-range-hover-end"),w),Object(D["a"])(c,"".concat(t,"-range-hover-edge-start"),x),Object(D["a"])(c,"".concat(t,"-range-hover-edge-end"),C),Object(D["a"])(c,"".concat(t,"-range-hover-edge-start-near-range"),x&&a(d,p)),Object(D["a"])(c,"".concat(t,"-range-hover-edge-end-near-range"),C&&a(h,f)),Object(D["a"])(c,"".concat(t,"-today"),a(l,e)),Object(D["a"])(c,"".concat(t,"-selected"),a(u,e)),c}return c}function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e){for(var t=e.prefixCls,n=e.disabledDate,r=e.onSelect,i=e.rowNum,o=e.colNum,a=e.prefixColumn,s=e.rowClassName,u=e.baseDate,c=e.getCellClassName,d=e.getCellText,h=e.getCellNode,f=e.getCellDate,p=e.titleCell,g=e.headerCells,v=l["useContext"](P),y=v.onDateMouseEnter,b=v.onDateMouseLeave,_="".concat(t,"-cell"),w=[],x=0;x<i;x+=1){for(var C=[],S=void 0,O=function(e){var t=x*o+e,i=f(u,t),s=n&&n(i);0===e&&(S=i,a&&C.push(a(S))),C.push(l["createElement"]("td",{key:e,title:p&&p(i),className:m()(_,Te(Object(D["a"])({},"".concat(_,"-disabled"),s),c(i))),onClick:function(){s||r(i)},onMouseEnter:function(){!s&&y&&y(i)},onMouseLeave:function(){!s&&b&&b(i)}},h?h(i):l["createElement"]("div",{className:"".concat(_,"-inner")},d(i))))},k=0;k<o;k+=1)O(k);w.push(l["createElement"]("tr",{key:x,className:s&&s(S)},C))}return l["createElement"]("div",{className:"".concat(t,"-body")},l["createElement"]("table",{className:"".concat(t,"-content")},g&&l["createElement"]("thead",null,l["createElement"]("tr",null,g)),l["createElement"]("tbody",null,w)))}function Ae(e){var t=e.prefixCls,n=e.generateConfig,r=e.prefixColumn,i=e.locale,o=e.rowCount,a=e.viewDate,s=e.value,u=e.dateRender,c=l["useContext"](Ne),d=c.rangedValue,h=c.hoverRangedValue,f=Ee(i.locale,n,a),p="".concat(t,"-cell"),g=n.locale.getWeekFirstDay(i.locale),m=n.getNow(),v=[],y=i.shortWeekDays||(n.locale.getShortWeekDays?n.locale.getShortWeekDays(i.locale):[]);r&&v.push(l["createElement"]("th",{key:"empty","aria-label":"empty cell"}));for(var b=0;b<ge;b+=1)v.push(l["createElement"]("th",{key:b},y[(b+g)%ge]));var _=Le({cellPrefixCls:p,today:m,value:s,generateConfig:n,rangedValue:r?null:d,hoverRangedValue:r?null:h,isSameCell:function(e,t){return xe(n,e,t)},isInView:function(e){return we(n,e,a)},offsetCell:function(e,t){return n.addDate(e,t)}}),w=u?function(e){return u(e,m)}:void 0;return l["createElement"](Pe,Object.assign({},e,{rowNum:o,colNum:ge,baseDate:f,getCellNode:w,getCellText:n.getDate,getCellClassName:_,getCellDate:n.addDate,titleCell:function(e){return n.locale.format(i.locale,e,"YYYY-MM-DD")},headerCells:v}))}var Re=Ae;function je(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextMonth,a=e.onPrevMonth,s=e.onNextYear,u=e.onPrevYear,c=e.onYearClick,d=e.onMonthClick,h=l["useContext"](P),f=h.hideHeader;if(f)return null;var p="".concat(t,"-header"),g=r.shortMonths||(n.locale.getShortMonths?n.locale.getShortMonths(r.locale):[]),m=n.getMonth(i),v=l["createElement"]("button",{type:"button",key:"year",onClick:c,tabIndex:-1,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)),y=l["createElement"]("button",{type:"button",key:"month",onClick:d,tabIndex:-1,className:"".concat(t,"-month-btn")},r.monthFormat?n.locale.format(r.locale,i,r.monthFormat):g[m]),b=r.monthBeforeYear?[y,v]:[v,y];return l["createElement"](j,Object.assign({},e,{prefixCls:p,onSuperPrev:u,onPrev:a,onNext:o,onSuperNext:s}),b)}var Fe=je;function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze=6;function We(e){var t=e.prefixCls,n=e.panelName,r=void 0===n?"date":n,i=e.keyboardConfig,o=e.active,a=e.operationRef,s=e.generateConfig,u=e.value,c=e.viewDate,d=e.onViewDateChange,h=e.onPanelChange,f=e.onSelect,p="".concat(t,"-").concat(r,"-panel");a.current={onKeyDown:function(e){return H(e,Ve({onLeftRight:function(e){f(s.addDate(u||c,e),"key")},onCtrlLeftRight:function(e){f(s.addYear(u||c,e),"key")},onUpDown:function(e){f(s.addDate(u||c,e*ge),"key")},onPageUpDown:function(e){f(s.addMonth(u||c,e),"key")}},i))}};var g=function(e){var t=s.addYear(c,e);d(t),h(null,t)},v=function(e){var t=s.addMonth(c,e);d(t),h(null,t)};return l["createElement"]("div",{className:m()(p,Object(D["a"])({},"".concat(p,"-active"),o))},l["createElement"](Fe,Object.assign({},e,{prefixCls:t,value:u,viewDate:c,onPrevYear:function(){g(-1)},onNextYear:function(){g(1)},onPrevMonth:function(){v(-1)},onNextMonth:function(){v(1)},onMonthClick:function(){h("month",c)},onYearClick:function(){h("year",c)}})),l["createElement"](Re,Object.assign({},e,{onSelect:function(e){return f(e,"mouse")},prefixCls:t,value:u,viewDate:c,rowCount:ze})))}var He=We;function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(e,t,n){if(!n)return t;var r=t;return r=e.setHour(r,e.getHour(n)),r=e.setMinute(r,e.getMinute(n)),r=e.setSecond(r,e.getSecond(n)),r}var qe=ie("date","time");function Ye(e){var t=e.prefixCls,n=e.operationRef,r=e.generateConfig,i=e.value,o=e.defaultValue,a=e.disabledTime,s=e.showTime,u=e.onSelect,c="".concat(t,"-datetime-panel"),d=l["useState"](null),h=Object(M["a"])(d,2),f=h[0],p=h[1],g=l["useRef"]({}),v=l["useRef"]({}),y="object"===Object(L["a"])(s)?Ke({},s):{};function b(e){var t=qe.indexOf(f)+e,n=qe[t]||null;return n}var _=function(e){v.current.onBlur&&v.current.onBlur(e),p(null)};n.current={onKeyDown:function(e){if(e.which===I["a"].TAB){var t=b(e.shiftKey?-1:1);return p(t),t&&e.preventDefault(),!0}if(f){var n="date"===f?g:v;return n.current&&n.current.onKeyDown&&n.current.onKeyDown(e),!0}return!![I["a"].LEFT,I["a"].RIGHT,I["a"].UP,I["a"].DOWN].includes(e.which)&&(p("date"),!0)},onBlur:_,onClose:_};var w=function(e,t){var n=e;"date"===t&&!i&&y.defaultValue?(n=r.setHour(n,r.getHour(y.defaultValue)),n=r.setMinute(n,r.getMinute(y.defaultValue)),n=r.setSecond(n,r.getSecond(y.defaultValue))):"time"===t&&!i&&o&&(n=r.setYear(n,r.getYear(o)),n=r.setMonth(n,r.getMonth(o)),n=r.setDate(n,r.getDate(o))),u&&u(n,"mouse")},x=a?a(i||null):{};return l["createElement"]("div",{className:m()(c,Object(D["a"])({},"".concat(c,"-active"),f))},l["createElement"](He,Object.assign({},e,{operationRef:g,active:"date"===f,onSelect:function(e){w(Ge(r,e,s&&"object"===Object(L["a"])(s)?s.defaultValue:null),"date")}})),l["createElement"](pe,Object.assign({},e,{format:void 0},y,x,{defaultValue:void 0,operationRef:v,active:"time"===f,onSelect:function(e){w(e,"time")}})))}var Xe=Ye;function Ze(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.value,o="".concat(t,"-cell"),a=function(e){return l["createElement"]("td",{key:"week",className:m()(o,"".concat(o,"-week"))},n.locale.getWeek(r.locale,e))},s="".concat(t,"-week-panel-row"),u=function(e){return m()(s,Object(D["a"])({},"".concat(s,"-selected"),Se(n,r.locale,i,e)))};return l["createElement"](He,Object.assign({},e,{panelName:"week",prefixColumn:a,rowClassName:u,keyboardConfig:{onLeftRight:null}}))}var Qe=Ze;function $e(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextYear,a=e.onPrevYear,s=e.onYearClick,u=l["useContext"](P),c=u.hideHeader;if(c)return null;var d="".concat(t,"-header");return l["createElement"](j,{prefixCls:d,onSuperPrev:a,onSuperNext:o},l["createElement"]("button",{type:"button",key:"year",onClick:s,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)))}var Je=$e,et=3,tt=4;function nt(e){var t=e.prefixCls,n=e.locale,r=e.value,i=e.viewDate,o=e.generateConfig,a=e.monthCellRender,s=l["useContext"](Ne),u=s.rangedValue,c=s.hoverRangedValue,d="".concat(t,"-cell"),h=Le({cellPrefixCls:d,value:r,generateConfig:o,rangedValue:u,hoverRangedValue:c,isSameCell:function(e,t){return we(o,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return o.addMonth(e,t)}}),f=n.shortMonths||(o.locale.getShortMonths?o.locale.getShortMonths(n.locale):[]),p=o.setMonth(i,0),g=a?function(e){return a(e,n)}:void 0;return l["createElement"](Pe,Object.assign({},e,{rowNum:tt,colNum:et,baseDate:p,getCellNode:g,getCellText:function(e){return n.monthFormat?o.locale.format(n.locale,e,n.monthFormat):f[o.getMonth(e)]},getCellClassName:h,getCellDate:o.addMonth,titleCell:function(e){return o.locale.format(n.locale,e,"YYYY-MM")}}))}var rt=nt;function it(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.onPanelChange,u=e.onSelect,c="".concat(t,"-month-panel");n.current={onKeyDown:function(e){return H(e,{onLeftRight:function(e){u(i.addMonth(o||a,e),"key")},onCtrlLeftRight:function(e){u(i.addYear(o||a,e),"key")},onUpDown:function(e){u(i.addMonth(o||a,e*et),"key")},onEnter:function(){s("date",o||a)}})}};var d=function(e){var t=i.addYear(a,e);r(t),s(null,t)};return l["createElement"]("div",{className:c},l["createElement"](Je,Object.assign({},e,{prefixCls:t,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",a)}})),l["createElement"](rt,Object.assign({},e,{prefixCls:t,onSelect:function(e){u(e,"mouse"),s("date",e)}})))}var ot=it;function at(e){var t=e.prefixCls,n=e.generateConfig,r=e.locale,i=e.viewDate,o=e.onNextYear,a=e.onPrevYear,s=e.onYearClick,u=l["useContext"](P),c=u.hideHeader;if(c)return null;var d="".concat(t,"-header");return l["createElement"](j,{prefixCls:d,onSuperPrev:a,onSuperNext:o},l["createElement"]("button",{type:"button",key:"year",onClick:s,className:"".concat(t,"-year-btn")},n.locale.format(r.locale,i,r.yearFormat)))}var st=at,lt=4,ut=1;function ct(e){var t=e.prefixCls,n=e.locale,r=e.value,i=e.viewDate,o=e.generateConfig,a=l["useContext"](Ne),s=a.rangedValue,u=a.hoverRangedValue,c="".concat(t,"-cell"),d=Le({cellPrefixCls:c,value:r,generateConfig:o,rangedValue:s,hoverRangedValue:u,isSameCell:function(e,t){return _e(o,e,t)},isInView:function(){return!0},offsetCell:function(e,t){return o.addMonth(e,3*t)}}),h=o.setDate(o.setMonth(i,0),1);return l["createElement"](Pe,Object.assign({},e,{rowNum:ut,colNum:lt,baseDate:h,getCellText:function(e){return o.locale.format(n.locale,e,n.quarterFormat||"[Q]Q")},getCellClassName:d,getCellDate:function(e,t){return o.addMonth(e,3*t)},titleCell:function(e){return o.locale.format(n.locale,e,"YYYY-[Q]Q")}}))}var dt=ct;function ht(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.onPanelChange,u=e.onSelect,c="".concat(t,"-quarter-panel");n.current={onKeyDown:function(e){return H(e,{onLeftRight:function(e){u(i.addMonth(o||a,3*e),"key")},onCtrlLeftRight:function(e){u(i.addYear(o||a,e),"key")},onUpDown:function(e){u(i.addYear(o||a,e),"key")}})}};var d=function(e){var t=i.addYear(a,e);r(t),s(null,t)};return l["createElement"]("div",{className:c},l["createElement"](st,Object.assign({},e,{prefixCls:t,onPrevYear:function(){d(-1)},onNextYear:function(){d(1)},onYearClick:function(){s("year",a)}})),l["createElement"](dt,Object.assign({},e,{prefixCls:t,onSelect:function(e){u(e,"mouse")}})))}var ft=ht;function pt(e){var t=e.prefixCls,n=e.generateConfig,r=e.viewDate,i=e.onPrevDecade,o=e.onNextDecade,a=e.onDecadeClick,s=l["useContext"](P),u=s.hideHeader;if(u)return null;var c="".concat(t,"-header"),d=n.getYear(r),h=Math.floor(d/_t)*_t,f=h+_t-1;return l["createElement"](j,Object.assign({},e,{prefixCls:c,onSuperPrev:i,onSuperNext:o}),l["createElement"]("button",{type:"button",key:"year",onClick:a,className:"".concat(t,"-decade-btn")},h,"-",f))}var gt=pt,mt=3,vt=4;function yt(e){var t=e.prefixCls,n=e.value,r=e.viewDate,i=e.locale,o=e.generateConfig,a=l["useContext"](Ne),s=a.rangedValue,u=a.hoverRangedValue,c="".concat(t,"-cell"),d=o.getYear(r),h=Math.floor(d/_t)*_t,f=h+_t-1,p=o.setYear(r,h-Math.ceil((mt*vt-_t)/2)),g=function(e){var t=o.getYear(e);return h<=t&&t<=f},m=Le({cellPrefixCls:c,value:n,generateConfig:o,rangedValue:s,hoverRangedValue:u,isSameCell:function(e,t){return ye(o,e,t)},isInView:g,offsetCell:function(e,t){return o.addYear(e,t)}});return l["createElement"](Pe,Object.assign({},e,{rowNum:vt,colNum:mt,baseDate:p,getCellText:o.getYear,getCellClassName:m,getCellDate:o.addYear,titleCell:function(e){return o.locale.format(i.locale,e,"YYYY")}}))}var bt=yt,_t=10;function wt(e){var t=e.prefixCls,n=e.operationRef,r=e.onViewDateChange,i=e.generateConfig,o=e.value,a=e.viewDate,s=e.sourceMode,u=e.onSelect,c=e.onPanelChange,d="".concat(t,"-year-panel");n.current={onKeyDown:function(e){return H(e,{onLeftRight:function(e){u(i.addYear(o||a,e),"key")},onCtrlLeftRight:function(e){u(i.addYear(o||a,e*_t),"key")},onUpDown:function(e){u(i.addYear(o||a,e*mt),"key")},onEnter:function(){c("date"===s?"date":"month",o||a)}})}};var h=function(e){var t=i.addYear(a,10*e);r(t),c(null,t)};return l["createElement"]("div",{className:d},l["createElement"](gt,Object.assign({},e,{prefixCls:t,onPrevDecade:function(){h(-1)},onNextDecade:function(){h(1)},onDecadeClick:function(){c("decade",a)}})),l["createElement"](bt,Object.assign({},e,{prefixCls:t,onSelect:function(e){c("date"===s?"date":"month",e),u(e,"mouse")}})))}var xt=wt;function Ct(e){var t=e.prefixCls,n=e.generateConfig,r=e.viewDate,i=e.onPrevDecades,o=e.onNextDecades,a=l["useContext"](P),s=a.hideHeader;if(s)return null;var u="".concat(t,"-header"),c=n.getYear(r),d=Math.floor(c/Nt)*Nt,h=d+Nt-1;return l["createElement"](j,Object.assign({},e,{prefixCls:u,onSuperPrev:i,onSuperNext:o}),d,"-",h)}var St=Ct,Ot=3,kt=4;function Et(e){var t=Mt-1,n=e.prefixCls,r=e.viewDate,i=e.generateConfig,o=e.disabledDate,a="".concat(n,"-cell"),s=i.getYear(r),u=Math.floor(s/Mt)*Mt,c=Math.floor(s/Nt)*Nt,d=c+Nt-1,h=i.setYear(r,c-Math.ceil((Ot*kt*Mt-Nt)/2)),f=function(e){var n,r=o&&o(e),s=i.getYear(e),l=s+t;return n={},Object(D["a"])(n,"".concat(a,"-disabled"),r),Object(D["a"])(n,"".concat(a,"-in-view"),c<=s&&l<=d),Object(D["a"])(n,"".concat(a,"-selected"),s===u),n};return l["createElement"](Pe,Object.assign({},e,{rowNum:kt,colNum:Ot,baseDate:h,getCellText:function(e){var n=i.getYear(e);return"".concat(n,"-").concat(n+t)},getCellClassName:f,getCellDate:function(e,t){return i.addYear(e,t*Mt)}}))}var Dt=Et,Mt=10,Nt=10*Mt;function Lt(e){var t=e.prefixCls,n=e.onViewDateChange,r=e.generateConfig,i=e.viewDate,o=e.operationRef,a=e.onSelect,s=e.onPanelChange,u="".concat(t,"-decade-panel");o.current={onKeyDown:function(e){return H(e,{onLeftRight:function(e){a(r.addYear(i,e*Mt),"key")},onCtrlLeftRight:function(e){a(r.addYear(i,e*Nt),"key")},onUpDown:function(e){a(r.addYear(i,e*Mt*Ot),"key")},onEnter:function(){s("year",i)}})}};var c=function(e){var t=r.addYear(i,e*Nt);n(t),s(null,t)},d=function(e){a(e,"mouse"),s("year",e)};return l["createElement"]("div",{className:u},l["createElement"](St,Object.assign({},e,{prefixCls:t,onPrevDecades:function(){c(-1)},onNextDecades:function(){c(1)}})),l["createElement"](Dt,Object.assign({},e,{prefixCls:t,onSelect:d})))}var It=Lt;function Tt(e,t,n){return n?l["createElement"]("div",{className:"".concat(e,"-footer-extra")},n(t)):null}function Pt(e){var t,n,r=e.prefixCls,i=e.rangeList,o=void 0===i?[]:i,a=e.components,s=void 0===a?{}:a,u=e.needConfirmButton,c=e.onNow,d=e.onOk,h=e.okDisabled,f=e.locale;if(o.length){var p=s.rangeItem||"span";t=l["createElement"](l["Fragment"],null,o.map((function(e){var t=e.label,n=e.onClick,i=e.onMouseEnter,o=e.onMouseLeave;return l["createElement"]("li",{key:t,className:"".concat(r,"-preset")},l["createElement"](p,{onClick:n,onMouseEnter:i,onMouseLeave:o},t))})))}if(u){var g=s.button||"button";c&&!t&&(t=l["createElement"]("li",{className:"".concat(r,"-now")},l["createElement"]("a",{className:"".concat(r,"-now-btn"),onClick:c},f.now))),n=u&&l["createElement"]("li",{className:"".concat(r,"-ok")},l["createElement"](g,{disabled:h,onClick:d},f.ok))}return t||n?l["createElement"]("ul",{className:"".concat(r,"-ranges")},t,n):null}function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jt(e){var t,n=e.prefixCls,r=void 0===n?"rc-picker":n,i=e.className,a=e.style,s=e.locale,u=e.generateConfig,c=e.value,d=e.defaultValue,h=e.pickerValue,f=e.defaultPickerValue,p=e.disabledDate,g=e.mode,v=e.picker,y=void 0===v?"date":v,b=e.tabIndex,_=void 0===b?0:b,w=e.showTime,x=e.showToday,C=e.renderExtraFooter,S=e.hideHeader,O=e.onSelect,k=e.onChange,E=e.onPanelChange,T=e.onMouseDown,A=e.onPickerValueChange,R=e.onOk,j=e.components,F=e.direction,B="date"===y&&!!w||"time"===y;var V,z=l["useContext"](P),W=z.operationRef,H=z.panelRef,U=z.onSelect,K=z.hideRanges,G=z.defaultOpenValue,q=l["useContext"](Ne),Y=q.inRange,X=q.panelPosition,Z=q.rangedValue,Q=q.hoverRangedValue,$=l["useRef"]({}),ee=l["useRef"](!0),te=Object(N["a"])(null,{value:c,defaultValue:d,postState:function(e){return!e&&G&&"time"===y?G:e}}),ne=Object(M["a"])(te,2),re=ne[0],ie=ne[1],oe=Object(N["a"])(null,{value:h,defaultValue:f||re,postState:function(e){return e||u.getNow()}}),ae=Object(M["a"])(oe,2),se=ae[0],le=ae[1],ue=function(e){le(e),A&&A(e)},ce=function(e){var t=J[y];return t?t(e):e},de=Object(N["a"])((function(){return"time"===y?"time":ce("date")}),{value:g}),he=Object(M["a"])(de,2),fe=he[0],ge=he[1],me=l["useState"]((function(){return fe})),ve=Object(M["a"])(me,2),ye=ve[0],be=ve[1],_e=function(e,t){var n=ce(e||fe);be(fe),ge(n),E&&(fe!==n||Oe(u,se,se))&&E(t,n)},we=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(fe===y||n)&&(ie(e),O&&O(e),U&&U(e,t),k&&!Oe(u,e,re)&&k(e))},xe=function(e){return $.current&&$.current.onKeyDown?([I["a"].LEFT,I["a"].RIGHT,I["a"].UP,I["a"].DOWN,I["a"].PAGE_UP,I["a"].PAGE_DOWN,I["a"].ENTER].includes(e.which)&&e.preventDefault(),$.current.onKeyDown(e)):(Object(o["a"])(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ce=function(e){$.current&&$.current.onBlur&&$.current.onBlur(e)};W&&(W.current={onKeyDown:xe,onClose:function(){$.current&&$.current.onClose&&$.current.onClose()}}),l["useEffect"]((function(){c&&!ee.current&&le(c)}),[c]),l["useEffect"]((function(){ee.current=!1}),[]);var Se,ke,Ee,De=Rt(Rt({},e),{},{operationRef:$,prefixCls:r,viewDate:se,value:re,onViewDateChange:ue,sourceMode:ye,onPanelChange:_e,disabledDate:y===fe?p:void 0});switch(delete De.onChange,delete De.onSelect,fe){case"decade":V=l["createElement"](It,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}));break;case"year":V=l["createElement"](xt,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}));break;case"month":V=l["createElement"](ot,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}));break;case"quarter":V=l["createElement"](ft,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}));break;case"week":V=l["createElement"](Qe,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}));break;case"time":delete De.showTime,V=l["createElement"](pe,Object.assign({},De,"object"===Object(L["a"])(w)?w:null,{onSelect:function(e,t){ue(e),we(e,t)}}));break;default:V=w?l["createElement"](Xe,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}})):l["createElement"](He,Object.assign({},De,{onSelect:function(e,t){ue(e),we(e,t)}}))}if(K||(Se=Tt(r,fe,C),ke=Pt({prefixCls:r,components:j,needConfirmButton:B,okDisabled:!re||p&&p(re),locale:s,onNow:B&&function(){we(u.getNow(),"submit")},onOk:function(){re&&(we(re,"submit",!0),R&&R(re))}})),x&&"date"===fe&&"date"===y&&!w){var Me=u.getNow(),Le="".concat(r,"-today-btn"),Ie=p&&p(Me);Ee=l["createElement"]("a",{className:m()(Le,Ie&&"".concat(Le,"-disabled")),"aria-disabled":Ie,onClick:function(){Ie||we(Me,"mouse",!0)}},s.today)}return l["createElement"](P.Provider,{value:Rt(Rt({},z),{},{hideHeader:"hideHeader"in e?S:z.hideHeader,hidePrevBtn:Y&&"right"===X,hideNextBtn:Y&&"left"===X})},l["createElement"]("div",{tabIndex:_,className:m()("".concat(r,"-panel"),i,(t={},Object(D["a"])(t,"".concat(r,"-panel-has-range"),Z&&Z[0]&&Z[1]),Object(D["a"])(t,"".concat(r,"-panel-has-range-hover"),Q&&Q[0]&&Q[1]),Object(D["a"])(t,"".concat(r,"-panel-rtl"),"rtl"===F),t)),style:a,onKeyDown:xe,onBlur:Ce,onMouseDown:T,ref:H},V,Se||ke||Ee?l["createElement"]("div",{className:"".concat(r,"-footer")},Se,ke,Ee):null))}var Ft=jt,Bt=n("uciX"),Vt={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function zt(e){var t,n=e.prefixCls,r=e.popupElement,i=e.popupStyle,o=e.visible,a=e.dropdownClassName,s=e.dropdownAlign,u=e.transitionName,c=e.getPopupContainer,d=e.children,h=e.range,f=e.popupPlacement,p=e.direction,g="".concat(n,"-dropdown"),v=function(){return void 0!==f?f:"rtl"===p?"bottomRight":"bottomLeft"};return l["createElement"](Bt["a"],{showAction:[],hideAction:[],popupPlacement:v(),builtinPlacements:Vt,prefixCls:g,popupTransitionName:u,popup:r,popupAlign:s,popupVisible:o,popupClassName:m()(a,(t={},Object(D["a"])(t,"".concat(g,"-range"),h),Object(D["a"])(t,"".concat(g,"-rtl"),"rtl"===p),t)),popupStyle:i,getPopupContainer:c},d)}var Wt=zt;function Ht(e){var t=e.open,n=e.isClickOutside,r=e.triggerOpen,i=e.forwardKeyDown,o=e.blurToCancel,a=e.onSubmit,s=e.onCancel,u=e.onFocus,c=e.onBlur,d=l["useState"](!1),h=Object(M["a"])(d,2),f=h[0],p=h[1],g=l["useState"](!1),m=Object(M["a"])(g,2),v=m[0],y=m[1],b=l["useRef"](!1),_={onMouseDown:function(){p(!0),r(!0)},onKeyDown:function(e){switch(e.which){case I["a"].ENTER:return t?!1!==a()&&p(!0):r(!0),void e.preventDefault();case I["a"].TAB:return void(f&&t&&!e.shiftKey?(p(!1),e.preventDefault()):!f&&t&&!i(e)&&e.shiftKey&&(p(!0),e.preventDefault()));case I["a"].ESC:return p(!0),void s()}t||[I["a"].SHIFT].includes(e.which)?f||i(e):r(!0)},onFocus:function(e){p(!0),y(!0),u&&u(e)},onBlur:function(e){!b.current&&n(document.activeElement)?(o?setTimeout((function(){n(document.activeElement)&&s()}),0):r(!1),y(!1),c&&c(e)):b.current=!1}};return l["useEffect"]((function(){return Y((function(e){var i=e.target;t&&(n(i)?v||r(!1):(b.current=!0,window.setTimeout((function(){b.current=!1}),0)))}))})),[_,{focused:v,typing:f}]}function Ut(e){var t=e.valueTexts,n=e.onTextChange,r=l["useState"](""),i=Object(M["a"])(r,2),o=i[0],a=i[1],s=l["useRef"]([]);function u(e){a(e),n(e)}function c(){a(s.current[0])}return s.current=t,l["useEffect"]((function(){t.every((function(e){return e!==o}))&&c()}),[t.join("||")]),[o,u,c]}var Kt=n("Gytx"),Gt=n.n(Kt),qt=n("YrtM");function Yt(e,t){var n=t.formatList,r=t.generateConfig,i=t.locale;return Object(qt["a"])((function(){return e?n.map((function(t){return r.locale.format(i.locale,e,t)})):[""]}),[e,n],(function(e,t){return e[0]!==t[0]||!Gt()(e[1],t[1])}))}function Xt(e){var t=Zt();return function(){var n,r=Object(E["a"])(e);if(t){var i=Object(E["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(k["a"])(this,n)}}function Zt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jt(e){var t,n=e.prefixCls,r=void 0===n?"rc-picker":n,i=e.id,a=e.tabIndex,s=e.style,u=e.className,c=e.dropdownClassName,d=e.dropdownAlign,h=e.popupStyle,f=e.transitionName,p=e.generateConfig,g=e.locale,v=e.inputReadOnly,y=e.allowClear,b=e.autoFocus,_=e.showTime,w=e.picker,x=void 0===w?"date":w,C=e.format,S=e.use12Hours,O=e.value,k=e.defaultValue,E=e.open,L=e.defaultOpen,I=e.defaultOpenValue,T=e.suffixIcon,A=e.clearIcon,R=e.disabled,j=e.disabledDate,F=e.placeholder,B=e.getPopupContainer,V=e.pickerRef,z=e.onChange,W=e.onOpenChange,H=e.onFocus,G=e.onBlur,q=e.onMouseDown,Y=e.onMouseUp,X=e.onMouseEnter,Z=e.onMouseLeave,Q=e.onContextMenu,$=e.onClick,J=e.direction,te=e.autoComplete,ne=void 0===te?"off":te,re=l["useRef"](null),ie="date"===x&&!!_||"time"===x,se=oe(U(C,x,_,S)),le=l["useRef"](null),ue=l["useRef"](null),ce=Object(N["a"])(null,{value:O,defaultValue:k}),de=Object(M["a"])(ce,2),he=de[0],fe=de[1],pe=l["useState"](he),ge=Object(M["a"])(pe,2),me=ge[0],ve=ge[1],ye=l["useRef"](null),be=Object(N["a"])(!1,{value:E,defaultValue:L,postState:function(e){return!R&&e},onChange:function(e){W&&W(e),!e&&ye.current&&ye.current.onClose&&ye.current.onClose()}}),_e=Object(M["a"])(be,2),we=_e[0],xe=_e[1],Ce=Yt(me,{formatList:se,generateConfig:p,locale:g}),Se=Ut({valueTexts:Ce,onTextChange:function(e){var t=p.locale.parse(g.locale,e,se);!t||j&&j(t)||ve(t)}}),ke=Object(M["a"])(Se,3),Ee=ke[0],De=ke[1],Me=ke[2],Ne=function(e){ve(e),fe(e),z&&!Oe(p,he,e)&&z(e,e?p.locale.format(g.locale,e,se[0]):"")},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];R&&e||(xe(e),e||t||Ne(me))},Ie=function(e){return we&&ye.current&&ye.current.onKeyDown?ye.current.onKeyDown(e):(Object(o["a"])(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Te=function(){Y&&Y.apply(void 0,arguments),re.current&&(re.current.focus(),Le(!0))},Pe=Ht({blurToCancel:ie,open:we,triggerOpen:Le,forwardKeyDown:Ie,isClickOutside:function(e){return!ee([le.current,ue.current],e)},onSubmit:function(){return(!j||!j(me))&&(Ne(me),Le(!1,!0),Me(),!0)},onCancel:function(){Le(!1,!0),ve(he),Me()},onFocus:H,onBlur:G}),Ae=Object(M["a"])(Pe,2),Re=Ae[0],je=Ae[1],Fe=je.focused,Be=je.typing;l["useEffect"]((function(){we||(ve(he),Ce.length&&""!==Ce[0]?Ce.includes(Ee)||Me():De(""))}),[we,Ce]),l["useEffect"]((function(){we||Me()}),[x]),l["useEffect"]((function(){ve(he)}),[he]),V&&(V.current={focus:function(){re.current&&re.current.focus()},blur:function(){re.current&&re.current.blur()}});var Ve,ze,We=$t($t({},e),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),He=l["createElement"]("div",{className:"".concat(r,"-panel-container"),onMouseDown:function(e){e.preventDefault()}},l["createElement"](Ft,Object.assign({},We,{generateConfig:p,className:m()(Object(D["a"])({},"".concat(r,"-panel-focused"),!Be)),value:me,locale:g,tabIndex:-1,onChange:ve,direction:J})));T&&(Ve=l["createElement"]("span",{className:"".concat(r,"-suffix")},T)),y&&he&&!R&&(ze=l["createElement"]("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation(),Ne(null),Le(!1,!0)},className:"".concat(r,"-clear")},A||l["createElement"]("span",{className:"".concat(r,"-clear-btn")})));var Ue=function(e,t){("submit"===t||"key"!==t&&!ie)&&(Ne(e),Le(!1,!0))},Ke="rtl"===J?"bottomRight":"bottomLeft";return l["createElement"](P.Provider,{value:{operationRef:ye,hideHeader:"time"===x,panelRef:le,onSelect:Ue,open:we,defaultOpenValue:I}},l["createElement"](Wt,{visible:we,popupElement:He,popupStyle:h,prefixCls:r,dropdownClassName:c,dropdownAlign:d,getPopupContainer:B,transitionName:f,popupPlacement:Ke,direction:J},l["createElement"]("div",{className:m()(r,u,(t={},Object(D["a"])(t,"".concat(r,"-disabled"),R),Object(D["a"])(t,"".concat(r,"-focused"),Fe),Object(D["a"])(t,"".concat(r,"-rtl"),"rtl"===J),t)),style:s,onMouseDown:q,onMouseUp:Te,onMouseEnter:X,onMouseLeave:Z,onContextMenu:Q,onClick:$},l["createElement"]("div",{className:"".concat(r,"-input"),ref:ue},l["createElement"]("input",Object.assign({id:i,tabIndex:a,disabled:R,readOnly:v||!Be,value:Ee,onChange:function(e){De(e.target.value)},autoFocus:b,placeholder:F,ref:re,title:Ee},Re,{size:K(x,se[0])},ae(e),{autoComplete:ne})),Ve,ze))))}var en=function(e){Object(O["a"])(n,e);var t=Xt(n);function n(){var e;return Object(C["a"])(this,n),e=t.apply(this,arguments),e.pickerRef=l["createRef"](),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return Object(S["a"])(n,[{key:"render",value:function(){return l["createElement"](Jt,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),n}(l["Component"]),tn=en;function nn(e){var t=e.picker,n=e.locale,r=e.selectedValue,i=e.disabledDate,o=e.disabled,a=e.generateConfig,s=se(r,0),u=se(r,1),c=l["useCallback"]((function(e){return!(!i||!i(e))||!(!o[1]||!u)&&(!xe(a,e,u)&&a.isAfter(e,u))}),[i,o[1],u]),d=l["useCallback"]((function(e){if(i&&i(e))return!0;if(s){if("week"===t){var r=a.getYear(s),o=a.getYear(e),l=a.locale.getWeek(n.locale,s),u=a.locale.getWeek(n.locale,e),c=100*r+l,d=100*o+u;return d<c}if("quarter"===t){var h=a.getYear(s),f=a.getYear(e),p=be(a,s),g=be(a,e),m=10*h+p,v=10*f+g;return v<m}return!xe(a,e,s)&&a.isAfter(s,e)}return!1}),[i,s,t]);return[c,d]}function rn(e,t,n,r){var i=De(e,n,r,1);function o(n){return n(e,t)?"same":n(i,t)?"closing":"far"}switch(n){case"year":return o((function(e,t){return ve(r,e,t)}));case"quarter":case"month":return o((function(e,t){return ye(r,e,t)}));default:return o((function(e,t){return we(r,e,t)}))}}function on(e,t,n,r){var i=se(e,0),o=se(e,1);if(0===t)return i;if(i&&o){var a=rn(i,o,n,r);switch(a){case"same":return i;case"closing":return i;default:return De(o,n,r,-1)}}return i}function an(e){var t=e.values,n=e.picker,r=e.defaultDates,i=e.generateConfig,o=l["useState"]((function(){return[se(r,0),se(r,1)]})),a=Object(M["a"])(o,2),s=a[0],u=a[1],c=l["useState"](null),d=Object(M["a"])(c,2),h=d[0],f=d[1],p=se(t,0),g=se(t,1);function m(e){return s[e]?s[e]:se(h,e)||on(t,e,n,i)||p||g||i.getNow()}function v(e,n){if(e){var r=le(h,e,n);u(le(s,null,n)||[null,null]);var i=(n+1)%2;se(t,i)||(r=le(r,e,i)),f(r)}else(p||g)&&f(null)}return[m,v]}function sn(e){var t=ln();return function(){var n,r=Object(E["a"])(e);if(t){var i=Object(E["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(k["a"])(this,n)}}function ln(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){Object(D["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function dn(e,t){return e&&e[0]&&e[1]&&t.isAfter(e[0],e[1])?[e[1],e[0]]:e}function hn(e,t,n,r){return!!e||(!(!r||!r[t])||!!n[(t+1)%2])}function fn(e){var t,n=e.prefixCls,r=void 0===n?"rc-picker":n,i=e.id,a=e.style,s=e.className,u=e.popupStyle,c=e.dropdownClassName,d=e.transitionName,h=e.dropdownAlign,f=e.getPopupContainer,p=e.generateConfig,g=e.locale,v=e.placeholder,y=e.autoFocus,b=e.disabled,_=e.format,w=e.picker,x=void 0===w?"date":w,C=e.showTime,S=e.use12Hours,O=e.separator,k=void 0===O?"~":O,E=e.value,I=e.defaultValue,T=e.defaultPickerValue,A=e.open,R=e.defaultOpen,j=e.disabledDate,F=e.disabledTime,B=e.dateRender,V=e.ranges,z=e.allowEmpty,W=e.allowClear,H=e.suffixIcon,G=e.clearIcon,q=e.pickerRef,Y=e.inputReadOnly,X=e.mode,Z=e.renderExtraFooter,Q=e.onChange,$=e.onOpenChange,J=e.onPanelChange,te=e.onCalendarChange,ne=e.onFocus,re=e.onBlur,ie=e.onOk,ue=e.components,ce=e.order,de=e.direction,he=e.activePickerIndex,fe=e.autoComplete,pe=void 0===fe?"off":fe,ge="date"===x&&!!C||"time"===x,me=l["useRef"](null),ve=l["useRef"](null),ye=l["useRef"](null),be=l["useRef"](null),we=l["useRef"](null),Ce=l["useRef"](null),ke=l["useRef"](null),Ee=oe(U(_,x,C,S)),Me=Object(N["a"])(0,{value:he}),Le=Object(M["a"])(Me,2),Ie=Le[0],Te=Le[1],Pe=l["useRef"](null),Ae=l["useMemo"]((function(){return Array.isArray(b)?b:[b||!1,b||!1]}),[b]),Re=Object(N["a"])(null,{value:E,defaultValue:I,postState:function(e){return"time"!==x||ce?dn(e,p):e}}),je=Object(M["a"])(Re,2),Fe=je[0],Be=je[1],Ve=an({values:Fe,picker:x,defaultDates:T,generateConfig:p}),ze=Object(M["a"])(Ve,2),We=ze[0],He=ze[1],Ue=Object(N["a"])(Fe,{postState:function(e){var t=e;if(Ae[0]&&Ae[1])return t;for(var n=0;n<2;n+=1)!Ae[n]||se(t,n)||se(z,n)||(t=le(t,p.getNow(),n));return t}}),Ke=Object(M["a"])(Ue,2),Ge=Ke[0],qe=Ke[1],Ye=l["useState"](null),Xe=Object(M["a"])(Ye,2),Ze=Xe[0],Qe=Xe[1],$e=l["useState"](null),Je=Object(M["a"])($e,2),et=Je[0],tt=Je[1],nt=function(e){tt(le(Ge,e,Ie))},rt=function(){tt(le(Ge,null,Ie))},it=Object(N["a"])([x,x],{value:X}),ot=Object(M["a"])(it,2),at=ot[0],st=ot[1];l["useEffect"]((function(){st([x,x])}),[x]);var lt,ut=function(e,t){st(e),J&&J(t,e)},ct=nn({picker:x,selectedValue:Ge,locale:g,disabled:Ae,disabledDate:j,generateConfig:p}),dt=Object(M["a"])(ct,2),ht=dt[0],ft=dt[1],pt=Object(N["a"])(!1,{value:A,defaultValue:R,postState:function(e){return!Ae[Ie]&&e},onChange:function(e){$&&$(e),!e&&Pe.current&&Pe.current.onClose&&Pe.current.onClose()}}),gt=Object(M["a"])(pt,2),mt=gt[0],vt=gt[1],yt=mt&&0===Ie,bt=mt&&1===Ie,_t=l["useState"](0),wt=Object(M["a"])(_t,2),xt=wt[0],Ct=wt[1];l["useEffect"]((function(){!mt&&me.current&&Ct(me.current.offsetWidth)}),[mt]);var St=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.forceInput,r=void 0===n||n,i=t.source,o=e,a=se(o,0),s=se(o,1);a&&s&&p.isAfter(a,s)&&("week"===x&&!Se(p,g.locale,a,s)||"quarter"===x&&!_e(p,a,s)||"week"!==x&&"quarter"!==x&&"time"!==x&&!xe(p,a,s)?(o=[a,null],s=null):"time"===x&&!1===ce||(o=dn(o,p))),qe(o);var l=o&&o[0]?p.locale.format(g.locale,o[0],Ee[0]):"",u=o&&o[1]?p.locale.format(g.locale,o[1],Ee[0]):"";te&&te(o,[l,u]);var c=hn(a,0,Ae,z),d=hn(s,1,Ae,z),h=null===o||c&&d;if(h)Be(o),"open"!==i&<(!1,Ie,!0),!Q||Oe(p,se(Fe,0),a)&&Oe(p,se(Fe,1),s)||Q(o,[l,u]);else if(r){var f=c?1:0;if(f===Ie)return;"open"!==i&<(!0,f),setTimeout((function(){var e=[Ce,ke][f];e.current&&e.current.focus()}),0)}};lt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e?(Te(t),vt(e),mt||He(null,t)):Ie===t&&(vt(e),n||St(Ge,{source:"open"}))};var Ot=function(e){return mt&&Pe.current&&Pe.current.onKeyDown?Pe.current.onKeyDown(e):(Object(o["a"])(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},kt={formatList:Ee,generateConfig:p,locale:g},Et=Yt(se(Ge,0),kt),Dt=Yt(se(Ge,1),kt),Mt=function(e,t){var n=p.locale.parse(g.locale,e,Ee),r=0===t?ht:ft;n&&!r(n)&&(qe(le(Ge,n,t)),He(n,t))},Nt=Ut({valueTexts:Et,onTextChange:function(e){return Mt(e,0)}}),Lt=Object(M["a"])(Nt,3),It=Lt[0],At=Lt[1],Rt=Lt[2],jt=Ut({valueTexts:Dt,onTextChange:function(e){return Mt(e,1)}}),Bt=Object(M["a"])(jt,3),Vt=Bt[0],zt=Bt[1],Kt=Bt[2],Gt=function(e,t){return{blurToCancel:ge,forwardKeyDown:Ot,onBlur:re,isClickOutside:function(e){return!ee([ve.current,ye.current,be.current],e)},onFocus:function(t){Te(e),ne&&ne(t)},triggerOpen:function(t){return lt(t,e)},onSubmit:function(){St(Ge),t()},onCancel:function(){lt(!1,e,!0),qe(Fe),t()}}},qt=Ht(cn(cn({},Gt(0,Rt)),{},{open:yt})),Xt=Object(M["a"])(qt,2),Zt=Xt[0],Qt=Xt[1],$t=Qt.focused,Jt=Qt.typing,en=Ht(cn(cn({},Gt(1,Kt)),{},{open:bt})),tn=Object(M["a"])(en,2),rn=tn[0],on=tn[1],sn=on.focused,ln=on.typing,un=Fe&&Fe[0]?p.locale.format(g.locale,Fe[0],"YYYYMMDDHHmmss"):"",fn=Fe&&Fe[1]?p.locale.format(g.locale,Fe[1],"YYYYMMDDHHmmss"):"";l["useEffect"]((function(){mt||(qe(Fe),Et.length&&""!==Et[0]?Et.includes(It)||Rt():At(""),Dt.length&&""!==Dt[0]?Dt.includes(Vt)||Kt():zt(""))}),[mt,Et,Dt]),l["useEffect"]((function(){qe(Fe)}),[un,fn]),q&&(q.current={focus:function(){Ce.current&&Ce.current.focus()},blur:function(){Ce.current&&Ce.current.blur(),ke.current&&ke.current.blur()}});var pn=Object.keys(V||{}),gn=pn.map((function(e){var t=V[e],n="function"===typeof t?t():t;return{label:e,onClick:function(){St(n)},onMouseEnter:function(){Qe(n)},onMouseLeave:function(){Qe(null)}}}));function mn(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;mt&&et&&et[0]&&et[1]&&p.isAfter(et[1],et[0])&&(i=et);var o=C;if(C&&"object"===Object(L["a"])(C)&&C.defaultValue){var a=C.defaultValue;o=cn(cn({},C),{},{defaultValue:se(a,Ie)||void 0})}var s=null;return B&&(s=function(e,t){return B(e,t,{range:Ie?"end":"start"})}),l["createElement"](Ne.Provider,{value:{inRange:!0,panelPosition:t,rangedValue:Ze||Ge,hoverRangedValue:i}},l["createElement"](Ft,Object.assign({},e,n,{dateRender:s,showTime:o,mode:at[Ie],generateConfig:p,style:void 0,direction:de,disabledDate:0===Ie?ht:ft,disabledTime:function(e){return!!F&&F(e,0===Ie?"start":"end")},className:m()(Object(D["a"])({},"".concat(r,"-panel-focused"),0===Ie?!Jt:!ln)),value:se(Ge,Ie),locale:g,tabIndex:-1,onPanelChange:function(e,n){ut(le(at,n,Ie),le(Ge,e,Ie));var r=e;"right"===t&&(r=De(r,n,p,-1)),He(r,Ie)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var vn=0,yn=0;Ie&&ye.current&&we.current&&ve.current&&(vn=ye.current.offsetWidth+we.current.offsetWidth,ve.current.offsetWidth&&vn>ve.current.offsetWidth&&(yn=vn));var bn="rtl"===de?{right:vn}:{left:vn};function _n(){var e,t=Tt(r,at[Ie],Z),n=Pt({prefixCls:r,components:ue,needConfirmButton:ge,okDisabled:!se(Ge,Ie),locale:g,rangeList:gn,onOk:function(){se(Ge,Ie)&&(St(Ge),ie&&ie(Ge))}});if("time"===x||C)e=mn();else{var i=We(Ie),o=De(i,x,p),a=at[Ie],s=a===x,u=mn(!!s&&"left",{pickerValue:i,onPickerValueChange:function(e){He(e,Ie)}}),c=mn("right",{pickerValue:o,onPickerValueChange:function(e){He(De(e,x,p,-1),Ie)}});e="rtl"===de?l["createElement"](l["Fragment"],null,c,s&&u):l["createElement"](l["Fragment"],null,u,s&&c)}return l["createElement"]("div",{className:"".concat(r,"-panel-container"),style:{marginLeft:yn},ref:ve,onMouseDown:function(e){e.preventDefault()}},l["createElement"]("div",{className:"".concat(r,"-panels")},e),(t||n)&&l["createElement"]("div",{className:"".concat(r,"-footer")},t,n))}var wn,xn,Cn=l["createElement"]("div",{className:m()("".concat(r,"-range-wrapper"),"".concat(r,"-").concat(x,"-range-wrapper")),style:{minWidth:xt}},l["createElement"]("div",{className:"".concat(r,"-range-arrow"),style:bn}),_n());H&&(wn=l["createElement"]("span",{className:"".concat(r,"-suffix")},H)),W&&(se(Fe,0)&&!Ae[0]||se(Fe,1)&&!Ae[1])&&(xn=l["createElement"]("span",{onMouseDown:function(e){e.preventDefault(),e.stopPropagation()},onMouseUp:function(e){e.preventDefault(),e.stopPropagation();var t=Fe;Ae[0]||(t=le(t,null,0)),Ae[1]||(t=le(t,null,1)),St(t,{forceInput:!1})},className:"".concat(r,"-clear")},G||l["createElement"]("span",{className:"".concat(r,"-clear-btn")})));var Sn={size:K(x,Ee[0])},On=0,kn=0;ye.current&&be.current&&we.current&&(0===Ie?kn=ye.current.offsetWidth:(On=vn,kn=be.current.offsetWidth));var En="rtl"===de?{right:On}:{left:On},Dn=function(e,t){var n=le(Ge,e,Ie);"submit"===t||"key"!==t&&!ge?St(n):qe(n)};return l["createElement"](P.Provider,{value:{operationRef:Pe,hideHeader:"time"===x,onDateMouseEnter:nt,onDateMouseLeave:rt,hideRanges:!0,onSelect:Dn,open:mt}},l["createElement"](Wt,{visible:mt,popupElement:Cn,popupStyle:u,prefixCls:r,dropdownClassName:c,dropdownAlign:h,getPopupContainer:f,transitionName:d,range:!0,direction:de},l["createElement"]("div",Object.assign({ref:me,className:m()(r,"".concat(r,"-range"),s,(t={},Object(D["a"])(t,"".concat(r,"-disabled"),Ae[0]&&Ae[1]),Object(D["a"])(t,"".concat(r,"-focused"),0===Ie?$t:sn),Object(D["a"])(t,"".concat(r,"-rtl"),"rtl"===de),t)),style:a},ae(e)),l["createElement"]("div",{className:m()("".concat(r,"-input"),Object(D["a"])({},"".concat(r,"-input-active"),0===Ie)),ref:ye},l["createElement"]("input",Object.assign({id:i,disabled:Ae[0],readOnly:Y||!Jt,value:It,onChange:function(e){At(e.target.value)},autoFocus:y,placeholder:se(v,0)||"",ref:Ce},Zt,Sn,{autoComplete:pe}))),l["createElement"]("div",{className:"".concat(r,"-range-separator"),ref:we},k),l["createElement"]("div",{className:m()("".concat(r,"-input"),Object(D["a"])({},"".concat(r,"-input-active"),1===Ie)),ref:be},l["createElement"]("input",Object.assign({disabled:Ae[1],readOnly:Y||!ln,value:Vt,onChange:function(e){zt(e.target.value)},placeholder:se(v,1)||"",ref:ke},rn,Sn,{autoComplete:pe}))),l["createElement"]("div",{className:"".concat(r,"-active-bar"),style:cn(cn({},En),{},{width:kn,position:"absolute"})}),wn,xn)))}var pn=function(e){Object(O["a"])(n,e);var t=sn(n);function n(){var e;return Object(C["a"])(this,n),e=t.apply(this,arguments),e.pickerRef=l["createRef"](),e.focus=function(){e.pickerRef.current&&e.pickerRef.current.focus()},e.blur=function(){e.pickerRef.current&&e.pickerRef.current.blur()},e}return Object(S["a"])(n,[{key:"render",value:function(){return l["createElement"](fn,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),n}(l["Component"]),gn=pn,mn=tn,vn=n("61s2");function yn(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.yearPlaceholder:"quarter"===e&&t.lang.quarterPlaceholder?t.lang.quarterPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.monthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.weekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.placeholder:t.lang.placeholder}function bn(e,t,n){return void 0!==n?n:"year"===e&&t.lang.yearPlaceholder?t.lang.rangeYearPlaceholder:"month"===e&&t.lang.monthPlaceholder?t.lang.rangeMonthPlaceholder:"week"===e&&t.lang.weekPlaceholder?t.lang.rangeWeekPlaceholder:"time"===e&&t.timePickerLocale.placeholder?t.timePickerLocale.rangePlaceholder:t.lang.rangePlaceholder}var _n=n("H84U"),wn=n("YMnH"),xn=n("3Nzz");function Cn(e){return Cn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cn(e)}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(){return On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},On.apply(this,arguments)}function kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function En(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dn(e,t,n){return t&&En(e.prototype,t),n&&En(e,n),e}function Mn(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}function Nn(e,t){return Nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Nn(e,t)}function Ln(e){var t=Pn();return function(){var n,r=An(e);if(t){var i=An(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return In(this,n)}}function In(e,t){return!t||"object"!==Cn(t)&&"function"!==typeof t?Tn(e):t}function Tn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function An(e){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},An(e)}var Rn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function jn(e){function t(t,n){var r=function(n){Mn(i,n);var r=Ln(i);function i(){var n;return kn(this,i),n=r.apply(this,arguments),n.pickerRef=l["createRef"](),n.focus=function(){n.pickerRef.current&&n.pickerRef.current.focus()},n.blur=function(){n.pickerRef.current&&n.pickerRef.current.blur()},n.getDefaultLocale=function(){var e=n.props.locale,t=On(On({},vn["a"]),e);return t.lang=On(On({},t.lang),(e||{}).lang),t},n.renderPicker=function(r){var i=n.context,o=i.getPrefixCls,a=i.direction,s=i.getPopupContainer,u=n.props,c=u.prefixCls,d=u.getPopupContainer,h=u.className,f=u.size,p=u.bordered,g=void 0===p||p,v=u.placeholder,b=Rn(u,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),w=n.props,C=w.format,S=w.showTime,O=o("picker",c),k={showToday:!0},E={};t&&(E.picker=t);var D=t||n.props.picker;return E=On(On(On({},E),S?ir(On({format:C,picker:D},S)):{}),"time"===D?ir(On(On({format:C},n.props),{picker:D})):{}),l["createElement"](xn["b"].Consumer,null,(function(t){var i,o=f||t;return l["createElement"](mn,On({ref:n.pickerRef,placeholder:yn(D,r,v),suffixIcon:"time"===D?l["createElement"](_.a,null):l["createElement"](y.a,null),clearIcon:l["createElement"](x.a,null),allowClear:!0,transitionName:"slide-up"},k,b,E,{locale:r.lang,className:m()(h,(i={},Sn(i,"".concat(O,"-").concat(o),o),Sn(i,"".concat(O,"-borderless"),!g),i)),prefixCls:O,getPopupContainer:d||s,generateConfig:e,prevIcon:l["createElement"]("span",{className:"".concat(O,"-prev-icon")}),nextIcon:l["createElement"]("span",{className:"".concat(O,"-next-icon")}),superPrevIcon:l["createElement"]("span",{className:"".concat(O,"-super-prev-icon")}),superNextIcon:l["createElement"]("span",{className:"".concat(O,"-super-next-icon")}),components:nr,direction:a}))}))},n}return Dn(i,[{key:"render",value:function(){return l["createElement"](wn["a"],{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),i}(l["Component"]);return r.contextType=_n["b"],n&&(r.displayName=n),r}var n=t(),r=t("week","WeekPicker"),i=t("month","MonthPicker"),o=t("year","YearPicker"),a=t("time","TimePicker");return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:a}}var Fn=n("8ISB"),Bn=n.n(Fn);function Vn(e){return Vn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vn(e)}function zn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wn(){return Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wn.apply(this,arguments)}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kn(e,t,n){return t&&Un(e.prototype,t),n&&Un(e,n),e}function Gn(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qn(e,t)}function qn(e,t){return qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},qn(e,t)}function Yn(e){var t=Qn();return function(){var n,r=$n(e);if(t){var i=$n(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Xn(this,n)}}function Xn(e,t){return!t||"object"!==Vn(t)&&"function"!==typeof t?Zn(e):t}function Zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qn(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$n(e)}var Jn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function er(e){var t=function(t){Gn(r,t);var n=Yn(r);function r(){var t;return Hn(this,r),t=n.apply(this,arguments),t.pickerRef=l["createRef"](),t.focus=function(){t.pickerRef.current&&t.pickerRef.current.focus()},t.blur=function(){t.pickerRef.current&&t.pickerRef.current.blur()},t.getDefaultLocale=function(){var e=t.props.locale,n=Wn(Wn({},vn["a"]),e);return n.lang=Wn(Wn({},n.lang),(e||{}).lang),n},t.renderPicker=function(n){var r=t.context,i=r.getPrefixCls,o=r.direction,a=r.getPopupContainer,s=t.props,u=s.prefixCls,c=s.getPopupContainer,d=s.className,h=s.size,f=s.bordered,p=void 0===f||f,g=s.placeholder,v=Jn(s,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),b=t.props,w=b.format,C=b.showTime,S=b.picker,O=i("picker",u),k={};return k=Wn(Wn(Wn({},k),C?ir(Wn({format:w,picker:S},C)):{}),"time"===S?ir(Wn(Wn({format:w},t.props),{picker:S})):{}),l["createElement"](xn["b"].Consumer,null,(function(r){var i,s=h||r;return l["createElement"](gn,Wn({separator:l["createElement"]("span",{"aria-label":"to",className:"".concat(O,"-separator")},l["createElement"](Bn.a,null)),ref:t.pickerRef,placeholder:bn(S,n,g),suffixIcon:"time"===S?l["createElement"](_.a,null):l["createElement"](y.a,null),clearIcon:l["createElement"](x.a,null),allowClear:!0,transitionName:"slide-up"},v,k,{className:m()(d,(i={},zn(i,"".concat(O,"-").concat(s),s),zn(i,"".concat(O,"-borderless"),!p),i)),locale:n.lang,prefixCls:O,getPopupContainer:c||a,generateConfig:e,prevIcon:l["createElement"]("span",{className:"".concat(O,"-prev-icon")}),nextIcon:l["createElement"]("span",{className:"".concat(O,"-next-icon")}),superPrevIcon:l["createElement"]("span",{className:"".concat(O,"-super-prev-icon")}),superNextIcon:l["createElement"]("span",{className:"".concat(O,"-super-next-icon")}),components:nr,direction:o}))}))},t}return Kn(r,[{key:"render",value:function(){return l["createElement"](wn["a"],{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),r}(l["Component"]);return t.contextType=_n["b"],t}function tr(){return tr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tr.apply(this,arguments)}var nr={button:d,rangeItem:p};function rr(e){return e?Array.isArray(e)?e:[e]:[]}function ir(e){var t=e.format,n=e.picker,r=e.showHour,i=e.showMinute,o=e.showSecond,a=e.use12Hours,s=rr(t)[0],l=tr({},e);return s&&(s.includes("s")||void 0!==o||(l.showSecond=!1),s.includes("m")||void 0!==i||(l.showMinute=!1),s.includes("H")||s.includes("h")||void 0!==r||(l.showHour=!1),(s.includes("a")||s.includes("A"))&&void 0===a&&(l.use12Hours=!0)),"time"===n?l:{showTime:l}}function or(e){var t=jn(e),n=t.DatePicker,r=t.WeekPicker,i=t.MonthPicker,o=t.YearPicker,a=t.TimePicker,s=er(e),l=n;return l.WeekPicker=r,l.MonthPicker=i,l.YearPicker=o,l.RangePicker=s,l.TimePicker=a,l}var ar=or,sr=ar(s);t["a"]=sr},"+hIS":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r="undefined"===typeof monaco?self.monaco:monaco,i={},o={},a=function(){function e(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((function(e,n){t._lazyLoadPromiseResolve=e,t._lazyLoadPromiseReject=n}))}return e.getOrCreate=function(t){return o[t]||(o[t]=new e(t)),o[t]},e.prototype.whenLoaded=function(){return this._lazyLoadPromise},e.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,i[this._languageId].loader().then((function(t){return e._lazyLoadPromiseResolve(t)}),(function(t){return e._lazyLoadPromiseReject(t)}))),this._lazyLoadPromise},e}();function s(e){var t=e.id;i[t]=e,r.languages.register(e);var n=a.getOrCreate(t);r.languages.setMonarchTokensProvider(t,n.whenLoaded().then((function(e){return e.language}))),r.languages.onLanguage(t,(function(){n.load().then((function(e){r.languages.setLanguageConfiguration(t,e.conf)}))}))}},"+lIL":function(e,t,n){var r=n("ProS");n("/ry/"),n("3OrL");var i=n("L5E0"),o=n("7Phj");r.registerVisual(i),r.registerLayout(o)},"+nKL":function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("xEkU"),s=n.n(a);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.height,n=e.offset,i=e.children,a=e.prefixCls,s={},l={display:"flex",flexDirection:"column"};return void 0!==n&&(s={height:t,position:"relative",overflow:"hidden"},l=u(u({},l),{},{transform:"translateY(".concat(n,"px)"),position:"absolute",left:0,right:0,top:0})),r["createElement"]("div",{style:s},r["createElement"]("div",{style:l,className:o()(c({},"".concat(a,"-holder-inner"),a))},i))},h=d,f=n("m+aA");function p(e,t){if(null==e)return{};var n,r,i=g(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var m="__rc_ghost_item__";function v(e,t){var n=Math.floor(e*t),r=n/t,i=(n+1)/t,o=(e-r)/(i-r);return{index:n,offsetPtg:o}}function y(e,t){return e<0?0:e>=t?t:e}function b(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;if(n<=r)return 0;var i=n-r,o=y(t,i),a=o/i;return a}function _(e){return e?b(e):0}function w(e){var t=Object(f["a"])(e);return t?t.offsetHeight:0}function x(e,t,n){var r=v(e,t),i=r.index,o=r.offsetPtg,a=Math.ceil(e*n),s=Math.ceil((1-e)*n);return{itemIndex:i,itemOffsetPtg:o,startIndex:Math.max(0,i-a),endIndex:Math.min(t-1,i+s)}}function C(e){var t=e.itemIndex,n=e.itemOffsetPtg,r=e.itemElementHeights,i=e.scrollPtg,o=e.clientHeight,a=e.getItemKey,s=r[a(t)]||0,l=i*o,u=n*s;return Math.floor(l-u)}function S(e){var t=e.scrollTop,n=p(e,["scrollTop"]);return t+C(n)}function O(e){var t=e.locatedItemRelativeTop,n=e.locatedItemIndex,r=e.compareItemIndex,i=e.startIndex,o=e.endIndex,a=e.getItemKey,s=e.itemElementHeights,l=t,u=a(r);if(r<=n)for(var c=n;c>=i;c-=1){var d=a(c);if(d===u)break;var h=a(c-1);l-=s[h]||0}else for(var f=n;f<=o;f+=1){var p=a(f);if(p===u)break;l+=s[p]||0}return l}function k(e,t,n,r){return!1!==r&&"number"===typeof e&&n*t>e}function E(e,t,n,r){var i=n-e,o=t-n,a=2*Math.min(i,o);if(r<=a){var s=Math.floor(r/2);return r%2?n+s+1:n-s}return i>o?n-(r-o):n+(r-i)}function D(e,t,n){var r,i,o=e.length,a=t.length;if(0===o&&0===a)return null;o<a?(r=e,i=t):(r=t,i=e);var s={__EMPTY_ITEM__:!0};function l(e){return void 0!==e?n(e):s}for(var u=null,c=1!==Math.abs(o-a),d=0;d<i.length;d+=1){var h=l(r[d]),f=l(i[d]);if(h!==f){u=d,c=c||h!==l(i[d+1]);break}}return null===u?null:{index:u,multiple:c}}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){L(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){if(null==e)return{};var n,r,i=T(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function T(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function P(e){return P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function F(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function V(e){var t=H();return function(){var n,r=U(e);if(t){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return z(this,n)}}function z(e,t){return!t||"object"!==P(t)&&"function"!==typeof t?W(e):t}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var K={overflowY:"auto",overflowAnchor:"none"},G=1,q=function(){var e=function(e){F(n,e);var t=V(n);function n(e){var i;return A(this,n),i=t.call(this,e),i.listRef=r["createRef"](),i.itemElements={},i.itemElementHeights={},i.lockScroll=!1,i.onScroll=function(e){var t=i.props,n=t.data,r=t.height,o=t.itemHeight,a=t.disabled,s=i.listRef.current,l=s.scrollTop,u=s.clientHeight,c=s.scrollHeight,d=y(l,c-u);if(d!==i.state.scrollTop&&!i.lockScroll&&!a){var h=_(i.listRef.current),f=Math.ceil(r/o),p=x(h,n.length,f),g=p.itemIndex,m=p.itemOffsetPtg,v=p.startIndex,b=p.endIndex;i.setState({status:"MEASURE_START",scrollTop:d,itemIndex:g,itemOffsetPtg:m,startIndex:v,endIndex:b}),i.triggerOnScroll(e)}},i.onRawScroll=function(e){var t=i.listRef.current.scrollTop;i.setState({scrollTop:t}),i.triggerOnScroll(e)},i.triggerOnScroll=function(e){var t=i.props.onScroll;t&&e&&t(e)},i.getIndexKey=function(e,t){var n=t||i.props,r=n.data,o=void 0===r?[]:r;if(e===o.length)return m;var a=o[e];return void 0===a?(console.error("Not find index item. Please report this since it is a bug."),null):i.getItemKey(a,n)},i.getItemKey=function(e,t){var n=t||i.props,r=n.itemKey;return"function"===typeof r?r(e):e[r]},i.collectItemHeights=function(e){for(var t=e||i.state,n=t.startIndex,r=t.endIndex,o=i.props.data,a=n;a<=r;a+=1){var s=o[a];if(s){var l=i.getItemKey(s);i.itemElementHeights[l]=w(i.itemElements[l])}}},i.scrollTo=function(e){s.a.cancel(i.rafId),i.rafId=s()((function(){if("object"===P(e)){var t=i.state.isVirtual,n=i.props,r=n.height,o=n.itemHeight,a=n.data,s=e.align,l=void 0===s?"auto":s,u=0;if("index"in e)u=e.index;else if("key"in e){var c=e.key;u=a.findIndex((function(e){return i.getItemKey(e)===c}))}var d=Math.ceil(r/o),h=a[u];if(h){var f=i.listRef.current.clientHeight;if(t){var p=i.state,g=p.itemIndex,m=p.itemOffsetPtg,v=i.listRef.current.scrollTop,y=_(i.listRef.current),b=C({itemIndex:g,itemOffsetPtg:m,itemElementHeights:i.itemElementHeights,scrollPtg:y,clientHeight:f,getItemKey:i.getIndexKey});i.setState({startIndex:Math.max(0,u-d),endIndex:Math.min(a.length-1,u+d)},(function(){var e;i.collectItemHeights();var t=l;if("auto"===l){var n=!0;if(Math.abs(g-u)<d){var r=b;if(u<g)for(var o=u;o<g;o+=1){var s=i.getIndexKey(o);r-=i.itemElementHeights[s]||0}else for(var c=g;c<=u;c+=1){var p=i.getIndexKey(c);r+=i.itemElementHeights[p]||0}n=r<=0||r>=f}if(!n){var m=x(y,a.length,d),_=m.itemIndex,w=m.itemOffsetPtg,C=m.startIndex,S=m.endIndex;return void i.setState({scrollTop:v,itemIndex:_,itemOffsetPtg:w,startIndex:C,endIndex:S})}t=u<g?"top":"bottom"}if("top"===t)e=0;else if("bottom"===t){var O=i.getItemKey(h);e=f-i.itemElementHeights[O]||0}i.internalScrollTo({itemIndex:u,relativeTop:e})}))}else{i.collectItemHeights({startIndex:0,endIndex:a.length-1});for(var w=l,S=i.itemElementHeights[i.getIndexKey(u)],O=0,k=0;k<u;k+=1){var E=i.getIndexKey(k);O+=i.itemElementHeights[E]||0}var D=O+S;"auto"===w&&(O<i.listRef.current.scrollTop?w="top":D>i.listRef.current.scrollTop+f&&(w="bottom")),"top"===w?i.listRef.current.scrollTop=O:"bottom"===w&&(i.listRef.current.scrollTop=O-(f-S))}}}else i.listRef.current.scrollTop=e}))},i.renderChildren=function(e,t,n){var o=i.state.status;return e.map((function(e,a){var s=t+a,l=n(e,s,{style:"MEASURE_START"===o?{visibility:"hidden"}:{}}),u=i.getIndexKey(s);return r["cloneElement"](l,{key:u,ref:function(e){i.itemElements[u]=e}})}))},i.cachedProps=e,i.state={status:"NONE",scrollTop:null,itemIndex:0,itemOffsetPtg:0,startIndex:0,endIndex:0,startItemTop:0,isVirtual:k(e.height,e.itemHeight,e.data.length,e.virtual),itemCount:e.data.length},i}return j(n,[{key:"componentDidMount",value:function(){this.listRef.current&&(this.listRef.current.scrollTop=0,this.onScroll(null))}},{key:"componentDidUpdate",value:function(){var e=this,t=this.state.status,n=this.props,r=n.data,i=n.height,o=n.itemHeight,a=n.disabled,s=n.onSkipRender,l=n.virtual,u=this.cachedProps.data||[],c=null;if(u.length!==r.length){var d=D(u,r,this.getItemKey);c=d?d.index:null}if(a){if(r.length>u.length){var h=this.state,f=h.startIndex,p=h.endIndex;s&&(null===c||c<f||p<c)&&s()}}else{var g=k(i,o,r.length,l),m=t;if(this.state.isVirtual===g||(m=g?"SWITCH_TO_VIRTUAL":"SWITCH_TO_RAW",this.setState({isVirtual:g,status:m}),"SWITCH_TO_VIRTUAL"!==m)){if("MEASURE_START"===t){var v=this.state,y=v.startIndex,w=v.itemIndex,x=v.itemOffsetPtg,E=this.listRef.current.scrollTop;this.collectItemHeights();for(var M=S({itemIndex:w,itemOffsetPtg:x,itemElementHeights:this.itemElementHeights,scrollTop:E,scrollPtg:_(this.listRef.current),clientHeight:this.listRef.current.clientHeight,getItemKey:this.getIndexKey}),N=M,L=w-1;L>=y;L-=1)N-=this.itemElementHeights[this.getIndexKey(L)]||0;this.setState({status:"MEASURE_DONE",startItemTop:N})}if("SWITCH_TO_RAW"===t){for(var I=this.state.cacheScroll,T=I.itemIndex,P=I.relativeTop,A=P,R=0;R<T;R+=1)A-=this.itemElementHeights[this.getIndexKey(R)]||0;this.lockScroll=!0,this.listRef.current.scrollTop=-A,this.setState({status:"MEASURE_DONE",itemIndex:0}),requestAnimationFrame((function(){requestAnimationFrame((function(){e.lockScroll=!1}))}))}else if(u.length!==r.length&&null!==c&&i){var j,F=this.state.itemIndex,B=this.state,V=B.itemOffsetPtg,z=B.startIndex,W=B.endIndex,H=B.scrollTop;this.collectItemHeights(),"SWITCH_TO_VIRTUAL"===this.state.status?(F=0,j=-this.state.scrollTop):j=C({itemIndex:F,itemOffsetPtg:V,itemElementHeights:this.itemElementHeights,scrollPtg:b({scrollTop:H,scrollHeight:u.length*o,clientHeight:this.listRef.current.clientHeight}),clientHeight:this.listRef.current.clientHeight,getItemKey:function(t){return e.getIndexKey(t,e.cachedProps)}});var U=c-1;U<0&&(U=0);var K=O({locatedItemRelativeTop:j,locatedItemIndex:F,compareItemIndex:U,startIndex:z,endIndex:W,getItemKey:function(t){return e.getIndexKey(t,e.cachedProps)},itemElementHeights:this.itemElementHeights});"SWITCH_TO_RAW"===m?this.setState({cacheScroll:{itemIndex:U,relativeTop:K}}):this.internalScrollTo({itemIndex:U,relativeTop:K})}else"SWITCH_TO_RAW"===m&&this.setState({cacheScroll:{itemIndex:0,relativeTop:0}});this.cachedProps=this.props}}}},{key:"componentWillUnmount",value:function(){s.a.cancel(this.rafId)}},{key:"internalScrollTo",value:function(e){for(var t=this,n=e.itemIndex,r=e.relativeTop,i=this.state.scrollTop,o=this.props,a=o.data,s=o.itemHeight,l=o.height,u=Number.MAX_VALUE,c=null,d=null,h=null,f=null,p=null,g=0,m=a.length*s,v=this.listRef.current.clientHeight,y=m-v,_=0;_<y;_+=1){var w=E(0,y,i,_),S=b({scrollTop:w,scrollHeight:m,clientHeight:v}),k=Math.ceil(l/s),D=x(S,a.length,k),M=D.itemIndex,N=D.itemOffsetPtg,L=D.startIndex,I=D.endIndex;if(L<=n&&n<=I){var T=C({itemIndex:M,itemOffsetPtg:N,itemElementHeights:this.itemElementHeights,scrollPtg:S,clientHeight:v,getItemKey:this.getIndexKey}),P=O({locatedItemRelativeTop:T,locatedItemIndex:M,compareItemIndex:n,startIndex:L,endIndex:I,getItemKey:this.getIndexKey,itemElementHeights:this.itemElementHeights}),A=Math.abs(P-r);A<u?(u=A,c=w,d=M,h=N,f=L,p=I,g=0):g+=1}if(g>10)break}null!==c&&(this.lockScroll=!0,this.listRef.current.scrollTop=c,this.setState({status:"MEASURE_START",scrollTop:c,itemIndex:d,itemOffsetPtg:h,startIndex:f,endIndex:p}),requestAnimationFrame((function(){requestAnimationFrame((function(){t.lockScroll=!1}))})))}},{key:"render",value:function(){var e=this.state,t=e.isVirtual,n=e.itemCount,i=this.props,a=i.prefixCls,s=i.style,l=i.className,u=i.component,c=void 0===u?"div":u,d=i.height,f=i.itemHeight,p=i.fullHeight,g=void 0===p||p,m=i.data,v=i.children,y=(i.itemKey,i.onSkipRender,i.disabled,i.virtual),b=I(i,["prefixCls","style","className","component","height","itemHeight","fullHeight","data","children","itemKey","onSkipRender","disabled","virtual"]),_=o()(a,l);if(!t){var w=k(d,f,m.length,y);return r["createElement"](c,Object.assign({style:d?N(N({},s),{},L({},g?"height":"maxHeight",d),K):s,className:_},b,{onScroll:this.onRawScroll,ref:this.listRef}),r["createElement"](h,{prefixCls:a,height:d},this.renderChildren(w?m.slice(0,Math.ceil(d/f)):m,0,v)))}var x=N(N({},s),{},{height:d},K),C=this.state,S=C.status,O=C.startIndex,E=C.endIndex,D=C.startItemTop,M=n*f*G;return r["createElement"](c,Object.assign({style:x,className:_},b,{onScroll:this.onScroll,ref:this.listRef}),r["createElement"](h,{prefixCls:a,height:M,offset:"MEASURE_DONE"===S?D:0},this.renderChildren(m.slice(O,E+1),O,v)))}}],[{key:"getDerivedStateFromProps",value:function(e){return e.disabled?null:{itemCount:e.data.length}}}]),n}(r["Component"]);return e.defaultProps={itemHeight:15,data:[]},e}(),Y=q;t["a"]=Y},"+rIm":function(e,t,n){var r=n("bYtY"),i=r.retrieve,o=r.defaults,a=r.extend,s=r.each,l=n("7aKB"),u=n("IwbS"),c=n("Qxkt"),d=n("OELB"),h=d.isRadianAroundZero,f=d.remRadian,p=n("oVpE"),g=p.createSymbol,m=n("Fofx"),v=n("QBsz"),y=v.applyTransform,b=n("aX7z"),_=b.shouldShowAllLabels,w=Math.PI,x=function(e,t){this.opt=t,this.axisModel=e,o(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new u.Group;var n=new u.Group({position:t.position.slice(),rotation:t.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};x.prototype={constructor:x,hasBuilder:function(e){return!!C[e]},add:function(e){C[e].call(this)},getGroup:function(){return this.group}};var C={axisLine:function(){var e=this.opt,t=this.axisModel;if(t.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),r=this._transform,i=[n[0],0],o=[n[1],0];r&&(y(i,i,r),y(o,o,r));var l=a({lineCap:"round"},t.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new u.Line({anid:"line",subPixelOptimize:!0,shape:{x1:i[0],y1:i[1],x2:o[0],y2:o[1]},style:l,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1}));var c=t.get("axisLine.symbol"),d=t.get("axisLine.symbolSize"),h=t.get("axisLine.symbolOffset")||0;if("number"===typeof h&&(h=[h,h]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof d&&"number"!==typeof d||(d=[d,d]);var f=d[0],p=d[1];s([{rotate:e.rotation+Math.PI/2,offset:h[0],r:0},{rotate:e.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((i[0]-o[0])*(i[0]-o[0])+(i[1]-o[1])*(i[1]-o[1]))}],(function(t,n){if("none"!==c[n]&&null!=c[n]){var r=g(c[n],-f/2,-p/2,f,p,l.stroke,!0),o=t.r+t.offset,a=[i[0]+o*Math.cos(e.rotation),i[1]-o*Math.sin(e.rotation)];r.attr({rotation:t.rotate,position:a,silent:!0,z2:11}),this.group.add(r)}}),this)}}},axisTickLabel:function(){var e=this.axisModel,t=this.opt,n=T(this,e,t),r=A(this,e,t);D(e,r,n),P(this,e,t)},axisName:function(){var e=this.opt,t=this.axisModel,n=i(e.axisName,t.get("name"));if(n){var r,o,s=t.get("nameLocation"),c=e.nameDirection,d=t.getModel("nameTextStyle"),h=t.get("nameGap")||0,f=this.axisModel.axis.getExtent(),p=f[0]>f[1]?-1:1,g=["start"===s?f[0]-p*h:"end"===s?f[1]+p*h:(f[0]+f[1])/2,L(s)?e.labelOffset+c*h:0],m=t.get("nameRotate");null!=m&&(m=m*w/180),L(s)?r=O(e.rotation,null!=m?m:e.rotation,c):(r=k(e,s,m||0,f),o=e.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var v=d.getFont(),y=t.get("nameTruncate",!0)||{},b=y.ellipsis,_=i(e.nameTruncateMaxWidth,y.maxWidth,o),x=null!=b&&null!=_?l.truncateText(n,_,v,b,{minChar:2,placeholder:y.placeholder}):n,C=t.get("tooltip",!0),D=t.mainType,M={componentType:D,name:n,$vars:["name"]};M[D+"Index"]=t.componentIndex;var N=new u.Text({anid:"name",__fullText:n,__truncatedText:x,position:g,rotation:r.rotation,silent:E(t),z2:1,tooltip:C&&C.show?a({content:n,formatter:function(){return n},formatterParams:M},C):null});u.setTextStyle(N.style,d,{text:x,textFont:v,textFill:d.getTextColor()||t.get("axisLine.lineStyle.color"),textAlign:d.get("align")||r.textAlign,textVerticalAlign:d.get("verticalAlign")||r.textVerticalAlign}),t.get("triggerEvent")&&(N.eventData=S(t),N.eventData.targetType="axisName",N.eventData.name=n),this._dumbGroup.add(N),N.updateTransform(),this.group.add(N),N.decomposeTransform()}}},S=x.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},O=x.innerTextLayout=function(e,t,n){var r,i,o=f(t-e);return h(o)?(i=n>0?"top":"bottom",r="center"):h(o-w)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<w?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}};function k(e,t,n,r){var i,o,a=f(n-e.rotation),s=r[0]>r[1],l="start"===t&&!s||"start"!==t&&s;return h(a-w/2)?(o=l?"bottom":"top",i="center"):h(a-1.5*w)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*w&&a>w/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}var E=x.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)};function D(e,t,n){if(!_(e.axis)){var r=e.get("axisLabel.showMinLabel"),i=e.get("axisLabel.showMaxLabel");t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],d=n[n.length-1],h=n[n.length-2];!1===r?(M(o),M(u)):N(o,a)&&(r?(M(a),M(c)):(M(o),M(u))),!1===i?(M(s),M(d)):N(l,s)&&(i?(M(l),M(h)):(M(s),M(d)))}}function M(e){e&&(e.ignore=!0)}function N(e,t,n){var r=e&&e.getBoundingRect().clone(),i=t&&t.getBoundingRect().clone();if(r&&i){var o=m.identity([]);return m.rotate(o,o,-e.rotation),r.applyTransform(m.mul([],o,e.getLocalTransform())),i.applyTransform(m.mul([],o,t.getLocalTransform())),r.intersect(i)}}function L(e){return"middle"===e||"center"===e}function I(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;l<e.length;l++){var c=e[l].coord;a[0]=c,a[1]=0,s[0]=c,s[1]=n,t&&(y(a,a,t),y(s,s,t));var d=new u.Line({anid:i+"_"+e[l].tickValue,subPixelOptimize:!0,shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,silent:!0});o.push(d)}return o}function T(e,t,n){var r=t.axis,i=t.getModel("axisTick");if(i.get("show")&&!r.scale.isBlank()){for(var a=i.getModel("lineStyle"),s=n.tickDirection*i.get("length"),l=r.getTicksCoords(),u=I(l,e._transform,s,o(a.getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")}),"ticks"),c=0;c<u.length;c++)e.group.add(u[c]);return u}}function P(e,t,n){var r=t.axis,i=t.getModel("minorTick");if(i.get("show")&&!r.scale.isBlank()){var a=r.getMinorTicksCoords();if(a.length)for(var s=i.getModel("lineStyle"),l=n.tickDirection*i.get("length"),u=o(s.getLineStyle(),o(t.getModel("axisTick").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})),c=0;c<a.length;c++)for(var d=I(a[c],e._transform,l,u,"minorticks_"+c),h=0;h<d.length;h++)e.group.add(d[h])}}function A(e,t,n){var r=t.axis,o=i(n.axisLabelShow,t.get("axisLabel.show"));if(o&&!r.scale.isBlank()){var a=t.getModel("axisLabel"),l=a.get("margin"),d=r.getViewLabels(),h=(i(n.labelRotate,a.get("rotate"))||0)*w/180,f=O(n.rotation,h,n.labelDirection),p=t.getCategories&&t.getCategories(!0),g=[],m=E(t),v=t.get("triggerEvent");return s(d,(function(i,o){var s=i.tickValue,d=i.formattedLabel,h=i.rawLabel,y=a;p&&p[s]&&p[s].textStyle&&(y=new c(p[s].textStyle,a,t.ecModel));var b=y.getTextColor()||t.get("axisLine.lineStyle.color"),_=r.dataToCoord(s),w=[_,n.labelOffset+n.labelDirection*l],x=new u.Text({anid:"label_"+s,position:w,rotation:f.rotation,silent:m,z2:10});u.setTextStyle(x.style,y,{text:d,textAlign:y.getShallow("align",!0)||f.textAlign,textVerticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||f.textVerticalAlign,textFill:"function"===typeof b?b("category"===r.type?h:"value"===r.type?s+"":s,o):b}),v&&(x.eventData=S(t),x.eventData.targetType="axisLabel",x.eventData.value=h),e._dumbGroup.add(x),x.updateTransform(),g.push(x),e.group.add(x),x.decomposeTransform()})),g}}var R=x;e.exports=R},"+wW9":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.isArray,a=r.isObject,s=n("JuEJ"),l=n("4NO4"),u=l.normalizeToArray;function c(e,t){t=t.split(",");for(var n=e,r=0;r<t.length;r++)if(n=n&&n[t[r]],null==n)break;return n}function d(e,t,n,r){t=t.split(",");for(var i,o=e,a=0;a<t.length-1;a++)i=t[a],null==o[i]&&(o[i]={}),o=o[i];(r||null==o[t[a]])&&(o[t[a]]=n)}function h(e){i(f,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var f=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],p=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function g(e,t){s(e,t),e.series=u(e.series),i(e.series,(function(e){if(a(e)){var t=e.type;if("line"===t)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===t||"gauge"===t)null!=e.clockWise&&(e.clockwise=e.clockWise);else if("gauge"===t){var n=c(e,"pointer.color");null!=n&&d(e,"itemStyle.color",n)}h(e)}})),e.dataRange&&(e.visualMap=e.dataRange),i(p,(function(t){var n=e[t];n&&(o(n)||(n=[n]),i(n,(function(e){h(e)})))}))}e.exports=g},"/IIm":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("H6uX"),a=n("IwbS"),s=n("pP6R"),l=n("gPAo"),u=i.curry,c=i.each,d=i.map,h=Math.min,f=Math.max,p=Math.pow,g=1e4,m=6,v=6,y="globalPan",b={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},_={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},w={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},x=0;function C(e){o.call(this),this._zr=e,this.group=new a.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+x++,this._handlers={},c(ie,(function(e,t){this._handlers[t]=i.bind(e,this)}),this)}function S(e,t){var n=e._zr;e._enableGlobalPan||s.take(n,y,e._uid),k(n,e._handlers),e._brushType=t.brushType,e._brushOption=i.merge(i.clone(w),t,!0)}function O(e){var t=e._zr;s.release(t,y,e._uid),E(t,e._handlers),e._brushType=e._brushOption=null}function k(e,t){c(t,(function(t,n){e.on(n,t)}))}function E(e,t){c(t,(function(t,n){e.off(n,t)}))}function D(e,t){var n=se[t.brushType].createCover(e,t);return n.__brushOption=t,L(n,t),e.group.add(n),n}function M(e,t){var n=T(t);return n.endCreating&&(n.endCreating(e,t),L(t,t.__brushOption)),t}function N(e,t){var n=t.__brushOption;T(t).updateCoverShape(e,t,n.range,n)}function L(e,t){var n=t.z;null==n&&(n=g),e.traverse((function(e){e.z=n,e.z2=n}))}function I(e,t){T(t).updateCommon(e,t),N(e,t)}function T(e){return se[e.__brushOption.brushType]}function P(e,t,n){var r,i=e._panels;if(!i)return!0;var o=e._transform;return c(i,(function(e){e.isTargetByCursor(t,n,o)&&(r=e)})),r}function A(e,t){var n=e._panels;if(!n)return!0;var r=t.__brushOption.panelId;return null==r||n[r]}function R(e){var t=e._covers,n=t.length;return c(t,(function(t){e.group.remove(t)}),e),t.length=0,!!n}function j(e,t){var n=d(e._covers,(function(e){var t=e.__brushOption,n=i.clone(t.range);return{brushType:t.brushType,panelId:t.panelId,range:n}}));e.trigger("brush",n,{isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function F(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],i=n[0]-r[0],o=n[1]-r[1],a=p(i*i+o*o,.5);return a>m}function B(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function V(e,t,n,r){var i=new a.Group;return i.add(new a.Rect({name:"main",style:U(n),silent:!0,draggable:!0,cursor:"move",drift:u(e,t,i,"nswe"),ondragend:u(j,t,{isEnd:!0})})),c(r,(function(n){i.add(new a.Rect({name:n,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:u(e,t,i,n),ondragend:u(j,t,{isEnd:!0})}))})),i}function z(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=f(i,v),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],d=n[1][1],h=c-o+i/2,p=d-o+i/2,g=c-a,m=d-s,y=g+i,b=m+i;H(e,t,"main",a,s,g,m),r.transformable&&(H(e,t,"w",l,u,o,b),H(e,t,"e",h,u,o,b),H(e,t,"n",l,u,y,o),H(e,t,"s",l,p,y,o),H(e,t,"nw",l,u,o,o),H(e,t,"ne",h,u,o,o),H(e,t,"sw",l,p,o,o),H(e,t,"se",h,p,o,o))}function W(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(U(n)),i.attr({silent:!r,cursor:r?"move":"default"}),c(["w","e","n","s","se","sw","ne","nw"],(function(n){var i=t.childOfName(n),o=q(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?_[o]+"-resize":null})}))}function H(e,t,n,r,i,o,a){var s=t.childOfName(n);s&&s.setShape($(Q(e,t,[[r,i],[r+o,i+a]])))}function U(e){return i.defaults({strokeNoScale:!0},e.brushStyle)}function K(e,t,n,r){var i=[h(e,n),h(t,r)],o=[f(e,n),f(t,r)];return[[i[0],o[0]],[i[1],o[1]]]}function G(e){return a.getTransform(e.group)}function q(e,t){if(t.length>1){t=t.split("");var n=[q(e,t[0]),q(e,t[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}var r={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"};n=a.transformDirection(r[t],G(e));return i[n]}function Y(e,t,n,r,i,o,a,s){var l=r.__brushOption,u=e(l.range),d=Z(n,o,a);c(i.split(""),(function(e){var t=b[e];u[t[0]][t[1]]+=d[t[0]]})),l.range=t(K(u[0][0],u[1][0],u[0][1],u[1][1])),I(n,r),j(n,{isEnd:!1})}function X(e,t,n,r,i){var o=t.__brushOption.range,a=Z(e,n,r);c(o,(function(e){e[0]+=a[0],e[1]+=a[1]})),I(e,t),j(e,{isEnd:!1})}function Z(e,t,n){var r=e.group,i=r.transformCoordToLocal(t,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function Q(e,t,n){var r=A(e,t);return r&&!0!==r?r.clipPath(n,e._transform):i.clone(n)}function $(e){var t=h(e[0][0],e[1][0]),n=h(e[0][1],e[1][1]),r=f(e[0][0],e[1][0]),i=f(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:i-n}}function J(e,t,n){if(e._brushType&&!ae(e,t)){var r=e._zr,i=e._covers,o=P(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&se[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function ee(e){var t=e.event;t.preventDefault&&t.preventDefault()}function te(e,t,n){return e.childOfName("main").contain(t,n)}function ne(e,t,n,r){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(n.slice()),F(e)||a){if(s&&!a){"single"===l.brushMode&&R(e);var u=i.clone(l);u.brushType=re(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=D(e,u),e._covers.push(a)}if(a){var c=se[re(e._brushType,s)],d=a.__brushOption;d.range=c.getCreatingRange(Q(e,a,e._track)),r&&(M(e,a),c.updateCommon(e,a)),N(e,a),o={isEnd:r}}}else r&&"single"===l.brushMode&&l.removeOnClick&&P(e,t,n)&&R(e)&&(o={isEnd:r,removeOnClick:!0});return o}function re(e,t){return"auto"===e?t.defaultBrushType:e}C.prototype={constructor:C,enableBrush:function(e){return this._brushType&&O(this),e.brushType&&S(this,e),this},setPanels:function(e){if(e&&e.length){var t=this._panels={};i.each(e,(function(e){t[e.panelId]=i.clone(e)}))}else this._panels=null;return this},mount:function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({position:e.position||[0,0],rotation:e.rotation||0,scale:e.scale||[1,1]}),this._transform=t.getLocalTransform(),this},eachCover:function(e,t){c(this._covers,e,t)},updateCovers:function(e){e=i.map(e,(function(e){return i.merge(i.clone(w),e,!0)}));var t="\0-brush-index-",n=this._covers,r=this._covers=[],o=this,a=this._creatingCover;return new l(n,e,u,s).add(c).update(c).remove(d).execute(),this;function s(e,n){return(null!=e.id?e.id:t+n)+"-"+e.brushType}function u(e,t){return s(e.__brushOption,t)}function c(t,i){var s=e[t];if(null!=i&&n[i]===a)r[t]=n[i];else{var l=r[t]=null!=i?(n[i].__brushOption=s,n[i]):M(o,D(o,s));I(o,l)}}function d(e){n[e]!==a&&o.group.remove(n[e])}},unmount:function(){return this.enableBrush(!1),R(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},i.mixin(C,o);var ie={mousedown:function(e){if(this._dragging)oe(this,e);else if(!e.target||!e.target.draggable){ee(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=P(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(J(this,e,r),this._dragging){ee(e);var i=ne(this,e,r,!1);i&&j(this,i)}},mouseup:function(e){oe(this,e)}};function oe(e,t){if(e._dragging){ee(t);var n=t.offsetX,r=t.offsetY,i=e.group.transformCoordToLocal(n,r),o=ne(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&j(e,o)}}function ae(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var se={lineX:le(0),lineY:le(1),rect:{createCover:function(e,t){return V(u(Y,(function(e){return e}),(function(e){return e})),e,t,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(e){var t=B(e);return K(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){z(e,t,n,r)},updateCommon:W,contain:te},polygon:{createCover:function(e,t){var n=new a.Group;return n.add(new a.Polyline({name:"main",style:U(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new a.Polygon({name:"main",draggable:!0,drift:u(X,e,t),ondragend:u(j,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:Q(e,t,n)})},updateCommon:W,contain:te}};function le(e){return{createCover:function(t,n){return V(u(Y,(function(t){var n=[t,[0,100]];return e&&n.reverse(),n}),(function(t){return t[e]})),t,n,[["w","e"],["n","s"]][e])},getCreatingRange:function(t){var n=B(t),r=h(n[0][e],n[1][e]),i=f(n[0][e],n[1][e]);return[r,i]},updateCoverShape:function(t,n,r,i){var o,a=A(t,n);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e,t._transform);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[r,o];e&&l.reverse(),z(t,n,l,i)},updateCommon:W,contain:te}}var ue=C;e.exports=ue},"/MfK":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="DeleteOutlined";t["a"]=r["forwardRef"](s)},"/SeX":function(e,t,n){var r=n("knOB"),i=n("qZFw"),o=function(e){this.name=e||"",this.cx=0,this.cy=0,this._radiusAxis=new r,this._angleAxis=new i,this._radiusAxis.polar=this._angleAxis.polar=this};o.prototype={type:"polar",axisPointerEnabled:!0,constructor:o,dimensions:["radius","angle"],model:null,containPoint:function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},getAxis:function(e){return this["_"+e+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(e){var t=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===e&&t.push(n),r.scale.type===e&&t.push(r),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(e){var t=null!=e&&"auto"!==e?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},pointToData:function(e,t){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],t),this._angleAxis.angleToData(n[1],t)]},pointToCoord:function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(t*t+n*n);t/=s,n/=s;var l=Math.atan2(-n,t)/Math.PI*180,u=l<o?1:-1;while(l<o||l>a)l+=360*u;return[s,l]},coordToPoint:function(e){var t=e[0],n=e[1]/180*Math.PI,r=Math.cos(n)*t+this.cx,i=-Math.sin(n)*t+this.cy;return[r,i]},getArea:function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),n=t.getExtent().slice();n[0]>n[1]&&n.reverse();var r=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-r[0]*i,endAngle:-r[1]*i,clockwise:e.inverse,contain:function(e,t){var n=e-this.cx,r=t-this.cy,i=n*n+r*r,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}}};var a=o;e.exports=a},"/UlZ":function(e,t,n){"use strict";n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return w})),n.d(t,"d",(function(){return M})),n.d(t,"j",(function(){return H})),n.d(t,"b",(function(){return ee})),n.d(t,"c",(function(){return te})),n.d(t,"i",(function(){return ne})),n.d(t,"e",(function(){return ie}));var r=n("3/fG"),i=n("MNsG"),o=n("0JNc"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},s.apply(this,arguments)},l=8,u=function(){function e(e){this._values=e}return e.prototype.hasChanged=function(e){return this._values[e]},e}(),c=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),d=function(){function e(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}return e.prototype.compute=function(e,t,n){return n},e}(),h=function(){function e(e,t){void 0===t&&(t=null),this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}return e.prototype.validate=function(e){return this.defaultValue},e}(),f=function(){function e(e,t,n,r){this.id=e,this.name=t,this.defaultValue=n,this.schema=r}return e.prototype.validate=function(e){return"undefined"===typeof e?this.defaultValue:e},e.prototype.compute=function(e,t,n){return n},e}(),p=function(e){function t(t,n,r,i){void 0===i&&(i=void 0);var o=this;return"undefined"!==typeof i&&(i.type="boolean",i.default=r),o=e.call(this,t,n,r,i)||this,o}return a(t,e),t.boolean=function(e,t){return"undefined"===typeof e?t:"false"!==e&&Boolean(e)},t.prototype.validate=function(e){return t.boolean(e,this.defaultValue)},t}(f),g=function(e){function t(t,n,r,i,o,a){void 0===a&&(a=void 0);var s=this;return"undefined"!==typeof a&&(a.type="integer",a.default=r,a.minimum=i,a.maximum=o),s=e.call(this,t,n,r,a)||this,s.minimum=i,s.maximum=o,s}return a(t,e),t.clampedInt=function(e,t,n,r){var i;return"undefined"===typeof e?i=t:(i=parseInt(e,10),isNaN(i)&&(i=t)),i=Math.max(n,i),i=Math.min(r,i),0|i},t.prototype.validate=function(e){return t.clampedInt(e,this.defaultValue,this.minimum,this.maximum)},t}(f),m=function(e){function t(t,n,r,i,o){var a=this;return"undefined"!==typeof o&&(o.type="number",o.default=r),a=e.call(this,t,n,r,o)||this,a.validationFn=i,a}return a(t,e),t.clamp=function(e,t,n){return e<t?t:e>n?n:e},t.float=function(e,t){if("number"===typeof e)return e;if("undefined"===typeof e)return t;var n=parseFloat(e);return isNaN(n)?t:n},t.prototype.validate=function(e){return this.validationFn(t.float(e,this.defaultValue))},t}(f),v=function(e){function t(t,n,r,i){void 0===i&&(i=void 0);var o=this;return"undefined"!==typeof i&&(i.type="string",i.default=r),o=e.call(this,t,n,r,i)||this,o}return a(t,e),t.string=function(e,t){return"string"!==typeof e?t:e},t.prototype.validate=function(e){return t.string(e,this.defaultValue)},t}(f),y=function(e){function t(t,n,r,i,o){void 0===o&&(o=void 0);var a=this;return"undefined"!==typeof o&&(o.type="string",o.enum=i,o.default=r),a=e.call(this,t,n,r,o)||this,a._allowedValues=i,a}return a(t,e),t.stringSet=function(e,t,n){return"string"!==typeof e||-1===n.indexOf(e)?t:e},t.prototype.validate=function(e){return t.stringSet(e,this.defaultValue,this._allowedValues)},t}(f),b=function(e){function t(t,n,r,i,o,a,s){void 0===s&&(s=void 0);var l=this;return"undefined"!==typeof s&&(s.type="string",s.enum=o,s.default=i),l=e.call(this,t,n,r,s)||this,l._allowedValues=o,l._convert=a,l}return a(t,e),t.prototype.validate=function(e){return"string"!==typeof e||-1===this._allowedValues.indexOf(e)?this.defaultValue:this._convert(e)},t}(d);function _(e){switch(e){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var w,x=function(e){function t(){return e.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[r["a"]("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),r["a"]("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),r["a"]("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:r["a"]("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return a(t,e),t.prototype.validate=function(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},t.prototype.compute=function(e,t,n){return 0===n?e.accessibilitySupport:n},t}(d),C=function(e){function t(){var t=this,n={insertSpace:!0};return t=e.call(this,13,"comments",n,{"editor.comments.insertSpace":{type:"boolean",default:n.insertSpace,description:r["a"]("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{insertSpace:p.boolean(t.insertSpace,this.defaultValue.insertSpace)}},t}(d);function S(e){switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}function O(e){switch(e){case"line":return w.Line;case"block":return w.Block;case"underline":return w.Underline;case"line-thin":return w.LineThin;case"block-outline":return w.BlockOutline;case"underline-thin":return w.UnderlineThin}}(function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"})(w||(w={}));var k=function(e){function t(){return e.call(this,104,[55,26])||this}return a(t,e),t.prototype.compute=function(e,t,n){var r="monaco-editor";return t.get(26)&&(r+=" "+t.get(26)),e.extraEditorClassName&&(r+=" "+e.extraEditorClassName),"default"===t.get(55)?r+=" mouse-default":"copy"===t.get(55)&&(r+=" mouse-copy"),t.get(85)&&(r+=" showUnused"),r},t}(h),E=function(e){function t(){return e.call(this,25,"emptySelectionClipboard",!0,{description:r["a"]("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return n&&e.emptySelectionClipboard},t}(p),D=function(e){function t(){var t=this,n={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return t=e.call(this,28,"find",n,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:n.seedSearchStringFromSelection,description:r["a"]("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:n.autoFindInSelection,enumDescriptions:[r["a"]("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),r["a"]("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),r["a"]("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:r["a"]("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:n.globalFindClipboard,description:r["a"]("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:i["e"]},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:n.addExtraSpaceOnTop,description:r["a"]("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{seedSearchStringFromSelection:p.boolean(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:"boolean"===typeof e.autoFindInSelection?e.autoFindInSelection?"always":"never":y.stringSet(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:p.boolean(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:p.boolean(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},t}(d),M=function(e){function t(){return e.call(this,35,"fontLigatures",t.OFF,{anyOf:[{type:"boolean",description:r["a"]("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:r["a"]("fontFeatureSettings","Explicit font-feature-settings.")}],description:r["a"]("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return a(t,e),t.prototype.validate=function(e){return"undefined"===typeof e?this.defaultValue:"string"===typeof e?"false"===e?t.OFF:"true"===e?t.ON:e:Boolean(e)?t.ON:t.OFF},t.OFF='"liga" off, "calt" off',t.ON='"liga" on, "calt" on',t}(d),N=function(e){function t(){return e.call(this,34)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo},t}(h),L=function(e){function t(){return e.call(this,36,"fontSize",ee.fontSize,{type:"number",minimum:6,maximum:100,default:ee.fontSize,description:r["a"]("fontSize","Controls the font size in pixels.")})||this}return a(t,e),t.prototype.validate=function(e){var t=m.float(e,this.defaultValue);return 0===t?ee.fontSize:m.clamp(t,6,100)},t.prototype.compute=function(e,t,n){return e.fontInfo.fontSize},t}(f),I=function(e){function t(){var t=this,n={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},i={type:"string",enum:["peek","gotoAndPeek","goto"],default:n.multiple,enumDescriptions:[r["a"]("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),r["a"]("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),r["a"]("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return t=e.call(this,41,"gotoLocation",n,{"editor.gotoLocation.multiple":{deprecationMessage:r["a"]("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":s({description:r["a"]("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleTypeDefinitions":s({description:r["a"]("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleDeclarations":s({description:r["a"]("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleImplementations":s({description:r["a"]("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleReferences":s({description:r["a"]("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},i),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:n.alternativeDefinitionCommand,description:r["a"]("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:n.alternativeTypeDefinitionCommand,description:r["a"]("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:n.alternativeDeclarationCommand,description:r["a"]("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:n.alternativeImplementationCommand,description:r["a"]("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:n.alternativeReferenceCommand,description:r["a"]("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this,t}return a(t,e),t.prototype.validate=function(e){var t,n,r,i,o;if("object"!==typeof e)return this.defaultValue;var a=e;return{multiple:y.stringSet(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=a.multipleDefinitions)&&void 0!==t?t:y.stringSet(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=a.multipleTypeDefinitions)&&void 0!==n?n:y.stringSet(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(r=a.multipleDeclarations)&&void 0!==r?r:y.stringSet(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(i=a.multipleImplementations)&&void 0!==i?i:y.stringSet(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(o=a.multipleReferences)&&void 0!==o?o:y.stringSet(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:v.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:v.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:v.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:v.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:v.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(d),T=function(e){function t(){var t=this,n={enabled:!0,delay:300,sticky:!0};return t=e.call(this,44,"hover",n,{"editor.hover.enabled":{type:"boolean",default:n.enabled,description:r["a"]("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:n.delay,description:r["a"]("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:n.sticky,description:r["a"]("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),delay:g.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:p.boolean(t.sticky,this.defaultValue.sticky)}},t}(d),P=function(e){function t(){return e.call(this,107,[40,48,30,54,78,50])||this}return a(t,e),t.prototype.compute=function(e,n,r){return t.computeLayout(n,{outerWidth:e.outerWidth,outerHeight:e.outerHeight,lineHeight:e.fontInfo.lineHeight,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})},t.computeLayout=function(e,t){var n,r=0|t.outerWidth,i=0|t.outerHeight,o=0|t.lineHeight,a=0|t.lineNumbersDigitCount,s=t.typicalHalfwidthCharacterWidth,u=t.maxDigitWidth,c=t.pixelRatio,d=e.get(40),h=0!==e.get(50).renderType,f=0|e.get(51),p=e.get(54),m=p.enabled,v=p.side,y=p.renderCharacters,b=c>=2?Math.round(2*p.scale):p.scale,_=0|p.maxColumn,w=e.get(78),x=0|w.verticalScrollbarSize,C=w.verticalHasArrows,S=0|w.arrowSize,O=0|w.horizontalScrollbarSize,k=e.get(48),E=e.get(30);if("string"===typeof k&&/^\d+(\.\d+)?ch$/.test(k)){var D=parseFloat(k.substr(0,k.length-2));n=g.clampedInt(D*s,0,0,1e3)}else n=g.clampedInt(k,0,0,1e3);E&&(n+=16);var M=0;if(h){var N=Math.max(a,f);M=Math.round(N*u)}var L=0;d&&(L=o);var I,T,P,A,R=0,j=R+L,F=j+M,B=F+n,V=r-L-M-n;if(m){var z=b/c;I=y?1:2,P=Math.max(0,Math.floor((V-x-2)*z/(s+z)))+l;var W=P/z;W>_&&(P=Math.floor(_*z)),A=V-P,"left"===v?(T=0,R+=P,j+=P,F+=P,B+=P):T=r-P-x}else T=0,P=0,I=0,A=V;var H=Math.max(1,Math.floor((A-x-2)/s)),U=C?S:0;return{width:r,height:i,glyphMarginLeft:R,glyphMarginWidth:L,lineNumbersLeft:j,lineNumbersWidth:M,decorationsLeft:F,decorationsWidth:n,contentLeft:B,contentWidth:A,renderMinimap:I,minimapLeft:T,minimapWidth:P,viewportColumn:H,verticalScrollbarWidth:x,horizontalScrollbarHeight:O,overviewRuler:{top:U,width:x,height:i-2*U,right:0}}},t}(h),A=function(e){function t(){var t=this,n={enabled:!0};return t=e.call(this,47,"lightbulb",n,{"editor.lightbulb.enabled":{type:"boolean",default:n.enabled,description:r["a"]("codeActions","Enables the code action lightbulb in the editor.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled)}},t}(d),R=function(e){function t(){return e.call(this,49,"lineHeight",ee.lineHeight,0,150,{description:r["a"]("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.fontInfo.lineHeight},t}(g),j=function(e){function t(){var t=this,n={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return t=e.call(this,54,"minimap",n,{"editor.minimap.enabled":{type:"boolean",default:n.enabled,description:r["a"]("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:n.side,description:r["a"]("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:n.showSlider,description:r["a"]("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:n.scale,minimum:1,maximum:3,description:r["a"]("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:n.renderCharacters,description:r["a"]("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:n.maxColumn,description:r["a"]("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),side:y.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:y.stringSet(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:p.boolean(t.renderCharacters,this.defaultValue.renderCharacters),scale:g.clampedInt(t.scale,1,1,3),maxColumn:g.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}},t}(d);function F(e){return"ctrlCmd"===e?i["e"]?"metaKey":"ctrlKey":"altKey"}var B=function(e){function t(){var t=this,n={enabled:!0,cycle:!1};return t=e.call(this,64,"parameterHints",n,{"editor.parameterHints.enabled":{type:"boolean",default:n.enabled,description:r["a"]("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:n.cycle,description:r["a"]("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{enabled:p.boolean(t.enabled,this.defaultValue.enabled),cycle:p.boolean(t.cycle,this.defaultValue.cycle)}},t}(d),V=function(e){function t(){return e.call(this,105)||this}return a(t,e),t.prototype.compute=function(e,t,n){return e.pixelRatio},t}(h),z=function(e){function t(){var t=this,n={other:!0,comments:!1,strings:!1};return t=e.call(this,66,"quickSuggestions",n,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:n.strings,description:r["a"]("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:n.comments,description:r["a"]("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:n.other,description:r["a"]("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:n,description:r["a"]("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this,t.defaultValue=n,t}return a(t,e),t.prototype.validate=function(e){if("boolean"===typeof e)return e;if("object"===typeof e){var t=e,n={other:p.boolean(t.other,this.defaultValue.other),comments:p.boolean(t.comments,this.defaultValue.comments),strings:p.boolean(t.strings,this.defaultValue.strings)};return!!(n.other&&n.comments&&n.strings)||!!(n.other||n.comments||n.strings)&&n}return this.defaultValue},t}(d),W=function(e){function t(){return e.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[r["a"]("lineNumbers.off","Line numbers are not rendered."),r["a"]("lineNumbers.on","Line numbers are rendered as absolute number."),r["a"]("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),r["a"]("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:r["a"]("lineNumbers","Controls the display of line numbers.")})||this}return a(t,e),t.prototype.validate=function(e){var t=this.defaultValue.renderType,n=this.defaultValue.renderFn;return"undefined"!==typeof e&&("function"===typeof e?(t=4,n=e):t="interval"===e?3:"relative"===e?2:"on"===e?1:0),{renderType:t,renderFn:n}},t}(d);function H(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var U=function(e){function t(){var t=this,n=[];return t=e.call(this,77,"rulers",n,{type:"array",items:{type:"number"},default:n,description:r["a"]("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this,t}return a(t,e),t.prototype.validate=function(e){if(Array.isArray(e)){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];t.push(g.clampedInt(i,0,0,1e4))}return t.sort((function(e,t){return e-t})),t}return this.defaultValue},t}(f);function K(e,t){if("string"!==typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}var G=function(e){function t(){return e.call(this,78,"scrollbar",{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:10,horizontalSliderSize:10,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0})||this}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e,n=g.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),r=g.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:g.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:K(t.vertical,this.defaultValue.vertical),horizontal:K(t.horizontal,this.defaultValue.horizontal),useShadows:p.boolean(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:p.boolean(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:p.boolean(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:p.boolean(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:p.boolean(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:g.clampedInt(t.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:r,verticalSliderSize:g.clampedInt(t.verticalSliderSize,r,0,1e3)}},t}(d),q=function(e){function t(){var t=this,n={insertMode:"insert",insertHighlight:!1,filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,maxVisibleSuggestions:12,showMethods:!0,showFunctions:!0,showConstructors:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,hideStatusBar:!0};return t=e.call(this,89,"suggest",n,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[r["a"]("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),r["a"]("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:n.insertMode,description:r["a"]("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.insertHighlight":{type:"boolean",default:n.insertHighlight,description:r["a"]("suggest.insertHighlight","Controls whether unexpected text modifications while accepting completions should be highlighted, e.g `insertMode` is `replace` but the completion only supports `insert`.")},"editor.suggest.filterGraceful":{type:"boolean",default:n.filterGraceful,description:r["a"]("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:n.localityBonus,description:r["a"]("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:n.shareSuggestSelections,markdownDescription:r["a"]("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:n.snippetsPreventQuickSuggestions,description:r["a"]("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:n.showIcons,description:r["a"]("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.maxVisibleSuggestions":{type:"number",default:n.maxVisibleSuggestions,minimum:1,maximum:15,description:r["a"]("suggest.maxVisibleSuggestions","Controls how many suggestions IntelliSense will show before showing a scrollbar (maximum 15).")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:r["a"]("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.hideStatusBar":{type:"boolean",default:!0,markdownDescription:r["a"]("editor.suggest.hideStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")}})||this,t}return a(t,e),t.prototype.validate=function(e){if("object"!==typeof e)return this.defaultValue;var t=e;return{insertMode:y.stringSet(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),insertHighlight:p.boolean(t.insertHighlight,this.defaultValue.insertHighlight),filterGraceful:p.boolean(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:p.boolean(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:p.boolean(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:p.boolean(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:p.boolean(t.showIcons,this.defaultValue.showIcons),maxVisibleSuggestions:g.clampedInt(t.maxVisibleSuggestions,this.defaultValue.maxVisibleSuggestions,1,15),showMethods:p.boolean(t.showMethods,this.defaultValue.showMethods),showFunctions:p.boolean(t.showFunctions,this.defaultValue.showFunctions),showConstructors:p.boolean(t.showConstructors,this.defaultValue.showConstructors),showFields:p.boolean(t.showFields,this.defaultValue.showFields),showVariables:p.boolean(t.showVariables,this.defaultValue.showVariables),showClasses:p.boolean(t.showClasses,this.defaultValue.showClasses),showStructs:p.boolean(t.showStructs,this.defaultValue.showStructs),showInterfaces:p.boolean(t.showInterfaces,this.defaultValue.showInterfaces),showModules:p.boolean(t.showModules,this.defaultValue.showModules),showProperties:p.boolean(t.showProperties,this.defaultValue.showProperties),showEvents:p.boolean(t.showEvents,this.defaultValue.showEvents),showOperators:p.boolean(t.showOperators,this.defaultValue.showOperators),showUnits:p.boolean(t.showUnits,this.defaultValue.showUnits),showValues:p.boolean(t.showValues,this.defaultValue.showValues),showConstants:p.boolean(t.showConstants,this.defaultValue.showConstants),showEnums:p.boolean(t.showEnums,this.defaultValue.showEnums),showEnumMembers:p.boolean(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:p.boolean(t.showKeywords,this.defaultValue.showKeywords),showWords:p.boolean(t.showWords,this.defaultValue.showWords),showColors:p.boolean(t.showColors,this.defaultValue.showColors),showFiles:p.boolean(t.showFiles,this.defaultValue.showFiles),showReferences:p.boolean(t.showReferences,this.defaultValue.showReferences),showFolders:p.boolean(t.showFolders,this.defaultValue.showFolders),showTypeParameters:p.boolean(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:p.boolean(t.showSnippets,this.defaultValue.showSnippets),hideStatusBar:p.boolean(t.hideStatusBar,this.defaultValue.hideStatusBar)}},t}(d),Y=function(e){function t(){return e.call(this,106,[68])||this}return a(t,e),t.prototype.compute=function(e,t,n){var r=t.get(68);return!!r||e.tabFocusMode},t}(h);function X(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}var Z=function(e){function t(){return e.call(this,108,[97,100,101,107,2])||this}return a(t,e),t.prototype.compute=function(e,t,n){var r=t.get(97),i=t.get(100),o=t.get(101),a=t.get(107),s=t.get(2),l=null;return l=2===s?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1}:o&&e.isDominatedByLongLines?{isWordWrapMinified:!0,isViewportWrapping:!0,wrappingColumn:Math.max(1,a.viewportColumn)}:"on"===r?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.max(1,a.viewportColumn)}:"bounded"===r?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.min(Math.max(1,a.viewportColumn),i)}:"wordWrapColumn"===r?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:i}:{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1},{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:l.isWordWrapMinified,isViewportWrapping:l.isViewportWrapping,wrappingColumn:l.wrappingColumn}},t}(h),Q="Consolas, 'Courier New', monospace",$="Menlo, Monaco, 'Courier New', monospace",J="'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",ee={fontFamily:i["e"]?$:i["d"]?J:Q,fontWeight:"normal",fontSize:i["e"]?12:14,lineHeight:0,letterSpacing:0},te={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},ne=[];function re(e){return ne[e.id]=e,e}var ie={acceptSuggestionOnCommitCharacter:re(new p(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:r["a"]("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:re(new y(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",r["a"]("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:r["a"]("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:re(new x),accessibilityPageSize:re(new g(3,"accessibilityPageSize",10,1,1073741824,{description:r["a"]("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:re(new v(4,"ariaLabel",r["a"]("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:re(new y(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r["a"]("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),r["a"]("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:r["a"]("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingOvertype:re(new y(6,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",r["a"]("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:r["a"]("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:re(new y(7,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",r["a"]("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),r["a"]("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:r["a"]("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:re(new b(8,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],_,{enumDescriptions:[r["a"]("editor.autoIndent.none","The editor will not insert indentation automatically."),r["a"]("editor.autoIndent.keep","The editor will keep the current line's indentation."),r["a"]("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),r["a"]("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),r["a"]("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:r["a"]("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:re(new p(9,"automaticLayout",!1)),autoSurround:re(new y(10,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[r["a"]("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),r["a"]("editor.autoSurround.quotes","Surround with quotes but not brackets."),r["a"]("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:r["a"]("autoSurround","Controls whether the editor should automatically surround selections.")})),codeLens:re(new p(11,"codeLens",!0,{description:r["a"]("codeLens","Controls whether the editor shows CodeLens.")})),colorDecorators:re(new p(12,"colorDecorators",!0,{description:r["a"]("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),comments:re(new C),contextmenu:re(new p(14,"contextmenu",!0)),copyWithSyntaxHighlighting:re(new p(15,"copyWithSyntaxHighlighting",!0,{description:r["a"]("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:re(new b(16,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],S,{description:r["a"]("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:re(new p(17,"cursorSmoothCaretAnimation",!1,{description:r["a"]("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:re(new b(18,"cursorStyle",w.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],O,{description:r["a"]("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:re(new g(19,"cursorSurroundingLines",0,0,1073741824,{description:r["a"]("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or `scrollOffset` in some other editors.")})),cursorSurroundingLinesStyle:re(new y(20,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[r["a"]("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),r["a"]("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:r["a"]("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:re(new g(21,"cursorWidth",0,0,1073741824,{markdownDescription:r["a"]("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:re(new p(22,"disableLayerHinting",!1)),disableMonospaceOptimizations:re(new p(23,"disableMonospaceOptimizations",!1)),dragAndDrop:re(new p(24,"dragAndDrop",!0,{description:r["a"]("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:re(new E),extraEditorClassName:re(new v(26,"extraEditorClassName","")),fastScrollSensitivity:re(new m(27,"fastScrollSensitivity",5,(function(e){return e<=0?5:e}),{markdownDescription:r["a"]("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:re(new D),fixedOverflowWidgets:re(new p(29,"fixedOverflowWidgets",!1)),folding:re(new p(30,"folding",!0,{description:r["a"]("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:re(new y(31,"foldingStrategy","auto",["auto","indentation"],{markdownDescription:r["a"]("foldingStrategy","Controls the strategy for computing folding ranges. `auto` uses a language specific folding strategy, if available. `indentation` uses the indentation based folding strategy.")})),foldingHighlight:re(new p(32,"foldingHighlight",!0,{description:r["a"]("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),fontFamily:re(new v(33,"fontFamily",ee.fontFamily,{description:r["a"]("fontFamily","Controls the font family.")})),fontInfo:re(new N),fontLigatures2:re(new M),fontSize:re(new L),fontWeight:re(new v(37,"fontWeight",ee.fontWeight,{enum:["normal","bold","100","200","300","400","500","600","700","800","900"],description:r["a"]("fontWeight","Controls the font weight.")})),formatOnPaste:re(new p(38,"formatOnPaste",!1,{description:r["a"]("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:re(new p(39,"formatOnType",!1,{description:r["a"]("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:re(new p(40,"glyphMargin",!0,{description:r["a"]("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:re(new I),hideCursorInOverviewRuler:re(new p(42,"hideCursorInOverviewRuler",!1,{description:r["a"]("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),highlightActiveIndentGuide:re(new p(43,"highlightActiveIndentGuide",!0,{description:r["a"]("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")})),hover:re(new T),inDiffEditor:re(new p(45,"inDiffEditor",!1)),letterSpacing:re(new m(46,"letterSpacing",ee.letterSpacing,(function(e){return m.clamp(e,-5,20)}),{description:r["a"]("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:re(new A),lineDecorationsWidth:re(new f(48,"lineDecorationsWidth",10)),lineHeight:re(new R),lineNumbers:re(new W),lineNumbersMinChars:re(new g(51,"lineNumbersMinChars",5,1,300)),links:re(new p(52,"links",!0,{description:r["a"]("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:re(new y(53,"matchBrackets","always",["always","near","never"],{description:r["a"]("matchBrackets","Highlight matching brackets.")})),minimap:re(new j),mouseStyle:re(new y(55,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:re(new m(56,"mouseWheelScrollSensitivity",1,(function(e){return 0===e?1:e}),{markdownDescription:r["a"]("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:re(new p(57,"mouseWheelZoom",!1,{markdownDescription:r["a"]("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:re(new p(58,"multiCursorMergeOverlapping",!0,{description:r["a"]("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:re(new b(59,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],F,{markdownEnumDescriptions:[r["a"]("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),r["a"]("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:r["a"]({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go To Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:re(new y(60,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[r["a"]("multiCursorPaste.spread","Each cursor pastes a single line of the text."),r["a"]("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:r["a"]("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:re(new p(61,"occurrencesHighlight",!0,{description:r["a"]("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:re(new p(62,"overviewRulerBorder",!0,{description:r["a"]("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:re(new g(63,"overviewRulerLanes",3,0,3)),parameterHints:re(new B),peekWidgetDefaultFocus:re(new y(65,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[r["a"]("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),r["a"]("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:r["a"]("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),quickSuggestions:re(new z),quickSuggestionsDelay:re(new g(67,"quickSuggestionsDelay",10,0,1073741824,{description:r["a"]("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:re(new p(68,"readOnly",!1)),renderControlCharacters:re(new p(69,"renderControlCharacters",!1,{description:r["a"]("renderControlCharacters","Controls whether the editor should render control characters.")})),renderIndentGuides:re(new p(70,"renderIndentGuides",!0,{description:r["a"]("renderIndentGuides","Controls whether the editor should render indent guides.")})),renderFinalNewline:re(new p(71,"renderFinalNewline",!0,{description:r["a"]("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:re(new y(72,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",r["a"]("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:r["a"]("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderValidationDecorations:re(new y(73,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:re(new y(74,"renderWhitespace","none",["none","boundary","selection","all"],{enumDescriptions:["",r["a"]("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),r["a"]("renderWhitespace.selection","Render whitespace characters only on selected text."),""],description:r["a"]("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:re(new g(75,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:re(new p(76,"roundedSelection",!0,{description:r["a"]("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:re(new U),scrollbar:re(new G),scrollBeyondLastColumn:re(new g(79,"scrollBeyondLastColumn",5,0,1073741824,{description:r["a"]("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:re(new p(80,"scrollBeyondLastLine",!0,{description:r["a"]("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),selectionClipboard:re(new p(81,"selectionClipboard",!0,{description:r["a"]("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:i["d"]})),selectionHighlight:re(new p(82,"selectionHighlight",!0,{description:r["a"]("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:re(new p(83,"selectOnLineNumbers",!0)),showFoldingControls:re(new y(84,"showFoldingControls","mouseover",["always","mouseover"],{description:r["a"]("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")})),showUnused:re(new p(85,"showUnused",!0,{description:r["a"]("showUnused","Controls fading out of unused code.")})),snippetSuggestions:re(new y(86,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[r["a"]("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),r["a"]("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),r["a"]("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),r["a"]("snippetSuggestions.none","Do not show snippet suggestions.")],description:r["a"]("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smoothScrolling:re(new p(87,"smoothScrolling",!1,{description:r["a"]("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:re(new g(88,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:re(new q),suggestFontSize:re(new g(90,"suggestFontSize",0,0,1e3,{markdownDescription:r["a"]("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:re(new g(91,"suggestLineHeight",0,0,1e3,{markdownDescription:r["a"]("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")})),suggestOnTriggerCharacters:re(new p(92,"suggestOnTriggerCharacters",!0,{description:r["a"]("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:re(new y(93,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[r["a"]("suggestSelection.first","Always select the first suggestion."),r["a"]("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),r["a"]("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:r["a"]("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:re(new y(94,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[r["a"]("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),r["a"]("tabCompletion.off","Disable tab completions."),r["a"]("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:r["a"]("tabCompletion","Enables tab completions.")})),useTabStops:re(new p(95,"useTabStops",!0,{description:r["a"]("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:re(new v(96,"wordSeparators",o["b"],{description:r["a"]("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:re(new y(97,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[r["a"]("wordWrap.off","Lines will never wrap."),r["a"]("wordWrap.on","Lines will wrap at the viewport width."),r["a"]({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),r["a"]({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:r["a"]({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:re(new v(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;\xa2\xb0\u2032\u2033\u2030\u2103\u3001\u3002\uff61\uff64\uffe0\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff05\u30fb\uff65\u309d\u309e\u30fd\u30fe\u30fc\u30a1\u30a3\u30a5\u30a7\u30a9\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u3041\u3043\u3045\u3047\u3049\u3063\u3083\u3085\u3087\u308e\u3095\u3096\u31f0\u31f1\u31f2\u31f3\u31f4\u31f5\u31f6\u31f7\u31f8\u31f9\u31fa\u31fb\u31fc\u31fd\u31fe\u31ff\u3005\u303b\uff67\uff68\uff69\uff6a\uff6b\uff6c\uff6d\uff6e\uff6f\uff70\u201d\u3009\u300b\u300d\u300f\u3011\u3015\uff09\uff3d\uff5d\uff63")),wordWrapBreakBeforeCharacters:re(new v(99,"wordWrapBreakBeforeCharacters","([{\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\xa3\xa5\uff04\uffe1\uffe5+\uff0b")),wordWrapColumn:re(new g(100,"wordWrapColumn",80,1,1073741824,{markdownDescription:r["a"]({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapMinified:re(new p(101,"wordWrapMinified",!0)),wrappingIndent:re(new b(102,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],X,{enumDescriptions:[r["a"]("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),r["a"]("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),r["a"]("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),r["a"]("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:r["a"]("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:re(new y(103,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[r["a"]("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),r["a"]("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:r["a"]("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:re(new k),pixelRatio:re(new V),tabFocusMode:re(new Y),layoutInfo:re(new P),wrappingInfo:re(new Z)}},"/WM3":function(e,t,n){var r=n("QuXc"),i=n("bYtY"),o=i.isFunction,a={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),i=(e.visualColorAccessPath||"itemStyle.color").split("."),a=e.get(i),s=!o(a)||a instanceof r?null:a;a&&!s||(a=e.getColorFromPalette(e.name,null,t.getSeriesCount())),n.setVisual("color",a);var l=(e.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=e.get(l);if(n.setVisual("borderColor",u),!t.isSeriesFiltered(e)){s&&n.each((function(t){n.setItemVisual(t,"color",s(e.getDataParams(t)))}));var c=function(e,t){var n=e.getItemModel(t),r=n.get(i,!0),o=n.get(l,!0);null!=r&&e.setItemVisual(t,"color",r),null!=o&&e.setItemVisual(t,"borderColor",o)};return{dataEach:n.hasItemOption?c:null}}}};e.exports=a},"/cAr":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return n.e(190).then(n.bind(null,"8m5U"))}})},"/cxE":function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return s})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return h}));var r=function(){function e(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e}),0)}}return e.prototype.emit=function(e){this.listeners.forEach((function(t){t(e)}))},e.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},e.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},e}(),i=new r;function o(e){u(e)||i.onUnexpectedError(e)}function a(e){u(e)||i.onUnexpectedExternalError(e)}function s(e){if(e instanceof Error){var t=e.name,n=e.message,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r}}return e}var l="Canceled";function u(e){return e instanceof Error&&e.name===l&&e.message===l}function c(){var e=new Error(l);return e.name=e.message,e}function d(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")}function h(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")}},"/d5a":function(e,t){var n={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},r=function(e,t){return Math.round(e.length/2)};function i(e){return{seriesType:e,modifyOutputEnd:!0,reset:function(e,t,i){var o=e.getData(),a=e.get("sampling"),s=e.coordinateSystem;if("cartesian2d"===s.type&&a){var l,u=s.getBaseAxis(),c=s.getOtherAxis(u),d=u.getExtent(),h=d[1]-d[0],f=Math.round(o.count()/h);if(f>1)"string"===typeof a?l=n[a]:"function"===typeof a&&(l=a),l&&e.setData(o.downSample(o.mapDimension(c.dim),1/f,l,r))}}}}e.exports=i},"/ezw":function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}var s=function(e){var t=e.prefixCls,n=e.className,i=e.width,s=e.style;return r["createElement"]("h3",{className:o()(t,n),style:a({width:i},s)})},l=s;function u(e){return f(e)||h(e)||d(e)||c()}function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function h(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function f(e){if(Array.isArray(e))return p(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var g=function(e){var t=function(t){var n=e.width,r=e.rows,i=void 0===r?2:r;return Array.isArray(n)?n[t]:i-1===t?n:void 0},n=e.prefixCls,i=e.className,a=e.style,s=e.rows,l=u(Array(s)).map((function(e,n){return r["createElement"]("li",{key:n,style:{width:t(n)}})}));return r["createElement"]("ul",{className:o()(n,i),style:a},l)},m=g,v=n("H84U");function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){var t,n,i=e.prefixCls,a=e.className,s=e.style,l=e.size,u=e.shape,c=o()((t={},b(t,"".concat(i,"-lg"),"large"===l),b(t,"".concat(i,"-sm"),"small"===l),t)),d=o()((n={},b(n,"".concat(i,"-circle"),"circle"===u),b(n,"".concat(i,"-square"),"square"===u),b(n,"".concat(i,"-round"),"round"===u),n)),h="number"===typeof l?{width:l,height:l,lineHeight:"".concat(l,"px")}:{};return r["createElement"]("span",{className:o()(i,a,c,d),style:y(y({},h),s)})},w=_,x=n("BGR+");function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,a=e.className,s=e.active,l=n("skeleton",i),u=Object(x["a"])(e,["prefixCls"]),c=o()(l,a,"".concat(l,"-element"),S({},"".concat(l,"-active"),s));return r["createElement"]("div",{className:c},r["createElement"](w,C({prefixCls:"".concat(l,"-avatar")},u)))};return r["createElement"](v["a"],null,t)};O.defaultProps={size:"default",shape:"circle"};var k=O;function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,a=e.className,s=e.active,l=n("skeleton",i),u=Object(x["a"])(e,["prefixCls"]),c=o()(l,a,"".concat(l,"-element"),D({},"".concat(l,"-active"),s));return r["createElement"]("div",{className:c},r["createElement"](w,E({prefixCls:"".concat(l,"-button")},u)))};return r["createElement"](v["a"],null,t)};M.defaultProps={size:"default"};var N=M;function L(){return L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,a=e.className,s=e.active,l=n("skeleton",i),u=Object(x["a"])(e,["prefixCls"]),c=o()(l,a,"".concat(l,"-element"),I({},"".concat(l,"-active"),s));return r["createElement"]("div",{className:c},r["createElement"](w,L({prefixCls:"".concat(l,"-input")},u)))};return r["createElement"](v["a"],null,t)};T.defaultProps={size:"default"};var P=T;function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(){return R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}function j(e){return j="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function F(e){return e&&"object"===j(e)?e:{}}function B(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function V(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function z(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}var W=function(e){var t=function(t){var n=t.getPrefixCls,i=t.direction,a=e.prefixCls,s=e.loading,u=e.className,c=e.children,d=e.avatar,h=e.title,f=e.paragraph,p=e.active,g=e.round,v=n("skeleton",a);if(s||!("loading"in e)){var y,b,_,x=!!d,C=!!h,S=!!f;if(x){var O=R(R({prefixCls:"".concat(v,"-avatar")},B(C,S)),F(d));b=r["createElement"]("div",{className:"".concat(v,"-header")},r["createElement"](w,O))}if(C||S){var k,E;if(C){var D=R(R({prefixCls:"".concat(v,"-title")},V(x,S)),F(h));k=r["createElement"](l,D)}if(S){var M=R(R({prefixCls:"".concat(v,"-paragraph")},z(x,C)),F(f));E=r["createElement"](m,M)}_=r["createElement"]("div",{className:"".concat(v,"-content")},k,E)}var N=o()(v,u,(y={},A(y,"".concat(v,"-with-avatar"),x),A(y,"".concat(v,"-active"),p),A(y,"".concat(v,"-rtl"),"rtl"===i),A(y,"".concat(v,"-round"),g),y));return r["createElement"]("div",{className:N},b,_)}return c};return r["createElement"](v["a"],null,t)};W.defaultProps={avatar:!1,title:!0,paragraph:!0},W.Button=N,W.Avatar=k,W.Input=P;var H=W;t["a"]=H},"/iHx":function(e,t,n){var r=n("6GrX"),i=n("IwbS"),o=["textStyle","color"],a={getTextColor:function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(o):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(e){return r.getBoundingRect(e,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};e.exports=a},"/kV6":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u})),n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return p})),n.d(t,"c",(function(){return g}));var r,i=n("/cxE"),o=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),a=new o,s=new o,l=new o;function u(e,t){var n=(65535&t)<<16>>>0;return(e|n)>>>0}function c(e,t){if(0===e)return null;var n=(65535&e)>>>0,r=(4294901760&e)>>>16;return new f(0!==r?[d(n,t),d(r,t)]:[d(n,t)])}function d(e,t){var n=!!(2048&e),r=!!(256&e),i=2===t?r:n,o=!!(1024&e),a=!!(512&e),s=2===t?n:r,l=255&e;return new h(i,o,a,s,l)}(function(){function e(e,t,n,r){void 0===n&&(n=t),void 0===r&&(r=n),a.define(e,t),s.define(e,n),l.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")})(),function(e){function t(e){return a.keyCodeToStr(e)}function n(e){return a.strToKeyCode(e)}function r(e){return s.keyCodeToStr(e)}function i(e){return l.keyCodeToStr(e)}function o(e){return s.strToKeyCode(e)||l.strToKeyCode(e)}e.toString=t,e.fromString=n,e.toUserSettingsUS=r,e.toUserSettingsGeneral=i,e.fromUserSettings=o}(r||(r={}));var h=function(){function e(e,t,n,r,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyCode=i}return e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new f([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},e}(),f=function(){function e(e){if(0===e.length)throw Object(i["b"])("parts");this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var t=0;t<this.parts.length;t++)if(!this.parts[t].equals(e.parts[t]))return!1;return!0},e}(),p=function(){function e(e,t,n,r,i,o){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=r,this.keyLabel=i,this.keyAriaLabel=o}return e}(),g=function(){function e(){}return e}()},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("o/2+"),s=n("H84U");function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e){var t=b();return function(){var n,r=_(e);if(t){var i=_(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function x(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}var C=function(e){p(n,e);var t=m(n);function n(){var e;return d(this,n),e=t.apply(this,arguments),e.renderCol=function(t){var n,i=t.getPrefixCls,s=t.direction,d=y(e),h=d.props,f=h.prefixCls,p=h.span,g=h.order,m=h.offset,v=h.push,b=h.pull,_=h.className,C=h.children,S=h.flex,O=h.style,k=w(h,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),E=i("col",f),D={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=h[e];"number"===typeof r?n.span=r:"object"===c(r)&&(n=r||{}),delete k[e],D=u(u({},D),(t={},l(t,"".concat(E,"-").concat(e,"-").concat(n.span),void 0!==n.span),l(t,"".concat(E,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),l(t,"".concat(E,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),l(t,"".concat(E,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),l(t,"".concat(E,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),l(t,"".concat(E,"-rtl"),"rtl"===s),t))}));var M=o()(E,(n={},l(n,"".concat(E,"-").concat(p),void 0!==p),l(n,"".concat(E,"-order-").concat(g),g),l(n,"".concat(E,"-offset-").concat(m),m),l(n,"".concat(E,"-push-").concat(v),v),l(n,"".concat(E,"-pull-").concat(b),b),n),_,D);return r["createElement"](a["a"].Consumer,null,(function(e){var t=e.gutter,n=u({},O);return t&&(n=u(u(u({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),S&&(n.flex=x(S)),r["createElement"]("div",u({},k,{style:n,className:M}),C)}))},e}return f(n,[{key:"render",value:function(){return r["createElement"](s["a"],null,this.renderCol)}}]),n}(r["Component"])},"/oaI":function(e,t,n){},"/ry/":function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG"),a=o.seriesModelMixin,s=i.extend({type:"series.boxplot",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:2,shadowOffsetY:2,shadowColor:"rgba(0,0,0,0.4)"}},animationEasing:"elasticOut",animationDuration:800}});r.mixin(s,a,!0);var l=s;e.exports=l},"/stD":function(e,t,n){var r=n("bYtY"),i=n("IUWy"),o=n("Kagy"),a=o.toolbox.brush;function s(e,t,n){this.model=e,this.ecModel=t,this.api=n,this._brushType,this._brushMode}s.defaultOption={show:!0,type:["rect","polygon","lineX","lineY","keep","clear"],icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.clone(a.title)};var l=s.prototype;l.render=l.updateView=function(e,t,n){var i,o,a;t.eachComponent({mainType:"brush"},(function(e){i=e.brushType,o=e.brushOption.brushMode||"single",a|=e.areas.length})),this._brushType=i,this._brushMode=o,r.each(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===o:"clear"===t?a:t===i)?"emphasis":"normal")}))},l.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return r.each(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},l.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},i.register("brush",s);var u=s;e.exports=u},"/wGt":function(e,t,n){"use strict";var r=n("q1tI"),i=n("Ff2n"),o=n("1OyB"),a=n("vuIU"),s=n("Ji7U"),l=n("md7G"),u=n("foSv"),c=n("1W/9"),d=n("rePB"),h=n("JX7q"),f=n("TSYQ"),p=n.n(f),g=n("qx4F"),m=n("4IlW");function v(e){return Array.isArray(e)?e:[e]}var y={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},b=Object.keys(y).filter((function(e){if("undefined"===typeof document)return!1;var t=document.getElementsByTagName("html")[0];return e in(t?t.style:{})}))[0],_=y[b];function w(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),n)}function x(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.attachEvent&&e.detachEvent("on".concat(t),n)}function C(e,t){var n="function"===typeof e?e(t):e;return Array.isArray(n)?2===n.length?n:[n[0],n[1]]:[n]}var S=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},O=!("undefined"!==typeof window&&window.document&&window.document.createElement),k=function e(t,n,r,i){if(!n||n===document||n instanceof Document)return!1;if(n===t.parentNode)return!0;var o=Math.max(Math.abs(r),Math.abs(i))===Math.abs(i),a=Math.max(Math.abs(r),Math.abs(i))===Math.abs(r),s=n.scrollHeight-n.clientHeight,l=n.scrollWidth-n.clientWidth,u=document.defaultView.getComputedStyle(n),c="auto"===u.overflowY||"scroll"===u.overflowY,d="auto"===u.overflowX||"scroll"===u.overflowX,h=s&&c,f=l&&d;return!!(o&&(!h||h&&(n.scrollTop>=s&&i<0||n.scrollTop<=0&&i>0))||a&&(!f||f&&(n.scrollLeft>=l&&r<0||n.scrollLeft<=0&&r>0)))&&e(t,n.parentNode,r,i)};function E(e){var t=D();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function D(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var M={},N=function(){var e=function(e){Object(s["a"])(n,e);var t=E(n);function n(e){var r;return Object(o["a"])(this,n),r=t.call(this,e),r.domFocus=function(){r.dom&&r.dom.focus()},r.removeStartHandler=function(e){e.touches.length>1||(r.startPos={x:e.touches[0].clientX,y:e.touches[0].clientY})},r.removeMoveHandler=function(e){if(!(e.changedTouches.length>1)){var t=e.currentTarget,n=e.changedTouches[0].clientX-r.startPos.x,i=e.changedTouches[0].clientY-r.startPos.y;(t===r.maskDom||t===r.handlerDom||t===r.contentDom&&k(t,e.target,n,i))&&e.cancelable&&e.preventDefault()}},r.transitionEnd=function(e){var t=e.target;x(t,_,r.transitionEnd),t.style.transition=""},r.onKeyDown=function(e){if(e.keyCode===m["a"].ESC){var t=r.props.onClose;e.stopPropagation(),t&&t(e)}},r.onWrapperTransitionEnd=function(e){var t=r.props,n=t.open,i=t.afterVisibleChange;e.target===r.contentWrapper&&e.propertyName.match(/transform$/)&&(r.dom.style.transition="",!n&&r.getCurrentDrawerSome()&&(document.body.style.overflowX="",r.maskDom&&(r.maskDom.style.left="",r.maskDom.style.width="")),i&&i(!!n))},r.openLevelTransition=function(){var e=r.props,t=e.open,n=e.width,i=e.height,o=r.getHorizontalBoolAndPlacementName(),a=o.isHorizontal,s=o.placementName,l=r.contentDom?r.contentDom.getBoundingClientRect()[a?"width":"height"]:0,u=(a?n:i)||l;r.setLevelAndScrolling(t,s,u)},r.setLevelTransform=function(e,t,n,i){var o=r.props,a=o.placement,s=o.levelMove,l=o.duration,u=o.ease,c=o.showMask;r.levelDom.forEach((function(o){o.style.transition="transform ".concat(l," ").concat(u),w(o,_,r.transitionEnd);var d=e?n:0;if(s){var h=C(s,{target:o,open:e});d=e?h[0]:h[1]||0}var f="number"===typeof d?"".concat(d,"px"):d,p="left"===a||"top"===a?f:"-".concat(f);p=c&&"right"===a&&i?"calc(".concat(p," + ").concat(i,"px)"):p,o.style.transform=d?"".concat(t,"(").concat(p,")"):""}))},r.setLevelAndScrolling=function(e,t,n){var i=r.props.onChange;if(!O){var o=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(g["a"])(!0):0;r.setLevelTransform(e,t,n,o),r.toggleScrollingToDrawerAndBody(o)}i&&i(e)},r.toggleScrollingToDrawerAndBody=function(e){var t=r.props,n=t.getOpenCount,i=t.getContainer,o=t.showMask,a=t.open,s=i&&i(),l=n&&n();if(s&&s.parentNode===document.body&&o){var u=["touchstart"],c=[document.body,r.maskDom,r.handlerDom,r.contentDom];a&&"hidden"!==document.body.style.overflow?(e&&r.addScrollingEffect(e),1===l&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",c.forEach((function(e,t){e&&w(e,u[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)}))):r.getCurrentDrawerSome()&&(l||(document.body.style.overflow=""),document.body.style.touchAction="",e&&r.remScrollingEffect(e),c.forEach((function(e,t){e&&x(e,u[t]||"touchmove",t?r.removeMoveHandler:r.removeStartHandler,r.passive)})))}},r.addScrollingEffect=function(e){var t=r.props,n=t.placement,i=t.duration,o=t.ease,a=t.getOpenCount,s=t.switchScrollingEffect,l=a&&a();1===l&&s();var u="width ".concat(i," ").concat(o),c="transform ".concat(i," ").concat(o);switch(r.dom.style.transition="none",n){case"right":r.dom.style.transform="translateX(-".concat(e,"px)");break;case"top":case"bottom":r.dom.style.width="calc(100% - ".concat(e,"px)"),r.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(r.timeout),r.timeout=setTimeout((function(){r.dom&&(r.dom.style.transition="".concat(c,",").concat(u),r.dom.style.width="",r.dom.style.transform="")}))},r.remScrollingEffect=function(e){var t,n=r.props,i=n.placement,o=n.duration,a=n.ease,s=n.getOpenCount,l=n.switchScrollingEffect,u=s&&s();u||l(!0),b&&(document.body.style.overflowX="hidden"),r.dom.style.transition="none";var c="width ".concat(o," ").concat(a),d="transform ".concat(o," ").concat(a);switch(i){case"left":r.dom.style.width="100%",c="width 0s ".concat(a," ").concat(o);break;case"right":r.dom.style.transform="translateX(".concat(e,"px)"),r.dom.style.width="100%",c="width 0s ".concat(a," ").concat(o),r.maskDom&&(r.maskDom.style.left="-".concat(e,"px"),r.maskDom.style.width="calc(100% + ".concat(e,"px)"));break;case"top":case"bottom":r.dom.style.width="calc(100% + ".concat(e,"px)"),r.dom.style.height="100%",r.dom.style.transform="translateZ(0)",t="height 0s ".concat(a," ").concat(o);break;default:break}clearTimeout(r.timeout),r.timeout=setTimeout((function(){r.dom&&(r.dom.style.transition="".concat(d,",").concat(t?"".concat(t,","):"").concat(c),r.dom.style.transform="",r.dom.style.width="",r.dom.style.height="")}))},r.getCurrentDrawerSome=function(){return!Object.keys(M).some((function(e){return M[e]}))},r.getLevelDom=function(e){var t=e.level,n=e.getContainer;if(!O){var i=n&&n(),o=i?i.parentNode:null;if(r.levelDom=[],"all"===t){var a=o?Array.prototype.slice.call(o.children):[];a.forEach((function(e){"SCRIPT"!==e.nodeName&&"STYLE"!==e.nodeName&&"LINK"!==e.nodeName&&e!==i&&r.levelDom.push(e)}))}else t&&v(t).forEach((function(e){document.querySelectorAll(e).forEach((function(e){r.levelDom.push(e)}))}))}},r.getHorizontalBoolAndPlacementName=function(){var e=r.props.placement,t="left"===e||"right"===e,n="translate".concat(t?"X":"Y");return{isHorizontal:t,placementName:n}},r.state={_self:Object(h["a"])(r)},r}return Object(a["a"])(n,[{key:"componentDidMount",value:function(){var e=this;if(!O){var t=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return t=!0,null}}))}catch(r){}this.passive=!!t&&{passive:!1}}var n=this.props.open;this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),n&&(M[this.drawerId]=n,this.openLevelTransition(),this.forceUpdate((function(){e.domFocus()})))}},{key:"componentDidUpdate",value:function(e){var t=this.props.open;t!==e.open&&(t&&this.domFocus(),M[this.drawerId]=!!t,this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.getOpenCount,n=e.open,r=e.switchScrollingEffect,i="function"===typeof t&&t();delete M[this.drawerId],n&&(this.setLevelTransform(!1),document.body.style.touchAction=""),i||(document.body.style.overflow="",r(!0))}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.className,a=n.children,s=n.style,l=n.width,u=n.height,c=(n.defaultOpen,n.open),h=n.prefixCls,f=n.placement,g=(n.level,n.levelMove,n.ease,n.duration,n.getContainer,n.handler),m=(n.onChange,n.afterVisibleChange,n.showMask),v=n.maskClosable,y=n.maskStyle,b=n.onClose,_=n.onHandleClick,w=n.keyboard,x=(n.getOpenCount,n.switchScrollingEffect,Object(i["a"])(n,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount","switchScrollingEffect"])),C=!!this.dom&&c,O=p()(h,(e={},Object(d["a"])(e,"".concat(h,"-").concat(f),!0),Object(d["a"])(e,"".concat(h,"-open"),C),Object(d["a"])(e,o||"",!!o),Object(d["a"])(e,"no-mask",!m),e)),k=this.getHorizontalBoolAndPlacementName(),E=k.placementName,D="left"===f||"top"===f?"-100%":"100%",M=C?"":"".concat(E,"(").concat(D,")"),N=g&&r["cloneElement"](g,{onClick:function(e){g.props.onClick&&g.props.onClick(),_&&_(e)},ref:function(e){t.handlerDom=e}});return r["createElement"]("div",Object.assign({},x,{tabIndex:-1,className:O,style:s,ref:function(e){t.dom=e},onKeyDown:C&&w?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),m&&r["createElement"]("div",{className:"".concat(h,"-mask"),onClick:v?b:void 0,style:y,ref:function(e){t.maskDom=e}}),r["createElement"]("div",{className:"".concat(h,"-content-wrapper"),style:{transform:M,msTransform:M,width:S(l)?"".concat(l,"px"):l,height:S(u)?"".concat(u,"px"):u},ref:function(e){t.contentWrapper=e}},r["createElement"]("div",{className:"".concat(h,"-content"),ref:function(e){t.contentDom=e},onTouchStart:C&&m?this.removeStartHandler:void 0,onTouchMove:C&&m?this.removeMoveHandler:void 0},a),N))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t._self,i={prevProps:e};if(void 0!==n){var o=e.placement,a=e.level;o!==n.placement&&(r.contentDom=null),a!==n.level&&r.getLevelDom(e)}return i}}]),n}(r["Component"]);return e.defaultProps={switchScrollingEffect:function(){}},e}(),L=N;function I(e){var t=T();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var P=function(){var e=function(e){Object(s["a"])(n,e);var t=I(n);function n(e){var r;Object(o["a"])(this,n),r=t.call(this,e),r.onHandleClick=function(e){var t=r.props,n=t.onHandleClick,i=t.open;if(n&&n(e),"undefined"===typeof i){var o=r.state.open;r.setState({open:!o})}},r.onClose=function(e){var t=r.props,n=t.onClose,i=t.open;n&&n(e),"undefined"===typeof i&&r.setState({open:!1})};var i="undefined"!==typeof e.open?e.open:!!e.defaultOpen;return r.state={open:i},"onMaskClick"in e&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),r}return Object(a["a"])(n,[{key:"render",value:function(){var e=this,t=this.props,n=(t.defaultOpen,t.getContainer),o=t.wrapperClassName,a=t.forceRender,s=t.handler,l=Object(i["a"])(t,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),u=this.state.open;if(!n)return r["createElement"]("div",{className:o,ref:function(t){e.dom=t}},r["createElement"](L,Object.assign({},l,{open:u,handler:s,getContainer:function(){return e.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var d=!!s||a;return r["createElement"](c["a"],{visible:u,forceRender:d,getContainer:n,wrapperClassName:o},(function(t){var n=t.visible,o=t.afterClose,a=Object(i["a"])(t,["visible","afterClose"]);return r["createElement"](L,Object.assign({},l,a,{open:void 0!==n?n:u,afterVisibleChange:void 0!==o?o:l.afterVisibleChange,handler:s,onClose:e.onClose,onHandleClick:e.onHandleClick}))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"undefined"!==typeof n&&e.open!==n.open&&(r.open=e.open),r}}]),n}(r["Component"]);return e.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r["createElement"]("div",{className:"drawer-handle"},r["createElement"]("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1},e}(),A=P,R=A,j=n("V/uB"),F=n.n(j),B=n("BGR+"),V=n("H84U"),z=n("CWQg");function W(e){return W="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}function K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function q(e,t,n){return t&&G(e.prototype,t),n&&G(e,n),e}function Y(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}function X(e,t){return X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},X(e,t)}function Z(e){var t=J();return function(){var n,r=ee(e);if(t){var i=ee(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Q(this,n)}}function Q(e,t){return!t||"object"!==W(t)&&"function"!==typeof t?$(e):t}function $(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ee(e){return ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ee(e)}var te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},ne=r["createContext"](null),re=(Object(z["a"])("top","right","bottom","left"),function(e){Y(n,e);var t=Z(n);function n(){var e;return K(this,n),e=t.apply(this,arguments),e.state={push:!1},e.push=function(){e.setState({push:!0})},e.pull=function(){e.setState({push:!1})},e.onDestroyTransitionEnd=function(){var t=e.getDestroyOnClose();t&&(e.props.visible||(e.destroyClose=!0,e.forceUpdate()))},e.getDestroyOnClose=function(){return e.props.destroyOnClose&&!e.props.visible},e.getPushTransform=function(e){return"left"===e||"right"===e?"translateX(".concat("left"===e?180:-180,"px)"):"top"===e||"bottom"===e?"translateY(".concat("top"===e?180:-180,"px)"):void 0},e.getRcDrawerStyle=function(){var t=e.props,n=t.zIndex,r=t.placement,i=t.mask,o=t.style,a=e.state.push,s=i?{}:e.getOffsetStyle();return U(U({zIndex:n,transform:a?e.getPushTransform(r):void 0},s),o)},e.renderBody=function(){var t=e.props,n=t.bodyStyle,i=t.drawerStyle,o=t.prefixCls,a=t.visible;if(e.destroyClose&&!a)return null;e.destroyClose=!1;var s={},l=e.getDestroyOnClose();return l&&(s.opacity=0,s.transition="opacity .3s"),r["createElement"]("div",{className:"".concat(o,"-wrapper-body"),style:U(U({},s),i),onTransitionEnd:e.onDestroyTransitionEnd},e.renderHeader(),r["createElement"]("div",{className:"".concat(o,"-body"),style:n},e.props.children),e.renderFooter())},e.renderProvider=function(t){return e.parentDrawer=t,r["createElement"](V["a"],null,(function(t){var n=t.getPopupContainer,i=t.getPrefixCls,o=e.props,a=o.prefixCls,s=o.placement,l=o.className,u=o.mask,c=o.direction,d=o.visible,h=te(o,["prefixCls","placement","className","mask","direction","visible"]),f=i("select",a),g=p()(l,H({"no-mask":!u},"".concat(f,"-rtl"),"rtl"===c)),m=u?e.getOffsetStyle():{};return r["createElement"](ne.Provider,{value:$(e)},r["createElement"](R,U({handler:!1},Object(B["a"])(h,["zIndex","style","closable","destroyOnClose","drawerStyle","headerStyle","bodyStyle","footerStyle","footer","locale","title","push","visible","getPopupContainer","rootPrefixCls","getPrefixCls","renderEmpty","csp","pageHeader","autoInsertSpaceInButton","width","height","dropdownMatchSelectWidth"]),{getContainer:void 0===h.getContainer&&n?function(){return n(document.body)}:h.getContainer},m,{prefixCls:f,open:d,showMask:u,placement:s,style:e.getRcDrawerStyle(),className:g}),e.renderBody()))}))},e}return q(n,[{key:"componentDidMount",value:function(){var e=this.props.visible;e&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(e){var t=this.props.visible;e.visible!==t&&this.parentDrawer&&(t?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var e=this.props,t=e.placement,n=e.width,r=e.height,i=e.visible,o=e.mask;if(!i&&!o)return{};var a={};return"left"===t||"right"===t?a.width=n:a.height=r,a}},{key:"renderHeader",value:function(){var e=this.props,t=e.title,n=e.prefixCls,i=e.closable,o=e.headerStyle;if(!t&&!i)return null;var a="".concat(n,t?"-header":"-header-no-title");return r["createElement"]("div",{className:a,style:o},t&&r["createElement"]("div",{className:"".concat(n,"-title")},t),i&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.footerStyle,i=e.prefixCls;if(!t)return null;var o="".concat(i,"-footer");return r["createElement"]("div",{className:o,style:n},t)}},{key:"renderCloseIcon",value:function(){var e=this.props,t=e.closable,n=e.prefixCls,i=e.onClose;return t&&r["createElement"]("button",{onClick:i,"aria-label":"Close",className:"".concat(n,"-close"),style:{"--scroll-bar":"".concat(Object(g["a"])(),"px")}},r["createElement"](F.a,null))}},{key:"render",value:function(){return r["createElement"](ne.Consumer,null,this.renderProvider)}}]),n}(r["Component"]));re.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0};t["a"]=Object(V["c"])({prefixCls:"drawer"})(re)},"/y7N":function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6GrX"),a=n("7aKB"),s=n("Fofx"),l=n("aX7z"),u=n("+rIm");function c(e){var t,n=e.get("type"),r=e.getModel(n+"Style");return"line"===n?(t=r.getLineStyle(),t.fill=null):"shadow"===n&&(t=r.getAreaStyle(),t.stroke=null),t}function d(e,t,n,r,i){var s=n.get("value"),l=f(s,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),u=n.getModel("label"),c=a.normalizeCssArray(u.get("padding")||0),d=u.getFont(),p=o.getBoundingRect(l,d),g=i.position,m=p.width+c[1]+c[3],v=p.height+c[0]+c[2],y=i.align;"right"===y&&(g[0]-=m),"center"===y&&(g[0]-=m/2);var b=i.verticalAlign;"bottom"===b&&(g[1]-=v),"middle"===b&&(g[1]-=v/2),h(g,m,v,r);var _=u.get("backgroundColor");_&&"auto"!==_||(_=t.get("axisLine.lineStyle.color")),e.label={shape:{x:0,y:0,width:m,height:v,r:u.get("borderRadius")},position:g.slice(),style:{text:l,textFont:d,textFill:u.getTextColor(),textPosition:"inside",textPadding:c,fill:_,stroke:u.get("borderColor")||"transparent",lineWidth:u.get("borderWidth")||0,shadowBlur:u.get("shadowBlur"),shadowColor:u.get("shadowColor"),shadowOffsetX:u.get("shadowOffsetX"),shadowOffsetY:u.get("shadowOffsetY")},z2:10}}function h(e,t,n,r){var i=r.getWidth(),o=r.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+n,o)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function f(e,t,n,i,o){e=t.scale.parse(e);var a=t.scale.getLabel(e,{precision:o.precision}),s=o.formatter;if(s){var u={value:l.getAxisRawValue(t,e),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};r.each(i,(function(e){var t=n.getSeriesByIndex(e.seriesIndex),r=e.dataIndexInside,i=t&&t.getDataParams(r);i&&u.seriesData.push(i)})),r.isString(s)?a=s.replace("{value}",a):r.isFunction(s)&&(a=s(u))}return a}function p(e,t,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),i.applyTransform([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function g(e,t,n,r,i,o){var a=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get("label.margin"),d(t,r,i,o,{position:p(r.axis,e,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function m(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function v(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function y(e,t,n,r,i,o){return{cx:e,cy:t,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}t.buildElStyle=c,t.buildLabelElOption=d,t.getValueLabel=f,t.getTransformedPosition=p,t.buildCartesianSingleLabelElOption=g,t.makeLineShape=m,t.makeRectShape=v,t.makeSectorShape=y},"/zsF":function(e,t,n){"use strict";n("cIOH"),n("bE4E")},"0/Rx":function(e,t){function n(e){return{seriesType:e,reset:function(e,t){var n=t.findComponents({mainType:"legend"});if(n&&n.length){var r=e.getData();r.filterSelf((function(e){for(var t=r.getName(e),i=0;i<n.length;i++)if(!n[i].isSelected(t))return!1;return!0}))}}}}e.exports=n},"0/Sa":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("aokT"),i=function(){function e(){}return e.insert=function(e,t){return{range:new r["a"](e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}},e.delete=function(e){return{range:e,text:null}},e.replace=function(e,t){return{range:e,text:t}},e.replaceMove=function(e,t){return{range:e,text:t,forceMoveMarkers:!0}},e}()},"01d+":function(e,t,n){var r=n("bYtY"),i=r.each,o=n("HF/U"),a=o.simpleLayout,s=o.simpleLayoutEdge;function l(e,t){e.eachSeriesByType("graph",(function(e){var t=e.get("layout"),n=e.coordinateSystem;if(n&&"view"!==n.type){var r=e.getData(),o=[];i(n.dimensions,(function(e){o=o.concat(r.mapDimension(e,!0))}));for(var l=0;l<r.count();l++){for(var u=[],c=!1,d=0;d<o.length;d++){var h=r.get(o[d],l);isNaN(h)||(c=!0),u.push(h)}c?r.setItemLayout(l,n.dataToPoint(u)):r.setItemLayout(l,[NaN,NaN])}s(r.graph)}else t&&"none"!==t||a(e)}))}e.exports=l},"03A+":function(e,t,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"06DH":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("Kagy"),a=n("IUWy"),s=o.toolbox.magicType,l="__ec_magicType_stack__";function u(e){this.model=e}u.defaultOption={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:i.clone(s.title),option:{},seriesIndex:{}};var c=u.prototype;c.getIcons=function(){var e=this.model,t=e.get("icon"),n={};return i.each(e.get("type"),(function(e){t[e]&&(n[e]=t[e])})),n};var d={line:function(e,t,n,r){if("bar"===e)return i.merge({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.line")||{},!0)},bar:function(e,t,n,r){if("line"===e)return i.merge({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get("option.bar")||{},!0)},stack:function(e,t,n,r){var o=n.get("stack")===l;if("line"===e||"bar"===e)return r.setIconStatus("stack",o?"normal":"emphasis"),i.merge({id:t,stack:o?"":l},r.get("option.stack")||{},!0)}},h=[["line","bar"],["stack"]];c.onclick=function(e,t,n){var r=this.model,o=r.get("seriesIndex."+n);if(d[n]){var a,u={series:[]},c=function(t){var o=t.subType,a=t.id,s=d[n](o,a,t,r);s&&(i.defaults(s,t.option),u.series.push(s));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var c=l.getAxesByScale("ordinal")[0];if(c){var h=c.dim,f=h+"Axis",p=e.queryComponents({mainType:f,index:t.get(name+"Index"),id:t.get(name+"Id")})[0],g=p.componentIndex;u[f]=u[f]||[];for(var m=0;m<=g;m++)u[f][g]=u[f][g]||{};u[f][g].boundaryGap="bar"===n}}};if(i.each(h,(function(e){i.indexOf(e,n)>=0&&i.each(e,(function(e){r.setIconStatus(e,"normal")}))})),r.setIconStatus(n,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},c),"stack"===n){var f=u.series&&u.series[0]&&u.series[0].stack===l;a=f?i.merge({stack:s.title.tiled},s.title):i.clone(s.title)}t.dispatchAction({type:"changeMagicType",currentType:n,newOption:u,newTitle:a,featureName:"magicType"})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(e,t){t.mergeOption(e.newOption)})),a.register("magicType",u);var f=u;e.exports=f},"06Qe":function(e,t,n){var r,i=n("ItGF"),o="urn:schemas-microsoft-com:vml",a="undefined"===typeof window?null:window,s=!1,l=a&&a.document;function u(e){return r(e)}if(l&&!i.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),r=function(e){return l.createElement("<zrvml:"+e+' class="zrvml">')}}catch(d){r=function(e){return l.createElement("<"+e+' xmlns="'+o+'" class="zrvml">')}}function c(){if(!s&&l){s=!0;var e=l.styleSheets;e.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):e[0].addRule(".zrvml","behavior:url(#default#VML)")}}t.doc=l,t.createNode=u,t.initVML=c},"09Wf":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n("CWQg"),i=Object(r["a"])("success","processing","error","default","warning"),o=Object(r["a"])("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"09fa":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a}));var r,i=n("Cg/j"),o=Object(i["c"])("logService");(function(e){e[e["Trace"]=0]="Trace",e[e["Debug"]=1]="Debug",e[e["Info"]=2]="Info",e[e["Warning"]=3]="Warning",e[e["Error"]=4]="Error",e[e["Critical"]=5]="Critical",e[e["Off"]=6]="Off"})(r||(r={}));var a=function(){function e(){}return e.prototype.getLevel=function(){return r.Info},e.prototype.trace=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},e.prototype.dispose=function(){},e}()},"0Bwj":function(e,t,n){var r=n("T4UG"),i=n("I3/A"),o=n("7aKB"),a=o.encodeHTML,s=n("Qxkt"),l=n("Tghj"),u=(l.__DEV__,r.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(e,t){for(var n=e.edges||e.links,r=e.data||e.nodes,o=e.levels,a=this.levelModels={},l=0;l<o.length;l++)null!=o[l].depth&&o[l].depth>=0&&(a[o[l].depth]=new s(o[l],this,t));if(r&&n){var u=i(r,n,this,!0,c);return u.data}function c(e,t){e.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,r=n.getData().getItemLayout(t).depth,i=n.levelModels[r];return i||this.parentModel})),e})),t.wrapMethod("getItemModel",(function(e,t){return e.customizeGetParent((function(e){var n=this.parentModel,r=n.getGraph().getEdgeByIndex(t),i=r.node1.getLayout().depth,o=n.levelModels[i];return o||this.parentModel})),e}))}},setNodePosition:function(e,t){var n=this.option.data[e];n.localX=t[0],n.localY=t[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(e,t,n){if("edge"===n){var r=this.getDataParams(e,n),i=r.data,o=i.source+" -- "+i.target;return r.value&&(o+=" : "+r.value),a(o)}if("node"===n){var s=this.getGraph().getNodeByIndex(e),l=s.getLayout().value,c=this.getDataParams(e,n).data.name;if(l)o=c+" : "+l;return a(o)}return u.superCall(this,"formatTooltip",e,t)},optionUpdated:function(){var e=this.option;!0===e.focusNodeAdjacency&&(e.focusNodeAdjacency="allEdges")},getDataParams:function(e,t){var n=u.superCall(this,"getDataParams",e,t);if(null==n.value&&"node"===t){var r=this.getGraph().getNodeByIndex(e),i=r.getLayout().value;n.value=i}return n},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",layout:null,left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,focusNodeAdjacency:!1,layoutIterations:32,label:{show:!0,position:"right",color:"#000",fontSize:12},levels:[],nodeAlign:"justify",itemStyle:{borderWidth:1,borderColor:"#333"},lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},animationEasing:"linear",animationDuration:1e3}})),c=u;e.exports=c},"0Cz8":function(e,t,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},"0F8K":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"b",(function(){return f}));var r=!("undefined"===typeof window||!window.document||!window.document.createElement);function i(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e,t){var n={animationend:i("Animation","AnimationEnd"),transitionend:i("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var a=o(r,"undefined"!==typeof window?window:{}),s={};r&&(s=document.createElement("div").style);var l={};function u(e){if(l[e])return l[e];var t=a[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in s)return l[e]=t[o],l[e]}return""}var c=u("animationend"),d=u("transitionend"),h=!(!c||!d);function f(e,t){if(!e)return null;if("object"===typeof e){var n=t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}));return e[n]}return e+"-"+t}},"0HBW":function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t){t.update="updateView",r.registerAction(t,(function(t,n){var r={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var o=n.coordinateSystem;i.each(o.regions,(function(e){r[e.name]=n.isSelected(e.name)||!1}))})),{selected:r,name:t.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(e,t,n){var r=n("bYtY"),i=n("+TT/"),o=n("OELB"),a=n("IDmD"),s=864e5;function l(e,t,n){this._model=e}function u(e,t,n,r){var i=n.calendarModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[e](r):null}l.prototype={constructor:l,type:"calendar",dimensions:["time","value"],getDimensionsInfo:function(){return[{name:"time",type:"time"},"value"]},getRangeInfo:function(){return this._rangeInfo},getModel:function(){return this._model},getRect:function(){return this._rect},getCellWidth:function(){return this._sw},getCellHeight:function(){return this._sh},getOrient:function(){return this._orient},getFirstDayOfWeek:function(){return this._firstDayOfWeek},getDateInfo:function(e){e=o.parseDate(e);var t=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var r=e.getDate();r=r<10?"0"+r:r;var i=e.getDay();return i=Math.abs((i+7-this.getFirstDayOfWeek())%7),{y:t,m:n,d:r,day:i,time:e.getTime(),formatedDate:t+"-"+n+"-"+r,date:e}},getNextNDay:function(e,t){return t=t||0,0===t||(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+t)),this.getDateInfo(e)},update:function(e,t){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];r.each([0,1],(function(e){d(a,e)&&(s[o[e]]=a[e]*l[e])}));var u={width:t.getWidth(),height:t.getHeight()},c=this._rect=i.getLayoutRect(s,u);function d(e,t){return null!=e[t]&&"auto"!==e[t]}r.each([0,1],(function(e){d(a,e)||(a[e]=c[o[e]]/l[e])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(e,t){r.isArray(e)&&(e=e[0]),null==t&&(t=!0);var n=this.getDateInfo(e),i=this._rangeInfo,o=n.formatedDate;if(t&&!(n.time>=i.start.time&&n.time<i.end.time+s))return[NaN,NaN];var a=n.day,l=this._getRangeInfo([i.start.time,o]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},pointToData:function(e){var t=this.pointToDate(e);return t&&t.time},dataToRect:function(e,t){var n=this.dataToPoint(e,t);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},pointToDate:function(e){var t=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,t-1,r):this._getDateByWeeksAndDay(t,n-1,r)},convertToPixel:r.curry(u,"dataToPoint"),convertFromPixel:r.curry(u,"pointToData"),_initRangeOption:function(){var e=this._model.get("range"),t=e;if(r.isArray(t)&&1===t.length&&(t=t[0]),/^\d{4}$/.test(t)&&(e=[t+"-01-01",t+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(t)){var n=this.getDateInfo(t),i=n.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[n.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(t)&&(e=[t,t]);var a=this._getRangeInfo(e);return a.start.time>a.end.time&&e.reverse(),e},_getRangeInfo:function(e){var t;e=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],e[0].time>e[1].time&&(t=!0,e.reverse());var n=Math.floor(e[1].time/s)-Math.floor(e[0].time/s)+1,r=new Date(e[0].time),i=r.getDate(),o=e[1].date.getDate();r.setDate(i+n-1);var a=r.getDate();if(a!==o){var l=r.getTime()-e[1].time>0?1:-1;while((a=r.getDate())!==o&&(r.getTime()-e[1].time)*l>0)n-=l,r.setDate(a-l)}var u=Math.floor((n+e[0].day+6)/7),c=t?1-u:u-1;return t&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:n,weeks:u,nthWeek:c,fweek:e[0].day,lweek:e[1].day}},_getDateByWeeksAndDay:function(e,t,n){var r=this._getRangeInfo(n);if(e>r.weeks||0===e&&t<r.fweek||e===r.weeks&&t>r.lweek)return!1;var i=7*(e-1)-r.fweek+t,o=new Date(r.start.time);return o.setDate(r.start.d+i),this.getDateInfo(o)}},l.dimensions=l.prototype.dimensions,l.getDimensionsInfo=l.prototype.getDimensionsInfo,l.create=function(e,t){var n=[];return e.eachComponent("calendar",(function(r){var i=new l(r,e,t);n.push(i),r.coordinateSystem=i})),e.eachSeries((function(e){"calendar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("calendarIndex")||0])})),n},a.register("calendar",l);var c=l;e.exports=c},"0JNc":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return u}));var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function i(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,i=r;n<i.length;n++){var o=i[n];e.indexOf(o)>=0||(t+="\\"+o)}return t+="\\s]+)",new RegExp(t,"g")}var o=i();function a(e){var t=o;if(e&&e instanceof RegExp)if(e.global)t=e;else{var n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}function s(e,t,n,r){var i,o=e-1-r,a=n.lastIndexOf(" ",o-1)+1;t.lastIndex=a;while(i=t.exec(n)){var s=i.index||0;if(s<=o&&t.lastIndex>=o)return{word:i[0],startColumn:r+1+s,endColumn:r+1+t.lastIndex}}return null}function l(e,t,n,r){var i,o=e-1-r;t.lastIndex=0;while(i=t.exec(n)){var a=i.index||0;if(a>o)return null;if(t.lastIndex>=o)return{word:i[0],startColumn:r+1+a,endColumn:r+1+t.lastIndex}}return null}function u(e,t,n,r){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var o=i[0].indexOf(" ")>=0?l(e,t,n,r):s(e,t,n,r);return t.lastIndex=0,o}},"0JQy":function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="["+n+"]",u="["+a+"]",c="\\ud83c[\\udffb-\\udfff]",d="(?:"+u+"|"+c+")",h="[^"+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",m=d+"?",v="["+s+"]?",y="(?:"+g+"(?:"+[h,f,p].join("|")+")"+v+m+")*",b=v+m+y,_="(?:"+[h+u+"?",u,f,p,l].join("|")+")",w=RegExp(c+"(?="+c+")|"+_+b,"g");function x(e){return e.match(w)||[]}e.exports=x},"0NbB":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CaretDownOutlined";t["a"]=r["forwardRef"](s)},"0Owb":function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,"a",(function(){return r}))},"0V0F":function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.each;function a(e){var t=i();e.eachSeries((function(e){var n=e.get("stack");if(n){var r=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),t.each(s)}function s(e){o(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,l=a.map(o,(function(o,l,u){var c,d,h=a.get(t.stackedDimension,u);if(isNaN(h))return i;s?d=a.getRawIndex(u):c=a.get(t.stackedByDimension,u);for(var f=NaN,p=n-1;p>=0;p--){var g=e[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var m=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&m>0||h<=0&&m<0){h+=m,f=m;break}}}return r[0]=h,r[1]=f,r}));a.hostModel.setData(l),t.data=l}))}e.exports=a},"0XgM":function(e,t,n){},"0fbx":function(e,t,n){},"0o9m":function(e,t,n){var r=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var i=n("kDyi"),o=n("bLfw");r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,i),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},"0oIH":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return n.e(180).then(n.bind(null,"Eg73"))}})},"0qV/":function(e,t,n){var r=n("ProS");r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"0s+r":function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("y23F"),a=n("H6uX"),s=n("YH21"),l=n("C0SR"),u="silent";function c(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:d}}function d(){s.stop(this.event)}function h(){}h.prototype.dispose=function(){};var f=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],p=function(e,t,n,r){a.call(this),this.storage=e,this.painter=t,this.painterRoot=r,n=n||new h,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,o.call(this),this.setHandlerProxy(n)};function g(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){var r,i=e;while(i){if(i.clipPath&&!i.clipPath.contain(t,n))return!1;i.silent&&(r=!0),i=i.parent}return!r||u}return!1}function m(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}p.prototype={constructor:p,setHandlerProxy:function(e){this.proxy&&this.proxy.dispose(),e&&(r.each(f,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},mousemove:function(e){var t=e.zrX,n=e.zrY,r=m(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(i=this.findHover(i.x,i.y),o=i.target);var a=this._hovered=r?{x:t,y:n}:this.findHover(t,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(a,"mousemove",e),s&&s!==o&&this.dispatchToElement(a,"mouseover",e)},mouseout:function(e){var t=e.zrEventControl,n=e.zrIsToLocalDOM;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&!n&&this.trigger("globalout",{type:"globalout",event:e})},resize:function(e){this._hovered={}},dispatch:function(e,t){var n=this[e];n&&n.call(this,t)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},dispatchToElement:function(e,t,n){e=e||{};var r=e.target;if(!r||!r.silent){var i="on"+t,o=c(t,e,n);while(r)if(r[i]&&(o.cancelBubble=r[i].call(r,o)),r.trigger(t,o),r=r.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer((function(e){"function"===typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},findHover:function(e,t,n){for(var r=this.storage.getDisplayList(),i={x:e,y:t},o=r.length-1;o>=0;o--){var a;if(r[o]!==n&&!r[o].ignore&&(a=g(r[o],e,t))&&(!i.topTarget&&(i.topTarget=r[o]),a!==u)){i.target=r[o];break}}return i},processGesture:function(e,t){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===t&&n.clear();var r=n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if("end"===t&&n.clear(),r){var i=r.type;e.gestureEvent=i,this.dispatchToElement({target:r.target},i,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){p.prototype[e]=function(t){var n,r,o=t.zrX,a=t.zrY,s=m(this,o,a);if("mouseup"===e&&s||(n=this.findHover(o,a),r=n.target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||i.dist(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,e,t)}})),r.mixin(p,a),r.mixin(p,o);var v=p;e.exports=v},"0ycA":function(e,t){function n(){return[]}e.exports=n},"10cm":function(e,t,n){var r=n("ProS"),i=n("2B6p"),o=i.updateCenterAndZoom;n("0qV/");var a={type:"graphRoam",event:"graphRoam",update:"none"};r.registerAction(a,(function(e,t){t.eachComponent({mainType:"series",query:e},(function(t){var n=t.coordinateSystem,r=o(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},"14J3":function(e,t,n){"use strict";n("cIOH"),n("1GLa")},"15/o":function(e,t,n){},"19Vz":function(e,t,n){(function(e){e(n("VrN/"))})((function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function n(e){t(e);var n=e.state.placeholder=document.createElement("pre");n.style.cssText="height: 0; overflow: visible",n.style.direction=e.getOption("direction"),n.className="CodeMirror-placeholder CodeMirror-line-like";var r=e.getOption("placeholder");"string"==typeof r&&(r=document.createTextNode(r)),n.appendChild(r),e.display.lineSpace.insertBefore(n,e.display.lineSpace.firstChild)}function r(e){o(e)&&n(e)}function i(e){var r=e.getWrapperElement(),i=o(e);r.className=r.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?n(e):t(e)}function o(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(n,o,a){var s=a&&a!=e.Init;if(o&&!s)n.on("blur",r),n.on("change",i),n.on("swapDoc",i),i(n);else if(!o&&s){n.off("blur",r),n.off("change",i),n.off("swapDoc",i),t(n);var l=n.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!n.hasFocus()&&r(n)}))}))},"1GLa":function(e,t,n){"use strict";n("cIOH"),n("FIfw")},"1Jh7":function(e,t,n){var r=n("y+Vt"),i=n("T6xi"),o=r.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(e,t){i.buildPath(e,t,!1)}});e.exports=o},"1LEl":function(e,t,n){var r=n("ProS"),i=n("F9bG"),o=r.extendComponentView({type:"axisPointer",render:function(e,t,n){var r=t.getComponent("tooltip"),o=e.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";i.register("axisPointer",n,(function(e,t,n){"none"!==o&&("leave"===e||o.indexOf(e)>=0)&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},remove:function(e,t){i.unregister(t.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(e,t){i.unregister("axisPointer",t),o.superApply(this._model,"dispose",arguments)}}),a=o;e.exports=a},"1MYJ":function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var e=this.__dirtyPath,t=this.shape.paths,n=0;n<t.length;n++)e=e||t[n].__dirtyPath;this.__dirtyPath=e,this.__dirty=this.__dirty||e},beforeBrush:function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},buildPath:function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},afterBrush:function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),r.prototype.getBoundingRect.call(this)}});e.exports=i},"1NG9":function(e,t,n){var r=n("y+Vt"),i=n("QBsz"),o=n("iXp4"),a=i.min,s=i.max,l=i.scaleAndAdd,u=i.copy,c=[],d=[],h=[];function f(e){return isNaN(e[0])||isNaN(e[1])}function p(e,t,n,r,i,o,a,s,l,u,c){return"none"!==u&&u?g.apply(this,arguments):m.apply(this,arguments)}function g(e,t,n,r,i,o,a,s,l,c,p){for(var g=0,m=n,v=0;v<r;v++){var y=t[m];if(m>=i||m<0)break;if(f(y)){if(p){m+=o;continue}break}if(m===n)e[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var b=t[g],_="y"===c?1:0,w=(y[_]-b[_])*l;u(d,b),d[_]=b[_]+w,u(h,y),h[_]=y[_]-w,e.bezierCurveTo(d[0],d[1],h[0],h[1],y[0],y[1])}else e.lineTo(y[0],y[1]);g=m,m+=o}return v}function m(e,t,n,r,o,p,g,m,v,y,b){for(var _=0,w=n,x=0;x<r;x++){var C=t[w];if(w>=o||w<0)break;if(f(C)){if(b){w+=p;continue}break}if(w===n)e[p>0?"moveTo":"lineTo"](C[0],C[1]),u(d,C);else if(v>0){var S=w+p,O=t[S];if(b)while(O&&f(t[S]))S+=p,O=t[S];var k=.5,E=t[_];O=t[S];if(!O||f(O))u(h,C);else{var D,M;if(f(O)&&!b&&(O=C),i.sub(c,O,E),"x"===y||"y"===y){var N="x"===y?0:1;D=Math.abs(C[N]-E[N]),M=Math.abs(C[N]-O[N])}else D=i.dist(C,E),M=i.dist(C,O);k=M/(M+D),l(h,C,c,-v*(1-k))}a(d,d,m),s(d,d,g),a(h,h,m),s(h,h,g),e.bezierCurveTo(d[0],d[1],h[0],h[1],C[0],C[1]),l(d,C,c,v*k)}else e.lineTo(C[0],C[1]);_=w,w+=p}return x}function v(e,t){var n=[1/0,1/0],r=[-1/0,-1/0];if(t)for(var i=0;i<e.length;i++){var o=e[i];o[0]<n[0]&&(n[0]=o[0]),o[1]<n[1]&&(n[1]=o[1]),o[0]>r[0]&&(r[0]=o[0]),o[1]>r[1]&&(r[1]=o[1])}return{min:t?n:r,max:t?r:n}}var y=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(r.prototype.brush),buildPath:function(e,t){var n=t.points,r=0,i=n.length,o=v(n,t.smoothConstraint);if(t.connectNulls){for(;i>0;i--)if(!f(n[i-1]))break;for(;r<i;r++)if(!f(n[r]))break}while(r<i)r+=p(e,n,r,i,i,1,o.min,o.max,t.smooth,t.smoothMonotone,t.connectNulls)+1}}),b=r.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:o(r.prototype.brush),buildPath:function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length,a=t.smoothMonotone,s=v(n,t.smoothConstraint),l=v(r,t.smoothConstraint);if(t.connectNulls){for(;o>0;o--)if(!f(n[o-1]))break;for(;i<o;i++)if(!f(n[i]))break}while(i<o){var u=p(e,n,i,o,o,1,s.min,s.max,t.smooth,a,t.connectNulls);p(e,r,i+u-1,u,o,-1,l.min,l.max,t.stackedOnSmooth,a,t.connectNulls),i+=u+1,e.closePath()}}});t.Polyline=y,t.Polygon=b},"1RvN":function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(e){var t=new i(e);return this.insertEntry(t),t},r.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var i=function(e){this.value=e,this.next,this.prev},o=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},a=o.prototype;a.put=function(e,t){var n=this._list,r=this._map,o=null;if(null==r[e]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return o},a.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},a.clear=function(){this._list.clear(),this._map={}};var s=o;e.exports=s},"1W/9":function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o);function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){var t=m();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var y=function(e){d(n,e);var t=f(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),e.removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,n){var r=e.props,i=r.visible,o=r.getComponent,s=r.forceRender,l=r.getContainer,u=r.parent;(i||u._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(u,o(t),e.container,(function(){n&&n.call(this)})))},e}return c(n,[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}]),n}(i.a.Component);y.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var b=n("QC+M"),_=n("qx4F");function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,r=void 0===n?document.body:n,i={},o=Object.keys(e);return o.forEach((function(e){i[e]=r.style[e]})),o.forEach((function(t){r.style[t]=e[t]})),i}var x=w;function C(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var S={},O=function(e){if(C()||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return x(S),S={},void(document.body.className=r.replace(n,"").trim())}var i=Object(_["a"])();if(i&&(S=x({position:"relative",width:"calc(100% - ".concat(i,"px)")}),!n.test(r))){var o="".concat(r," ").concat(t);document.body.className=o.trim()}}};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L(e,t,n){return t&&N(e.prototype,t),n&&N(e,n),e}function I(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(e,t)}function P(e){var t=j();return function(){var n,r=F(e);if(t){var i=F(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return A(this,n)}}function A(e,t){return!t||"object"!==B(t)&&"function"!==typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function F(e){return F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},F(e)}function B(e){return B="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B(e)}var V=0,z=!("undefined"!==typeof window&&window.document&&window.document.createElement),W="createPortal"in a.a,H={},U=function(e){if(z)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===B(e)&&e instanceof window.HTMLElement)return e}return document.body},K=function(e){I(n,e);var t=P(n);function n(e){var r;M(this,n),r=t.call(this,e),r.getContainer=function(){if(z)return null;if(!r.container){r.container=document.createElement("div");var e=U(r.props.getContainer);e&&e.appendChild(r.container)}return r.setWrapperClassName(),r.container},r.setWrapperClassName=function(){var e=r.props.wrapperClassName;r.container&&e&&e!==r.container.className&&(r.container.className=e)},r.savePortal=function(e){r._component=e},r.removeCurrentContainer=function(e){r.container=null,r._component=null,W||(e?r.renderComponent({afterClose:r.removeContainer,onClose:function(){},visible:!1}):r.removeContainer())},r.switchScrollingEffect=function(){1!==V||Object.keys(H).length?V||(x(H),H={},O(!0)):(O(),H=x({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))};var i=e.visible,o=e.getContainer;return z||U(o)!==document.body||(V=i?V+1:V),r.state={_self:R(r)},r}return L(n,[{key:"componentDidUpdate",value:function(){this.setWrapperClassName()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;z||U(n)!==document.body||(V=t&&V?V-1:V),this.removeCurrentContainer(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.forceRender,o=t.visible,a=null,s={getOpenCount:function(){return V},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect};return W?((r||o||this._component)&&(a=i.a.createElement(b["a"],{getContainer:this.getContainer,ref:this.savePortal},n(s))),a):i.a.createElement(y,{parent:this,visible:o,autoDestroy:!1,getComponent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(E(E(E({},t),s),{},{ref:e.savePortal}))},getContainer:this.getContainer,forceRender:r},(function(t){var n=t.renderComponent,r=t.removeContainer;return e.renderComponent=n,e.removeContainer=r,null}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t._self,i=e.visible,o=e.getContainer;if(n){var a=n.visible,s=n.getContainer;i===a||z||U(o)!==document.body||(V=i&&!a?V+1:V-1);var l="function"===typeof o&&"function"===typeof s;(l?o.toString()!==s.toString():o!==s)&&r.removeCurrentContainer(!1)}return{prevProps:e}}}]),n}(i.a.Component);t["a"]=K},"1YUG":function(e,t,n){"use strict";n.r(t),n.d(t,"CoreEditorCommand",(function(){return N})),n.d(t,"EditorScroll_",(function(){return _})),n.d(t,"RevealLine_",(function(){return w})),n.d(t,"CoreNavigationCommands",(function(){return x})),n.d(t,"CoreEditingCommands",(function(){return C}));var r=n("3/fG"),i=n("746U"),o=n("sswD"),a=n("Vxe3"),s=n("Ll0s"),l=n("cGHE"),u=n("aokT"),c=function(){function e(){}return e.columnSelect=function(e,t,n,r,i,o){for(var a=Math.abs(i-n)+1,c=n>i,d=r>o,h=r<o,f=[],p=0;p<a;p++){var g=n+(c?-p:p),m=s["a"].columnFromVisibleColumn2(e,t,g,r),v=s["a"].columnFromVisibleColumn2(e,t,g,o),y=s["a"].visibleColumnFromColumn2(e,t,new l["a"](g,m)),b=s["a"].visibleColumnFromColumn2(e,t,new l["a"](g,v));if(h){if(y>o)continue;if(b<r)continue}if(d){if(b>r)continue;if(y<o)continue}f.push(new s["f"](new u["a"](g,m,g,m),0,new l["a"](g,v),0))}if(0===f.length)for(p=0;p<a;p++){g=n+(c?-p:p);var _=t.getLineMaxColumn(g);f.push(new s["f"](new u["a"](g,_,g,_),0,new l["a"](g,_),0))}return{viewStates:f,reversed:c,fromLineNumber:n,fromVisualColumn:r,toLineNumber:i,toVisualColumn:o}},e.columnSelectLeft=function(t,n,r){var i=r.toViewVisualColumn;return i>1&&i--,e.columnSelect(t,n,r.fromViewLineNumber,r.fromViewVisualColumn,r.toViewLineNumber,i)},e.columnSelectRight=function(e,t,n){for(var r=0,i=Math.min(n.fromViewLineNumber,n.toViewLineNumber),o=Math.max(n.fromViewLineNumber,n.toViewLineNumber),a=i;a<=o;a++){var u=t.getLineMaxColumn(a),c=s["a"].visibleColumnFromColumn2(e,t,new l["a"](a,u));r=Math.max(r,c)}var d=n.toViewVisualColumn;return d<r&&d++,this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,n.toViewLineNumber,d)},e.columnSelectUp=function(e,t,n,r){var i=r?e.pageSize:1,o=Math.max(1,n.toViewLineNumber-i);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,o,n.toViewVisualColumn)},e.columnSelectDown=function(e,t,n,r){var i=r?e.pageSize:1,o=Math.min(t.getLineCount(),n.toViewLineNumber+i);return this.columnSelect(e,t,n.fromViewLineNumber,n.fromViewVisualColumn,o,n.toViewVisualColumn)},e}(),d=n("snIX"),h=n("+Fos"),f=n("N0LK"),p=n("5v8Y"),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){function e(){}return e._createWord=function(e,t,n,r,i){return{start:r,end:i,wordType:t,nextCharClass:n}},e._findPreviousWordOnLine=function(e,t,n){var r=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(r,e,n)},e._doFindPreviousWordOnLine=function(e,t,n){for(var r=0,i=n.column-2;i>=0;i--){var o=e.charCodeAt(i),a=t.get(o);if(0===a){if(2===r)return this._createWord(e,r,a,i+1,this._findEndOfWord(e,t,r,i+1));r=1}else if(2===a){if(1===r)return this._createWord(e,r,a,i+1,this._findEndOfWord(e,t,r,i+1));r=2}else if(1===a&&0!==r)return this._createWord(e,r,a,i+1,this._findEndOfWord(e,t,r,i+1))}return 0!==r?this._createWord(e,r,1,0,this._findEndOfWord(e,t,r,0)):null},e._findEndOfWord=function(e,t,n,r){for(var i=e.length,o=r;o<i;o++){var a=e.charCodeAt(o),s=t.get(a);if(1===s)return o;if(1===n&&2===s)return o;if(2===n&&0===s)return o}return i},e._findNextWordOnLine=function(e,t,n){var r=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(r,e,n)},e._doFindNextWordOnLine=function(e,t,n){for(var r=0,i=e.length,o=n.column-1;o<i;o++){var a=e.charCodeAt(o),s=t.get(a);if(0===s){if(2===r)return this._createWord(e,r,s,this._findStartOfWord(e,t,r,o-1),o);r=1}else if(2===s){if(1===r)return this._createWord(e,r,s,this._findStartOfWord(e,t,r,o-1),o);r=2}else if(1===s&&0!==r)return this._createWord(e,r,s,this._findStartOfWord(e,t,r,o-1),o)}return 0!==r?this._createWord(e,r,1,this._findStartOfWord(e,t,r,i-1),i):null},e._findStartOfWord=function(e,t,n,r){for(var i=r;i>=0;i--){var o=e.charCodeAt(i),a=t.get(o);if(1===a)return i+1;if(1===n&&2===a)return i+1;if(2===n&&0===a)return i+1}return 0},e.moveWordLeft=function(t,n,r,i){var o=r.lineNumber,a=r.column,s=!1;1===a&&o>1&&(s=!0,o-=1,a=n.getLineMaxColumn(o));var u=e._findPreviousWordOnLine(t,n,new l["a"](o,a));if(0===i){if(u&&!s){var c=n.getLineLastNonWhitespaceColumn(o);if(c<a)return new l["a"](o,u.end+1)}return new l["a"](o,u?u.start+1:1)}if(1===i)return u&&2===u.wordType&&u.end-u.start===1&&0===u.nextCharClass&&(u=e._findPreviousWordOnLine(t,n,new l["a"](o,u.start+1))),new l["a"](o,u?u.start+1:1);if(3===i){while(u&&2===u.wordType)u=e._findPreviousWordOnLine(t,n,new l["a"](o,u.start+1));return new l["a"](o,u?u.start+1:1)}return u&&a<=u.end+1&&(u=e._findPreviousWordOnLine(t,n,new l["a"](o,u.start+1))),new l["a"](o,u?u.end+1:1)},e._moveWordPartLeft=function(e,t){var n=t.lineNumber,r=e.getLineMaxColumn(n);if(1===t.column)return n>1?new l["a"](n-1,e.getLineMaxColumn(n-1)):t;for(var i=e.getLineContent(n),o=t.column-1;o>1;o--){var a=i.charCodeAt(o-2),s=i.charCodeAt(o-1);if(95!==a&&95===s)return new l["a"](n,o);if(f["B"](a)&&f["C"](s))return new l["a"](n,o);if(f["C"](a)&&f["C"](s)&&o+1<r){var u=i.charCodeAt(o);if(f["B"](u))return new l["a"](n,o)}}return new l["a"](n,1)},e.moveWordRight=function(t,n,r,i){var o=r.lineNumber,a=r.column,s=!1;a===n.getLineMaxColumn(o)&&o<n.getLineCount()&&(s=!0,o+=1,a=1);var u=e._findNextWordOnLine(t,n,new l["a"](o,a));if(2===i)u&&2===u.wordType&&u.end-u.start===1&&0===u.nextCharClass&&(u=e._findNextWordOnLine(t,n,new l["a"](o,u.end+1))),a=u?u.end+1:n.getLineMaxColumn(o);else if(3===i){s&&(a=0);while(u&&(2===u.wordType||u.start+1<=a))u=e._findNextWordOnLine(t,n,new l["a"](o,u.end+1));a=u?u.start+1:n.getLineMaxColumn(o)}else u&&!s&&a>=u.start+1&&(u=e._findNextWordOnLine(t,n,new l["a"](o,u.end+1))),a=u?u.start+1:n.getLineMaxColumn(o);return new l["a"](o,a)},e._moveWordPartRight=function(e,t){var n=t.lineNumber,r=e.getLineMaxColumn(n);if(t.column===r)return n<e.getLineCount()?new l["a"](n+1,1):t;for(var i=e.getLineContent(n),o=t.column+1;o<r;o++){var a=i.charCodeAt(o-2),s=i.charCodeAt(o-1);if(95===a&&95!==s)return new l["a"](n,o);if(f["B"](a)&&f["C"](s))return new l["a"](n,o);if(f["C"](a)&&f["C"](s)&&o+1<r){var u=i.charCodeAt(o);if(f["B"](u))return new l["a"](n,o)}}return new l["a"](n,r)},e._deleteWordLeftWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),r=t.column-2,i=f["D"](n,r);return i+1<r?new u["a"](t.lineNumber,i+2,t.lineNumber,t.column):null},e.deleteWordLeft=function(t,n,r,i,o){if(!r.isEmpty())return r;var a=new l["a"](r.positionLineNumber,r.positionColumn),s=a.lineNumber,c=a.column;if(1===s&&1===c)return null;if(i){var d=this._deleteWordLeftWhitespace(n,a);if(d)return d}var h=e._findPreviousWordOnLine(t,n,a);return 0===o?h?c=h.start+1:c>1?c=1:(s--,c=n.getLineMaxColumn(s)):(h&&c<=h.end+1&&(h=e._findPreviousWordOnLine(t,n,new l["a"](s,h.start+1))),h?c=h.end+1:c>1?c=1:(s--,c=n.getLineMaxColumn(s))),new u["a"](s,c,a.lineNumber,a.column)},e._deleteWordPartLeft=function(t,n){if(!n.isEmpty())return n;var r=n.getPosition(),i=e._moveWordPartLeft(t,r);return new u["a"](r.lineNumber,r.column,i.lineNumber,i.column)},e._findFirstNonWhitespaceChar=function(e,t){for(var n=e.length,r=t;r<n;r++){var i=e.charAt(r);if(" "!==i&&"\t"!==i)return r}return n},e._deleteWordRightWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),r=t.column-1,i=this._findFirstNonWhitespaceChar(n,r);return r+1<i?new u["a"](t.lineNumber,t.column,t.lineNumber,i+1):null},e.deleteWordRight=function(t,n,r,i,o){if(!r.isEmpty())return r;var a=new l["a"](r.positionLineNumber,r.positionColumn),s=a.lineNumber,c=a.column,d=n.getLineCount(),h=n.getLineMaxColumn(s);if(s===d&&c===h)return null;if(i){var f=this._deleteWordRightWhitespace(n,a);if(f)return f}var p=e._findNextWordOnLine(t,n,a);return 2===o?p?c=p.end+1:c<h||s===d?c=h:(s++,p=e._findNextWordOnLine(t,n,new l["a"](s,1)),c=p?p.start+1:n.getLineMaxColumn(s)):(p&&c>=p.start+1&&(p=e._findNextWordOnLine(t,n,new l["a"](s,p.end+1))),p?c=p.start+1:c<h||s===d?c=h:(s++,p=e._findNextWordOnLine(t,n,new l["a"](s,1)),c=p?p.start+1:n.getLineMaxColumn(s))),new u["a"](s,c,a.lineNumber,a.column)},e._deleteWordPartRight=function(t,n){if(!n.isEmpty())return n;var r=n.getPosition(),i=e._moveWordPartRight(t,r);return new u["a"](r.lineNumber,r.column,i.lineNumber,i.column)},e.word=function(t,n,r,i,o){var a,c,d,h,f=Object(p["a"])(t.wordSeparators),g=e._findPreviousWordOnLine(f,n,o),m=e._findNextWordOnLine(f,n,o);if(!i)return g&&1===g.wordType&&g.start<=o.column-1&&o.column-1<=g.end?(a=g.start+1,c=g.end+1):m&&1===m.wordType&&m.start<=o.column-1&&o.column-1<=m.end?(a=m.start+1,c=m.end+1):(a=g?g.end+1:1,c=m?m.start+1:n.getLineMaxColumn(o.lineNumber)),new s["f"](new u["a"](o.lineNumber,a,o.lineNumber,c),0,new l["a"](o.lineNumber,c),0);g&&1===g.wordType&&g.start<o.column-1&&o.column-1<g.end?(d=g.start+1,h=g.end+1):m&&1===m.wordType&&m.start<o.column-1&&o.column-1<m.end?(d=m.start+1,h=m.end+1):(d=o.column,h=o.column);var v,y=o.lineNumber;if(r.selectionStart.containsPosition(o))v=r.selectionStart.endColumn;else if(o.isBeforeOrEqual(r.selectionStart.getStartPosition())){v=d;var b=new l["a"](y,v);r.selectionStart.containsPosition(b)&&(v=r.selectionStart.endColumn)}else{v=h;b=new l["a"](y,v);r.selectionStart.containsPosition(b)&&(v=r.selectionStart.startColumn)}return r.move(!0,y,v,0)},e}();(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}g(t,e),t.deleteWordPartLeft=function(e,t,n,r){var i=v([m.deleteWordLeft(e,t,n,r,0),m.deleteWordLeft(e,t,n,r,2),m._deleteWordPartLeft(t,n)]);return i.sort(u["a"].compareRangesUsingEnds),i[2]},t.deleteWordPartRight=function(e,t,n,r){var i=v([m.deleteWordRight(e,t,n,r,0),m.deleteWordRight(e,t,n,r,2),m._deleteWordPartRight(t,n)]);return i.sort(u["a"].compareRangesUsingStarts),i[0]},t.moveWordPartLeft=function(e,t,n){var r=v([m.moveWordLeft(e,t,n,0),m.moveWordLeft(e,t,n,2),m._moveWordPartLeft(t,n)]);return r.sort(l["a"].compare),r[2]},t.moveWordPartRight=function(e,t,n){var r=v([m.moveWordRight(e,t,n,0),m.moveWordRight(e,t,n,2),m._moveWordPartRight(t,n)]);return r.sort(l["a"].compare),r[0]}})(m);function v(e){return e.filter((function(e){return Boolean(e)}))}var y,b=function(){function e(){}return e.addCursorDown=function(e,t,n){for(var r=[],i=0,o=0,a=t.length;o<a;o++){var l=t[o];r[i++]=new s["d"](l.modelState,l.viewState),r[i++]=n?s["d"].fromModelState(h["a"].translateDown(e.config,e.model,l.modelState)):s["d"].fromViewState(h["a"].translateDown(e.config,e.viewModel,l.viewState))}return r},e.addCursorUp=function(e,t,n){for(var r=[],i=0,o=0,a=t.length;o<a;o++){var l=t[o];r[i++]=new s["d"](l.modelState,l.viewState),r[i++]=n?s["d"].fromModelState(h["a"].translateUp(e.config,e.model,l.modelState)):s["d"].fromViewState(h["a"].translateUp(e.config,e.viewModel,l.viewState))}return r},e.moveToBeginningOfLine=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];r[i]=this._moveToLineStart(e,a,n)}return r},e._moveToLineStart=function(e,t,n){var r=t.viewState.position.column,i=t.modelState.position.column,o=r===i,a=t.viewState.position.lineNumber,s=e.viewModel.getLineFirstNonWhitespaceColumn(a),l=r===s;return o||l?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)},e._moveToLineStartByView=function(e,t,n){return s["d"].fromViewState(h["a"].moveToBeginningOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineStartByModel=function(e,t,n){return s["d"].fromModelState(h["a"].moveToBeginningOfLine(e.config,e.model,t.modelState,n))},e.moveToEndOfLine=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];r[i]=this._moveToLineEnd(e,a,n)}return r},e._moveToLineEnd=function(e,t,n){var r=t.viewState.position,i=e.viewModel.getLineMaxColumn(r.lineNumber),o=r.column===i,a=t.modelState.position,s=e.model.getLineMaxColumn(a.lineNumber),l=i-r.column===s-a.column;return o||l?this._moveToLineEndByModel(e,t,n):this._moveToLineEndByView(e,t,n)},e._moveToLineEndByView=function(e,t,n){return s["d"].fromViewState(h["a"].moveToEndOfLine(e.config,e.viewModel,t.viewState,n))},e._moveToLineEndByModel=function(e,t,n){return s["d"].fromModelState(h["a"].moveToEndOfLine(e.config,e.model,t.modelState,n))},e.expandLineSelection=function(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=o.modelState.selection.startLineNumber,c=e.model.getLineCount(),d=o.modelState.selection.endLineNumber,h=void 0;d===c?h=e.model.getLineMaxColumn(c):(d++,h=1),n[r]=s["d"].fromModelState(new s["f"](new u["a"](a,1,a,1),0,new l["a"](d,h),0))}return n},e.moveToBeginningOfBuffer=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];r[i]=s["d"].fromModelState(h["a"].moveToBeginningOfBuffer(e.config,e.model,a.modelState,n))}return r},e.moveToEndOfBuffer=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i];r[i]=s["d"].fromModelState(h["a"].moveToEndOfBuffer(e.config,e.model,a.modelState,n))}return r},e.selectAll=function(e,t){var n=e.model.getLineCount(),r=e.model.getLineMaxColumn(n);return s["d"].fromModelState(new s["f"](new u["a"](1,1,1,1),0,new l["a"](n,r),0))},e.line=function(e,t,n,r,i){var o=e.model.validatePosition(r),a=i?e.validateViewPosition(new l["a"](i.lineNumber,i.column),o):e.convertModelPositionToViewPosition(o);if(!n||!t.modelState.hasSelection()){var c=e.model.getLineCount(),d=o.lineNumber+1,h=1;return d>c&&(d=c,h=e.model.getLineMaxColumn(d)),s["d"].fromModelState(new s["f"](new u["a"](o.lineNumber,1,d,h),0,new l["a"](d,h),0))}var f=t.modelState.selectionStart.getStartPosition().lineNumber;if(o.lineNumber<f)return s["d"].fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(o.lineNumber>f){c=e.viewModel.getLineCount();var p=a.lineNumber+1,g=1;return p>c&&(p=c,g=e.viewModel.getLineMaxColumn(p)),s["d"].fromViewState(t.viewState.move(t.modelState.hasSelection(),p,g,0))}var m=t.modelState.selectionStart.getEndPosition();return s["d"].fromModelState(t.modelState.move(t.modelState.hasSelection(),m.lineNumber,m.column,0))},e.word=function(e,t,n,r){var i=e.model.validatePosition(r);return s["d"].fromModelState(m.word(e.config,e.model,t.modelState,n,i))},e.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new s["d"](t.modelState,t.viewState);var n=t.viewState.position.lineNumber,r=t.viewState.position.column;return s["d"].fromViewState(new s["f"](new u["a"](n,r,n,r),0,new l["a"](n,r),0))},e.moveTo=function(e,t,n,r,i){var o=e.model.validatePosition(r),a=i?e.validateViewPosition(new l["a"](i.lineNumber,i.column),o):e.convertModelPositionToViewPosition(o);return s["d"].fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))},e.move=function(e,t,n){var r=n.select,i=n.value;switch(n.direction){case 0:return 4===n.unit?this._moveHalfLineLeft(e,t,r):this._moveLeft(e,t,r,i);case 1:return 4===n.unit?this._moveHalfLineRight(e,t,r):this._moveRight(e,t,r,i);case 2:return 2===n.unit?this._moveUpByViewLines(e,t,r,i):this._moveUpByModelLines(e,t,r,i);case 3:return 2===n.unit?this._moveDownByViewLines(e,t,r,i):this._moveDownByModelLines(e,t,r,i);case 4:return this._moveToViewMinColumn(e,t,r);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,r);case 6:return this._moveToViewCenterColumn(e,t,r);case 7:return this._moveToViewMaxColumn(e,t,r);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,r);case 9:var o=t[0],a=e.getCompletelyVisibleModelRange(),s=this._firstLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,o,r,s,l)];case 11:o=t[0],a=e.getCompletelyVisibleModelRange(),s=this._lastLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,o,r,s,l)];case 10:o=t[0],a=e.getCompletelyVisibleModelRange(),s=Math.round((a.startLineNumber+a.endLineNumber)/2),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,o,r,s,l)];case 12:for(var u=e.getCompletelyVisibleViewRange(),c=[],d=0,h=t.length;d<h;d++){o=t[d];c[d]=this.findPositionInViewportIfOutside(e,o,u,r)}return c}return null},e.findPositionInViewportIfOutside=function(e,t,n,r){var i=t.viewState.position.lineNumber;if(n.startLineNumber<=i&&i<=n.endLineNumber-1)return new s["d"](t.modelState,t.viewState);i>n.endLineNumber-1&&(i=n.endLineNumber-1),i<n.startLineNumber&&(i=n.startLineNumber);var o=e.viewModel.getLineFirstNonWhitespaceColumn(i);return this._moveToViewPosition(e,t,r,i,o)},e._firstLineNumberInRange=function(e,t,n){var r=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(r)&&r++,Math.min(t.endLineNumber,r+n-1)},e._lastLineNumberInRange=function(e,t,n){var r=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(r)&&r++,Math.max(r,t.endLineNumber-n+1)},e._moveLeft=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o],u=h["a"].moveLeft(e.config,e.viewModel,l.viewState,n,r);if(1===r&&u.position.lineNumber!==l.viewState.position.lineNumber){var c=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(u.position);c.lineNumber===l.modelState.position.lineNumber&&(u=h["a"].moveLeft(e.config,e.viewModel,u,n,1))}i[o]=s["d"].fromViewState(u)}return i},e._moveHalfLineLeft=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],l=a.viewState.position.lineNumber,u=Math.round(e.viewModel.getLineContent(l).length/2);r[i]=s["d"].fromViewState(h["a"].moveLeft(e.config,e.viewModel,a.viewState,n,u))}return r},e._moveRight=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o],u=h["a"].moveRight(e.config,e.viewModel,l.viewState,n,r);if(1===r&&u.position.lineNumber!==l.viewState.position.lineNumber){var c=e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(u.position);c.lineNumber===l.modelState.position.lineNumber&&(u=h["a"].moveRight(e.config,e.viewModel,u,n,1))}i[o]=s["d"].fromViewState(u)}return i},e._moveHalfLineRight=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],l=a.viewState.position.lineNumber,u=Math.round(e.viewModel.getLineContent(l).length/2);r[i]=s["d"].fromViewState(h["a"].moveRight(e.config,e.viewModel,a.viewState,n,u))}return r},e._moveDownByViewLines=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o];i[o]=s["d"].fromViewState(h["a"].moveDown(e.config,e.viewModel,l.viewState,n,r))}return i},e._moveDownByModelLines=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o];i[o]=s["d"].fromModelState(h["a"].moveDown(e.config,e.model,l.modelState,n,r))}return i},e._moveUpByViewLines=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o];i[o]=s["d"].fromViewState(h["a"].moveUp(e.config,e.viewModel,l.viewState,n,r))}return i},e._moveUpByModelLines=function(e,t,n,r){for(var i=[],o=0,a=t.length;o<a;o++){var l=t[o];i[o]=s["d"].fromModelState(h["a"].moveUp(e.config,e.model,l.modelState,n,r))}return i},e._moveToViewPosition=function(e,t,n,r,i){return s["d"].fromViewState(t.viewState.move(n,r,i,0))},e._moveToModelPosition=function(e,t,n,r,i){return s["d"].fromModelState(t.modelState.move(n,r,i,0))},e._moveToViewMinColumn=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMinColumn(s);r[i]=this._moveToViewPosition(e,a,n,s,l)}return r},e._moveToViewFirstNonWhitespaceColumn=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineFirstNonWhitespaceColumn(s);r[i]=this._moveToViewPosition(e,a,n,s,l)}return r},e._moveToViewCenterColumn=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=a.viewState.position.lineNumber,l=Math.round((e.viewModel.getLineMaxColumn(s)+e.viewModel.getLineMinColumn(s))/2);r[i]=this._moveToViewPosition(e,a,n,s,l)}return r},e._moveToViewMaxColumn=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMaxColumn(s);r[i]=this._moveToViewPosition(e,a,n,s,l)}return r},e._moveToViewLastNonWhitespaceColumn=function(e,t,n){for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineLastNonWhitespaceColumn(s);r[i]=this._moveToViewPosition(e,a,n,s,l)}return r},e}();(function(e){var t=function(e){if(!i["i"](e))return!1;var t=e;return!!i["j"](t.to)&&(!(!i["k"](t.select)&&!i["e"](t.select))&&(!(!i["k"](t.by)&&!i["j"](t.by))&&!(!i["k"](t.value)&&!i["h"](t.value))))};function n(t){if(!t.to)return null;var n;switch(t.to){case e.RawDirection.Left:n=0;break;case e.RawDirection.Right:n=1;break;case e.RawDirection.Up:n=2;break;case e.RawDirection.Down:n=3;break;case e.RawDirection.WrappedLineStart:n=4;break;case e.RawDirection.WrappedLineFirstNonWhitespaceCharacter:n=5;break;case e.RawDirection.WrappedLineColumnCenter:n=6;break;case e.RawDirection.WrappedLineEnd:n=7;break;case e.RawDirection.WrappedLineLastNonWhitespaceCharacter:n=8;break;case e.RawDirection.ViewPortTop:n=9;break;case e.RawDirection.ViewPortBottom:n=11;break;case e.RawDirection.ViewPortCenter:n=10;break;case e.RawDirection.ViewPortIfOutside:n=12;break;default:return null}var r=0;switch(t.by){case e.RawUnit.Line:r=1;break;case e.RawUnit.WrappedLine:r=2;break;case e.RawUnit.Character:r=3;break;case e.RawUnit.HalfLine:r=4;break}return{direction:n,unit:r,select:!!t.select,value:t.value||1}}e.description={description:"Move cursor to a logical position in the view",args:[{name:"Cursor move argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory logical position value providing where to move the cursor.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'left', 'right', 'up', 'down'\n\t\t\t\t\t\t'wrappedLineStart', 'wrappedLineEnd', 'wrappedLineColumnCenter'\n\t\t\t\t\t\t'wrappedLineFirstNonWhitespaceCharacter', 'wrappedLineLastNonWhitespaceCharacter'\n\t\t\t\t\t\t'viewPortTop', 'viewPortCenter', 'viewPortBottom', 'viewPortIfOutside'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'character', 'halfLine'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'select': If 'true' makes the selection. Default is 'false'.\n\t\t\t\t",constraint:t,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["left","right","up","down","wrappedLineStart","wrappedLineEnd","wrappedLineColumnCenter","wrappedLineFirstNonWhitespaceCharacter","wrappedLineLastNonWhitespaceCharacter","viewPortTop","viewPortCenter","viewPortBottom","viewPortIfOutside"]},by:{type:"string",enum:["line","wrappedLine","character","halfLine"]},value:{type:"number",default:1},select:{type:"boolean",default:!1}}}}]},e.RawDirection={Left:"left",Right:"right",Up:"up",Down:"down",WrappedLineStart:"wrappedLineStart",WrappedLineFirstNonWhitespaceCharacter:"wrappedLineFirstNonWhitespaceCharacter",WrappedLineColumnCenter:"wrappedLineColumnCenter",WrappedLineEnd:"wrappedLineEnd",WrappedLineLastNonWhitespaceCharacter:"wrappedLineLastNonWhitespaceCharacter",ViewPortTop:"viewPortTop",ViewPortCenter:"viewPortCenter",ViewPortBottom:"viewPortBottom",ViewPortIfOutside:"viewPortIfOutside"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},e.parse=n})(y||(y={}));var _,w,x,C,S=n("GR/f"),O=n("iuje"),k=n("wQH0"),E=n("T8No"),D=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=0,N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.runEditorCommand=function(e,t,n){var r=t._getCursors();r&&this.runCoreEditorCommand(r,n||{})},t}(o["c"]);function L(e){e.register()}(function(e){var t=function(e){if(!i["i"](e))return!1;var t=e;return!!i["j"](t.to)&&(!(!i["k"](t.by)&&!i["j"](t.by))&&(!(!i["k"](t.value)&&!i["h"](t.value))&&!(!i["k"](t.revealCursor)&&!i["e"](t.revealCursor))))};function n(t){var n,r;switch(t.to){case e.RawDirection.Up:n=1;break;case e.RawDirection.Down:n=2;break;default:return null}switch(t.by){case e.RawUnit.Line:r=1;break;case e.RawUnit.WrappedLine:r=2;break;case e.RawUnit.Page:r=3;break;case e.RawUnit.HalfPage:r=4;break;default:r=2}var i=Math.floor(t.value||1),o=!!t.revealCursor;return{direction:n,unit:r,value:i,revealCursor:o,select:!!t.select}}e.description={description:"Scroll editor in the given direction",args:[{name:"Editor scroll argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'to': A mandatory direction value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'up', 'down'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'by': Unit to move. Default is computed based on 'to' value.\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'line', 'wrappedLine', 'page', 'halfPage'\n\t\t\t\t\t\t```\n\t\t\t\t\t* 'value': Number of units to move. Default is '1'.\n\t\t\t\t\t* 'revealCursor': If 'true' reveals the cursor if it is outside view port.\n\t\t\t\t",constraint:t,schema:{type:"object",required:["to"],properties:{to:{type:"string",enum:["up","down"]},by:{type:"string",enum:["line","wrappedLine","page","halfPage"]},value:{type:"number",default:1},revealCursor:{type:"boolean"}}}}]},e.RawDirection={Up:"up",Down:"down"},e.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},e.parse=n})(_||(_={})),function(e){var t=function(e){if(!i["i"](e))return!1;var t=e;return!!i["h"](t.lineNumber)&&!(!i["k"](t.at)&&!i["j"](t.at))};e.description={description:"Reveal the given line at the given logical position",args:[{name:"Reveal line argument object",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t* 'lineNumber': A mandatory line number value.\n\t\t\t\t\t* 'at': Logical position at which line has to be revealed .\n\t\t\t\t\t\t```\n\t\t\t\t\t\t'top', 'center', 'bottom'\n\t\t\t\t\t\t```\n\t\t\t\t",constraint:t,schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},e.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"}}(w||(w={})),function(e){var t=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[b.moveTo(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!0,0,0)},t}(N);e.MoveTo=Object(o["g"])(new t({id:"_moveTo",inSelectionMode:!1,precondition:void 0})),e.MoveToSelect=Object(o["g"])(new t({id:"_moveToSelect",inSelectionMode:!0,precondition:void 0}));var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement();var n=this._getColumnSelectResult(e.context,e.getPrimaryCursor(),e.getColumnSelectData(),t);e.setStates(t.source,3,n.viewStates.map((function(e){return s["d"].fromViewState(e)}))),e.setColumnSelectData({isReal:!0,fromViewLineNumber:n.fromLineNumber,fromViewVisualColumn:n.fromVisualColumn,toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),e.reveal(t.source,!0,n.reversed?1:2,0)},t}(N);e.ColumnSelect=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"columnSelect",precondition:void 0})||this}return D(t,e),t.prototype._getColumnSelectResult=function(e,t,n,r){var i=e.model.validatePosition(r.position),o=e.validateViewPosition(new l["a"](r.viewPosition.lineNumber,r.viewPosition.column),i),a=r.doColumnSelect?n.fromViewLineNumber:o.lineNumber,s=r.doColumnSelect?n.fromViewVisualColumn:r.mouseColumn-1;return c.columnSelect(e.config,e.viewModel,a,s,o.lineNumber,r.mouseColumn-1)},t}(n))),e.CursorColumnSelectLeft=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectLeft",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3599,linux:{primary:0}}})||this}return D(t,e),t.prototype._getColumnSelectResult=function(e,t,n,r){return c.columnSelectLeft(e.config,e.viewModel,n)},t}(n))),e.CursorColumnSelectRight=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"cursorColumnSelectRight",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3601,linux:{primary:0}}})||this}return D(t,e),t.prototype._getColumnSelectResult=function(e,t,n,r){return c.columnSelectRight(e.config,e.viewModel,n)},t}(n)));var r=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return D(t,e),t.prototype._getColumnSelectResult=function(e,t,n,r){return c.columnSelectUp(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectUp=Object(o["g"])(new r({isPaged:!1,id:"cursorColumnSelectUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3600,linux:{primary:0}}})),e.CursorColumnSelectPageUp=Object(o["g"])(new r({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3595,linux:{primary:0}}}));var i=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaged=t.isPaged,n}return D(t,e),t.prototype._getColumnSelectResult=function(e,t,n,r){return c.columnSelectDown(e.config,e.viewModel,n,this._isPaged)},t}(n);e.CursorColumnSelectDown=Object(o["g"])(new i({isPaged:!1,id:"cursorColumnSelectDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3602,linux:{primary:0}}})),e.CursorColumnSelectPageDown=Object(o["g"])(new i({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3596,linux:{primary:0}}}));var a=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:void 0,description:y.description})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=y.parse(t);n&&this._runCursorMove(e,t.source,n)},t.prototype._runCursorMove=function(e,t,n){e.context.model.pushStackElement(),e.setStates(t,3,b.move(e.context,e.getAll(),n)),e.reveal(t,!0,0,0)},t}(N);e.CursorMoveImpl=a,e.CursorMove=Object(o["g"])(new a);var d=function(t){function n(e){var n=t.call(this,e)||this;return n._staticArgs=e.args,n}return D(n,t),n.prototype.runCoreEditorCommand=function(t,n){var r=this._staticArgs;-1===this._staticArgs.value&&(r={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:t.context.config.pageSize}),e.CursorMove._runCursorMove(t,n.source,r)},n}(N);e.CursorLeft=Object(o["g"])(new d({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),e.CursorLeftSelect=Object(o["g"])(new d({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1039}})),e.CursorRight=Object(o["g"])(new d({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),e.CursorRightSelect=Object(o["g"])(new d({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1041}})),e.CursorUp=Object(o["g"])(new d({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),e.CursorUpSelect=Object(o["g"])(new d({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),e.CursorPageUp=Object(o["g"])(new d({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:11}})),e.CursorPageUpSelect=Object(o["g"])(new d({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1035}})),e.CursorDown=Object(o["g"])(new d({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),e.CursorDownSelect=Object(o["g"])(new d({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),e.CursorPageDown=Object(o["g"])(new d({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:12}})),e.CursorPageDownSelect=Object(o["g"])(new d({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1036}})),e.CreateCursor=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"createCursor",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n,r=e.context;n=t.wholeLine?b.line(r,e.getPrimaryCursor(),!1,t.position,t.viewPosition):b.moveTo(r,e.getPrimaryCursor(),!1,t.position,t.viewPosition);var i=e.getAll();if(i.length>1)for(var o=n.modelState?n.modelState.position:null,a=n.viewState?n.viewState.position:null,s=0,l=i.length;s<l;s++){var u=i[s];if((!o||u.modelState.selection.containsPosition(o))&&(!a||u.viewState.selection.containsPosition(a)))return i.splice(s,1),e.context.model.pushStackElement(),void e.setStates(t.source,3,i)}i.push(n),e.context.model.pushStackElement(),e.setStates(t.source,3,i)},t}(N))),e.LastCursorMoveToSelect=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"_lastCursorMoveToSelect",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,r=e.getLastAddedCursorIndex(),i=e.getAll(),o=i.slice(0);o[r]=b.moveTo(n,i[r],!0,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,o)},t}(N)));var h=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,b.moveToBeginningOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(N);e.CursorHome=Object(o["g"])(new h({inSelectionMode:!1,id:"cursorHome",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),e.CursorHomeSelect=Object(o["g"])(new h({inSelectionMode:!0,id:"cursorHomeSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}})),e.CursorLineStart=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"cursorLineStart",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:0,mac:{primary:287}}})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=o.modelState.position.lineNumber;n[r]=s["d"].fromModelState(o.modelState.move(!1,a,1,0))}return n},t}(N)));var f=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,b.moveToEndOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(N);e.CursorEnd=Object(o["g"])(new f({inSelectionMode:!1,id:"cursorEnd",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}}})),e.CursorEndSelect=Object(o["g"])(new f({inSelectionMode:!0,id:"cursorEndSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}}})),e.CursorLineEnd=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"cursorLineEnd",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:0,mac:{primary:291}}})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t.prototype._exec=function(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r],a=o.modelState.position.lineNumber,l=e.model.getLineMaxColumn(a);n[r]=s["d"].fromModelState(o.modelState.move(!1,a,l,0))}return n},t}(N)));var p=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,b.moveToBeginningOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(N);e.CursorTop=Object(o["g"])(new p({inSelectionMode:!1,id:"cursorTop",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2062,mac:{primary:2064}}})),e.CursorTopSelect=Object(o["g"])(new p({inSelectionMode:!0,id:"cursorTopSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3086,mac:{primary:3088}}}));var g=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,b.moveToEndOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(t.source,!0,0,0)},t}(N);e.CursorBottom=Object(o["g"])(new g({inSelectionMode:!1,id:"cursorBottom",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2061,mac:{primary:2066}}})),e.CursorBottomSelect=Object(o["g"])(new g({inSelectionMode:!0,id:"cursorBottomSelect",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:3085,mac:{primary:3090}}}));var m=function(e){function t(){return e.call(this,{id:"editorScroll",precondition:void 0,description:_.description})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=_.parse(t);n&&this._runEditorScroll(e,t.source,n)},t.prototype._runEditorScroll=function(e,t,n){var r=this._computeDesiredScrollTop(e.context,n);if(n.revealCursor){var i=e.context.getCompletelyVisibleViewRangeAtScrollTop(r);e.setStates(t,3,[b.findPositionInViewportIfOutside(e.context,e.getPrimaryCursor(),i,n.select)])}e.scrollTo(r)},t.prototype._computeDesiredScrollTop=function(e,t){if(1===t.unit){var n=e.getCompletelyVisibleModelRange(),r=void 0;r=1===t.direction?Math.max(1,n.startLineNumber-t.value):Math.min(e.model.getLineCount(),n.startLineNumber+t.value);var i=e.convertModelPositionToViewPosition(new l["a"](r,1));return e.getVerticalOffsetForViewLine(i.lineNumber)}var o;o=3===t.unit?e.config.pageSize*t.value:4===t.unit?Math.round(e.config.pageSize/2)*t.value:t.value;var a=(1===t.direction?-1:1)*o;return e.getCurrentScrollTop()+a*e.config.lineHeight},t}(N);e.EditorScrollImpl=m,e.EditorScroll=Object(o["g"])(new m),e.ScrollLineUp=Object(o["g"])(new(function(t){function n(){return t.call(this,{id:"scrollLineUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2064,mac:{primary:267}}})||this}return D(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})},n}(N))),e.ScrollPageUp=Object(o["g"])(new(function(t){function n(){return t.call(this,{id:"scrollPageUp",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return D(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})},n}(N))),e.ScrollLineDown=Object(o["g"])(new(function(t){function n(){return t.call(this,{id:"scrollLineDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2066,mac:{primary:268}}})||this}return D(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})},n}(N))),e.ScrollPageDown=Object(o["g"])(new(function(t){function n(){return t.call(this,{id:"scrollPageDown",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return D(n,t),n.prototype.runCoreEditorCommand=function(t,n){e.EditorScroll._runEditorScroll(t,n.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})},n}(N)));var v=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[b.word(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position)]),e.reveal(t.source,!0,0,0)},t}(N);e.WordSelect=Object(o["g"])(new v({inSelectionMode:!1,id:"_wordSelect",precondition:void 0})),e.WordSelectDrag=Object(o["g"])(new v({inSelectionMode:!0,id:"_wordSelectDrag",precondition:void 0})),e.LastCursorWordSelect=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"lastCursorWordSelect",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.context,r=e.getLastAddedCursorIndex(),i=e.getAll(),o=i.slice(0),a=i[r];o[r]=b.word(n,a,a.modelState.hasSelection(),t.position),n.model.pushStackElement(),e.setStates(t.source,3,o)},t}(N)));var x=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[b.line(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(t.source,!1,0,0)},t}(N);e.LineSelect=Object(o["g"])(new x({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(o["g"])(new x({inSelectionMode:!0,id:"_lineSelectDrag",precondition:void 0}));var C=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=e.getLastAddedCursorIndex(),r=e.getAll(),i=r.slice(0);i[n]=b.line(e.context,r[n],this._inSelectionMode,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,i)},t}(N);e.LastCursorLineSelect=Object(o["g"])(new C({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:void 0})),e.LastCursorLineSelectDrag=Object(o["g"])(new C({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:void 0})),e.ExpandLineSelection=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"expandLineSelection",precondition:void 0,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2090}})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,b.expandLineSelection(e.context,e.getAll())),e.reveal(t.source,!0,0,0)},t}(N))),e.CancelSelection=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"cancelSelection",precondition:k["a"].hasNonEmptySelection,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:9,secondary:[1033]}})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[b.cancelSelection(e.context,e.getPrimaryCursor())]),e.reveal(t.source,!0,0,0)},t}(N))),e.RemoveSecondaryCursors=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"removeSecondaryCursors",precondition:k["a"].hasMultipleSelections,kbOpts:{weight:M+1,kbExpr:k["a"].textInputFocus,primary:9,secondary:[1033]}})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[e.getPrimaryCursor()]),e.reveal(t.source,!0,0,0)},t}(N))),e.RevealLine=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"revealLine",precondition:void 0,description:w.description})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=t,r=(n.lineNumber||0)+1;r<1&&(r=1);var i=e.context.model.getLineCount();r>i&&(r=i);var o=new u["a"](r,1,r,e.context.model.getLineMaxColumn(r)),a=0;if(n.at)switch(n.at){case w.RawAtArgument.Top:a=3;break;case w.RawAtArgument.Center:a=1;break;case w.RawAtArgument.Bottom:a=4;break;default:break}var s=e.context.convertModelRangeToViewRange(o);e.revealRange(t.source,!1,s,a,0)},t}(N))),e.SelectAll=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[b.selectAll(e.context,e.getPrimaryCursor())])},t}(N))),e.SetSelection=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[s["d"].fromModelSelection(t.selection)])},t}(N)))}(x||(x={})),function(e){var t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.runEditorCommand=function(e,t,n){var r=t._getCursors();r&&this.runCoreEditingCommand(t,r,n||{})},t}(o["c"]);e.CoreEditingCommand=t,e.LineBreakInsert=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:0,mac:{primary:301}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,S["a"].lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(t))),e.Outdent=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:E["a"].and(k["a"].editorTextFocus,k["a"].tabDoesNotMoveFocus),primary:1026}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,S["a"].outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(t))),e.Tab=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"tab",precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:E["a"].and(k["a"].editorTextFocus,k["a"].tabDoesNotMoveFocus),primary:2}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,S["a"].tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(t))),e.DeleteLeft=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var r=d["a"].deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),i=r[0],o=r[1];i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(2)},t}(t))),e.DeleteRight=Object(o["g"])(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var r=d["a"].deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),i=r[0],o=r[1];i&&e.pushUndoStop(),e.executeCommands(this.id,o),t.setPrevEditOperationType(3)},t}(t)))}(C||(C={}));var I=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a["a"]).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var r=document.activeElement;if(!(r&&["input","textarea"].indexOf(r.tagName.toLowerCase())>=0)){var i=e.get(a["a"]).getActiveCodeEditor();return i?(i.focus(),this._runEditorHandler(e,i,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var r=this._editorHandler;"string"===typeof r?t.trigger("keyboard",r,n):(n=n||{},n.source="keyboard",r.runEditorCommand(e,t,n))},t}(o["a"]),T=function(e){function t(t,n,r){var i=e.call(this,{id:t,precondition:void 0,description:r})||this;return i._handlerId=n,i}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(a["a"]).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(o["a"]);function P(e,t){L(new T("default:"+e,e)),L(new T(e,e,t))}L(new I({editorHandler:x.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:k["a"].textInputFocus,kbOpts:{weight:M,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:r["a"]({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),L(new I({editorHandler:O["b"].Undo,inputHandler:"undo",id:O["b"].Undo,precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:r["a"]({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),L(new T("default:"+O["b"].Undo,O["b"].Undo)),L(new I({editorHandler:O["b"].Redo,inputHandler:"redo",id:O["b"].Redo,precondition:k["a"].writable,kbOpts:{weight:M,kbExpr:k["a"].textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:r["a"]({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),L(new T("default:"+O["b"].Redo,O["b"].Redo)),P(O["b"].Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),P(O["b"].ReplacePreviousChar),P(O["b"].CompositionStart),P(O["b"].CompositionEnd),P(O["b"].Paste),P(O["b"].Cut)},"1bdT":function(e,t,n){var r=n("3gBT"),i=n("H6uX"),o=n("DN4a"),a=n("vWvF"),s=n("bYtY"),l=function(e){o.call(this,e),i.call(this,e),a.call(this,e),this.id=e.id||r()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(e,t){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(e,t){},attrKV:function(e,t){if("position"===e||"scale"===e||"origin"===e){if(t){var n=this[e];n||(n=this[e]=[]),n[0]=t[0],n[1]=t[1]}}else this[e]=t},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(e,t){if("string"===typeof e)this.attrKV(e,t);else if(s.isObject(e))for(var n in e)e.hasOwnProperty(n)&&this.attrKV(n,e[n]);return this.dirty(!1),this},setClipPath:function(e){var t=this.__zr;t&&e.addSelfToZr(t),this.clipPath&&this.clipPath!==e&&this.removeClipPath(),this.clipPath=e,e.__zr=t,e.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var e=this.clipPath;e&&(e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this.clipPath&&this.clipPath.addSelfToZr(e)},removeSelfFromZr:function(e){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this.clipPath&&this.clipPath.removeSelfFromZr(e)}},s.mixin(l,a),s.mixin(l,o),s.mixin(l,i);var u=l;e.exports=u},"1eCo":function(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(r,i){var o,a,s=r.indentUnit,l={},u=i.htmlMode?t:n;for(var c in u)l[c]=u[c];for(var c in i)l[c]=i[c];function d(e,t){function n(n){return t.tokenize=n,n(e,t)}var r,i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(p("atom","]]>")):null:e.match("--")?n(p("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(g(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=p("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=h,"tag bracket"):"&"==i?(r=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),r?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function h(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=d,o=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return o="equals",null;if("<"==n){t.tokenize=d,t.state=b,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=f(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function f(e){var t=function(t,n){while(!t.eol())if(t.next()==e){n.tokenize=h;break}return"string"};return t.isInAttribute=!0,t}function p(e,t){return function(n,r){while(!n.eol()){if(n.match(t)){r.tokenize=d;break}n.next()}return e}}function g(e){return function(t,n){var r;while(null!=(r=t.next())){if("<"==r)return n.tokenize=g(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=d;break}return n.tokenize=g(e-1),n.tokenize(t,n)}}return"meta"}}function m(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){var n;while(1){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;v(e)}}function b(e,t,n){return"openTag"==e?(n.tagStart=t.column(),_):"closeTag"==e?w:b}function _(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",S):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",S(e,t,n)):(a="error",_)}function w(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&v(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",x):(a="tag error",C)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",x(e,t,n)):(a="error",C)}function x(e,t,n){return"endTag"!=e?(a="error",x):(v(n),b)}function C(e,t,n){return a="error",x(e,t,n)}function S(e,t,n){if("word"==e)return a="attribute",O;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?y(n,r):(y(n,r),n.context=new m(n,r,i==n.indented)),b}return a="error",S}function O(e,t,n){return"equals"==e?k:(l.allowMissing||(a="error"),S(e,t,n))}function k(e,t,n){return"string"==e?E:"word"==e&&l.allowUnquoted?(a="string",S):(a="error",S(e,t,n))}function E(e,t,n){return"string"==e?E:S(e,t,n)}return d.isInText=!0,{startState:function(e){var t={tokenize:d,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var n=t.tokenize(e,t);return(n||o)&&"comment"!=n&&(a=null,t.state=t.state(o||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=h&&t.tokenize!=d)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var o=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(o&&o[1])while(i){if(i.tagName==o[2]){i=i.prev;break}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(o)while(i){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev}while(i&&i.prev&&!i.startOfLine)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==k&&(e.state=S)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],n=e.context;n;n=n.prev)n.tagName&&t.push(n.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}))},"1hJj":function(e,t,n){var r=n("e4Nc"),i=n("ftKO"),o=n("3A9y");function a(e){var t=-1,n=null==e?0:e.length;this.__data__=new r;while(++t<n)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},"1j5w":function(e,t,n){"use strict";n.d(t,"e",(function(){return Ee})),n.d(t,"b",(function(){return lt})),n.d(t,"d",(function(){return lt})),n.d(t,"c",(function(){return ht})),n.d(t,"a",(function(){return pt}));var r=n("rePB"),i=n("1OyB"),o=n("vuIU"),a=n("JX7q"),s=n("Ji7U"),l=n("md7G"),u=n("foSv"),c=n("q1tI"),d=n.n(c),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=c["createContext"](null),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){return c["createElement"](f.Provider,{value:this.props.store},this.props.children)},t}(c["Component"]),g=n("Gytx"),m=n.n(g),v=n("2mql"),y=n.n(v),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(){return _=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_.apply(this,arguments)};function w(e){return e.displayName||e.name||"Component"}var x=function(){return{}};function C(e,t){void 0===t&&(t={});var n=!!e,r=e||x;return function(i){var o=function(t){function o(e,n){var i=t.call(this,e,n)||this;return i.unsubscribe=null,i.handleChange=function(){if(i.unsubscribe){var e=r(i.store.getState(),i.props);i.setState({subscribed:e})}},i.store=i.context,i.state={subscribed:r(i.store.getState(),e),store:i.store,props:e},i}return b(o,t),o.getDerivedStateFromProps=function(t,n){return e&&2===e.length&&t!==n.props?{subscribed:r(n.store.getState(),t),props:t}:{props:t}},o.prototype.componentDidMount=function(){this.trySubscribe()},o.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},o.prototype.shouldComponentUpdate=function(e,t){return!m()(this.props,e)||!m()(this.state.subscribed,t.subscribed)},o.prototype.trySubscribe=function(){n&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},o.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},o.prototype.render=function(){var e=_(_(_({},this.props),this.state.subscribed),{store:this.store});return c["createElement"](i,_({},e,{ref:this.props.miniStoreForwardedRef}))},o.displayName="Connect("+w(i)+")",o.contextType=f,o}(c["Component"]);if(t.forwardRef){var a=c["forwardRef"]((function(e,t){return c["createElement"](o,_({},e,{miniStoreForwardedRef:t}))}));return y()(a,i)}return y()(o,i)}}var S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},S.apply(this,arguments)};function O(e){var t=e,n=[];function r(e){t=S(S({},t),e);for(var r=0;r<n.length;r++)n[r]()}function i(){return t}function o(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}return{setState:r,getState:i,subscribe:o}}var k=n("wx14"),E=n("4IlW"),D=n("2GS6"),M=n("TSYQ"),N=n.n(M),L=n("U8pU"),I=n("ODXe");function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=/iPhone/i,R=/iPod/i,j=/iPad/i,F=/\bAndroid(?:.+)Mobile\b/i,B=/Android/i,V=/\bAndroid(?:.+)SD4930UR\b/i,z=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,W=/Windows Phone/i,H=/\bWindows(?:.+)ARM\b/i,U=/BlackBerry/i,K=/BB10/i,G=/Opera Mini/i,q=/\b(CriOS|Chrome)(?:.+)Mobile/i,Y=/Mobile(?:.+)Firefox\b/i;function X(e,t){return e.test(t)}function Z(e){var t=e||("undefined"!==typeof navigator?navigator.userAgent:""),n=t.split("[FBAN");if("undefined"!==typeof n[1]){var r=n,i=Object(I["a"])(r,1);t=i[0]}if(n=t.split("Twitter"),"undefined"!==typeof n[1]){var o=n,a=Object(I["a"])(o,1);t=a[0]}var s={apple:{phone:X(A,t)&&!X(W,t),ipod:X(R,t),tablet:!X(A,t)&&X(j,t)&&!X(W,t),device:(X(A,t)||X(R,t)||X(j,t))&&!X(W,t)},amazon:{phone:X(V,t),tablet:!X(V,t)&&X(z,t),device:X(V,t)||X(z,t)},android:{phone:!X(W,t)&&X(V,t)||!X(W,t)&&X(F,t),tablet:!X(W,t)&&!X(V,t)&&!X(F,t)&&(X(z,t)||X(B,t)),device:!X(W,t)&&(X(V,t)||X(z,t)||X(F,t)||X(B,t))||X(/\bokhttp\b/i,t)},windows:{phone:X(W,t),tablet:X(H,t),device:X(W,t)||X(H,t)},other:{blackberry:X(U,t),blackberry10:X(K,t),opera:X(G,t),firefox:X(Y,t),chrome:X(q,t),device:X(U,t)||X(K,t)||X(G,t)||X(Y,t)||X(q,t)},any:null,phone:null,tablet:null};return s.any=s.apple.device||s.android.device||s.windows.device||s.other.device,s.phone=s.apple.phone||s.android.phone||s.windows.phone,s.tablet=s.apple.tablet||s.android.tablet||s.windows.tablet,s}var Q=P(P({},Z()),{},{isMobile:Z}),$=Q;function J(){}function ee(e,t,n){var r=t||"";return e.key||"".concat(r,"item_").concat(n)}function te(e){return"".concat(e,"-menu-")}function ne(e,t){var n=-1;d.a.Children.forEach(e,(function(e){n+=1,e&&e.type&&e.type.isMenuItemGroup?d.a.Children.forEach(e.props.children,(function(e){n+=1,t(e,n)})):t(e,n)}))}function re(e,t,n){e&&!n.find&&d.a.Children.forEach(e,(function(e){if(e){var r=e.type;if(!r||!(r.isSubMenu||r.isMenuItem||r.isMenuItemGroup))return;-1!==t.indexOf(e.key)?n.find=!0:e.props.children&&re(e.props.children,t,n)}}))}var ie=["defaultSelectedKeys","selectedKeys","defaultOpenKeys","openKeys","mode","getPopupContainer","onSelect","onDeselect","onDestroy","openTransitionName","openAnimation","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","triggerSubMenuAction","level","selectable","multiple","onOpenChange","visible","focusable","defaultActiveFirst","prefixCls","inlineIndent","parentMenu","title","rootPrefixCls","eventKey","active","onItemHover","onTitleMouseEnter","onTitleMouseLeave","onTitleClick","popupAlign","popupOffset","isOpen","renderMenuItem","manualRef","subMenuKey","disabled","index","isSelected","store","activeKey","builtinPlacements","overflowedIndicator","motion","attribute","value","popupClassName","inlineCollapsed","menu","theme","itemIcon","expandIcon"],oe=function(e){var t=e&&"function"===typeof e.getBoundingClientRect&&e.getBoundingClientRect().width;return t&&(t=+t.toFixed(6)),t||0},ae=function(e,t,n){e&&"object"===Object(L["a"])(e.style)&&(e.style[t]=n)},se=function(){return $.any},le=n("KQm4"),ue=n("Ff2n"),ce=n("i8i4"),de=n.n(ce),he=n("bdgK"),fe=n("uciX"),pe=n("lCnp"),ge={adjustX:1,adjustY:1},me={topLeft:{points:["bl","tl"],overflow:ge,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ge,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ge,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ge,offset:[4,0]}},ve={topLeft:{points:["bl","tl"],overflow:ge,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ge,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ge,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ge,offset:[4,0]}};function ye(e){var t=be();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function be(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xe=0,Ce={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Se=function(e,t,n){var i=te(t),o=e.getState();e.setState({defaultActiveFirst:we(we({},o.defaultActiveFirst),{},Object(r["a"])({},i,n))})},Oe=function(){var e=function(e){Object(s["a"])(n,e);var t=ye(n);function n(e){var r;Object(i["a"])(this,n),r=t.call(this,e),r.onDestroy=function(e){r.props.onDestroy(e)},r.onKeyDown=function(e){var t=e.keyCode,n=r.menuInstance,i=r.props,o=i.isOpen,a=i.store;if(t===E["a"].ENTER)return r.onTitleClick(e),Se(a,r.props.eventKey,!0),!0;if(t===E["a"].RIGHT)return o?n.onKeyDown(e):(r.triggerOpenChange(!0),Se(a,r.props.eventKey,!0)),!0;if(t===E["a"].LEFT){var s;if(!o)return;return s=n.onKeyDown(e),s||(r.triggerOpenChange(!1),s=!0),s}return!o||t!==E["a"].UP&&t!==E["a"].DOWN?void 0:n.onKeyDown(e)},r.onOpenChange=function(e){r.props.onOpenChange(e)},r.onPopupVisibleChange=function(e){r.triggerOpenChange(e,e?"mouseenter":"mouseleave")},r.onMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onMouseEnter,o=t.store;Se(o,r.props.eventKey,!1),i({key:n,domEvent:e})},r.onMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=Object(a["a"])(r),o({key:i,domEvent:e})},r.onTitleMouseEnter=function(e){var t=r.props,n=t.eventKey,i=t.onItemHover,o=t.onTitleMouseEnter;i({key:n,hover:!0}),o({key:n,domEvent:e})},r.onTitleMouseLeave=function(e){var t=r.props,n=t.parentMenu,i=t.eventKey,o=t.onItemHover,s=t.onTitleMouseLeave;n.subMenuInstance=Object(a["a"])(r),o({key:i,hover:!1}),s({key:i,domEvent:e})},r.onTitleClick=function(e){var t=Object(a["a"])(r),n=t.props;n.onTitleClick({key:n.eventKey,domEvent:e}),"hover"!==n.triggerSubMenuAction&&(r.triggerOpenChange(!n.isOpen,"click"),Se(n.store,r.props.eventKey,!1))},r.onSubMenuClick=function(e){"function"===typeof r.props.onClick&&r.props.onClick(r.addKeyPath(e))},r.onSelect=function(e){r.props.onSelect(e)},r.onDeselect=function(e){r.props.onDeselect(e)},r.getPrefixCls=function(){return"".concat(r.props.rootPrefixCls,"-submenu")},r.getActiveClassName=function(){return"".concat(r.getPrefixCls(),"-active")},r.getDisabledClassName=function(){return"".concat(r.getPrefixCls(),"-disabled")},r.getSelectedClassName=function(){return"".concat(r.getPrefixCls(),"-selected")},r.getOpenClassName=function(){return"".concat(r.props.rootPrefixCls,"-submenu-open")},r.saveMenuInstance=function(e){r.menuInstance=e},r.addKeyPath=function(e){return we(we({},e),{},{keyPath:(e.keyPath||[]).concat(r.props.eventKey)})},r.triggerOpenChange=function(e,t){var n=r.props.eventKey,i=function(){r.onOpenChange({key:n,item:Object(a["a"])(r),trigger:t,open:e})};"mouseenter"===t?r.mouseenterTimeout=setTimeout((function(){i()}),0):i()},r.isChildrenSelected=function(){var e={find:!1};return re(r.props.children,r.props.selectedKeys,e),e.find},r.isOpen=function(){return-1!==r.props.openKeys.indexOf(r.props.eventKey)},r.adjustWidth=function(){if(r.subMenuTitle&&r.menuInstance){var e=de.a.findDOMNode(r.menuInstance);e.offsetWidth>=r.subMenuTitle.offsetWidth||(e.style.minWidth="".concat(r.subMenuTitle.offsetWidth,"px"))}},r.saveSubMenuTitle=function(e){r.subMenuTitle=e},r.getBaseProps=function(){var e=Object(a["a"])(r),t=e.props;return{mode:"horizontal"===t.mode?"vertical":t.mode,visible:r.props.isOpen,level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:r.onSubMenuClick,onSelect:r.onSelect,onDeselect:r.onDeselect,onDestroy:r.onDestroy,selectedKeys:t.selectedKeys,eventKey:"".concat(t.eventKey,"-menu-"),openKeys:t.openKeys,motion:t.motion,onOpenChange:r.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,parentMenu:Object(a["a"])(r),subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,builtinPlacements:t.builtinPlacements,defaultActiveFirst:t.store.getState().defaultActiveFirst[te(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:r.internalMenuId,manualRef:r.saveMenuInstance,itemIcon:t.itemIcon,expandIcon:t.expandIcon,direction:t.direction}},r.getMotion=function(e,t){var n=Object(a["a"])(r),i=n.haveRendered,o=r.props,s=o.motion,l=o.rootPrefixCls,u=we(we({},s),{},{leavedClassName:"".concat(l,"-hidden"),removeOnLeave:!1,motionAppear:i||!t||"inline"!==e});return u};var o=e.store,s=e.eventKey,l=o.getState(),u=l.defaultActiveFirst;r.isRootMenu=!1;var c=!1;return u&&(c=u[s]),Se(o,s,c),r}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu,i=t.manualRef;i&&i(this),"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){return e.adjustWidth()}),0))}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(e){var t=this,n=this.getBaseProps(),i=this.getMotion(n.mode,n.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||n.visible||n.forceSubMenuRender,!this.haveOpened)return d.a.createElement("div",null);var o=n.direction;return d.a.createElement(pe["a"],Object.assign({visible:n.visible},i),(function(i){var a=i.className,s=i.style,l=N()("".concat(n.prefixCls,"-sub"),a,Object(r["a"])({},"".concat(n.prefixCls,"-rtl"),"rtl"===o));return d.a.createElement(qe,Object.assign({},n,{id:t.internalMenuId,className:l,style:s}),e)}))}},{key:"render",value:function(){var e,t=we({},this.props),n=t.isOpen,i=this.getPrefixCls(),o="inline"===t.mode,a=N()(i,"".concat(i,"-").concat(t.mode),(e={},Object(r["a"])(e,t.className,!!t.className),Object(r["a"])(e,this.getOpenClassName(),n),Object(r["a"])(e,this.getActiveClassName(),t.active||n&&!o),Object(r["a"])(e,this.getDisabledClassName(),t.disabled),Object(r["a"])(e,this.getSelectedClassName(),this.isChildrenSelected()),e));this.internalMenuId||(t.eventKey?this.internalMenuId="".concat(t.eventKey,"$Menu"):(xe+=1,this.internalMenuId="$__$".concat(xe,"$Menu")));var s={},l={},u={};t.disabled||(s={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},l={onClick:this.onTitleClick},u={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var c={},h=t.direction;o&&("rtl"===h?c.paddingRight=t.inlineIndent*t.level:c.paddingLeft=t.inlineIndent*t.level);var f={};this.props.isOpen&&(f={"aria-owns":this.internalMenuId});var p=null;"horizontal"!==t.mode&&(p=this.props.expandIcon,"function"===typeof this.props.expandIcon&&(p=d.a.createElement(this.props.expandIcon,we({},this.props))));var g=d.a.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:c,className:"".concat(i,"-title"),role:"button"},u,l,{"aria-expanded":n},f,{"aria-haspopup":"true",title:"string"===typeof t.title?t.title:void 0}),t.title,p||d.a.createElement("i",{className:"".concat(i,"-arrow")})),m=this.renderChildren(t.children),v=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},y=Ce[t.mode],b=t.popupOffset?{offset:t.popupOffset}:{},_="inline"===t.mode?"":t.popupClassName;_+="rtl"===h?" ".concat(i,"-rtl"):"";var w=t.disabled,x=t.triggerSubMenuAction,C=t.subMenuOpenDelay,S=t.forceSubMenuRender,O=t.subMenuCloseDelay,k=t.builtinPlacements;ie.forEach((function(e){return delete t[e]})),delete t.onClick;var E="rtl"===h?Object.assign({},ve,k):Object.assign({},me,k);return delete t.direction,d.a.createElement("li",Object.assign({},t,s,{className:a,role:"menuitem"}),o&&g,o&&m,!o&&d.a.createElement(fe["a"],{prefixCls:i,popupClassName:N()("".concat(i,"-popup"),_),getPopupContainer:v,builtinPlacements:E,popupPlacement:y,popupVisible:n,popupAlign:b,popup:m,action:w?[]:[x],mouseEnterDelay:C,mouseLeaveDelay:O,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:S},g))}}]),n}(d.a.Component);return e.defaultProps={onMouseEnter:J,onMouseLeave:J,onTitleMouseEnter:J,onTitleMouseLeave:J,onTitleClick:J,manualRef:J,mode:"vertical",title:""},e}(),ke=C((function(e,t){var n=e.openKeys,r=e.activeKey,i=e.selectedKeys,o=t.eventKey,a=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[a]===o,selectedKeys:i}}))(Oe);ke.isSubMenu=!0;var Ee=ke;function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(e){var t=Le();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function Le(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var Ie="menuitem-overflowed",Te=.5,Pe=function(){var e=function(e){Object(s["a"])(n,e);var t=Ne(n);function n(){var e;return Object(i["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.mutationObserver=null,e.originalTotalWidth=0,e.overflowedItems=[],e.menuItemSizes=[],e.cancelFrameId=null,e.state={lastVisibleIndex:void 0},e.getMenuItemNodes=function(){var t=e.props.prefixCls,n=de.a.findDOMNode(Object(a["a"])(e));return n?[].slice.call(n.children).filter((function(e){return e.className.split(" ").indexOf("".concat(t,"-overflowed-submenu"))<0})):[]},e.getOverflowedSubMenuItem=function(t,n,r){var i=e.props,o=i.overflowedIndicator,a=i.level,s=i.mode,l=i.prefixCls,u=i.theme;if(1!==a||"horizontal"!==s)return null;var c=e.props.children[0],h=c.props,f=(h.children,h.title,h.style),p=Object(ue["a"])(h,["children","title","style"]),g=Me({},f),m="".concat(t,"-overflowed-indicator"),v="".concat(t,"-overflowed-indicator");0===n.length&&!0!==r?g=Me(Me({},g),{},{display:"none"}):r&&(g=Me(Me({},g),{},{visibility:"hidden",position:"absolute"}),m="".concat(m,"-placeholder"),v="".concat(v,"-placeholder"));var y=u?"".concat(l,"-").concat(u):"",b={};return ie.forEach((function(e){void 0!==p[e]&&(b[e]=p[e])})),d.a.createElement(Ee,Object.assign({title:o,className:"".concat(l,"-overflowed-submenu"),popupClassName:y},b,{key:m,eventKey:v,disabled:!1,style:g}),n)},e.setChildrenWidthAndResize=function(){if("horizontal"===e.props.mode){var t=de.a.findDOMNode(Object(a["a"])(e));if(t){var n=t.children;if(n&&0!==n.length){var r=t.children[n.length-1];ae(r,"display","inline-block");var i=e.getMenuItemNodes(),o=i.filter((function(e){return e.className.split(" ").indexOf(Ie)>=0}));o.forEach((function(e){ae(e,"display","inline-block")})),e.menuItemSizes=i.map((function(e){return oe(e)})),o.forEach((function(e){ae(e,"display","none")})),e.overflowedIndicatorWidth=oe(t.children[t.children.length-1]),e.originalTotalWidth=e.menuItemSizes.reduce((function(e,t){return e+t}),0),e.handleResize(),ae(r,"display","none")}}}},e.handleResize=function(){if("horizontal"===e.props.mode){var t=de.a.findDOMNode(Object(a["a"])(e));if(t){var n=oe(t);e.overflowedItems=[];var r,i=0;e.originalTotalWidth>n+Te&&(r=-1,e.menuItemSizes.forEach((function(t){i+=t,i+e.overflowedIndicatorWidth<=n&&(r+=1)}))),e.setState({lastVisibleIndex:r})}}},e}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){var e=this;if(this.setChildrenWidthAndResize(),1===this.props.level&&"horizontal"===this.props.mode){var t=de.a.findDOMNode(this);if(!t)return;this.resizeObserver=new he["default"]((function(t){t.forEach((function(){var t=e.cancelFrameId;cancelAnimationFrame(t),e.cancelFrameId=requestAnimationFrame(e.setChildrenWidthAndResize)}))})),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),"undefined"!==typeof MutationObserver&&(this.mutationObserver=new MutationObserver((function(){e.resizeObserver.disconnect(),[].slice.call(t.children).concat(t).forEach((function(t){e.resizeObserver.observe(t)})),e.setChildrenWidthAndResize()})),this.mutationObserver.observe(t,{attributes:!1,childList:!0,subTree:!1}))}}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.mutationObserver&&this.mutationObserver.disconnect(),cancelAnimationFrame(this.cancelFrameId)}},{key:"renderChildren",value:function(e){var t=this,n=this.state.lastVisibleIndex;return(e||[]).reduce((function(r,i,o){var a=i;if("horizontal"===t.props.mode){var s=t.getOverflowedSubMenuItem(i.props.eventKey,[]);void 0!==n&&-1!==t.props.className.indexOf("".concat(t.props.prefixCls,"-root"))&&(o>n&&(a=d.a.cloneElement(i,{style:{display:"none"},eventKey:"".concat(i.props.eventKey,"-hidden"),className:"".concat(Ie)})),o===n+1&&(t.overflowedItems=e.slice(n+1).map((function(e){return d.a.cloneElement(e,{key:e.props.eventKey,mode:"vertical-left"})})),s=t.getOverflowedSubMenuItem(i.props.eventKey,t.overflowedItems)));var l=[].concat(Object(le["a"])(r),[s,a]);return o===e.length-1&&l.push(t.getOverflowedSubMenuItem(i.props.eventKey,[],!0)),l}return[].concat(Object(le["a"])(r),[a])}),[])}},{key:"render",value:function(){var e=this.props,t=(e.visible,e.prefixCls,e.overflowedIndicator,e.mode,e.level,e.tag),n=e.children,r=(e.theme,Object(ue["a"])(e,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"])),i=t;return d.a.createElement(i,Object.assign({},r),this.renderChildren(n))}}]),n}(d.a.Component);return e.defaultProps={tag:"div",className:""},e}(),Ae=Pe;function Re(e){var t=je();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function je(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ve(e){return!e.length||e.every((function(e){return!!e.props.disabled}))}function ze(e,t,n){var i=e.getState();e.setState({activeKey:Be(Be({},i.activeKey),{},Object(r["a"])({},t,n))})}function We(e){return e.eventKey||"0-menu-"}function He(e,t){var n,r=t,i=e.children,o=e.eventKey;if(r&&(ne(i,(function(e,t){e&&e.props&&!e.props.disabled&&r===ee(e,o,t)&&(n=!0)})),n))return r;return r=null,e.defaultActiveFirst?(ne(i,(function(e,t){r||!e||e.props.disabled||(r=ee(e,o,t))})),r):r}function Ue(e){if(e){var t=this.instanceArray.indexOf(e);-1!==t?this.instanceArray[t]=e:this.instanceArray.push(e)}}var Ke=function(){var e=function(e){Object(s["a"])(n,e);var t=Re(n);function n(e){var o;return Object(i["a"])(this,n),o=t.call(this,e),o.onKeyDown=function(e,t){var n,r=e.keyCode;if(o.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(n=t.onKeyDown(e))})),n)return 1;var i=null;return r!==E["a"].UP&&r!==E["a"].DOWN||(i=o.step(r===E["a"].UP?-1:1)),i?(e.preventDefault(),ze(o.props.store,We(o.props),i.props.eventKey),"function"===typeof t&&t(i),1):void 0},o.onItemHover=function(e){var t=e.key,n=e.hover;ze(o.props.store,We(o.props),n?t:null)},o.onDeselect=function(e){o.props.onDeselect(e)},o.onSelect=function(e){o.props.onSelect(e)},o.onClick=function(e){o.props.onClick(e)},o.onOpenChange=function(e){o.props.onOpenChange(e)},o.onDestroy=function(e){o.props.onDestroy(e)},o.getFlatInstanceArray=function(){return o.instanceArray},o.step=function(e){var t=o.getFlatInstanceArray(),n=o.props.store.getState().activeKey[We(o.props)],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var i=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(i=t,!1)})),o.props.defaultActiveFirst||-1===i||!Ve(t.slice(i,r-1))){var a=(i+1)%r,s=a;do{var l=t[s];if(l&&!l.props.disabled)return l;s=(s+1)%r}while(s!==a);return null}},o.renderCommonMenuItem=function(e,t,n){var r=o.props.store.getState(),i=Object(a["a"])(o),s=i.props,l=ee(e,s.eventKey,t),u=e.props;if(!u||"string"===typeof e.type)return e;var c=l===r.activeKey,h=Be(Be({mode:u.mode||s.mode,level:s.level,inlineIndent:s.inlineIndent,renderMenuItem:o.renderMenuItem,rootPrefixCls:s.prefixCls,index:t,parentMenu:s.parentMenu,manualRef:u.disabled?void 0:Object(D["a"])(e.ref,Ue.bind(Object(a["a"])(o))),eventKey:l,active:!u.disabled&&c,multiple:s.multiple,onClick:function(e){(u.onClick||J)(e),o.onClick(e)},onItemHover:o.onItemHover,motion:s.motion,subMenuOpenDelay:s.subMenuOpenDelay,subMenuCloseDelay:s.subMenuCloseDelay,forceSubMenuRender:s.forceSubMenuRender,onOpenChange:o.onOpenChange,onDeselect:o.onDeselect,onSelect:o.onSelect,builtinPlacements:s.builtinPlacements,itemIcon:u.itemIcon||o.props.itemIcon,expandIcon:u.expandIcon||o.props.expandIcon},n),{},{direction:s.direction});return("inline"===s.mode||se())&&(h.triggerSubMenuAction="click"),d.a.cloneElement(e,h)},o.renderMenuItem=function(e,t,n){if(!e)return null;var r=o.props.store.getState(),i={openKeys:r.openKeys,selectedKeys:r.selectedKeys,triggerSubMenuAction:o.props.triggerSubMenuAction,subMenuKey:n};return o.renderCommonMenuItem(e,t,i)},e.store.setState({activeKey:Be(Be({},e.store.getState().activeKey),{},Object(r["a"])({},e.eventKey,He(e,e.activeKey)))}),o.instanceArray=[],o}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(e){return this.props.visible||e.visible||this.props.className!==e.className||!m()(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n="activeKey"in t?t.activeKey:t.store.getState().activeKey[We(t)],r=He(t,n);if(r!==n)ze(t.store,We(t),r);else if("activeKey"in e){var i=He(e,e.activeKey);r!==i&&ze(t.store,We(t),r)}}},{key:"render",value:function(){var e=this,t=Object(k["a"])({},this.props);this.instanceArray=[];var n=N()(t.prefixCls,t.className,"".concat(t.prefixCls,"-").concat(t.mode)),r={className:n,role:t.role||"menu"};t.id&&(r.id=t.id),t.focusable&&(r.tabIndex=0,r.onKeyDown=this.onKeyDown);var i=t.prefixCls,o=t.eventKey,a=t.visible,s=t.level,l=t.mode,u=t.overflowedIndicator,c=t.theme;return ie.forEach((function(e){return delete t[e]})),delete t.onClick,d.a.createElement(Ae,Object.assign({},t,{prefixCls:i,mode:l,tag:"ul",level:s,theme:c,visible:a,overflowedIndicator:u},r),d.a.Children.map(t.children,(function(t,n){return e.renderMenuItem(t,n,o||"0-menu-")})))}}]),n}(d.a.Component);return e.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:J},e}(),Ge=C()(Ke),qe=Ge,Ye=n("Kwbf");function Xe(e){var t=e.prefixCls,n=e.motion,r=e.openAnimation,i=e.openTransitionName;if(n)return n;if("object"===Object(L["a"])(r)&&r)Object(Ye["a"])(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if("string"===typeof r)return{motionName:"".concat(t,"-open-").concat(r)};return i?{motionName:i}:null}function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $e(e){var t=Je();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function Je(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var et=function(){var e=function(e){Object(s["a"])(n,e);var t=$e(n);function n(e){var r;Object(i["a"])(this,n),r=t.call(this,e),r.onSelect=function(e){var t=Object(a["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState(),o=i.selectedKeys,s=e.key;o=n.multiple?o.concat([s]):[s],"selectedKeys"in n||r.store.setState({selectedKeys:o}),n.onSelect(Qe(Qe({},e),{},{selectedKeys:o}))}},r.onClick=function(e){r.props.onClick(e)},r.onKeyDown=function(e,t){r.innerMenu.getWrappedInstance().onKeyDown(e,t)},r.onOpenChange=function(e){var t=Object(a["a"])(r),n=t.props,i=r.store.getState().openKeys.concat(),o=!1,s=function(e){var t=!1;if(e.open)t=-1===i.indexOf(e.key),t&&i.push(e.key);else{var n=i.indexOf(e.key);t=-1!==n,t&&i.splice(n,1)}o=o||t};Array.isArray(e)?e.forEach(s):s(e),o&&("openKeys"in r.props||r.store.setState({openKeys:i}),n.onOpenChange(i))},r.onDeselect=function(e){var t=Object(a["a"])(r),n=t.props;if(n.selectable){var i=r.store.getState().selectedKeys.concat(),o=e.key,s=i.indexOf(o);-1!==s&&i.splice(s,1),"selectedKeys"in n||r.store.setState({selectedKeys:i}),n.onDeselect(Qe(Qe({},e),{},{selectedKeys:i}))}},r.getOpenTransitionName=function(){var e=Object(a["a"])(r),t=e.props,n=t.openTransitionName,i=t.openAnimation;return n||"string"!==typeof i||(n="".concat(t.prefixCls,"-open-").concat(i)),n},r.setInnerMenu=function(e){r.innerMenu=e},r.isRootMenu=!0;var o=e.defaultSelectedKeys,s=e.defaultOpenKeys;return"selectedKeys"in e&&(o=e.selectedKeys||[]),"openKeys"in e&&(s=e.openKeys||[]),r.store=O({selectedKeys:o,openKeys:s,activeKey:{"0-menu-":He(e,e.activeKey)}}),r}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.updateMiniStore()}},{key:"componentDidUpdate",value:function(){this.updateMiniStore()}},{key:"updateMiniStore",value:function(){"selectedKeys"in this.props&&this.store.setState({selectedKeys:this.props.selectedKeys||[]}),"openKeys"in this.props&&this.store.setState({openKeys:this.props.openKeys||[]})}},{key:"render",value:function(){var e=Qe({},this.props);return e.className+=" ".concat(e.prefixCls,"-root"),"rtl"===e.direction&&(e.className+=" ".concat(e.prefixCls,"-rtl")),e=Qe(Qe({},e),{},{onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,parentMenu:this,motion:Xe(this.props)}),delete e.openAnimation,delete e.openTransitionName,d.a.createElement(p,{store:this.store},d.a.createElement(qe,Object.assign({},e,{ref:this.setInnerMenu}),this.props.children))}}]),n}(d.a.Component);return e.defaultProps={selectable:!0,onClick:J,onSelect:J,onOpenChange:J,onDeselect:J,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:d.a.createElement("span",null,"\xb7\xb7\xb7")},e}(),tt=et;function nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function it(e){var t=ot();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function ot(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var at=function(){var e=function(e){Object(s["a"])(n,e);var t=it(n);function n(){var e;return Object(i["a"])(this,n),e=t.apply(this,arguments),e.onKeyDown=function(t){var n=t.keyCode;if(n===E["a"].ENTER)return e.onClick(t),!0},e.onMouseLeave=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseLeave;i({key:r,hover:!1}),o({key:r,domEvent:t})},e.onMouseEnter=function(t){var n=e.props,r=n.eventKey,i=n.onItemHover,o=n.onMouseEnter;i({key:r,hover:!0}),o({key:r,domEvent:t})},e.onClick=function(t){var n=e.props,r=n.eventKey,i=n.multiple,o=n.onClick,s=n.onSelect,l=n.onDeselect,u=n.isSelected,c={key:r,keyPath:[r],item:Object(a["a"])(e),domEvent:t};o(c),i?u?l(c):s(c):u||s(c)},e.saveNode=function(t){e.node=t},e}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)}},{key:"getPrefixCls",value:function(){return"".concat(this.props.rootPrefixCls,"-item")}},{key:"getActiveClassName",value:function(){return"".concat(this.getPrefixCls(),"-active")}},{key:"getSelectedClassName",value:function(){return"".concat(this.getPrefixCls(),"-selected")}},{key:"getDisabledClassName",value:function(){return"".concat(this.getPrefixCls(),"-disabled")}},{key:"callRef",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"render",value:function(){var e,t=rt({},this.props),n=N()(this.getPrefixCls(),t.className,(e={},Object(r["a"])(e,this.getActiveClassName(),!t.disabled&&t.active),Object(r["a"])(e,this.getSelectedClassName(),t.isSelected),Object(r["a"])(e,this.getDisabledClassName(),t.disabled),e)),i=rt(rt({},t.attribute),{},{title:"string"===typeof t.title?t.title:void 0,className:n,role:t.role||"menuitem","aria-disabled":t.disabled});"option"===t.role?i=rt(rt({},i),{},{role:"option","aria-selected":t.isSelected}):null!==t.role&&"none"!==t.role||(i.role="none");var o={onClick:t.disabled?null:this.onClick,onMouseLeave:t.disabled?null:this.onMouseLeave,onMouseEnter:t.disabled?null:this.onMouseEnter},a=rt({},t.style);"inline"===t.mode&&("rtl"===t.direction?a.paddingRight=t.inlineIndent*t.level:a.paddingLeft=t.inlineIndent*t.level),ie.forEach((function(e){return delete t[e]})),delete t.direction;var s=this.props.itemIcon;return"function"===typeof this.props.itemIcon&&(s=d.a.createElement(this.props.itemIcon,this.props)),d.a.createElement("li",Object.assign({},t,i,o,{style:a,ref:this.saveNode}),t.children,s)}}]),n}(d.a.Component);return e.isMenuItem=!0,e.defaultProps={onSelect:J,onMouseEnter:J,onMouseLeave:J,manualRef:J},e}(),st=C((function(e,t){var n=e.activeKey,r=e.selectedKeys,i=t.eventKey,o=t.subMenuKey;return{active:n[o]===i,isSelected:-1!==r.indexOf(i)}}))(at),lt=st;function ut(e){var t=ct();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function ct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var dt=function(){var e=function(e){Object(s["a"])(n,e);var t=ut(n);function n(){var e;return Object(i["a"])(this,n),e=t.apply(this,arguments),e.renderInnerMenuItem=function(t){var n=e.props,r=n.renderMenuItem,i=n.index;return r(t,i,e.props.subMenuKey)},e}return Object(o["a"])(n,[{key:"render",value:function(){var e=Object(k["a"])({},this.props),t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i="".concat(r,"-item-group-title"),o="".concat(r,"-item-group-list"),a=e.title,s=e.children;return ie.forEach((function(t){return delete e[t]})),delete e.onClick,delete e.direction,d.a.createElement("li",Object.assign({},e,{className:"".concat(n," ").concat(r,"-item-group")}),d.a.createElement("div",{className:i,title:"string"===typeof a?a:void 0},a),d.a.createElement("ul",{className:o},d.a.Children.map(s,this.renderInnerMenuItem)))}}]),n}(d.a.Component);return e.isMenuItemGroup=!0,e.defaultProps={disabled:!0},e}(),ht=dt,ft=function(e){var t=e.className,n=e.rootPrefixCls,r=e.style;return d.a.createElement("li",{className:"".concat(t," ").concat(n,"-item-divider"),style:r})};ft.defaultProps={disabled:!0,className:"",style:{}};var pt=ft;t["f"]=tt},"1lwE":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return n.e(215).then(n.bind(null,"cOMg"))}})},"1tlw":function(e,t,n){var r=n("MBQ8"),i=r.extend({type:"series.pictorialBar",dependencies:["grid"],defaultOption:{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,hoverAnimation:!1},getInitialData:function(e){return e.stack=null,i.superApply(this,"getInitialData",arguments)}}),o=i;e.exports=o},"1u/T":function(e,t,n){var r=n("ProS"),i={type:"selectDataRange",event:"dataRangeSelected",update:"update"};r.registerAction(i,(function(e,t){t.eachComponent({mainType:"visualMap",query:e},(function(t){t.setSelected(e.selected)}))}))},"1vzs":function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),i=n("HQEm"),o=n.n(i),a=n("gZBC"),s=n.n(a),l=n("NAnI"),u=n.n(l),c=n("V/uB"),d=n.n(c),h=n("kbBi"),f=n.n(h),p=n("w6Tc"),g=n.n(p);function m(e){var t=e.suffixIcon,n=e.clearIcon,i=e.menuItemSelectedIcon,a=e.removeIcon,l=e.loading,c=e.multiple,h=n;n||(h=r["createElement"](f.a,null));var p=null;p=void 0!==t?t:l?r["createElement"](s.a,{spin:!0}):function(e){var t=e.open,n=e.showSearch;return t&&n?r["createElement"](g.a,null):r["createElement"](o.a,null)};var m=null;m=void 0!==i?i:c?r["createElement"](u.a,null):null;var v=null;return v=void 0!==a?a:r["createElement"](d.a,null),{clearIcon:h,suffixIcon:p,itemIcon:m,removeIcon:v}}},"1wcP":function(e,t,n){},"1xaR":function(e,t,n){var r=n("ProS"),i=n("bYtY");n("qgGe"),n("NA0q"),n("RPvy");var o=n("mOdp"),a=n("y3NT"),s=n("0/Rx");r.registerVisual(i.curry(o,"sunburst")),r.registerLayout(i.curry(a,"sunburst")),r.registerProcessor(i.curry(s,"sunburst"))},"2/Rp":function(e,t,n){"use strict";var r=n("zvFY");t["a"]=r["b"]},"23p7":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return n.e(168).then(n.bind(null,"aA7r"))}})},"24YM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SensorTabIndex=t.SensorClassName=t.SizeSensorId=void 0;var r="size-sensor-id";t.SizeSensorId=r;var i="size-sensor-object";t.SensorClassName=i;var o="-1";t.SensorTabIndex=o},"24hK":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("JYp7"),i=function(){function e(t){this.element=t,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),o=function(){function e(){this._first=i.Undefined,this._last=i.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===i.Undefined},e.prototype.clear=function(){this._first=i.Undefined,this._last=i.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,t){var n=this,r=new i(e);if(this._first===i.Undefined)this._first=r,this._last=r;else if(t){var o=this._last;this._last=r,r.prev=o,o.next=r}else{var a=this._first;this._first=r,r.next=a,a.prev=r}this._size+=1;var s=!1;return function(){s||(s=!0,n._remove(r))}},e.prototype.shift=function(){if(this._first!==i.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==i.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==i.Undefined&&e.next!==i.Undefined){var t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===i.Undefined&&e.next===i.Undefined?(this._first=i.Undefined,this._last=i.Undefined):e.next===i.Undefined?(this._last=this._last.prev,this._last.next=i.Undefined):e.prev===i.Undefined&&(this._first=this._first.next,this._first.prev=i.Undefined);this._size-=1},e.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t===i.Undefined?r["b"]:(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e)}}},e.prototype.toArray=function(){for(var e=[],t=this._first;t!==i.Undefined;t=t.next)e.push(t.element);return e},e}()},2548:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("6GrX"),a=n("IUWy"),s=n("IwbS"),l=n("Qxkt"),u=n("gPAo"),c=n("eRkO"),d=r.extendComponentView({type:"toolbox",render:function(e,t,n,r){var d=this.group;if(d.removeAll(),e.get("show")){var f=+e.get("itemSize"),p=e.get("feature")||{},g=this._features||(this._features={}),m=[];i.each(p,(function(e,t){m.push(t)})),new u(this._featureNames||[],m).add(v).update(v).remove(i.curry(v,null)).execute(),this._featureNames=m,c.layout(d,e,n),d.add(c.makeBackground(d.getBoundingRect(),e)),d.eachChild((function(e){var t=e.__title,r=e.hoverStyle;if(r&&t){var i=o.getBoundingRect(t,o.makeFont(r)),a=e.position[0]+d.position[0],s=e.position[1]+d.position[1]+f,l=!1;s+i.height>n.getHeight()&&(r.textPosition="top",l=!0);var u=l?-5-i.height:f+8;a+i.width/2>n.getWidth()?(r.textPosition=["100%",u],r.textAlign="right"):a-i.width/2<0&&(r.textPosition=[0,u],r.textAlign="left")}}))}function v(i,o){var s,u=m[i],c=m[o],d=p[u],f=new l(d,e,e.ecModel);if(r&&null!=r.newTitle&&r.featureName===u&&(d.title=r.newTitle),u&&!c){if(h(u))s={model:f,onclick:f.option.onclick,featureName:u};else{var v=a.get(u);if(!v)return;s=new v(f,t,n)}g[u]=s}else{if(s=g[c],!s)return;s.model=f,s.ecModel=t,s.api=n}u||!c?f.get("show")&&!s.unusable?(y(f,s,u),f.setIconStatus=function(e,t){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[e]=t,r[e]&&r[e].trigger(t)},s.render&&s.render(f,t,n,r)):s.remove&&s.remove(t,n):s.dispose&&s.dispose(t,n)}function y(r,o,a){var l=r.getModel("iconStyle"),u=r.getModel("emphasis.iconStyle"),c=o.getIcons?o.getIcons():r.get("icon"),h=r.get("title")||{};if("string"===typeof c){var p=c,g=h;c={},h={},c[a]=p,h[a]=g}var m=r.iconPaths={};i.each(c,(function(a,c){var p=s.createIcon(a,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:h[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=e.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",i.extend({content:h[c],formatter:g.get("formatter",!0)||function(){return h[c]},formatterParams:{componentType:"toolbox",name:c,title:h[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),e.get("showTitle")&&(p.__title=h[c],p.on("mouseover",(function(){var t=u.getItemStyle(),n="vertical"===e.get("orient")?null==e.get("right")?"right":"left":null==e.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||t.fill||t.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(r.get("iconStatus."+c)||"normal"),d.add(p),p.on("click",i.bind(o.onclick,o,t,n,c)),m[c]=p}))}},updateView:function(e,t,n,r){i.each(this._features,(function(e){e.updateView&&e.updateView(e.model,t,n,r)}))},remove:function(e,t){i.each(this._features,(function(n){n.remove&&n.remove(e,t)})),this.group.removeAll()},dispose:function(e,t){i.each(this._features,(function(n){n.dispose&&n.dispose(e,t)}))}});function h(e){return 0===e.indexOf("my")}e.exports=d},"2B6p":function(e,t){function n(e,t,n){var r=e.getZoom(),i=e.getCenter(),o=t.zoom,a=e.dataToPoint(i);if(null!=t.dx&&null!=t.dy){a[0]-=t.dx,a[1]-=t.dy;i=e.pointToData(a);e.setCenter(i)}if(null!=o){if(n){var s=n.min||0,l=n.max||1/0;o=Math.max(Math.min(r*o,l),s)/r}e.scale[0]*=o,e.scale[1]*=o;var u=e.position,c=(t.originX-u[0])*(o-1),d=(t.originY-u[1])*(o-1);u[0]-=c,u[1]-=d,e.updateTransform();i=e.pointToData(a);e.setCenter(i),e.setZoom(o*r)}return{center:e.getCenter(),zoom:e.getZoom()}}t.updateCenterAndZoom=n},"2BaD":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CloseCircleOutlined";t["a"]=r["forwardRef"](s)},"2DNl":function(e,t,n){var r=n("IMiH"),i=n("loD1"),o=n("59Ip"),a=n("aKvl"),s=n("n1HI"),l=n("hX1E"),u=l.normalizeRadian,c=n("Sj9i"),d=n("hyiK"),h=r.CMD,f=2*Math.PI,p=1e-4;function g(e,t){return Math.abs(e-t)<p}var m=[-1,-1,-1],v=[-1,-1];function y(){var e=v[0];v[0]=v[1],v[1]=e}function b(e,t,n,r,i,o,a,s,l,u){if(u>t&&u>r&&u>o&&u>s||u<t&&u<r&&u<o&&u<s)return 0;var d=c.cubicRootAt(t,r,o,s,u,m);if(0===d)return 0;for(var h,f,p=0,g=-1,b=0;b<d;b++){var _=m[b],w=0===_||1===_?.5:1,x=c.cubicAt(e,n,i,a,_);x<l||(g<0&&(g=c.cubicExtrema(t,r,o,s,v),v[1]<v[0]&&g>1&&y(),h=c.cubicAt(t,r,o,s,v[0]),g>1&&(f=c.cubicAt(t,r,o,s,v[1]))),2===g?_<v[0]?p+=h<t?w:-w:_<v[1]?p+=f<h?w:-w:p+=s<f?w:-w:_<v[0]?p+=h<t?w:-w:p+=s<h?w:-w)}return p}function _(e,t,n,r,i,o,a,s){if(s>t&&s>r&&s>o||s<t&&s<r&&s<o)return 0;var l=c.quadraticRootAt(t,r,o,s,m);if(0===l)return 0;var u=c.quadraticExtremum(t,r,o);if(u>=0&&u<=1){for(var d=0,h=c.quadraticAt(t,r,o,u),f=0;f<l;f++){var p=0===m[f]||1===m[f]?.5:1,g=c.quadraticAt(e,n,i,m[f]);g<a||(m[f]<u?d+=h<t?p:-p:d+=o<h?p:-p)}return d}p=0===m[0]||1===m[0]?.5:1,g=c.quadraticAt(e,n,i,m[0]);return g<a?0:o<t?p:-p}function w(e,t,n,r,i,o,a,s){if(s-=t,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);m[0]=-l,m[1]=l;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c%f<1e-4){r=0,i=f;var d=o?1:-1;return a>=m[0]+e&&a<=m[1]+e?d:0}if(o){l=r;r=u(i),i=u(l)}else r=u(r),i=u(i);r>i&&(i+=f);for(var h=0,p=0;p<2;p++){var g=m[p];if(g+e>a){var v=Math.atan2(s,g);d=o?1:-1;v<0&&(v=f+v),(v>=r&&v<=i||v+f>=r&&v+f<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(d=-d),h+=d)}}return h}function x(e,t,n,r,l){for(var u=0,c=0,f=0,p=0,m=0,v=0;v<e.length;){var y=e[v++];switch(y===h.M&&v>1&&(n||(u+=d(c,f,p,m,r,l))),1===v&&(c=e[v],f=e[v+1],p=c,m=f),y){case h.M:p=e[v++],m=e[v++],c=p,f=m;break;case h.L:if(n){if(i.containStroke(c,f,e[v],e[v+1],t,r,l))return!0}else u+=d(c,f,e[v],e[v+1],r,l)||0;c=e[v++],f=e[v++];break;case h.C:if(n){if(o.containStroke(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],t,r,l))return!0}else u+=b(c,f,e[v++],e[v++],e[v++],e[v++],e[v],e[v+1],r,l)||0;c=e[v++],f=e[v++];break;case h.Q:if(n){if(a.containStroke(c,f,e[v++],e[v++],e[v],e[v+1],t,r,l))return!0}else u+=_(c,f,e[v++],e[v++],e[v],e[v+1],r,l)||0;c=e[v++],f=e[v++];break;case h.A:var x=e[v++],C=e[v++],S=e[v++],O=e[v++],k=e[v++],E=e[v++];v+=1;var D=1-e[v++],M=Math.cos(k)*S+x,N=Math.sin(k)*O+C;v>1?u+=d(c,f,M,N,r,l):(p=M,m=N);var L=(r-x)*O/S+x;if(n){if(s.containStroke(x,C,O,k,k+E,D,t,L,l))return!0}else u+=w(x,C,O,k,k+E,D,L,l);c=Math.cos(k+E)*S+x,f=Math.sin(k+E)*O+C;break;case h.R:p=c=e[v++],m=f=e[v++];var I=e[v++],T=e[v++];M=p+I,N=m+T;if(n){if(i.containStroke(p,m,M,m,t,r,l)||i.containStroke(M,m,M,N,t,r,l)||i.containStroke(M,N,p,N,t,r,l)||i.containStroke(p,N,p,m,t,r,l))return!0}else u+=d(M,m,M,N,r,l),u+=d(p,N,p,m,r,l);break;case h.Z:if(n){if(i.containStroke(c,f,p,m,t,r,l))return!0}else u+=d(c,f,p,m,r,l);c=p,f=m;break}}return n||g(f,m)||(u+=d(c,f,p,m,r,l)||0),0!==u}function C(e,t,n){return x(e,0,!1,t,n)}function S(e,t,n,r){return x(e,t,!0,n,r)}t.contain=C,t.containStroke=S},"2MPD":function(e,t,n){},"2Nb0":function(e,t,n){n("FlQf"),n("bBy9"),e.exports=n("zLkG").f("iterator")},"2Qr1":function(e,t,n){"use strict";n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"b",(function(){return x})),n.d(t,"f",(function(){return C})),n.d(t,"g",(function(){return S})),n.d(t,"a",(function(){return O}));var r=n("KQm4"),i=n("DSFK"),o=n("25BE"),a=n("BsWD"),s=n("PYwp");function l(e){return Object(i["a"])(e)||Object(o["a"])(e)||Object(a["a"])(e)||Object(s["a"])()}var u=n("U8pU"),c=n("rePB"),d=n("Kwbf"),h=n("WKfj");function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){Object(c["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t){var n,r=e.key;return"value"in e&&(n=e.value),null!==r&&void 0!==r?r:void 0!==n?n:"rc-index-key-".concat(t)}function m(e){var t=[];function n(e,r){e.forEach((function(e){r||!("options"in e)?t.push({key:g(e,t.length),groupOption:r,data:e}):(t.push({key:g(e,t.length),group:!0,data:e}),n(e.options,!0))}))}return n(e,!1),t}function v(e){var t=p({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Object(d["a"])(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}function y(e,t){var n=new Map;return t.forEach((function(e){if(!e.group){var t=e.data;n.set(t.value,t)}})),e.map((function(e){return v(n.get(e))}))}var b=function(e,t){var n,r=t.options,i=t.prevValue,o=t.labelInValue,a=t.optionLabelProp,s=y([e],r)[0],l={value:e},c=Object(h["d"])(i);return o&&(n=c.find((function(t){return"object"===Object(u["a"])(t)&&"value"in t?t.value===e:t.key===e}))),n&&"object"===Object(u["a"])(n)&&"label"in n?(l.label=n.label,s&&"string"===typeof n.label&&"string"===typeof s[a]&&n.label.trim()!==s[a].trim()&&Object(d["a"])(!1,"`label` of `value` is not same as `label` in Select options.")):l.label=s&&a in s?s[a]:e,l.key=l.value,l};function _(e){return Object(h["d"])(e).join("")}function w(e){return function(t,n){var r=t.toLowerCase();if("options"in n)return _(n.label).toLowerCase().includes(r);var i=n[e],o=_(i).toLowerCase();return o.includes(r)&&!n.disabled}}function x(e,t,n){var r,i=n.optionFilterProp,o=n.filterOption,a=[];return!1===o?t:(r="function"===typeof o?o:w(i),t.forEach((function(t){if("options"in t){var n=r(e,t);if(n)a.push(t);else{var i=t.options.filter((function(t){return r(e,t)}));i.length&&a.push(p(p({},t),{},{options:i}))}}else r(e,v(t))&&a.push(t)})),a)}function C(e,t){if(!t||!t.length)return null;var n=!1;function i(e,t){var o=l(t),a=o[0],s=o.slice(1);if(!a)return[e];var u=e.split(a);return n=n||u.length>1,u.reduce((function(e,t){return[].concat(Object(r["a"])(e),Object(r["a"])(i(t,s)))}),[]).filter((function(e){return e}))}var o=i(e,t);return n?o:null}function S(e,t){var n=y([e],t)[0];return n.disabled}function O(e,t,n,i){var o=Object(h["d"])(t).slice().sort(),a=Object(r["a"])(e),s=new Set;return e.forEach((function(e){e.options?e.options.forEach((function(e){s.add(e.value)})):s.add(e.value)})),o.forEach((function(e){var t,r=i?e.value:e;s.has(r)||a.push(i?(t={},Object(c["a"])(t,n,e.label),Object(c["a"])(t,"value",r),t):{value:r})})),a}},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"2W6z":function(e,t,n){"use strict";var r=!1,i=function(){};if(r){var o=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r<n;r++)t[r-1]=arguments[r];var i=0,o="Warning: "+e.replace(/%s/g,(function(){return t[i++]}));"undefined"!==typeof console&&console.error(o);try{throw new Error(o)}catch(a){}};i=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||o.apply(null,[t].concat(n))}}e.exports=i},"2dDv":function(e,t,n){var r=n("bYtY"),i=n("Fofx"),o=n("+TT/"),a=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),d=r.each,h=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=u.round,v=Math.PI;function y(e,t,n){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=e.dimensions,this._rect,this._model=e,this._init(e,t,n)}function b(e,t){return h(f(e,t[0]),t[1])}function _(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function w(e,t){var n,r,i=t.layoutLength,o=t.axisExpandWidth,a=t.axisCount,s=t.axisCollapseWidth,l=t.winInnerIndices,u=s,c=!1;return e<l[0]?(n=e*s,r=s):e<=l[1]?(n=t.axisExpandWindow0Pos+e*o-t.axisExpandWindow[0],u=o,c=!0):(n=i-(a-1-e)*s,r=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:r}}y.prototype={type:"parallel",constructor:y,_init:function(e,t,n){var r=e.dimensions,i=e.parallelAxisIndex;d(r,(function(e,n){var r=i[n],o=t.getComponent("parallelAxis",r),l=this._axesMap.set(e,new s(e,a.createScaleByModel(o),[0,0],o.get("type"),r)),u="category"===l.type;l.onBand=u&&o.get("boundaryGap"),l.inverse=o.get("inverse"),o.axis=l,l.model=o,l.coordinateSystem=o.coordinateSystem=this}),this)},update:function(e,t){this._updateAxesFromSeries(this._model,e)},containPoint:function(e){var t=this._makeLayoutInfo(),n=t.axisBase,r=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],a=e[i];return o>=n&&o<=n+t.axisLength&&a>=r&&a<=r+t.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(e,t){t.eachSeries((function(n){if(e.contains(n,t)){var r=n.getData();d(this.dimensions,(function(e){var t=this._axesMap.get(e);t.scale.unionExtentFromData(r,r.mapDimension(e)),a.niceScaleExtent(t.scale,t.model)}),this)}}),this)},resize:function(e,t){this._rect=o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var e,t=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=t.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=b(t.get("axisExpandWidth"),l),d=b(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=t.get("axisExpandWindow");if(f)e=b(f[1]-f[0],l),f[1]=f[0]+e;else{e=b(c*(d-1),l);var v=t.get("axisExpandCenter")||p(u/2);f=[c*v-e/2],f[1]=f[0]+e}var y=(s-e)/(u-d);y<3&&(y=0);var _=[p(m(f[0]/c,1))+1,g(m(f[1]/c,1))-1],w=y/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:y,axisExpandWindow:f,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:w}},_layoutAxes:function(){var e=this._rect,t=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;t.each((function(e){var t=[0,r.axisLength],n=e.inverse?1:0;e.setExtent(t[n],t[1-n])})),d(n,(function(t,n){var a=(r.axisExpandable?w:_)(n,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l={horizontal:v/2,vertical:0},u=[s[o].x+e.x,s[o].y+e.y],c=l[o],d=i.create();i.rotate(d,d,c),i.translate(d,d,u),this._axesLayout[t]={position:u,rotation:c,transform:d,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(e){return this._axesMap.get(e)},dataToPoint:function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},eachActiveState:function(e,t,n,i){null==n&&(n=0),null==i&&(i=e.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];r.each(a,(function(t){s.push(e.mapDimension(t)),l.push(o.get(t).model)}));for(var u=this.hasAxisBrushed(),c=n;c<i;c++){var d;if(u){d="active";for(var h=e.getValues(s,c),f=0,p=a.length;f<p;f++){var g=l[f].getActiveState(h[f]);if("inactive"===g){d="inactive";break}}}else d="normal";t(d,c)}},hasAxisBrushed:function(){for(var e=this.dimensions,t=this._axesMap,n=!1,r=0,i=e.length;r<i;r++)"normal"!==t.get(e[r]).model.getActiveState()&&(n=!0);return n},axisCoordToPoint:function(e,t){var n=this._axesLayout[t];return l.applyTransform([e,0],n.transform)},getAxisLayout:function(e){return r.clone(this._axesLayout[e])},getSlidedAxisExpandWindow:function(e){var t=this._makeLayoutInfo(),n=t.pixelDimIndex,r=t.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,t.axisExpandWidth*(t.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:r};var a,s=e[n]-t.layoutBase-t.axisExpandWindow0Pos,l="slide",u=t.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),p=null!=d[0];if(u)p&&u&&s<i*d[0]?(l="jump",a=s-i*d[2]):p&&u&&s>i*(1-d[0])?(l="jump",a=s-i*(1-d[2])):(a=s-i*d[1])>=0&&(a=s-i*(1-d[1]))<=0&&(a=0),a*=t.axisExpandWidth/u,a?c(a,r,o,"all"):l="none";else{i=r[1]-r[0];var g=o[1]*s/i;r=[f(0,g-i/2)],r[1]=h(o[1],r[0]+i),r[0]=r[1]-i}return{axisExpandWindow:r,behavior:l}}};var x=y;e.exports=x},"2fGM":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});r.merge(s.prototype,a);var l={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function u(e,t){return t.type||(t.data?"category":"value")}o("angle",s,u,l.angle),o("radius",s,u,l.radius)},"2fM7":function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("BGR+"),a=n("TSYQ"),s=n.n(a),l=n("1OyB"),u=n("vuIU"),c=n("Ji7U"),d=n("md7G"),h=n("foSv"),f=n("rePB"),p=n("Ff2n"),g=n("ODXe"),m=n("4IlW"),v=n("bX4T"),y=n("YrtM"),b=n("+nKL"),_=n("8OUc"),w=function(e,t){var n=e.prefixCls,i=e.id,o=e.flattenOptions,a=e.childrenAsData,l=e.values,u=e.searchValue,c=e.multiple,d=e.defaultActiveFirstOption,h=e.height,w=e.itemHeight,x=e.notFoundContent,C=e.open,S=e.menuItemSelectedIcon,O=e.virtual,k=e.onSelect,E=e.onToggleOpen,D=e.onActiveValue,M=e.onScroll,N="".concat(n,"-item"),L=Object(y["a"])((function(){return o}),[C,o],(function(e,t){return t[0]&&e[1]!==t[1]})),I=r["useRef"](null),T=function(e){e.preventDefault()},P=function(e){I.current&&I.current.scrollTo({index:e})},A=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=L.length,r=0;r<n;r+=1){var i=(e+r*t+n)%n,o=L[i],a=o.group,s=o.data;if(!a&&!s.disabled)return i}return-1},R=r["useState"]((function(){return A(0)})),j=Object(g["a"])(R,2),F=j[0],B=j[1],V=function(e){B(e);var t=L[e];t?D(t.data.value,e):D(null,-1)};r["useEffect"]((function(){V(!1!==d?A(0):-1)}),[L.length,u]),r["useEffect"]((function(){var e=setTimeout((function(){if(!c&&C&&1===l.size){var e=Array.from(l)[0],t=L.findIndex((function(t){var n=t.data;return n.value===e}));V(t),P(t)}}));return function(){return clearTimeout(e)}}),[C]);var z=function(e){void 0!==e&&k(e,{selected:!l.has(e)}),c||E(!1)};if(r["useImperativeHandle"](t,(function(){return{onKeyDown:function(e){var t=e.which;switch(t){case m["a"].UP:case m["a"].DOWN:var n=0;if(t===m["a"].UP?n=-1:t===m["a"].DOWN&&(n=1),0!==n){var r=A(F+n,n);P(r),V(r)}break;case m["a"].ENTER:var i=L[F];i&&!i.data.disabled?z(i.data.value):z(void 0),C&&e.preventDefault();break;case m["a"].ESC:E(!1)}},onKeyUp:function(){},scrollTo:function(e){P(e)}}})),0===L.length)return r["createElement"]("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(N,"-empty"),onMouseDown:T},x);function W(e){var t=L[e];if(!t)return null;var n=t.data||{},o=n.value,s=n.label,u=n.children,c=Object(v["a"])(n,!0),d=a?u:s;return t?r["createElement"]("div",Object.assign({"aria-label":"string"===typeof d?d:null},c,{key:e,role:"option",id:"".concat(i,"_list_").concat(e),"aria-selected":l.has(o)}),o):null}return r["createElement"](r["Fragment"],null,r["createElement"]("div",{role:"listbox",id:"".concat(i,"_list"),style:{height:0,width:0,overflow:"hidden"}},W(F-1),W(F),W(F+1)),r["createElement"](b["a"],{itemKey:"key",ref:I,data:L,height:h,itemHeight:w,fullHeight:!1,onMouseDown:T,onScroll:M,virtual:O},(function(e,t){var n,i=e.group,o=e.groupOption,u=e.data,c=u.label,d=u.key;if(i)return r["createElement"]("div",{className:s()(N,"".concat(N,"-group"))},void 0!==c?c:d);var h=u.disabled,g=u.value,m=u.title,v=u.children,y=u.style,b=u.className,w=Object(p["a"])(u,["disabled","value","title","children","style","className"]),x=l.has(g),C="".concat(N,"-option"),O=s()(N,C,b,(n={},Object(f["a"])(n,"".concat(C,"-grouped"),o),Object(f["a"])(n,"".concat(C,"-active"),F===t&&!h),Object(f["a"])(n,"".concat(C,"-disabled"),h),Object(f["a"])(n,"".concat(C,"-selected"),x),n)),k=a?v:c,E=!S||"function"===typeof S||x;return r["createElement"]("div",Object.assign({},w,{"aria-selected":x,className:O,title:m,onMouseMove:function(){F===t||h||V(t)},onClick:function(){h||z(g)},style:y}),r["createElement"]("div",{className:"".concat(C,"-content")},k||g),r["isValidElement"](S)||x,E&&r["createElement"](_["a"],{className:"".concat(N,"-option-state"),customizeIcon:S,customizeIconProps:{isSelected:x}},x?"\u2713":null))})))},x=r["forwardRef"](w);x.displayName="OptionList";var C=x,S=function(){return null};S.isSelectOption=!0;var O=S,k=function(){return null};k.isSelectOptGroup=!0;var E=k,D=n("Zm9Q");function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function L(e){var t=e.key,n=e.props,r=n.children,i=n.value,o=Object(p["a"])(n,["children","value"]);return N({key:t,value:void 0!==i?i:t,children:r},o)}function I(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object(D["a"])(e).map((function(e,n){if(!r["isValidElement"](e)||!e.type)return null;var i=e.type.isSelectOptGroup,o=e.key,a=e.props,s=a.children,l=Object(p["a"])(a,["children"]);return t||!i?L(e):N(N({key:"__RC_SELECT_GRP__".concat(null===o?n:o,"__"),label:o},l),{},{options:I(s)})})).filter((function(e){return e}))}var T=n("2Qr1"),P=n("qNPg"),A=n("U8pU"),R=n("Kwbf"),j=n("WKfj");function F(e){var t=e.mode,n=e.options,r=e.children,o=e.backfill,a=e.allowClear,s=e.placeholder,l=e.getInputElement,u=e.showSearch,c=e.onSearch,d=e.defaultOpen,h=e.autoFocus,f=e.labelInValue,p=e.value,g=e.inputValue,m=e.optionLabelProp,v="multiple"===t||"tags"===t,y=void 0!==u?u:v||"combobox"===t,b=n||I(r);if(Object(R["a"])("tags"!==t||b.every((function(e){return!e.disabled})),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),"tags"===t||"combobox"===t){var _=b.some((function(e){return e.options?e.options.some((function(e){return"number"===typeof("value"in e?e.value:e.key)})):"number"===typeof("value"in e?e.value:e.key)}));Object(R["a"])(!_,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(R["a"])("combobox"!==t||!m,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(R["a"])("combobox"===t||!o,"`backfill` only works with `combobox` mode."),Object(R["a"])("combobox"===t||!l,"`getInputElement` only work with `combobox` mode."),Object(R["b"])("combobox"!==t||!l||!a||!s,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),c&&!y&&"combobox"!==t&&"tags"!==t&&Object(R["a"])(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(R["b"])(!d||h,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),void 0!==p&&null!==p){var w=Object(j["d"])(p);Object(R["a"])(!f||w.every((function(e){return"object"===Object(A["a"])(e)&&("key"in e||"value"in e)})),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(R["a"])(!v||Array.isArray(p),"`value` should be array when `mode` is `multiple` or `tags`")}if(r){var x=null;Object(D["a"])(r).some((function(e){if(!i.a.isValidElement(e)||!e.type)return!1;var t=e.type;if(t.isSelectOption)return!1;if(t.isSelectOptGroup){var n=Object(D["a"])(e.props.children).every((function(t){return!(i.a.isValidElement(t)&&e.type&&!t.type.isSelectOption)||(x=t.type,!1)}));return!n}return x=t,!0})),x&&Object(R["a"])(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(x.displayName||x.name||x,"`.")),Object(R["a"])(void 0===g,"`inputValue` is deprecated, please use `searchValue` instead.")}}var B=F;function V(e){var t=z();return function(){var n,r=Object(h["a"])(e);if(t){var i=Object(h["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(d["a"])(this,n)}}function z(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var W=Object(P["a"])({prefixCls:"rc-select",components:{optionList:C},convertChildrenToData:I,flattenOptions:T["d"],getLabeledValue:T["e"],filterOptions:T["b"],isValueDisabled:T["g"],findValueOption:T["c"],warningProps:B,fillOptionsWithMissingValue:T["a"]}),H=function(){var e=function(e){Object(c["a"])(n,e);var t=V(n);function n(){var e;return Object(l["a"])(this,n),e=t.apply(this,arguments),e.selectRef=i.a.createRef(),e.focus=function(){e.selectRef.current.focus()},e.blur=function(){e.selectRef.current.blur()},e}return Object(u["a"])(n,[{key:"render",value:function(){return i.a.createElement(W,Object.assign({ref:this.selectRef},this.props))}}]),n}(i.a.Component);return e.Option=O,e.OptGroup=E,e}(),U=H,K=U,G=n("H84U"),q=n("1vzs"),Y=n("3Nzz");function X(e){return X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ee(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),e}function te(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ne(e,t)}function ne(e,t){return ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ne(e,t)}function re(e){var t=ae();return function(){var n,r=se(e);if(t){var i=se(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ie(this,n)}}function ie(e,t){return!t||"object"!==X(t)&&"function"!==typeof t?oe(e):t}function oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ae(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},se(e)}var le=function(e){te(n,e);var t=re(n);function n(){var e;return $(this,n),e=t.apply(this,arguments),e.selectRef=r["createRef"](),e.focus=function(){e.selectRef.current&&e.selectRef.current.focus()},e.blur=function(){e.selectRef.current&&e.selectRef.current.blur()},e.getMode=function(){var t=e.props.mode;if("combobox"!==t)return t===n.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":t},e.renderSelect=function(t){var n,i=t.getPopupContainer,a=t.getPrefixCls,l=t.renderEmpty,u=t.direction,c=t.virtual,d=t.dropdownMatchSelectWidth,h=e.props,f=h.prefixCls,p=h.notFoundContent,g=h.className,m=h.size,v=h.listHeight,y=void 0===v?256:v,b=h.listItemHeight,_=void 0===b?24:b,w=h.getPopupContainer,x=h.dropdownClassName,C=h.bordered,S=a("select",f),O=e.getMode(),k="multiple"===O||"tags"===O;n=void 0!==p?p:"combobox"===O?null:l("Select");var E=Object(q["a"])(Q(Q({},e.props),{multiple:k})),D=E.suffixIcon,M=E.itemIcon,N=E.removeIcon,L=E.clearIcon,I=Object(o["a"])(e.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),T=s()(x,Z({},"".concat(S,"-dropdown-").concat(u),"rtl"===u));return r["createElement"](Y["b"].Consumer,null,(function(t){var o,a=m||t,l=s()(g,(o={},Z(o,"".concat(S,"-lg"),"large"===a),Z(o,"".concat(S,"-sm"),"small"===a),Z(o,"".concat(S,"-rtl"),"rtl"===u),Z(o,"".concat(S,"-borderless"),!C),o));return r["createElement"](K,Q({ref:e.selectRef,virtual:c,dropdownMatchSelectWidth:d},I,{listHeight:y,listItemHeight:_,mode:O,prefixCls:S,direction:u,inputIcon:D,menuItemSelectedIcon:M,removeIcon:N,clearIcon:L,notFoundContent:n,className:l,getPopupContainer:w||i,dropdownClassName:T}))}))},e}return ee(n,[{key:"render",value:function(){return r["createElement"](G["a"],null,this.renderSelect)}}]),n}(r["Component"]);le.Option=O,le.OptGroup=E,le.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",le.defaultProps={transitionName:"slide-up",choiceTransitionName:"zoom",bordered:!0};t["a"]=le},"2fw6":function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(e,t,n){n&&e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI,!0)}});e.exports=i},"2gN3":function(e,t,n){var r=n("Kz5y"),i=r["__core-js_shared__"];e.exports=i},"2jpz":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("gZBC"),s=n.n(a),l=n("vk+C"),u=n.n(l),c=n("pG52"),d=n.n(c),h=n("Csr3"),f=n.n(h),p=n("e5VY"),g=n.n(p),m=n("0n0R");function v(e,t,n,i){var a=i.isLeaf,l=i.expanded,c=i.loading;if(c)return r["createElement"](s.a,{className:"".concat(e,"-switcher-loading-icon")});if(a)return n?r["createElement"](u.a,{className:"".concat(e,"-switcher-line-icon")}):null;var h="".concat(e,"-switcher-icon");return Object(m["b"])(t)?Object(m["a"])(t,{className:o()(t.props.className||"",h)}):t||(n?l?r["createElement"](d.a,{className:"".concat(e,"-switcher-line-icon")}):r["createElement"](f.a,{className:"".concat(e,"-switcher-line-icon")}):r["createElement"](g.a,{className:h}))}},"2oIt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};t.default=r},"2qtc":function(e,t,n){"use strict";n("cIOH"),n("1wcP"),n("+L6B")},"2uGb":function(e,t,n){var r=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var i=n("kMLO"),o=n("nKiI");r.registerVisual(i),r.registerLayout(o)},"2w7y":function(e,t,n){var r=n("ProS");n("qMZE"),n("g0SD"),r.registerPreprocessor((function(e){e.markPoint=e.markPoint||{}}))},"3/fG":function(e,t,n){"use strict";function r(e,t){var n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0];return"undefined"!==typeof t[r]?t[r]:e})),n}function i(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return r(t,n)}n.d(t,"a",(function(){return i}))},"33Ds":function(e,t,n){var r=n("ProS"),i=n("b9oc"),o=n("Kagy"),a=n("IUWy"),s=o.toolbox.restore;function l(e){this.model=e}l.defaultOption={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:s.title};var u=l.prototype;u.onclick=function(e,t,n){i.clear(e),t.dispatchAction({type:"restore",from:this.uid})},a.register("restore",l),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(e,t){t.resetOption("recreate")}));var c=l;e.exports=c},"3A9y":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"3C/r":function(e,t){var n=function(e,t){this.image=e,this.repeat=t,this.type="pattern"};n.prototype.getCanvasPattern=function(e){return e.createPattern(this.image,this.repeat||"repeat")};var r=n;e.exports=r},"3CBa":function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("bYtY"),a=n("SUKs"),s=n("y+Vt"),l=n("Dagg"),u=n("dqUG"),c=n("DBLp"),d=n("sW+o"),h=n("n6Mw"),f=n("vKoX"),p=n("P47w"),g=p.path,m=p.image,v=p.text;function y(e){return parseInt(e,10)}function b(e){return e instanceof s?g:e instanceof l?m:e instanceof u?v:g}function _(e,t){return t&&e&&t.parentNode!==e}function w(e,t,n){if(_(e,t)&&n){var r=n.nextSibling;r?e.insertBefore(t,r):e.appendChild(t)}}function x(e,t){if(_(e,t)){var n=e.firstChild;n?e.insertBefore(t,n):e.appendChild(t)}}function C(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)}function S(e){return e.__textSvgEl}function O(e){return e.__svgEl}var k=function(e,t,n,r){this.root=e,this.storage=t,this._opts=n=o.extend({},n||{});var a=i("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;";var s=i("g");a.appendChild(s);var l=i("g");a.appendChild(l),this.gradientManager=new d(r,l),this.clipPathManager=new h(r,l),this.shadowManager=new f(r,l);var u=document.createElement("div");u.style.cssText="overflow:hidden;position:relative",this._svgDom=a,this._svgRoot=l,this._backgroundRoot=s,this._viewport=u,e.appendChild(u),u.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};function E(e){return function(){a('In SVG mode painter not support method "'+e+'"')}}k.prototype={constructor:k,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0);this._paintList(e)},setBackgroundColor:function(e){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var t=i("rect");t.setAttribute("width",this.getWidth()),t.setAttribute("height",this.getHeight()),t.setAttribute("x",0),t.setAttribute("y",0),t.setAttribute("id",0),t.style.fill=e,this._backgroundRoot.appendChild(t),this._backgroundNode=t},_paintList:function(e){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var t,n=this._svgRoot,r=this._visibleList,i=e.length,o=[];for(t=0;t<i;t++){var a=e[t],s=b(a),l=O(a)||S(a);a.invisible||(a.__dirty&&(s&&s.brush(a),this.clipPathManager.update(a),a.style&&(this.gradientManager.update(a.style.fill),this.gradientManager.update(a.style.stroke),this.shadowManager.update(l,a)),a.__dirty=!1),o.push(a))}var u,d=c(r,o);for(t=0;t<d.length;t++){var h=d[t];if(h.removed)for(var f=0;f<h.count;f++){a=r[h.indices[f]],l=O(a);var p=S(a);C(n,l),C(n,p)}}for(t=0;t<d.length;t++){h=d[t];if(h.added)for(f=0;f<h.count;f++){a=o[h.indices[f]],l=O(a),p=S(a);u?w(n,l,u):x(n,l),l?w(n,p,l):u?w(n,p,u):x(n,p),w(n,p,l),u=p||l||u,this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a)}else if(!h.removed)for(f=0;f<h.count;f++){a=o[h.indices[f]],l=O(a),p=S(a),l=O(a),p=S(a);this.gradientManager.markUsed(a),this.gradientManager.addWithoutUpdate(l||p,a),this.shadowManager.markUsed(a),this.shadowManager.addWithoutUpdate(l||p,a),this.clipPathManager.markUsed(a),p&&w(n,p,l),u=l||p||u}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=o},_getDefs:function(e){var t=this._svgDom,n=t.getElementsByTagName("defs");if(0===n.length){if(e){n=t.insertBefore(i("defs"),t.firstChild);return n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var r=t.length-1;r>=0;--r)if(t[r]===e)return!0;return!1}),n}return null}return n[0]},resize:function(e,t){var n=this._viewport;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||this._height!==t){this._width=e,this._height=t;var i=n.style;i.width=e+"px",i.height=t+"px";var o=this._svgDom;o.setAttribute("width",e),o.setAttribute("height",t)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",e),this._backgroundNode.setAttribute("height",t))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],r=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||y(s[n])||y(a.style[n]))-(y(s[i])||0)-(y(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},toDataURL:function(){this.refresh();var e=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,">\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+e}},o.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],(function(e){k.prototype[e]=E(e)}));var D=k;e.exports=D},"3Fdi":function(e,t){var n=Function.prototype,r=n.toString;function i(e){if(null!=e){try{return r.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},"3GJH":function(e,t,n){n("lCc8");var r=n("WEpk").Object;e.exports=function(e,t){return r.create(e,t)}},"3LNs":function(e,t,n){var r=n("bYtY"),i=n("Yl7c"),o=n("IwbS"),a=n("zTMp"),s=n("YH21"),l=n("iLNv"),u=n("4NO4"),c=u.makeInner,d=c(),h=r.clone,f=r.bind;function p(){}function g(e,t,n,r){m(d(n).lastProp,r)||(d(n).lastProp=r,t?o.updateProps(n,r,e):(n.stopAnimation(),n.attr(r)))}function m(e,t){if(r.isObject(e)&&r.isObject(t)){var n=!0;return r.each(t,(function(t,r){n=n&&m(e[r],t)})),!!n}return e===t}function v(e,t){e[t.get("label.show")?"show":"hide"]()}function y(e){return{position:e.position.slice(),rotation:e.rotation||0}}function b(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}p.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(e,t,n,i){var a=t.get("value"),s=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=n,i||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,a,e,t,n);var d=c.graphicKey;d!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=d;var h=this._moveAnimation=this.determineAnimation(e,t);if(l){var f=r.curry(g,t,h);this.updatePointerEl(l,c,f,t),this.updateLabelEl(l,c,f,t)}else l=this._group=new o.Group,this.createPointerEl(l,c,e,t),this.createLabelEl(l,c,e,t),n.getZr().add(l);b(l,t,!0),this._renderHandle(a)}},remove:function(e){this.clear(e)},dispose:function(e){this.clear(e)},determineAnimation:function(e,t){var n=t.get("animation"),r=e.axis,i="category"===r.type,o=t.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(e).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(e,t,n,r,i){},createPointerEl:function(e,t,n,r){var i=t.pointer;if(i){var a=d(e).pointerEl=new o[i.type](h(t.pointer));e.add(a)}},createLabelEl:function(e,t,n,r){if(t.label){var i=d(e).labelEl=new o.Rect(h(t.label));e.add(i),v(i,r)}},updatePointerEl:function(e,t,n){var r=d(e).pointerEl;r&&t.pointer&&(r.setStyle(t.pointer.style),n(r,{shape:t.pointer.shape}))},updateLabelEl:function(e,t,n,r){var i=d(e).labelEl;i&&(i.setStyle(t.label.style),n(i,{shape:t.label.shape,position:t.label.position}),v(i,r))},_renderHandle:function(e){if(!this._dragging&&this.updateHandleTransform){var t,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return a&&i.remove(a),void(this._handle=null);this._handle||(t=!0,a=this._handle=o.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){s.stop(e.event)},onmousedown:f(this._onHandleDragMove,this,0,0),drift:f(this._onHandleDragMove,this),ondragend:f(this._onHandleDragEnd,this)}),i.add(a)),b(a,n,!1);var d=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];a.setStyle(u.getItemStyle(null,d));var h=u.get("size");r.isArray(h)||(h=[h,h]),a.attr("scale",[h[0]/2,h[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,t)}},_moveHandleToValue:function(e,t){g(this._axisPointerModel,!t&&this._moveAnimation,this._handle,y(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(e,t){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(y(n),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(y(r)),d(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var e=this._handle;if(e){var t=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(e){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),n=this._group,r=this._handle;t&&n&&(this._lastGraphicKey=null,n&&t.remove(n),r&&t.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}},p.prototype.constructor=p,i.enableClassExtend(p);var _=p;e.exports=_},"3Nzz":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("q1tI"),i=r["createContext"](void 0),o=function(e){var t=e.children,n=e.size;return r["createElement"](i.Consumer,null,(function(e){return r["createElement"](i.Provider,{value:n||e},t)}))};t["b"]=i},"3OrL":function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("IwbS"),a=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=i.extend({type:"boxplot",render:function(e,t,n){var r=e.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===e.get("layout")?1:0;r.diff(o).add((function(e){if(r.hasValue(e)){var t=r.getItemLayout(e),n=d(t,r,e,a,!0);r.setItemGraphicEl(e,n),i.add(n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(r.hasValue(e)){var s=r.getItemLayout(e);n?h(s,n,r,e):n=d(s,r,e,a),i.add(n),r.setItemGraphicEl(e,n)}else i.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&i.remove(t)})).execute(),this._data=r},remove:function(e){var t=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(e){e&&t.remove(e)}))},dispose:r.noop}),c=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(e,t){var n=t.points,r=0;for(e.moveTo(n[r][0],n[r][1]),r++;r<4;r++)e.lineTo(n[r][0],n[r][1]);for(e.closePath();r<n.length;r++)e.moveTo(n[r][0],n[r][1]),r++,e.lineTo(n[r][0],n[r][1])}});function d(e,t,n,r,i){var o=e.ends,a=new c({shape:{points:i?f(o,r,e):o}});return h(e,a,t,n,i),a}function h(e,t,n,r,i){var a=n.hostModel,u=o[i?"initProps":"updateProps"];u(t,{shape:{points:e.ends}},a,r);var c=n.getItemModel(r),d=c.getModel(s),h=n.getItemVisual(r,"color"),f=d.getItemStyle(["borderColor"]);f.stroke=h,f.strokeNoScale=!0,t.useStyle(f),t.z2=100;var p=c.getModel(l).getItemStyle();o.setHoverStyle(t,p)}function f(e,t,n){return r.map(e,(function(e){return e=e.slice(),e[t]=n.initBaseline,e}))}var p=u;e.exports=p},"3Rsk":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("ic2d"),i=n("MI8n"),o={JSONContribution:"base.contributions.json"};function a(e){return e.length>0&&"#"===e.charAt(e.length-1)?e.substring(0,e.length-1):e}var s=function(){function e(){this._onDidChangeSchema=new i["a"],this.schemasById={}}return e.prototype.registerSchema=function(e,t){this.schemasById[a(e)]=t,this._onDidChangeSchema.fire(e)},e.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},e}(),l=new s;r["a"].add(o.JSONContribution,l)},"3S7+":function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("uciX"),a={adjustX:1,adjustY:1},s=[0,0],l={left:{points:["cr","cl"],overflow:a,offset:[-4,0],targetOffset:s},right:{points:["cl","cr"],overflow:a,offset:[4,0],targetOffset:s},top:{points:["bc","tc"],overflow:a,offset:[0,-4],targetOffset:s},bottom:{points:["tc","bc"],overflow:a,offset:[0,4],targetOffset:s},topLeft:{points:["bl","tl"],overflow:a,offset:[0,-4],targetOffset:s},leftTop:{points:["tr","tl"],overflow:a,offset:[-4,0],targetOffset:s},topRight:{points:["br","tr"],overflow:a,offset:[0,-4],targetOffset:s},rightTop:{points:["tl","tr"],overflow:a,offset:[4,0],targetOffset:s},bottomRight:{points:["tr","br"],overflow:a,offset:[0,4],targetOffset:s},rightBottom:{points:["bl","br"],overflow:a,offset:[4,0],targetOffset:s},bottomLeft:{points:["tl","bl"],overflow:a,offset:[0,4],targetOffset:s},leftBottom:{points:["br","bl"],overflow:a,offset:[-4,0],targetOffset:s}},u=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle;return i.a.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"===typeof t?t():t)},c=u;function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){if(null==e)return{};var n,r,i=m(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var v=function(e,t){var n=e.overlayClassName,a=e.trigger,s=void 0===a?["hover"]:a,u=e.mouseEnterDelay,h=void 0===u?0:u,p=e.mouseLeaveDelay,m=void 0===p?.1:p,v=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,_=e.children,w=e.onVisibleChange,x=e.afterVisibleChange,C=e.transitionName,S=e.animation,O=e.placement,k=void 0===O?"right":O,E=e.align,D=void 0===E?{}:E,M=e.destroyTooltipOnHide,N=void 0!==M&&M,L=e.defaultVisible,I=e.getTooltipContainer,T=e.overlayInnerStyle,P=g(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),A=Object(r["useRef"])(null);Object(r["useImperativeHandle"])(t,(function(){return A.current}));var R=f({},P);"visible"in e&&(R.popupVisible=e.visible);var j=function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,o=e.id;return[i.a.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),i.a.createElement(c,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:T})]},F=!1,B=!1;if("boolean"===typeof N)F=N;else if(N&&"object"===d(N)){var V=N.keepParent;F=!0===V,B=!1===V}return i.a.createElement(o["a"],Object.assign({popupClassName:n,prefixCls:b,popup:j,action:s,builtinPlacements:l,popupPlacement:k,ref:A,popupAlign:D,getPopupContainer:I,onPopupVisibleChange:w,afterPopupVisibleChange:x,popupTransitionName:C,popupAnimation:S,defaultPopupVisible:L,destroyPopupOnHide:F,autoDestroy:B,mouseLeaveDelay:m,popupStyle:v,mouseEnterDelay:h},R),_)},y=Object(r["forwardRef"])(v),b=y,_=n("TSYQ"),w=n.n(_);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}var C={adjustX:1,adjustY:1},S={adjustX:0,adjustY:0},O=[0,0];function k(e){return"boolean"===typeof e?e?C:S:x(x({},S),e)}function E(e){var t=e.arrowWidth,n=void 0===t?5:t,r=e.horizontalArrowShift,i=void 0===r?16:r,o=e.verticalArrowShift,a=void 0===o?8:o,s=e.autoAdjustOverflow,u={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(i+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(a+n)]},topRight:{points:["br","tc"],offset:[i+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(a+n)]},bottomRight:{points:["tr","bc"],offset:[i+n,4]},rightBottom:{points:["bl","cr"],offset:[4,a+n]},bottomLeft:{points:["tl","bc"],offset:[-(i+n),4]},leftBottom:{points:["br","cl"],offset:[-4,a+n]}};return Object.keys(u).forEach((function(t){u[t]=e.arrowPointAtCenter?x(x({},u[t]),{overflow:k(s),targetOffset:O}):x(x({},l[t]),{overflow:k(s)}),u[t].ignoreShake=!0})),u}var D=n("0n0R"),M=n("H84U"),N=n("09Wf");function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){return j(e)||R(e,t)||P(e,t)||T()}function T(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e,t){if(e){if("string"===typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function j(e){if(Array.isArray(e))return e}function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}var B=function(e,t){var n={},r=F({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}},V=new RegExp("^(".concat(N["a"].join("|"),")(-inverse)?$"));function z(e,t){var n=e.type;if((!0===n.__ANT_BUTTON||!0===n.__ANT_SWITCH||!0===n.__ANT_CHECKBOX||"button"===e.type)&&e.props.disabled){var i=B(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=i.picked,a=i.omitted,s=F(F({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":null}),l=F(F({},a),{pointerEvents:"none"}),u=Object(D["a"])(e,{style:l,className:null});return r["createElement"]("span",{style:s,className:w()(e.props.className,"".concat(t,"-disabled-compatible-wrapper"))},u)}return e}var W=r["forwardRef"]((function(e,t){var n,i=r["useContext"](M["b"]),o=i.getPopupContainer,a=i.getPrefixCls,s=i.direction,l=r["useState"](!!e.visible||!!e.defaultVisible),u=I(l,2),c=u[0],d=u[1];r["useEffect"]((function(){"visible"in e&&d(e.visible)}),[e.visible]);var h=function(){var t=e.title,n=e.overlay;return!t&&!n&&0!==t},f=function(t){"visible"in e||d(!h()&&t),e.onVisibleChange&&!h()&&e.onVisibleChange(t)},p=function(){var t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||E({arrowPointAtCenter:n,autoAdjustOverflow:r})},g=function(e,t){var n=p(),r=Object.keys(n).filter((function(e){return n[e].points[0]===t.points[0]&&n[e].points[1]===t.points[1]}))[0];if(r){var i=e.getBoundingClientRect(),o={top:"50%",left:"50%"};r.indexOf("top")>=0||r.indexOf("Bottom")>=0?o.top="".concat(i.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(o.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?o.left="".concat(i.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},m=function(){var t=e.title,n=e.overlay;return 0===t?t:n||t||""},v=e.prefixCls,y=e.openClassName,_=e.getPopupContainer,x=e.getTooltipContainer,C=e.overlayClassName,S=e.color,O=e.overlayInnerStyle,k=e.children,N=a("tooltip",v),T=c;!("visible"in e)&&h()&&(T=!1);var P,A,R=z(Object(D["b"])(k)?k:r["createElement"]("span",null,k),N),j=R.props,B=w()(j.className,L({},y||"".concat(N,"-open"),!0)),W=w()(C,(n={},L(n,"".concat(N,"-rtl"),"rtl"===s),L(n,"".concat(N,"-").concat(S),S&&V.test(S)),n));return S&&!V.test(S)&&(P=F(F({},O),{background:S}),A={background:S}),r["createElement"](b,F({},e,{prefixCls:N,overlayClassName:W,getTooltipContainer:_||x||o,ref:t,builtinPlacements:p(),overlay:m(),visible:T,onVisibleChange:f,onPopupAlign:g,overlayInnerStyle:P,arrowContent:r["createElement"]("span",{className:"".concat(N,"-arrow-content"),style:A})}),T?Object(D["a"])(R,{className:B}):R)}));W.displayName="Tooltip",W.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};t["a"]=W},"3TkU":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3X6L":function(e,t,n){var r=n("bYtY"),i=n("7a+S"),o=n("OKJ2"),a=i.extend({type:"timeline.slider",defaultOption:{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"emptyCircle",symbolSize:10,lineStyle:{show:!0,width:2,color:"#304654"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#304654"},itemStyle:{color:"#304654",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:13,color:"#c23531",borderWidth:5,borderColor:"rgba(194,53,49, 0.5)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:22,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"path://M18.6,50.8l22.5-22.5c0.2-0.2,0.3-0.4,0.3-0.7c0-0.3-0.1-0.5-0.3-0.7L18.7,4.4c-0.1-0.1-0.2-0.3-0.2-0.5 c0-0.4,0.3-0.8,0.8-0.8c0.2,0,0.5,0.1,0.6,0.3l23.5,23.5l0,0c0.2,0.2,0.3,0.4,0.3,0.7c0,0.3-0.1,0.5-0.3,0.7l-0.1,0.1L19.7,52 c-0.1,0.1-0.3,0.2-0.5,0.2c-0.4,0-0.8-0.3-0.8-0.8C18.4,51.2,18.5,51,18.6,50.8z",prevIcon:"path://M43,52.8L20.4,30.3c-0.2-0.2-0.3-0.4-0.3-0.7c0-0.3,0.1-0.5,0.3-0.7L42.9,6.4c0.1-0.1,0.2-0.3,0.2-0.5 c0-0.4-0.3-0.8-0.8-0.8c-0.2,0-0.5,0.1-0.6,0.3L18.3,28.8l0,0c-0.2,0.2-0.3,0.4-0.3,0.7c0,0.3,0.1,0.5,0.3,0.7l0.1,0.1L41.9,54 c0.1,0.1,0.3,0.2,0.5,0.2c0.4,0,0.8-0.3,0.8-0.8C43.2,53.2,43.1,53,43,52.8z",color:"#304654",borderColor:"#304654",borderWidth:1},emphasis:{label:{show:!0,color:"#c23531"},itemStyle:{color:"#c23531"},controlStyle:{color:"#c23531",borderColor:"#c23531",borderWidth:2}},data:[]}});r.mixin(a,o);var s=a;e.exports=s},"3e3G":function(e,t,n){var r=n("bYtY"),i=n("QuXc"),o=function(e,t,n,r,o){this.x=null==e?.5:e,this.y=null==t?.5:t,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,i.call(this,r)};o.prototype={constructor:o},r.inherits(o,i);var a=o;e.exports=a},"3gBT":function(e,t){var n=2311;function r(){return n++}e.exports=r},"3hzK":function(e,t){var n={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};e.exports=n},"3m61":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}function r(e){e.eachSeriesByType("graph",(function(e){var t=e.getGraph(),r=e.getEdgeData(),i=n(e.get("edgeSymbol")),o=n(e.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.opacity".split(".");r.setVisual("fromSymbol",i&&i[0]),r.setVisual("toSymbol",i&&i[1]),r.setVisual("fromSymbolSize",o&&o[0]),r.setVisual("toSymbolSize",o&&o[1]),r.setVisual("color",e.get(a)),r.setVisual("opacity",e.get(s)),r.each((function(e){var i=r.getItemModel(e),o=t.getEdgeByIndex(e),l=n(i.getShallow("symbol",!0)),u=n(i.getShallow("symbolSize",!0)),c=i.get(a),d=i.get(s);switch(c){case"source":c=o.node1.getVisual("color");break;case"target":c=o.node2.getVisual("color");break}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),u[0]&&o.setVisual("fromSymbolSize",u[0]),u[1]&&o.setVisual("toSymbolSize",u[1]),o.setVisual("color",c),o.setVisual("opacity",d)}))}))}e.exports=r},"3qCu":function(e,t,n){"use strict";n.d(t,"a",(function(){return L}));var r,i=n("EffR"),o=n("Md8J"),a=n("/cxE"),s=n("eLzo"),l=n("nD70");(function(e){var t={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:v,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:v,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:v,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||x.defaults,this.rules=t.normal,this.options.pedantic?this.rules=t.pedantic:this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}t._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,t._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,t.def=h(t.def).replace("label",t._label).replace("title",t._title).getRegex(),t.bullet=/(?:[*+-]|\d{1,9}\.)/,t.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,t.item=h(t.item,"gm").replace(/bull/g,t.bullet).getRegex(),t.list=h(t.list).replace(/bull/g,t.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+t.def.source+")").getRegex(),t._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",t._comment=/<!--(?!-?>)[\s\S]*?-->/,t.html=h(t.html,"i").replace("comment",t._comment).replace("tag",t._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),t.paragraph=h(t.paragraph).replace("hr",t.hr).replace("heading",t.heading).replace("lheading",t.lheading).replace("tag",t._tag).getRegex(),t.blockquote=h(t.blockquote).replace("paragraph",t.paragraph).getRegex(),t.normal=y({},t),t.gfm=y({},t.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=h(t.paragraph).replace("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|").getRegex(),t.tables=y({},t.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),t.pedantic=y({},t.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",t._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=t,n.lex=function(e,t){var r=new n(t);return r.lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,n){var r,i,o,a,s,l,u,c,d,h,f,p,g,m,v,y;e=e.replace(/^ +$/gm,"");while(e)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:_(o,"\n")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(e))&&(l={type:"table",header:b(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]},l.header.length===l.align.length)){for(e=e.substring(o[0].length),f=0;f<l.align.length;f++)/^ *-+: *$/.test(l.align[f])?l.align[f]="right":/^ *:-+: *$/.test(l.align[f])?l.align[f]="center":/^ *:-+ *$/.test(l.align[f])?l.align[f]="left":l.align[f]=null;for(f=0;f<l.cells.length;f++)l.cells[f]=b(l.cells[f],l.header.length);this.tokens.push(l)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,n),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],m=a.length>1,u={type:"list_start",ordered:m,start:m?+a:"",loose:!1},this.tokens.push(u),o=o[0].match(this.rules.item),c=[],r=!1,g=o.length,f=0;f<g;f++)l=o[f],h=l.length,l=l.replace(/^ *([*+-]|\d+\.) */,""),~l.indexOf("\n ")&&(h-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+h+"}","gm"),"")),f!==g-1&&(s=t.bullet.exec(o[f+1])[0],(a.length>1?1===s.length:s.length>1||this.options.smartLists&&s!==a)&&(e=o.slice(f+1).join("\n")+e,f=g-1)),i=r||/\n\n(?!\s*$)/.test(l),f!==g-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),i&&(u.loose=!0),v=/^\[[ xX]\] /.test(l),y=void 0,v&&(y=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),d={type:"list_item_start",task:v,checked:y,loose:i},c.push(d),this.tokens.push(d),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(u.loose)for(g=c.length,f=0;f<g;f++)c[f].loose=!0;this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(n&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),p=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[p]||(this.tokens.links[p]={href:o[2],title:o[3]});else if((o=this.rules.table.exec(e))&&(l={type:"table",header:b(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]},l.header.length===l.align.length)){for(e=e.substring(o[0].length),f=0;f<l.align.length;f++)/^ *-+: *$/.test(l.align[f])?l.align[f]="right":/^ *:-+: *$/.test(l.align[f])?l.align[f]="center":/^ *:-+ *$/.test(l.align[f])?l.align[f]="left":l.align[f]=null;for(f=0;f<l.cells.length;f++)l.cells[f]=b(l.cells[f].replace(/^ *\| *| *\| *$/g,""),l.header.length);this.tokens.push(l)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(n&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:v,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:v,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function o(e,t){if(this.options=t||x.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function a(e){this.options=e||x.defaults}function s(){}function l(e){this.tokens=[],this.token=null,this.options=e||x.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new u}function u(){this.seen={}}function c(e,t){if(t){if(c.escapeTest.test(e))return e.replace(c.escapeReplace,(function(e){return c.replacements[e]}))}else if(c.escapeTestNoEncode.test(e))return e.replace(c.escapeReplaceNoEncode,(function(e){return c.replacements[e]}));return e}function d(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function h(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function f(e,t,n){if(e){try{var r=decodeURIComponent(d(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!m.test(n)&&(n=p(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}function p(e,t){return g[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=_(e,"/",!0)),e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",i.em=h(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=h(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=h(i.tag).replace("comment",t._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=h(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=h(i.reflink).replace("label",i._label).getRegex(),i.normal=y({},i),i.pedantic=y({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=y({},i.normal,{escape:h(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=h(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=y({},i.gfm,{br:h(i.br).replace("{2,}","*").getRegex(),text:h(i.gfm.text).replace(/\{2,\}/g,"*").getRegex()}),o.rules=i,o.output=function(e,t,n){var r=new o(t,n);return r.output(e)},o.prototype.output=function(e){var t,n,r,i,a,s,l="";while(e)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),l+=c(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):c(a[0]):a[0];else if(a=this.rules.link.exec(e)){var u=w(a[2],"()");if(u>-1){var d=a[0].length-(a[2].length-u)-(a[3]||"").length;a[2]=a[2].substring(0,u),a[0]=a[0].substring(0,d).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r),t?(r=t[1],i=t[3]):i=""):i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(c(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?(n=c(this.mangle(a[1])),r="mailto:"+n):(n=c(a[1]),r=n),l+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?l+=this.renderer.text(a[0]):l+=this.renderer.text(c(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])n=c(a[0]),r="mailto:"+n;else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=c(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),l+=this.renderer.link(r,null,n)}return l},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+c(r,!0)+'">'+(n?e:c(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(e=f(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+c(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r},a.prototype.image=function(e,t,n){if(e=f(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){var n=new l(t);return n.parse(e)},l.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,y({},this.options,{renderer:new s})),this.tokens=e.reverse();var t="";while(this.next())t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){var e=this.token.text;while("text"===this.peek().type)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":o="";while("blockquote_end"!==this.next().type)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";var a=this.token.ordered,s=this.token.start;while("list_end"!==this.next().type)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":o="";var l=this.token.loose,u=this.token.checked,c=this.token.task;this.token.task&&(o+=this.renderer.checkbox(u));while("list_item_end"!==this.next().type)o+=l||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(o,c,u);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var h='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(h);console.log(h)}},u.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},c.escapeTest=/[&<>"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(){}function y(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function b(e,t){var n=e.replace(/\|/g,(function(e,t,n){var r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function _(e,t,n){if(0===e.length)return"";var r=0;while(r<e.length){var i=e.charAt(e.length-r-1);if(i!==t||n){if(i===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function w(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function x(e,t,r){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(r||"function"===typeof t){r||(r=t,t=null),t=y({},x.defaults,t||{});var i,o,a=t.highlight,s=0;try{i=n.lex(e,t)}catch(d){return r(d)}o=i.length;var u=function(e){if(e)return t.highlight=a,r(e);var n;try{n=l.parse(i,t)}catch(d){e=d}return t.highlight=a,e?r(e):r(null,n)};if(!a||a.length<3)return u();if(delete t.highlight,!o)return u();for(;s<i.length;s++)(function(e){"code"!==e.type?--o||u():a(e.text,e.lang,(function(t,n){return t?u(t):null==n||n===e.text?--o||u():(e.text=n,e.escaped=!0,void(--o||u()))}))})(i[s])}else try{return t&&(t=y({},x.defaults,t)),l.parse(n.lex(e,t),t)}catch(d){if(d.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||x.defaults).silent)return"<p>An error occurred:</p><pre>"+c(d.message+"",!0)+"</pre>";throw d}}v.exec=v,x.options=x.setOptions=function(e){return y(x.defaults,e),x},x.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},x.defaults=x.getDefaults(),x.Parser=l,x.parser=l.parse,x.Renderer=a,x.TextRenderer=s,x.Lexer=n,x.lexer=n.lex,x.InlineLexer=o,x.inlineLexer=o.output,x.Slugger=u,x.parse=x,r=x}).call(void 0);r.Parser,r.parser;var u,c=r.Renderer,d=(r.TextRenderer,r.Lexer,r.lexer,r.InlineLexer,r.inlineLexer,r.parse);let h;(function(){function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof u&&u;if(!s&&l)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[a]={exports:{}};t[a][0].call(d.exports,(function(e){var n=t[a][1][e];return i(n||e)}),d,d.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof u&&u,a=0;a<r.length;a++)i(r[a]);return i}return e})()({1:[function(e,t,n){var r=e("./toMap"),i=["background","base","cite","href","longdesc","src","usemap"];t.exports={uris:r(i)}},{"./toMap":10}],2:[function(e,t,n){var r={allowedAttributes:{"*":["title","accesskey"],a:["href","name","target","aria-label"],iframe:["allowfullscreen","frameborder","src"],img:["src","alt","title","aria-label"]},allowedClasses:{},allowedSchemes:["http","https","mailto"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","li","main","mark","ol","p","pre","section","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"],filter:null};t.exports=r},{}],3:[function(e,t,n){var r=e("./toMap"),i=["area","br","col","hr","img","wbr","input","base","basefont","link","meta"];t.exports={voids:r(i)}},{"./toMap":10}],4:[function(e,t,n){e("he");var r=e("assignment"),i=e("./parser"),o=e("./sanitizer"),a=e("./defaults");function s(e,t,n){var s=[],l=!0===n?t:r({},a,t),u=o(s,l);return i(e,u),s.join("")}s.defaults=a,t.exports=s,h=s},{"./defaults":2,"./parser":7,"./sanitizer":8,assignment:6,he:9}],5:[function(e,t,n){t.exports=function(e){return"string"===typeof e?e.toLowerCase():e}},{}],6:[function(e,t,n){function r(e){var t,n,i=Array.prototype.slice.call(arguments,1);while(i.length)for(n in t=i.shift(),t)t.hasOwnProperty(n)&&("[object Object]"===Object.prototype.toString.call(e[n])?e[n]=r(e[n],t[n]):e[n]=t[n]);return e}t.exports=r},{}],7:[function(e,t,n){var r=e("he"),i=e("./lowercase"),o=(e("./attributes"),e("./elements")),a=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,s=/^<\s*\/\s*([\w:-]+)[^>]*>/,l=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,u=/^</,c=/^<\s*\//;function d(){var e=[];return e.lastItem=function(){return e[e.length-1]},e}function h(e,t){var n,h=d(),f=e;while(e)p();function p(){n=!0,g();var t=e===f;f=e,t&&(e="")}function g(){"\x3c!--"===e.substr(0,4)?v():c.test(e)?m(s,_):u.test(e)&&m(a,b),y()}function m(t,r){var i=e.match(t);i&&(e=e.substring(i[0].length),i[0].replace(t,r),n=!1)}function v(){var r=e.indexOf("--\x3e");r>=0&&(t.comment&&t.comment(e.substring(4,r)),e=e.substring(r+3),n=!1)}function y(){if(n){var r,i=e.indexOf("<");i>=0?(r=e.substring(0,i),e=e.substring(i)):(r=e,e=""),t.chars&&t.chars(r)}}function b(e,n,a,s){var u={},c=i(n),d=o.voids[c]||!!s;function f(e,t,n,i,o){u[t]=void 0===n&&void 0===i&&void 0===o?void 0:r.decode(n||i||o||"")}a.replace(l,f),d||h.push(c),t.start&&t.start(c,u,d)}function _(e,n){var r,o=0,a=i(n);if(a)for(o=h.length-1;o>=0;o--)if(h[o]===a)break;if(o>=0){for(r=h.length-1;r>=o;r--)t.end&&t.end(h[r]);h.length=o}}_()}t.exports=h},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],8:[function(e,t,n){var r=e("he"),i=e("./lowercase"),o=e("./attributes"),a=e("./elements");function s(e,t){var n,s=t||{};return g(),{start:u,end:c,chars:h};function l(t){e.push(t)}function u(e,t,a){var u=i(e);function c(e){var n,a=t[e],c=(s.allowedClasses||{})[u]||[],h=(s.allowedAttributes||{})[u]||[];h=h.concat((s.allowedAttributes||{})["*"]||[]);var f=i(e);function p(e){return c&&-1!==c.indexOf(e)}"class"===f&&-1===h.indexOf(f)?(a=a.split(" ").filter(p).join(" ").trim(),n=a.length):n=-1!==h.indexOf(f)&&(!0!==o.uris[f]||d(a)),n&&(l(" "),l(e),"string"===typeof a&&(l('="'),l(r.encode(a)),l('"')))}n.ignoring?f(u):-1!==(s.allowedTags||[]).indexOf(u)&&(!s.filter||s.filter({tag:u,attrs:t}))?(l("<"),l(u),Object.keys(t).forEach(c),l(a?"/>":">")):f(u)}function c(e){var t=i(e),r=-1!==(s.allowedTags||[]).indexOf(t);r&&!1===n.ignoring?(l("</"),l(t),l(">")):p(t)}function d(e){var t=e[0];if("#"===t||"/"===t)return!0;var n=e.indexOf(":");if(-1===n)return!0;var r=e.indexOf("?");if(-1!==r&&n>r)return!0;var i=e.indexOf("#");return-1!==i&&n>i||s.allowedSchemes.some(o);function o(t){return 0===e.indexOf(t+":")}}function h(e){!1===n.ignoring&&l(s.transformText?s.transformText(e):e)}function f(e){a.voids[e]||(!1===n.ignoring?n={ignoring:e,depth:1}:n.ignoring===e&&n.depth++)}function p(e){n.ignoring===e&&--n.depth<=0&&g()}function g(){n={ignoring:!1,depth:0}}}t.exports=s},{"./attributes":1,"./elements":3,"./lowercase":5,he:9}],9:[function(e,t,n){var r={"&":"&","<":"<",">":">",'"':""","'":"'"},i={"&":"&","<":"<",">":">",""":'"',"'":"'"},o=/(&|<|>|"|')/g,a=/[&<>"']/g;function s(e){return r[e]}function l(e){return i[e]}function u(e){return null==e?"":String(e).replace(a,s)}function c(e){return null==e?"":String(e).replace(o,l)}u.options=c.options={},t.exports={encode:u,escape:u,decode:c,unescape:c,version:"1.0.0-browser"}},{}],10:[function(e,t,n){function r(e){return e.reduce(i,{})}function i(e,t){return e[t]=!0,e}t.exports=r},{}]},{},[4]);var f=h,p=n("Q4rV"),g=n("qj0h"),m=n("N0LK"),v=n("bY76"),y=n("tYmi"),b=n("Vhoy");function _(e,t){void 0===t&&(t={});var n,r=Object(o["a"])(t),u=function(t){var n;try{n=Object(p["a"])(decodeURIComponent(t))}catch(r){}return n?(n=Object(g["b"])(n,(function(t){return e.uris&&e.uris[t]?v["a"].revive(e.uris[t]):void 0})),encodeURIComponent(JSON.stringify(n))):t},h=function(t,n){var r=e.uris&&e.uris[t];if(!r)return t;var o=v["a"].revive(r);return v["a"].parse(t).toString()===o.toString()?t:(n&&(o=i["r"](o)),o.query&&(o=o.with({query:u(o.query)})),o.toString(!0))},_=new Promise((function(e){return n=e})),w=new c;w.image=function(e,t,n){var r,i=[],o=[];return e&&(r=Object(s["d"])(e),e=r.href,i=r.dimensions,e=h(e,!0),o.push('src="'+e+'"')),n&&o.push('alt="'+n+'"'),t&&o.push('title="'+t+'"'),i.length&&(o=o.concat(i)),"<img "+o.join(" ")+">"},w.link=function(t,n,r){return t===r&&(r=Object(s["e"])(r)),t=h(t,!1),n=Object(s["e"])(n),t=Object(s["e"])(t),!t||t.match(/^data:|javascript:/i)||t.match(/^command:/i)&&!e.isTrusted||t.match(/^command:(\/\/\/)?_workbench\.downloadResource/i)?r:(t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),'<a href="#" data-href="'+t+'" title="'+(n||t)+'">'+r+"</a>")},w.paragraph=function(t){return"<p>"+(e.supportThemeIcons?Object(b["c"])(t):t)+"</p>"},t.codeBlockRenderer&&(w.code=function(e,n){var i=t.codeBlockRenderer(n,e),o=l["b"].nextId(),a=Promise.all([i,_]).then((function(e){var t=e[0],n=r.querySelector('div[data-code="'+o+'"]');n&&(n.innerHTML=t)})).catch((function(e){}));return t.codeBlockRenderCallback&&a.then(t.codeBlockRenderCallback),'<div class="code" data-code="'+o+'">'+Object(m["o"])(e)+"</div>"});var x=t.actionHandler;x&&x.disposeables.add(i["n"](r,"click",(function(e){var t=e.target;if("A"===t.tagName||(t=t.parentElement,t&&"A"===t.tagName))try{var n=t.dataset["href"];n&&x.callback(n,e)}catch(r){Object(a["e"])(r)}finally{e.preventDefault()}})));var C={sanitize:!0,renderer:w},S=[y["b"].http,y["b"].https,y["b"].mailto,y["b"].data,y["b"].file,y["b"].vscodeRemote,y["b"].vscodeRemoteResource];e.isTrusted&&S.push(y["b"].command);var O=d(e.supportThemeIcons?Object(b["b"])(e.value):e.value,C);return r.innerHTML=f(O,{allowedSchemes:S,allowedAttributes:{a:["href","name","target","data-href"],iframe:["allowfullscreen","frameborder","src"],img:["src","title","alt","width","height"],div:["class","data-code"],span:["class"]}}),n(),r}var w=n("W9cx"),x=n("WBhO"),C=n("TQUy"),S=n("Cg/j"),O=n("MI8n"),k=n("pmY6"),E=n("twdY"),D=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},N=function(e,t){return function(n,r){t(n,r,e)}},L=function(e){function t(t,n,r){void 0===r&&(r=w["b"]);var i=e.call(this)||this;return i._editor=t,i._modeService=n,i._openerService=r,i._onDidRenderCodeBlock=i._register(new O["a"]),i.onDidRenderCodeBlock=i._onDidRenderCodeBlock.event,i}return D(t,e),t.prototype.getOptions=function(e){var t=this;return{codeBlockRenderer:function(e,n){var r=null;if(e)r=t._modeService.getModeIdForLanguageName(e);else{var i=t._editor.getModel();i&&(r=i.getLanguageIdentifier().language)}return t._modeService.triggerMode(r||""),Promise.resolve(!0).then((function(e){var t=E["y"].getPromise(r||"");return t?t.then((function(e){return Object(C["b"])(n,e)})):Object(C["b"])(n,void 0)})).then((function(e){return'<span style="font-family: '+t._editor.getOption(34).fontFamily+'">'+e+"</span>"}))},codeBlockRenderCallback:function(){return t._onDidRenderCodeBlock.fire()},actionHandler:{callback:function(e){t._openerService.open(e,{fromUserGesture:!0}).catch(a["e"])},disposeables:e}}},t.prototype.render=function(e){var t,n=new k["b"];return t=e?_(e,this.getOptions(n)):document.createElement("span"),{element:t,dispose:function(){return n.dispose()}}},t=M([N(1,x["a"]),N(2,Object(S["d"])(w["a"]))],t),t}(k["a"])},"3rx1":function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return h}));var r=n("bY76"),i=n("MrjW"),o=n("N0LK"),a=n("tYmi"),s=n("MNsG"),l=n("gslv");function u(e,t,n){if("string"===typeof e&&(e=r["a"].file(e)),n){var o=n.getWorkspaceFolder(e);if(o){var u=n.getWorkspace().folders.length>1,c=void 0;if(c=Object(l["e"])(o.uri,e)?"":Object(l["h"])(o.uri,e),u){var f=o.name?o.name:Object(l["b"])(o.uri);c=c?f+" \u2022 "+c:f}return c}}if(e.scheme!==a["b"].file&&e.scheme!==a["b"].untitled)return e.with({query:null,fragment:null}).toString(!0);if(d(e.fsPath))return Object(i["normalize"])(h(e.fsPath));var g=Object(i["normalize"])(e.fsPath);return!s["h"]&&t&&(g=p(g,t.userHome)),g}function c(e){if(e){"string"===typeof e&&(e=r["a"].file(e));var t=Object(l["b"])(e)||(e.scheme===a["b"].file?e.fsPath:e.path);return d(t)?h(t):t}}function d(e){return!(!s["h"]||!e||":"!==e[1])}function h(e){return d(e)?e.charAt(0).toUpperCase()+e.slice(1):e}var f=Object.create(null);function p(e,t){if(s["h"]||!e||!t)return e;var n=f.original===t?f.normalized:void 0;return n||(n=""+Object(o["K"])(t,i["posix"].sep)+i["posix"].sep,f={original:t,normalized:n}),(s["d"]?Object(o["M"])(e,n):Object(o["N"])(e,n))&&(e="~/"+e.substr(n.length)),e}},"3zoK":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("KCsZ"),a=n("nkfE"),s=n("OELB"),l=n("ICMv"),u=i.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(e){var t=this.activeIntervals=r.clone(e);if(t)for(var n=t.length-1;n>=0;n--)s.asc(t[n])},getActiveState:function(e){var t=this.activeIntervals;if(!t.length)return"normal";if(null==e||isNaN(e))return"inactive";if(1===t.length){var n=t[0];if(n[0]<=e&&e<=n[1])return"active"}else for(var r=0,i=t.length;r<i;r++)if(t[r][0]<=e&&e<=t[r][1])return"active";return"inactive"}}),c={type:"value",dim:null,areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function d(e,t){return t.type||(t.data?"category":"value")}r.merge(u.prototype,l),a("parallel",u,d,c);var h=u;e.exports=h},"4Feb":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("IwbS"),a=n("x3X8"),s=a.getDefaultLabel,l=n("MwEJ"),u=n("nVfU"),c=u.getLayoutOnAxis,d=n("gPAo"),h=n("T4UG"),f=n("Qxkt"),p=n("6Ic6"),g=n("sK/D"),m=g.createClipPath,v=n("qj72"),y=n("ANjR"),b=n("MHtr"),_=n("6usn"),w=n("Rx6q"),x=o.CACHED_LABEL_STYLE_PROPERTIES,C=["itemStyle"],S=["emphasis","itemStyle"],O=["label"],k=["emphasis","label"],E="e\0\0",D={cartesian2d:v,geo:y,singleAxis:b,polar:_,calendar:w};function M(e){var t,n=e.type;if("path"===n){var r=e.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=H(r);t=o.makePath(a,null,i,r.layout||"center"),t.__customPathData=a}else if("image"===n)t=new o.Image({}),t.__customImagePath=e.style.image;else if("text"===n)t=new o.Text({}),t.__customText=e.style.text;else if("group"===n)t=new o.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=o.getShapeClass(n);t=new s}return t.__customGraphicType=n,t.name=e.name,t}function N(e,t,n,r,a,s,l){var u={},c=n.style||{};if(n.shape&&(u.shape=i.clone(n.shape)),n.position&&(u.position=n.position.slice()),n.scale&&(u.scale=n.scale.slice()),n.origin&&(u.origin=n.origin.slice()),n.rotation&&(u.rotation=n.rotation),"image"===e.type&&n.style){var d=u.style={};i.each(["x","y","width","height"],(function(t){L(t,d,c,e.style,s)}))}if("text"===e.type&&n.style){d=u.style={};i.each(["x","y"],(function(t){L(t,d,c,e.style,s)})),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke)}if("group"!==e.type&&(e.useStyle(c),s)){e.style.opacity=0;var h=c.opacity;null==h&&(h=1),o.initProps(e,{style:{opacity:h}},r,t)}s?e.attr(u):o.updateProps(e,u,r,t),n.hasOwnProperty("z2")&&e.attr("z2",n.z2||0),n.hasOwnProperty("silent")&&e.attr("silent",n.silent),n.hasOwnProperty("invisible")&&e.attr("invisible",n.invisible),n.hasOwnProperty("ignore")&&e.attr("ignore",n.ignore),n.hasOwnProperty("info")&&e.attr("info",n.info);var f=n.styleEmphasis;o.setElementHoverStyle(e,f),l&&o.setAsHighDownDispatcher(e,!1!==f)}function L(e,t,n,r,i){null==n[e]||i||(t[e]=n[e],n[e]=r[e])}function I(e,t,n,r){var a=e.get("renderItem"),l=e.coordinateSystem,u={};l&&(u=l.prepareCustoms?l.prepareCustoms():D[l.type](l));var d,h,f,p,g,m=i.defaults({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:_,style:w,styleEmphasis:x,visual:E,barLayout:M,currentSeriesIndices:N,font:L},u.api||{}),v={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:u.coordSys,dataInsideLength:t.count(),encode:T(e.getData())},y=!0;return function(e,n){return d=e,y=!0,a&&a(i.defaults({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:n?n.type:null},v),m)};function b(e){null==e&&(e=d),y&&(h=t.getItemModel(e),f=h.getModel(O),p=h.getModel(k),g=t.getItemVisual(e,"color"),y=!1)}function _(e,n){return null==n&&(n=d),t.get(t.getDimension(e||0),n)}function w(n,r){null==r&&(r=d),b(r);var a=h.getModel(C).getItemStyle();null!=g&&(a.fill=g);var l=t.getItemVisual(r,"opacity");null!=l&&(a.opacity=l);var u=n?V(n,f):f;return o.setTextStyle(a,u,null,{autoColor:g,isRectText:!0}),a.text=u.getShallow("show")?i.retrieve2(e.getFormattedLabel(r,"normal"),s(t,r)):null,n&&z(a,n),a}function x(n,r){null==r&&(r=d),b(r);var a=h.getModel(S).getItemStyle(),l=n?V(n,p):p;return o.setTextStyle(a,l,null,{isRectText:!0},!0),a.text=l.getShallow("show")?i.retrieve3(e.getFormattedLabel(r,"emphasis"),e.getFormattedLabel(r,"normal"),s(t,r)):null,n&&z(a,n),a}function E(e,n){return null==n&&(n=d),t.getItemVisual(n,e)}function M(e){if(l.getBaseAxis){var t=l.getBaseAxis();return c(i.defaults({axis:t},e),r)}}function N(){return n.getCurrentSeriesIndices()}function L(e){return o.getFont(e,n)}}function T(e){var t={};return i.each(e.dimensions,(function(n,r){var i=e.getDimensionInfo(n);if(!i.isExtraCoord){var o=i.coordDim,a=t[o]=t[o]||[];a[i.coordDimIndex]=r}})),t}function P(e,t,n,r,i,o){return e=A(e,t,n,r,i,o,!0),e&&o.setItemGraphicEl(t,e),e}function A(e,t,n,r,i,o,a){var s=!n;n=n||{};var l=n.type,u=n.shape,c=n.style;if(e&&(s||null!=l&&l!==e.__customGraphicType||"path"===l&&U(u)&&H(u)!==e.__customPathData||"image"===l&&K(c,"image")&&c.image!==e.__customImagePath||"text"===l&&K(u,"text")&&c.text!==e.__customText)&&(i.remove(e),e=null),!s){var d=!e;return!e&&(e=M(n)),N(e,t,n,r,o,d,a),"group"===l&&R(e,t,n,r,o),i.add(e),e}}function R(e,t,n,r,i){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,u=!1===s;if(a||l||u)if(l)j({oldChildren:e.children()||[],newChildren:o||[],dataIndex:t,animatableModel:r,group:e,data:i});else{u&&e.removeAll();for(var c=0;c<a;c++)o[c]&&A(e.childAt(c),t,o[c],r,e,i)}}function j(e){new d(e.oldChildren,e.newChildren,F,F,e).add(B).update(B).remove(W).execute()}function F(e,t){var n=e&&e.name;return null!=n?n:E+t}function B(e,t){var n=this.context,r=null!=e?n.newChildren[e]:null,i=null!=t?n.oldChildren[t]:null;A(i,n.dataIndex,r,n.animatableModel,n.group,n.data)}function V(e,t){var n=new f({},t);return i.each(x,(function(t,r){e.hasOwnProperty(t)&&(n.option[r]=e[t])})),n}function z(e,t){for(var n in t)!t.hasOwnProperty(n)&&x.hasOwnProperty(n)||(e[n]=t[n])}function W(e){var t=this.context,n=t.oldChildren[e];n&&t.group.remove(n)}function H(e){return e&&(e.pathData||e.d)}function U(e){return e&&(e.hasOwnProperty("pathData")||e.hasOwnProperty("d"))}function K(e,t){return e&&e.hasOwnProperty(t)}h.extend({type:"series.custom",dependencies:["grid","polar","geo","singleAxis","calendar"],defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,useTransform:!0,clip:!1},getInitialData:function(e,t){return l(this.getSource(),this)},getDataParams:function(e,t,n){var r=h.prototype.getDataParams.apply(this,arguments);return n&&(r.info=n.info),r}}),p.extend({type:"custom",_data:null,render:function(e,t,n,r){var i=this._data,o=e.getData(),a=this.group,s=I(e,o,t,n);o.diff(i).add((function(t){P(null,t,s(t,r),e,a,o)})).update((function(t,n){var l=i.getItemGraphicEl(n);P(l,t,s(t,r),e,a,o)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&a.remove(t)})).execute();var l=e.get("clip",!0)?m(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},incrementalPrepareRender:function(e,t,n){this.group.removeAll(),this._data=null},incrementalRender:function(e,t,n,r,i){var o=t.getData(),a=I(t,o,n,r);function s(e){e.isGroup||(e.incremental=!0,e.useHoverLayer=!0)}for(var l=e.start;l<e.end;l++){var u=P(null,l,a(l,i),t,this.group,o);u.traverse(s)}},dispose:i.noop,filterForExposedEvent:function(e,t,n,r){var i=t.element;if(null==i||n.name===i)return!0;while((n=n.parent)&&n!==this.group)if(n.name===i)return!0;return!1}})},"4HMb":function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("4NO4"),a=o.makeInner,s=n("aX7z"),l=s.makeLabelFormatter,u=s.getOptionCategoryInterval,c=s.shouldShowAllLabels,d=a();function h(e){return"category"===e.type?p(e):v(e)}function f(e,t){return"category"===e.type?m(e,t):{ticks:e.scale.getTicks()}}function p(e){var t=e.getLabelModel(),n=g(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function g(e,t){var n,i,o=y(e,"labels"),a=u(t),s=b(o,a);return s||(r.isFunction(a)?n=O(e,a):(i="auto"===a?w(e):a,n=S(e,i)),_(o,a,{labels:n,labelCategoryInterval:i}))}function m(e,t){var n,i,o=y(e,"ticks"),a=u(t),s=b(o,a);if(s)return s;if(t.get("show")&&!e.scale.isBlank()||(n=[]),r.isFunction(a))n=O(e,a,!0);else if("auto"===a){var l=g(e,e.getLabelModel());i=l.labelCategoryInterval,n=r.map(l.labels,(function(e){return e.tickValue}))}else i=a,n=S(e,i,!0);return _(o,a,{ticks:n,tickCategoryInterval:i})}function v(e){var t=e.scale.getTicks(),n=l(e);return{labels:r.map(t,(function(t,r){return{formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t}}))}}function y(e,t){return d(e)[t]||(d(e)[t]=[])}function b(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function _(e,t,n){return e.push({key:t,value:n}),n}function w(e){var t=d(e).autoInterval;return null!=t?t:d(e).autoInterval=e.calculateCategoryInterval()}function x(e){var t=C(e),n=l(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,o=e.scale,a=o.getExtent(),s=o.count();if(a[1]-a[0]<1)return 0;var u=1;s>40&&(u=Math.max(1,Math.floor(s/40)));for(var c=a[0],h=e.dataToCoord(c+1)-e.dataToCoord(c),f=Math.abs(h*Math.cos(r)),p=Math.abs(h*Math.sin(r)),g=0,m=0;c<=a[1];c+=u){var v=0,y=0,b=i.getBoundingRect(n(c),t.font,"center","top");v=1.3*b.width,y=1.3*b.height,g=Math.max(g,v,7),m=Math.max(m,y,7)}var _=g/f,w=m/p;isNaN(_)&&(_=1/0),isNaN(w)&&(w=1/0);var x=Math.max(0,Math.floor(Math.min(_,w))),S=d(e.model),O=e.getExtent(),k=S.lastAutoInterval,E=S.lastTickCount;return null!=k&&null!=E&&Math.abs(k-x)<=1&&Math.abs(E-s)<=1&&k>x&&S.axisExtend0===O[0]&&S.axisExtend1===O[1]?x=k:(S.lastTickCount=s,S.lastAutoInterval=x,S.axisExtend0=O[0],S.axisExtend1=O[1]),x}function C(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function S(e,t,n){var r=l(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),d=o[0],h=i.count();0!==d&&u>1&&h/u>2&&(d=Math.round(Math.ceil(d/u)*u));var f=c(e),p=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;p&&d!==o[0]&&v(o[0]);for(var m=d;m<=o[1];m+=u)v(m);function v(e){s.push(n?e:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:e})}return g&&m-u!==o[1]&&v(o[1]),s}function O(e,t,n){var i=e.scale,o=l(e),a=[];return r.each(i.getTicks(),(function(e){var r=i.getLabel(e);t(e,r)&&a.push(n?e:{formattedLabel:o(e),rawLabel:r,tickValue:e})})),a}t.createAxisLabels=h,t.createAxisTicks=f,t.calculateCategoryInterval=x},"4IlW":function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t["a"]=r},"4NO4":function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=r.each,a=r.isObject,s=r.isArray,l="series\0";function u(e){return e instanceof Array?e:null==e?[]:[e]}function c(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var d=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function h(e){return!a(e)||s(e)||e instanceof Date?e:e.value}function f(e){return a(e)&&!(e instanceof Array)}function p(e,t){t=(t||[]).slice();var n=r.map(e||[],(function(e,t){return{exist:e}}));return o(t,(function(e,r){if(a(e)){for(var i=0;i<n.length;i++)if(!n[i].option&&null!=e.id&&n[i].exist.id===e.id+"")return n[i].option=e,void(t[r]=null);for(i=0;i<n.length;i++){var o=n[i].exist;if(!n[i].option&&(null==o.id||null==e.id)&&null!=e.name&&!v(e)&&!v(o)&&o.name===e.name+"")return n[i].option=e,void(t[r]=null)}}})),o(t,(function(e,t){if(a(e)){for(var r=0;r<n.length;r++){var i=n[r].exist;if(!n[r].option&&!v(i)&&null==e.id){n[r].option=e;break}}r>=n.length&&n.push({option:e})}})),n}function g(e){var t=r.createHashMap();o(e,(function(e,n){var r=e.exist;r&&t.set(r.id,e)})),o(e,(function(e,n){var i=e.option;r.assert(!i||null==i.id||!t.get(i.id)||t.get(i.id)===e,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&t.set(i.id,e),!e.keyInfo&&(e.keyInfo={})})),o(e,(function(e,n){var r=e.exist,i=e.option,o=e.keyInfo;if(a(i)){if(o.name=null!=i.name?i.name+"":r?r.name:l+n,r)o.id=r.id;else if(null!=i.id)o.id=i.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(t.get(o.id))}t.set(o.id,e)}}))}function m(e){var t=e.name;return!(!t||!t.indexOf(l))}function v(e){return a(e)&&e.id&&0===(e.id+"").indexOf("\0_ec_\0")}function y(e,t){var n={},r={};return i(e||[],n),i(t||[],r,n),[o(n),o(r)];function i(e,t,n){for(var r=0,i=e.length;r<i;r++)for(var o=e[r].seriesId,a=u(e[r].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var d=a[l];s&&s[d]?s[d]=null:(t[o]||(t[o]={}))[d]=1}}function o(e,t){var n=[];for(var r in e)if(e.hasOwnProperty(r)&&null!=e[r])if(t)n.push(+r);else{var i=o(e[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function b(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?r.isArray(t.dataIndex)?r.map(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?r.isArray(t.name)?r.map(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function _(){var e="__\0ec_inner_"+w+++"_"+Math.random().toFixed(5);return function(t){return t[e]||(t[e]={})}}var w=0;function x(e,t,n){if(r.isString(t)){var i={};i[t+"Index"]=0,t=i}var a=n&&n.defaultMainType;!a||C(t,a+"Index")||C(t,a+"Id")||C(t,a+"Name")||(t[a+"Index"]=0);var s={};return o(t,(function(i,o){i=t[o];if("dataIndex"!==o&&"dataIndexInside"!==o){var a=o.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],u=(a[2]||"").toLowerCase();if(!(!l||!u||null==i||"index"===u&&"none"===i||n&&n.includeMainTypes&&r.indexOf(n.includeMainTypes,l)<0)){var c={mainType:l};"index"===u&&"all"===i||(c[u]=i);var d=e.queryComponents(c);s[l+"Models"]=d,s[l+"Model"]=d[0]}}else s[o]=i})),s}function C(e,t){return e&&e.hasOwnProperty(t)}function S(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function O(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function k(e){return"auto"===e?i.domSupported?"html":"richText":e||"html"}function E(e,t){var n=r.createHashMap(),i=[];return r.each(e,(function(e){var r=t(e);(n.get(r)||(i.push(r),n.set(r,[]))).push(e)})),{keys:i,buckets:n}}t.normalizeToArray=u,t.defaultEmphasis=c,t.TEXT_STYLE_OPTIONS=d,t.getDataItemValue=h,t.isDataItemOption=f,t.mappingToExists=p,t.makeIdAndName=g,t.isNameSpecified=m,t.isIdInner=v,t.compressBatches=y,t.queryDataIndex=b,t.makeInner=_,t.parseFinder=x,t.setAttribute=S,t.getAttribute=O,t.getTooltipRenderMode=k,t.groupData=E},"4NgU":function(e,t,n){var r=n("Yl7c");function i(e){this._setting=e||{},this._extent=[1/0,-1/0],this._interval=0,this.init&&this.init.apply(this,arguments)}i.prototype.parse=function(e){return e},i.prototype.getSetting=function(e){return this._setting[e]},i.prototype.contain=function(e){var t=this._extent;return e>=t[0]&&e<=t[1]},i.prototype.normalize=function(e){var t=this._extent;return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])},i.prototype.scale=function(e){var t=this._extent;return e*(t[1]-t[0])+t[0]},i.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},i.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(e){this._isBlank=e},i.prototype.getLabel=null,r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0});var o=i;e.exports=o},"4bUh":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("twdY"),i=function(){function e(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}return e.prototype.equals=function(t){return t instanceof e&&this.slicedEquals(t,0,this._tokensCount)},e.prototype.slicedEquals=function(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;for(var r=t<<1,i=r+(n<<1),o=r;o<i;o++)if(this._tokens[o]!==e._tokens[o])return!1;return!0},e.prototype.getLineContent=function(){return this._text},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getStartOffset=function(e){return e>0?this._tokens[e-1<<1]:0},e.prototype.getMetadata=function(e){var t=this._tokens[1+(e<<1)];return t},e.prototype.getLanguageId=function(e){var t=this._tokens[1+(e<<1)];return r["x"].getLanguageId(t)},e.prototype.getStandardTokenType=function(e){var t=this._tokens[1+(e<<1)];return r["x"].getTokenType(t)},e.prototype.getForeground=function(e){var t=this._tokens[1+(e<<1)];return r["x"].getForeground(t)},e.prototype.getClassName=function(e){var t=this._tokens[1+(e<<1)];return r["x"].getClassNameFromMetadata(t)},e.prototype.getInlineStyle=function(e,t){var n=this._tokens[1+(e<<1)];return r["x"].getInlineStyleFromMetadata(n,t)},e.prototype.getEndOffset=function(e){return this._tokens[e<<1]},e.prototype.findTokenIndexAtOffset=function(t){return e.findIndexInTokensArray(this._tokens,t)},e.prototype.inflate=function(){return this},e.prototype.sliceAndInflate=function(e,t,n){return new o(this,e,t,n)},e.convertToEndOffset=function(e,t){for(var n=e.length>>>1,r=n-1,i=0;i<r;i++)e[i<<1]=e[i+1<<1];e[r<<1]=t},e.findIndexInTokensArray=function(e,t){if(e.length<=2)return 0;var n=0,r=(e.length>>>1)-1;while(n<r){var i=n+Math.floor((r-n)/2),o=e[i<<1];if(o===t)return i+1;o<t?n=i+1:o>t&&(r=i)}return n},e}(),o=function(){function e(e,t,n,r){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=r,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(var i=this._firstTokenIndex,o=e.getCount();i<o;i++){var a=e.getStartOffset(i);if(a>=n)break;this._tokensCount++}}return e.prototype.equals=function(t){return t instanceof e&&(this._startOffset===t._startOffset&&this._endOffset===t._endOffset&&this._deltaOffset===t._deltaOffset&&this._source.slicedEquals(t._source,this._firstTokenIndex,this._tokensCount))},e.prototype.getCount=function(){return this._tokensCount},e.prototype.getForeground=function(e){return this._source.getForeground(this._firstTokenIndex+e)},e.prototype.getEndOffset=function(e){var t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset},e.prototype.getClassName=function(e){return this._source.getClassName(this._firstTokenIndex+e)},e.prototype.getInlineStyle=function(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)},e.prototype.findTokenIndexAtOffset=function(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex},e}()},"4fz+":function(e,t,n){var r=n("bYtY"),i=n("1bdT"),o=n("mFDi"),a=function(e){for(var t in e=e||{},i.call(this,e),e)e.hasOwnProperty(t)&&(this[t]=e[t]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(e){return this._children[e]},childOfName:function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},childCount:function(){return this._children.length},add:function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},addBefore:function(e,t){if(e&&e!==this&&e.parent!==this&&t&&t.parent===this){var n=this._children,r=n.indexOf(t);r>=0&&(n.splice(r,0,e),this._doAdd(e))}return this},_doAdd:function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__storage,n=this.__zr;t&&t!==e.__storage&&(t.addToStorage(e),e instanceof a&&e.addChildrenToStorage(t)),n&&n.refresh()},remove:function(e){var t=this.__zr,n=this.__storage,i=this._children,o=r.indexOf(i,e);return o<0||(i.splice(o,1),e.parent=null,n&&(n.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(n)),t&&t.refresh()),this},removeAll:function(){var e,t,n=this._children,r=this.__storage;for(t=0;t<n.length;t++)e=n[t],r&&(r.delFromStorage(e),e instanceof a&&e.delChildrenFromStorage(r)),e.parent=null;return n.length=0,this},eachChild:function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},traverse:function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n];e.call(t,r),"group"===r.type&&r.traverse(e,t)}return this},addChildrenToStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.addToStorage(n),n instanceof a&&n.addChildrenToStorage(e)}},delChildrenFromStorage:function(e){for(var t=0;t<this._children.length;t++){var n=this._children[t];e.delFromStorage(n),n instanceof a&&n.delChildrenFromStorage(e)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(e){for(var t=null,n=new o(0,0,0,0),r=e||this._children,i=[],a=0;a<r.length;a++){var s=r[a];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(n.copy(l),n.applyTransform(u),t=t||n.clone(),t.union(n)):(t=t||l.clone(),t.union(l))}}return t||n}},r.inherits(a,i);var s=a;e.exports=s},"4i/N":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CloseOutlined";t["a"]=r["forwardRef"](s)},"4kuk":function(e,t,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),s=n("JSQU");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"4mN7":function(e,t,n){var r=n("QBsz"),i=n("Sj9i"),o=Math.min,a=Math.max,s=Math.sin,l=Math.cos,u=2*Math.PI,c=r.create(),d=r.create(),h=r.create();function f(e,t,n){if(0!==e.length){var r,i=e[0],s=i[0],l=i[0],u=i[1],c=i[1];for(r=1;r<e.length;r++)i=e[r],s=o(s,i[0]),l=a(l,i[0]),u=o(u,i[1]),c=a(c,i[1]);t[0]=s,t[1]=u,n[0]=l,n[1]=c}}function p(e,t,n,r,i,s){i[0]=o(e,n),i[1]=o(t,r),s[0]=a(e,n),s[1]=a(t,r)}var g=[],m=[];function v(e,t,n,r,s,l,u,c,d,h){var f,p=i.cubicExtrema,v=i.cubicAt,y=p(e,n,s,u,g);for(d[0]=1/0,d[1]=1/0,h[0]=-1/0,h[1]=-1/0,f=0;f<y;f++){var b=v(e,n,s,u,g[f]);d[0]=o(b,d[0]),h[0]=a(b,h[0])}for(y=p(t,r,l,c,m),f=0;f<y;f++){var _=v(t,r,l,c,m[f]);d[1]=o(_,d[1]),h[1]=a(_,h[1])}d[0]=o(e,d[0]),h[0]=a(e,h[0]),d[0]=o(u,d[0]),h[0]=a(u,h[0]),d[1]=o(t,d[1]),h[1]=a(t,h[1]),d[1]=o(c,d[1]),h[1]=a(c,h[1])}function y(e,t,n,r,s,l,u,c){var d=i.quadraticExtremum,h=i.quadraticAt,f=a(o(d(e,n,s),1),0),p=a(o(d(t,r,l),1),0),g=h(e,n,s,f),m=h(t,r,l,p);u[0]=o(e,s,g),u[1]=o(t,l,m),c[0]=a(e,s,g),c[1]=a(t,l,m)}function b(e,t,n,i,o,a,f,p,g){var m=r.min,v=r.max,y=Math.abs(o-a);if(y%u<1e-4&&y>1e-4)return p[0]=e-n,p[1]=t-i,g[0]=e+n,void(g[1]=t+i);if(c[0]=l(o)*n+e,c[1]=s(o)*i+t,d[0]=l(a)*n+e,d[1]=s(a)*i+t,m(p,c,d),v(g,c,d),o%=u,o<0&&(o+=u),a%=u,a<0&&(a+=u),o>a&&!f?a+=u:o<a&&f&&(o+=u),f){var b=a;a=o,o=b}for(var _=0;_<a;_+=Math.PI/2)_>o&&(h[0]=l(_)*n+e,h[1]=s(_)*i+t,m(p,h,p),v(g,h,g))}t.fromPoints=f,t.fromLine=p,t.fromCubic=v,t.fromQuadratic=y,t.fromArc=b},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=u(n("M/lh")),i=s(n("17x9")),o=s(n("q1tI")),a=n("JwdM");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n["default"]=e,t&&t.set(e,n),n}function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){return function(){var t,n=x(e);if(w()){var r=x(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return b(this,t)}}function b(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){m(n,e);var t=y(n);function n(e){var r;return f(this,n),r=t.call(this,e),C(_(r),"assignRef",(function(e){r.containerElement=e})),r.containerElement=void 0,r}return g(n,[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.language,i=t.theme,o=t.height,a=t.options,s=t.width,l=this.editor.getModel(),u=l.original,c=l.modified;this.props.original!==u.getValue()&&u.setValue(this.props.original),null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.modifiedEditor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:this.props.value}]),this.editor.modifiedEditor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==n&&(r.editor.setModelLanguage(u,n),r.editor.setModelLanguage(c,n)),e.theme!==i&&r.editor.setTheme(i),!this.editor||s===e.width&&o===e.height||this.editor.layout(),e.options!==a&&this.editor.updateOptions(a)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount,t=e(r);return t||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r);var n=e.getModel(),i=n.modified;this._subscription=i.onDidChangeContent((function(e){t.__prevent_trigger_change_event||t.props.onChange(i.getValue(),e)}))}},{key:"initModels",value:function(e,t){var n=this.props.language,i=r.editor.createModel(t,n),o=r.editor.createModel(e,n);this.editor.setModel({original:i,modified:o})}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,i=t.theme,o=t.options,a=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,h({},o,{},i?{theme:i}:{}),a),this.initModels(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel(),t=e.original,n=e.modified;t&&t.dispose(),n&&n.dispose()}this._subscription&&this._subscription.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=(0,a.processSize)(t),i=(0,a.processSize)(n),s={width:r,height:i};return o["default"].createElement("div",{ref:this.assignRef,style:s,className:"react-monaco-editor-container"})}}]),n}(o["default"].Component);S.propTypes={width:i["default"].oneOfType([i["default"].string,i["default"].number]),height:i["default"].oneOfType([i["default"].string,i["default"].number]),original:i["default"].string,value:i["default"].string,defaultValue:i["default"].string,language:i["default"].string,theme:i["default"].string,options:i["default"].object,overrideServices:i["default"].object,editorDidMount:i["default"].func,editorWillMount:i["default"].func,onChange:i["default"].func},S.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var O=S;t["default"]=O},"4rho":function(e,t,n){},"4vCz":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("X2/X")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="PlusSquareOutlined";var u=o.forwardRef(l);t.default=u},"4xFK":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"};t.default=r},"4y0V":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("MI8n"),i=function(e,t,n){var i=function(e){return o.fire(e)},o=new r["a"]({onFirstListenerAdd:function(){e.addEventListener(t,i,n)},onLastListenerRemove:function(){e.removeEventListener(t,i,n)}});return o.event}},"51B1":function(e,t,n){},"51f4":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=!1,i=null;function o(e){if(!e.parent||e.parent===e)return null;try{var t=e.location,n=e.parent.location;if(t.protocol!==n.protocol||t.hostname!==n.hostname||t.port!==n.port)return r=!0,null}catch(i){return r=!0,null}return e.parent}function a(e,t){for(var n,r=e.document.getElementsByTagName("iframe"),i=0,o=r.length;i<o;i++)if(n=r[i],n.contentWindow===t)return n;return null}var s=function(){function e(){}return e.getSameOriginWindowChain=function(){if(!i){i=[];var e,t=window;do{e=o(t),e?i.push({window:t,iframeElement:a(e,t)}):i.push({window:t,iframeElement:null}),t=e}while(t)}return i.slice(0)},e.hasDifferentOriginAncestor=function(){return i||this.getSameOriginWindowChain(),r},e.getPositionOfChildWindowRelativeToAncestorWindow=function(e,t){if(!t||e===t)return{top:0,left:0};for(var n=0,r=0,i=this.getSameOriginWindowChain(),o=0,a=i;o<a.length;o++){var s=a[o];if(s.window===t)break;if(!s.iframeElement)break;var l=s.iframeElement.getBoundingClientRect();n+=l.top,r+=l.left}return{top:n,left:r}},e}()},"56rv":function(e,t,n){var r=n("IwbS"),i=n("x3X8"),o=i.getDefaultLabel;function a(e,t,n,i,a,l,u){var c=n.getModel("label"),d=n.getModel("emphasis.label");r.setLabelStyle(e,t,c,d,{labelFetcher:a,labelDataIndex:l,defaultText:o(a.getData(),l),isRectText:!0,autoColor:i}),s(e),s(t)}function s(e,t){"outside"===e.textPosition&&(e.textPosition=t)}t.setLabel=a},"59Ip":function(e,t,n){var r=n("Sj9i");function i(e,t,n,i,o,a,s,l,u,c,d){if(0===u)return!1;var h=u;if(d>t+h&&d>i+h&&d>a+h&&d>l+h||d<t-h&&d<i-h&&d<a-h&&d<l-h||c>e+h&&c>n+h&&c>o+h&&c>s+h||c<e-h&&c<n-h&&c<o-h&&c<s-h)return!1;var f=r.cubicProjectPoint(e,t,n,i,o,a,s,l,c,d,null);return f<=h/2}t.containStroke=i},"5DEy":function(e,t,n){},"5Dmo":function(e,t,n){"use strict";n("cIOH"),n("5YgA")},"5GOC":function(e,t,n){"use strict";n("cIOH"),n("b56q"),n("15/o")},"5GhG":function(e,t,n){var r=n("5GtS"),i=n("bYtY"),o=n("L0Ub"),a=o.getDimensionTypeByAxis,s=n("D5nY"),l=s.makeSeriesEncodeForAxisCoordSys,u={_baseAxisDim:null,getInitialData:function(e,t){var n,o,s=t.getComponent("xAxis",this.get("xAxisIndex")),u=t.getComponent("yAxis",this.get("yAxisIndex")),c=s.get("type"),d=u.get("type");"category"===c?(e.layout="horizontal",n=s.getOrdinalMeta(),o=!0):"category"===d?(e.layout="vertical",n=u.getOrdinalMeta(),o=!0):e.layout=e.layout||"horizontal";var h=["x","y"],f="horizontal"===e.layout?0:1,p=this._baseAxisDim=h[f],g=h[1-f],m=[s,u],v=m[f].get("type"),y=m[1-f].get("type"),b=e.data;if(b&&o){var _=[];i.each(b,(function(e,t){var n;e.value&&i.isArray(e.value)?(n=e.value.slice(),e.value.unshift(t)):i.isArray(e)?(n=e.slice(),e.unshift(t)):n=e,_.push(n)})),e.data=_}var w=this.defaultValueDimensions,x=[{name:p,type:a(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:g,type:a(y),dimsDef:w.slice()}];return r(this,{coordDimensions:x,dimensionsCount:w.length+1,encodeDefaulter:i.curry(l,x,this)})},getBaseAxis:function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis}};t.seriesModelMixin=u},"5GtS":function(e,t,n){var r=n("sdST"),i=n("YXkt"),o=n("bYtY"),a=o.extend,s=o.isArray;function l(e,t,n){t=s(t)&&{coordDimensions:t}||a({},t);var o=e.getSource(),l=r(o,t),u=new i(l,e);return u.initData(o,n),u}e.exports=l},"5Hur":function(e,t,n){var r=n("4NO4"),i=r.makeInner,o=r.normalizeToArray,a=i();function s(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}var l={clearColorPalette:function(){a(this).colorIdx=0,a(this).colorNameMap={}},getColorFromPalette:function(e,t,n){t=t||this;var r=a(t),i=r.colorIdx||0,l=r.colorNameMap=r.colorNameMap||{};if(l.hasOwnProperty(e))return l[e];var u=o(this.get("color",!0)),c=this.get("colorLayer",!0),d=null!=n&&c?s(c,n):u;if(d=d||u,d&&d.length){var h=d[i];return e&&(l[e]=h),r.colorIdx=(i+1)%d.length,h}}};e.exports=l},"5NDa":function(e,t,n){"use strict";n("cIOH"),n("OnYD"),n("+L6B")},"5NHt":function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5OYt":function(e,t,n){"use strict";var r=n("q1tI"),i=n("ACnJ");function o(e,t){return c(e)||u(e,t)||s(e,t)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function c(e){if(Array.isArray(e))return e}function d(){var e=Object(r["useState"])({}),t=o(e,2),n=t[0],a=t[1];return Object(r["useEffect"])((function(){var e=i["a"].subscribe((function(e){a(e)}));return function(){return i["a"].unsubscribe(e)}}),[]),n}t["a"]=d},"5RzL":function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("1OyB"),a=n("vuIU"),s=n("Ji7U"),l=n("md7G"),u=n("foSv"),c=n("KQm4"),d=n("U8pU"),h=n("ODXe"),f=n("rePB"),p=n("qNPg"),g=n("2Qr1"),m=n("815F"),v=n("NvD2"),y=n("wPlo"),b=n("Kwbf"),_=n("4IlW"),w=n("YrtM"),x=n("fAei"),C=i.a.createContext(null);function S(e,t){if(!e)return!0;var n=e.data,r=n.disabled,i=n.disableCheckbox;switch(t){case"select":return r;case"checkbox":return r||i}return!1}function O(e,t){var n=i.a.useCallback((function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",r=arguments.length>2?arguments[2]:void 0,i=e.get(t);return!r&&S(i,n)?null:i}),[e]),r=i.a.useCallback((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"select",r=arguments.length>2?arguments[2]:void 0,i=t.get(e);return!r&&S(i,n)?null:i}),[t]);return[n,r]}function k(e){return i.a.useMemo((function(){var t=new Map,n=new Map;return e.forEach((function(e){t.set(e.key,e),n.set(e.data.value,e)})),[t,n]}),[e])}var E={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},D=function(e,t){var n=e.prefixCls,r=e.height,o=e.itemHeight,a=e.virtual,s=e.options,l=e.flattenOptions,u=e.multiple,d=e.searchValue,f=e.onSelect,p=e.onToggleOpen,g=e.open,m=e.notFoundContent,v=i.a.useContext(C),y=v.checkable,b=v.checkedKeys,S=v.halfCheckedKeys,D=v.treeExpandedKeys,M=v.treeDefaultExpandAll,N=v.treeDefaultExpandedKeys,L=v.onTreeExpand,I=v.treeIcon,T=v.showTreeIcon,P=v.switcherIcon,A=v.treeLine,R=v.treeNodeFilterProp,j=v.loadData,F=v.treeLoadedKeys,B=v.treeMotion,V=v.onTreeLoad,z=i.a.useRef(),W=Object(w["a"])((function(){return s}),[g,s],(function(e,t){return t[0]&&e[1]!==t[1]})),H=k(l),U=Object(h["a"])(H,2),K=U[0],G=U[1],q=O(K,G),Y=Object(h["a"])(q,2),X=Y[0],Z=Y[1],Q=i.a.useMemo((function(){return b.map((function(e){var t=Z(e);return t?t.key:null}))}),[b]),$=i.a.useMemo((function(){return y?{checked:Q,halfChecked:S}:null}),[Q,S,y]);i.a.useEffect((function(){var e;g&&!u&&Q.length&&(null===(e=z.current)||void 0===e||e.scrollTo({key:Q[0]}))}),[g]);var J=String(d).toLowerCase(),ee=function(e){return!!J&&String(e[R]).toLowerCase().includes(J)},te=i.a.useState(N),ne=Object(h["a"])(te,2),re=ne[0],ie=ne[1],oe=i.a.useState(null),ae=Object(h["a"])(oe,2),se=ae[0],le=ae[1],ue=i.a.useMemo((function(){return D?Object(c["a"])(D):d?se:re}),[re,se,J,D]);i.a.useEffect((function(){d&&le(l.map((function(e){return e.key})))}),[d]);var ce=function(e){ie(e),le(e),L&&L(e)},de=function(e){e.preventDefault()},he=function(e,t){var n=t.node.key,r=X(n,y?"checkbox":"select");null!==r&&f(r.data.value,{selected:!b.includes(r.data.value)}),u||p(!1)},fe=i.a.useState(null),pe=Object(h["a"])(fe,2),ge=pe[0],me=pe[1],ve=X(ge);if(i.a.useImperativeHandle(t,(function(){return{onKeyDown:function(e){var t,n=e.which;switch(n){case _["a"].UP:case _["a"].DOWN:case _["a"].LEFT:case _["a"].RIGHT:null===(t=z.current)||void 0===t||t.onKeyDown(e);break;case _["a"].ENTER:null!==ve&&he(null,{node:{key:ge},selected:!b.includes(ve.data.value)});break;case _["a"].ESC:p(!1)}},onKeyUp:function(){}}})),0===W.length)return i.a.createElement("div",{role:"listbox",className:"".concat(n,"-empty"),onMouseDown:de},m);var ye={};return F&&(ye.loadedKeys=F),ue&&(ye.expandedKeys=ue),i.a.createElement("div",{onMouseDown:de},ve&&g&&i.a.createElement("span",{style:E,"aria-live":"assertive"},ve.data.value),i.a.createElement(x["b"],Object.assign({ref:z,focusable:!1,prefixCls:"".concat(n,"-tree"),treeData:W,height:r,itemHeight:o,virtual:a,multiple:u,icon:I,showIcon:T,switcherIcon:P,showLine:A,loadData:d?null:j,motion:B,checkable:y,checkStrictly:!0,checkedKeys:$,selectedKeys:y?[]:Q,defaultExpandAll:M},ye,{onActiveChange:me,onSelect:he,onCheck:he,onExpand:ce,onLoad:V,filterTreeNode:ee})))},M=i.a.forwardRef(D);M.displayName="OptionList";var N=M,L=function(){return null},I=L,T=n("Ff2n"),P=n("Zm9Q");function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e){return Object(P["a"])(e).map((function(e){if(!i.a.isValidElement(e)||!e.type)return null;var t=e.key,n=e.props,r=n.children,o=n.value,a=Object(T["a"])(n,["children","value"]),s=R({key:t,value:o},a),l=j(r);return l.length&&(s.children=l),s})).filter((function(e){return e}))}function F(e){if(!e)return e;var t=R({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Object(b["a"])(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function B(e,t,n,r,o){var a=null,s=null;function l(){function e(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r.map((function(r,u){var c="".concat(o,"-").concat(u),d=n.includes(r.value),h=e(r.children||[],c,d),f=i.a.createElement(I,Object.assign({},r),h.map((function(e){return e.node})));if(t===r.value&&(a=f),d){var p={pos:c,node:f,children:h};return l||s.push(p),p}return null})).filter((function(e){return e}))}s||(s=[],e(r),s.sort((function(e,t){var r=e.node.props.value,i=t.node.props.value,o=n.indexOf(r),a=n.indexOf(i);return o-a})))}Object.defineProperty(e,"triggerNode",{get:function(){return Object(b["a"])(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Object(b["a"])(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),o?s:s.map((function(e){var t=e.node;return t}))}})}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function W(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function H(e,t){var n=new Map;return t.forEach((function(e){var t=e.data;n.set(t.value,t)})),e.map((function(e){return F(n.get(e))}))}function U(e,t){var n=H([e],t)[0];return!!n&&n.disabled}function K(e){return e.disabled||e.disableCheckbox||!1===e.checkable}function G(e){var t=e.parent,n=0,r=t;while(r)r=r.parent,n+=1;return n}function q(e){function t(e){return(e||[]).map((function(e){var n=e.value,r=e.key,i=e.children,o=z(z({},e),{},{key:"key"in e?r:n});return i&&(o.children=t(i)),o}))}var n=Object(m["d"])(t(e),!0);return n.map((function(e){return{key:e.data.key,data:e.data,level:G(e)}}))}function Y(e){return function(t,n){var r=n[e];return String(r).toLowerCase().includes(String(t).toLowerCase())}}function X(e,t,n){var r,i=n.optionFilterProp,o=n.filterOption;if(!1===o)return t;function a(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.map((function(t){var i=t.children,o=n||r(e,F(t)),s=a(i||[],o);return o||s.length?z(z({},t),{},{children:s}):null})).filter((function(e){return e}))}return r="function"===typeof o?o:Y(i),a(t)}function Z(e,t,n,r){var i=new Map;return W(t).forEach((function(e){e&&"object"===Object(d["a"])(e)&&"value"in e&&i.set(e.value,e)})),e.map((function(e){var t={value:e},o=n(e,"select",!0),a=o?r(o.data):e;if(i.has(e)){var s=i.get(e);t.label="label"in s?s.label:a,"halfChecked"in s&&(t.halfChecked=s.halfChecked)}else t.label=a;return t}))}function Q(e,t){var n=new Set(e);return n.add(t),Array.from(n)}function $(e,t){var n=new Set(e);return n.delete(t),Array.from(n)}function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function te(e,t){var n=t.id,r=t.pId,i=t.rootPId,o={},a=[],s=e.map((function(e){var t=ee({},e),r=t[n];return o[r]=t,t.key=t.key||r,t}));return s.forEach((function(e){var t=e[r],n=o[t];n&&(n.children=n.children||[],n.children.push(e)),(t===i||!n&&null===i)&&a.push(e)})),a}function ne(e,t){new Set;function n(e){return(e||[]).map((function(e){var r=e.key,i=e.value,o=e.children,a=Object(T["a"])(e,["key","value","children"]),s="value"in e?i:r,l=ee(ee({},a),{},{key:null!==r&&void 0!==r?r:s,value:s,title:t(e)});return"children"in e&&(l.children=n(o)),l}))}return n(e)}function re(e,t,n){var r=n.getLabelProp,o=n.simpleMode,a=i.a.useRef({});return e?(a.current.formatTreeData=a.current.treeData===e?a.current.formatTreeData:ne(o?te(e,ee({id:"id",pId:"pId",rootPId:null},!0!==o?o:{})):e,r),a.current.treeData=e):a.current.formatTreeData=a.current.children===t?a.current.formatTreeData:ne(j(t),r),a.current.formatTreeData}var ie="SHOW_ALL",oe="SHOW_PARENT",ae="SHOW_CHILD";function se(e,t,n){var r=new Set(e);return t===ae?e.filter((function(e){var t=n[e];return!(t&&t.children&&t.children.every((function(e){var t=e.node;return K(t)||r.has(t.key)})))})):t===oe?e.filter((function(e){var t=n[e],i=t?t.parent:null;return!(i&&!K(i.node)&&r.has(i.node.key))})):e}function le(e,t){var n=t.value,r=t.getEntityByValue,o=t.getEntityByKey,a=t.treeConduction,s=t.showCheckedStrategy,l=t.conductKeyEntities,u=t.getLabelProp;return i.a.useMemo((function(){var t=e;if(a){var i=se(e.map((function(e){var t=r(e);return t?t.key:e})),s,l);t=i.map((function(e){var t=o(e);return t?t.data.value:e}))}return Z(t,n,r,u)}),[e,n,a,s,r])}function ue(e){var t=ce();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){Object(f["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fe=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],pe=Object(p["a"])({prefixCls:"rc-tree-select",components:{optionList:N},convertChildrenToData:function(){return null},flattenOptions:q,getLabeledValue:g["e"],filterOptions:X,isValueDisabled:U,findValueOption:H,omitDOMProps:function(e){var t=he({},e);return fe.forEach((function(e){delete t[e]})),t}});pe.displayName="Select";var ge=i.a.forwardRef((function(e,t){var n=e.multiple,r=e.treeCheckable,o=e.treeCheckStrictly,a=e.showCheckedStrategy,s=void 0===a?"SHOW_CHILD":a,l=e.labelInValue,u=e.loadData,f=e.treeLoadedKeys,p=e.treeNodeFilterProp,g=void 0===p?"value":p,_=e.treeNodeLabelProp,w=e.treeDataSimpleMode,x=e.treeData,S=e.treeExpandedKeys,E=e.treeDefaultExpandedKeys,D=e.treeDefaultExpandAll,M=e.children,N=e.treeIcon,L=e.showTreeIcon,I=e.switcherIcon,T=e.treeLine,P=e.treeMotion,A=e.filterTreeNode,R=e.dropdownPopupAlign,j=e.onChange,F=e.onTreeExpand,V=e.onTreeLoad,z=e.onDropdownVisibleChange,H=e.onSelect,U=e.onDeselect,K=r||o,G=n||K,Y=r&&!o,X=o||l,J=i.a.useRef(null);i.a.useImperativeHandle(t,(function(){return{focus:J.current.focus,blur:J.current.blur}}));var ee=function(e){return _?e[_]:x&&e.label||e.title},te=re(x,M,{getLabelProp:ee,simpleMode:w}),ne=i.a.useMemo((function(){return q(te)}),[te]),ie=k(ne),oe=Object(h["a"])(ie,2),ae=oe[0],ue=oe[1],ce=O(ae,ue),de=Object(h["a"])(ce,2),he=de[0],fe=de[1],ge=i.a.useMemo((function(){return Y?Object(m["a"])(te):{keyEntities:null}}),[te,r,o]),me=ge.keyEntities,ve=i.a.useState(e.defaultValue),ye=Object(h["a"])(ve,2),be=ye[0],_e=ye[1],we="value"in e?e.value:be,xe=function(e){var t=[],n=[];return e.forEach((function(e){fe(e)?n.push(e):t.push(e)})),{missingRawValues:t,existRawValues:n}},Ce=i.a.useMemo((function(){var e=[],t=[];if(W(we).forEach((function(n){if(n&&"object"===Object(d["a"])(n)&&"value"in n)if(n.halfChecked&&o){var r=fe(n.value);e.push(r?r.key:n.value)}else t.push(n.value);else t.push(n)})),Y){var n=xe(t),r=n.missingRawValues,i=n.existRawValues,a=i.map((function(e){return fe(e).key})),s=Object(v["a"])(a,!0,me),l=s.checkedKeys,u=s.halfCheckedKeys;return[[].concat(Object(c["a"])(r),Object(c["a"])(l.map((function(e){return he(e).data.value})))),u]}return[t,e]}),[we,G,X,r,o]),Se=Object(h["a"])(Ce,2),Oe=Se[0],ke=Se[1],Ee=le(Oe,{treeConduction:Y,value:we,showCheckedStrategy:s,conductKeyEntities:me,getEntityByValue:fe,getEntityByKey:he,getLabelProp:ee}),De=function(e,t,n){if(_e(G?e:e[0]),j){var r=e;if(Y&&"SHOW_ALL"!==s){var i=e.map((function(e){var t=fe(e);return t?t.key:e})),a=se(i,s,me);r=a.map((function(e){var t=he(e);return t?t.data.value:e}))}var l=t||{triggerValue:void 0,selected:void 0},u=l.triggerValue,d=l.selected,h=X?Z(r,we,fe,ee):r;if(o){var f=ke.map((function(e){var t=he(e);return t?t.data.value:e})).filter((function(e){return!r.includes(e)}));h=[].concat(Object(c["a"])(h),Object(c["a"])(Z(f,we,fe,ee)))}var p={preValue:Ee,triggerValue:u},g=!0;(o||"selection"===n&&!d)&&(g=!1),B(p,u,e,te,g),K?p.checked=d:p.selected=d,j(G?h:h[0],X?null:r.map((function(e){var t=fe(e);return t?ee(t.data):null})),p)}},Me=function(e,t,n){var r=e;if(G){var i=Q(Oe,e);if(Y){var o=xe(i),a=o.missingRawValues,s=o.existRawValues,l=s.map((function(e){return fe(e).key})),u=Object(v["a"])(l,!0,me),d=u.checkedKeys;i=[].concat(Object(c["a"])(a),Object(c["a"])(d.map((function(e){return he(e).data.value}))))}De(i,{selected:!0,triggerValue:e},n)}else De([e],{selected:!0,triggerValue:e},n);H&&H(r,t)},Ne=function(e,t,n){var r=e,i=$(Oe,e);if(Y){var o=xe(i),a=o.missingRawValues,s=o.existRawValues,l=s.map((function(e){return fe(e).key})),u=Object(v["a"])(l,{checked:!1,halfCheckedKeys:ke},me),d=u.checkedKeys;i=[].concat(Object(c["a"])(a),Object(c["a"])(d.map((function(e){return he(e).data.value}))))}De(i,{selected:!1,triggerValue:e},n),U&&U(r,t)},Le=function(){De([],null,"clear")},Ie=i.a.useCallback((function(e){if(z){var t={};Object.defineProperty(t,"documentClickClose",{get:function(){return Object(b["a"])(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),z(e,t)}}),[z]);var Te={optionLabelProp:null,optionFilterProp:g,dropdownAlign:R,internalProps:{mark:y["a"],onClear:Le,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:Me,onRawDeselect:Ne}};return"filterTreeNode"in e&&(Te.filterOption=A),i.a.createElement(C.Provider,{value:{checkable:K,loadData:u,treeLoadedKeys:f,onTreeLoad:V,checkedKeys:Oe,halfCheckedKeys:ke,treeDefaultExpandAll:D,treeExpandedKeys:S,treeDefaultExpandedKeys:E,onTreeExpand:F,treeIcon:N,treeMotion:P,showTreeIcon:L,switcherIcon:I,treeLine:T,treeNodeFilterProp:g}},i.a.createElement(pe,Object.assign({ref:J,mode:G?"multiple":null},e,Te,{value:Ee,labelInValue:!0,options:te,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:Ie})))})),me=function(e){Object(s["a"])(n,e);var t=ue(n);function n(){var e;return Object(o["a"])(this,n),e=t.apply(this,arguments),e.selectRef=i.a.createRef(),e.focus=function(){e.selectRef.current.focus()},e.blur=function(){e.selectRef.current.blur()},e}return Object(a["a"])(n,[{key:"render",value:function(){return i.a.createElement(ge,Object.assign({ref:this.selectRef},this.props))}}]),n}(i.a.Component);me.TreeNode=I,me.SHOW_ALL=ie,me.SHOW_PARENT=oe,me.SHOW_CHILD=ae;var ve=me,ye=ve,be=n("TSYQ"),_e=n.n(be),we=n("BGR+"),xe=n("H84U"),Ce=n("uaoM"),Se=n("1vzs"),Oe=n("2jpz"),ke=n("3Nzz");function Ee(e){return Ee="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function De(){return De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},De.apply(this,arguments)}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t,n){return t&&Le(e.prototype,t),n&&Le(e,n),e}function Te(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pe(e,t)}function Pe(e,t){return Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pe(e,t)}function Ae(e){var t=Fe();return function(){var n,r=Be(e);if(t){var i=Be(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Re(this,n)}}function Re(e,t){return!t||"object"!==Ee(t)&&"function"!==typeof t?je(e):t}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Be(e)}var Ve=function(e){Te(n,e);var t=Ae(n);function n(e){var i;return Ne(this,n),i=t.call(this,e),i.selectRef=r["createRef"](),i.renderTreeSelect=function(e){var t,n=e.getPopupContainer,o=e.getPrefixCls,a=e.renderEmpty,s=e.direction,l=e.virtual,u=e.dropdownMatchSelectWidth,c=i.props,d=c.prefixCls,h=c.size,f=c.className,p=c.treeCheckable,g=c.multiple,m=c.listHeight,v=void 0===m?256:m,y=c.listItemHeight,b=void 0===y?26:y,_=c.notFoundContent,w=c.switcherIcon,x=c.treeLine,C=c.getPopupContainer,S=c.dropdownClassName,O=c.bordered,k=c.treeIcon,E=void 0!==k&&k,D=o("select",d),M=o("select-tree",d),N=o("tree-select",d),L=_e()(S,"".concat(N,"-dropdown"),Me({},"".concat(N,"-dropdown-rtl"),"rtl"===s)),I=!(!p&&!g),T=Object(Se["a"])(De(De({},i.props),{multiple:I})),P=T.suffixIcon,A=T.itemIcon,R=T.removeIcon,j=T.clearIcon;t=void 0!==_?_:a("Select");var F=Object(we["a"])(i.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return r["createElement"](ke["b"].Consumer,null,(function(e){var o,a=h||e,c=_e()(!d&&N,(o={},Me(o,"".concat(D,"-lg"),"large"===a),Me(o,"".concat(D,"-sm"),"small"===a),Me(o,"".concat(D,"-rtl"),"rtl"===s),Me(o,"".concat(D,"-borderless"),!O),o),f);return r["createElement"](ye,De({virtual:l,dropdownMatchSelectWidth:u},F,{ref:i.selectRef,prefixCls:D,className:c,listHeight:v,listItemHeight:b,treeCheckable:p?r["createElement"]("span",{className:"".concat(D,"-tree-checkbox-inner")}):p,inputIcon:P,menuItemSelectedIcon:A,removeIcon:R,clearIcon:j,switcherIcon:function(e){return Object(Oe["a"])(M,w,x,e)},showTreeIcon:E,notFoundContent:t,getPopupContainer:C||n,treeMotion:null,dropdownClassName:L}))}))},Object(Ce["a"])(!1!==e.multiple||!e.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),i}return Ie(n,[{key:"focus",value:function(){this.selectRef.current&&this.selectRef.current.focus()}},{key:"blur",value:function(){this.selectRef.current&&this.selectRef.current.blur()}},{key:"render",value:function(){return r["createElement"](xe["a"],null,this.renderTreeSelect)}}]),n}(r["Component"]);Ve.TreeNode=I,Ve.SHOW_ALL=ie,Ve.SHOW_PARENT=oe,Ve.SHOW_CHILD=ae,Ve.defaultProps={transitionName:"slide-up",choiceTransitionName:"zoom",bordered:!0};t["a"]=Ve},"5TxY":function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m}));var r=n("D3Dy"),i=n("EffR"),o=n("X+cX"),a=n("MI8n"),s=n("pmY6"),l=n("MNsG"),u=n("N0LK"),c=n("Comh"),d=n("gCVg"),h=n("CjF5"),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p={forceCopyWithSyntaxHighlighting:!1},g=function(){function e(){this._lastState=null}return e.prototype.set=function(e,t){this._lastState={lastCopiedValue:e,data:t}},e.prototype.get=function(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState.data:(this._lastState=null,null)},e.INSTANCE=new e,e}(),m=function(e){function t(t,n){var s=e.call(this)||this;s.textArea=n,s._onFocus=s._register(new a["a"]),s.onFocus=s._onFocus.event,s._onBlur=s._register(new a["a"]),s.onBlur=s._onBlur.event,s._onKeyDown=s._register(new a["a"]),s.onKeyDown=s._onKeyDown.event,s._onKeyUp=s._register(new a["a"]),s.onKeyUp=s._onKeyUp.event,s._onCut=s._register(new a["a"]),s.onCut=s._onCut.event,s._onPaste=s._register(new a["a"]),s.onPaste=s._onPaste.event,s._onType=s._register(new a["a"]),s.onType=s._onType.event,s._onCompositionStart=s._register(new a["a"]),s.onCompositionStart=s._onCompositionStart.event,s._onCompositionUpdate=s._register(new a["a"]),s.onCompositionUpdate=s._onCompositionUpdate.event,s._onCompositionEnd=s._register(new a["a"]),s.onCompositionEnd=s._onCompositionEnd.event,s._onSelectionChangeRequest=s._register(new a["a"]),s.onSelectionChangeRequest=s._onSelectionChangeRequest.event,s._host=t,s._textArea=s._register(new y(n)),s._asyncTriggerCut=s._register(new o["d"]((function(){return s._onCut.fire()}),0)),s._textAreaState=c["b"].EMPTY,s._selectionChangeListener=null,s.writeScreenReaderContent("ctor"),s._hasFocus=!1,s._isDoingComposition=!1,s._nextCommand=0,s._register(i["n"](n.domNode,"keydown",(function(e){!s._isDoingComposition||109!==e.keyCode&&1!==e.keyCode||e.stopPropagation(),e.equals(9)&&e.preventDefault(),s._onKeyDown.fire(e)}))),s._register(i["n"](n.domNode,"keyup",(function(e){s._onKeyUp.fire(e)}))),s._register(i["i"](n.domNode,"compositionstart",(function(e){s._isDoingComposition||(s._isDoingComposition=!0,r["f"]||s._setAndWriteTextAreaState("compositionstart",c["b"].EMPTY),s._onCompositionStart.fire())})));var d=function(e){var t=s._textAreaState,n=c["b"].readFromTextArea(s._textArea);return[n,c["b"].deduceInput(t,n,e)]},h=function(e){var t=s._textAreaState,n=c["b"].selectedText(e),r={text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart};return[n,r]},f=function(e){return!(!r["f"]||"ja"!==e)||!(!r["i"]||0!==e.indexOf("zh-Han"))};return s._register(i["i"](n.domNode,"compositionupdate",(function(e){if(f(e.locale)){var t=d(!1),n=t[0],r=t[1];return s._textAreaState=n,s._onType.fire(r),void s._onCompositionUpdate.fire(e)}var i=h(e.data),o=i[0],a=i[1];s._textAreaState=o,s._onType.fire(a),s._onCompositionUpdate.fire(e)}))),s._register(i["i"](n.domNode,"compositionend",(function(e){if(s._isDoingComposition){if(f(e.locale)){var t=d(!1),n=t[0],i=t[1];s._textAreaState=n,s._onType.fire(i)}else{var o=h(e.data);n=o[0],i=o[1];s._textAreaState=n,s._onType.fire(i)}(r["f"]||r["d"])&&(s._textAreaState=c["b"].readFromTextArea(s._textArea)),s._isDoingComposition&&(s._isDoingComposition=!1,s._onCompositionEnd.fire())}}))),s._register(i["i"](n.domNode,"input",(function(){if(s._textArea.setIgnoreSelectionChangeTime("received input event"),!s._isDoingComposition){var e=d(l["e"]),t=e[0],n=e[1];0===n.replaceCharCnt&&1===n.text.length&&u["z"](n.text.charCodeAt(0))||(s._textAreaState=t,0===s._nextCommand?""!==n.text&&s._onType.fire(n):(""===n.text&&0===n.replaceCharCnt||s._firePaste(n.text,null),s._nextCommand=0))}}))),s._register(i["i"](n.domNode,"cut",(function(e){s._textArea.setIgnoreSelectionChangeTime("received cut event"),s._ensureClipboardGetsEditorSelection(e),s._asyncTriggerCut.schedule()}))),s._register(i["i"](n.domNode,"copy",(function(e){s._ensureClipboardGetsEditorSelection(e)}))),s._register(i["i"](n.domNode,"paste",(function(e){if(s._textArea.setIgnoreSelectionChangeTime("received paste event"),v.canUseTextData(e)){var t=v.getTextData(e),n=t[0],r=t[1];""!==n&&s._firePaste(n,r)}else s._textArea.getSelectionStart()!==s._textArea.getSelectionEnd()&&s._setAndWriteTextAreaState("paste",c["b"].EMPTY),s._nextCommand=1}))),s._register(i["i"](n.domNode,"focus",(function(){s._setHasFocus(!0)}))),s._register(i["i"](n.domNode,"blur",(function(){s._setHasFocus(!1)}))),s}return f(t,e),t.prototype._installSelectionChangeListener=function(){var e=this,t=0;return i["i"](document,"selectionchange",(function(n){if(e._hasFocus&&!e._isDoingComposition&&r["d"]&&l["h"]){var i=Date.now(),o=i-t;if(t=i,!(o<5)){var a=i-e._textArea.getIgnoreSelectionChangeTime();if(e._textArea.resetSelectionChangeTime(),!(a<100)&&e._textAreaState.selectionStartPosition&&e._textAreaState.selectionEndPosition){var s=e._textArea.getValue();if(e._textAreaState.value===s){var u=e._textArea.getSelectionStart(),c=e._textArea.getSelectionEnd();if(e._textAreaState.selectionStart!==u||e._textAreaState.selectionEnd!==c){var h=e._textAreaState.deduceEditorPosition(u),f=e._host.deduceModelPosition(h[0],h[1],h[2]),p=e._textAreaState.deduceEditorPosition(c),g=e._host.deduceModelPosition(p[0],p[1],p[2]),m=new d["a"](f.lineNumber,f.column,g.lineNumber,g.column);e._onSelectionChangeRequest.fire(m)}}}}}}))},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},t.prototype.focusTextArea=function(){this._setHasFocus(!0),this.refreshFocusState()},t.prototype.isFocused=function(){return this._hasFocus},t.prototype.refreshFocusState=function(){var e=i["D"](this.textArea.domNode);e?this._setHasFocus(e.activeElement===this.textArea.domNode):i["L"](this.textArea.domNode)?this._setHasFocus(document.activeElement===this.textArea.domNode):this._setHasFocus(!1)},t.prototype._setHasFocus=function(e){this._hasFocus!==e&&(this._hasFocus=e,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&(r["e"]?this._setAndWriteTextAreaState("focusgain",c["b"].EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},t.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},t.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},t.prototype._ensureClipboardGetsEditorSelection=function(e){var t=this._host.getDataToCopy(v.canUseTextData(e)&&h["a"].clipboard.richText),n={version:1,isFromEmptySelection:t.isFromEmptySelection,multicursorText:t.multicursorText,mode:t.mode};g.INSTANCE.set(r["h"]?t.text.replace(/\r\n/g,"\n"):t.text,n),v.canUseTextData(e)?v.setTextData(e,t.text,t.html,n):this._setAndWriteTextAreaState("copy or cut",c["b"].selectedText(t.text))},t.prototype._firePaste=function(e,t){t||(t=g.INSTANCE.get(e)),this._onPaste.fire({text:e,metadata:t})},t}(s["a"]),v=function(){function e(){}return e.canUseTextData=function(e){return!!e.clipboardData||!!window.clipboardData},e.getTextData=function(e){if(e.clipboardData){e.preventDefault();var t=e.clipboardData.getData("text/plain"),n=null,r=e.clipboardData.getData("vscode-editor-data");if("string"===typeof r)try{n=JSON.parse(r),1!==n.version&&(n=null)}catch(i){}return[t,n]}if(window.clipboardData){e.preventDefault();t=window.clipboardData.getData("Text");return[t,null]}throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},e.setTextData=function(e,t,n,r){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),"string"===typeof n&&e.clipboardData.setData("text/html",n),e.clipboardData.setData("vscode-editor-data",JSON.stringify(r)),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},e}(),y=function(e){function t(t){var n=e.call(this)||this;return n._actual=t,n._ignoreSelectionChangeTime=0,n}return f(t,e),t.prototype.setIgnoreSelectionChangeTime=function(e){this._ignoreSelectionChangeTime=Date.now()},t.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},t.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},t.prototype.getValue=function(){return this._actual.domNode.value},t.prototype.setValue=function(e,t){var n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)},t.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},t.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},t.prototype.setSelectionRange=function(e,t,n){var o=this._actual.domNode,a=null,s=i["D"](o);a=s?s.activeElement:document.activeElement;var l=a===o,u=o.selectionStart,c=o.selectionEnd;if(l&&u===t&&c===n)r["h"]&&window.parent!==window&&o.focus();else{if(l)return this.setIgnoreSelectionChangeTime("setSelectionRange"),o.setSelectionRange(t,n),void(r["h"]&&window.parent!==window&&o.focus());try{var d=i["U"](o);this.setIgnoreSelectionChangeTime("setSelectionRange"),o.focus(),o.setSelectionRange(t,n),i["S"](o,d)}catch(h){}}},t}(s["a"])},"5Uyt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("KmBX"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"5Y4S":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("MNsG"),i=r["b"].performance&&"function"===typeof r["b"].performance.now,o=function(){function e(e){this._highResolution=i&&e,this._startTime=this._now(),this._stopTime=-1}return e.create=function(t){return void 0===t&&(t=!0),new e(t)},e.prototype.stop=function(){this._stopTime=this._now()},e.prototype.elapsed=function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime},e.prototype._now=function(){return this._highResolution?r["b"].performance.now():(new Date).getTime()},e}()},"5YOS":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("xb2K"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"5YgA":function(e,t,n){},"5bA4":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="LeftOutlined";t["a"]=r["forwardRef"](s)},"5nXd":function(e,t,n){var r=n("MFOe"),i=r.slice,o=r.pluck,a=r.each,s=r.bind,l=r.create,u=r.isList,c=r.isFunction,d=r.isObject;e.exports={createStore:p};var h={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return p.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return p(this.storage,this.plugins,e)}};function f(){var e="undefined"==typeof console?null:console;if(e){var t=e.warn?e.warn:e.log;t.apply(e,arguments)}}function p(e,t,n){n||(n=""),e&&!u(e)&&(e=[e]),t&&!u(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",p=n?new RegExp("^"+r):null,g=/^[a-zA-Z0-9_\-]*$/;if(!g.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m={_namespacePrefix:r,_namespaceRegexp:p,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=i(arguments,0),r=this;function o(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var s=[o].concat(t);return e.apply(r,s)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(u(e))a(e,(function(e){t._addPlugin(e)}));else{var n=o(this.plugins,(function(t){return e===t}));if(!n){if(this.plugins.push(e),!c(e))throw new Error("Plugins must be function values that return objects");var r=e.call(this);if(!d(r))throw new Error("Plugins must return an object of function properties");a(r,(function(n,r){if(!c(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}}},addStorage:function(e){f("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},v=l(m,h,{plugins:[]});return v.raw={},a(v,(function(e,t){c(e)&&(v.raw[t]=s(v,e))})),a(e,(function(e){v._addStorage(e)})),a(t,(function(e){v._addPlugin(e)})),v}},"5rEg":function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("kbBi"),l=n.n(s),u=n("CWQg"),c=n("0n0R");function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=w();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var C=Object(u["a"])("text","input");function S(e){return!!(e.prefix||e.suffix||e.allowClear)}var O=function(e){m(n,e);var t=y(n);function n(){var e;return f(this,n),e=t.apply(this,arguments),e.containerRef=r["createRef"](),e.onInputMouseUp=function(t){var n;if(null===(n=e.containerRef.current)||void 0===n?void 0:n.contains(t.target)){var r=e.props.triggerFocus;r()}},e}return g(n,[{key:"renderClearIcon",value:function(e){var t=this.props,n=t.allowClear,i=t.value,a=t.disabled,s=t.readOnly,u=t.inputType,c=t.handleReset;if(!n)return null;var d=!a&&!s&&i,f=u===C[0]?"".concat(e,"-textarea-clear-icon"):"".concat(e,"-clear-icon");return r["createElement"](l.a,{onClick:c,className:o()(f,h({},"".concat(f,"-hidden"),!d)),role:"button"})}},{key:"renderSuffix",value:function(e){var t=this.props,n=t.suffix,i=t.allowClear;return n||i?r["createElement"]("span",{className:"".concat(e,"-suffix")},this.renderClearIcon(e),n):null}},{key:"renderLabeledIcon",value:function(e,t){var n,i=this.props,a=i.focused,s=i.value,l=i.prefix,u=i.className,d=i.size,f=i.suffix,p=i.disabled,g=i.allowClear,m=i.direction,v=i.style,y=i.readOnly,b=this.renderSuffix(e);if(!S(this.props))return Object(c["a"])(t,{value:s});var _=l?r["createElement"]("span",{className:"".concat(e,"-prefix")},l):null,w=o()(u,"".concat(e,"-affix-wrapper"),(n={},h(n,"".concat(e,"-affix-wrapper-focused"),a),h(n,"".concat(e,"-affix-wrapper-disabled"),p),h(n,"".concat(e,"-affix-wrapper-sm"),"small"===d),h(n,"".concat(e,"-affix-wrapper-lg"),"large"===d),h(n,"".concat(e,"-affix-wrapper-input-with-clear-btn"),f&&g&&s),h(n,"".concat(e,"-affix-wrapper-rtl"),"rtl"===m),h(n,"".concat(e,"-affix-wrapper-readonly"),y),n));return r["createElement"]("span",{ref:this.containerRef,className:w,style:v,onMouseUp:this.onInputMouseUp},_,Object(c["a"])(t,{style:null,value:s,className:K(e,d,p)}),b)}},{key:"renderInputWithLabel",value:function(e,t){var n,i,a=this.props,s=a.addonBefore,l=a.addonAfter,u=a.style,d=a.size,f=a.className,p=a.direction;if(!s&&!l)return t;var g="".concat(e,"-group"),m="".concat(g,"-addon"),v=s?r["createElement"]("span",{className:m},s):null,y=l?r["createElement"]("span",{className:m},l):null,b=o()("".concat(e,"-wrapper"),(n={},h(n,g,s||l),h(n,"".concat(g,"-rtl"),"rtl"===p),n)),_=o()(f,"".concat(e,"-group-wrapper"),(i={},h(i,"".concat(e,"-group-wrapper-sm"),"small"===d),h(i,"".concat(e,"-group-wrapper-lg"),"large"===d),h(i,"".concat(e,"-group-wrapper-rtl"),"rtl"===p),i));return r["createElement"]("span",{className:_,style:u},r["createElement"]("span",{className:b},v,Object(c["a"])(t,{style:null}),y))}},{key:"renderTextAreaWithClearIcon",value:function(e,t){var n=this.props,i=n.value,a=n.allowClear,s=n.className,l=n.style,u=n.direction;if(!a)return Object(c["a"])(t,{value:i});var d=o()(s,"".concat(e,"-affix-wrapper"),h({},"".concat(e,"-affix-wrapper-rtl"),"rtl"===u),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"));return r["createElement"]("span",{className:d,style:l},Object(c["a"])(t,{style:null,value:i}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.inputType,r=e.element;return n===C[0]?this.renderTextAreaWithClearIcon(t,r):this.renderInputWithLabel(t,this.renderLabeledIcon(t,r))}}]),n}(r["Component"]),k=O,E=n("H84U"),D=n("3Nzz"),M=n("uaoM");function N(e){return N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function L(){return L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P(e,t,n){return t&&T(e.prototype,t),n&&T(e,n),e}function A(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R(e,t)}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function j(e){var t=V();return function(){var n,r=z(e);if(t){var i=z(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return F(this,n)}}function F(e,t){return!t||"object"!==N(t)&&"function"!==typeof t?B(e):t}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function z(e){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},z(e)}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e){return"undefined"===typeof e||null===e?"":e}function U(e,t,n){if(n){var r=t;if("click"===t.type){r=Object.create(t),r.target=e,r.currentTarget=e;var i=e.value;return e.value="",n(r),void(e.value=i)}n(r)}}function K(e,t,n,r){var i;return o()(e,(i={},W(i,"".concat(e,"-sm"),"small"===t),W(i,"".concat(e,"-lg"),"large"===t),W(i,"".concat(e,"-disabled"),n),W(i,"".concat(e,"-rtl"),"rtl"===r),i))}var G=function(e){A(n,e);var t=j(n);function n(e){var i;I(this,n),i=t.call(this,e),i.direction="ltr",i.focus=function(){i.input.focus()},i.saveClearableInput=function(e){i.clearableInput=e},i.saveInput=function(e){i.input=e},i.onFocus=function(e){var t=i.props.onFocus;i.setState({focused:!0},i.clearPasswordValueAttribute),t&&t(e)},i.onBlur=function(e){var t=i.props.onBlur;i.setState({focused:!1},i.clearPasswordValueAttribute),t&&t(e)},i.handleReset=function(e){i.setValue("",(function(){i.focus()})),U(i.input,e,i.props.onChange)},i.renderInput=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.props,l=s.className,u=s.addonBefore,c=s.addonAfter,d=s.size,h=s.disabled,f=Object(a["a"])(i.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType"]);return r["createElement"]("input",L({autoComplete:n.autoComplete},f,{onChange:i.handleChange,onFocus:i.onFocus,onBlur:i.onBlur,onKeyDown:i.handleKeyDown,className:o()(K(e,d||t,h,i.direction),W({},l,l&&!u&&!c)),ref:i.saveInput}))},i.clearPasswordValueAttribute=function(){i.removePasswordTimeout=setTimeout((function(){i.input&&"password"===i.input.getAttribute("type")&&i.input.hasAttribute("value")&&i.input.removeAttribute("value")}))},i.handleChange=function(e){i.setValue(e.target.value,i.clearPasswordValueAttribute),U(i.input,e,i.props.onChange)},i.handleKeyDown=function(e){var t=i.props,n=t.onPressEnter,r=t.onKeyDown;13===e.keyCode&&n&&n(e),r&&r(e)},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,o=e.input,a=i.state,s=a.value,l=a.focused,u=i.props.prefixCls,c=t("input",u);return i.direction=n,r["createElement"](D["b"].Consumer,null,(function(e){return r["createElement"](k,L({size:e},i.props,{prefixCls:c,inputType:"input",value:H(s),element:i.renderInput(c,e,o),handleReset:i.handleReset,ref:i.saveClearableInput,direction:n,focused:l,triggerFocus:i.focus}))}))};var s="undefined"===typeof e.value?e.defaultValue:e.value;return i.state={value:s,focused:!1,prevValue:e.value},i}return P(n,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return S(e)!==S(this.props)&&Object(M["a"])(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value&&this.setState({value:e},t)}},{key:"render",value:function(){return r["createElement"](E["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r={prevValue:e.value};return void 0===e.value&&n===e.value||(r.value=e.value),r}}]),n}(r["Component"]);G.defaultProps={type:"text"};var q=G;function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=function(e){return r["createElement"](E["a"],null,(function(t){var n,i=t.getPrefixCls,a=t.direction,s=e.prefixCls,l=e.className,u=void 0===l?"":l,c=i("input-group",s),d=o()(c,(n={},Y(n,"".concat(c,"-lg"),"large"===e.size),Y(n,"".concat(c,"-sm"),"small"===e.size),Y(n,"".concat(c,"-compact"),e.compact),Y(n,"".concat(c,"-rtl"),"rtl"===a),n),u);return r["createElement"]("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},Z=X,Q=n("w6Tc"),$=n.n(Q),J=n("gZBC"),ee=n.n(J),te=n("2/Rp");function ne(e){return ne="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(){return ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ie.apply(this,arguments)}function oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t,n){return t&&ae(e.prototype,t),n&&ae(e,n),e}function le(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ue(e,t)}function ue(e,t){return ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ue(e,t)}function ce(e){var t=fe();return function(){var n,r=pe(e);if(t){var i=pe(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return de(this,n)}}function de(e,t){return!t||"object"!==ne(t)&&"function"!==typeof t?he(e):t}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}var ge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},me=function(e){le(n,e);var t=ce(n);function n(){var e;return oe(this,n),e=t.apply(this,arguments),e.saveInput=function(t){e.input=t},e.onChange=function(t){var n=e.props,r=n.onChange,i=n.onSearch;t&&t.target&&"click"===t.type&&i&&i(t.target.value,t),r&&r(t)},e.onMouseDown=function(t){document.activeElement===e.input.input&&t.preventDefault()},e.onSearch=function(t){var n=e.props,r=n.onSearch,i=n.loading,o=n.disabled;i||o||r&&r(e.input.input.value,t)},e.renderLoading=function(t){var n=e.props,i=n.enterButton,o=n.size;return i?r["createElement"](D["b"].Consumer,{key:"enterButton"},(function(e){return r["createElement"](te["a"],{className:"".concat(t,"-button"),type:"primary",size:o||e},r["createElement"](ee.a,null))})):r["createElement"](ee.a,{className:"".concat(t,"-icon"),key:"loadingIcon"})},e.renderSuffix=function(t){var n=e.props,i=n.suffix,o=n.enterButton,a=n.loading;if(a&&!o)return[i,e.renderLoading(t)];if(o)return i;var s=r["createElement"]($.a,{className:"".concat(t,"-icon"),key:"searchIcon",onClick:e.onSearch});return i?[Object(c["c"])(i,null,{key:"suffix"}),s]:s},e.renderAddonAfter=function(t,n){var i,o=e.props,a=o.enterButton,s=o.disabled,l=o.addonAfter,u=o.loading,d="".concat(t,"-button");if(u&&a)return[e.renderLoading(t),l];if(!a)return l;var h=a,f=h.type&&!0===h.type.__ANT_BUTTON;return i=f||"button"===h.type?Object(c["a"])(h,ie({onMouseDown:e.onMouseDown,onClick:e.onSearch,key:"enterButton"},f?{className:d,size:n}:{})):r["createElement"](te["a"],{className:d,type:"primary",size:n,disabled:s,key:"enterButton",onMouseDown:e.onMouseDown,onClick:e.onSearch},!0===a?r["createElement"]($.a,null):a),l?[i,Object(c["c"])(l,null,{key:"addonAfter"})]:i},e.renderSearch=function(t){var n=t.getPrefixCls,i=t.direction,a=e.props,s=a.prefixCls,l=a.inputPrefixCls,u=a.enterButton,c=a.className,d=a.size,h=ge(a,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete h.onSearch,delete h.loading;var f=n("input-search",s),p=n("input",l),g=function(e){var t,n;u?t=o()(f,c,(n={},re(n,"".concat(f,"-rtl"),"rtl"===i),re(n,"".concat(f,"-enter-button"),!!u),re(n,"".concat(f,"-").concat(e),!!e),n)):t=o()(f,c,re({},"".concat(f,"-rtl"),"rtl"===i));return t};return r["createElement"](D["b"].Consumer,null,(function(t){return r["createElement"](q,ie({onPressEnter:e.onSearch},h,{size:d||t,prefixCls:p,addonAfter:e.renderAddonAfter(f,d||t),suffix:e.renderSuffix(f),onChange:e.onChange,ref:e.saveInput,className:g(d||t)}))}))},e}return se(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return r["createElement"](E["a"],null,this.renderSearch)}}]),n}(r["Component"]);me.defaultProps={enterButton:!1};var ve,ye=n("t23M"),be="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",_e=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],we={};function xe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&we[n])return we[n];var r=window.getComputedStyle(e),i=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=_e.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),l={sizingStyle:s,paddingSize:o,borderSize:a,boxSizing:i};return t&&n&&(we[n]=l),l}function Ce(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;ve||(ve=document.createElement("textarea"),ve.setAttribute("tab-index","-1"),ve.setAttribute("aria-hidden","true"),document.body.appendChild(ve)),e.getAttribute("wrap")?ve.setAttribute("wrap",e.getAttribute("wrap")):ve.removeAttribute("wrap");var i=xe(e,t),o=i.paddingSize,a=i.borderSize,s=i.boxSizing,l=i.sizingStyle;ve.setAttribute("style","".concat(l,";").concat(be)),ve.value=e.value||e.placeholder||"";var u,c=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,h=ve.scrollHeight;if("border-box"===s?h+=a:"content-box"===s&&(h-=o),null!==n||null!==r){ve.value=" ";var f=ve.scrollHeight-o;null!==n&&(c=f*n,"border-box"===s&&(c=c+o+a),h=Math.max(c,h)),null!==r&&(d=f*r,"border-box"===s&&(d=d+o+a),u=h>d?"":"hidden",h=Math.min(d,h))}return{height:h,minHeight:c,maxHeight:d,overflowY:u}}var Se=n("oHiP");function Oe(e){return Oe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oe(e)}function ke(){return ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ke.apply(this,arguments)}function Ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function De(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ne(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function Le(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ie(e,t)}function Ie(e,t){return Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ie(e,t)}function Te(e){var t=Re();return function(){var n,r=je(e);if(t){var i=je(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==Oe(t)&&"function"!==typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Re(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},je(e)}var Fe=0,Be=1,Ve=2,ze=function(e){Le(n,e);var t=Te(n);function n(e){var i;return De(this,n),i=t.call(this,e),i.saveTextArea=function(e){i.textArea=e},i.handleResize=function(e){var t=i.state.resizeStatus,n=i.props,r=n.autoSize,o=n.onResize;t===Fe&&("function"===typeof o&&o(e),r&&i.resizeOnNextFrame())},i.resizeOnNextFrame=function(){Se["a"].cancel(i.nextFrameActionId),i.nextFrameActionId=Object(Se["a"])(i.resizeTextarea)},i.resizeTextarea=function(){var e=i.props.autoSize;if(e&&i.textArea){var t=e.minRows,n=e.maxRows,r=Ce(i.textArea,!1,t,n);i.setState({textareaStyles:r,resizeStatus:Be},(function(){Se["a"].cancel(i.resizeFrameId),i.resizeFrameId=Object(Se["a"])((function(){i.setState({resizeStatus:Ve},(function(){i.resizeFrameId=Object(Se["a"])((function(){i.setState({resizeStatus:Fe}),i.fixFirefoxAutoScroll()}))}))}))}))}},i.renderTextArea=function(){var e=i.props,t=e.prefixCls,n=e.autoSize,s=e.onResize,l=e.className,u=e.disabled,c=i.state,d=c.textareaStyles,h=c.resizeStatus,f=Object(a["a"])(i.props,["prefixCls","onPressEnter","autoSize","defaultValue","allowClear","onResize"]),p=o()(t,l,Ee({},"".concat(t,"-disabled"),u));"value"in f&&(f.value=f.value||"");var g=ke(ke(ke({},i.props.style),d),h===Be?{overflowX:"hidden",overflowY:"hidden"}:null);return r["createElement"](ye["a"],{onResize:i.handleResize,disabled:!(n||s)},r["createElement"]("textarea",ke({},f,{className:p,style:g,ref:i.saveTextArea})))},i.state={textareaStyles:{},resizeStatus:Fe},i}return Ne(n,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(e){e.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){Se["a"].cancel(this.nextFrameActionId),Se["a"].cancel(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(r["Component"]),We=ze;function He(e){return He="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},He(e)}function Ue(){return Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ue.apply(this,arguments)}function Ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qe(e,t,n){return t&&Ge(e.prototype,t),n&&Ge(e,n),e}function Ye(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xe(e,t)}function Xe(e,t){return Xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xe(e,t)}function Ze(e){var t=Je();return function(){var n,r=et(e);if(t){var i=et(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Qe(this,n)}}function Qe(e,t){return!t||"object"!==He(t)&&"function"!==typeof t?$e(e):t}function $e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Je(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function et(e){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},et(e)}var tt=function(e){Ye(n,e);var t=Ze(n);function n(e){var i;Ke(this,n),i=t.call(this,e),i.focus=function(){i.resizableTextArea.textArea.focus()},i.saveTextArea=function(e){i.resizableTextArea=e},i.saveClearableInput=function(e){i.clearableInput=e},i.handleChange=function(e){i.setValue(e.target.value,(function(){i.resizableTextArea.resizeTextarea()})),U(i.resizableTextArea.textArea,e,i.props.onChange)},i.handleKeyDown=function(e){var t=i.props,n=t.onPressEnter,r=t.onKeyDown;13===e.keyCode&&n&&n(e),r&&r(e)},i.handleReset=function(e){i.setValue("",(function(){i.resizableTextArea.renderTextArea(),i.focus()})),U(i.resizableTextArea.textArea,e,i.props.onChange)},i.renderTextArea=function(e){return r["createElement"](We,Ue({},i.props,{prefixCls:e,onKeyDown:i.handleKeyDown,onChange:i.handleChange,ref:i.saveTextArea}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,o=i.state.value,a=i.props.prefixCls,s=t("input",a);return r["createElement"](k,Ue({},i.props,{prefixCls:s,direction:n,inputType:"text",value:H(o),element:i.renderTextArea(s),handleReset:i.handleReset,ref:i.saveClearableInput,triggerFocus:i.focus}))};var o="undefined"===typeof e.value?e.defaultValue:e.value;return i.state={value:o},i}return qe(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return r["createElement"](E["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(r["Component"]),nt=tt,rt=n("qPY4"),it=n.n(rt),ot=n("fUL4"),at=n.n(ot);function st(e){return st="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}function lt(){return lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lt.apply(this,arguments)}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ct(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ht(e,t,n){return t&&dt(e.prototype,t),n&&dt(e,n),e}function ft(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pt(e,t)}function pt(e,t){return pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},pt(e,t)}function gt(e){var t=yt();return function(){var n,r=bt(e);if(t){var i=bt(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return mt(this,n)}}function mt(e,t){return!t||"object"!==st(t)&&"function"!==typeof t?vt(e):t}function vt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function bt(e){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},bt(e)}var _t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},wt={click:"onClick",hover:"onMouseOver"},xt=function(e){ft(n,e);var t=gt(n);function n(){var e;return ct(this,n),e=t.apply(this,arguments),e.state={visible:!1},e.onVisibleChange=function(){var t=e.props.disabled;t||e.setState((function(e){var t=e.visible;return{visible:!t}}))},e.getIcon=function(t){var n,i=e.props,o=i.action,a=i.iconRender,s=void 0===a?function(){return null}:a,l=e.state.visible,u=wt[o]||"",c=s(l),d=(n={},ut(n,u,e.onVisibleChange),ut(n,"className","".concat(t,"-icon")),ut(n,"key","passwordIcon"),ut(n,"onMouseDown",(function(e){e.preventDefault()})),ut(n,"onMouseUp",(function(e){e.preventDefault()})),n);return r["cloneElement"](r["isValidElement"](c)?c:r["createElement"]("span",null,c),d)},e.saveInput=function(t){t&&t.input&&(e.input=t.input)},e.renderPassword=function(t){var n=t.getPrefixCls,i=e.props,s=i.className,l=i.prefixCls,u=i.inputPrefixCls,c=i.size,d=i.visibilityToggle,h=_t(i,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),f=n("input",u),p=n("input-password",l),g=d&&e.getIcon(p),m=o()(p,s,ut({},"".concat(p,"-").concat(c),!!c)),v=lt(lt({},Object(a["a"])(h,["suffix","iconRender"])),{type:e.state.visible?"text":"password",className:m,prefixCls:f,suffix:g,ref:e.saveInput});return c&&(v.size=c),r["createElement"](q,v)},e}return ht(n,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"render",value:function(){return r["createElement"](E["a"],null,this.renderPassword)}}]),n}(r["Component"]);xt.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(e){return e?r["createElement"](it.a,null):r["createElement"](at.a,null)}},q.Group=Z,q.Search=me,q.TextArea=nt,q.Password=xt;t["a"]=q},"5s0K":function(e,t,n){var r=n("bYtY");function i(){var e,t=[],n={};return{add:function(e,i,o,a,s){return r.isString(a)&&(s=a,a=0),!n[e.id]&&(n[e.id]=1,t.push({el:e,target:i,time:o,delay:a,easing:s}),!0)},done:function(t){return e=t,this},start:function(){for(var r=t.length,i=0,o=t.length;i<o;i++){var a=t[i];a.el.animateTo(a.target,a.time,a.delay,a.easing,s)}return this;function s(){r--,r||(t.length=0,n={},e&&e())}}}}t.createWrap=i},"5v8Y":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("MXAL"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(e){function t(t){for(var n=e.call(this,0)||this,r=0,i=t.length;r<i;r++)n.set(t.charCodeAt(r),2);return n.set(32,1),n.set(9,1),n}return i(t,e),t}(r["a"]);function a(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e(n)),t[n]}}var s=a((function(e){return new o(e)}))},"5yev":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"};t.default=r},"6/1s":function(e,t,n){var r=n("YqAc")("meta"),i=n("93I4"),o=n("B+OT"),a=n("2faE").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("KUxP")((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},h=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return u&&p.NEED&&l(e)&&!o(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},"6/nd":function(e,t,n){var r=n("ProS");r.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))},"62hx":function(e,t,n){},"62sa":function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=i.makeInner,a=n("zTMp"),s=n("Ez2D"),l=r.each,u=r.curry,c=o();function d(e,t,n){var i=e.currTrigger,o=[e.x,e.y],a=e,c=e.dispatchAction||r.bind(n.dispatchAction,n),d=t.getComponent("axisPointer").coordSysAxesInfo;if(d){w(o)&&(o=s({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var f=w(o),x=a.axesInfo,C=d.axesInfo,S="leave"===i||w(o),O={},k={},E={list:[],map:{}},D={showPointer:u(p,k),showTooltip:u(g,E)};l(d.coordSysMap,(function(e,t){var n=f||e.containPoint(o);l(d.coordSysAxesInfo[t],(function(e,t){var r=e.axis,i=b(x,e);if(!S&&n&&(!x||i)){var a=i&&i.value;null!=a||f||(a=r.pointToData(o)),null!=a&&h(e,a,D,!1,O)}}))}));var M={};return l(C,(function(e,t){var n=e.linkGroup;n&&!k[t]&&l(n.axesInfo,(function(t,r){var i=k[r];if(t!==e&&i){var o=i.value;n.mapper&&(o=e.axis.scale.parse(n.mapper(o,_(t),_(e)))),M[e.key]=o}}))})),l(M,(function(e,t){h(C[t],e,D,!0,O)})),m(k,C,O),v(E,o,e,c),y(C,c,n),O}}function h(e,t,n,i,o){var a=e.axis;if(!a.scale.isBlank()&&a.containData(t))if(e.involveSeries){var s=f(t,e),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==o.seriesIndex&&r.extend(o,l[0]),!i&&e.snap&&a.containData(u)&&null!=u&&(t=u),n.showPointer(e,t,l,o),n.showTooltip(e,s,u)}else n.showPointer(e,t)}function f(e,t){var n=t.axis,r=n.dim,i=e,o=[],a=Number.MAX_VALUE,s=-1;return l(t.seriesModels,(function(t,u){var c,d,h=t.getData().mapDimension(r,!0);if(t.getAxisTooltipData){var f=t.getAxisTooltipData(h,e,n);d=f.dataIndices,c=f.nestestValue}else{if(d=t.getData().indicesOfNearest(h[0],e,"category"===n.type?.5:null),!d.length)return;c=t.getData().get(h[0],d[0])}if(null!=c&&isFinite(c)){var p=e-c,g=Math.abs(p);g<=a&&((g<a||p>=0&&s<0)&&(a=g,s=p,i=c,o.length=0),l(d,(function(e){o.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})})))}})),{payloadBatch:o,snapToValue:i}}function p(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function g(e,t,n,r){var i=n.payloadBatch,o=t.axis,s=o.model,l=t.axisPointerModel;if(t.triggerTooltip&&i.length){var u=t.coordSys.model,c=a.makeKey(u),d=e.map[c];d||(d=e.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.list.push(d)),d.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:i.slice()})}}function m(e,t,n){var r=n.axesInfo=[];l(t,(function(t,n){var i=t.axisPointerModel.option,o=e[n];o?(!t.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!t.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:i.value})}))}function v(e,t,n,r){if(!w(t)&&e.list.length){var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}else r({type:"hideTip"})}function y(e,t,n){var i=n.getZr(),o="axisPointerLastHighlights",a=c(i)[o]||{},s=c(i)[o]={};l(e,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&l(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;s[t]=e}))}));var u=[],d=[];r.each(a,(function(e,t){!s[t]&&d.push(e)})),r.each(s,(function(e,t){!a[t]&&u.push(e)})),d.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:d}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:u})}function b(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function _(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function w(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}e.exports=d},"6D9b":function(e,t,n){},"6GrX":function(e,t,n){var r=n("mFDi"),i=n("Xnb7"),o=n("bYtY"),a=o.getContext,s=o.extend,l=o.retrieve2,u=o.retrieve3,c=o.trim,d={},h=0,f=5e3,p=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,g="12px sans-serif",m={};function v(e,t){m[e]=t}function y(e,t){t=t||g;var n=e+":"+t;if(d[n])return d[n];for(var r=(e+"").split("\n"),i=0,o=0,a=r.length;o<a;o++)i=Math.max(L(r[o],t).width,i);return h>f&&(h=0,d={}),h++,d[n]=i,i}function b(e,t,n,r,i,o,a,s){return a?w(e,t,n,r,i,o,a,s):_(e,t,n,r,i,o,s)}function _(e,t,n,i,o,a,s){var l=I(e,t,o,a,s),u=y(e,t);o&&(u+=o[1]+o[3]);var c=l.outerHeight,d=x(0,u,n),h=C(0,c,i),f=new r(d,h,u,c);return f.lineHeight=l.lineHeight,f}function w(e,t,n,i,o,a,s,l){var u=T(e,{rich:s,truncate:l,font:t,textAlign:n,textPadding:o,textLineHeight:a}),c=u.outerWidth,d=u.outerHeight,h=x(0,c,n),f=C(0,d,i);return new r(h,f,c,d)}function x(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function C(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function S(e,t,n){var r=t.textPosition,i=t.textDistance,o=n.x,a=n.y;i=i||0;var s=n.height,l=n.width,u=s/2,c="left",d="top";switch(r){case"left":o-=i,a+=u,c="right",d="middle";break;case"right":o+=i+l,a+=u,d="middle";break;case"top":o+=l/2,a-=i,c="center",d="bottom";break;case"bottom":o+=l/2,a+=s+i,c="center";break;case"inside":o+=l/2,a+=u,c="center",d="middle";break;case"insideLeft":o+=i,a+=u,d="middle";break;case"insideRight":o+=l-i,a+=u,c="right",d="middle";break;case"insideTop":o+=l/2,a+=i,c="center";break;case"insideBottom":o+=l/2,a+=s-i,c="center",d="bottom";break;case"insideTopLeft":o+=i,a+=i;break;case"insideTopRight":o+=l-i,a+=i,c="right";break;case"insideBottomLeft":o+=i,a+=s-i,d="bottom";break;case"insideBottomRight":o+=l-i,a+=s-i,c="right",d="bottom";break}return e=e||{},e.x=o,e.y=a,e.textAlign=c,e.textVerticalAlign=d,e}function O(e,t,n){var r={textPosition:e,textDistance:n};return S({},r,t)}function k(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=E(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=D(o[a],i);return o.join("\n")}function E(e,t,n,r){r=s({},r),r.font=t;n=l(n,"...");r.maxIterations=l(r.maxIterations,2);var i=r.minChar=l(r.minChar,0);r.cnCharWidth=y("\u56fd",t);var o=r.ascCharWidth=y("a",t);r.placeholder=l(r.placeholder,"");for(var a=e=Math.max(0,e-1),u=0;u<i&&a>=o;u++)a-=o;var c=y(n,t);return c>a&&(n="",c=0),a=e-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=a,r.containerWidth=e,r}function D(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=y(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?M(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=y(e,r)}return""===e&&(e=t.placeholder),e}function M(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function N(e){return y("\u56fd",e)}function L(e,t){return m.measureText(e,t)}function I(e,t,n,r,i){null!=e&&(e+="");var o=l(r,N(t)),a=e?e.split("\n"):[],s=a.length*o,u=s,c=!0;if(n&&(u+=n[0]+n[2]),e&&i){c=!1;var d=i.outerHeight,h=i.outerWidth;if(null!=d&&u>d)e="",a=[];else if(null!=h)for(var f=E(h-(n?n[1]+n[3]:0),t,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,g=a.length;p<g;p++)a[p]=D(a[p],f)}return{lines:a,height:s,outerHeight:u,lineHeight:o,canCacheByTextString:c}}function T(e,t){var n={lines:[],width:0,height:0};if(null!=e&&(e+=""),!e)return n;var r,o=p.lastIndex=0;while(null!=(r=p.exec(e))){var a=r.index;a>o&&P(n,e.substring(o,a)),P(n,r[2],r[1]),o=p.lastIndex}o<e.length&&P(n,e.substring(o,e.length));var s=n.lines,c=0,d=0,h=[],f=t.textPadding,g=t.truncate,m=g&&g.outerWidth,v=g&&g.outerHeight;f&&(null!=m&&(m-=f[1]+f[3]),null!=v&&(v-=f[0]+f[2]));for(var b=0;b<s.length;b++){for(var _=s[b],w=0,x=0,C=0;C<_.tokens.length;C++){var S=_.tokens[C],O=S.styleName&&t.rich[S.styleName]||{},E=S.textPadding=O.textPadding,D=S.font=O.font||t.font,M=S.textHeight=l(O.textHeight,N(D));if(E&&(M+=E[0]+E[2]),S.height=M,S.lineHeight=u(O.textLineHeight,t.textLineHeight,M),S.textAlign=O&&O.textAlign||t.textAlign,S.textVerticalAlign=O&&O.textVerticalAlign||"middle",null!=v&&c+S.lineHeight>v)return{lines:[],width:0,height:0};S.textWidth=y(S.text,D);var L=O.textWidth,I=null==L||"auto"===L;if("string"===typeof L&&"%"===L.charAt(L.length-1))S.percentWidth=L,h.push(S),L=0;else{if(I){L=S.textWidth;var T=O.textBackgroundColor,A=T&&T.image;A&&(A=i.findExistImage(A),i.isImageReady(A)&&(L=Math.max(L,A.width*M/A.height)))}var R=E?E[1]+E[3]:0;L+=R;var j=null!=m?m-x:null;null!=j&&j<L&&(!I||j<R?(S.text="",S.textWidth=L=0):(S.text=k(S.text,j-R,D,g.ellipsis,{minChar:g.minChar}),S.textWidth=y(S.text,D),L=S.textWidth+R))}x+=S.width=L,O&&(w=Math.max(w,S.lineHeight))}_.width=x,_.lineHeight=w,c+=w,d=Math.max(d,x)}n.outerWidth=n.width=l(t.textWidth,d),n.outerHeight=n.height=l(t.textHeight,c),f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]);for(b=0;b<h.length;b++){S=h[b];var F=S.percentWidth;S.width=parseInt(F,10)/100*d}return n}function P(e,t,n){for(var r=""===t,i=t.split("\n"),o=e.lines,a=0;a<i.length;a++){var s=i[a],l={styleName:n,text:s,isLineHolder:!s&&!r};if(a)o.push({tokens:[l]});else{var u=(o[o.length-1]||(o[0]={tokens:[]})).tokens,c=u.length;1===c&&u[0].isLineHolder?u[0]=l:(s||!c||r)&&u.push(l)}}}function A(e){var t=(e.fontSize||e.fontFamily)&&[e.fontStyle,e.fontWeight,(e.fontSize||12)+"px",e.fontFamily||"sans-serif"].join(" ");return t&&c(t)||e.textFont||e.font}m.measureText=function(e,t){var n=a();return n.font=t||g,n.measureText(e)},t.DEFAULT_FONT=g,t.$override=v,t.getWidth=y,t.getBoundingRect=b,t.adjustTextX=x,t.adjustTextY=C,t.calculateTextPosition=S,t.adjustTextPositionOnRect=O,t.truncateText=k,t.getLineHeight=N,t.measureText=L,t.parsePlainText=I,t.parseRichText=T,t.makeFont=A},"6Hfg":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("FhB9")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="SwapRightOutlined";var u=o.forwardRef(l);t.default=u},"6Ic6":function(e,t,n){var r=n("bYtY"),i=r.each,o=n("4fz+"),a=n("iRjW"),s=n("Yl7c"),l=n("4NO4"),u=n("IwbS"),c=n("9H2F"),d=c.createTask,h=n("zM3Q"),f=l.makeInner(),p=h();function g(){this.group=new o,this.uid=a.getUID("viewChart"),this.renderTask=d({plan:b,reset:_}),this.renderTask.context={view:this}}g.prototype={type:"chart",init:function(e,t){},render:function(e,t,n,r){},highlight:function(e,t,n,r){y(e.getData(),r,"emphasis")},downplay:function(e,t,n,r){y(e.getData(),r,"normal")},remove:function(e,t){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var m=g.prototype;function v(e,t,n){if(e&&(e.trigger(t,n),e.isGroup&&!u.isHighDownDispatcher(e)))for(var r=0,i=e.childCount();r<i;r++)v(e.childAt(r),t,n)}function y(e,t,n){var r=l.queryDataIndex(e,t),o=t&&null!=t.highlightKey?u.getHighlightDigit(t.highlightKey):null;null!=r?i(l.normalizeToArray(r),(function(t){v(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){v(e,n,o)}))}function b(e){return p(e.model)}function _(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&f(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](t,n,r,i),w[l]}m.updateView=m.updateLayout=m.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},s.enableClassExtend(g,["dispose"]),s.enableClassManagement(g,{registerWhenExtend:!0}),g.markUpdateMethod=function(e,t){f(e).updateMethod=t};var w={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},x=g;e.exports=x},"6MrE":function(e,t,n){},"6OMU":function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=0),e[e.length-(1+t)]}function i(e){if(0===e.length)throw new Error("Invalid tail call");return[e.slice(0,e.length-1),e[e.length-1]]}function o(e,t,n){if(void 0===n&&(n=function(e,t){return e===t}),e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var r=0,i=e.length;r<i;r++)if(!n(e[r],t[r]))return!1;return!0}function a(e,t,n){var r=0,i=e.length-1;while(r<=i){var o=(r+i)/2|0,a=n(e[o],t);if(a<0)r=o+1;else{if(!(a>0))return o;i=o-1}}return-(r+1)}function s(e,t){var n=0,r=e.length;if(0===r)return 0;while(n<r){var i=Math.floor((n+r)/2);t(e[i])?r=i:n=i+1}return n}function l(e,t){return c(e,t,0,e.length-1,[]),e}function u(e,t,n,r,i,o){for(var a=n,s=r+1,l=n;l<=i;l++)o[l]=e[l];for(l=n;l<=i;l++)a>r?e[l]=o[s++]:s>i?e[l]=o[a++]:t(o[s],o[a])<0?e[l]=o[s++]:e[l]=o[a++]}function c(e,t,n,r,i){if(!(r<=n)){var o=n+(r-n)/2|0;c(e,t,n,o,i),c(e,t,o+1,r,i),t(e[o],e[o+1])<=0||u(e,t,n,o,r,i)}}function d(e,t){for(var n=[],r=void 0,i=0,o=l(e.slice(0),t);i<o.length;i++){var a=o[i];r&&0===t(r[0],a)?r.push(a):(r=[a],n.push(r))}return n}function h(e){return e.filter((function(e){return!!e}))}function f(e){return!Array.isArray(e)||0===e.length}function p(e){return Array.isArray(e)&&e.length>0}function g(e,t){if(!t)return e.filter((function(t,n){return e.indexOf(t)===n}));var n=Object.create(null);return e.filter((function(e){var r=t(e);return!n[r]&&(n[r]=!0,!0)}))}function m(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}function v(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function y(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return n}return-1}function b(e,t,n){void 0===n&&(n=void 0);var r=y(e,t);return r<0?n:e[r]}function _(e,t){return e.length>0?e[0]:t}function w(e){var t;return(t=[]).concat.apply(t,e)}function x(e,t){var n="number"===typeof t?e:0;"number"===typeof t?n=e:(n=0,t=e);var r=[];if(n<=t)for(var i=n;i<t;i++)r.push(i);else for(i=n;i>t;i--)r.push(i);return r}function C(e,t,n){var r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function S(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function O(e,t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function k(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r,n,e))return r}}function E(e){return Array.isArray(e)?e:[e]}n.d(t,"v",(function(){return r})),n.d(t,"w",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"i",(function(){return s})),n.d(t,"r",(function(){return l})),n.d(t,"o",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"p",(function(){return f})),n.d(t,"q",(function(){return p})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return m})),n.d(t,"n",(function(){return v})),n.d(t,"k",(function(){return y})),n.d(t,"j",(function(){return b})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return w})),n.d(t,"u",(function(){return x})),n.d(t,"a",(function(){return C})),n.d(t,"t",(function(){return S})),n.d(t,"s",(function(){return O})),n.d(t,"h",(function(){return k})),n.d(t,"b",(function(){return E}))},"6SEX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("qWUW"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"6UJt":function(e,t,n){"use strict";n("cIOH"),n("v56E"),n("R9oj"),n("5NDa")},"6VBw":function(e,t,n){"use strict";var r=n("ODXe"),i=n("rePB"),o=n("Ff2n"),a=n("q1tI"),s=n("TSYQ"),l=n.n(s),u=n("Qi1f");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(i["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function f(e){var t=e.primaryColor,n=e.secondaryColor;h.primaryColor=t,h.secondaryColor=n||Object(u["b"])(t),h.calculated=!!n}function p(){return d({},h)}var g=function(e){var t=e.icon,n=e.className,r=e.onClick,i=e.style,a=e.primaryColor,s=e.secondaryColor,l=Object(o["a"])(e,["icon","className","onClick","style","primaryColor","secondaryColor"]),c=h;if(a&&(c={primaryColor:a,secondaryColor:s||Object(u["b"])(a)}),Object(u["f"])(),Object(u["g"])(Object(u["c"])(t),"icon should be icon definiton, but got ".concat(t)),!Object(u["c"])(t))return null;var f=t;return f&&"function"===typeof f.icon&&(f=d(d({},f),{},{icon:f.icon(c.primaryColor,c.secondaryColor)})),Object(u["a"])(f.icon,"svg-".concat(f.name),d({className:n,onClick:r,style:i,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l))};g.displayName="IconReact",g.getTwoToneColors=p,g.setTwoToneColors=f;var m=g;function v(e){var t=Object(u["d"])(e),n=Object(r["a"])(t,2),i=n[0],o=n[1];return m.setTwoToneColors({primaryColor:i,secondaryColor:o})}function y(){var e=m.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}v("#1890ff");var b=a["forwardRef"]((function(e,t){var n=e.className,s=e.icon,c=e.spin,d=e.rotate,h=e.tabIndex,f=e.onClick,p=e.twoToneColor,g=Object(o["a"])(e,["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"]),v=l()("anticon",Object(i["a"])({},"anticon-".concat(s.name),Boolean(s.name)),n),y=l()({"anticon-spin":!!c||"loading"===s.name}),b=h;void 0===b&&f&&(b=-1);var _=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,w=Object(u["d"])(p),x=Object(r["a"])(w,2),C=x[0],S=x[1];return a["createElement"]("span",Object.assign({role:"img","aria-label":s.name},g,{ref:t,tabIndex:b,onClick:f,className:v}),a["createElement"](m,{className:y,icon:s,primaryColor:C,secondaryColor:S,style:_}))}));b.displayName="AntdIcon",b.getTwoToneColor=y,b.setTwoToneColor=v;t["a"]=b},"6cGi":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("q1tI");function i(e,t){return u(e)||l(e,t)||a(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function u(e){if(Array.isArray(e))return e}function c(e,t){var n=t||{},o=n.defaultValue,a=n.value,s=n.onChange,l=n.postState,u=r["useState"]((function(){return void 0!==a?a:void 0!==o?"function"===typeof o?o():o:"function"===typeof e?e():e})),c=i(u,2),d=c[0],h=c[1],f=void 0!==a?a:d;function p(e){h(e),f!==e&&s&&s(e,f)}l&&(f=l(f));var g=r["useRef"](!0);return r["useEffect"]((function(){g.current?g.current=!1:void 0===a&&h(a)}),[a]),[f,p]}},"6fms":function(e,t,n){var r=n("SUKs"),i=n("06Qe"),o=n("bYtY"),a=o.each;function s(e){return parseInt(e,10)}function l(e,t){i.initVML(),this.root=e,this.storage=t;var n=document.createElement("div"),r=document.createElement("div");n.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",r.style.cssText="position:absolute;left:0;top:0;",e.appendChild(n),this._vmlRoot=r,this._vmlViewport=n,this.resize();var o=t.delFromStorage,a=t.addToStorage;t.delFromStorage=function(e){o.call(t,e),e&&e.onRemove&&e.onRemove(r)},t.addToStorage=function(e){e.onAdd&&e.onAdd(r),a.call(t,e)},this._firstPaint=!0}function u(e){return function(){r('In IE8.0 VML mode painter not support method "'+e+'"')}}l.prototype={constructor:l,getType:function(){return"vml"},getViewportRoot:function(){return this._vmlViewport},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(){var e=this.storage.getDisplayList(!0,!0);this._paintList(e)},_paintList:function(e){for(var t=this._vmlRoot,n=0;n<e.length;n++){var r=e[n];r.invisible||r.ignore?(r.__alreadyNotVisible||r.onRemove(t),r.__alreadyNotVisible=!0):(r.__alreadyNotVisible&&r.onAdd(t),r.__alreadyNotVisible=!1,r.__dirty&&(r.beforeBrush&&r.beforeBrush(),(r.brushVML||r.brush).call(r,t),r.afterBrush&&r.afterBrush())),r.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(t),this._firstPaint=!1)},resize:function(e,t){e=null==e?this._getWidth():e,t=null==t?this._getHeight():t;if(this._width!==e||this._height!==t){this._width=e,this._height=t;var n=this._vmlViewport.style;n.width=e+"px",n.height=t+"px"}},dispose:function(){this.root.innerHTML="",this._vmlRoot=this._vmlViewport=this.storage=null},getWidth:function(){return this._width},getHeight:function(){return this._height},clear:function(){this._vmlViewport&&this.root.removeChild(this._vmlViewport)},_getWidth:function(){var e=this.root,t=e.currentStyle;return(e.clientWidth||s(t.width))-s(t.paddingLeft)-s(t.paddingRight)|0},_getHeight:function(){var e=this.root,t=e.currentStyle;return(e.clientHeight||s(t.height))-s(t.paddingTop)-s(t.paddingBottom)|0}},a(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(e){l.prototype[e]=u(e)}));var c=l;e.exports=c},"6lNC":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return n.e(193).then(n.bind(null,"meXB"))}})},"6r85":function(e,t,n){var r=n("bYtY");function i(e){e&&r.isArray(e.series)&&r.each(e.series,(function(e){r.isObject(e)&&"k"===e.type&&(e.type="candlestick")}))}e.exports=i},"6sVZ":function(e,t){var n=Object.prototype;function r(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}e.exports=r},"6tYh":function(e,t,n){var r=n("93I4"),i=n("5K7Z"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("2GTP")(Function.call,n("vwuL").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},"6uqw":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ItGF"),a=n("YOMW"),s=n("XxSj"),l=n("K4ya"),u=n("4NO4"),c=n("OELB"),d=s.mapVisual,h=s.eachVisual,f=i.isArray,p=i.each,g=c.asc,m=c.linearMap,v=i.noop,y=r.extendComponentModel({type:"visualMap",dependencies:["series"],stateList:["inRange","outOfRange"],replacableOptionKeys:["inRange","outOfRange","target","controller","color"],dataBound:[-1/0,1/0],layoutMode:{type:"box",ignoreSize:!0},defaultOption:{show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,dimension:null,inRange:null,outOfRange:null,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,color:null,formatter:null,text:null,textStyle:{color:"#333"}},init:function(e,t,n){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(e,n)},optionUpdated:function(e,t){var n=this.option;o.canvasSupported||(n.realtime=!1),!t&&l.replaceVisualOption(n,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(e){var t=this.stateList;e=i.bind(e,this),this.controllerVisuals=l.createVisualMappings(this.option.controller,t,e),this.targetVisuals=l.createVisualMappings(this.option.target,t,e)},getTargetSeriesIndices:function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries((function(e,n){t.push(n)})):t=u.normalizeToArray(e),t},eachTargetSeries:function(e,t){i.each(this.getTargetSeriesIndices(),(function(n){e.call(t,this.ecModel.getSeriesByIndex(n))}),this)},isTargetSeries:function(e){var t=!1;return this.eachTargetSeries((function(n){n===e&&(t=!0)})),t},formatValueText:function(e,t,n){var r,o,a=this.option,s=a.precision,l=this.dataBound,u=a.formatter;return n=n||["<",">"],i.isArray(e)&&(e=e.slice(),r=!0),o=t?e:r?[c(e[0]),c(e[1])]:c(e),i.isString(u)?u.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):i.isFunction(u)?r?u(e[0],e[1]):u(e):r?e[0]===l[0]?n[0]+" "+o[1]:e[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function c(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(s,20))}},resetExtent:function(){var e=this.option,t=g([e.min,e.max]);this._dataExtent=t},getDataDimension:function(e){var t=this.option.dimension,n=e.dimensions;if(null!=t||n.length){if(null!=t)return e.getDimension(t);for(var r=e.dimensions,i=r.length-1;i>=0;i--){var o=r[i],a=e.getDimensionInfo(o);if(!a.isCalculationCoord)return o}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var e=this.ecModel,t=this.option,n={inRange:t.inRange,outOfRange:t.outOfRange},r=t.target||(t.target={}),o=t.controller||(t.controller={});i.merge(r,n),i.merge(o,n);var l=this.isCategory();function u(n){f(t.color)&&!n.inRange&&(n.inRange={color:t.color.slice().reverse()}),n.inRange=n.inRange||{color:e.get("gradientColor")},p(this.stateList,(function(e){var t=n[e];if(i.isString(t)){var r=a.get(t,"active",l);r?(n[e]={},n[e][t]=r):delete n[e]}}),this)}function c(e,t,n){var r=e[t],i=e[n];r&&!i&&(i=e[n]={},p(r,(function(e,t){if(s.isValidType(t)){var n=a.get(t,"inactive",l);null!=n&&(i[t]=n,"color"!==t||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function g(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,n=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,r=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=e[o];s||(s=e[o]={color:l?r:[r]}),null==s.symbol&&(s.symbol=t&&i.clone(t)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=d(s.symbol,(function(e){return"none"===e||"square"===e?"roundRect":e}));var u=s.symbolSize;if(null!=u){var c=-1/0;h(u,(function(e){e>c&&(c=e)})),s.symbolSize=d(u,(function(e){return m(e,[0,c],[0,a[0]],!0)}))}}),this)}u.call(this,r),u.call(this,o),c.call(this,r,"inRange","outOfRange"),g.call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v}),b=y;e.exports=b},"6usn":function(e,t,n){var r=n("bYtY");function i(e,t){return r.map(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=t[r],a=e[r]/2,s="dataTo"+n,l="category"===i.type?i.getBandWidth():Math.abs(i[s](o-a)-i[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function o(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),o=t.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:o[1],r0:o[0]},api:{coord:r.bind((function(r){var i=t.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=e.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a})),size:r.bind(i,e)}}}e.exports=o},"6xvX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("V7ic"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"711d":function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},"72pK":function(e,t){function n(e,t,n,o,a,s){e=e||0;var l=n[1]-n[0];if(null!=a&&(a=i(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var u=Math.abs(t[1]-t[0]);u=i(u,[0,l]),a=s=i(u,[a,s]),o=0}t[0]=i(t[0],n),t[1]=i(t[1],n);var c=r(t,o);t[o]+=e;var d=a||0,h=n.slice();c.sign<0?h[0]+=d:h[1]-=d,t[o]=i(t[o],h);var f=r(t,o);null!=a&&(f.sign!==c.sign||f.span<a)&&(t[1-o]=t[o]+c.sign*a);f=r(t,o);return null!=s&&f.span>s&&(t[1-o]=t[o]+f.sign*s),t}function r(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function i(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}e.exports=n},"746U":function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"j",(function(){return o})),n.d(t,"i",(function(){return a})),n.d(t,"h",(function(){return s})),n.d(t,"e",(function(){return l})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"m",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return b})),n.d(t,"n",(function(){return _})),n.d(t,"o",(function(){return w}));var r={number:"number",string:"string",undefined:"undefined",object:"object",function:"function"};function i(e){return Array.isArray?Array.isArray(e):!(!e||typeof e.length!==r.number||e.constructor!==Array)}function o(e){return typeof e===r.string||e instanceof String}function a(e){return typeof e===r.object&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function s(e){return(typeof e===r.number||e instanceof Number)&&!isNaN(e)}function l(e){return!0===e||!1===e}function u(e){return typeof e===r.undefined}function c(e){return u(e)||null===e}function d(e,t){if(!e)throw new Error(t?"Unexpected type, expected '"+t+"'":"Unexpected type")}var h=Object.prototype.hasOwnProperty;function f(e){if(!a(e))return!1;for(var t in e)if(h.call(e,t))return!1;return!0}function p(e){return typeof e===r.function}function g(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)m(e[r],t[r])}function m(e,t){if(o(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(p(t)){try{if(e instanceof t)return}catch(n){}if(!c(e)&&e.constructor===t)return;if(1===t.length&&!0===t.call(void 0,e))return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function v(e){var t=[],n=Object.getPrototypeOf(e);while(Object.prototype!==n)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function y(e){for(var t=[],n=0,r=v(e);n<r.length;n++){var i=r[n];"function"===typeof e[i]&&t.push(i)}return t}function b(e,t){for(var n=function(e){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},r={},i=0,o=e;i<o.length;i++){var a=o[i];r[a]=n(a)}return r}function _(e){return null===e?void 0:e}function w(e){return"undefined"===typeof e?null:e}},"75ce":function(e,t,n){var r=n("ProS");n("IXuL"),n("8X+K");var i=n("f5Yq"),o=n("h8O9"),a=n("/d5a");n("Ae16"),r.registerVisual(i("line","circle","line")),r.registerLayout(o("line")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a("line"))},"75ev":function(e,t,n){var r=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var i=n("f5Yq"),o=n("yik8");r.registerVisual(i("tree","circle")),r.registerLayout(o)},"77Zs":function(e,t,n){var r=n("Xi7e");function i(){this.__data__=new r,this.size=0}e.exports=i},"79sc":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("markerDecorationsService")},"7AJT":function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},getGlobalExtent:function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},r.inherits(o,i);var a=o;e.exports=a},"7DRL":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.createHashMap,a=i.isString,s=i.isArray,l=i.each,u=(i.assert,n("MEGo")),c=u.parseXML,d=o(),h={registerMap:function(e,t,n){var r;return s(t)?r=t:t.svg?r=[{type:"svg",source:t.svg,specialAreas:t.specialAreas}]:(t.geoJson&&!t.features&&(n=t.specialAreas,t=t.geoJson),r=[{type:"geoJSON",source:t,specialAreas:n}]),l(r,(function(e){var t=e.type;"geoJson"===t&&(t=e.type="geoJSON");var n=f[t];n(e)})),d.set(e,r)},retrieveMap:function(e){return d.get(e)}},f={geoJSON:function(e){var t=e.source;e.geoJSON=a(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t},svg:function(e){e.svgXML=c(e.source)}};e.exports=h},"7G+c":function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.isTypedArray,a=n("Yl7c"),s=a.enableClassCheck,l=n("k9D9"),u=l.SOURCE_FORMAT_ORIGINAL,c=l.SERIES_LAYOUT_BY_COLUMN,d=l.SOURCE_FORMAT_UNKNOWN,h=l.SOURCE_FORMAT_TYPED_ARRAY,f=l.SOURCE_FORMAT_KEYED_COLUMNS;function p(e){this.fromDataset=e.fromDataset,this.data=e.data||(e.sourceFormat===f?{}:[]),this.sourceFormat=e.sourceFormat||d,this.seriesLayoutBy=e.seriesLayoutBy||c,this.dimensionsDefine=e.dimensionsDefine,this.encodeDefine=e.encodeDefine&&i(e.encodeDefine),this.startIndex=e.startIndex||0,this.dimensionsDetectCount=e.dimensionsDetectCount}p.seriesDataToSource=function(e){return new p({data:e,sourceFormat:o(e)?h:u,fromDataset:!1})},s(p);var g=p;e.exports=g},"7GkX":function(e,t,n){var r=n("b80T"),i=n("A90E"),o=n("MMmD");function a(e){return o(e)?r(e):i(e)}e.exports=a},"7Kak":function(e,t,n){"use strict";n("cIOH"),n("KPFz")},"7Phj":function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=r.each;function s(e){var t=l(e);a(t,(function(e){var t=e.seriesModels;t.length&&(u(e),a(t,(function(t,n){c(t,e.boxOffsetList[n],e.boxWidthList[n])})))}))}function l(e){var t=[],n=[];return e.eachSeriesByType("boxplot",(function(e){var i=e.getBaseAxis(),o=r.indexOf(n,i);o<0&&(o=n.length,n[o]=i,t[o]={axis:i,seriesModels:[]}),t[o].seriesModels.push(e)})),t}function u(e){var t,n,i=e.axis,s=e.seriesModels,l=s.length,u=e.boxWidthList=[],c=e.boxOffsetList=[],d=[];if("category"===i.type)n=i.getBandWidth();else{var h=0;a(s,(function(e){h=Math.max(h,e.getData().count())})),t=i.getExtent(),Math.abs(t[1]-t[0])}a(s,(function(e){var t=e.get("boxWidth");r.isArray(t)||(t=[t,t]),d.push([o(t[0],n)||0,o(t[1],n)||0])}));var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;a(s,(function(e,t){c.push(m),m+=p+g,u.push(Math.min(Math.max(g,d[t][0]),d[t][1]))}))}function c(e,t,n){var r=e.coordinateSystem,i=e.getData(),o=n/2,a="horizontal"===e.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var d=0;d<i.count();d++){var h=i.get(u,d),f=b(h,c[2],d),p=b(h,c[0],d),g=b(h,c[1],d),m=b(h,c[3],d),v=b(h,c[4],d),y=[];_(y,g,0),_(y,m,1),y.push(p,g,v,m),w(y,p),w(y,v),w(y,f),i.setItemLayout(d,{initBaseline:f[s],ends:y})}function b(e,n,o){var l,u=i.get(n,o),c=[];return c[a]=e,c[s]=u,isNaN(e)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c),l[a]+=t),l}function _(e,t,n){var r=t.slice(),i=t.slice();r[a]+=o,i[a]-=o,n?e.push(r,i):e.push(i,r)}function w(e,t){var n=t.slice(),r=t.slice();n[a]-=o,r[a]+=o,e.push(n,r)}}e.exports=s},"7SHv":function(e,t,n){var r=n("LPTA"),i=r.devicePixelRatio,o=n("bYtY"),a=n("SUKs"),s=n("mFDi"),l=n("BPZU"),u=n("Xmg4"),c=n("mLcG"),d=n("Dagg"),h=n("ItGF"),f=1e5,p=314159,g=.01,m=.001;function v(e){return parseInt(e,10)}function y(e){return!!e&&(!!e.__builtin__||"function"===typeof e.resize&&"function"===typeof e.refresh)}var b=new s(0,0,0,0),_=new s(0,0,0,0);function w(e,t,n){return b.copy(e.getBoundingRect()),e.transform&&b.applyTransform(e.transform),_.width=t,_.height=n,!b.intersect(_)}function x(e,t){if(e===t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function C(e,t){for(var n=0;n<e.length;n++){var r=e[n];r.setTransform(t),t.beginPath(),r.buildPath(t,r.shape),t.clip(),r.restoreTransform(t)}}function S(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var O=function(e,t,n){this.type="canvas";var r=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=o.extend({},n||{}),this.dpr=n.devicePixelRatio||i,this._singleCanvas=r,this.root=e;var a=e.style;a&&(a["-webkit-tap-highlight-color"]="transparent",a["-webkit-user-select"]=a["user-select"]=a["-webkit-touch-callout"]="none",e.innerHTML=""),this.storage=t;var s=this._zlevelList=[],l=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,r){var c=e.width,d=e.height;null!=n.width&&(c=n.width),null!=n.height&&(d=n.height),this.dpr=n.devicePixelRatio||1,e.width=c*this.dpr,e.height=d*this.dpr,this._width=c,this._height=d;var h=new u(e,this,this.dpr);h.__builtin__=!0,h.initContext(),l[p]=h,h.zlevel=p,s.push(p),this._domRoot=e}else{this._width=this._getSize(0),this._height=this._getSize(1);var f=this._domRoot=S(this._width,this._height);e.appendChild(f)}this._hoverlayer=null,this._hoverElements=[]};O.prototype={constructor:O,getType:function(){return"canvas"},isSingleCanvas:function(){return this._singleCanvas},getViewportRoot:function(){return this._domRoot},getViewportRootOffset:function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},refresh:function(e){var t=this.storage.getDisplayList(!0),n=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,e,this._redrawId);for(var r=0;r<n.length;r++){var i=n[r],o=this._layers[i];if(!o.__builtin__&&o.refresh){var a=0===r?this._backgroundColor:null;o.refresh(a)}}return this.refreshHover(),this},addHover:function(e,t){if(!e.__hoverMir){var n=new e.constructor({style:e.style,shape:e.shape,z:e.z,z2:e.z2,silent:e.silent});return n.__from=e,e.__hoverMir=n,t&&n.setStyle(t),this._hoverElements.push(n),n}},removeHover:function(e){var t=e.__hoverMir,n=this._hoverElements,r=o.indexOf(n,t);r>=0&&n.splice(r,1),e.__hoverMir=null},clearHover:function(e){for(var t=this._hoverElements,n=0;n<t.length;n++){var r=t[n].__from;r&&(r.__hoverMir=null)}t.length=0},refreshHover:function(){var e=this._hoverElements,t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){l(e,this.storage.displayableSortFunc),n||(n=this._hoverlayer=this.getLayer(f));var r={};n.ctx.save();for(var i=0;i<t;){var o=e[i],a=o.__from;a&&a.__zr?(i++,a.invisible||(o.transform=a.transform,o.invTransform=a.invTransform,o.__clipPaths=a.__clipPaths,this._doPaintEl(o,n,!0,r))):(e.splice(i,1),a.__hoverMir=null,t--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(f)},_paintList:function(e,t,n){if(this._redrawId===n){t=t||!1,this._updateLayerStatus(e);var r=this._doPaintList(e,t);if(this._needsManuallyCompositing&&this._compositeManually(),!r){var i=this;c((function(){i._paintList(e,t,n)}))}}},_compositeManually:function(){var e=this.getLayer(p).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},_doPaintList:function(e,t){for(var n=[],r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r],a=this._layers[i];a.__builtin__&&a!==this._hoverlayer&&(a.__dirty||t)&&n.push(a)}for(var s=!0,l=0;l<n.length;l++){a=n[l];var u=a.ctx,c={};u.save();var d=t?a.__startIndex:a.__drawIndex,f=!t&&a.incremental&&Date.now,p=f&&Date.now(),g=a.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(a.__startIndex===a.__endIndex)a.clear(!1,g);else if(d===a.__startIndex){var m=e[d];m.incremental&&m.notClear&&!t||a.clear(!1,g)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=a.__startIndex);for(var v=d;v<a.__endIndex;v++){var y=e[v];if(this._doPaintEl(y,a,t,c),y.__dirty=y.__dirtyText=!1,f){var b=Date.now()-p;if(b>15)break}}a.__drawIndex=v,a.__drawIndex<a.__endIndex&&(s=!1),c.prevElClipPaths&&u.restore(),u.restore()}return h.wxa&&o.each(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),s},_doPaintEl:function(e,t,n,r){var i=t.ctx,o=e.transform;if((t.__dirty||n)&&!e.invisible&&0!==e.style.opacity&&(!o||o[0]||o[3])&&(!e.culling||!w(e,this._width,this._height))){var a=e.__clipPaths,s=r.prevElClipPaths;s&&!x(a,s)||(s&&(i.restore(),r.prevElClipPaths=null,r.prevEl=null),a&&(i.save(),C(a,i),r.prevElClipPaths=a)),e.beforeBrush&&e.beforeBrush(i),e.brush(i,r.prevEl||null),r.prevEl=e,e.afterBrush&&e.afterBrush(i)}},getLayer:function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=p);var n=this._layers[e];return n||(n=new u("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?o.merge(n,this._layerConfig[e],!0):this._layerConfig[e-g]&&o.merge(n,this._layerConfig[e-g],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},insertLayer:function(e,t){var n=this._layers,r=this._zlevelList,i=r.length,o=null,s=-1,l=this._domRoot;if(n[e])a("ZLevel "+e+" has been used already");else if(y(t)){if(i>0&&e>r[0]){for(s=0;s<i-1;s++)if(r[s]<e&&r[s+1]>e)break;o=n[r[s]]}if(r.splice(s+1,0,e),n[e]=t,!t.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(t.dom,u.nextSibling):l.appendChild(t.dom)}else l.firstChild?l.insertBefore(t.dom,l.firstChild):l.appendChild(t.dom)}else a("Layer of zlevel "+e+" is not valid")},eachLayer:function(e,t){var n,r,i=this._zlevelList;for(r=0;r<i.length;r++)n=i[r],e.call(t,this._layers[n],n)},eachBuiltinLayer:function(e,t){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],n=this._layers[r],n.__builtin__&&e.call(t,n,r)},eachOtherLayer:function(e,t){var n,r,i,o=this._zlevelList;for(i=0;i<o.length;i++)r=o[i],n=this._layers[r],n.__builtin__||e.call(t,n,r)},getLayers:function(){return this._layers},_updateLayerStatus:function(e){function t(e){o&&(o.__endIndex!==e&&(o.__dirty=!0),o.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++){var r=e[n];if(r.zlevel!==e[n-1].zlevel||r.incremental){this._needsManuallyCompositing=!0;break}}var i,o=null,s=0;for(n=0;n<e.length;n++){r=e[n];var l,u=r.zlevel;i!==u&&(i=u,s=0),r.incremental?(l=this.getLayer(u+m,this._needsManuallyCompositing),l.incremental=!0,s=1):l=this.getLayer(u+(s>0?g:0),this._needsManuallyCompositing),l.__builtin__||a("ZLevel "+u+" has been used by unkown layer "+l.id),l!==o&&(l.__used=!0,l.__startIndex!==n&&(l.__dirty=!0),l.__startIndex=n,l.incremental?l.__drawIndex=-1:l.__drawIndex=n,t(n),o=l),r.__dirty&&(l.__dirty=!0,l.incremental&&l.__drawIndex<0&&(l.__drawIndex=n))}t(n),this.eachBuiltinLayer((function(e,t){!e.__used&&e.getElementCount()>0&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(e){e.clear()},setBackgroundColor:function(e){this._backgroundColor=e},configLayer:function(e,t){if(t){var n=this._layerConfig;n[e]?o.merge(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===e||i===e+g){var a=this._layers[i];o.merge(a,n[e],!0)}}}},delLayer:function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(o.indexOf(n,e),1))},resize:function(e,t){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=this._getSize(0),t=this._getSize(1),n.style.display="",this._width!==e||t!==this._height){for(var i in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].resize(e,t);o.each(this._progressiveLayers,(function(n){n.resize(e,t)})),this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(p).resize(e,t)}return this},clearLayer:function(e){var t=this._layers[e];t&&t.clear()},dispose:function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},getRenderedCanvas:function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[p].dom;var t=new u("image",this,e.pixelRatio||this.dpr);if(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),e.pixelRatio<=this.dpr){this.refresh();var n=t.dom.width,r=t.dom.height,i=t.ctx;this.eachLayer((function(e){e.__builtin__?i.drawImage(e.dom,0,0,n,r):e.renderToCanvas&&(t.ctx.save(),e.renderToCanvas(t.ctx),t.ctx.restore())}))}else for(var o={},a=this.storage.getDisplayList(!0),s=0;s<a.length;s++){var l=a[s];this._doPaintEl(l,t,!0,o)}return t.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(e){var t=this._opts,n=["width","height"][e],r=["clientWidth","clientHeight"][e],i=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=t[n]&&"auto"!==t[n])return parseFloat(t[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||v(s[n])||v(a.style[n]))-(v(s[i])||0)-(v(s[o])||0)|0},pathToImage:function(e,t){t=t||this.dpr;var n=document.createElement("canvas"),r=n.getContext("2d"),i=e.getBoundingRect(),o=e.style,a=o.shadowBlur*t,s=o.shadowOffsetX*t,l=o.shadowOffsetY*t,u=o.hasStroke()?o.lineWidth:0,c=Math.max(u/2,-s+a),h=Math.max(u/2,s+a),f=Math.max(u/2,-l+a),p=Math.max(u/2,l+a),g=i.width+c+h,m=i.height+f+p;n.width=g*t,n.height=m*t,r.scale(t,t),r.clearRect(0,0,g,m),r.dpr=t;var v={position:e.position,rotation:e.rotation,scale:e.scale};e.position=[c-i.x,f-i.y],e.rotation=0,e.scale=[1,1],e.updateTransform(),e&&e.brush(r);var y=d,b=new y({style:{x:0,y:0,image:n}});return null!=v.position&&(b.position=e.position=v.position),null!=v.rotation&&(b.rotation=e.rotation=v.rotation),null!=v.scale&&(b.scale=e.scale=v.scale),b}};var k=O;e.exports=k},"7a+S":function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("YXkt"),a=n("4NO4"),s=i.extend({type:"timeline",layoutMode:"box",defaultOption:{zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},init:function(e,t,n){this._data,this._names,this.mergeDefaultAndTheme(e,n),this._initData()},mergeOption:function(e){s.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(e){null==e&&(e=this.option.currentIndex);var t=this._data.count();this.option.loop?e=(e%t+t)%t:(e>=t&&(e=t-1),e<0&&(e=0)),this.option.currentIndex=e},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(e){this.option.autoPlay=!!e},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var e=this.option,t=e.data||[],n=e.axisType,i=this._names=[];if("category"===n){var s=[];r.each(t,(function(e,t){var n,o=a.getDataItemValue(e);r.isObject(e)?(n=r.clone(e),n.value=t):n=t,s.push(n),r.isString(o)||null!=o&&!isNaN(o)||(o=""),i.push(o+"")})),t=s}var l={category:"ordinal",time:"time"}[n]||"number",u=this._data=new o([{name:"value",type:l}],this);u.initData(t,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}}),l=s;e.exports=l},"7aKB":function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("OELB");function a(e){return isNaN(e)?"-":(e=(e+"").split("."),e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:""))}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=r.normalizeCssArray,u=/([&<>"'])/g,c={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(e){return null==e?"":(e+"").replace(u,(function(e,t){return c[t]}))}var h=["a","b","c","d","e","f","g"],f=function(e,t){return"{"+e+(null==t?"":t)+"}"};function p(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var o=t[0].$vars||[],a=0;a<o.length;a++){var s=h[a];e=e.replace(f(s),f(s,0))}for(var l=0;l<i;l++)for(var u=0;u<o.length;u++){var c=t[l][o[u]];e=e.replace(f(h[u],l),n?d(c):c)}return e}function g(e,t,n){return r.each(t,(function(t,r){e=e.replace("{"+r+"}",n?d(t):t)})),e}function m(e,t){e=r.isString(e)?{color:e,extraCssText:t}:e||{};var n=e.color,i=e.type,o=(t=e.extraCssText,e.renderMode||"html"),a=e.markerId||"X";return n?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+d(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+d(n)+";"+(t||"")+'"></span>':{renderMode:o,content:"{marker"+a+"|} ",style:{color:n}}:""}function v(e,t){return e+="","0000".substr(0,t-e.length)+e}function y(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=o.parseDate(t),i=n?"UTC":"",a=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),u=r["get"+i+"Hours"](),c=r["get"+i+"Minutes"](),d=r["get"+i+"Seconds"](),h=r["get"+i+"Milliseconds"]();return e=e.replace("MM",v(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",v(l,2)).replace("d",l).replace("hh",v(u,2)).replace("h",u).replace("mm",v(c,2)).replace("m",c).replace("ss",v(d,2)).replace("s",d).replace("SSS",v(h,3)),e}function b(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var _=i.truncateText;function w(e){return i.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function x(e,t,n,r,o,a,s,l){return i.getBoundingRect(e,t,n,r,o,l,a,s)}function C(e,t){if("_blank"===t||"blank"===t){var n=window.open();n.opener=null,n.location=e}else window.open(e,t)}t.addCommas=a,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=d,t.formatTpl=p,t.formatTplSimple=g,t.getTooltipMarker=m,t.formatTime=y,t.capitalFirst=b,t.truncateText=_,t.getTextBoundingRect=w,t.getTextRect=x,t.windowOpen=C},"7afs":function(e,t,n){"use strict";function r(e,t){switch(void 0===t&&(t=0),typeof e){case"object":return null===e?i(349,t):Array.isArray(e)?s(e,t):l(e,t);case"string":return a(e,t);case"boolean":return o(e,t);case"number":return i(e,t);case"undefined":return i(0,937);default:return i(0,617)}}function i(e,t){return(t<<5)-t+e|0}function o(e,t){return i(e?433:863,t)}function a(e,t){t=i(149417,t);for(var n=0,r=e.length;n<r;n++)t=i(e.charCodeAt(n),t);return t}function s(e,t){return t=i(104579,t),e.reduce((function(e,t){return r(t,e)}),t)}function l(e,t){return t=i(181387,t),Object.keys(e).sort().reduce((function(t,n){return t=a(n,t),r(e[n],t)}),t)}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}))},"7bkD":function(e,t,n){var r=n("bYtY");function i(e,t){t=t||{};var n=e.coordinateSystem,i=e.axis,o={},a=i.position,s=i.orient,l=n.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};o.position=["vertical"===s?c.vertical[a]:u[0],"horizontal"===s?c.horizontal[a]:u[3]];var d={horizontal:0,vertical:1};o.rotation=Math.PI/2*d[s];var h={top:-1,bottom:1,right:1,left:-1};o.labelDirection=o.tickDirection=o.nameDirection=h[a],e.get("axisTick.inside")&&(o.tickDirection=-o.tickDirection),r.retrieve(t.labelInside,e.get("axisLabel.inside"))&&(o.labelDirection=-o.labelDirection);var f=t.rotate;return null==f&&(f=e.get("axisLabel.rotate")),o.labelRotation="top"===a?-f:f,o.z2=1,o}t.layout=i},"7fqy":function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}e.exports=n},"7hqr":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.isString;function a(e,t,n){n=n||{};var r,a,s,l,u=n.byIndex,c=n.stackedCoordDimension,d=!(!e||!e.get("stack"));if(i(t,(function(e,n){o(e)&&(t[n]=e={name:e}),d&&!e.isExtraCoord&&(u||r||!e.ordinalMeta||(r=e),a||"ordinal"===e.type||"time"===e.type||c&&c!==e.coordDim||(a=e))})),!a||u||r||(u=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var h=a.coordDim,f=a.type,p=0;i(t,(function(e){e.coordDim===h&&p++})),t.push({name:s,coordDim:h,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,t.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:r&&r.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}}function s(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function l(e,t){return s(e,t)?e.getCalculationInfo("stackResultDimension"):t}t.enableDataStack=a,t.isDimensionStacked=s,t.getStackedDimension=l},"7lZ/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("qj0h"),i=n("Vhoy"),o=n("N0LK"),a=function(){function e(e,t){this.supportCodicons=t,this.text="",this.title="",this.highlights=[],this.didEverRender=!1,this.domNode=document.createElement("span"),this.domNode.className="monaco-highlighted-label",e.appendChild(this.domNode)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.domNode},enumerable:!0,configurable:!0}),e.prototype.set=function(t,n,i,o){void 0===n&&(n=[]),void 0===i&&(i=""),t||(t=""),o&&(t=e.escapeNewLines(t,n)),this.didEverRender&&this.text===t&&this.title===i&&r["e"](this.highlights,n)||(Array.isArray(n)||(n=[]),this.text=t,this.title=i,this.highlights=n,this.render())},e.prototype.render=function(){for(var e="",t=0,n=0,r=this.highlights;n<r.length;n++){var a=r[n];if(a.end!==a.start){if(t<a.start){e+="<span>";var s=this.text.substring(t,a.start);e+=this.supportCodicons?Object(i["c"])(Object(o["o"])(s)):Object(o["o"])(s),e+="</span>",t=a.end}a.extraClasses?e+='<span class="highlight '+a.extraClasses+'">':e+='<span class="highlight">';var l=this.text.substring(a.start,a.end);e+=this.supportCodicons?Object(i["c"])(Object(o["o"])(l)):Object(o["o"])(l),e+="</span>",t=a.end}}if(t<this.text.length){e+="<span>";l=this.text.substring(t);e+=this.supportCodicons?Object(i["c"])(Object(o["o"])(l)):Object(o["o"])(l),e+="</span>"}this.domNode.innerHTML=e,this.title?this.domNode.title=this.title:this.domNode.removeAttribute("title"),this.didEverRender=!0},e.escapeNewLines=function(e,t){var n=0,r=0;return e.replace(/\r\n|\r|\n/g,(function(e,i){r="\r\n"===e?-1:0,i+=n;for(var o=0,a=t;o<a.length;o++){var s=a[o];s.end<=i||(s.start>=i&&(s.start+=r),s.end>=i&&(s.end+=r))}return n+=r,"\u23ce"}))},e}()},"7mYs":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("OELB"),l={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},u={EN:["S","M","T","W","T","F","S"],CN:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},c=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(e,t,n){var r=this.group;r.removeAll();var i=e.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient();this._renderDayRect(e,o,r),this._renderLines(e,o,a,r),this._renderYearText(e,o,a,r),this._renderMonthText(e,a,r),this._renderWeekText(e,o,a,r)},_renderDayRect:function(e,t,n){for(var r=e.coordinateSystem,i=e.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=t.start.time;l<=t.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,c=new o.Rect({shape:{x:u[0],y:u[1],width:a,height:s},cursor:"default",style:i});n.add(c)}},_renderLines:function(e,t,n,r){var i=this,o=e.coordinateSystem,a=e.getModel("splitLine.lineStyle").getLineStyle(),s=e.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=t.start,c=0;u.time<=t.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(t.start.y+"-"+t.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(t){i._firstDayOfMonth.push(o.getDateInfo(t)),i._firstDayPoints.push(o.dataToRect([t],!1).tl);var l=i._getLinePointsOfOneWeek(e,t,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(t.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},_getEdgesPoints:function(e,t,n){var r=[e[0].slice(),e[e.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-t/2,r[1][i]=r[1][i]+t/2,r},_drawSplitline:function(e,t,n){var r=new o.Polyline({z2:20,shape:{points:e},style:t});n.add(r)},_getLinePointsOfOneWeek:function(e,t,n){var r=e.coordinateSystem;t=r.getDateInfo(t);for(var i=[],o=0;o<7;o++){var a=r.getNextNDay(t.time,o),s=r.dataToRect([a.time],!1);i[2*a.day]=s.tl,i[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return i},_formatterLabel:function(e,t){return"string"===typeof e&&e?a.formatTplSimple(e,t):"function"===typeof e?e(t):t.nameMap},_yearTextPositionControl:function(e,t,n,r,i){t=t.slice();var o=["center","bottom"];"bottom"===r?(t[1]+=i,o=["center","top"]):"left"===r?t[0]-=i:"right"===r?(t[0]+=i,o=["center","top"]):t[1]-=i;var a=0;return"left"!==r&&"right"!==r||(a=Math.PI/2),{rotation:a,position:t,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(e,t,n,r){var i=e.getModel("yearLabel");if(i.get("show")){var a=i.get("margin"),s=i.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,d="horizontal"===n?0:1,h={top:[u,l[d][1]],bottom:[u,l[1-d][1]],left:[l[1-d][0],c],right:[l[d][0],c]},f=t.start.y;+t.end.y>+t.start.y&&(f=f+"-"+t.end.y);var p=i.get("formatter"),g={start:t.start.y,end:t.end.y,nameMap:f},m=this._formatterLabel(p,g),v=new o.Text({z2:30});o.setTextStyle(v.style,i,{text:m}),v.attr(this._yearTextPositionControl(v,h[s],n,s,a)),r.add(v)}},_monthTextPositionControl:function(e,t,n,r,i){var o="left",a="top",s=e[0],l=e[1];return"horizontal"===n?(l+=i,t&&(o="center"),"start"===r&&(a="bottom")):(s+=i,t&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(e,t,n){var r=e.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),s=r.get("margin"),u=r.get("position"),c=r.get("align"),d=[this._tlpoints,this._blpoints];i.isString(a)&&(a=l[a.toUpperCase()]||[]);var h="start"===u?0:1,f="horizontal"===t?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g<d[h].length-1;g++){var m=d[h][g].slice(),v=this._firstDayOfMonth[g];if(p){var y=this._firstDayPoints[g];m[f]=(y[f]+d[0][g+1][f])/2}var b=r.get("formatter"),_=a[+v.m-1],w={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:_},x=this._formatterLabel(b,w),C=new o.Text({z2:30});i.extend(o.setTextStyle(C.style,r,{text:x}),this._monthTextPositionControl(m,p,t,u,s)),n.add(C)}}},_weekTextPositionControl:function(e,t,n,r,i){var o="center",a="middle",s=e[0],l=e[1],u="start"===n;return"horizontal"===t?(s=s+r+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+r+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderWeekText:function(e,t,n,r){var a=e.getModel("dayLabel");if(a.get("show")){var l=e.coordinateSystem,c=a.get("position"),d=a.get("nameMap"),h=a.get("margin"),f=l.getFirstDayOfWeek();i.isString(d)&&(d=u[d.toUpperCase()]||[]);var p=l.getNextNDay(t.end.time,7-t.lweek).time,g=[l.getCellWidth(),l.getCellHeight()];h=s.parsePercent(h,g["horizontal"===n?0:1]),"start"===c&&(p=l.getNextNDay(t.start.time,-(7+t.fweek)).time,h=-h);for(var m=0;m<7;m++){var v=l.getNextNDay(p,m),y=l.dataToRect([v.time],!1).center,b=m;b=Math.abs((m+f)%7);var _=new o.Text({z2:30});i.extend(o.setTextStyle(_.style,a,{text:d[b]}),this._weekTextPositionControl(y,n,c,h,g)),r.add(_)}}}});e.exports=c},"7oTu":function(e,t,n){var r=n("IMiH"),i=n("QBsz"),o=i.applyTransform,a=r.CMD,s=[[],[],[]],l=Math.sqrt,u=Math.atan2;function c(e,t){var n,r,i,c,d,h=e.data,f=a.M,p=a.C,g=a.L,m=a.R,v=a.A,y=a.Q;for(i=0,c=0;i<h.length;){switch(n=h[i++],c=i,r=0,n){case f:r=1;break;case g:r=1;break;case p:r=3;break;case y:r=2;break;case v:var b=t[4],_=t[5],w=l(t[0]*t[0]+t[1]*t[1]),x=l(t[2]*t[2]+t[3]*t[3]),C=u(-t[1]/x,t[0]/w);h[i]*=w,h[i++]+=b,h[i]*=x,h[i++]+=_,h[i++]*=w,h[i++]*=x,h[i++]+=C,h[i++]+=C,i+=2,c=i;break;case m:S[0]=h[i++],S[1]=h[i++],o(S,S,t),h[c++]=S[0],h[c++]=S[1],S[0]+=h[i++],S[1]+=h[i++],o(S,S,t),h[c++]=S[0],h[c++]=S[1]}for(d=0;d<r;d++){var S=s[d];S[0]=h[i++],S[1]=h[i++],o(S,S,t),h[c++]=S[0],h[c++]=S[1]}}}e.exports=c},"7pVf":function(e,t,n){var r=n("ProS"),i=n("ZqQs");n("oE7X"),n("OUJF"),n("3X6L"),n("NH9N"),r.registerPreprocessor(i)},"7ph2":function(e,t){function n(e){return e instanceof Array||(e=[e,e]),e}var r="lineStyle.opacity".split("."),i={seriesType:"lines",reset:function(e,t,i){var o=n(e.get("symbol")),a=n(e.get("symbolSize")),s=e.getData();function l(e,t){var i=e.getItemModel(t),o=n(i.getShallow("symbol",!0)),a=n(i.getShallow("symbolSize",!0)),s=i.get(r);o[0]&&e.setItemVisual(t,"fromSymbol",o[0]),o[1]&&e.setItemVisual(t,"toSymbol",o[1]),a[0]&&e.setItemVisual(t,"fromSymbolSize",a[0]),a[1]&&e.setItemVisual(t,"toSymbolSize",a[1]),e.setItemVisual(t,"opacity",s)}return s.setVisual("fromSymbol",o&&o[0]),s.setVisual("toSymbol",o&&o[1]),s.setVisual("fromSymbolSize",a&&a[0]),s.setVisual("toSymbolSize",a&&a[1]),s.setVisual("opacity",e.get(r)),{dataEach:s.hasItemOption?l:null}}};e.exports=i},"7uqq":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("AUH6"),s=n("+TT/"),l=n("OELB"),u=n("W4dC"),c=n("7DRL");function d(e,t){var n=e.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];isNaN(r[0])||isNaN(r[1])||isNaN(i[0])||isNaN(i[1])||this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}var o,a=this.getBoundingRect(),u=e.get("layoutCenter"),c=e.get("layoutSize"),d=t.getWidth(),h=t.getHeight(),f=a.width/a.height*this.aspectScale,p=!1;if(u&&c&&(u=[l.parsePercent(u[0],d),l.parsePercent(u[1],h)],c=l.parsePercent(c,Math.min(d,h)),isNaN(u[0])||isNaN(u[1])||isNaN(c)||(p=!0)),p){var g={};f>1?(g.width=c,g.height=c/f):(g.height=c,g.width=c*f),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else o=e.getBoxLayoutParams(),o.aspect=f,g=s.getLayoutRect(o,{width:d,height:h});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(e.get("center")),this.setZoom(e.get("zoom"))}function h(e,t){o.each(t.get("geoCoord"),(function(t,n){e.addGeoCoord(n,t)}))}var f={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];e.eachComponent("geo",(function(e,r){var i=e.get("map"),o=e.get("aspectScale"),s=!0,l=c.retrieveMap(i);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var u=new a(i+r,i,e.get("nameMap"),s);u.aspectScale=o,u.zoomLimit=e.get("scaleLimit"),n.push(u),h(u,e),e.coordinateSystem=u,u.model=e,u.resize=d,u.resize(e,t)})),e.eachSeries((function(e){var t=e.get("coordinateSystem");if("geo"===t){var r=e.get("geoIndex")||0;e.coordinateSystem=n[r]}}));var r={};return e.eachSeriesByType("map",(function(e){if(!e.getHostGeoModel()){var t=e.getMapType();r[t]=r[t]||[],r[t].push(e)}})),o.each(r,(function(e,r){var i=o.map(e,(function(e){return e.get("nameMap")})),s=new a(r,r,o.mergeAll(i));s.zoomLimit=o.retrieve.apply(null,o.map(e,(function(e){return e.get("scaleLimit")}))),n.push(s),s.resize=d,s.aspectScale=e[0].get("aspectScale"),s.resize(e[0],t),o.each(e,(function(e){e.coordinateSystem=s,h(s,e)}))})),n},getFilledRegions:function(e,t,n){for(var r=(e||[]).slice(),i=o.createHashMap(),a=0;a<r.length;a++)i.set(r[a].name,r[a]);var s=u.load(t,n);return o.each(s.regions,(function(e){var t=e.name;!i.get(t)&&r.push({name:t})})),r}};i.registerCoordinateSystem("geo",f);var p=f;e.exports=p},"7yuC":function(e,t,n){var r=n("QBsz"),i=r.scaleAndAdd;function o(e,t,n){for(var o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<e.length;c++){var d=e[c];d.p||(d.p=r.create(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=r.clone(d.p),d.edges=null}var h=null==n.friction?.6:n.friction,f=h;return{warmUp:function(){f=.8*h},setFixed:function(t){e[t].fixed=!0},setUnfixed:function(t){e[t].fixed=!1},step:function(n){for(var o=[],a=e.length,s=0;s<t.length;s++){var c=t[s];if(!c.ignoreForceLayout){var d=c.n1,h=c.n2;r.sub(o,h.p,d.p);var p=r.len(o)-c.d,g=h.w/(d.w+h.w);isNaN(g)&&(g=0),r.normalize(o,o),!d.fixed&&i(d.p,d.p,o,g*p*f),!h.fixed&&i(h.p,h.p,o,-(1-g)*p*f)}}for(s=0;s<a;s++){var m=e[s];m.fixed||(r.sub(o,l,m.p),i(m.p,m.p,o,u*f))}for(s=0;s<a;s++){d=e[s];for(var v=s+1;v<a;v++){h=e[v];r.sub(o,h.p,d.p);p=r.len(o);0===p&&(r.set(o,Math.random()-.5,Math.random()-.5),p=1);var y=(d.rep+h.rep)/p/p;!d.fixed&&i(d.pp,d.pp,o,y),!h.fixed&&i(h.pp,h.pp,o,-y)}}var b=[];for(s=0;s<a;s++){m=e[s];m.fixed||(r.sub(b,m.p,m.pp),i(m.p,m.p,b,f),r.copy(m.pp,m.p))}f*=.992,n&&n(e,t,f<.01)}}}t.forceLayout=o},"7zd4":function(e,t,n){},"815F":function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"a",(function(){return g})),n.d(t,"f",(function(){return m})),n.d(t,"b",(function(){return v}));var r=n("KQm4"),i=n("rePB"),o=n("Ff2n"),a=n("Zm9Q"),s=n("Kwbf"),l=n("OZM5");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(i["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t){return null!==e&&void 0!==e?e:t}function h(e){function t(e){var n=Object(a["a"])(e);return n.map((function(e){if(!Object(l["i"])(e))return Object(s["a"])(!e,"Tree/TreeNode can only accept TreeNode as children."),null;var n=e.key,r=e.props,i=r.children,a=Object(o["a"])(r,["children"]),u=c({key:n},a),d=t(i);return d.length&&(u.children=d),u})).filter((function(e){return e}))}return t(e)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(!0===t?[]:t),i=[];function o(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.map((function(s,u){var h=Object(l["h"])(a?a.pos:"0",u),f=d(s.key,h),p=c(c({},s),{},{parent:a,pos:h,children:null,data:s,isStart:[].concat(Object(r["a"])(a?a.isStart:[]),[0===u]),isEnd:[].concat(Object(r["a"])(a?a.isEnd:[]),[u===e.length-1])});return i.push(p),!0===t||n.has(f)?p.children=o(s.children||[],p):p.children=[],p}))}return o(e),i}function p(e,t){function n(r,i,o){var a=r?r.children:e,s=r?Object(l["h"])(o.pos,i):"0";if(r){var u={node:r,index:i,pos:s,key:null!==r.key?r.key:s,parentPos:o.node?o.pos:null,level:o.level+1};t(u)}a&&a.forEach((function(e,t){n(e,t,{node:r,pos:s,level:o?o.level+1:-1})}))}n(null)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.initWrapper,r=t.processEntity,i=t.onProcessFinished,o={},a={},s={posEntities:o,keyEntities:a};return n&&(s=n(s)||s),p(e,(function(e){var t=e.node,n=e.index,i=e.pos,l=e.key,u=e.parentPos,c=e.level,h={node:t,index:n,key:l,pos:i,level:c},f=d(l,i);o[i]=h,a[f]=h,h.parent=o[u],h.parent&&(h.parent.children=h.parent.children||[],h.parent.children.push(h)),r&&r(h,s)})),i&&i(s),s}function m(e,t){var n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,c=t.keyEntities,d=c[e],h={eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==r.indexOf(e),loaded:-1!==i.indexOf(e),loading:-1!==o.indexOf(e),checked:-1!==a.indexOf(e),halfChecked:-1!==s.indexOf(e),pos:String(d?d.pos:""),dragOver:l===e&&0===u,dragOverGapTop:l===e&&-1===u,dragOverGapBottom:l===e&&1===u};return h}function v(e){var t=e.data,n=e.expanded,r=e.selected,i=e.checked,o=e.loaded,a=e.loading,l=e.halfChecked,u=e.dragOver,d=e.dragOverGapTop,h=e.dragOverGapBottom,f=e.pos,p=e.active,g=c(c({},t),{},{expanded:n,selected:r,checked:i,loaded:o,loading:a,halfChecked:l,dragOver:u,dragOverGapTop:d,dragOverGapBottom:h,pos:f,active:p});return"props"in g||Object.defineProperty(g,"props",{get:function(){return Object(s["a"])(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}},"85Yc":function(e,t,n){"use strict";n.d(t,"a",(function(){return _e})),n.d(t,"c",(function(){return Se})),n.d(t,"e",(function(){return Te})),n.d(t,"b",(function(){return je}));var r=n("q1tI"),i=n("Ff2n"),o=n("rePB"),a=n("KQm4"),s=n("1OyB"),l=n("vuIU"),u=n("Ji7U"),c=n("md7G"),d=n("foSv"),h=n("Zm9Q"),f=n("Kwbf"),p="RC_FORM_INTERNAL_HOOKS",g=function(){Object(f["a"])(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},m=r["createContext"]({getFieldValue:g,getFieldsValue:g,getFieldError:g,getFieldsError:g,isFieldsTouched:g,isFieldTouched:g,isFieldValidating:g,isFieldsValidating:g,resetFields:g,setFields:g,setFieldsValue:g,validateFields:g,submit:g,getInternalHooks:function(){return g(),{dispatch:g,registerField:g,useSubscribe:g,setInitialValues:g,setCallbacks:g,getFields:g,setValidateMessages:g}}}),v=m;function y(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var b=n("o0o1"),_=n.n(b);function w(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function x(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){w(o,r,i,a,s,"next",e)}function s(e){w(o,r,i,a,s,"throw",e)}a(void 0)}))}}var C=n("U8pU"),S=n("KpVd");function O(e,t){for(var n=e,r=0;r<t.length;r+=1){if(null===n||void 0===n)return;n=n[t[r]]}return n}function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return L(e)||R(e)||P(e)||N()}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function L(e){if(Array.isArray(e))return A(e)}function I(e){return j(e)||R(e)||P(e)||T()}function T(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e,t){if(e){if("string"===typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function j(e){if(Array.isArray(e))return e}function F(e,t,n){if(!t.length)return n;var r,i=I(t),o=i[0],a=i.slice(1);return r=e||"number"!==typeof o?Array.isArray(e)?M(e):E({},e):[],r[o]=F(r[o],a,n),r}function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e){return y(e)}function W(e,t){var n=O(e,t);return n}function H(e,t,n){var r=F(e,t,n);return r}function U(e,t){var n={};return t.forEach((function(t){var r=W(e,t);n=H(n,t,r)})),n}function K(e,t){return e&&e.some((function(e){return X(e,t)}))}function G(e){return"object"===Object(C["a"])(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function q(e,t){var n=Array.isArray(e)?Object(a["a"])(e):V({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],i=t[e],o=G(r)&&G(i);n[e]=o?q(r,i||{}):i})),n):n}function Y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(e,t){return q(e,t)}),e)}function X(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,n){return t[n]===e}))}function Z(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==Object(C["a"])(e)||"object"!==Object(C["a"])(t))return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(Object(a["a"])(n),Object(a["a"])(r)));return Object(a["a"])(i).every((function(n){var r=e[n],i=t[n];return"function"===typeof r&&"function"===typeof i||r===i}))}function Q(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&e in t.target?t.target[e]:t}function $(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat(Object(a["a"])(e.slice(0,n)),[i],Object(a["a"])(e.slice(n,t)),Object(a["a"])(e.slice(t+1,r))):o<0?[].concat(Object(a["a"])(e.slice(0,t)),Object(a["a"])(e.slice(t+1,n+1)),[i],Object(a["a"])(e.slice(n+1,r))):e}var J="'${name}' is not a valid ${type}",ee={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:J,method:J,array:J,object:J,number:J,date:J,boolean:J,integer:J,float:J,regexp:J,email:J,url:J,hex:J},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=S["a"];function ie(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}function oe(e,t,n,r){var i=ne({},n,{name:t,enum:(n.enum||[]).join(", ")}),o=function(e,t){return function(){return ie(e,ne({},i,{},t))}};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){var i=e[n];"string"===typeof i?t[n]=o(i,r):i&&"object"===Object(C["a"])(i)?(t[n]={},a(i,t[n])):t[n]=i})),t}return a(Y({},ee,e))}function ae(e,t,n,r,i){return se.apply(this,arguments)}function se(){return se=x(_.a.mark((function e(t,n,i,s,l){var u,c,d,h,f,p;return _.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return u=ne({},i),c=null,u&&"array"===u.type&&u.defaultField&&(c=u.defaultField,delete u.defaultField),d=new re(Object(o["a"])({},t,[u])),h=oe(s.validateMessages,t,u,l),d.messages(h),f=[],e.prev=7,e.next=10,Promise.resolve(d.validate(Object(o["a"])({},t,n),ne({},s)));case 10:e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](7),e.t0.errors?f=e.t0.errors.map((function(e,t){var n=e.message;return r["isValidElement"](n)?r["cloneElement"](n,{key:"error_".concat(t)}):n})):(console.error(e.t0),f=[h.default()]);case 15:if(f.length||!c){e.next=20;break}return e.next=18,Promise.all(n.map((function(e,n){return ae("".concat(t,".").concat(n),e,c,s,l)})));case 18:return p=e.sent,e.abrupt("return",p.reduce((function(e,t){return[].concat(Object(a["a"])(e),Object(a["a"])(t))}),[]));case 20:return e.abrupt("return",f);case 21:case"end":return e.stop()}}),e,null,[[7,12]])}))),se.apply(this,arguments)}function le(e,t,n,r,i,o){var a=e.join("."),s=n.map((function(e){var t=e.validator;return t?ne({},e,{validator:function(e,n,r){var i=!1,o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Promise.resolve().then((function(){Object(f["a"])(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||r.apply(void 0,t)}))},a=t(e,n,o);i=a&&"function"===typeof a.then&&"function"===typeof a.catch,Object(f["a"])(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then((function(){r()})).catch((function(e){r(e)}))}}):e})),l=s.map((function(e){return ae(a,t,e,r,o)})),u=(i?de(l):ue(l)).then((function(e){return e.length?Promise.reject(e):[]}));return u.catch((function(e){return e})),u}function ue(e){return ce.apply(this,arguments)}function ce(){return ce=x(_.a.mark((function e(t){return _.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t,n=(t=[]).concat.apply(t,Object(a["a"])(e));return n})));case 1:case"end":return e.stop()}}),e)}))),ce.apply(this,arguments)}function de(e){return he.apply(this,arguments)}function he(){return he=x(_.a.mark((function e(t){var n;return _.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=0,e.abrupt("return",new Promise((function(e){t.forEach((function(r){r.then((function(r){r.length&&e(r),n+=1,n===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)}))),he.apply(this,arguments)}function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e){return function(){var t,n=Object(d["a"])(e);if(me()){var r=Object(d["a"])(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(c["a"])(this,t)}}function me(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ve(e,t,n,r,i,o){return"function"===typeof e?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var ye=function(e){Object(u["a"])(n,e);var t=ge(n);function n(){var e;return Object(s["a"])(this,n),e=t.apply(this,arguments),e.state={resetCount:0},e.cancelRegisterFunc=null,e.destroy=!1,e.touched=!1,e.dirty=!1,e.validatePromise=null,e.errors=[],e.cancelRegister=function(){e.cancelRegisterFunc&&e.cancelRegisterFunc(),e.cancelRegisterFunc=null},e.getNamePath=function(){var t=e.props.name,n=e.context.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat(Object(a["a"])(r),Object(a["a"])(t)):[]},e.getRules=function(){var t=e.props.rules,n=void 0===t?[]:t;return n.map((function(t){return"function"===typeof t?t(e.context):t}))},e.refresh=function(){e.destroy||e.setState((function(e){var t=e.resetCount;return{resetCount:t+1}}))},e.onStoreChange=function(t,n,r){var i=e.props,o=i.shouldUpdate,a=i.dependencies,s=void 0===a?[]:a,l=i.onReset,u=r.store,c=e.getNamePath(),d=e.getValue(t),h=e.getValue(u),f=n&&K(n,c);switch("valueUpdate"===r.type&&"external"===r.source&&d!==h&&(e.touched=!0,e.dirty=!0,e.validatePromise=null,e.errors=[]),r.type){case"reset":if(!n||f)return e.touched=!1,e.dirty=!1,e.validatePromise=null,e.errors=[],l&&l(),void e.refresh();break;case"setField":if(f){var p=r.data;return"touched"in p&&(e.touched=p.touched),"validating"in p&&!("originRCField"in p)&&(e.validatePromise=p.validating?Promise.resolve([]):null),"errors"in p&&(e.errors=p.errors||[]),e.dirty=!0,void e.reRender()}if(o&&!c.length&&ve(o,t,u,d,h,r))return void e.reRender();break;case"dependenciesUpdate":var g=s.map(z);if(f||g.some((function(e){return K(r.relatedFields,e)})))return void e.reRender();break;default:if(f||s.some((function(e){return K(n,z(e))}))||ve(o,t,u,d,h,r))return void e.reRender();break}!0===o&&e.reRender()},e.validateRules=function(t){var n=e.props,r=n.validateFirst,i=void 0!==r&&r,o=n.messageVariables,a=t||{},s=a.triggerName,l=e.getNamePath(),u=e.getRules();s&&(u=u.filter((function(e){var t=e.validateTrigger;if(!t)return!0;var n=y(t);return n.includes(s)})));var c=le(l,e.getValue(),u,t,i,o);return e.dirty=!0,e.validatePromise=c,e.errors=[],c.catch((function(e){return e})).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.validatePromise===c&&(e.validatePromise=null,e.errors=t,e.reRender())})),c},e.isFieldValidating=function(){return!!e.validatePromise},e.isFieldTouched=function(){return e.touched},e.isFieldDirty=function(){return e.dirty},e.getErrors=function(){return e.errors},e.getMeta=function(){e.prevValidating=e.isFieldValidating();var t={touched:e.isFieldTouched(),validating:e.prevValidating,errors:e.errors,name:e.getNamePath()};return t},e.getOnlyChild=function(t){if("function"===typeof t){var n=e.getMeta();return pe({},e.getOnlyChild(t(e.getControlled(),n,e.context)),{isFunction:!0})}var i=Object(h["a"])(t);return 1===i.length&&r["isValidElement"](i[0])?{child:i[0],isFunction:!1}:{child:i,isFunction:!1}},e.getValue=function(t){var n=e.context.getFieldsValue,r=e.getNamePath();return W(t||n(!0),r)},e.getControlled=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.props,r=n.trigger,i=n.validateTrigger,a=n.getValueFromEvent,s=n.normalize,l=n.valuePropName,u=n.getValueProps,c=void 0!==i?i:e.context.validateTrigger,d=e.getNamePath(),h=e.context,f=h.getInternalHooks,g=h.getFieldsValue,m=f(p),v=m.dispatch,b=e.getValue(),_=u||function(e){return Object(o["a"])({},l,e)},w=t[r],x=pe({},t,{},_(b));x[r]=function(){var t;e.touched=!0,e.dirty=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t=a?a.apply(void 0,r):Q.apply(void 0,[l].concat(r)),s&&(t=s(t,b,g(!0))),v({type:"updateValue",namePath:d,value:t}),w&&w.apply(void 0,r)};var C=y(c||[]);return C.forEach((function(t){var n=x[t];x[t]=function(){n&&n.apply(void 0,arguments);var r=e.props.rules;r&&r.length&&v({type:"validateField",namePath:d,triggerName:t})}})),x},e}return Object(l["a"])(n,[{key:"componentDidMount",value:function(){var e=this.props.shouldUpdate,t=this.context.getInternalHooks,n=t(p),r=n.registerField;this.cancelRegisterFunc=r(this),!0===e&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.destroy=!0}},{key:"reRender",value:function(){this.destroy||this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,n=this.props.children,i=this.getOnlyChild(n),o=i.child,a=i.isFunction;return a?e=o:r["isValidElement"](o)?e=r["cloneElement"](o,this.getControlled(o.props)):(Object(f["a"])(!o,"`children` of Field is not validate ReactElement."),e=o),r["createElement"](r["Fragment"],{key:t},e)}}]),n}(r["Component"]);ye.contextType=v,ye.defaultProps={trigger:"onChange",valuePropName:"value"};var be=function(e){var t=e.name,n=e.isListField,o=Object(i["a"])(e,["name","isListField"]),a=void 0!==t?z(t):void 0,s="keep";return n||(s="_".concat((a||[]).join("_"))),r["createElement"](ye,Object.assign({key:s,name:a},o))},_e=be;function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ce=function(e){var t=e.name,n=e.children,i=r["useContext"](v),o=r["useRef"]({keys:[],id:0}),s=o.current;if("function"!==typeof n)return Object(f["a"])(!1,"Form.List only accepts function as children."),null;var l=z(i.prefixName)||[],u=[].concat(Object(a["a"])(l),Object(a["a"])(z(t))),c=function(e,t,n){var r=n.source;return"internal"!==r&&e!==t};return r["createElement"](v.Provider,{value:xe({},i,{prefixName:u})},r["createElement"](_e,{name:[],shouldUpdate:c},(function(e){var t=e.value,r=void 0===t?[]:t,o=e.onChange,l=i.getFieldValue,c=function(){var e=l(u||[]);return e||[]},d={add:function(e){s.keys=[].concat(Object(a["a"])(s.keys),[s.id]),s.id+=1;var t=c();o([].concat(Object(a["a"])(t),[e]))},remove:function(e){var t=c();if(!(e<0||e>=t.length)){var n=s.keys.map((function(t,n){return n<e?t:s.keys[n+1]}));s.keys=n.slice(0,-1),o(t.filter((function(t,n){return n!==e})))}},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(s.keys=$(s.keys,e,t),o($(n,e,t)))}}};return n(r.map((function(e,t){var n=s.keys[t];return void 0===n&&(s.keys[t]=s.id,n=s.keys[t],s.id+=1),{name:t,key:n,isListField:!0}})),d)})))},Se=Ce,Oe=n("ODXe");function ke(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(i,o){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&o(r),i(r))}))}))})):Promise.resolve([])}var Ee=function(){function e(){Object(s["a"])(this,e),this.list=[]}return Object(l["a"])(e,[{key:"set",value:function(e,t){var n=this.list.findIndex((function(t){return X(t.key,e)}));-1!==n?this.list[n].value=t:this.list.push({key:e,value:t})}},{key:"get",value:function(e){var t=this.list.find((function(t){return X(t.key,e)}));return t&&t.value}},{key:"update",value:function(e,t){var n=this.get(e),r=t(n);r?this.set(e,r):this.delete(e)}},{key:"delete",value:function(e){this.list=this.list.filter((function(t){return!X(t.key,e)}))}},{key:"map",value:function(e){return this.list.map(e)}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),De=Ee;function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Le=function e(t){var n=this;Object(s["a"])(this,e),this.formHooked=!1,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===p?(n.formHooked=!0,{dispatch:n.dispatch,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields}):(Object(f["a"])(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.setInitialValues=function(e,t){n.initialValues=e||{},t&&(n.store=Y({},e,n.store))},this.getInitialValue=function(e){return W(n.initialValues,e)},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new De;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=z(e);return t.get(n)||{INVALIDATE_NAME_PATH:z(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),i=[];return r.forEach((function(e){var n="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(t){var r="getMeta"in e?e.getMeta():null;t(r)&&i.push(n)}else i.push(n)})),U(n.store,i.map(z))},this.getFieldValue=function(e){n.warningUnhooked();var t=z(e);return W(n.store,t)},this.getFieldsError=function(e){n.warningUnhooked();var t=n.getFieldEntitiesForNamePathList(e);return t.map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors()}:{name:z(e[n]),errors:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=z(e),r=n.getFieldsError([t])[0];return r.errors},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i,o=t[0],a=t[1],s=!1;0===t.length?i=null:1===t.length?Array.isArray(o)?(i=o.map(z),s=!1):(i=null,s=o):(i=o.map(z),s=a);var l=function(e){if(!i)return e.isFieldTouched();var t=e.getNamePath();return K(i,t)?e.isFieldTouched():s};return s?n.getFieldEntities(!0).every(l):n.getFieldEntities(!0).some(l)},this.isFieldTouched=function(e){return n.warningUnhooked(),n.isFieldsTouched([e])},this.isFieldsValidating=function(e){n.warningUnhooked();var t=n.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var r=e.map(z);return t.some((function(e){var t=e.getNamePath();return K(r,t)&&e.isFieldValidating()}))},this.isFieldValidating=function(e){return n.warningUnhooked(),n.isFieldsValidating([e])},this.resetWithFieldInitialValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new De,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var i=t.get(r)||new Set;i.add({entity:e,value:n}),t.set(r,i)}}));var i,o=function(r){r.forEach((function(r){var i=r.props.initialValue;if(void 0!==i){var o=r.getNamePath(),s=n.getInitialValue(o);if(void 0!==s)Object(f["a"])(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var l=t.get(o);if(l&&l.size>1)Object(f["a"])(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(l){var u=n.getFieldValue(o);e.skipExist&&void 0!==u||(n.store=H(n.store,o,Object(a["a"])(l)[0].value))}}}}))};e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=i).push.apply(n,Object(a["a"])(Object(a["a"])(r).map((function(e){return e.entity}))))}))):i=r,o(i)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.store=Y({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(t,null,{type:"reset"});var r=e.map(z);r.forEach((function(e){var t=n.getInitialValue(e);n.store=H(n.store,e,t)})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"})},this.setFields=function(e){n.warningUnhooked();var t=n.store;e.forEach((function(e){var r=e.name,o=(e.errors,Object(i["a"])(e,["name","errors"])),a=z(r);"value"in o&&(n.store=H(n.store,a,o.value)),n.notifyObservers(t,[a],{type:"setField",data:e})}))},this.getFields=function(){var e=n.getFieldEntities(!0),t=e.map((function(e){var t=e.getNamePath(),r=e.getMeta(),i=Ne({},r,{name:t,value:n.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}));return t},this.registerField=function(e){if(n.fieldEntities.push(e),void 0!==e.props.initialValue){var t=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(){n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e}))}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var i=e.namePath,o=e.triggerName;n.validateFields([i],{triggerName:o});break;default:}},this.notifyObservers=function(e,t,r){if(n.subscribable){var i=Ne({},r,{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){var r=n.onStoreChange;r(e,t,i)}))}else n.forceRootUpdate()},this.updateValue=function(e,t){var r=z(e),i=n.store;n.store=H(n.store,r,t),n.notifyObservers(i,[r],{type:"valueUpdate",source:"internal"});var o=n.getDependencyChildrenFields(r);n.validateFields(o),n.notifyObservers(i,o,{type:"dependenciesUpdate",relatedFields:[r].concat(Object(a["a"])(o))});var s=n.callbacks.onValuesChange;if(s){var l=U(n.store,[r]);s(l,n.store)}n.triggerOnFieldsChange([r].concat(Object(a["a"])(o)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;e&&(n.store=Y(n.store,e)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],i=new De;n.getFieldEntities().forEach((function(e){var t=e.props.dependencies;(t||[]).forEach((function(t){var n=z(t);i.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));var o=function e(n){var o=i.get(n)||new Set;o.forEach((function(n){if(!t.has(n)){t.add(n);var i=n.getNamePath();n.isFieldDirty()&&i.length&&(r.push(i),e(i))}}))};return o(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var i=n.getFields();if(t){var o=new De;t.forEach((function(e){var t=e.name,n=e.errors;o.set(t,n)})),i.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}var a=i.filter((function(t){var n=t.name;return K(e,n)}));r(a,i)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,i=r?e.map(z):[],o=[];n.getFieldEntities(!0).forEach((function(e){if(r||i.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var a=e.getNamePath();if(!r||K(i,a)){var s=e.validateRules(Ne({validateMessages:Ne({},ee,{},n.validateMessages)},t));o.push(s.then((function(){return{name:a,errors:[]}})).catch((function(e){return Promise.reject({name:a,errors:e})})))}}}));var a=ke(o);n.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){var t=e.name;return t}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var s=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(i)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(i),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return s.catch((function(e){return e})),s},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t};function Ie(e){var t=r["useRef"](),n=r["useState"](),i=Object(Oe["a"])(n,2),o=i[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},s=new Le(a);t.current=s.getForm()}return[t.current]}var Te=Ie;function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re=r["createContext"]({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),je=function(e){var t=e.validateMessages,n=e.onFormChange,i=e.onFormFinish,a=e.children,s=r["useContext"](Re),l=r["useRef"]({});return r["createElement"](Re.Provider,{value:Ae({},s,{validateMessages:Ae({},s.validateMessages,{},t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:l.current}),s.triggerFormChange(e,t)},triggerFormFinish:function(e,t){i&&i(e,{values:t,forms:l.current}),s.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=Ae({},l.current,Object(o["a"])({},e,t))),s.registerForm(e,t)},unregisterForm:function(e){var t=Ae({},l.current);delete t[e],l.current=t,s.unregisterForm(e)}})},a)},Fe=Re;function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze=function(e,t){var n=e.name,o=e.initialValues,a=e.fields,s=e.form,l=e.children,u=e.component,c=void 0===u?"form":u,d=e.validateMessages,h=e.validateTrigger,f=void 0===h?"onChange":h,g=e.onValuesChange,m=e.onFieldsChange,y=e.onFinish,b=e.onFinishFailed,_=Object(i["a"])(e,["name","initialValues","fields","form","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"]),w=r["useContext"](Fe),x=Te(s),C=Object(Oe["a"])(x,1),S=C[0],O=S.getInternalHooks(p),k=O.useSubscribe,E=O.setInitialValues,D=O.setCallbacks,M=O.setValidateMessages;r["useImperativeHandle"](t,(function(){return S})),r["useEffect"]((function(){return w.registerForm(n,S),function(){w.unregisterForm(n)}}),[w,S,n]),M(Ve({},w.validateMessages,{},d)),D({onValuesChange:g,onFieldsChange:function(e){if(w.triggerFormChange(n,e),m){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];m.apply(void 0,[e].concat(r))}},onFinish:function(e){w.triggerFormFinish(n,e),y&&y(e)},onFinishFailed:b});var N=r["useRef"](null);E(o,!N.current),N.current||(N.current=!0);var L=l,I="function"===typeof l;if(I){var T=S.getFieldsValue(!0);L=l(T,S)}k(!I);var P=r["useRef"]();r["useEffect"]((function(){Z(P.current||[],a||[])||S.setFields(a||[]),P.current=a}),[a,S]);var A=r["useMemo"]((function(){return Ve({},S,{validateTrigger:f})}),[S,f]),R=r["createElement"](v.Provider,{value:A},L);return!1===c?R:r["createElement"](c,Object.assign({},_,{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),S.submit()}}),R)},We=ze,He=r["forwardRef"](We),Ue=He;Ue.FormProvider=je,Ue.Field=_e,Ue.List=Se,Ue.useForm=Te;t["d"]=Ue},"8ATB":function(e,t,n){},"8EBN":function(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}}))},"8HAY":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return u}));var r=n("pmY6"),i=n("MI8n"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},l=function(e){function t(t,n,r,o,a){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o=!0);var s=e.call(this)||this;return s._onDidChange=s._register(new i["a"]),s.onDidChange=s._onDidChange.event,s._enabled=!0,s._checked=!1,s._id=t,s._label=n,s._cssClass=r,s._enabled=o,s._actionCallback=a,s}return o(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},set:function(e){this._setLabel(e)},enumerable:!0,configurable:!0}),t.prototype._setLabel=function(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))},Object.defineProperty(t.prototype,"tooltip",{get:function(){return this._tooltip||""},set:function(e){this._setTooltip(e)},enumerable:!0,configurable:!0}),t.prototype._setTooltip=function(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))},Object.defineProperty(t.prototype,"class",{get:function(){return this._cssClass},set:function(e){this._setClass(e)},enumerable:!0,configurable:!0}),t.prototype._setClass=function(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))},Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._setEnabled(e)},enumerable:!0,configurable:!0}),t.prototype._setEnabled=function(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._setChecked(e)},enumerable:!0,configurable:!0}),t.prototype._setChecked=function(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))},t.prototype.run=function(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)},t}(r["a"]),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidBeforeRun=t._register(new i["a"]),t.onDidBeforeRun=t._onDidBeforeRun.event,t._onDidRun=t._register(new i["a"]),t.onDidRun=t._onDidRun.event,t}return o(t,e),t.prototype.run=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return s(this,(function(i){switch(i.label){case 0:if(!e.enabled)return[2,Promise.resolve(null)];this._onDidBeforeRun.fire({action:e}),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.runAction(e,t)];case 2:return n=i.sent(),this._onDidRun.fire({action:e,result:n}),[3,4];case 3:return r=i.sent(),this._onDidRun.fire({action:e,error:r}),[3,4];case 4:return[2]}}))}))},t.prototype.runAction=function(e,t){var n=t?e.run(t):e.run();return Promise.resolve(n)},t}(r["a"])},"8HsV":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];this.set(o,a)}}return e.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},e.prototype.has=function(e){return this._entries.has(e)},e.prototype.get=function(e){return this._entries.get(e)},e}()},"8IMR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"};t.default=r},"8ISB":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("6Hfg"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"8OUc":function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=function(e){var t,n=e.className,i=e.customizeIcon,a=e.customizeIconProps,s=e.onMouseDown,l=e.onClick,u=e.children;return t="function"===typeof i?i(a):i,r["createElement"]("span",{className:n,onMouseDown:function(e){e.preventDefault(),s&&s(e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},void 0!==t?t:r["createElement"]("span",{className:o()(n.split(/\s+/).map((function(e){return"".concat(e,"-icon")})))},u))};t["a"]=a},"8SMY":function(e,t,n){var r=n("n4Lv"),i=r.prepareDataCoordInfo,o=r.getStackedOnPoint;function a(e,t){var n=[];return t.diff(e).add((function(e){n.push({cmd:"+",idx:e})})).update((function(e,t){n.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){n.push({cmd:"-",idx:e})})).execute(),n}function s(e,t,n,r,s,l,u,c){for(var d=a(e,t),h=[],f=[],p=[],g=[],m=[],v=[],y=[],b=i(s,t,u),_=i(l,e,c),w=0;w<d.length;w++){var x=d[w],C=!0;switch(x.cmd){case"=":var S=e.getItemLayout(x.idx),O=t.getItemLayout(x.idx1);(isNaN(S[0])||isNaN(S[1]))&&(S=O.slice()),h.push(S),f.push(O),p.push(n[x.idx]),g.push(r[x.idx1]),y.push(t.getRawIndex(x.idx1));break;case"+":var k=x.idx;h.push(s.dataToPoint([t.get(b.dataDimsForPoint[0],k),t.get(b.dataDimsForPoint[1],k)])),f.push(t.getItemLayout(k).slice()),p.push(o(b,s,t,k)),g.push(r[k]),y.push(t.getRawIndex(k));break;case"-":k=x.idx;var E=e.getRawIndex(k);E!==k?(h.push(e.getItemLayout(k)),f.push(l.dataToPoint([e.get(_.dataDimsForPoint[0],k),e.get(_.dataDimsForPoint[1],k)])),p.push(n[k]),g.push(o(_,l,e,k)),y.push(E)):C=!1}C&&(m.push(x),v.push(v.length))}v.sort((function(e,t){return y[e]-y[t]}));var D=[],M=[],N=[],L=[],I=[];for(w=0;w<v.length;w++){k=v[w];D[w]=h[k],M[w]=f[k],N[w]=p[k],L[w]=g[k],I[w]=m[k]}return{current:D,next:M,stackedOnCurrent:N,stackedOnNext:L,status:I}}e.exports=s},"8Skl":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="DownOutlined";t["a"]=r["forwardRef"](s)},"8Th4":function(e,t,n){var r=n("3LNs"),i=n("/y7N"),o=n("7bkD"),a=n("Znkb"),s=["x","y"],l=["width","height"],u=r.extend({makeElOption:function(e,t,n,r,a){var s=n.axis,l=s.coordinateSystem,u=h(l,1-d(s)),f=l.dataToPoint(t)[0],p=r.get("type");if(p&&"none"!==p){var g=i.buildElStyle(r),m=c[p](s,f,u);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=o.layout(n);i.buildCartesianSingleLabelElOption(t,e,v,n,r,a)},getHandleTransform:function(e,t,n){var r=o.layout(t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:i.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,r){var i=n.axis,o=i.coordinateSystem,a=d(i),s=h(o,a),l=e.position;l[a]+=t[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=h(o,1-a),c=(u[1]+u[0])/2,f=[c,c];return f[a]=l[a],{position:l,rotation:e.rotation,cursorPoint:f,tooltipOption:{verticalAlign:"middle"}}}}),c={line:function(e,t,n){var r=i.makeLineShape([t,n[0]],[t,n[1]],d(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),o=n[1]-n[0];return{type:"Rect",shape:i.makeRectShape([t-r/2,n[0]],[r,o],d(e))}}};function d(e){return e.isHorizontal()?0:1}function h(e,t){var n=e.getRect();return[n[s[t]],n[s[t]]+n[l[t]]]}a.registerAxisPointerClass("SingleAxisPointer",u);var f=u;e.exports=f},"8Uz6":function(e,t,n){var r=n("hNWo"),i=n("+TT/"),o=i.mergeLayoutParam,a=i.getLayoutParams,s=r.extend({type:"legend.scroll",setScrollDataIndex:function(e){this.option.scrollDataIndex=e},defaultOption:{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800},init:function(e,t,n,r){var i=a(e);s.superCall(this,"init",e,t,n,r),l(this,e,i)},mergeOption:function(e,t){s.superCall(this,"mergeOption",e,t),l(this,this.option,e)}});function l(e,t,n){var r=e.getOrient(),i=[1,1];i[r.index]=0,o(t,n,{type:"box",ignoreSize:i})}var u=s;e.exports=u},"8X+K":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("4mN7"),a=o.fromPoints,s=n("9wZj"),l=n("FBjb"),u=n("8SMY"),c=n("IwbS"),d=n("4NO4"),h=n("1NG9"),f=h.Polyline,p=h.Polygon,g=n("6Ic6"),m=n("n4Lv"),v=m.prepareDataCoordInfo,y=m.getStackedOnPoint,b=n("sK/D"),_=b.createGridClipPath,w=b.createPolarClipPath;function x(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r[0]!==i[0]||r[1]!==i[1])return}return!0}}function C(e,t){var n=[],r=[],i=[],o=[];return a(e,n,r),a(t,i,o),Math.max(Math.abs(n[0]-i[0]),Math.abs(n[1]-i[1]),Math.abs(r[0]-o[0]),Math.abs(r[1]-o[1]))}function S(e){return"number"===typeof e?e:e?.5:0}function O(e,t,n){if(!n.valueDim)return[];for(var r=[],i=0,o=t.count();i<o;i++)r.push(y(n,e,t,i));return r}function k(e,t,n){for(var r=t.getBaseAxis(),i="x"===r.dim||"radius"===r.dim?0:1,o=[],a=0;a<e.length-1;a++){var s=e[a+1],l=e[a];o.push(l);var u=[];switch(n){case"end":u[i]=s[i],u[1-i]=l[1-i],o.push(u);break;case"middle":var c=(l[i]+s[i])/2,d=[];u[i]=d[i]=c,u[1-i]=l[1-i],d[1-i]=s[1-i],o.push(u),o.push(d);break;default:u[i]=l[i],u[1-i]=s[1-i],o.push(u)}}return e[a]&&o.push(e[a]),o}function E(e,t){var n=e.getVisual("visualMeta");if(n&&n.length&&e.count()&&"cartesian2d"===t.type){for(var r,o,a=n.length-1;a>=0;a--){var s=n[a].dimension,l=e.dimensions[s],u=e.getDimensionInfo(l);if(r=u&&u.coordDim,"x"===r||"y"===r){o=n[a];break}}if(o){var d=t.getAxis(r),h=i.map(o.stops,(function(e){return{coord:d.toGlobalCoord(d.dataToCoord(e.value)),color:e.color}})),f=h.length,p=o.outerColors.slice();f&&h[0].coord>h[f-1].coord&&(h.reverse(),p.reverse());var g=10,m=h[0].coord-g,v=h[f-1].coord+g,y=v-m;if(y<.001)return"transparent";i.each(h,(function(e){e.offset=(e.coord-m)/y})),h.push({offset:f?h[f-1].offset:.5,color:p[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:p[0]||"transparent"});var b=new c.LinearGradient(0,0,0,0,h,!0);return b[r]=m,b[r+"2"]=v,b}}}function D(e,t,n){var r=e.get("showAllSymbol"),o="auto"===r;if(!r||o){var a=n.getAxesByScale("ordinal")[0];if(a&&(!o||!M(a,t))){var s=t.mapDimension(a.dim),l={};return i.each(a.getViewLabels(),(function(e){l[e.tickValue]=1})),function(e){return!l.hasOwnProperty(t.get(s,e))}}}}function M(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*l.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return!1;return!0}function N(e,t,n){if("cartesian2d"===e.type){var r=e.getBaseAxis().isHorizontal(),i=_(e,t,n);if(!n.get("clip",!0)){var o=i.shape,a=Math.max(o.width,o.height);r?(o.y-=a,o.height+=2*a):(o.x-=a,o.width+=2*a)}return i}return w(e,t,n)}var L=g.extend({type:"line",init:function(){var e=new c.Group,t=new s;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},render:function(e,t,n){var r=e.coordinateSystem,o=this.group,a=e.getData(),s=e.getModel("lineStyle"),l=e.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),c="polar"===r.type,d=this._coordSys,h=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,m=e.get("animation"),y=!l.isEmpty(),b=l.get("origin"),_=v(r,a,b),w=O(r,a,_),C=e.get("showSymbol"),M=C&&!c&&D(e,a,r),L=this._data;L&&L.eachItemGraphicEl((function(e,t){e.__temp&&(o.remove(e),L.setItemGraphicEl(t,null))})),C||h.remove(),o.add(g);var I,T=!c&&e.get("step");r&&r.getArea&&e.get("clip",!0)&&(I=r.getArea(),null!=I.width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r1+=.5)),this._clipShapeForSymbol=I,f&&d.type===r.type&&T===this._step?(y&&!p?p=this._newPolygon(u,w,r,m):p&&!y&&(g.remove(p),p=this._polygon=null),g.setClipPath(N(r,!1,e)),C&&h.updateData(a,{isIgnore:M,clipShape:I}),a.eachItemGraphicEl((function(e){e.stopAnimation(!0)})),x(this._stackedOnPoints,w)&&x(this._points,u)||(m?this._updateAnimation(a,w,r,n,T,b):(T&&(u=k(u,r,T),w=k(w,r,T)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:w})))):(C&&h.updateData(a,{isIgnore:M,clipShape:I}),T&&(u=k(u,r,T),w=k(w,r,T)),f=this._newPolyline(u,r,m),y&&(p=this._newPolygon(u,w,r,m)),g.setClipPath(N(r,!0,e)));var P=E(a,r)||a.getVisual("color");f.useStyle(i.defaults(s.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var A=e.get("smooth");if(A=S(e.get("smooth")),f.setShape({smooth:A,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")}),p){var R=a.getCalculationInfo("stackedOnSeries"),j=0;p.useStyle(i.defaults(l.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),R&&(j=S(R.get("smooth"))),p.setShape({smooth:A,stackedOnSmooth:j,smoothMonotone:e.get("smoothMonotone"),connectNulls:e.get("connectNulls")})}this._data=a,this._coordSys=r,this._stackedOnPoints=w,this._points=u,this._step=T,this._valueOrigin=b},dispose:function(){},highlight:function(e,t,n,r){var i=e.getData(),o=d.queryDataIndex(i,r);if(!(o instanceof Array)&&null!=o&&o>=0){var a=i.getItemGraphicEl(o);if(!a){var s=i.getItemLayout(o);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;a=new l(i,o),a.position=s,a.setZ(e.get("zlevel"),e.get("z")),a.ignore=isNaN(s[0])||isNaN(s[1]),a.__temp=!0,i.setItemGraphicEl(o,a),a.stopSymbolAnimation(!0),this.group.add(a)}a.highlight()}else g.prototype.highlight.call(this,e,t,n,r)},downplay:function(e,t,n,r){var i=e.getData(),o=d.queryDataIndex(i,r);if(null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else g.prototype.downplay.call(this,e,t,n,r)},_newPolyline:function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new f({shape:{points:e},silent:!0,z2:10}),this._lineGroup.add(t),this._polyline=t,t},_newPolygon:function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new p({shape:{points:e,stackedOnPoints:t},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(e,t,n,r,i,o){var a=this._polyline,s=this._polygon,l=e.hostModel,d=u(this._data,e,this._stackedOnPoints,t,this._coordSys,n,this._valueOrigin,o),h=d.current,f=d.stackedOnCurrent,p=d.next,g=d.stackedOnNext;if(i&&(h=k(d.current,n,i),f=k(d.stackedOnCurrent,n,i),p=k(d.next,n,i),g=k(d.stackedOnNext,n,i)),C(h,p)>3e3||s&&C(f,g)>3e3)return a.setShape({points:p}),void(s&&s.setShape({points:p,stackedOnPoints:g}));a.shape.__points=d.current,a.shape.points=h,c.updateProps(a,{shape:{points:p}},l),s&&(s.setShape({points:h,stackedOnPoints:f}),c.updateProps(s,{shape:{points:p,stackedOnPoints:g}},l));for(var m=[],v=d.status,y=0;y<v.length;y++){var b=v[y].cmd;if("="===b){var _=e.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}a.animators&&a.animators.length&&a.animators[0].during((function(){for(var e=0;e<m.length;e++){var t=m[e].el;t.attr("position",a.shape.__points[m[e].ptIdx])}}))},remove:function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});e.exports=L},"8XDt":function(e,t,n){n("qH13");var r=n("aX58"),i=r.registerPainter,o=n("6fms");i("vml",o)},"8gvo":function(e,t,n){},"8hn6":function(e,t){var n="#eee",r=function(){return{axisLine:{lineStyle:{color:n}},axisTick:{lineStyle:{color:n}},axisLabel:{textStyle:{color:n}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:n}}}},i=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],o={color:i,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:n},crossStyle:{color:n},label:{color:"#000"}}},legend:{textStyle:{color:n}},textStyle:{color:n},title:{textStyle:{color:n}},toolbox:{iconStyle:{normal:{borderColor:n}}},dataZoom:{textStyle:{color:n}},visualMap:{textStyle:{color:n}},timeline:{lineStyle:{color:n},itemStyle:{normal:{color:i[1]}},label:{normal:{textStyle:{color:n}}},controlStyle:{normal:{color:n,borderColor:n}}},timeAxis:r(),logAxis:r(),valueAxis:r(),categoryAxis:r(),line:{symbol:"circle"},graph:{color:i},gauge:{title:{textStyle:{color:n}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};o.categoryAxis.splitLine.show=!1;var a=o;e.exports=a},"8nMs":function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+rIm"),a=n("Znkb"),s=n("AVZG"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine","minorSplitLine"],f=a.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(e,t,n,a){this.group.removeAll();var l=this._axisGroup;if(this._axisGroup=new i.Group,this.group.add(this._axisGroup),e.get("show")){var u=e.getCoordSysModel(),c=s.layout(u,e),p=new o(e,c);r.each(d,p.add,p),this._axisGroup.add(p.getGroup()),r.each(h,(function(t){e.get(t+".show")&&this["_"+t](e,u)}),this),i.groupTransition(l,this._axisGroup,e),f.superCall(this,"render",e,t,n,a)}},remove:function(){c(this)},_splitLine:function(e,t){var n=e.axis;if(!n.scale.isBlank()){var o=e.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=r.isArray(s)?s:[s];for(var l=t.coordinateSystem.getRect(),u=n.isHorizontal(),c=0,d=n.getTicksCoords({tickModel:o}),h=[],f=[],p=a.getLineStyle(),g=0;g<d.length;g++){var m=n.toGlobalCoord(d[g].coord);u?(h[0]=m,h[1]=l.y,f[0]=m,f[1]=l.y+l.height):(h[0]=l.x,h[1]=m,f[0]=l.x+l.width,f[1]=m);var v=c++%s.length,y=d[g].tickValue;this._axisGroup.add(new i.Line({anid:null!=y?"line_"+d[g].tickValue:null,subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:r.defaults({stroke:s[v]},p),silent:!0}))}}},_minorSplitLine:function(e,t){var n=e.axis,r=e.getModel("minorSplitLine"),o=r.getModel("lineStyle"),a=t.coordinateSystem.getRect(),s=n.isHorizontal(),l=n.getMinorTicksCoords();if(l.length)for(var u=[],c=[],d=o.getLineStyle(),h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++){var p=n.toGlobalCoord(l[h][f].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p),this._axisGroup.add(new i.Line({anid:"minor_line_"+l[h][f].tickValue,subPixelOptimize:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:d,silent:!0}))}},_splitArea:function(e,t){u(this,this._axisGroup,e,t)}});f.extend({type:"xAxis"}),f.extend({type:"yAxis"})},"8nly":function(e,t,n){var r=n("mFDi"),i=n("4mN7"),o=n("QBsz"),a=n("BlVb");function s(e,t,n){if(this.name=e,this.geometries=t,n)n=[n[0],n[1]];else{var r=this.getBoundingRect();n=[r.x+r.width/2,r.y+r.height/2]}this.center=n}s.prototype={constructor:s,properties:null,getBoundingRect:function(){var e=this._rect;if(e)return e;for(var t=Number.MAX_VALUE,n=[t,t],a=[-t,-t],s=[],l=[],u=this.geometries,c=0;c<u.length;c++)if("polygon"===u[c].type){var d=u[c].exterior;i.fromPoints(d,s,l),o.min(n,n,s),o.max(a,a,l)}return 0===c&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new r(n[0],n[1],a[0]-n[0],a[1]-n[1])},contain:function(e){var t=this.getBoundingRect(),n=this.geometries;if(!t.contain(e[0],e[1]))return!1;e:for(var r=0,i=n.length;r<i;r++)if("polygon"===n[r].type){var o=n[r].exterior,s=n[r].interiors;if(a.contain(o,e[0],e[1])){for(var l=0;l<(s?s.length:0);l++)if(a.contain(s[l]))continue e;return!0}}return!1},transformTo:function(e,t,n,i){var a=this.getBoundingRect(),s=a.width/a.height;n?i||(i=n/s):n=s*i;for(var l=new r(e,t,n,i),u=a.calculateTransform(l),c=this.geometries,d=0;d<c.length;d++)if("polygon"===c[d].type){for(var h=c[d].exterior,f=c[d].interiors,p=0;p<h.length;p++)o.applyTransform(h[p],h[p],u);for(var g=0;g<(f?f.length:0);g++)for(p=0;p<f[g].length;p++)o.applyTransform(f[g][p],f[g][p],u)}a=this._rect,a.copy(l),this.center=[a.x+a.width/2,a.y+a.height/2]},cloneShallow:function(e){null==e&&(e=this.name);var t=new s(e,this.geometries,this.center);return t._rect=this._rect,t.transformTo=null,t}};var l=s;e.exports=l},"8ub7":function(e,t,n){"use strict";var r=n("rePB"),i=n("Ff2n"),o=n("q1tI"),a=n("TSYQ"),s=n.n(a),l=n("Qi1f");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=o["forwardRef"]((function(e,t){var n=e.className,r=e.component,a=e.viewBox,u=e.spin,d=e.rotate,h=e.tabIndex,f=e.onClick,p=e.children,g=Object(i["a"])(e,["className","component","viewBox","spin","rotate","tabIndex","onClick","children"]);Object(l["g"])(Boolean(r||p),"Should have `component` prop or `children`."),Object(l["f"])();var m=s()("anticon",n),v=s()({"anticon-spin":!!u}),y=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,b=c(c({},l["e"]),{},{className:v,style:y,viewBox:a});a||delete b.viewBox;var _=function(){return r?o["createElement"](r,Object.assign({},b),p):p?(Object(l["g"])(Boolean(a)||1===o["Children"].count(p)&&o["isValidElement"](p)&&"use"===o["Children"].only(p).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),o["createElement"]("svg",Object.assign({},b,{viewBox:a}),p)):null},w=h;return void 0===w&&f&&(w=-1),o["createElement"]("span",Object.assign({role:"img"},g,{ref:t,tabIndex:w,onClick:f,className:m}),_())}));d.displayName="AntdIcon",t["a"]=d},"8waO":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("iLNv"),a=n("ZWlE");n("hJvP"),n("IXyC"),n("xRUu");var s=5;r.extendComponentView({type:"parallel",render:function(e,t,n){this._model=e,this._api=n,this._handlers||(this._handlers={},i.each(l,(function(e,t){n.getZr().on(t,this._handlers[t]=i.bind(e,this))}),this)),o.createOrUpdate(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},dispose:function(e,t){i.each(this._handlers,(function(e,n){t.getZr().off(n,e)})),this._handlers=null},_throttledDispatchExpand:function(e){this._dispatchExpand(e)},_dispatchExpand:function(e){e&&this._api.dispatchAction(i.extend({type:"parallelAxisExpand"},e))}});var l={mousedown:function(e){u(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(u(this,"click")&&t){var n=[e.offsetX,e.offsetY],r=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(r>s)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!this._mouseDownPoint&&u(this,"mousemove")){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r&&null})}}};function u(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}r.registerPreprocessor(a)},"8x+h":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("K4ya"),s=n("Qxkt"),l=["#ddd"],u=i.extendComponentModel({type:"brush",dependencies:["geo","grid","xAxis","yAxis","parallel","series"],defaultOption:{toolbox:null,brushLink:null,seriesIndex:"all",geoIndex:null,xAxisIndex:null,yAxisIndex:null,brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(120,140,180,0.3)",borderColor:"rgba(120,140,180,0.8)"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},areas:[],brushType:null,brushOption:{},coordInfoList:[],optionUpdated:function(e,t){var n=this.option;!t&&a.replaceVisualOption(n,e,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:l},r.hasOwnProperty("liftZ")||(r.liftZ=5)},setAreas:function(e){e&&(this.areas=o.map(e,(function(e){return c(this.option,e)}),this))},setBrushOption:function(e){this.brushOption=c(this.option,e),this.brushType=this.brushOption.brushType}});function c(e,t){return o.merge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new s(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var d=u;e.exports=d},"8z0m":function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("TSYQ"),a=n.n(o);function s(e,t){var n="cannot "+e.method+" "+e.action+" "+t.status+"'",r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function l(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function u(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var r=e.data[t];Array.isArray(r)?r.forEach((function(e){n.append(t+"[]",e)})):n.append(t,e.data[t])})),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(s(e,t),l(t)):e.onSuccess(l(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return null!==r["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach((function(e){null!==r[e]&&t.setRequestHeader(e,r[e])})),t.send(n),{abort:function(){t.abort()}}}var c=+new Date,d=0;function h(){return"rc-upload-"+c+"-"+ ++d}function f(e,t){return-1!==e.indexOf(t,e.length-t.length)}var p=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",i=e.type||"",o=i.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?f(r.toLowerCase(),t.toLowerCase()):/\/\*$/.test(t)?o===t.replace(/\/.*$/,""):i===t}))}return!0};function g(e,t){var n=e.createReader(),r=[];function i(){n.readEntries((function(e){var n=Array.prototype.slice.apply(e);r=r.concat(n);var o=!n.length;o?t(r):i()}))}i()}var m=function(e,t,n){var r=function e(r,i){i=i||"",r.isFile?r.file((function(e){n(e)&&(r.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):r.isDirectory&&g(r,(function(t){t.forEach((function(t){e(t,""+i+r.name+"/")}))}))};e.forEach((function(e){r(e.webkitGetAsEntry())}))},v=m,y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function O(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var k=function(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e[n]),t}),{})},E=function(e){function t(){var e,n,r,i;C(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=S(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n=r,r.state={uid:h()},r.reqs={},r.onChange=function(e){var t=e.target.files;r.uploadFiles(t),r.reset()},r.onClick=function(){var e=r.fileInput;if(e){var t=r.props.children;t&&"button"===t.type&&(e.parentNode.focus(),e.parentNode.querySelector("button").blur()),e.click()}},r.onKeyDown=function(e){"Enter"===e.key&&r.onClick()},r.onFileDrop=function(e){var t=r.props.multiple;if(e.preventDefault(),"dragover"!==e.type)if(r.props.directory)v(Array.prototype.slice.call(e.dataTransfer.items),r.uploadFiles,(function(e){return p(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return p(e,r.props.accept)}));!1===t&&(n=n.slice(0,1)),r.uploadFiles(n)}},r.uploadFiles=function(e){var t=Array.prototype.slice.call(e);t.map((function(e){return e.uid=h(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},i=n,S(r,i)}return O(t,e),_(t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(e,t){var n=this,r=this.props;if(!r.beforeUpload)return setTimeout((function(){return n.post(e)}),0);var i=r.beforeUpload(e,t);i&&i.then?i.then((function(t){var r=Object.prototype.toString.call(t);return"[object File]"===r||"[object Blob]"===r?n.post(t):n.post(e)}))["catch"]((function(e){console.log(e)})):!1!==i&&setTimeout((function(){return n.post(e)}),0)}},{key:"post",value:function(e){var t=this;if(this._isMounted){var n=this.props,r=n.onStart,i=n.onProgress,o=n.transformFile,a=void 0===o?function(e){return e}:o;new Promise((function(t){var r=n.action;return"function"===typeof r&&(r=r(e)),t(r)})).then((function(o){var s=e.uid,l=n.customRequest||u,c=Promise.resolve(a(e)).then((function(e){var t=n.data;return"function"===typeof t&&(t=t(e)),Promise.all([e,t])}))["catch"]((function(e){console.error(e)}));c.then((function(a){var u=b(a,2),c=u[0],d=u[1],h={action:o,filename:n.name,data:d,file:c,headers:n.headers,withCredentials:n.withCredentials,method:n.method||"post",onProgress:i?function(t){i(t,e)}:null,onSuccess:function(r,i){delete t.reqs[s],n.onSuccess(r,e,i)},onError:function(r,i){delete t.reqs[s],n.onError(r,i,e)}};t.reqs[s]=l(h),r(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:h()})}},{key:"abort",value:function(e){var t=this.reqs;if(e){var n=e;e&&e.uid&&(n=e.uid),t[n]&&t[n].abort&&t[n].abort(),delete t[n]}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort&&t[e].abort(),delete t[e]}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.prefixCls,o=t.className,s=t.disabled,l=t.id,u=t.style,c=t.multiple,d=t.accept,h=t.children,f=t.directory,p=t.openFileDialogOnClick,g=x(t,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick"]),m=a()((e={},w(e,r,!0),w(e,r+"-disabled",s),w(e,o,o),e)),v=s?{}:{onClick:p?this.onClick:function(){},onKeyDown:p?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return i.a.createElement(n,y({},v,{className:m,role:"button",style:u}),i.a.createElement("input",y({},k(g),{id:l,type:"file",ref:this.saveFileInput,onClick:function(e){return e.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:d,directory:f?"directory":null,webkitdirectory:f?"webkitdirectory":null,multiple:c,onChange:this.onChange})),h)}}]),t}(r["Component"]),D=E,M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function T(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function P(){}var A=function(e){function t(){var e,n,r,i;L(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return r=I(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n=r,r.saveUploader=function(e){r.uploader=e},i=n,I(r,i)}return T(t,e),N(t,[{key:"abort",value:function(e){this.uploader.abort(e)}},{key:"render",value:function(){return i.a.createElement(D,M({},this.props,{ref:this.saveUploader}))}}]),t}(r["Component"]);A.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:P,onError:P,onSuccess:P,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var R=A,j=R,F=n("MFj2"),B=n("gZBC"),V=n.n(B),z=n("+d4F"),W=n.n(z),H=n("XAae"),U=n.n(H),K=n("6xvX"),G=n.n(K),q=n("qPY4"),Y=n.n(q),X=n("QB+1"),Z=n.n(X),Q=n("Qs3X"),$=n.n(Q),J=n("0n0R");function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ee.apply(this,arguments)}function te(){return!0}function ne(e){return ee(ee({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function re(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}function ie(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}var oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},ae=function(e){return 0===e.indexOf("image/")},se=function(e){if(e.type)return ae(e.type);var t=e.thumbUrl||e.url,n=oe(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n},le=200;function ue(e){return new Promise((function(t){if(e.type&&ae(e.type)){var n=document.createElement("canvas");n.width=le,n.height=le,n.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(le,"px; height: ").concat(le,"px; z-index: 9999; display: none;"),document.body.appendChild(n);var r=n.getContext("2d"),i=new Image;i.onload=function(){var e=i.width,o=i.height,a=le,s=le,l=0,u=0;e<o?(s=o*(le/e),u=-(s-a)/2):(a=e*(le/o),l=-(a-s)/2),r.drawImage(i,l,u,a,s);var c=n.toDataURL();document.body.removeChild(n),t(c)},i.src=window.URL.createObjectURL(e)}else t("")}))}var ce=n("3S7+"),de=n("CFYs"),he=n("H84U"),fe=n("2/Rp");function pe(e){return pe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pe(e)}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function be(e,t,n){return t&&ye(e.prototype,t),n&&ye(e,n),e}function _e(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&we(e,t)}function we(e,t){return we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},we(e,t)}function xe(e){var t=Oe();return function(){var n,r=ke(e);if(t){var i=ke(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ce(this,n)}}function Ce(e,t){return!t||"object"!==pe(t)&&"function"!==typeof t?Se(e):t}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}var Ee=function(e){_e(n,e);var t=xe(n);function n(){var e;return ve(this,n),e=t.apply(this,arguments),e.handlePreview=function(t,n){var r=e.props.onPreview;if(r)return n.preventDefault(),r(t)},e.handleDownload=function(t){var n=e.props.onDownload;"function"===typeof n?n(t):t.url&&window.open(t.url)},e.handleClose=function(t){var n=e.props.onRemove;n&&n(t)},e.handleIconRender=function(t){var n=e.props,i=n.listType,o=n.locale,a=n.iconRender,s=n.isImageUrl;if(a)return a(t,i);var l="uploading"===t.status,u=s&&s(t)?r["createElement"](U.a,null):r["createElement"](G.a,null),c=l?r["createElement"](V.a,null):r["createElement"](W.a,null);return"picture"===i?c=l?r["createElement"](V.a,null):u:"picture-card"===i&&(c=l?o.uploading:u),c},e.handleActionIconRender=function(e,t,n,i){var o={type:"text",size:"small",title:i,onClick:function(n){t(),Object(J["b"])(e)&&e.props.onClick&&e.props.onClick(n)},className:"".concat(n,"-list-item-card-actions-btn")};if(Object(J["b"])(e)){var a=Object(J["a"])(e,me(me({},e.props),{onClick:function(){}}));return r["createElement"](fe["a"],me({},o,{icon:a}))}return r["createElement"](fe["a"],o,r["createElement"]("span",null,e))},e.renderUploadList=function(t){var n,i=t.getPrefixCls,o=t.direction,s=e.props,l=s.prefixCls,u=s.items,c=void 0===u?[]:u,d=s.listType,h=s.showPreviewIcon,f=s.showRemoveIcon,p=s.showDownloadIcon,g=s.removeIcon,m=s.downloadIcon,v=s.locale,y=s.progress,b=s.isImageUrl,_=i("upload",l),w=c.map((function(t){var n,i,o,s=e.handleIconRender(t),l=r["createElement"]("div",{className:"".concat(_,"-text-icon")},s);if("picture"===d||"picture-card"===d)if("uploading"===t.status||!t.thumbUrl&&!t.url){var u,c=a()((u={},ge(u,"".concat(_,"-list-item-thumbnail"),!0),ge(u,"".concat(_,"-list-item-file"),"uploading"!==t.status),u));l=r["createElement"]("div",{className:c},s)}else{var w,x=b&&b(t)?r["createElement"]("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(_,"-list-item-image")}):s,C=a()((w={},ge(w,"".concat(_,"-list-item-thumbnail"),!0),ge(w,"".concat(_,"-list-item-file"),b&&!b(t)),w));l=r["createElement"]("a",{className:C,onClick:function(n){return e.handlePreview(t,n)},href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer"},x)}if("uploading"===t.status){var S="percent"in t?r["createElement"](de["a"],me({},y,{type:"line",percent:t.percent})):null;o=r["createElement"]("div",{className:"".concat(_,"-list-item-progress"),key:"progress"},S)}var O,k=a()((n={},ge(n,"".concat(_,"-list-item"),!0),ge(n,"".concat(_,"-list-item-").concat(t.status),!0),ge(n,"".concat(_,"-list-item-list-type-").concat(d),!0),n)),E="string"===typeof t.linkProps?JSON.parse(t.linkProps):t.linkProps,D=f?e.handleActionIconRender(g||r["createElement"](Z.a,null),(function(){return e.handleClose(t)}),_,v.removeFile):null,M=p&&"done"===t.status?e.handleActionIconRender(m||r["createElement"]($.a,null),(function(){return e.handleDownload(t)}),_,v.downloadFile):null,N="picture-card"!==d&&r["createElement"]("span",{key:"download-delete",className:"".concat(_,"-list-item-card-actions ").concat("picture"===d?"picture":"")},M,D),L=a()((i={},ge(i,"".concat(_,"-list-item-name"),!0),ge(i,"".concat(_,"-list-item-name-icon-count-").concat([M,D].filter((function(e){return e})).length),!0),i)),I=t.url?[r["createElement"]("a",me({key:"view",target:"_blank",rel:"noopener noreferrer",className:L,title:t.name},E,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),N]:[r["createElement"]("span",{key:"view",className:L,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),N],T={pointerEvents:"none",opacity:.5},P=h?r["createElement"]("a",{href:t.url||t.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:t.url||t.thumbUrl?void 0:T,onClick:function(n){return e.handlePreview(t,n)},title:v.previewFile},r["createElement"](Y.a,null)):null,A="picture-card"===d&&"uploading"!==t.status&&r["createElement"]("span",{className:"".concat(_,"-list-item-actions")},P,"done"===t.status&&M,D);O=t.response&&"string"===typeof t.response?t.response:t.error&&t.error.statusText||v.uploadError;var R=r["createElement"]("span",null,l,I),j=r["createElement"]("div",{className:k},r["createElement"]("div",{className:"".concat(_,"-list-item-info")},R),A,r["createElement"](F["a"],{transitionName:"fade",component:""},o)),B=a()(ge({},"".concat(_,"-list-picture-card-container"),"picture-card"===d));return r["createElement"]("div",{key:t.uid,className:B},"error"===t.status?r["createElement"](ce["a"],{title:O,getPopupContainer:function(e){return e.parentNode}},j):r["createElement"]("span",null,j))})),x=a()((n={},ge(n,"".concat(_,"-list"),!0),ge(n,"".concat(_,"-list-").concat(d),!0),ge(n,"".concat(_,"-list-rtl"),"rtl"===o),n)),C="picture-card"===d?"animate-inline":"animate";return r["createElement"](F["a"],{transitionName:"".concat(_,"-").concat(C),component:"div",className:x},w)},e}return be(n,[{key:"componentDidUpdate",value:function(){var e=this,t=this.props,n=t.listType,r=t.items,i=t.previewFile;"picture"!==n&&"picture-card"!==n||(r||[]).forEach((function(t){"undefined"!==typeof document&&"undefined"!==typeof window&&window.FileReader&&window.File&&(t.originFileObj instanceof File||t.originFileObj instanceof Blob)&&void 0===t.thumbUrl&&(t.thumbUrl="",i&&i(t.originFileObj).then((function(n){t.thumbUrl=n||"",e.forceUpdate()})))}))}},{key:"render",value:function(){return r["createElement"](he["a"],null,this.renderUploadList)}}]),n}(r["Component"]);Ee.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:ue,isImageUrl:se};var De=n("YMnH"),Me=n("ZvpZ"),Ne=n("uaoM");function Le(e){return Le="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Le(e)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(e){return je(e)||Re(e)||Ae(e)||Pe()}function Pe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ae(e,t){if(e){if("string"===typeof e)return Fe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fe(e,t):void 0}}function Re(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function je(e){if(Array.isArray(e))return Fe(e)}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Be.apply(this,arguments)}function Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ze(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function We(e,t,n){return t&&ze(e.prototype,t),n&&ze(e,n),e}function He(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ue(e,t)}function Ue(e,t){return Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ue(e,t)}function Ke(e){var t=Ye();return function(){var n,r=Xe(e);if(t){var i=Xe(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ge(this,n)}}function Ge(e,t){return!t||"object"!==Le(t)&&"function"!==typeof t?qe(e):t}function qe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ye(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}var Ze=function(e){He(n,e);var t=Ke(n);function n(e){var i;return Ve(this,n),i=t.call(this,e),i.saveUpload=function(e){i.upload=e},i.onStart=function(e){var t=i.state.fileList,n=ne(e);n.status="uploading";var r=t.concat(),o=r.findIndex((function(e){var t=e.uid;return t===n.uid}));-1===o?r.push(n):r[o]=n,i.onChange({file:n,fileList:r})},i.onSuccess=function(e,t,n){i.clearProgressTimer();try{"string"===typeof e&&(e=JSON.parse(e))}catch(a){}var r=i.state.fileList,o=re(t,r);o&&(o.status="done",o.response=e,o.xhr=n,i.onChange({file:Be({},o),fileList:r}))},i.onProgress=function(e,t){var n=i.state.fileList,r=re(t,n);r&&(r.percent=e.percent,i.onChange({event:e,file:Be({},r),fileList:n}))},i.onError=function(e,t,n){i.clearProgressTimer();var r=i.state.fileList,o=re(n,r);o&&(o.error=e,o.response=t,o.status="error",i.onChange({file:Be({},o),fileList:r}))},i.handleRemove=function(e){var t=i.props.onRemove,n=i.state.fileList;Promise.resolve("function"===typeof t?t(e):t).then((function(t){if(!1!==t){var r=ie(e,n);r&&(e.status="removed",i.upload&&i.upload.abort(e),i.onChange({file:e,fileList:r}))}}))},i.onChange=function(e){"fileList"in i.props||i.setState({fileList:e.fileList});var t=i.props.onChange;t&&t(Be(Be({},e),{fileList:Te(e.fileList)}))},i.onFileDrop=function(e){i.setState({dragState:e.type})},i.beforeUpload=function(e,t){var n=i.props.beforeUpload,r=i.state.fileList;if(!n)return!0;var o=n(e,t);if(!1===o){var a=[];return r.concat(t.map(ne)).forEach((function(e){a.every((function(t){return t.uid!==e.uid}))&&a.push(e)})),i.onChange({file:e,fileList:a}),!1}return!o||!o.then||o},i.renderUploadList=function(e){var t=i.props,n=t.showUploadList,o=t.listType,a=t.onPreview,s=t.onDownload,l=t.previewFile,u=t.disabled,c=t.locale,d=t.iconRender,h=t.isImageUrl,f=t.progress,p=n.showRemoveIcon,g=n.showPreviewIcon,m=n.showDownloadIcon,v=n.removeIcon,y=n.downloadIcon,b=i.state.fileList;return r["createElement"](Ee,{listType:o,items:b,previewFile:l,onPreview:a,onDownload:s,onRemove:i.handleRemove,showRemoveIcon:!u&&p,showPreviewIcon:g,showDownloadIcon:m,removeIcon:v,downloadIcon:y,iconRender:d,locale:Be(Be({},e),c),isImageUrl:h,progress:f})},i.renderUpload=function(e){var t,n=e.getPrefixCls,o=e.direction,s=i.props,l=s.prefixCls,u=s.className,c=s.showUploadList,d=s.listType,h=s.type,f=s.disabled,p=s.children,g=s.style,m=i.state,v=m.fileList,y=m.dragState,b=n("upload",l),_=Be(Be({onStart:i.onStart,onError:i.onError,onProgress:i.onProgress,onSuccess:i.onSuccess},i.props),{prefixCls:b,beforeUpload:i.beforeUpload});delete _.className,delete _.style,p&&!f||delete _.id;var w=c?r["createElement"](De["a"],{componentName:"Upload",defaultLocale:Me["a"].Upload},i.renderUploadList):null;if("drag"===h){var x,C=a()(b,(x={},Ie(x,"".concat(b,"-drag"),!0),Ie(x,"".concat(b,"-drag-uploading"),v.some((function(e){return"uploading"===e.status}))),Ie(x,"".concat(b,"-drag-hover"),"dragover"===y),Ie(x,"".concat(b,"-disabled"),f),Ie(x,"".concat(b,"-rtl"),"rtl"===o),x),u);return r["createElement"]("span",null,r["createElement"]("div",{className:C,onDrop:i.onFileDrop,onDragOver:i.onFileDrop,onDragLeave:i.onFileDrop,style:g},r["createElement"](j,Be({},_,{ref:i.saveUpload,className:"".concat(b,"-btn")}),r["createElement"]("div",{className:"".concat(b,"-drag-container")},p))),w)}var S=a()(b,(t={},Ie(t,"".concat(b,"-select"),!0),Ie(t,"".concat(b,"-select-").concat(d),!0),Ie(t,"".concat(b,"-disabled"),f),Ie(t,"".concat(b,"-rtl"),"rtl"===o),t)),O=r["createElement"]("div",{className:S,style:p?void 0:{display:"none"}},r["createElement"](j,Be({},_,{ref:i.saveUpload})));return"picture-card"===d?r["createElement"]("span",{className:a()(u,"".concat(b,"-picture-card-wrapper"))},w,O):r["createElement"]("span",{className:u},O,w)},i.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ne["a"])("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?"),i}return We(n,[{key:"componentWillUnmount",value:function(){this.clearProgressTimer()}},{key:"clearProgressTimer",value:function(){clearInterval(this.progressTimer)}},{key:"render",value:function(){return r["createElement"](he["a"],null,this.renderUpload)}}],[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}]),n}(r["Component"]);Ze.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:te,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Qe=Ze;function $e(e){return $e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$e(e)}function Je(){return Je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Je.apply(this,arguments)}function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nt(e,t,n){return t&&tt(e.prototype,t),n&&tt(e,n),e}function rt(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&it(e,t)}function it(e,t){return it=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},it(e,t)}function ot(e){var t=lt();return function(){var n,r=ut(e);if(t){var i=ut(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return at(this,n)}}function at(e,t){return!t||"object"!==$e(t)&&"function"!==typeof t?st(e):t}function st(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(e)}var ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},dt=function(e){rt(n,e);var t=ot(n);function n(){return et(this,n),t.apply(this,arguments)}return nt(n,[{key:"render",value:function(){var e=this.props,t=e.style,n=e.height,i=ct(e,["style","height"]);return r["createElement"](Qe,Je({},i,{type:"drag",style:Je(Je({},t),{height:n})}))}}]),n}(r["Component"]);Qe.Dragger=dt;t["a"]=Qe},"8z58":function(e,t,n){"use strict";n.r(t),n.d(t,"CancellationTokenSource",(function(){return gu})),n.d(t,"Emitter",(function(){return mu})),n.d(t,"KeyCode",(function(){return vu})),n.d(t,"KeyMod",(function(){return yu})),n.d(t,"Position",(function(){return bu})),n.d(t,"Range",(function(){return _u})),n.d(t,"Selection",(function(){return wu})),n.d(t,"SelectionDirection",(function(){return xu})),n.d(t,"MarkerSeverity",(function(){return Cu})),n.d(t,"MarkerTag",(function(){return Su})),n.d(t,"Uri",(function(){return Ou})),n.d(t,"Token",(function(){return ku})),n.d(t,"editor",(function(){return Eu})),n.d(t,"languages",(function(){return Du}));var r,i,o,a,s,l,u,c,d,h,f,p,g,m,v,y,b,_,w,x,C,S,O,k,E,D,M,N,L,I,T,P,A,R=n("/UlZ"),j=(n("URDS"),n("JQT/")),F=n("MI8n"),B=n("/kV6"),V=n("bY76"),z=n("cGHE"),W=n("aokT"),H=n("gCVg"),U=n("Tcc1");(function(e){e[e["Unknown"]=0]="Unknown",e[e["Disabled"]=1]="Disabled",e[e["Enabled"]=2]="Enabled"})(r||(r={})),function(e){e[e["KeepWhitespace"]=1]="KeepWhitespace",e[e["InsertAsSnippet"]=4]="InsertAsSnippet"}(i||(i={})),function(e){e[e["Method"]=0]="Method",e[e["Function"]=1]="Function",e[e["Constructor"]=2]="Constructor",e[e["Field"]=3]="Field",e[e["Variable"]=4]="Variable",e[e["Class"]=5]="Class",e[e["Struct"]=6]="Struct",e[e["Interface"]=7]="Interface",e[e["Module"]=8]="Module",e[e["Property"]=9]="Property",e[e["Event"]=10]="Event",e[e["Operator"]=11]="Operator",e[e["Unit"]=12]="Unit",e[e["Value"]=13]="Value",e[e["Constant"]=14]="Constant",e[e["Enum"]=15]="Enum",e[e["EnumMember"]=16]="EnumMember",e[e["Keyword"]=17]="Keyword",e[e["Text"]=18]="Text",e[e["Color"]=19]="Color",e[e["File"]=20]="File",e[e["Reference"]=21]="Reference",e[e["Customcolor"]=22]="Customcolor",e[e["Folder"]=23]="Folder",e[e["TypeParameter"]=24]="TypeParameter",e[e["Snippet"]=25]="Snippet"}(o||(o={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(a||(a={})),function(e){e[e["Invoke"]=0]="Invoke",e[e["TriggerCharacter"]=1]="TriggerCharacter",e[e["TriggerForIncompleteCompletions"]=2]="TriggerForIncompleteCompletions"}(s||(s={})),function(e){e[e["EXACT"]=0]="EXACT",e[e["ABOVE"]=1]="ABOVE",e[e["BELOW"]=2]="BELOW"}(l||(l={})),function(e){e[e["NotSet"]=0]="NotSet",e[e["ContentFlush"]=1]="ContentFlush",e[e["RecoverFromMarkers"]=2]="RecoverFromMarkers",e[e["Explicit"]=3]="Explicit",e[e["Paste"]=4]="Paste",e[e["Undo"]=5]="Undo",e[e["Redo"]=6]="Redo"}(u||(u={})),function(e){e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(c||(c={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(d||(d={})),function(e){e[e["None"]=0]="None",e[e["Keep"]=1]="Keep",e[e["Brackets"]=2]="Brackets",e[e["Advanced"]=3]="Advanced",e[e["Full"]=4]="Full"}(h||(h={})),function(e){e[e["acceptSuggestionOnCommitCharacter"]=0]="acceptSuggestionOnCommitCharacter",e[e["acceptSuggestionOnEnter"]=1]="acceptSuggestionOnEnter",e[e["accessibilitySupport"]=2]="accessibilitySupport",e[e["accessibilityPageSize"]=3]="accessibilityPageSize",e[e["ariaLabel"]=4]="ariaLabel",e[e["autoClosingBrackets"]=5]="autoClosingBrackets",e[e["autoClosingOvertype"]=6]="autoClosingOvertype",e[e["autoClosingQuotes"]=7]="autoClosingQuotes",e[e["autoIndent"]=8]="autoIndent",e[e["automaticLayout"]=9]="automaticLayout",e[e["autoSurround"]=10]="autoSurround",e[e["codeLens"]=11]="codeLens",e[e["colorDecorators"]=12]="colorDecorators",e[e["comments"]=13]="comments",e[e["contextmenu"]=14]="contextmenu",e[e["copyWithSyntaxHighlighting"]=15]="copyWithSyntaxHighlighting",e[e["cursorBlinking"]=16]="cursorBlinking",e[e["cursorSmoothCaretAnimation"]=17]="cursorSmoothCaretAnimation",e[e["cursorStyle"]=18]="cursorStyle",e[e["cursorSurroundingLines"]=19]="cursorSurroundingLines",e[e["cursorSurroundingLinesStyle"]=20]="cursorSurroundingLinesStyle",e[e["cursorWidth"]=21]="cursorWidth",e[e["disableLayerHinting"]=22]="disableLayerHinting",e[e["disableMonospaceOptimizations"]=23]="disableMonospaceOptimizations",e[e["dragAndDrop"]=24]="dragAndDrop",e[e["emptySelectionClipboard"]=25]="emptySelectionClipboard",e[e["extraEditorClassName"]=26]="extraEditorClassName",e[e["fastScrollSensitivity"]=27]="fastScrollSensitivity",e[e["find"]=28]="find",e[e["fixedOverflowWidgets"]=29]="fixedOverflowWidgets",e[e["folding"]=30]="folding",e[e["foldingStrategy"]=31]="foldingStrategy",e[e["foldingHighlight"]=32]="foldingHighlight",e[e["fontFamily"]=33]="fontFamily",e[e["fontInfo"]=34]="fontInfo",e[e["fontLigatures"]=35]="fontLigatures",e[e["fontSize"]=36]="fontSize",e[e["fontWeight"]=37]="fontWeight",e[e["formatOnPaste"]=38]="formatOnPaste",e[e["formatOnType"]=39]="formatOnType",e[e["glyphMargin"]=40]="glyphMargin",e[e["gotoLocation"]=41]="gotoLocation",e[e["hideCursorInOverviewRuler"]=42]="hideCursorInOverviewRuler",e[e["highlightActiveIndentGuide"]=43]="highlightActiveIndentGuide",e[e["hover"]=44]="hover",e[e["inDiffEditor"]=45]="inDiffEditor",e[e["letterSpacing"]=46]="letterSpacing",e[e["lightbulb"]=47]="lightbulb",e[e["lineDecorationsWidth"]=48]="lineDecorationsWidth",e[e["lineHeight"]=49]="lineHeight",e[e["lineNumbers"]=50]="lineNumbers",e[e["lineNumbersMinChars"]=51]="lineNumbersMinChars",e[e["links"]=52]="links",e[e["matchBrackets"]=53]="matchBrackets",e[e["minimap"]=54]="minimap",e[e["mouseStyle"]=55]="mouseStyle",e[e["mouseWheelScrollSensitivity"]=56]="mouseWheelScrollSensitivity",e[e["mouseWheelZoom"]=57]="mouseWheelZoom",e[e["multiCursorMergeOverlapping"]=58]="multiCursorMergeOverlapping",e[e["multiCursorModifier"]=59]="multiCursorModifier",e[e["multiCursorPaste"]=60]="multiCursorPaste",e[e["occurrencesHighlight"]=61]="occurrencesHighlight",e[e["overviewRulerBorder"]=62]="overviewRulerBorder",e[e["overviewRulerLanes"]=63]="overviewRulerLanes",e[e["parameterHints"]=64]="parameterHints",e[e["peekWidgetDefaultFocus"]=65]="peekWidgetDefaultFocus",e[e["quickSuggestions"]=66]="quickSuggestions",e[e["quickSuggestionsDelay"]=67]="quickSuggestionsDelay",e[e["readOnly"]=68]="readOnly",e[e["renderControlCharacters"]=69]="renderControlCharacters",e[e["renderIndentGuides"]=70]="renderIndentGuides",e[e["renderFinalNewline"]=71]="renderFinalNewline",e[e["renderLineHighlight"]=72]="renderLineHighlight",e[e["renderValidationDecorations"]=73]="renderValidationDecorations",e[e["renderWhitespace"]=74]="renderWhitespace",e[e["revealHorizontalRightPadding"]=75]="revealHorizontalRightPadding",e[e["roundedSelection"]=76]="roundedSelection",e[e["rulers"]=77]="rulers",e[e["scrollbar"]=78]="scrollbar",e[e["scrollBeyondLastColumn"]=79]="scrollBeyondLastColumn",e[e["scrollBeyondLastLine"]=80]="scrollBeyondLastLine",e[e["selectionClipboard"]=81]="selectionClipboard",e[e["selectionHighlight"]=82]="selectionHighlight",e[e["selectOnLineNumbers"]=83]="selectOnLineNumbers",e[e["showFoldingControls"]=84]="showFoldingControls",e[e["showUnused"]=85]="showUnused",e[e["snippetSuggestions"]=86]="snippetSuggestions",e[e["smoothScrolling"]=87]="smoothScrolling",e[e["stopRenderingLineAfter"]=88]="stopRenderingLineAfter",e[e["suggest"]=89]="suggest",e[e["suggestFontSize"]=90]="suggestFontSize",e[e["suggestLineHeight"]=91]="suggestLineHeight",e[e["suggestOnTriggerCharacters"]=92]="suggestOnTriggerCharacters",e[e["suggestSelection"]=93]="suggestSelection",e[e["tabCompletion"]=94]="tabCompletion",e[e["useTabStops"]=95]="useTabStops",e[e["wordSeparators"]=96]="wordSeparators",e[e["wordWrap"]=97]="wordWrap",e[e["wordWrapBreakAfterCharacters"]=98]="wordWrapBreakAfterCharacters",e[e["wordWrapBreakBeforeCharacters"]=99]="wordWrapBreakBeforeCharacters",e[e["wordWrapColumn"]=100]="wordWrapColumn",e[e["wordWrapMinified"]=101]="wordWrapMinified",e[e["wrappingIndent"]=102]="wrappingIndent",e[e["wrappingStrategy"]=103]="wrappingStrategy",e[e["editorClassName"]=104]="editorClassName",e[e["pixelRatio"]=105]="pixelRatio",e[e["tabFocusMode"]=106]="tabFocusMode",e[e["layoutInfo"]=107]="layoutInfo",e[e["wrappingInfo"]=108]="wrappingInfo"}(f||(f={})),function(e){e[e["TextDefined"]=0]="TextDefined",e[e["LF"]=1]="LF",e[e["CRLF"]=2]="CRLF"}(p||(p={})),function(e){e[e["LF"]=0]="LF",e[e["CRLF"]=1]="CRLF"}(g||(g={})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(m||(m={})),function(e){e[e["Unknown"]=0]="Unknown",e[e["Backspace"]=1]="Backspace",e[e["Tab"]=2]="Tab",e[e["Enter"]=3]="Enter",e[e["Shift"]=4]="Shift",e[e["Ctrl"]=5]="Ctrl",e[e["Alt"]=6]="Alt",e[e["PauseBreak"]=7]="PauseBreak",e[e["CapsLock"]=8]="CapsLock",e[e["Escape"]=9]="Escape",e[e["Space"]=10]="Space",e[e["PageUp"]=11]="PageUp",e[e["PageDown"]=12]="PageDown",e[e["End"]=13]="End",e[e["Home"]=14]="Home",e[e["LeftArrow"]=15]="LeftArrow",e[e["UpArrow"]=16]="UpArrow",e[e["RightArrow"]=17]="RightArrow",e[e["DownArrow"]=18]="DownArrow",e[e["Insert"]=19]="Insert",e[e["Delete"]=20]="Delete",e[e["KEY_0"]=21]="KEY_0",e[e["KEY_1"]=22]="KEY_1",e[e["KEY_2"]=23]="KEY_2",e[e["KEY_3"]=24]="KEY_3",e[e["KEY_4"]=25]="KEY_4",e[e["KEY_5"]=26]="KEY_5",e[e["KEY_6"]=27]="KEY_6",e[e["KEY_7"]=28]="KEY_7",e[e["KEY_8"]=29]="KEY_8",e[e["KEY_9"]=30]="KEY_9",e[e["KEY_A"]=31]="KEY_A",e[e["KEY_B"]=32]="KEY_B",e[e["KEY_C"]=33]="KEY_C",e[e["KEY_D"]=34]="KEY_D",e[e["KEY_E"]=35]="KEY_E",e[e["KEY_F"]=36]="KEY_F",e[e["KEY_G"]=37]="KEY_G",e[e["KEY_H"]=38]="KEY_H",e[e["KEY_I"]=39]="KEY_I",e[e["KEY_J"]=40]="KEY_J",e[e["KEY_K"]=41]="KEY_K",e[e["KEY_L"]=42]="KEY_L",e[e["KEY_M"]=43]="KEY_M",e[e["KEY_N"]=44]="KEY_N",e[e["KEY_O"]=45]="KEY_O",e[e["KEY_P"]=46]="KEY_P",e[e["KEY_Q"]=47]="KEY_Q",e[e["KEY_R"]=48]="KEY_R",e[e["KEY_S"]=49]="KEY_S",e[e["KEY_T"]=50]="KEY_T",e[e["KEY_U"]=51]="KEY_U",e[e["KEY_V"]=52]="KEY_V",e[e["KEY_W"]=53]="KEY_W",e[e["KEY_X"]=54]="KEY_X",e[e["KEY_Y"]=55]="KEY_Y",e[e["KEY_Z"]=56]="KEY_Z",e[e["Meta"]=57]="Meta",e[e["ContextMenu"]=58]="ContextMenu",e[e["F1"]=59]="F1",e[e["F2"]=60]="F2",e[e["F3"]=61]="F3",e[e["F4"]=62]="F4",e[e["F5"]=63]="F5",e[e["F6"]=64]="F6",e[e["F7"]=65]="F7",e[e["F8"]=66]="F8",e[e["F9"]=67]="F9",e[e["F10"]=68]="F10",e[e["F11"]=69]="F11",e[e["F12"]=70]="F12",e[e["F13"]=71]="F13",e[e["F14"]=72]="F14",e[e["F15"]=73]="F15",e[e["F16"]=74]="F16",e[e["F17"]=75]="F17",e[e["F18"]=76]="F18",e[e["F19"]=77]="F19",e[e["NumLock"]=78]="NumLock",e[e["ScrollLock"]=79]="ScrollLock",e[e["US_SEMICOLON"]=80]="US_SEMICOLON",e[e["US_EQUAL"]=81]="US_EQUAL",e[e["US_COMMA"]=82]="US_COMMA",e[e["US_MINUS"]=83]="US_MINUS",e[e["US_DOT"]=84]="US_DOT",e[e["US_SLASH"]=85]="US_SLASH",e[e["US_BACKTICK"]=86]="US_BACKTICK",e[e["US_OPEN_SQUARE_BRACKET"]=87]="US_OPEN_SQUARE_BRACKET",e[e["US_BACKSLASH"]=88]="US_BACKSLASH",e[e["US_CLOSE_SQUARE_BRACKET"]=89]="US_CLOSE_SQUARE_BRACKET",e[e["US_QUOTE"]=90]="US_QUOTE",e[e["OEM_8"]=91]="OEM_8",e[e["OEM_102"]=92]="OEM_102",e[e["NUMPAD_0"]=93]="NUMPAD_0",e[e["NUMPAD_1"]=94]="NUMPAD_1",e[e["NUMPAD_2"]=95]="NUMPAD_2",e[e["NUMPAD_3"]=96]="NUMPAD_3",e[e["NUMPAD_4"]=97]="NUMPAD_4",e[e["NUMPAD_5"]=98]="NUMPAD_5",e[e["NUMPAD_6"]=99]="NUMPAD_6",e[e["NUMPAD_7"]=100]="NUMPAD_7",e[e["NUMPAD_8"]=101]="NUMPAD_8",e[e["NUMPAD_9"]=102]="NUMPAD_9",e[e["NUMPAD_MULTIPLY"]=103]="NUMPAD_MULTIPLY",e[e["NUMPAD_ADD"]=104]="NUMPAD_ADD",e[e["NUMPAD_SEPARATOR"]=105]="NUMPAD_SEPARATOR",e[e["NUMPAD_SUBTRACT"]=106]="NUMPAD_SUBTRACT",e[e["NUMPAD_DECIMAL"]=107]="NUMPAD_DECIMAL",e[e["NUMPAD_DIVIDE"]=108]="NUMPAD_DIVIDE",e[e["KEY_IN_COMPOSITION"]=109]="KEY_IN_COMPOSITION",e[e["ABNT_C1"]=110]="ABNT_C1",e[e["ABNT_C2"]=111]="ABNT_C2",e[e["MAX_VALUE"]=112]="MAX_VALUE"}(v||(v={})),function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"}(y||(y={})),function(e){e[e["Unnecessary"]=1]="Unnecessary",e[e["Deprecated"]=2]="Deprecated"}(b||(b={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(_||(_={})),function(e){e[e["UNKNOWN"]=0]="UNKNOWN",e[e["TEXTAREA"]=1]="TEXTAREA",e[e["GUTTER_GLYPH_MARGIN"]=2]="GUTTER_GLYPH_MARGIN",e[e["GUTTER_LINE_NUMBERS"]=3]="GUTTER_LINE_NUMBERS",e[e["GUTTER_LINE_DECORATIONS"]=4]="GUTTER_LINE_DECORATIONS",e[e["GUTTER_VIEW_ZONE"]=5]="GUTTER_VIEW_ZONE",e[e["CONTENT_TEXT"]=6]="CONTENT_TEXT",e[e["CONTENT_EMPTY"]=7]="CONTENT_EMPTY",e[e["CONTENT_VIEW_ZONE"]=8]="CONTENT_VIEW_ZONE",e[e["CONTENT_WIDGET"]=9]="CONTENT_WIDGET",e[e["OVERVIEW_RULER"]=10]="OVERVIEW_RULER",e[e["SCROLLBAR"]=11]="SCROLLBAR",e[e["OVERLAY_WIDGET"]=12]="OVERLAY_WIDGET",e[e["OUTSIDE_EDITOR"]=13]="OUTSIDE_EDITOR"}(w||(w={})),function(e){e[e["TOP_RIGHT_CORNER"]=0]="TOP_RIGHT_CORNER",e[e["BOTTOM_RIGHT_CORNER"]=1]="BOTTOM_RIGHT_CORNER",e[e["TOP_CENTER"]=2]="TOP_CENTER"}(x||(x={})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(C||(C={})),function(e){e[e["Off"]=0]="Off",e[e["On"]=1]="On",e[e["Relative"]=2]="Relative",e[e["Interval"]=3]="Interval",e[e["Custom"]=4]="Custom"}(S||(S={})),function(e){e[e["None"]=0]="None",e[e["Text"]=1]="Text",e[e["Blocks"]=2]="Blocks"}(O||(O={})),function(e){e[e["Smooth"]=0]="Smooth",e[e["Immediate"]=1]="Immediate"}(k||(k={})),function(e){e[e["Auto"]=1]="Auto",e[e["Hidden"]=2]="Hidden",e[e["Visible"]=3]="Visible"}(E||(E={})),function(e){e[e["LTR"]=0]="LTR",e[e["RTL"]=1]="RTL"}(D||(D={})),function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"}(M||(M={})),function(e){e[e["File"]=0]="File",e[e["Module"]=1]="Module",e[e["Namespace"]=2]="Namespace",e[e["Package"]=3]="Package",e[e["Class"]=4]="Class",e[e["Method"]=5]="Method",e[e["Property"]=6]="Property",e[e["Field"]=7]="Field",e[e["Constructor"]=8]="Constructor",e[e["Enum"]=9]="Enum",e[e["Interface"]=10]="Interface",e[e["Function"]=11]="Function",e[e["Variable"]=12]="Variable",e[e["Constant"]=13]="Constant",e[e["String"]=14]="String",e[e["Number"]=15]="Number",e[e["Boolean"]=16]="Boolean",e[e["Array"]=17]="Array",e[e["Object"]=18]="Object",e[e["Key"]=19]="Key",e[e["Null"]=20]="Null",e[e["EnumMember"]=21]="EnumMember",e[e["Struct"]=22]="Struct",e[e["Event"]=23]="Event",e[e["Operator"]=24]="Operator",e[e["TypeParameter"]=25]="TypeParameter"}(N||(N={})),function(e){e[e["Deprecated"]=1]="Deprecated"}(L||(L={})),function(e){e[e["Hidden"]=0]="Hidden",e[e["Blink"]=1]="Blink",e[e["Smooth"]=2]="Smooth",e[e["Phase"]=3]="Phase",e[e["Expand"]=4]="Expand",e[e["Solid"]=5]="Solid"}(I||(I={})),function(e){e[e["Line"]=1]="Line",e[e["Block"]=2]="Block",e[e["Underline"]=3]="Underline",e[e["LineThin"]=4]="LineThin",e[e["BlockOutline"]=5]="BlockOutline",e[e["UnderlineThin"]=6]="UnderlineThin"}(T||(T={})),function(e){e[e["AlwaysGrowsWhenTypingAtEdges"]=0]="AlwaysGrowsWhenTypingAtEdges",e[e["NeverGrowsWhenTypingAtEdges"]=1]="NeverGrowsWhenTypingAtEdges",e[e["GrowsOnlyWhenTypingBefore"]=2]="GrowsOnlyWhenTypingBefore",e[e["GrowsOnlyWhenTypingAfter"]=3]="GrowsOnlyWhenTypingAfter"}(P||(P={})),function(e){e[e["None"]=0]="None",e[e["Same"]=1]="Same",e[e["Indent"]=2]="Indent",e[e["DeepIndent"]=3]="DeepIndent"}(A||(A={}));var K=function(){function e(){}return e.chord=function(e,t){return Object(B["a"])(e,t)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();function G(){return{editor:void 0,languages:void 0,CancellationTokenSource:j["b"],Emitter:F["a"],KeyCode:v,KeyMod:K,Position:z["a"],Range:W["a"],Selection:H["a"],SelectionDirection:D,MarkerSeverity:y,MarkerTag:b,Uri:V["a"],Token:U["a"]}}n("siPX");var q,Y=n("Vxe3"),X=n("EffR"),Z=n("24hK"),Q=n("Q4rV"),$=n("tYmi"),J=n("gslv"),ee=n("nnTU"),te=n("W9cx");(function(e){e[e["API"]=0]="API",e[e["USER"]=1]="USER"})(q||(q={}));var ne=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},re=function(e,t){return function(n,r){t(n,r,e)}},ie=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},oe=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ae=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},se=function(){function e(e){this._commandService=e}return e.prototype.open=function(e){return ie(this,void 0,void 0,(function(){var t,n;return oe(this,(function(r){switch(r.label){case 0:if(!Object(te["c"])(e,$["b"].command))return[2,!1];if("string"===typeof e&&(e=V["a"].parse(e)),!ee["a"].getCommand(e.path))throw new Error("command '"+e.path+"' NOT known");t=[];try{t=Object(Q["a"])(decodeURIComponent(e.query))}catch(i){try{t=Object(Q["a"])(e.query)}catch(o){}}return Array.isArray(t)||(t=[t]),[4,(n=this._commandService).executeCommand.apply(n,ae([e.path],t))];case 1:return r.sent(),[2,!0]}}))}))},e=ne([re(0,ee["b"])],e),e}(),le=function(){function e(e){this._editorService=e}return e.prototype.open=function(e,t){return ie(this,void 0,void 0,(function(){var n,r;return oe(this,(function(i){switch(i.label){case 0:return"string"===typeof e&&(e=V["a"].parse(e)),n=void 0,r=/^L?(\d+)(?:,(\d+))?/.exec(e.fragment),r&&(n={startLineNumber:parseInt(r[1]),startColumn:r[2]?parseInt(r[2]):1},e=e.with({fragment:""})),e.scheme===$["b"].file&&(e=Object(J["g"])(e)),[4,this._editorService.openCodeEditor({resource:e,options:{selection:n,context:(null===t||void 0===t?void 0:t.fromUserGesture)?q.USER:q.API}},this._editorService.getFocusedCodeEditor(),null===t||void 0===t?void 0:t.openToSide)];case 1:return i.sent(),[2,!0]}}))}))},e=ne([re(0,Y["a"])],e),e}(),ue=function(){function e(e,t){var n=this;this._openers=new Z["a"],this._validators=new Z["a"],this._resolvers=new Z["a"],this._externalOpener={openExternal:function(e){return X["Z"](e),Promise.resolve(!0)}},this._openers.push({open:function(e,t){return ie(n,void 0,void 0,(function(){return oe(this,(function(n){switch(n.label){case 0:return(null===t||void 0===t?void 0:t.openExternal)||Object(te["c"])(e,$["b"].mailto)||Object(te["c"])(e,$["b"].http)||Object(te["c"])(e,$["b"].https)?[4,this._doOpenExternal(e,t)]:[3,2];case 1:return n.sent(),[2,!0];case 2:return[2,!1]}}))}))}}),this._openers.push(new se(t)),this._openers.push(new le(e))}return e.prototype.open=function(e,t){return ie(this,void 0,void 0,(function(){var n,r,i,o,a,s,l;return oe(this,(function(u){switch(u.label){case 0:n=0,r=this._validators.toArray(),u.label=1;case 1:return n<r.length?(i=r[n],[4,i.shouldOpen(e)]):[3,4];case 2:if(!u.sent())return[2,!1];u.label=3;case 3:return n++,[3,1];case 4:o=0,a=this._openers.toArray(),u.label=5;case 5:return o<a.length?(s=a[o],[4,s.open(e,t)]):[3,8];case 6:if(l=u.sent(),l)return[2,!0];u.label=7;case 7:return o++,[3,5];case 8:return[2,!1]}}))}))},e.prototype.resolveExternalUri=function(e,t){return ie(this,void 0,void 0,(function(){var n,r,i,o;return oe(this,(function(a){switch(a.label){case 0:n=0,r=this._resolvers.toArray(),a.label=1;case 1:return n<r.length?(i=r[n],[4,i.resolveExternalUri(e,t)]):[3,4];case 2:if(o=a.sent(),o)return[2,o];a.label=3;case 3:return n++,[3,1];case 4:return[2,{resolved:e,dispose:function(){}}]}}))}))},e.prototype._doOpenExternal=function(e,t){return ie(this,void 0,void 0,(function(){var n,r;return oe(this,(function(i){switch(i.label){case 0:return n="string"===typeof e?V["a"].parse(e):e,[4,this.resolveExternalUri(n,t)];case 1:return r=i.sent().resolved,"string"===typeof e&&n.toString()===r.toString()?[2,this._externalOpener.openExternal(e)]:[2,this._externalOpener.openExternal(encodeURI(r.toString(!0)))]}}))}))},e.prototype.dispose=function(){this._validators.clear()},e=ne([re(0,Y["a"]),re(1,ee["b"])],e),e}(),ce=n("FWmy"),de=n("pmY6"),he=n("qj0h"),fe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pe={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},ge=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r._onDidUpdate=r._register(new F["a"]),r._editor=t,r._options=he["g"](n,pe,!1),r.disposed=!1,r.nextIdx=-1,r.ranges=[],r.ignoreSelectionChange=!1,r.revealFirst=Boolean(r._options.alwaysRevealFirst),r._register(r._editor.onDidDispose((function(){return r.dispose()}))),r._register(r._editor.onDidUpdateDiff((function(){return r._onDiffUpdated()}))),r._options.followsCaret&&r._register(r._editor.getModifiedEditor().onDidChangeCursorPosition((function(e){r.ignoreSelectionChange||(r.nextIdx=-1)}))),r._options.alwaysRevealFirst&&r._register(r._editor.getModifiedEditor().onDidChangeModel((function(e){r.revealFirst=!0}))),r._init(),r}return fe(t,e),t.prototype._init=function(){this._editor.getLineChanges()},t.prototype._onDiffUpdated=function(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&null!==this._editor.getLineChanges()&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))},t.prototype._compute=function(e){var t=this;this.ranges=[],e&&e.forEach((function(e){!t._options.ignoreCharChanges&&e.charChanges?e.charChanges.forEach((function(e){t.ranges.push({rhs:!0,range:new W["a"](e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})})):t.ranges.push({rhs:!0,range:new W["a"](e.modifiedStartLineNumber,1,e.modifiedStartLineNumber,1)})})),this.ranges.sort((function(e,t){return e.range.getStartPosition().isBeforeOrEqual(t.range.getStartPosition())?-1:t.range.getStartPosition().isBeforeOrEqual(e.range.getStartPosition())?1:0})),this._onDidUpdate.fire(this)},t.prototype._initIdx=function(e){var t=!1,n=this._editor.getPosition();if(n){for(var r=0,i=this.ranges.length;r<i&&!t;r++){var o=this.ranges[r].range;n.isBeforeOrEqual(o.getStartPosition())&&(this.nextIdx=r+(e?0:-1),t=!0)}t||(this.nextIdx=e?0:this.ranges.length-1),this.nextIdx<0&&(this.nextIdx=this.ranges.length-1)}else this.nextIdx=0},t.prototype._move=function(e,t){if(ce["a"](!this.disposed,"Illegal State - diff navigator has been disposed"),this.canNavigate()){-1===this.nextIdx?this._initIdx(e):e?(this.nextIdx+=1,this.nextIdx>=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));var n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{var r=n.range.getStartPosition();this._editor.setPosition(r),this._editor.revealPositionInCenter(r,t)}finally{this.ignoreSelectionChange=!1}}},t.prototype.canNavigate=function(){return this.ranges&&this.ranges.length>0},t.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},t.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.ranges=[],this.disposed=!0},t}(de["a"]),me=n("+3Gp"),ve=n("iuje"),ye=n("M1Kb"),be=n("twdY"),_e=n("i/Ef"),we=n("pAvP"),xe=n("t49l"),Ce=n("X+cX"),Se=n("/cxE"),Oe=n("MNsG"),ke=n("746U"),Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),De="$initialize",Me=!1;function Ne(e){Oe["g"]&&(Me||(Me=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq")),console.warn(e.message))}var Le=function(){function e(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}return e.prototype.setWorkerId=function(e){this._workerId=e},e.prototype.sendMessage=function(e,t){var n=this,r=String(++this._lastSentReq);return new Promise((function(i,o){n._pendingReplies[r]={resolve:i,reject:o},n._send({vsWorker:n._workerId,req:r,method:e,args:t})}))},e.prototype.handleMessage=function(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))},e.prototype._handleMessage=function(e){var t=this;if(e.seq){var n=e;if(!this._pendingReplies[n.seq])return void console.warn("Got reply to unknown seq");var r=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var i=n.err;return n.err.$isError&&(i=new Error,i.name=n.err.name,i.message=n.err.message,i.stack=n.err.stack),void r.reject(i)}r.resolve(n.res)}else{var o=e,a=o.req,s=this._handler.handleMessage(o.method,o.args);s.then((function(e){t._send({vsWorker:t._workerId,seq:a,res:e,err:void 0})}),(function(e){e.detail instanceof Error&&(e.detail=Object(Se["g"])(e.detail)),t._send({vsWorker:t._workerId,seq:a,res:void 0,err:Object(Se["g"])(e)})}))}},e.prototype._send=function(e){var t=[];if(e.req)for(var n=e,r=0;r<n.args.length;r++)n.args[r]instanceof ArrayBuffer&&t.push(n.args[r]);else{n=e;n.res instanceof ArrayBuffer&&t.push(n.res)}this._handler.sendMessage(e,t)},e}(),Ie=function(e){function t(t,n,r){var i=e.call(this)||this,o=null;i._worker=i._register(t.create("vs/base/common/worker/simpleWorker",(function(e){i._protocol.handleMessage(e)}),(function(e){o&&o(e)}))),i._protocol=new Le({sendMessage:function(e,t){i._worker.postMessage(e,t)},handleMessage:function(e,t){if("function"!==typeof r[e])return Promise.reject(new Error("Missing method "+e+" on main thread host."));try{return Promise.resolve(r[e].apply(r,t))}catch(n){return Promise.reject(n)}}}),i._protocol.setWorkerId(i._worker.getId());var a=null;"undefined"!==typeof self.require&&"function"===typeof self.require.getConfig?a=self.require.getConfig():"undefined"!==typeof self.requirejs&&(a=self.requirejs.s.contexts._.config);var s=ke["c"](r);i._onModuleLoaded=i._protocol.sendMessage(De,[i._worker.getId(),JSON.parse(JSON.stringify(a)),n,s]);var l=function(e,t){return i._request(e,t)};return i._lazyProxy=new Promise((function(e,t){o=t,i._onModuleLoaded.then((function(t){e(ke["b"](t,l))}),(function(e){t(e),i._onError("Worker failed to load "+n,e)}))})),i}return Ee(t,e),t.prototype.getProxyObject=function(){return this._lazyProxy},t.prototype._request=function(e,t){var n=this;return new Promise((function(r,i){n._onModuleLoaded.then((function(){n._protocol.sendMessage(e,t).then(r,i)}),i)}))},t.prototype._onError=function(e,t){console.error(e),console.info(t)},t}(de["a"]);(function(){function e(e,t){var n=this;this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new Le({sendMessage:function(t,n){e(t,n)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}e.prototype.onmessage=function(e){this._protocol.handleMessage(e)},e.prototype._handleMessage=function(e,t){if(e===De)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!==typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(n){return Promise.reject(n)}},e.prototype.initialize=function(e,t,n,r){var i=this;this._protocol.setWorkerId(e);var o=function(e,t){return i._protocol.sendMessage(e,t)},a=ke["b"](r,o);return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(a),Promise.resolve(ke["c"](this._requestHandler))):(t&&("undefined"!==typeof t.baseUrl&&delete t["baseUrl"],"undefined"!==typeof t.paths&&"undefined"!==typeof t.paths.vs&&delete t.paths["vs"],t.catchError=!0,self.require.config(t)),new Promise((function(e,t){self.require([n],(function(n){i._requestHandler=n.create(a),i._requestHandler?e(ke["c"](i._requestHandler)):t(new Error("No RequestHandler!"))}),t)})))}})();function Te(e,t){if(Oe["b"].MonacoEnvironment){if("function"===typeof Oe["b"].MonacoEnvironment.getWorker)return Oe["b"].MonacoEnvironment.getWorker(e,t);if("function"===typeof Oe["b"].MonacoEnvironment.getWorkerUrl)return new Worker(Oe["b"].MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function Pe(e){return"function"===typeof e.then}var Ae=function(){function e(e,t,n,r,i){this.id=t;var o=Te("workerMain.js",n);Pe(o)?this.worker=o:this.worker=Promise.resolve(o),this.postMessage(e,[]),this.worker.then((function(e){e.onmessage=function(e){r(e.data)},e.onmessageerror=i,"function"===typeof e.addEventListener&&e.addEventListener("error",i)}))}return e.prototype.getId=function(){return this.id},e.prototype.postMessage=function(e,t){this.worker&&this.worker.then((function(n){return n.postMessage(e,t)}))},e.prototype.dispose=function(){this.worker&&this.worker.then((function(e){return e.terminate()})),this.worker=null},e}(),Re=function(){function e(e){this._label=e,this._webWorkerFailedBeforeError=!1}return e.prototype.create=function(t,n,r){var i=this,o=++e.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new Ae(t,o,this._label||"anonymous"+o,n,(function(e){Ne(e),i._webWorkerFailedBeforeError=e,r(e)}))},e.LAST_WORKER_ID=0,e}(),je=n("cMvZ"),Fe=n("6OMU"),Be=function(){function e(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}(),Ve=n("7afs"),ze=function(){function e(e){this.source=e}return e.prototype.getElements=function(){for(var e=this.source,t=new Int32Array(e.length),n=0,r=e.length;n<r;n++)t[n]=e.charCodeAt(n);return t},e}();function We(e,t,n){return new Ge(new ze(e),new ze(t)).ComputeDiff(n).changes}var He=function(){function e(){}return e.Assert=function(e,t){if(!e)throw new Error(t)},e}(),Ue=function(){function e(){}return e.Copy=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},e.Copy2=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},e}(),Ke=function(){function e(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}return e.prototype.MarkNextChange=function(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Be(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),Ge=function(){function e(t,n,r){void 0===r&&(r=null),this.ContinueProcessingPredicate=r;var i=e._getElements(t),o=i[0],a=i[1],s=i[2],l=e._getElements(n),u=l[0],c=l[1],d=l[2];this._hasStrings=s&&d,this._originalStringElements=o,this._originalElementsOrHash=a,this._modifiedStringElements=u,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"===typeof e[0]},e._getElements=function(t){var n=t.getElements();if(e._isStringArray(n)){for(var r=new Int32Array(n.length),i=0,o=n.length;i<o;i++)r[i]=Object(Ve["b"])(n[i],0);return[n,r,!0]}return n instanceof Int32Array?[[],n,!1]:[[],new Int32Array(n),!1]},e.prototype.ElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._modifiedStringElements[t])},e.prototype.OriginalElementsAreEqual=function(e,t){return this._originalElementsOrHash[e]===this._originalElementsOrHash[t]&&(!this._hasStrings||this._originalStringElements[e]===this._originalStringElements[t])},e.prototype.ModifiedElementsAreEqual=function(e,t){return this._modifiedElementsOrHash[e]===this._modifiedElementsOrHash[t]&&(!this._hasStrings||this._modifiedStringElements[e]===this._modifiedStringElements[t])},e.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)},e.prototype._ComputeDiff=function(e,t,n,r,i){var o=[!1],a=this.ComputeDiffRecursive(e,t,n,r,o);return i&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}},e.prototype.ComputeDiffRecursive=function(e,t,n,r,i){i[0]=!1;while(e<=t&&n<=r&&this.ElementsAreEqual(e,n))e++,n++;while(t>=e&&r>=n&&this.ElementsAreEqual(t,r))t--,r--;if(e>t||n>r){var o=void 0;return n<=r?(He.Assert(e===t+1,"originalStart should only be one more than originalEnd"),o=[new Be(e,0,n,r-n+1)]):e<=t?(He.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[new Be(e,t-e+1,n,0)]):(He.Assert(e===t+1,"originalStart should only be one more than originalEnd"),He.Assert(n===r+1,"modifiedStart should only be one more than modifiedEnd"),o=[]),o}var a=[0],s=[0],l=this.ComputeRecursionPoint(e,t,n,r,a,s,i),u=a[0],c=s[0];if(null!==l)return l;if(!i[0]){var d=this.ComputeDiffRecursive(e,u,n,c,i),h=[];return h=i[0]?[new Be(u+1,t-(u+1)+1,c+1,r-(c+1)+1)]:this.ComputeDiffRecursive(u+1,t,c+1,r,i),this.ConcatenateChanges(d,h)}return[new Be(e,t-e+1,n,r-n+1)]},e.prototype.WALKTRACE=function(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p,g,m,v){var y=null,b=null,_=new Ke,w=t,x=n,C=h[0]-g[0]-r,S=-1073741824,O=this.m_forwardHistory.length-1;do{var k=C+e;k===w||k<x&&l[k-1]<l[k+1]?(c=l[k+1],f=c-C-r,c<S&&_.MarkNextChange(),S=c,_.AddModifiedElement(c+1,f),C=k+1-e):(c=l[k-1]+1,f=c-C-r,c<S&&_.MarkNextChange(),S=c-1,_.AddOriginalElement(c,f+1),C=k-1-e),O>=0&&(l=this.m_forwardHistory[O],e=l[0],w=1,x=l.length-1)}while(--O>=-1);if(y=_.getReverseChanges(),v[0]){var E=h[0]+1,D=g[0]+1;if(null!==y&&y.length>0){var M=y[y.length-1];E=Math.max(E,M.getOriginalEnd()),D=Math.max(D,M.getModifiedEnd())}b=[new Be(E,d-E+1,D,p-D+1)]}else{_=new Ke,w=o,x=a,C=h[0]-g[0]-s,S=1073741824,O=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{k=C+i;k===w||k<x&&u[k-1]>=u[k+1]?(c=u[k+1]-1,f=c-C-s,c>S&&_.MarkNextChange(),S=c+1,_.AddOriginalElement(c+1,f+1),C=k+1-i):(c=u[k-1],f=c-C-s,c>S&&_.MarkNextChange(),S=c,_.AddModifiedElement(c+1,f+1),C=k-1-i),O>=0&&(u=this.m_reverseHistory[O],i=u[0],w=1,x=u.length-1)}while(--O>=-1);b=_.getChanges()}return this.ConcatenateChanges(y,b)},e.prototype.ComputeRecursionPoint=function(e,t,n,r,i,o,a){var s=0,l=0,u=0,c=0,d=0,h=0;e--,n--,i[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f=t-e+(r-n),p=f+1,g=new Int32Array(p),m=new Int32Array(p),v=r-n,y=t-e,b=e-n,_=t-r,w=y-v,x=w%2===0;g[v]=e,m[y]=t,a[0]=!1;for(var C=1;C<=f/2+1;C++){var S=0,O=0;u=this.ClipDiagonalBound(v-C,C,v,p),c=this.ClipDiagonalBound(v+C,C,v,p);for(var k=u;k<=c;k+=2){s=k===u||k<c&&g[k-1]<g[k+1]?g[k+1]:g[k-1]+1,l=s-(k-v)-b;var E=s;while(s<t&&l<r&&this.ElementsAreEqual(s+1,l+1))s++,l++;if(g[k]=s,s+l>S+O&&(S=s,O=l),!x&&Math.abs(k-y)<=C-1&&s>=m[k])return i[0]=s,o[0]=l,E<=m[k]&&C<=1448?this.WALKTRACE(v,u,c,b,y,d,h,_,g,m,s,t,i,l,r,o,x,a):null}var D=(S-e+(O-n)-C)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,D))return a[0]=!0,i[0]=S,o[0]=O,D>0&&C<=1448?this.WALKTRACE(v,u,c,b,y,d,h,_,g,m,s,t,i,l,r,o,x,a):(e++,n++,[new Be(e,t-e+1,n,r-n+1)]);d=this.ClipDiagonalBound(y-C,C,y,p),h=this.ClipDiagonalBound(y+C,C,y,p);for(k=d;k<=h;k+=2){s=k===d||k<h&&m[k-1]>=m[k+1]?m[k+1]-1:m[k-1],l=s-(k-y)-_;E=s;while(s>e&&l>n&&this.ElementsAreEqual(s,l))s--,l--;if(m[k]=s,x&&Math.abs(k-v)<=C&&s<=g[k])return i[0]=s,o[0]=l,E>=g[k]&&C<=1448?this.WALKTRACE(v,u,c,b,y,d,h,_,g,m,s,t,i,l,r,o,x,a):null}if(C<=1447){var M=new Int32Array(c-u+2);M[0]=v-u+1,Ue.Copy2(g,u,M,1,c-u+1),this.m_forwardHistory.push(M),M=new Int32Array(h-d+2),M[0]=y-d+1,Ue.Copy2(m,d,M,1,h-d+1),this.m_reverseHistory.push(M)}}return this.WALKTRACE(v,u,c,b,y,d,h,_,g,m,s,t,i,l,r,o,x,a)},e.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=t<e.length-1?e[t+1].originalStart:this._originalElementsOrHash.length,i=t<e.length-1?e[t+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;while(n.originalStart+n.originalLength<r&&n.modifiedStart+n.modifiedLength<i&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength)))n.originalStart++,n.modifiedStart++;var s=[null];t<e.length-1&&this.ChangesOverlap(e[t],e[t+1],s)&&(e[t]=s[0],e.splice(t+1,1),t--)}for(t=e.length-1;t>=0;t--){n=e[t],r=0,i=0;if(t>0){var l=e[t-1];l.originalLength>0&&(r=l.originalStart+l.originalLength),l.modifiedLength>0&&(i=l.modifiedStart+l.modifiedLength)}o=n.originalLength>0,a=n.modifiedLength>0;for(var u=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,f=n.modifiedStart-d;if(h<r||f<i)break;if(o&&!this.OriginalElementsAreEqual(h,h+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(f,f+n.modifiedLength))break;var p=this._boundaryScore(h,n.originalLength,f,n.modifiedLength);p>c&&(c=p,u=d)}n.originalStart-=u,n.modifiedStart-=u}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},e.prototype._boundaryScore=function(e,t,n,r){var i=this._OriginalRegionIsBoundary(e,t)?1:0,o=this._ModifiedRegionIsBoundary(n,r)?1:0;return i+o},e.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var r=new Array(e.length+t.length-1);return Ue.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],Ue.Copy(t,1,r,e.length,t.length-1),r}r=new Array(e.length+t.length);return Ue.Copy(e,0,r,0,e.length),Ue.Copy(t,0,r,e.length,t.length),r},e.prototype.ChangesOverlap=function(e,t,n){if(He.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),He.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var r=e.originalStart,i=e.originalLength,o=e.modifiedStart,a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(i=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new Be(r,i,o,a),!0}return n[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,t,n,r){if(e>=0&&e<r)return e;var i=n,o=r-n-1,a=t%2===0;if(e<0){var s=i%2===0;return a===s?0:1}var l=o%2===0;return a===l?r-1:r-2},e}(),qe=n("JYp7"),Ye=n("N0LK"),Xe=3;function Ze(e,t,n,r){var i=new Ge(e,t,n);return i.ComputeDiff(r)}var Qe=function(){function e(e){for(var t=[],n=[],r=0,i=e.length;r<i;r++)t[r]=rt(e[r],1),n[r]=it(e[r],1);this.lines=e,this._startColumns=t,this._endColumns=n}return e.prototype.getElements=function(){for(var e=[],t=0,n=this.lines.length;t<n;t++)e[t]=this.lines[t].substring(this._startColumns[t]-1,this._endColumns[t]-1);return e},e.prototype.getStartLineNumber=function(e){return e+1},e.prototype.getEndLineNumber=function(e){return e+1},e.prototype.createCharSequence=function(e,t,n){for(var r=[],i=[],o=[],a=0,s=t;s<=n;s++)for(var l=this.lines[s],u=e?this._startColumns[s]:1,c=e?this._endColumns[s]:l.length+1,d=u;d<c;d++)r[a]=l.charCodeAt(d-1),i[a]=s+1,o[a]=d,a++;return new $e(r,i,o)},e}(),$e=function(){function e(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}return e.prototype.getElements=function(){return this._charCodes},e.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getStartColumn=function(e){return this._columns[e]},e.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},e.prototype.getEndColumn=function(e){return this._columns[e]+1},e}(),Je=function(){function e(e,t,n,r,i,o,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}return e.createFromDiffChange=function(t,n,r){var i,o,a,s,l,u,c,d;return 0===t.originalLength?(i=0,o=0,a=0,s=0):(i=n.getStartLineNumber(t.originalStart),o=n.getStartColumn(t.originalStart),a=n.getEndLineNumber(t.originalStart+t.originalLength-1),s=n.getEndColumn(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(l=0,u=0,c=0,d=0):(l=r.getStartLineNumber(t.modifiedStart),u=r.getStartColumn(t.modifiedStart),c=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),d=r.getEndColumn(t.modifiedStart+t.modifiedLength-1)),new e(i,o,a,s,l,u,c,d)},e}();function et(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],r=1,i=e.length;r<i;r++){var o=e[r],a=o.originalStart-(n.originalStart+n.originalLength),s=o.modifiedStart-(n.modifiedStart+n.modifiedLength),l=Math.min(a,s);l<Xe?(n.originalLength=o.originalStart+o.originalLength-n.originalStart,n.modifiedLength=o.modifiedStart+o.modifiedLength-n.modifiedStart):(t.push(o),n=o)}return t}var tt=function(){function e(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}return e.createFromDiffResult=function(t,n,r,i,o,a,s){var l,u,c,d,h=void 0;if(0===n.originalLength?(l=r.getStartLineNumber(n.originalStart)-1,u=0):(l=r.getStartLineNumber(n.originalStart),u=r.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(c=i.getStartLineNumber(n.modifiedStart)-1,d=0):(c=i.getStartLineNumber(n.modifiedStart),d=i.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&o()){var f=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),p=i.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1),g=Ze(f,p,o,!0).changes;s&&(g=et(g)),h=[];for(var m=0,v=g.length;m<v;m++)h.push(Je.createFromDiffChange(g[m],f,p))}return new e(l,u,c,d,h)},e}(),nt=function(){function e(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=t,this.original=new Qe(e),this.modified=new Qe(t),this.continueLineDiff=ot(n.maxComputationTime),this.continueCharDiff=ot(0===n.maxComputationTime?0:Math.min(n.maxComputationTime,5e3))}return e.prototype.computeDiff=function(){if(1===this.original.lines.length&&0===this.original.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};if(1===this.modified.lines.length&&0===this.modified.lines[0].length)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}]};var e=Ze(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),t=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){for(var r=[],i=0,o=t.length;i<o;i++)r.push(tt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,t[i],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:r}}for(var a=[],s=0,l=0,u=(i=-1,t.length);i<u;i++){var c=i+1<u?t[i+1]:null,d=c?c.originalStart:this.originalLines.length,h=c?c.modifiedStart:this.modifiedLines.length;while(s<d&&l<h){var f=this.originalLines[s],p=this.modifiedLines[l];if(f!==p){var g=rt(f,1),m=rt(p,1);while(g>1&&m>1){var v=f.charCodeAt(g-2),y=p.charCodeAt(m-2);if(v!==y)break;g--,m--}(g>1||m>1)&&this._pushTrimWhitespaceCharChange(a,s+1,1,g,l+1,1,m);var b=it(f,1),_=it(p,1),w=f.length+1,x=p.length+1;while(b<w&&_<x){v=f.charCodeAt(b-1),y=f.charCodeAt(_-1);if(v!==y)break;b++,_++}(b<w||_<x)&&this._pushTrimWhitespaceCharChange(a,s+1,b,w,l+1,_,x)}s++,l++}c&&(a.push(tt.createFromDiffResult(this.shouldIgnoreTrimWhitespace,c,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=c.originalLength,l+=c.modifiedLength)}return{quitEarly:n,changes:a}},e.prototype._pushTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){if(!this._mergeTrimWhitespaceCharChange(e,t,n,r,i,o,a)){var s=void 0;this.shouldComputeCharChanges&&(s=[new Je(t,n,t,r,i,o,i,a)]),e.push(new tt(t,t,i,i,s))}},e.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,r,i,o,a){var s=e.length;if(0===s)return!1;var l=e[s-1];return 0!==l.originalEndLineNumber&&0!==l.modifiedEndLineNumber&&(l.originalEndLineNumber+1===t&&l.modifiedEndLineNumber+1===i&&(l.originalEndLineNumber=t,l.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&l.charChanges&&l.charChanges.push(new Je(t,n,t,r,i,o,i,a)),!0))},e}();function rt(e,t){var n=Ye["q"](e);return-1===n?t:n+1}function it(e,t){var n=Ye["D"](e);return-1===n?t:n+2}function ot(e){if(0===e)return function(){return!0};var t=Date.now();return function(){return Date.now()-t<e}}var at=n("LeU+"),st=function(){function e(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=e.changes,n=0,r=t;n<r.length;n++){var i=r[n];this._acceptDeleteRange(i.range),this._acceptInsertText(new z["a"](i.range.startLineNumber,i.range.startColumn),i.text)}this._versionId=e.versionId},e.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),r=0;r<t;r++)n[r]=this._lines[r].length+e;this._lineStarts=new at["a"](n)}},e.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber)this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}},e.prototype._acceptInsertText=function(e,t){if(0!==t.length){var n=t.split(/\r\n|\r|\n/);if(1!==n.length){n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);for(var r=new Uint32Array(n.length-1),i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),r[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,r)}else this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1))}},e}(),lt=n("0JNc"),ut=n("MXAL"),ct=function(){function e(e,t,n){for(var r=new Uint8Array(e*t),i=0,o=e*t;i<o;i++)r[i]=n;this._data=r,this.rows=e,this.cols=t}return e.prototype.get=function(e,t){return this._data[e*this.cols+t]},e.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},e}(),dt=function(){function e(e){for(var t=0,n=0,r=0,i=e.length;r<i;r++){var o=e[r],a=o[0],s=o[1],l=o[2];s>t&&(t=s),a>n&&(n=a),l>n&&(n=l)}t++,n++;var u=new ct(n,t,0);for(r=0,i=e.length;r<i;r++){var c=e[r];a=c[0],s=c[1],l=c[2];u.set(a,s,l)}this._states=u,this._maxCharCode=t}return e.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},e}(),ht=null;function ft(){return null===ht&&(ht=new dt([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ht}var pt=null;function gt(){if(null===pt){pt=new ut["a"](0);for(var e=" \t<>'\"\u3001\u3002\uff61\uff64\uff0c\uff0e\uff1a\uff1b\uff1f\uff01\uff20\uff03\uff04\uff05\uff06\uff0a\u2018\u201c\u3008\u300a\u300c\u300e\u3010\u3014\uff08\uff3b\uff5b\uff62\uff63\uff5d\uff3d\uff09\u3015\u3011\u300f\u300d\u300b\u3009\u201d\u2019\uff40\uff5e\u2026",t=0;t<e.length;t++)pt.set(e.charCodeAt(t),1);var n=".,;";for(t=0;t<n.length;t++)pt.set(n.charCodeAt(t),2)}return pt}var mt=function(){function e(){}return e._createLink=function(e,t,n,r,i){var o=i-1;do{var a=t.charCodeAt(o),s=e.get(a);if(2!==s)break;o--}while(o>r);if(r>0){var l=t.charCodeAt(r-1),u=t.charCodeAt(o);(40===l&&41===u||91===l&&93===u||123===l&&125===u)&&o--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:o+2},url:t.substring(r,o+1)}},e.computeLinks=function(t,n){void 0===n&&(n=ft());for(var r=gt(),i=[],o=1,a=t.getLineCount();o<=a;o++){var s=t.getLineContent(o),l=s.length,u=0,c=0,d=0,h=1,f=!1,p=!1,g=!1;while(u<l){var m=!1,v=s.charCodeAt(u);if(13===h){var y=void 0;switch(v){case 40:f=!0,y=0;break;case 41:y=f?0:1;break;case 91:p=!0,y=0;break;case 93:y=p?0:1;break;case 123:g=!0,y=0;break;case 125:y=g?0:1;break;case 39:y=34===d||96===d?0:1;break;case 34:y=39===d||96===d?0:1;break;case 96:y=39===d||34===d?0:1;break;case 42:y=42===d?1:0;break;case 124:y=124===d?1:0;break;default:y=r.get(v)}1===y&&(i.push(e._createLink(r,s,o,c,u)),m=!0)}else if(12===h){y=void 0;91===v?(p=!0,y=0):y=r.get(v),1===y?m=!0:h=13}else h=n.nextState(h,v),0===h&&(m=!0);m&&(h=1,f=!1,p=!1,g=!1,c=u+1,d=v),u++}13===h&&i.push(e._createLink(r,s,o,c,l))}return i},e}();function vt(e){return e&&"function"===typeof e.getLineCount&&"function"===typeof e.getLineContent?mt.computeLinks(e):[]}var yt=function(){function e(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}return e.prototype.navigateValueSet=function(e,t,n,r,i){if(e&&t){var o=this.doNavigateValueSet(t,i);if(o)return{range:e,value:o}}if(n&&r){o=this.doNavigateValueSet(r,i);if(o)return{range:n,value:o}}return null},e.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},e.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),r=Number(e),i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||t?(r=Math.floor(r*n),r+=t?n:-n,String(r/n)):null},e.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},e.prototype.valueSetsReplace=function(e,t,n){for(var r=null,i=0,o=e.length;null===r&&i<o;i++)r=this.valueSetReplace(e[i],t,n);return r},e.prototype.valueSetReplace=function(e,t,n){var r=e.indexOf(t);return r>=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}(),bt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_t=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},wt=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return bt(t,e),Object.defineProperty(t.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){return this.getText()},t.prototype.getLinesContent=function(){return this._lines.slice(0)},t.prototype.getLineCount=function(){return this._lines.length},t.prototype.getLineContent=function(e){return this._lines[e-1]},t.prototype.getWordAtPosition=function(e,t){var n=Object(lt["d"])(e.column,Object(lt["c"])(t),this._lines[e.lineNumber-1],0);return n?new W["a"](e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},t.prototype.createWordIterator=function(e){var t,n,r=this,i=0,o=0,a=[],s=function(){if(o<a.length){var l=n.substring(a[o].start,a[o].end);return o+=1,t?t.value=l:t={done:!1,value:l},t}return i>=r._lines.length?qe["b"]:(n=r._lines[i],a=r._wordenize(n,e),o=0,i+=1,s())};return{next:s}},t.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],r=this._wordenize(n,t),i=[],o=0,a=r;o<a.length;o++){var s=a[o];i.push({word:n.substring(s.start,s.end),startColumn:s.start+1,endColumn:s.end+1})}return i},t.prototype._wordenize=function(e,t){var n,r=[];t.lastIndex=0;while(n=t.exec(e)){if(0===n[0].length)break;r.push({start:n.index,end:n.index+n[0].length})}return r},t.prototype.getValueInRange=function(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);var t=this._eol,n=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(var o=n+1;o<r;o++)i.push(this._lines[o]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.join(t)},t.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},t.prototype.positionAt=function(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();var t=this._lineStarts.getIndexOf(e),n=this._lines[t.index].length;return{lineNumber:1+t.index,column:1+Math.min(t.remainder,n)}},t.prototype._validateRange=function(e){var t=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return t.lineNumber!==e.startLineNumber||t.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}:e},t.prototype._validatePosition=function(e){if(!z["a"].isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,r=!1;if(t<1)t=1,n=1,r=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{var i=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>i&&(n=i,r=!0)}return r?{lineNumber:t,column:n}:e},t}(st),Ct=function(){function e(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,t=[];return Object.keys(this._models).forEach((function(n){return t.push(e._models[n])})),t},e.prototype.acceptNewModel=function(e){this._models[e.url]=new xt(V["a"].parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,t){if(this._models[e]){var n=this._models[e];n.onEvents(t)}},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,t,n,r){return _t(this,void 0,void 0,(function(){var i,o,a,s,l,u,c;return wt(this,(function(d){return i=this._getModel(e),o=this._getModel(t),i&&o?(a=i.getLinesContent(),s=o.getLinesContent(),l=new nt(a,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}),u=l.computeDiff(),c=!(u.changes.length>0)&&this._modelsAreIdentical(i,o),[2,{quitEarly:u.quitEarly,identical:c,changes:u.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount(),r=t.getLineCount();if(n!==r)return!1;for(var i=1;i<=n;i++){var o=e.getLineContent(i),a=t.getLineContent(i);if(o!==a)return!1}return!0},e.prototype.computeMoreMinimalEdits=function(t,n){return _t(this,void 0,void 0,(function(){var r,i,o,a,s,l,u,c,d,h,f,p,g,m,v,y,b,_;return wt(this,(function(w){if(r=this._getModel(t),!r)return[2,n];for(i=[],o=void 0,n=Object(Fe["r"])(n,(function(e,t){if(e.range&&t.range)return W["a"].compareRangesUsingStarts(e.range,t.range);var n=e.range?0:1,r=t.range?0:1;return n-r})),a=0,s=n;a<s.length;a++)if(l=s[a],u=l.range,c=l.text,d=l.eol,"number"===typeof d&&(o=d),(!W["a"].isEmpty(u)||c)&&(h=r.getValueInRange(u),c=c.replace(/\r\n|\n|\r/g,r.eol),h!==c))if(Math.max(c.length,h.length)>e._diffLimit)i.push({range:u,text:c});else for(f=We(h,c,!1),p=r.offsetAt(W["a"].lift(u).getStartPosition()),g=0,m=f;g<m.length;g++)v=m[g],y=r.positionAt(p+v.originalStart),b=r.positionAt(p+v.originalStart+v.originalLength),_={text:c.substr(v.modifiedStart,v.modifiedLength),range:{startLineNumber:y.lineNumber,startColumn:y.column,endLineNumber:b.lineNumber,endColumn:b.column}},r.getValueInRange(_.range)!==_.text&&i.push(_);return"number"===typeof o&&i.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,i]}))}))},e.prototype.computeLinks=function(e){return _t(this,void 0,void 0,(function(){var t;return wt(this,(function(n){return t=this._getModel(e),t?[2,vt(t)]:[2,null]}))}))},e.prototype.textualSuggest=function(t,n,r,i){return _t(this,void 0,void 0,(function(){var o,a,s,l,u,c,d,h;return wt(this,(function(f){if(o=this._getModel(t),!o)return[2,null];for(a=[],s=new Set,l=new RegExp(r,i),u=o.getWordAtPosition(n,l),u&&s.add(o.getValueInRange(u)),c=o.createWordIterator(l),d=c.next();!d.done&&s.size<=e._suggestionsLimit;d=c.next())h=d.value,s.has(h)||(s.add(h),isNaN(Number(h))&&a.push(h));return[2,a]}))}))},e.prototype.computeWordRanges=function(e,t,n,r){return _t(this,void 0,void 0,(function(){var i,o,a,s,l,u,c,d,h;return wt(this,(function(f){if(i=this._getModel(e),!i)return[2,Object.create(null)];for(o=new RegExp(n,r),a=Object.create(null),s=t.startLineNumber;s<t.endLineNumber;s++)for(l=i.getLineWords(s,o),u=0,c=l;u<c.length;u++)d=c[u],isNaN(Number(d.word))&&(h=a[d.word],h||(h=[],a[d.word]=h),h.push({startLineNumber:s,startColumn:d.startColumn,endLineNumber:s,endColumn:d.endColumn}));return[2,a]}))}))},e.prototype.navigateValueSet=function(e,t,n,r,i){return _t(this,void 0,void 0,(function(){var o,a,s,l,u,c;return wt(this,(function(d){return o=this._getModel(e),o?(a=new RegExp(r,i),t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1}),s=o.getValueInRange(t),l=o.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a),l?(u=o.getValueInRange(l),c=yt.INSTANCE.navigateValueSet(t,s,l,u,n),[2,c]):[2,null]):[2,null]}))}))},e.prototype.loadForeignModule=function(e,t,n){var r=this,i=function(e,t){return r._host.fhr(e,t)},o=ke["b"](n,i),a={host:o,getMirrorModels:function(){return r._getModels()}};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(a,t),Promise.resolve(ke["c"](this._foreignModule))):Promise.reject(new Error("Unexpected usage"))},e.prototype.fmr=function(e,t){if(!this._foreignModule||"function"!==typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(n){return Promise.reject(n)}},e._diffLimit=1e5,e._suggestionsLimit=1e4,e}();"function"===typeof importScripts&&(Oe["b"].monaco=G());var St=n("G2kB"),Ot=n("Cg/j"),kt=Object(Ot["c"])("textResourceConfigurationService"),Et=Object(Ot["c"])("textResourcePropertiesService"),Dt=n("09fa"),Mt=n("5Y4S"),Nt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},It=function(e,t){return function(n,r){t(n,r,e)}},Tt=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Pt=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},At=6e4,Rt=3e5;function jt(e,t){var n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}var Ft=function(e){function t(t,n,r){var i=e.call(this)||this;return i._modelService=t,i._workerManager=i._register(new Vt(i._modelService)),i._logService=r,i._register(be["r"].register("*",{provideLinks:function(e,t){return jt(i._modelService,e.uri)?i._workerManager.withWorker().then((function(t){return t.computeLinks(e.uri)})).then((function(e){return e&&{links:e}})):Promise.resolve({links:[]})}})),i._register(be["d"].register("*",new Bt(i._workerManager,n,i._modelService))),i}return Nt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.canComputeDiff=function(e,t){return jt(this._modelService,e)&&jt(this._modelService,t)},t.prototype.computeDiff=function(e,t,n,r){return this._workerManager.withWorker().then((function(i){return i.computeDiff(e,t,n,r)}))},t.prototype.computeMoreMinimalEdits=function(e,t){var n=this;if(Object(Fe["q"])(t)){if(!jt(this._modelService,e))return Promise.resolve(t);var r=Mt["a"].create(!0),i=this._workerManager.withWorker().then((function(n){return n.computeMoreMinimalEdits(e,t)}));return i.finally((function(){return n._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),r.elapsed())})),i}return Promise.resolve(void 0)},t.prototype.canNavigateValueSet=function(e){return jt(this._modelService,e)},t.prototype.navigateValueSet=function(e,t,n){return this._workerManager.withWorker().then((function(r){return r.navigateValueSet(e,t,n)}))},t.prototype.canComputeWordRanges=function(e){return jt(this._modelService,e)},t.prototype.computeWordRanges=function(e,t){return this._workerManager.withWorker().then((function(n){return n.computeWordRanges(e,t)}))},t=Lt([It(0,St["a"]),It(1,kt),It(2,Dt["a"])],t),t}(de["a"]),Bt=function(){function e(e,t,n){this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=t,this._modelService=n}return e.prototype.provideCompletionItems=function(e,t){return Tt(this,void 0,void 0,(function(){var n,r,i,o,a,s;return Pt(this,(function(l){switch(l.label){case 0:return n=this._configurationService.getValue(e.uri,t,"editor").wordBasedSuggestions,n?jt(this._modelService,e.uri)?(r=e.getWordAtPosition(t),i=r?new W["a"](t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):W["a"].fromPositions(t),o=i.setEndPosition(t.lineNumber,t.column),[4,this._workerManager.withWorker()]):[2,void 0]:[2,void 0];case 1:return a=l.sent(),[4,a.textualSuggest(e.uri,t)];case 2:return s=l.sent(),s?[2,{suggestions:s.map((function(e){return{kind:18,label:e,insertText:e,range:{insert:o,replace:i}}}))}]:[2,void 0]}}))}))},e}(),Vt=function(e){function t(t){var n=e.call(this)||this;n._modelService=t,n._editorWorkerClient=null,n._lastWorkerUsedTime=(new Date).getTime();var r=n._register(new Ce["c"]);return r.cancelAndSet((function(){return n._checkStopIdleWorker()}),Math.round(Rt/2)),n._register(n._modelService.onModelRemoved((function(e){return n._checkStopEmptyWorker()}))),n}return Nt(t,e),t.prototype.dispose=function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),e.prototype.dispose.call(this)},t.prototype._checkStopEmptyWorker=function(){if(this._editorWorkerClient){var e=this._modelService.getModels();0===e.length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}},t.prototype._checkStopIdleWorker=function(){if(this._editorWorkerClient){var e=(new Date).getTime()-this._lastWorkerUsedTime;e>Rt&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}},t.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new Ut(this._modelService,!1,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},t}(de["a"]),zt=function(e){function t(t,n,r){var i=e.call(this)||this;if(i._syncedModels=Object.create(null),i._syncedModelsLastUsedTime=Object.create(null),i._proxy=t,i._modelService=n,!r){var o=new Ce["c"];o.cancelAndSet((function(){return i._checkStopModelSync()}),Math.round(At/2)),i._register(o)}return i}return Nt(t,e),t.prototype.dispose=function(){for(var t in this._syncedModels)Object(de["f"])(this._syncedModels[t]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),e.prototype.dispose.call(this)},t.prototype.ensureSyncedResources=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t],i=r.toString();this._syncedModels[i]||this._beginModelSync(r),this._syncedModels[i]&&(this._syncedModelsLastUsedTime[i]=(new Date).getTime())}},t.prototype._checkStopModelSync=function(){var e=(new Date).getTime(),t=[];for(var n in this._syncedModelsLastUsedTime){var r=e-this._syncedModelsLastUsedTime[n];r>At&&t.push(n)}for(var i=0,o=t;i<o.length;i++){var a=o[i];this._stopModelSync(a)}},t.prototype._beginModelSync=function(e){var t=this,n=this._modelService.getModel(e);if(n&&!n.isTooLargeForSyncing()){var r=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});var i=new de["b"];i.add(n.onDidChangeContent((function(e){t._proxy.acceptModelChanged(r.toString(),e)}))),i.add(n.onWillDispose((function(){t._stopModelSync(r)}))),i.add(Object(de["h"])((function(){t._proxy.acceptRemovedModel(r)}))),this._syncedModels[r]=i}},t.prototype._stopModelSync=function(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(de["f"])(t)},t}(de["a"]),Wt=function(){function e(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}return e.prototype.dispose=function(){this._instance.dispose()},e.prototype.getProxyObject=function(){return this._proxyObj},e}(),Ht=function(){function e(e){this._workerClient=e}return e.prototype.fhr=function(e,t){return this._workerClient.fhr(e,t)},e}(),Ut=function(e){function t(t,n,r){var i=e.call(this)||this;return i._modelService=t,i._keepIdleModels=n,i._workerFactory=new Re(r),i._worker=null,i._modelManager=null,i}return Nt(t,e),t.prototype.fhr=function(e,t){throw new Error("Not implemented!")},t.prototype._getOrCreateWorker=function(){if(!this._worker)try{this._worker=this._register(new Ie(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new Ht(this)))}catch(e){Ne(e),this._worker=new Wt(new Ct(new Ht(this),null))}return this._worker},t.prototype._getProxy=function(){var e=this;return this._getOrCreateWorker().getProxyObject().then(void 0,(function(t){return Ne(t),e._worker=new Wt(new Ct(new Ht(e),null)),e._getOrCreateWorker().getProxyObject()}))},t.prototype._getOrCreateModelManager=function(e){return this._modelManager||(this._modelManager=this._register(new zt(e,this._modelService,this._keepIdleModels))),this._modelManager},t.prototype._withSyncedResources=function(e){var t=this;return this._getProxy().then((function(n){return t._getOrCreateModelManager(n).ensureSyncedResources(e),n}))},t.prototype.computeDiff=function(e,t,n,r){return this._withSyncedResources([e,t]).then((function(i){return i.computeDiff(e.toString(),t.toString(),n,r)}))},t.prototype.computeMoreMinimalEdits=function(e,t){return this._withSyncedResources([e]).then((function(n){return n.computeMoreMinimalEdits(e.toString(),t)}))},t.prototype.computeLinks=function(e){return this._withSyncedResources([e]).then((function(t){return t.computeLinks(e.toString())}))},t.prototype.textualSuggest=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(r){var i=n._modelService.getModel(e);if(!i)return null;var o=je["a"].getWordDefinition(i.getLanguageIdentifier().id),a=o.source,s=Object(Ye["H"])(o);return r.textualSuggest(e.toString(),t,a,s)}))},t.prototype.computeWordRanges=function(e,t){var n=this;return this._withSyncedResources([e]).then((function(r){var i=n._modelService.getModel(e);if(!i)return Promise.resolve(null);var o=je["a"].getWordDefinition(i.getLanguageIdentifier().id),a=o.source,s=Object(Ye["H"])(o);return r.computeWordRanges(e.toString(),t,a,s)}))},t.prototype.navigateValueSet=function(e,t,n){var r=this;return this._withSyncedResources([e]).then((function(i){var o=r._modelService.getModel(e);if(!o)return null;var a=je["a"].getWordDefinition(o.getLanguageIdentifier().id),s=a.source,l=Object(Ye["H"])(a);return i.navigateValueSet(e.toString(),t,n,s,l)}))},t}(de["a"]),Kt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Gt(e,t){return new qt(e,t)}var qt=function(e){function t(t,n){var r=e.call(this,t,n.keepIdleModels||!1,n.label)||this;return r._foreignModuleId=n.moduleId,r._foreignModuleCreateData=n.createData||null,r._foreignModuleHost=n.host||null,r._foreignProxy=null,r}return Kt(t,e),t.prototype.fhr=function(e,t){if(!this._foreignModuleHost||"function"!==typeof this._foreignModuleHost[e])return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,t))}catch(n){return Promise.reject(n)}},t.prototype._getForeignProxy=function(){var e=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then((function(t){var n=e._foreignModuleHost?ke["c"](e._foreignModuleHost):[];return t.loadForeignModule(e._foreignModuleId,e._foreignModuleCreateData,n).then((function(n){e._foreignModuleCreateData=null;for(var r=function(e,n){return t.fmr(e,n)},i=function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)}},o={},a=0,s=n;a<s.length;a++){var l=s[a];o[l]=i(l,r)}return o}))}))),this._foreignProxy},t.prototype.getProxy=function(){return this._getForeignProxy()},t.prototype.withSyncedResources=function(e){var t=this;return this._withSyncedResources(e).then((function(e){return t.getProxy()}))},t}(Ut),Yt=n("4bUh"),Xt=n("baJR"),Zt=n("qNAo");function Qt(e){return Array.isArray(e)}function $t(e){return!Qt(e)}function Jt(e){return"string"===typeof e}function en(e){return!Jt(e)}function tn(e){return!e}function nn(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function rn(e){return e.replace(/[&<>'"_]/g,"-")}function on(e,t){console.log(e.languageId+": "+t)}function an(e,t){return new Error(e.languageId+": "+t)}function sn(e,t,n,r,i){var o=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,a=null;return t.replace(o,(function(t,o,s,l,u,c,d,h,f){return tn(s)?tn(l)?!tn(u)&&u<r.length?nn(e,r[u]):!tn(d)&&e&&"string"===typeof e[d]?e[d]:(null===a&&(a=i.split("."),a.unshift(i)),!tn(c)&&c<a.length?nn(e,a[c]):""):nn(e,n):"$"}))}function ln(e,t){var n=t;while(n&&n.length>0){var r=e.tokenizer[n];if(r)return r;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null}function un(e,t){var n=t;while(n&&n.length>0){var r=e.stateNames[n];if(r)return!0;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return!1}var cn=5,dn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new hn(e,t);var n=hn.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var r=this._entries[n];return r||(r=new hn(e,t),this._entries[n]=r,r)},e._INSTANCE=new e(cn),e}(),hn=function(){function e(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}return e.getStackElementId=function(e){var t="";while(null!==e)t.length>0&&(t+="|"),t+=e.state,e=e.parent;return t},e._equals=function(e,t){while(null!==e&&null!==t){if(e===t)return!0;if(e.state!==t.state)return!1;e=e.parent,t=t.parent}return null===e&&null===t},e.prototype.equals=function(t){return e._equals(this,t)},e.prototype.push=function(e){return dn.create(this,e)},e.prototype.pop=function(){return this.parent},e.prototype.popall=function(){var e=this;while(e.parent)e=e.parent;return e},e.prototype.switchTo=function(e){return dn.create(this.parent,e)},e}(),fn=function(){function e(e,t){this.modeId=e,this.state=t}return e.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},e.prototype.clone=function(){var t=this.state.clone();return t===this.state?this:new e(this.modeId,this.state)},e}(),pn=function(){function e(e){this._maxCacheDepth=e,this._entries=Object.create(null)}return e.create=function(e,t){return this._INSTANCE.create(e,t)},e.prototype.create=function(e,t){if(null!==t)return new gn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new gn(e,t);var n=hn.getStackElementId(e),r=this._entries[n];return r||(r=new gn(e,null),this._entries[n]=r,r)},e._INSTANCE=new e(cn),e}(),gn=function(){function e(e,t){this.stack=e,this.embeddedModeData=t}return e.prototype.clone=function(){var e=this.embeddedModeData?this.embeddedModeData.clone():null;return e===this.embeddedModeData?this:pn.create(this.stack,this.embeddedModeData)},e.prototype.equals=function(t){return t instanceof e&&(!!this.stack.equals(t.stack)&&(null===this.embeddedModeData&&null===t.embeddedModeData||null!==this.embeddedModeData&&null!==t.embeddedModeData&&this.embeddedModeData.equals(t.embeddedModeData)))},e}(),mn=function(){function e(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}return e.prototype.enterMode=function(e,t){this._language=t},e.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new U["a"](e,t,this._language)))},e.prototype.nestedModeTokenize=function(e,t,n){var r=t.modeId,i=t.state,o=be["y"].get(r);if(!o)return this.enterMode(n,r),this.emit(n,""),i;var a=o.tokenize(e,i,n);return this._tokens=this._tokens.concat(a.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,a.endState},e.prototype.finalize=function(e){return new U["b"](this._tokens,e)},e}(),vn=function(){function e(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}return e.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},e.prototype.emit=function(e,t){var n=this._theme.match(this._currentLanguageId,t);this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))},e._merge=function(e,t,n){var r=null!==e?e.length:0,i=t.length,o=null!==n?n.length:0;if(0===r&&0===i&&0===o)return new Uint32Array(0);if(0===r&&0===i)return n;if(0===i&&0===o)return e;var a=new Uint32Array(r+i+o);null!==e&&a.set(e);for(var s=0;s<i;s++)a[r+s]=t[s];return null!==n&&a.set(n,r+i),a},e.prototype.nestedModeTokenize=function(t,n,r){var i=n.modeId,o=n.state,a=be["y"].get(i);if(!a)return this.enterMode(r,i),this.emit(r,""),o;var s=a.tokenize2(t,o,r);return this._prependTokens=e._merge(this._prependTokens,this._tokens,s.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,s.endState},e.prototype.finalize=function(t){return new U["c"](e._merge(this._prependTokens,this._tokens,null),t)},e}(),yn=function(){function e(e,t,n,r){var i=this;this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=r,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var o=!1;this._tokenizationRegistryListener=be["y"].onDidChange((function(e){if(!o){for(var t=!1,n=0,r=e.changedLanguages.length;n<r;n++){var a=e.changedLanguages[n];if(i._embeddedModes[a]){t=!0;break}}t&&(o=!0,be["y"].fire([i._modeId]),o=!1)}}))}return e.prototype.dispose=function(){this._tokenizationRegistryListener.dispose()},e.prototype.getLoadStatus=function(){var t=[];for(var n in this._embeddedModes){var r=be["y"].get(n);if(r){if(r instanceof e){var i=r.getLoadStatus();!1===i.loaded&&t.push(i.promise)}}else{var o=be["y"].getPromise(n);o&&t.push(o)}}return 0===t.length?{loaded:!0}:{loaded:!1,promise:Promise.all(t).then((function(e){}))}},e.prototype.getInitialState=function(){var e=dn.create(null,this._lexer.start);return pn.create(e,null)},e.prototype.tokenize=function(e,t,n){var r=new mn,i=this._tokenize(e,t,n,r);return r.finalize(i)},e.prototype.tokenize2=function(e,t,n){var r=new vn(this._modeService,this._standaloneThemeService.getTheme().tokenTheme),i=this._tokenize(e,t,n,r);return r.finalize(i)},e.prototype._tokenize=function(e,t,n,r){return t.embeddedModeData?this._nestedTokenize(e,t,n,r):this._myTokenize(e,t,n,r)},e.prototype._findLeavingNestedModeOffset=function(e,t){var n=this._lexer.tokenizer[t.stack.state];if(!n&&(n=ln(this._lexer,t.stack.state),!n))throw an(this._lexer,"tokenizer state is not defined: "+t.stack.state);for(var r=-1,i=!1,o=0,a=n;o<a.length;o++){var s=a[o];if(en(s.action)&&"@pop"===s.action.nextEmbedded){i=!0;var l=s.regex,u=s.regex.source;"^(?:"===u.substr(0,4)&&")"===u.substr(u.length-1,1)&&(l=new RegExp(u.substr(4,u.length-5),l.ignoreCase?"i":""));var c=e.search(l);-1===c||0!==c&&s.matchOnlyAtLineStart||(-1===r||c<r)&&(r=c)}}if(!i)throw an(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return r},e.prototype._nestedTokenize=function(e,t,n,r){var i=this._findLeavingNestedModeOffset(e,t);if(-1===i){var o=r.nestedModeTokenize(e,t.embeddedModeData,n);return pn.create(t.stack,new fn(t.embeddedModeData.modeId,o))}var a=e.substring(0,i);a.length>0&&r.nestedModeTokenize(a,t.embeddedModeData,n);var s=e.substring(i);return this._myTokenize(s,t,n+i,r)},e.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},e.prototype._myTokenize=function(e,t,n,r){r.enterMode(n,this._modeId);var i=e.length,o=t.embeddedModeData,a=t.stack,s=0,l=null,u=!0;while(u||s<i){var c=s,d=a.depth,h=l?l.groups.length:0,f=a.state,p=null,g=null,m=null,v=null,y=null;if(l){p=l.matches;var b=l.groups.shift();g=b.matched,m=b.action,v=l.rule,0===l.groups.length&&(l=null)}else{if(!u&&s>=i)break;u=!1;var _=this._lexer.tokenizer[f];if(!_&&(_=ln(this._lexer,f),!_))throw an(this._lexer,"tokenizer state is not defined: "+f);for(var w=e.substr(s),x=0,C=_;x<C.length;x++){var S=C[x];if((0===s||!S.matchOnlyAtLineStart)&&(p=w.match(S.regex),p)){g=p[0],m=S.action;break}}}if(p||(p=[""],g=""),m||(s<i&&(p=[e.charAt(s)],g=p[0]),m=this._lexer.defaultToken),null===g)break;s+=g.length;while($t(m)&&en(m)&&m.test)m=m.test(g,p,f,s===i);var O=null;if("string"===typeof m||Array.isArray(m))O=m;else if(m.group)O=m.group;else if(null!==m.token&&void 0!==m.token){if(O=m.tokenSubst?sn(this._lexer,m.token,g,p,f):m.token,m.nextEmbedded)if("@pop"===m.nextEmbedded){if(!o)throw an(this._lexer,"cannot pop embedded mode if not inside one");o=null}else{if(o)throw an(this._lexer,"cannot enter embedded mode from within an embedded mode");y=sn(this._lexer,m.nextEmbedded,g,p,f)}if(m.goBack&&(s=Math.max(0,s-m.goBack)),m.switchTo&&"string"===typeof m.switchTo){var k=sn(this._lexer,m.switchTo,g,p,f);if("@"===k[0]&&(k=k.substr(1)),!ln(this._lexer,k))throw an(this._lexer,"trying to switch to a state '"+k+"' that is undefined in rule: "+this._safeRuleName(v));a=a.switchTo(k)}else{if(m.transform&&"function"===typeof m.transform)throw an(this._lexer,"action.transform not supported");if(m.next)if("@push"===m.next){if(a.depth>=this._lexer.maxStack)throw an(this._lexer,"maximum tokenizer stack size reached: ["+a.state+","+a.parent.state+",...]");a=a.push(f)}else if("@pop"===m.next){if(a.depth<=1)throw an(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(v));a=a.pop()}else if("@popall"===m.next)a=a.popall();else{k=sn(this._lexer,m.next,g,p,f);if("@"===k[0]&&(k=k.substr(1)),!ln(this._lexer,k))throw an(this._lexer,"trying to set a next state '"+k+"' that is undefined in rule: "+this._safeRuleName(v));a=a.push(k)}}m.log&&"string"===typeof m.log&&on(this._lexer,this._lexer.languageId+": "+sn(this._lexer,m.log,g,p,f))}if(null===O)throw an(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(v));if(Array.isArray(O)){if(l&&l.groups.length>0)throw an(this._lexer,"groups cannot be nested: "+this._safeRuleName(v));if(p.length!==O.length+1)throw an(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(v));for(var E=0,D=1;D<p.length;D++)E+=p[D].length;if(E!==g.length)throw an(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(v));l={rule:v,matches:p,groups:[]};for(D=0;D<O.length;D++)l.groups[D]={action:O[D],matched:p[D+1]};s-=g.length}else{if("@rematch"===O&&(s-=g.length,g="",p=null,O=""),0===g.length){if(0===i||d!==a.depth||f!==a.state||(l?l.groups.length:0)!==h)continue;throw an(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(v))}var M=null;if(Jt(O)&&0===O.indexOf("@brackets")){var N=O.substr("@brackets".length),L=bn(this._lexer,g);if(!L)throw an(this._lexer,"@brackets token returned but no bracket defined as: "+g);M=rn(L.token+N)}else{var I=""===O?"":O+this._lexer.tokenPostfix;M=rn(I)}if(r.emit(c+n,M),null!==y){var T=this._modeService.getModeIdForLanguageName(y);T&&(y=T);var P=this._getNestedEmbeddedModeData(y);if(s<i){w=e.substr(s);return this._nestedTokenize(w,pn.create(a,P),n+s,r)}return pn.create(a,P)}}}return pn.create(a,o)},e.prototype._getNestedEmbeddedModeData=function(e){var t=this._locateMode(e);if(t){var n=be["y"].get(t);if(n)return new fn(t,n.getInitialState())}return new fn(t||_e["b"],_e["c"])},e.prototype._locateMode=function(e){if(!e||!this._modeService.isRegisteredMode(e))return null;if(e===this._modeId)return e;var t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t},e}();function bn(e,t){if(!t)return null;t=nn(e,t);for(var n=e.brackets,r=0,i=n;r<i.length;r++){var o=i[r];if(o.open===t)return{token:o.token,bracketType:1};if(o.close===t)return{token:o.token,bracketType:-1}}return null}function _n(e,t,n,r){return new yn(e,t,n,r)}var wn=function(){function e(){}return e.colorizeElement=function(e,t,n,r){r=r||{};var i=r.theme||"vs",o=r.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!o)return console.error("Mode not detected"),Promise.resolve();e.setTheme(i);var a=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+i;var s=function(e){n.innerHTML=e};return this.colorize(t,a||"",o,r).then(s,(function(e){return console.error(e)}))},e.colorize=function(e,t,n,r){var i=4;r&&"number"===typeof r.tabSize&&(i=r.tabSize),Ye["O"](t)&&(t=t.substr(1));var o=t.split(/\r\n|\r|\n/),a=e.getModeId(n);if(!a)return Promise.resolve(Cn(o,i));e.triggerMode(a);var s=be["y"].get(a);if(s)return xn(o,i,s);var l=be["y"].getPromise(a);return new Promise(l?function(e,t){l.then((function(n){xn(o,i,n).then(e,t)}),t)}:function(e,t){var n=null,r=null,s=function(){n&&(n.dispose(),n=null),r&&(r.dispose(),r=null);var s=be["y"].get(a);s?xn(o,i,s).then(e,t):e(Cn(o,i))};r=new Ce["e"],r.cancelAndSet(s,500),n=be["y"].onDidChange((function(e){e.changedLanguages.indexOf(a)>=0&&s()}))})},e.colorizeLine=function(e,t,n,r,i){void 0===i&&(i=4);var o=Zt["d"].isBasicASCII(e,t),a=Zt["d"].containsRTL(e,o,n),s=Object(Xt["e"])(new Xt["c"](!1,!0,e,!1,o,a,0,r,[],i,0,0,0,-1,"none",!1,!1,null));return s.html},e.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var r=e.getLineContent(t);e.forceTokenization(t);var i=e.getLineTokens(t),o=i.inflate();return this.colorizeLine(r,e.mightContainNonBasicASCII(),e.mightContainRTL(),o,n)},e}();function xn(e,t,n){return new Promise((function(r,i){var o=function(){var a=Sn(e,t,n);if(n instanceof yn){var s=n.getLoadStatus();if(!1===s.loaded)return void s.promise.then(o,i)}r(a)};o()}))}function Cn(e,t){var n=[],r=16793600,i=new Uint32Array(2);i[0]=0,i[1]=r;for(var o=0,a=e.length;o<a;o++){var s=e[o];i[0]=s.length;var l=new Yt["a"](i,s),u=Zt["d"].isBasicASCII(s,!0),c=Zt["d"].containsRTL(s,u,!0),d=Object(Xt["e"])(new Xt["c"](!1,!0,s,!1,u,c,0,l,[],t,0,0,0,-1,"none",!1,!1,null));n=n.concat(d.html),n.push("<br/>")}return n.join("")}function Sn(e,t,n){for(var r=[],i=n.getInitialState(),o=0,a=e.length;o<a;o++){var s=e[o],l=n.tokenize2(s,i,0);Yt["a"].convertToEndOffset(l.tokens,s.length);var u=new Yt["a"](l.tokens,s),c=Zt["d"].isBasicASCII(s,!0),d=Zt["d"].containsRTL(s,c,!0),h=Object(Xt["e"])(new Xt["c"](!1,!0,s,!1,c,d,0,u.inflate(),[],t,0,0,0,-1,"none",!1,!1,null));r=r.concat(h.html),r.push("<br/>"),i=l.endState}return r.join("")}var On=n("uDWl"),kn=n("S3by"),En=n("sFUC"),Dn=n("iDAx"),Mn=n("0/Sa"),Nn=n("+7oY"),Ln=n("QDVR"),In=n("CRAX"),Tn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},An=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===n&&(n=[]),this._contents=e,this._keys=t,this._overrides=n,this.isFrozen=!1}return Object.defineProperty(e.prototype,"contents",{get:function(){return this.checkAndFreeze(this._contents)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overrides",{get:function(){return this.checkAndFreeze(this._overrides)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.checkAndFreeze(this._keys)},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return 0===this._keys.length&&0===Object.keys(this._contents).length&&0===this._overrides.length},e.prototype.getValue=function(e){return e?Object(Nn["d"])(this.contents,e):this.contents},e.prototype.getOverrideValue=function(e,t){var n=this.getContentsForOverrideIdentifer(t);return n?e?Object(Nn["d"])(n,e):n:void 0},e.prototype.override=function(t){var n=this.getContentsForOverrideIdentifer(t);if(!n||"object"!==typeof n||!Object.keys(n).length)return this;for(var r={},i=0,o=Fe["e"](Pn(Object.keys(this.contents),Object.keys(n)));i<o.length;i++){var a=o[i],s=this.contents[a],l=n[a];l&&("object"===typeof s&&"object"===typeof l?(s=he["c"](s),this.mergeContents(s,l)):s=l),r[a]=s}return new e(r,this.keys,this.overrides)},e.prototype.merge=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=he["c"](this.contents),i=he["c"](this.overrides),o=Pn(this.keys),a=0,s=t;a<s.length;a++){var l=s[a];this.mergeContents(r,l.contents);for(var u=function(e){var t=i.filter((function(t){return Fe["g"](t.identifiers,e.identifiers)}))[0];t?c.mergeContents(t.contents,e.contents):i.push(he["c"](e))},c=this,d=0,h=l.overrides;d<h.length;d++){var f=h[d];u(f)}for(var p=0,g=l.keys;p<g.length;p++){var m=g[p];-1===o.indexOf(m)&&o.push(m)}}return new e(r,o,i)},e.prototype.freeze=function(){return this.isFrozen=!0,this},e.prototype.mergeContents=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];i in e&&ke["i"](e[i])&&ke["i"](t[i])?this.mergeContents(e[i],t[i]):e[i]=he["c"](t[i])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?he["d"](e):e},e.prototype.getContentsForOverrideIdentifer=function(e){for(var t=0,n=this.overrides;t<n.length;t++){var r=n[t];if(-1!==r.identifiers.indexOf(e))return r.contents}return null},e.prototype.toJSON=function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}},e.prototype.setValue=function(e,t){this.addKey(e),Object(Nn["b"])(this.contents,e,t,(function(e){throw new Error(e)}))},e.prototype.removeValue=function(e){this.removeKey(e)&&Object(Nn["h"])(this.contents,e)},e.prototype.addKey=function(e){for(var t=this.keys.length,n=0;n<t;n++)0===e.indexOf(this.keys[n])&&(t=n);this.keys.splice(t,1,e)},e.prototype.removeKey=function(e){var t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)},e}(),Rn=function(e){function t(){for(var t=this,n=Object(Nn["e"])(),r=Object(Nn["c"])(),i=[],o=0,a=Object.keys(n);o<a.length;o++){var s=a[o];In["b"].test(s)&&i.push({identifiers:[Object(Nn["g"])(s).trim()],keys:Object.keys(n[s]),contents:Object(Nn["i"])(n[s],(function(e){return console.error("Conflict in default settings file: "+e)}))})}return t=e.call(this,n,r,i)||this,t}return Tn(t,e),t}(An),jn=function(){function e(e,t,n,r,i,o,a,s){void 0===n&&(n=new An),void 0===r&&(r=new An),void 0===i&&(i=new Ln["b"]),void 0===o&&(o=new An),void 0===a&&(a=new Ln["b"]),void 0===s&&(s=!0),this._defaultConfiguration=e,this._localUserConfiguration=t,this._remoteUserConfiguration=n,this._workspaceConfiguration=r,this._folderConfigurations=i,this._memoryConfiguration=o,this._memoryConfigurationByResource=a,this._freeze=s,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new Ln["b"],this._userConfiguration=null}return e.prototype.getValue=function(e,t,n){var r=this.getConsolidateConfigurationModel(t,n);return r.getValue(e)},e.prototype.updateValue=function(e,t,n){var r;void 0===n&&(n={}),n.resource?(r=this._memoryConfigurationByResource.get(n.resource),r||(r=new An,this._memoryConfigurationByResource.set(n.resource,r))):r=this._memoryConfiguration,void 0===t?r.removeValue(e):r.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)},e.prototype.inspect=function(e,t,n){var r=this.getConsolidateConfigurationModel(t,n),i=this.getFolderConfigurationModelForResource(t.resource,n),o=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration,a=t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),s=t.overrideIdentifier?this.userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.userConfiguration.freeze().getValue(e),l=t.overrideIdentifier?this.localUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.localUserConfiguration.freeze().getValue(e),u=t.overrideIdentifier?this.remoteUserConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this.remoteUserConfiguration.freeze().getValue(e),c=n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,d=i?t.overrideIdentifier?i.freeze().override(t.overrideIdentifier).getValue(e):i.freeze().getValue(e):void 0,h=t.overrideIdentifier?o.override(t.overrideIdentifier).getValue(e):o.getValue(e),f=r.getValue(e),p=Fe["e"](Fe["m"](r.overrides.map((function(e){return e.identifiers})))).filter((function(t){return void 0!==r.getOverrideValue(e,t)}));return{defaultValue:a,userValue:s,userLocalValue:l,userRemoteValue:u,workspaceValue:c,workspaceFolderValue:d,memoryValue:h,value:f,default:void 0!==a?{value:this._defaultConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._defaultConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,user:void 0!==s?{value:this.userConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.userConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userLocal:void 0!==l?{value:this.localUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.localUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,userRemote:void 0!==u?{value:this.remoteUserConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this.remoteUserConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspace:void 0!==c?{value:this._workspaceConfiguration.freeze().getValue(e),override:t.overrideIdentifier?this._workspaceConfiguration.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,workspaceFolder:void 0!==d?{value:null===i||void 0===i?void 0:i.freeze().getValue(e),override:t.overrideIdentifier?null===i||void 0===i?void 0:i.freeze().getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,memory:void 0!==h?{value:o.getValue(e),override:t.overrideIdentifier?o.getOverrideValue(e,t.overrideIdentifier):void 0}:void 0,overrideIdentifiers:p.length?p:void 0}},Object.defineProperty(e.prototype,"userConfiguration",{get:function(){return this._userConfiguration||(this._userConfiguration=this._remoteUserConfiguration.isEmpty()?this._localUserConfiguration:this._localUserConfiguration.merge(this._remoteUserConfiguration),this._freeze&&this._userConfiguration.freeze()),this._userConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"localUserConfiguration",{get:function(){return this._localUserConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"remoteUserConfiguration",{get:function(){return this._remoteUserConfiguration},enumerable:!0,configurable:!0}),e.prototype.getConsolidateConfigurationModel=function(e,t){var n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n},e.prototype.getConsolidatedConfigurationModelForResource=function(e,t){var n=e.resource,r=this.getWorkspaceConsolidatedConfiguration();if(t&&n){var i=t.getFolder(n);i&&(r=this.getFolderConsolidatedConfiguration(i.uri)||r);var o=this._memoryConfigurationByResource.get(n);o&&(r=r.merge(o))}return r},e.prototype.getWorkspaceConsolidatedConfiguration=function(){return this._workspaceConsolidatedConfiguration||(this._workspaceConsolidatedConfiguration=this._defaultConfiguration.merge(this.userConfiguration,this._workspaceConfiguration,this._memoryConfiguration),this._freeze&&(this._workspaceConfiguration=this._workspaceConfiguration.freeze())),this._workspaceConsolidatedConfiguration},e.prototype.getFolderConsolidatedConfiguration=function(e){var t=this._foldersConsolidatedConfigurations.get(e);if(!t){var n=this.getWorkspaceConsolidatedConfiguration(),r=this._folderConfigurations.get(e);r?(t=n.merge(r),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t},e.prototype.getFolderConfigurationModelForResource=function(e,t){if(t&&e){var n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)}},e}(),Fn=n("3/fG"),Bn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Vn=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._contextKeyService=t,o._commandService=n,o._telemetryService=r,o._notificationService=i,o._onDidUpdateKeybindings=o._register(new F["a"]),o._currentChord=null,o._currentChordChecker=new Ce["c"],o._currentChordStatusMessage=null,o}return Bn(t,e),Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:F["b"].None},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getKeybindings=function(){return this._getResolver().getKeybindings()},t.prototype.lookupKeybinding=function(e){var t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding},t.prototype.softDispatch=function(e,t){var n=this.resolveKeyboardEvent(e);if(n.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),null;var r=n.getDispatchParts()[0];if(null===r)return null;var i=this._contextKeyService.getContext(t),o=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(i,o,r)},t.prototype._enterChordMode=function(e,t){var n=this;this._currentChord={keypress:e,label:t},this._currentChordStatusMessage=this._notificationService.status(Fn["a"]("first.chord","({0}) was pressed. Waiting for second key of chord...",t));var r=Date.now();this._currentChordChecker.cancelAndSet((function(){n._documentHasFocus()?Date.now()-r>5e3&&n._leaveChordMode():n._leaveChordMode()}),500)},t.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},t.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},t.prototype._doDispatch=function(e,t){var n=this,r=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var i=e.getDispatchParts()[0];if(null===i)return r;var o=this._contextKeyService.getContext(t),a=this._currentChord?this._currentChord.keypress:null,s=e.getLabel(),l=this._getResolver().resolve(o,a,i);return l&&l.enterChord?(r=!0,this._enterChordMode(i,s),r):(this._currentChord&&(l&&l.commandId||(this._notificationService.status(Fn["a"]("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),{hideAfter:1e4}),r=!0)),this._leaveChordMode(),l&&l.commandId&&(l.bubble||(r=!0),"undefined"===typeof l.commandArgs?this._commandService.executeCommand(l.commandId).then(void 0,(function(e){return n._notificationService.warn(e)})):this._commandService.executeCommand(l.commandId,l.commandArgs).then(void 0,(function(e){return n._notificationService.warn(e)})),this._telemetryService.publicLog2("workbenchActionExecuted",{id:l.commandId,from:"keybinding"})),r)},t.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30)},t}(de["a"]),zn=n("T8No"),Wn=function(){function e(t,n){this._defaultKeybindings=t,this._defaultBoundCommands=new Map;for(var r=0,i=t.length;r<i;r++){var o=t[r].command;o&&this._defaultBoundCommands.set(o,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=e.combine(t,n);for(r=0,i=this._keybindings.length;r<i;r++){var a=this._keybindings[r];0!==a.keypressParts.length&&this._addKeyPress(a.keypressParts[0],a)}}return e._isTargetedForRemoval=function(e,t,n,r,i){if(e.command!==r)return!1;if(t&&e.keypressParts[0]!==t)return!1;if(n&&e.keypressParts[1]!==n)return!1;if(i){if(!e.when)return!1;if(!i.equals(e.when))return!1}return!0},e.combine=function(e,t){e=e.slice(0);for(var n=[],r=0,i=t;r<i.length;r++){var o=i[r];if(o.command&&0!==o.command.length&&"-"===o.command.charAt(0))for(var a=o.command.substr(1),s=o.keypressParts[0],l=o.keypressParts[1],u=o.when,c=e.length-1;c>=0;c--)this._isTargetedForRemoval(e[c],s,l,a,u)&&e.splice(c,1);else n.push(o)}return e.concat(n)},e.prototype._addKeyPress=function(t,n){var r=this._map.get(t);if("undefined"===typeof r)return this._map.set(t,[n]),void this._addToLookupMap(n);for(var i=r.length-1;i>=0;i--){var o=r[i];if(o.command!==n.command){var a=o.keypressParts.length>1,s=n.keypressParts.length>1;a&&s&&o.keypressParts[1]!==n.keypressParts[1]||e.whenIsEntirelyIncluded(o.when,n.when)&&this._removeFromLookupMap(o)}}r.push(n),this._addToLookupMap(n)},e.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);"undefined"===typeof t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},e.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if("undefined"!==typeof t)for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return void t.splice(n,1)}},e.whenIsEntirelyIncluded=function(e,t){return!t||!!e&&this._implies(e,t)},e._implies=function(e,t){for(var n=e.negate(),r=function(e){return e instanceof zn["b"]?e.expr:[e]},i=r(n).concat(r(t)),o=0;o<i.length;o++)for(var a=i[o],s=a.negate(),l=o+1;l<i.length;l++){var u=i[l];if(s.equals(u))return!0}return!1},e.prototype.getKeybindings=function(){return this._keybindings},e.prototype.lookupPrimaryKeybinding=function(e){var t=this._lookupMap.get(e);return"undefined"===typeof t||0===t.length?null:t[t.length-1]},e.prototype.resolve=function(e,t,n){var r=null;if(null!==t){var i=this._map.get(t);if("undefined"===typeof i)return null;r=[];for(var o=0,a=i.length;o<a;o++){var s=i[o];s.keypressParts[1]===n&&r.push(s)}}else{i=this._map.get(n);if("undefined"===typeof i)return null;r=i}var l=this._findCommand(e,r);return l?null===t&&l.keypressParts.length>1&&null!==l.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:l.command,commandArgs:l.commandArgs,bubble:l.bubble}:null},e.prototype._findCommand=function(t,n){for(var r=n.length-1;r>=0;r--){var i=n[r];if(e.contextMatchesRules(t,i.when))return i}return null},e.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},e}(),Hn=n("nrhi"),Un=function(){function e(e,t,n,r,i){this.resolvedKeybinding=e,this.keypressParts=e?Kn(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=r,this.isDefault=i}return e}();function Kn(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];if(!i)return t;t.push(i)}return t}var Gn=function(){function e(e,t,n){void 0===n&&(n=t),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}return e.prototype.toLabel=function(e,t,n){if(0===t.length)return null;for(var r=[],i=0,o=t.length;i<o;i++){var a=t[i],s=n(a);if(null===s)return null;r[i]=Xn(a,s,this.modifierLabels[e])}return r.join(" ")},e}(),qn=new Gn({ctrlKey:"\u2303",shiftKey:"\u21e7",altKey:"\u2325",metaKey:"\u2318",separator:""},{ctrlKey:Fn["a"]({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Fn["a"]({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Fn["a"]({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Fn["a"]({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Fn["a"]({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:Fn["a"]({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:Fn["a"]({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:Fn["a"]({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),Yn=new Gn({ctrlKey:Fn["a"]({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Fn["a"]({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Fn["a"]({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Fn["a"]({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:Fn["a"]({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Fn["a"]({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Fn["a"]({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Fn["a"]({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:Fn["a"]({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:Fn["a"]({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:Fn["a"]({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:Fn["a"]({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function Xn(e,t,n){if(null===t)return"";var r=[];return e.ctrlKey&&r.push(n.ctrlKey),e.shiftKey&&r.push(n.shiftKey),e.altKey&&r.push(n.altKey),e.metaKey&&r.push(n.metaKey),r.push(t),r.join(n.separator)}var Zn,Qn,$n,Jn,er,tr,nr,rr,ir=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),or=function(e){function t(t,n){var r=e.call(this)||this;if(0===n.length)throw Object(Se["b"])("parts");return r._os=t,r._parts=n,r}return ir(t,e),t.prototype.getLabel=function(){var e=this;return qn.toLabel(this._os,this._parts,(function(t){return e._getLabel(t)}))},t.prototype.getAriaLabel=function(){var e=this;return Yn.toLabel(this._os,this._parts,(function(t){return e._getAriaLabel(t)}))},t.prototype.isChord=function(){return this._parts.length>1},t.prototype.getParts=function(){var e=this;return this._parts.map((function(t){return e._getPart(t)}))},t.prototype._getPart=function(e){return new B["d"](e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},t.prototype.getDispatchParts=function(){var e=this;return this._parts.map((function(t){return e._getDispatchPart(t)}))},t}(B["c"]),ar=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),sr=function(e){function t(t,n){return e.call(this,n,t.parts)||this}return ar(t,e),t.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"\u2190";case 16:return"\u2191";case 17:return"\u2192";case 18:return"\u2193"}return B["b"].toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":B["b"].toString(e.keyCode)},t.prototype._getDispatchPart=function(e){return t.getDispatchStr(e)},t.getDispatchStr=function(e){if(e.isModifierKey())return null;var t="";return e.ctrlKey&&(t+="ctrl+"),e.shiftKey&&(t+="shift+"),e.altKey&&(t+="alt+"),e.metaKey&&(t+="meta+"),t+=B["b"].toString(e.keyCode),t},t}(or),lr=n("sM1p"),ur=n("EWX2");(function(e){e.noSelection=Fn["a"]("noSelection","No selection"),e.singleSelectionRange=Fn["a"]("singleSelectionRange","Line {0}, Column {1} ({2} selected)"),e.singleSelection=Fn["a"]("singleSelection","Line {0}, Column {1}"),e.multiSelectionRange=Fn["a"]("multiSelectionRange","{0} selections ({1} characters selected)"),e.multiSelection=Fn["a"]("multiSelection","{0} selections"),e.emergencyConfOn=Fn["a"]("emergencyConfOn","Now changing the setting `accessibilitySupport` to 'on'."),e.openingDocs=Fn["a"]("openingDocs","Now opening the Editor Accessibility documentation page."),e.readonlyDiffEditor=Fn["a"]("readonlyDiffEditor"," in a read-only pane of a diff editor."),e.editableDiffEditor=Fn["a"]("editableDiffEditor"," in a pane of a diff editor."),e.readonlyEditor=Fn["a"]("readonlyEditor"," in a read-only code editor"),e.editableEditor=Fn["a"]("editableEditor"," in a code editor"),e.changeConfigToOnMac=Fn["a"]("changeConfigToOnMac","To configure the editor to be optimized for usage with a Screen Reader press Command+E now."),e.changeConfigToOnWinLinux=Fn["a"]("changeConfigToOnWinLinux","To configure the editor to be optimized for usage with a Screen Reader press Control+E now."),e.auto_on=Fn["a"]("auto_on","The editor is configured to be optimized for usage with a Screen Reader."),e.auto_off=Fn["a"]("auto_off","The editor is configured to never be optimized for usage with a Screen Reader, which is not the case at this time."),e.tabFocusModeOnMsg=Fn["a"]("tabFocusModeOnMsg","Pressing Tab in the current editor will move focus to the next focusable element. Toggle this behavior by pressing {0}."),e.tabFocusModeOnMsgNoKb=Fn["a"]("tabFocusModeOnMsgNoKb","Pressing Tab in the current editor will move focus to the next focusable element. The command {0} is currently not triggerable by a keybinding."),e.tabFocusModeOffMsg=Fn["a"]("tabFocusModeOffMsg","Pressing Tab in the current editor will insert the tab character. Toggle this behavior by pressing {0}."),e.tabFocusModeOffMsgNoKb=Fn["a"]("tabFocusModeOffMsgNoKb","Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding."),e.openDocMac=Fn["a"]("openDocMac","Press Command+H now to open a browser window with more information related to editor accessibility."),e.openDocWinLinux=Fn["a"]("openDocWinLinux","Press Control+H now to open a browser window with more information related to editor accessibility."),e.outroMsg=Fn["a"]("outroMsg","You can dismiss this tooltip and return to the editor by pressing Escape or Shift+Escape."),e.showAccessibilityHelpAction=Fn["a"]("showAccessibilityHelpAction","Show Accessibility Help")})(Zn||(Zn={})),function(e){e.inspectTokensAction=Fn["a"]("inspectTokens","Developer: Inspect Tokens")}(Qn||(Qn={})),function(e){e.gotoLineLabelValidLineAndColumn=Fn["a"]("gotoLineLabelValidLineAndColumn","Go to line {0} and character {1}"),e.gotoLineLabelValidLine=Fn["a"]("gotoLineLabelValidLine","Go to line {0}"),e.gotoLineLabelEmptyWithLineLimit=Fn["a"]("gotoLineLabelEmptyWithLineLimit","Type a line number between 1 and {0} to navigate to"),e.gotoLineLabelEmptyWithLineAndColumnLimit=Fn["a"]("gotoLineLabelEmptyWithLineAndColumnLimit","Type a character between 1 and {0} to navigate to"),e.gotoLineAriaLabel=Fn["a"]("gotoLineAriaLabel","Current Line: {0}. Go to line {1}."),e.gotoLineActionInput=Fn["a"]("gotoLineActionInput","Type a line number, followed by an optional colon and a character number to navigate to"),e.gotoLineActionLabel=Fn["a"]("gotoLineActionLabel","Go to Line...")}($n||($n={})),function(e){e.ariaLabelEntryWithKey=Fn["a"]("ariaLabelEntryWithKey","{0}, {1}, commands"),e.ariaLabelEntry=Fn["a"]("ariaLabelEntry","{0}, commands"),e.quickCommandActionInput=Fn["a"]("quickCommandActionInput","Type the name of an action you want to execute"),e.quickCommandActionLabel=Fn["a"]("quickCommandActionLabel","Command Palette")}(Jn||(Jn={})),function(e){e.entryAriaLabel=Fn["a"]("entryAriaLabel","{0}, symbols"),e.quickOutlineActionInput=Fn["a"]("quickOutlineActionInput","Type the name of an identifier you wish to navigate to"),e.quickOutlineActionLabel=Fn["a"]("quickOutlineActionLabel","Go to Symbol..."),e._symbols_=Fn["a"]("symbols","symbols ({0})"),e._modules_=Fn["a"]("modules","modules ({0})"),e._class_=Fn["a"]("class","classes ({0})"),e._interface_=Fn["a"]("interface","interfaces ({0})"),e._method_=Fn["a"]("method","methods ({0})"),e._function_=Fn["a"]("function","functions ({0})"),e._property_=Fn["a"]("property","properties ({0})"),e._variable_=Fn["a"]("variable","variables ({0})"),e._variable2_=Fn["a"]("variable2","variables ({0})"),e._constructor_=Fn["a"]("_constructor","constructors ({0})"),e._call_=Fn["a"]("call","calls ({0})")}(er||(er={})),function(e){e.editorViewAccessibleLabel=Fn["a"]("editorViewAccessibleLabel","Editor content"),e.accessibilityHelpMessageIE=Fn["a"]("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."),e.accessibilityHelpMessage=Fn["a"]("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")}(tr||(tr={})),function(e){e.toggleHighContrast=Fn["a"]("toggleHighContrast","Toggle High Contrast Theme")}(nr||(nr={})),function(e){e.bulkEditServiceSummary=Fn["a"]("bulkEditServiceSummary","Made {0} edits in {1} files")}(rr||(rr={}));var cr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),dr=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},hr=function(e,t){return function(n,r){t(n,r,e)}},fr=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},pr=function(){function e(e){this.model=e,this._onDispose=new F["a"]}return Object.defineProperty(e.prototype,"textEditorModel",{get:function(){return this.model},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose.fire()},e}();function gr(e,t,n){return Object(En["a"])(e)?t(e):n(e)}var mr=function(){function e(e){this.modelService=e}return e.prototype.setEditor=function(e){this.editor=e},e.prototype.createModelReference=function(e){var t=this,n=null;return this.editor&&(n=gr(this.editor,(function(n){return t.findModel(n,e)}),(function(n){return t.findModel(n.getOriginalEditor(),e)||t.findModel(n.getModifiedEditor(),e)}))),n?Promise.resolve(new de["c"](new pr(n))):Promise.reject(new Error("Model not found"))},e.prototype.findModel=function(e,t){var n=this.modelService?this.modelService.getModel(t):e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},e}(),vr=function(){function e(){}return e.prototype.show=function(){return e.NULL_PROGRESS_RUNNER},e.prototype.showWhile=function(e,t){return Promise.resolve(void 0)},e.NULL_PROGRESS_RUNNER={done:function(){},total:function(){},worked:function(){}},e}(),yr=function(){function e(){}return e}(),br=function(){function e(){}return e.prototype.info=function(e){return this.notify({severity:kn["a"].Info,message:e})},e.prototype.warn=function(e){return this.notify({severity:kn["a"].Warning,message:e})},e.prototype.error=function(e){return this.notify({severity:kn["a"].Error,message:e})},e.prototype.notify=function(t){switch(t.severity){case kn["a"].Error:console.error(t.message);break;case kn["a"].Warning:console.warn(t.message);break;default:console.log(t.message);break}return e.NO_OP},e.prototype.status=function(e,t){return de["a"].None},e.NO_OP=new lr["b"],e}(),_r=function(){function e(e){this._onWillExecuteCommand=new F["a"],this._onDidExecuteCommand=new F["a"],this._instantiationService=e,this._dynamicCommands=Object.create(null)}return e.prototype.addCommand=function(e){var t=this,n=e.id;return this._dynamicCommands[n]=e,Object(de["h"])((function(){delete t._dynamicCommands[n]}))},e.prototype.executeCommand=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=ee["a"].getCommand(e)||this._dynamicCommands[e];if(!r)return Promise.reject(new Error("command '"+e+"' not found"));try{this._onWillExecuteCommand.fire({commandId:e,args:t});var i=this._instantiationService.invokeFunction.apply(this._instantiationService,fr([r.handler],t));return this._onDidExecuteCommand.fire({commandId:e,args:t}),Promise.resolve(i)}catch(o){return Promise.reject(o)}},e}(),wr=function(e){function t(t,n,r,i,o){var a=e.call(this,t,n,r,i)||this;return a._cachedResolver=null,a._dynamicKeybindings=[],a._register(X["i"](o,X["c"].KEY_DOWN,(function(e){var t=new On["a"](e),n=a._dispatch(t,t.target);n&&(t.preventDefault(),t.stopPropagation())}))),a}return cr(t,e),t.prototype.addDynamicKeybinding=function(e,t,n,r){var i=this,o=Object(B["f"])(t,Oe["a"]),a=new de["b"];o&&(this._dynamicKeybindings.push({keybinding:o,command:e,when:r,weight1:1e3,weight2:0}),a.add(Object(de["h"])((function(){for(var t=0;t<i._dynamicKeybindings.length;t++){var n=i._dynamicKeybindings[t];if(n.command===e)return i._dynamicKeybindings.splice(t,1),void i.updateResolver({source:1})}}))));var s=this._commandService;if(!(s instanceof _r))throw new Error("Unknown command service!");return a.add(s.addCommand({id:e,handler:n})),this.updateResolver({source:1}),a},t.prototype.updateResolver=function(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)},t.prototype._getResolver=function(){if(!this._cachedResolver){var e=this._toNormalizedKeybindingItems(Hn["a"].getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new Wn(e,t)}return this._cachedResolver},t.prototype._documentHasFocus=function(){return document.hasFocus()},t.prototype._toNormalizedKeybindingItems=function(e,t){for(var n=[],r=0,i=0,o=e;i<o.length;i++){var a=o[i],s=a.when||void 0,l=a.keybinding;if(l)for(var u=this.resolveKeybinding(l),c=0,d=u;c<d.length;c++){var h=d[c];n[r++]=new Un(h,a.command,a.commandArgs,s,t)}else n[r++]=new Un(void 0,a.command,a.commandArgs,s,t)}return n},t.prototype.resolveKeybinding=function(e){return[new sr(e,Oe["a"])]},t.prototype.resolveKeyboardEvent=function(e){var t=new B["e"](e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new sr(t,Oe["a"])},t}(Vn);function xr(e){return e&&"object"===typeof e&&(!e.overrideIdentifier||"string"===typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof V["a"])}var Cr=function(){function e(){this._onDidChangeConfiguration=new F["a"],this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new jn(new Rn,new An)}return e.prototype.configuration=function(){return this._configuration},e.prototype.getValue=function(e,t){var n="string"===typeof e?e:void 0,r=xr(e)?e:xr(t)?t:{};return this.configuration().getValue(n,r,void 0)},e.prototype.updateValue=function(e,t,n,r){return this.configuration().updateValue(e,t),Promise.resolve()},e.prototype.inspect=function(e,t){return void 0===t&&(t={}),this.configuration().inspect(e,t,void 0)},e}(),Sr=function(){function e(e){var t=this;this.configurationService=e,this._onDidChangeConfiguration=new F["a"],this.configurationService.onDidChangeConfiguration((function(e){t._onDidChangeConfiguration.fire({affectedKeys:e.affectedKeys,affectsConfiguration:function(t,n){return e.affectsConfiguration(n)}})}))}return e.prototype.getValue=function(e,t,n){var r=z["a"].isIPosition(t)?t:null,i=r?"string"===typeof n?n:void 0:"string"===typeof t?t:void 0;return"undefined"===typeof i?this.configurationService.getValue():this.configurationService.getValue(i)},e}(),Or=function(){function e(e){this.configurationService=e}return e.prototype.getEOL=function(e,t){var n=this.configurationService.getValue("files.eol",{overrideIdentifier:t,resource:e});return n&&"auto"!==n?n:Oe["d"]||Oe["e"]?"\n":"\r\n"},e=dr([hr(0,Nn["a"])],e),e}(),kr=function(){function e(){}return e.prototype.publicLog=function(e,t){return Promise.resolve(void 0)},e.prototype.publicLog2=function(e,t){return this.publicLog(e,t)},e}(),Er=function(){function e(){var t=V["a"].from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new ur["b"]({uri:t,name:"",index:0})]}}return e.prototype.getWorkspace=function(){return this.workspace},e.prototype.getWorkspaceFolder=function(t){return t&&t.scheme===e.SCHEME?this.workspace.folders[0]:null},e.SCHEME="inmemory",e}();function Dr(e,t,n){t&&e instanceof Cr&&Object.keys(t).forEach((function(r){Object(Dn["c"])(r)&&e.updateValue("editor."+r,t[r]),n&&Object(Dn["b"])(r)&&e.updateValue("diffEditor."+r,t[r])}))}var Mr=function(){function e(e){this._modelService=e}return e.prototype.hasPreviewHandler=function(){return!1},e.prototype.apply=function(e,t){var n=new Map;if(e.edits)for(var r=0,i=e.edits;r<i.length;r++){var o=i[r];if(!be["A"].is(o))return Promise.reject(new Error("bad edit - only text edits are supported"));var a=this._modelService.getModel(o.resource);if(!a)return Promise.reject(new Error("bad edit - model not found"));var s=n.get(a);s||(s=[],n.set(a,s)),s.push(o.edit)}var l=0,u=0;return n.forEach((function(e,t){t.pushStackElement(),t.pushEditOperations([],e.map((function(e){return Mn["a"].replaceMove(W["a"].lift(e.range),e.text)})),(function(){return[]})),t.pushStackElement(),u+=1,l+=e.length})),Promise.resolve({selection:void 0,ariaSummary:Ye["r"](rr.bulkEditServiceSummary,l,u)})},e}(),Nr=function(){function e(){}return e.prototype.getUriLabel=function(e,t){return"file"===e.scheme?e.fsPath:e.path},e}(),Lr=function(){function e(e){this._container=e,this.onLayout=F["b"].None}return Object.defineProperty(e.prototype,"container",{get:function(){return this._container},enumerable:!0,configurable:!0}),e}(),Ir=n("D3Dy"),Tr=n("OBOq"),Pr=n("nB0o"),Ar=(n("lKfe"),n("ZlPH")),Rr=n("cMOf"),jr=n("HdwC"),Fr=n("vATl"),Br=(n("DTDp"),n("WqXY")),Vr=n("GJhM"),zr=n("8HAY"),Wr=n("sswD"),Hr=n("kYye"),Ur=n("MD5Z"),Kr=n("t9D7"),Gr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qr=3,Yr=function(){function e(e,t,n,r){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=r}return e.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},e}(),Xr=function(){function e(e){this.entries=e}return e}(),Zr=function(e){function t(t){var n=e.call(this)||this;return n._width=0,n._diffEditor=t,n._isVisible=!1,n.shadow=Object(Ar["b"])(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(Ar["b"])(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new Br["a"](n.actionBarContainer.domNode)),n._actionBar.push(new zr["a"]("diffreview.close",Fn["a"]("label.close","Close"),"close-diff-review",!0,(function(){return n.hide(),Promise.resolve(null)})),{label:!1,icon:!0}),n.domNode=Object(Ar["b"])(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(Ar["b"])(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new Vr["a"](n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(t.onDidUpdateDiff((function(){n._isVisible&&(n._diffs=n._compute(),n._render())}))),n._register(t.getModifiedEditor().onDidChangeCursorPosition((function(){n._isVisible&&n._render()}))),n._register(t.getOriginalEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(t.getModifiedEditor().onDidFocusEditorWidget((function(){n._isVisible&&n.hide()}))),n._register(X["n"](n.domNode.domNode,"click",(function(e){e.preventDefault();var t=X["w"](e.target,"diff-review-row");t&&n._goToRow(t)}))),n._register(X["n"](n.domNode.domNode,"keydown",(function(e){(e.equals(18)||e.equals(2066)||e.equals(530))&&(e.preventDefault(),n._goToRow(n._getNextRow())),(e.equals(16)||e.equals(2064)||e.equals(528))&&(e.preventDefault(),n._goToRow(n._getPrevRow())),(e.equals(9)||e.equals(2057)||e.equals(521)||e.equals(1033))&&(e.preventDefault(),n.hide()),(e.equals(10)||e.equals(3))&&(e.preventDefault(),n.accept())}))),n._diffs=[],n._currentDiff=null,n}return Gr(t,e),t.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,r=this._diffs.length;n<r;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=this._diffs.length+t-1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new z["a"](this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.next=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,r=this._diffs.length;n<r;n++)if(this._diffs[n]===this._currentDiff){t=n;break}e=t+1}else e=this._findDiffIndex(this._diffEditor.getPosition());0!==this._diffs.length&&(e%=this._diffs.length,this._diffEditor.setPosition(new z["a"](this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},t.prototype.accept=function(){var e=-1,t=this._getCurrentFocusedRow();if(t){var n=parseInt(t.getAttribute("data-line"),10);isNaN(n)||(e=n)}this.hide(),-1!==e&&(this._diffEditor.setPosition(new z["a"](e,1)),this._diffEditor.revealPosition(new z["a"](e,1),1))},t.prototype.hide=function(){this._isVisible=!1,this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()},t.prototype._getPrevRow=function(){var e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()},t.prototype._getNextRow=function(){var e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()},t.prototype._getFirstRow=function(){return this.domNode.domNode.querySelector(".diff-review-row")},t.prototype._getCurrentFocusedRow=function(){var e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null},t.prototype._goToRow=function(e){var t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()},t.prototype.isVisible=function(){return this._isVisible},t.prototype.layout=function(e,t,n){this._width=t,this.shadow.setTop(e-6),this.shadow.setWidth(t),this.shadow.setHeight(this._isVisible?6:0),this.domNode.setTop(e),this.domNode.setWidth(t),this.domNode.setHeight(n),this._content.setHeight(n),this._content.setWidth(t),this._isVisible?(this.actionBarContainer.setAttribute("aria-hidden","false"),this.actionBarContainer.setDisplay("block")):(this.actionBarContainer.setAttribute("aria-hidden","true"),this.actionBarContainer.setDisplay("none"))},t.prototype._compute=function(){var e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];var n=this._diffEditor.getOriginalEditor().getModel(),r=this._diffEditor.getModifiedEditor().getModel();return n&&r?t._mergeAdjacent(e,n.getLineCount(),r.getLineCount()):[]},t._mergeAdjacent=function(e,t,n){if(!e||0===e.length)return[];for(var r=[],i=0,o=0,a=e.length;o<a;o++){var s=e[o],l=s.originalStartLineNumber,u=s.originalEndLineNumber,c=s.modifiedStartLineNumber,d=s.modifiedEndLineNumber,h=[],f=0,p=0===u?l:l-1,g=0===d?c:c-1,m=1,v=1;if(o>0){var y=e[o-1];m=0===y.originalEndLineNumber?y.originalStartLineNumber+1:y.originalEndLineNumber+1,v=0===y.modifiedEndLineNumber?y.modifiedStartLineNumber+1:y.modifiedEndLineNumber+1}var b=p-qr+1,_=g-qr+1;if(b<m){var w=m-b;b+=w,_+=w}if(_<v){w=v-_;b+=w,_+=w}h[f++]=new Yr(b,p,_,g),0!==u&&(h[f++]=new Yr(l,u,0,0)),0!==d&&(h[f++]=new Yr(0,0,c,d));var x=0===u?l+1:u+1,C=0===d?c+1:d+1,S=t,O=n;if(o+1<a){var k=e[o+1];S=0===k.originalEndLineNumber?k.originalStartLineNumber:k.originalStartLineNumber-1,O=0===k.modifiedEndLineNumber?k.modifiedStartLineNumber:k.modifiedStartLineNumber-1}var E=x+qr-1,D=C+qr-1;if(E>S){w=S-E;E+=w,D+=w}if(D>O){w=O-D;E+=w,D+=w}h[f++]=new Yr(x,E,C,D),r[i++]=new Xr(h)}var M=r[0].entries,N=[],L=0;for(o=1,a=r.length;o<a;o++){var I=r[o].entries,T=M[M.length-1],P=I[0];0===T.getType()&&0===P.getType()&&P.originalLineStart<=T.originalLineEnd?(M[M.length-1]=new Yr(T.originalLineStart,P.originalLineEnd,T.modifiedLineStart,P.modifiedLineEnd),M=M.concat(I.slice(1))):(N[L++]=new Xr(M),M=I)}return N[L++]=new Xr(M),N},t.prototype._findDiffIndex=function(e){for(var t=e.lineNumber,n=0,r=this._diffs.length;n<r;n++){var i=this._diffs[n].entries,o=i[i.length-1].modifiedLineEnd;if(t<=o)return n}return 0},t.prototype._render=function(){var e=this._diffEditor.getOriginalEditor().getOptions(),n=this._diffEditor.getModifiedEditor().getOptions(),r=this._diffEditor.getOriginalEditor().getModel(),i=this._diffEditor.getModifiedEditor().getModel(),o=r.getOptions(),a=i.getOptions();if(!this._isVisible||!r||!i)return X["s"](this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();var s=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[s]!==this._currentDiff){this._currentDiff=this._diffs[s];var l=this._diffs[s].entries,u=document.createElement("div");u.className="diff-review-table",u.setAttribute("role","list"),jr["a"].applyFontInfoSlow(u,n.get(34));for(var c=0,d=0,h=0,f=0,p=0,g=l.length;p<g;p++){var m=l[p],v=m.originalLineStart,y=m.originalLineEnd,b=m.modifiedLineStart,_=m.modifiedLineEnd;0!==v&&(0===c||v<c)&&(c=v),0!==y&&(0===d||y>d)&&(d=y),0!==b&&(0===h||b<h)&&(h=b),0!==_&&(0===f||_>f)&&(f=_)}var w=document.createElement("div");w.className="diff-review-row";var x=document.createElement("div");x.className="diff-review-cell diff-review-summary";var C=d-c+1,S=f-h+1;x.appendChild(document.createTextNode(s+1+"/"+this._diffs.length+": @@ -"+c+","+C+" +"+h+","+S+" @@")),w.setAttribute("data-line",String(h));var O=function(e){return 0===e?Fn["a"]("no_lines","no lines"):1===e?Fn["a"]("one_line","1 line"):Fn["a"]("more_lines","{0} lines",e)},k=O(C),E=O(S);w.setAttribute("aria-label",Fn["a"]({key:"header",comment:["This is the ARIA label for a git diff header.","A git diff header looks like this: @@ -154,12 +159,39 @@.","That encodes that at original line 154 (which is now line 159), 12 lines were removed/changed with 39 lines.","Variables 0 and 1 refer to the diff index out of total number of diffs.","Variables 2 and 4 will be numbers (a line number).",'Variables 3 and 5 will be "no lines", "1 line" or "X lines", localized separately.']},"Difference {0} of {1}: original {2}, {3}, modified {4}, {5}",s+1,this._diffs.length,c,k,h,E)),w.appendChild(x),w.setAttribute("role","listitem"),u.appendChild(w);var D=h;for(p=0,g=l.length;p<g;p++){m=l[p];t._renderSection(u,m,D,this._width,e,r,o,n,i,a),0!==m.modifiedLineStart&&(D=m.modifiedLineEnd)}X["s"](this._content.domNode),this._content.domNode.appendChild(u),this.scrollbar.scanDomNode()}},t._renderSection=function(e,t,n,r,i,o,a,s,l,u){var c=t.getType(),d="diff-review-row",h="",f="diff-review-spacer";switch(c){case 1:d="diff-review-row line-insert",h=" char-insert",f="diff-review-spacer insert-sign";break;case 2:d="diff-review-row line-delete",h=" char-delete",f="diff-review-spacer delete-sign";break}for(var p=t.originalLineStart,g=t.originalLineEnd,m=t.modifiedLineStart,v=t.modifiedLineEnd,y=Math.max(v-m,g-p),b=i.get(107),_=b.glyphMarginWidth+b.lineNumbersWidth,w=s.get(107),x=10+w.glyphMarginWidth+w.lineNumbersWidth,C=0;C<=y;C++){var S=0===p?0:p+C,O=0===m?0:m+C,k=document.createElement("div");k.style.minWidth=r+"px",k.className=d,k.setAttribute("role","listitem"),0!==O&&(n=O),k.setAttribute("data-line",String(n));var E=document.createElement("div");E.className="diff-review-cell",k.appendChild(E);var D=document.createElement("span");D.style.width=_+"px",D.style.minWidth=_+"px",D.className="diff-review-line-number"+h,0!==S?D.appendChild(document.createTextNode(String(S))):D.innerHTML=" ",E.appendChild(D);var M=document.createElement("span");M.style.width=x+"px",M.style.minWidth=x+"px",M.style.paddingRight="10px",M.className="diff-review-line-number"+h,0!==O?M.appendChild(document.createTextNode(String(O))):M.innerHTML=" ",E.appendChild(M);var N=document.createElement("span");N.className=f,N.innerHTML="  ",E.appendChild(N);var L=void 0;0!==O?(E.insertAdjacentHTML("beforeend",this._renderLine(l,s,u.tabSize,O)),L=l.getLineContent(O)):(E.insertAdjacentHTML("beforeend",this._renderLine(o,i,a.tabSize,S)),L=o.getLineContent(S)),0===L.length&&(L=Fn["a"]("blankLine","blank"));var I="";switch(c){case 0:I=Fn["a"]("equalLine","original {0}, modified {1}: {2}",S,O,L);break;case 1:I=Fn["a"]("insertLine","+ modified {0}: {1}",O,L);break;case 2:I=Fn["a"]("deleteLine","- original {0}: {1}",S,L);break}k.setAttribute("aria-label",I),e.appendChild(k)}},t._renderLine=function(e,t,n,r){var i=e.getLineContent(r),o=t.get(34),a=16793600,s=new Uint32Array(2);s[0]=i.length,s[1]=a;var l=new Yt["a"](s,i),u=Zt["d"].isBasicASCII(i,e.mightContainNonBasicASCII()),c=Zt["d"].containsRTL(i,u,e.mightContainRTL()),d=Object(Xt["e"])(new Xt["c"](o.isMonospace&&!t.get(23),o.canUseHalfwidthRightwardsArrow,i,!1,u,c,0,l,[],n,0,o.spaceWidth,o.middotWidth,t.get(88),t.get(74),t.get(69),t.get(35)!==R["d"].OFF,null));return d.html},t}(de["a"]);Object(Kr["e"])((function(e,t){var n=e.getColor(Hr["j"]);n&&t.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var r=e.getColor(Ur["Tb"]);r&&t.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+r+" 0 -6px 6px -6px inset; }")}));var Qr=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.next",label:Fn["a"]("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:zn["a"].has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}return Gr(t,e),t.prototype.run=function(e,t){var n=Jr(e);n&&n.diffReviewNext()},t}(Wr["b"]),$r=function(e){function t(){return e.call(this,{id:"editor.action.diffReview.prev",label:Fn["a"]("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:zn["a"].has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})||this}return Gr(t,e),t.prototype.run=function(e,t){var n=Jr(e);n&&n.diffReviewPrev()},t}(Wr["b"]);function Jr(e){for(var t=e.get(Y["a"]),n=t.listDiffEditors(),r=0,i=n.length;r<i;r++){var o=n[r];if(o.hasWidgetFocus())return o}return null}Object(Wr["f"])(Qr),Object(Wr["f"])($r);var ei=n("erNZ"),ti=n("tX9W"),ni=n("MvK1"),ri=n("dBaI"),ii=n("8HsV"),oi=n("Uzvx"),ai=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),si=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},li=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ui=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;s._viewZoneId=t,s._marginDomNode=n,s.editor=r,s.diff=i,s._contextMenuService=o,s._clipboardService=a,s._visibility=!1,s._marginDomNode.style.zIndex="10",s._diffActions=document.createElement("div"),s._diffActions.className="codicon codicon-lightbulb lightbulb-glyph",s._diffActions.style.position="absolute";var l=r.getOption(49),u=r.getModel().getEOL();s._diffActions.style.right="0px",s._diffActions.style.visibility="hidden",s._diffActions.style.height=l+"px",s._diffActions.style.lineHeight=l+"px",s._marginDomNode.appendChild(s._diffActions);var c=[];c.push(new zr["a"]("diff.clipboard.copyDeletedContent",i.originalEndLineNumber>i.modifiedStartLineNumber?Fn["a"]("diff.clipboard.copyDeletedLinesContent.label","Copy deleted lines"):Fn["a"]("diff.clipboard.copyDeletedLinesContent.single.label","Copy deleted line"),void 0,!0,(function(){return si(s,void 0,void 0,(function(){return li(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(i.originalContent.join(u)+u)];case 1:return e.sent(),[2]}}))}))})));var d=0,h=void 0;i.originalEndLineNumber>i.modifiedStartLineNumber&&(h=new zr["a"]("diff.clipboard.copyDeletedLineContent",Fn["a"]("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber),void 0,!0,(function(){return si(s,void 0,void 0,(function(){return li(this,(function(e){switch(e.label){case 0:return[4,this._clipboardService.writeText(i.originalContent[d])];case 1:return e.sent(),[2]}}))}))})),c.push(h));var f=r.getOption(68);f||c.push(new zr["a"]("diff.inline.revertChange",Fn["a"]("diff.inline.revertChange.label","Revert this change"),void 0,!0,(function(){return si(s,void 0,void 0,(function(){var e;return li(this,(function(t){return 0===i.modifiedEndLineNumber?(e=r.getModel().getLineMaxColumn(i.modifiedStartLineNumber),r.executeEdits("diffEditor",[{range:new W["a"](i.modifiedStartLineNumber,e,i.modifiedStartLineNumber,e),text:u+i.originalContent.join(u)}])):(e=r.getModel().getLineMaxColumn(i.modifiedEndLineNumber),r.executeEdits("diffEditor",[{range:new W["a"](i.modifiedStartLineNumber,1,i.modifiedEndLineNumber,e),text:i.originalContent.join(u)}])),[2]}))}))})));var p=function(e,t){s._contextMenuService.showContextMenu({getAnchor:function(){return{x:e,y:t}},getActions:function(){return h&&(h.label=Fn["a"]("diff.clipboard.copyDeletedLineContent.label","Copy deleted line ({0})",i.originalStartLineNumber+d)),c},autoSelectFirstItem:!0})};return s._register(X["n"](s._diffActions,"mousedown",(function(e){var t=X["B"](s._diffActions),n=t.top,r=t.height,i=Math.floor(l/3);e.preventDefault(),p(e.posx,n+r+i)}))),s._register(r.onMouseMove((function(e){if(8===e.target.type||5===e.target.type){var t=e.target.detail.viewZoneId;t===s._viewZoneId?(s.visibility=!0,d=s._updateLightBulbPosition(s._marginDomNode,e.event.browserEvent.y,l)):s.visibility=!1}else s.visibility=!1}))),s._register(r.onMouseDown((function(e){if(e.event.rightButton&&(8===e.target.type||5===e.target.type)){var t=e.target.detail.viewZoneId;t===s._viewZoneId&&(e.event.preventDefault(),d=s._updateLightBulbPosition(s._marginDomNode,e.event.browserEvent.y,l),p(e.event.posx,e.event.posy+l))}}))),s}return ai(t,e),Object.defineProperty(t.prototype,"visibility",{get:function(){return this._visibility},set:function(e){this._visibility!==e&&(this._visibility=e,this._diffActions.style.visibility=e?"visible":"hidden")},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbPosition=function(e,t,n){var r=X["B"](e).top,i=t-r,o=Math.floor(i/n),a=o*n;return this._diffActions.style.top=a+"px",o},t}(de["a"]),ci=n("tTk5"),di=n("o39E"),hi=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fi=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},pi=function(e,t){return function(n,r){t(n,r,e)}},gi=function(){function e(e,t){this._contextMenuService=e,this._clipboardService=t,this._zones=[],this.inlineDiffMargins=[],this._zonesMap={},this._decorations=[]}return e.prototype.getForeignViewZones=function(e){var t=this;return e.filter((function(e){return!t._zonesMap[String(e.id)]}))},e.prototype.clean=function(e){var t=this;this._zones.length>0&&e.changeViewZones((function(e){for(var n=0,r=t._zones.length;n<r;n++)e.removeZone(t._zones[n])})),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])},e.prototype.apply=function(e,t,n,r){var i=this,o=r?Fr["c"].capture(e):null;e.changeViewZones((function(t){for(var r=0,o=i._zones.length;r<o;r++)t.removeZone(i._zones[r]);r=0;for(var a=i.inlineDiffMargins.length;r<a;r++)i.inlineDiffMargins[r].dispose();i._zones=[],i._zonesMap={},i.inlineDiffMargins=[];r=0;for(var s=n.zones.length;r<s;r++){var l=n.zones[r];l.suppressMouseDown=!0;var u=t.addZone(l);i._zones.push(u),i._zonesMap[String(u)]=!0,n.zones[r].diff&&l.marginDomNode&&i._clipboardService&&(l.suppressMouseDown=!1,i.inlineDiffMargins.push(new ui(u,l.marginDomNode,e,n.zones[r].diff,i._contextMenuService,i._clipboardService)))}})),o&&o.restore(e),this._decorations=e.deltaDecorations(this._decorations,n.decorations),t&&t.setZones(n.overviewZones)},e}(),mi=0,vi=function(e){function t(n,r,i,o,a,s,l,u,c,d,h){var f=e.call(this)||this;f._editorProgressService=h,f._onDidDispose=f._register(new F["a"]),f.onDidDispose=f._onDidDispose.event,f._onDidUpdateDiff=f._register(new F["a"]),f.onDidUpdateDiff=f._onDidUpdateDiff.event,f._lastOriginalWarning=null,f._lastModifiedWarning=null,f._editorWorkerService=o,f._codeEditorService=l,f._contextKeyService=f._register(a.createScoped(n)),f._contextKeyService.createKey("isInDiffEditor",!0),f._themeService=u,f._notificationService=c,f.id=++mi,f._state=0,f._updatingDiffProgress=null,f._domElement=n,r=r||{},f._renderSideBySide=!0,"undefined"!==typeof r.renderSideBySide&&(f._renderSideBySide=r.renderSideBySide),f._maxComputationTime=5e3,"undefined"!==typeof r.maxComputationTime&&(f._maxComputationTime=r.maxComputationTime),f._ignoreTrimWhitespace=!0,"undefined"!==typeof r.ignoreTrimWhitespace&&(f._ignoreTrimWhitespace=r.ignoreTrimWhitespace),f._renderIndicators=!0,"undefined"!==typeof r.renderIndicators&&(f._renderIndicators=r.renderIndicators),f._originalIsEditable=!1,"undefined"!==typeof r.originalEditable&&(f._originalIsEditable=Boolean(r.originalEditable)),f._updateDecorationsRunner=f._register(new Ce["d"]((function(){return f._updateDecorations()}),0)),f._containerDomElement=document.createElement("div"),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide),f._containerDomElement.style.position="relative",f._containerDomElement.style.height="100%",f._domElement.appendChild(f._containerDomElement),f._overviewViewportDomElement=Object(Ar["b"])(document.createElement("div")),f._overviewViewportDomElement.setClassName("diffViewport"),f._overviewViewportDomElement.setPosition("absolute"),f._overviewDomElement=document.createElement("div"),f._overviewDomElement.className="diffOverview",f._overviewDomElement.style.position="absolute",f._overviewDomElement.appendChild(f._overviewViewportDomElement.domNode),f._register(X["n"](f._overviewDomElement,"mousedown",(function(e){f.modifiedEditor.delegateVerticalScrollbarMouseDown(e)}))),f._containerDomElement.appendChild(f._overviewDomElement),f._originalDomNode=document.createElement("div"),f._originalDomNode.className="editor original",f._originalDomNode.style.position="absolute",f._originalDomNode.style.height="100%",f._containerDomElement.appendChild(f._originalDomNode),f._modifiedDomNode=document.createElement("div"),f._modifiedDomNode.className="editor modified",f._modifiedDomNode.style.position="absolute",f._modifiedDomNode.style.height="100%",f._containerDomElement.appendChild(f._modifiedDomNode),f._beginUpdateDecorationsTimeout=-1,f._currentlyChangingViewZones=!1,f._diffComputationToken=0,f._originalEditorState=new gi(d,i),f._modifiedEditorState=new gi(d,i),f._isVisible=!0,f._isHandlingScrollEvent=!1,f._elementSizeObserver=f._register(new di["a"](f._containerDomElement,void 0,(function(){return f._onDidContainerSizeChanged()}))),r.automaticLayout&&f._elementSizeObserver.startObserving(),f._diffComputationResult=null;var p=f._contextKeyService.createScoped();p.createKey("isInDiffLeftEditor",!0);var g=new ii["a"];g.set(zn["c"],p);var m=s.createChild(g),v=f._contextKeyService.createScoped();v.createKey("isInDiffRightEditor",!0);var y=new ii["a"];y.set(zn["c"],v);var b=s.createChild(y);f.originalEditor=f._createLeftHandSideEditor(r,m),f.modifiedEditor=f._createRightHandSideEditor(r,b),f._originalOverviewRuler=null,f._modifiedOverviewRuler=null,f._reviewPane=new Zr(f),f._containerDomElement.appendChild(f._reviewPane.domNode.domNode),f._containerDomElement.appendChild(f._reviewPane.shadow.domNode),f._containerDomElement.appendChild(f._reviewPane.actionBarContainer.domNode),f._enableSplitViewResizing=!0,"undefined"!==typeof r.enableSplitViewResizing&&(f._enableSplitViewResizing=r.enableSplitViewResizing),f._renderSideBySide?f._setStrategy(new Ci(f._createDataSource(),f._enableSplitViewResizing)):f._setStrategy(new Oi(f._createDataSource(),f._enableSplitViewResizing)),f._register(u.onThemeChange((function(e){f._strategy&&f._strategy.applyColors(e)&&f._updateDecorationsRunner.schedule(),f._containerDomElement.className=t._getClassName(f._themeService.getTheme(),f._renderSideBySide)})));for(var _=Wr["d"].getDiffEditorContributions(),w=0,x=_;w<x.length;w++){var C=x[w];try{f._register(s.createInstance(C.ctor,f))}catch(S){Object(Se["e"])(S)}}return f._codeEditorService.addDiffEditor(f),f}return hi(t,e),t.prototype._setState=function(e){this._state!==e&&(this._state=e,this._updatingDiffProgress&&(this._updatingDiffProgress.done(),this._updatingDiffProgress=null),1===this._state&&(this._updatingDiffProgress=this._editorProgressService.show(!0,1e3)))},t.prototype.hasWidgetFocus=function(){return X["J"](document.activeElement,this._domElement)},t.prototype.diffReviewNext=function(){this._reviewPane.next()},t.prototype.diffReviewPrev=function(){this._reviewPane.prev()},t._getClassName=function(e,t){var n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(Kr["d"])(e.type),n},t.prototype._recreateOverviewRulers=function(){this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this.originalEditor.hasModel()&&(this._originalOverviewRuler=this.originalEditor.createOverviewRuler("original diffOverviewRuler"),this._overviewDomElement.appendChild(this._originalOverviewRuler.getDomNode())),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this.modifiedEditor.hasModel()&&(this._modifiedOverviewRuler=this.modifiedEditor.createOverviewRuler("modified diffOverviewRuler"),this._overviewDomElement.appendChild(this._modifiedOverviewRuler.getDomNode())),this._layoutOverviewRulers()},t.prototype._createLeftHandSideEditor=function(e,t){var n=this,r=this._createInnerEditor(t,this._originalDomNode,this._adjustOptionsForLeftHandSide(e,this._originalIsEditable));return this._register(r.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.modifiedEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(r.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(r.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),r},t.prototype._createRightHandSideEditor=function(e,t){var n=this,r=this._createInnerEditor(t,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e));return this._register(r.onDidScrollChange((function(e){n._isHandlingScrollEvent||(e.scrollTopChanged||e.scrollLeftChanged||e.scrollHeightChanged)&&(n._isHandlingScrollEvent=!0,n.originalEditor.setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),n._isHandlingScrollEvent=!1,n._layoutOverviewViewport())}))),this._register(r.onDidChangeViewZones((function(){n._onViewZonesChanged()}))),this._register(r.onDidChangeConfiguration((function(e){e.hasChanged(34)&&r.getModel()&&n._onViewZonesChanged()}))),this._register(r.onDidChangeModelContent((function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))),this._register(r.onDidChangeModelOptions((function(e){e.tabSize&&n._updateDecorationsRunner.schedule()}))),r},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(Pr["a"],t,n,{})},t.prototype.dispose=function(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._cleanViewZonesAndDecorations(),this._originalOverviewRuler&&(this._overviewDomElement.removeChild(this._originalOverviewRuler.getDomNode()),this._originalOverviewRuler.dispose()),this._modifiedOverviewRuler&&(this._overviewDomElement.removeChild(this._modifiedOverviewRuler.getDomNode()),this._modifiedOverviewRuler.dispose()),this._overviewDomElement.removeChild(this._overviewViewportDomElement.domNode),this._containerDomElement.removeChild(this._overviewDomElement),this._containerDomElement.removeChild(this._originalDomNode),this.originalEditor.dispose(),this._containerDomElement.removeChild(this._modifiedDomNode),this.modifiedEditor.dispose(),this._strategy.dispose(),this._containerDomElement.removeChild(this._reviewPane.domNode.domNode),this._containerDomElement.removeChild(this._reviewPane.shadow.domNode),this._containerDomElement.removeChild(this._reviewPane.actionBarContainer.domNode),this._reviewPane.dispose(),this._domElement.removeChild(this._containerDomElement),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.getId=function(){return this.getEditorType()+":"+this.id},t.prototype.getEditorType=function(){return ve["a"].IDiffEditor},t.prototype.getLineChanges=function(){return this._diffComputationResult?this._diffComputationResult.changes:null},t.prototype.getOriginalEditor=function(){return this.originalEditor},t.prototype.getModifiedEditor=function(){return this.modifiedEditor},t.prototype.updateOptions=function(e){var n=!1;"undefined"!==typeof e.renderSideBySide&&this._renderSideBySide!==e.renderSideBySide&&(this._renderSideBySide=e.renderSideBySide,n=!0),"undefined"!==typeof e.maxComputationTime&&(this._maxComputationTime=e.maxComputationTime,this._isVisible&&this._beginUpdateDecorationsSoon());var r=!1;"undefined"!==typeof e.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==e.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=e.ignoreTrimWhitespace,r=!0),"undefined"!==typeof e.renderIndicators&&this._renderIndicators!==e.renderIndicators&&(this._renderIndicators=e.renderIndicators,r=!0),r&&this._beginUpdateDecorations(),"undefined"!==typeof e.originalEditable&&(this._originalIsEditable=Boolean(e.originalEditable)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),"undefined"!==typeof e.enableSplitViewResizing&&(this._enableSplitViewResizing=e.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),n&&(this._renderSideBySide?this._setStrategy(new Ci(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new Oi(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=t._getClassName(this._themeService.getTheme(),this._renderSideBySide))},t.prototype.getModel=function(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}},t.prototype.setModel=function(e){if(e&&(!e.original||!e.modified))throw new Error(e.original?"DiffEditorWidget.setModel: Modified model is null":"DiffEditorWidget.setModel: Original model is null");this._cleanViewZonesAndDecorations(),this.originalEditor.setModel(e?e.original:null),this.modifiedEditor.setModel(e?e.modified:null),this._updateDecorationsRunner.cancel(),e&&(this.originalEditor.setScrollTop(0),this.modifiedEditor.setScrollTop(0)),this._diffComputationResult=null,this._diffComputationToken++,this._setState(0),e&&(this._recreateOverviewRulers(),this._beginUpdateDecorations()),this._layoutOverviewViewport()},t.prototype.getDomNode=function(){return this._domElement},t.prototype.getVisibleColumnFromPosition=function(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)},t.prototype.getPosition=function(){return this.modifiedEditor.getPosition()},t.prototype.setPosition=function(e){this.modifiedEditor.setPosition(e)},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLine(e,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenter(e,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPosition(e,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenter(e,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)},t.prototype.getSelection=function(){return this.modifiedEditor.getSelection()},t.prototype.getSelections=function(){return this.modifiedEditor.getSelections()},t.prototype.setSelection=function(e){this.modifiedEditor.setSelection(e)},t.prototype.setSelections=function(e){this.modifiedEditor.setSelections(e)},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLines(e,t,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenter(e,t,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)},t.prototype.revealRange=function(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===r&&(r=!0),this.modifiedEditor.revealRange(e,t,n,r)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenter(e,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeAtTop(e,t)},t.prototype.getSupportedActions=function(){return this.modifiedEditor.getSupportedActions()},t.prototype.saveViewState=function(){var e=this.originalEditor.saveViewState(),t=this.modifiedEditor.saveViewState();return{original:e,modified:t}},t.prototype.restoreViewState=function(e){if(e.original&&e.modified){var t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}},t.prototype.layout=function(e){this._elementSizeObserver.observe(e)},t.prototype.focus=function(){this.modifiedEditor.focus()},t.prototype.hasTextFocus=function(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()},t.prototype.trigger=function(e,t,n){this.modifiedEditor.trigger(e,t,n)},t.prototype.changeDecorations=function(e){return this.modifiedEditor.changeDecorations(e)},t.prototype._onDidContainerSizeChanged=function(){this._doLayout()},t.prototype._getReviewHeight=function(){return this._reviewPane.isVisible()?this._elementSizeObserver.getHeight():0},t.prototype._layoutOverviewRulers=function(){if(this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._elementSizeObserver.getHeight(),n=this._getReviewHeight(),r=t.ENTIRE_DIFF_OVERVIEW_WIDTH-2*t.ONE_OVERVIEW_WIDTH,i=this.modifiedEditor.getLayoutInfo();i&&(this._originalOverviewRuler.setLayout({top:0,width:t.ONE_OVERVIEW_WIDTH,right:r+t.ONE_OVERVIEW_WIDTH,height:e-n}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:t.ONE_OVERVIEW_WIDTH,height:e-n}))}},t.prototype._onViewZonesChanged=function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()},t.prototype._beginUpdateDecorationsSoon=function(){var e=this;-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout((function(){return e._beginUpdateDecorations()}),t.UPDATE_DIFF_DECORATIONS_DELAY)},t._equals=function(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()},t.prototype._beginUpdateDecorations=function(){var e=this;this._beginUpdateDecorationsTimeout=-1;var n=this.originalEditor.getModel(),r=this.modifiedEditor.getModel();if(n&&r){this._diffComputationToken++;var i=this._diffComputationToken;this._setState(1),this._editorWorkerService.canComputeDiff(n.uri,r.uri)?this._editorWorkerService.computeDiff(n.uri,r.uri,this._ignoreTrimWhitespace,this._maxComputationTime).then((function(t){i===e._diffComputationToken&&n===e.originalEditor.getModel()&&r===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=t,e._updateDecorationsRunner.schedule(),e._onDidUpdateDiff.fire())}),(function(t){i===e._diffComputationToken&&n===e.originalEditor.getModel()&&r===e.modifiedEditor.getModel()&&(e._setState(2),e._diffComputationResult=null,e._updateDecorationsRunner.schedule())})):t._equals(n.uri,this._lastOriginalWarning)&&t._equals(r.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=n.uri,this._lastModifiedWarning=r.uri,this._notificationService.warn(Fn["a"]("diff.tooLarge","Cannot compare files because one file is too large.")))}},t.prototype._cleanViewZonesAndDecorations=function(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)},t.prototype._updateDecorations=function(){if(this.originalEditor.getModel()&&this.modifiedEditor.getModel()&&this._originalOverviewRuler&&this._modifiedOverviewRuler){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),r=this._strategy.getEditorsDiffDecorations(e,this._ignoreTrimWhitespace,this._renderIndicators,t,n,this.originalEditor,this.modifiedEditor);try{this._currentlyChangingViewZones=!0,this._originalEditorState.apply(this.originalEditor,this._originalOverviewRuler,r.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,r.modified,!0)}finally{this._currentlyChangingViewZones=!1}}},t.prototype._adjustOptionsForSubEditor=function(e){var t=he["c"](e||{});return t.inDiffEditor=!0,t.wordWrap="off",t.wordWrapMinified=!1,t.automaticLayout=!1,t.scrollbar=t.scrollbar||{},t.scrollbar.vertical="visible",t.folding=!1,t.codeLens=!1,t.fixedOverflowWidgets=!0,t.minimap||(t.minimap={}),t.minimap.enabled=!1,t},t.prototype._adjustOptionsForLeftHandSide=function(e,t){var n=this._adjustOptionsForSubEditor(e);return n.readOnly=!t,n.extraEditorClassName="original-in-monaco-diff-editor",n},t.prototype._adjustOptionsForRightHandSide=function(e){var n=this._adjustOptionsForSubEditor(e);return n.revealHorizontalRightPadding=R["e"].revealHorizontalRightPadding.defaultValue+t.ENTIRE_DIFF_OVERVIEW_WIDTH,n.scrollbar.verticalHasArrows=!1,n.extraEditorClassName="modified-in-monaco-diff-editor",n},t.prototype.doLayout=function(){this._elementSizeObserver.observe(),this._doLayout()},t.prototype._doLayout=function(){var e=this._elementSizeObserver.getWidth(),n=this._elementSizeObserver.getHeight(),r=this._getReviewHeight(),i=this._strategy.layout();this._originalDomNode.style.width=i+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=e-i+"px",this._modifiedDomNode.style.left=i+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=n-r+"px",this._overviewDomElement.style.width=t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=e-t.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(t.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:i,height:n-r}),this.modifiedEditor.layout({width:e-i-t.ENTIRE_DIFF_OVERVIEW_WIDTH,height:n-r}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(n-r,e,r),this._layoutOverviewViewport()},t.prototype._layoutOverviewViewport=function(){var e=this._computeOverviewViewport();e?(this._overviewViewportDomElement.setTop(e.top),this._overviewViewportDomElement.setHeight(e.height)):(this._overviewViewportDomElement.setTop(0),this._overviewViewportDomElement.setHeight(0))},t.prototype._computeOverviewViewport=function(){var e=this.modifiedEditor.getLayoutInfo();if(!e)return null;var t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),r=Math.max(0,e.height),i=Math.max(0,r-0),o=n>0?i/n:0,a=Math.max(0,Math.floor(e.height*o)),s=Math.floor(t*o);return{height:a,top:s}},t.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._elementSizeObserver.getWidth()},getHeight:function(){return e._elementSizeObserver.getHeight()-e._getReviewHeight()},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},t.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),this._strategy=e,e.applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._doLayout()},t.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;var r=0,i=n.length-1;while(r<i){var o=Math.floor((r+i)/2),a=t(n[o]),s=o+1<=i?t(n[o+1]):1073741824;e<a?i=o-1:e>=s?r=o+1:(r=o,i=o)}return n[r]},t.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.originalStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),r=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),i=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,o=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-n;return a<=i?r+Math.min(a,o):r+o-i+a},t.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,(function(e){return e.modifiedStartLineNumber}));if(!t)return e;var n=t.originalStartLineNumber+(t.originalEndLineNumber>0?-1:0),r=t.modifiedStartLineNumber+(t.modifiedEndLineNumber>0?-1:0),i=t.originalEndLineNumber>0?t.originalEndLineNumber-t.originalStartLineNumber+1:0,o=t.modifiedEndLineNumber>0?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-r;return a<=o?n+Math.min(a,i):n+i-o+a},t.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},t.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},t.ONE_OVERVIEW_WIDTH=15,t.ENTIRE_DIFF_OVERVIEW_WIDTH=30,t.UPDATE_DIFF_DECORATIONS_DELAY=200,t=fi([pi(3,we["a"]),pi(4,zn["c"]),pi(5,Ot["a"]),pi(6,Y["a"]),pi(7,Kr["c"]),pi(8,lr["a"]),pi(9,oi["a"]),pi(10,ci["a"])],t),t}(de["a"]),yi=function(e){function t(t){var n=e.call(this)||this;return n._dataSource=t,n._insertColor=null,n._removeColor=null,n}return hi(t,e),t.prototype.applyColors=function(e){var t=(e.getColor(Ur["j"])||Ur["g"]).transparent(2),n=(e.getColor(Ur["l"])||Ur["h"]).transparent(2),r=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,r},t.prototype.getEditorsDiffDecorations=function(e,t,n,r,i,o,a){i=i.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber})),r=r.sort((function(e,t){return e.afterLineNumber-t.afterLineNumber}));var s=this._getViewZones(e,r,i,o,a,n),l=this._getOriginalEditorDecorations(e,t,n,o,a),u=this._getModifiedEditorDecorations(e,t,n,o,a);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:s.original},modified:{decorations:u.decorations,overviewZones:u.overviewZones,zones:s.modified}}},t}(de["a"]),bi=function(){function e(e){this._source=e,this._index=-1,this.current=null,this.advance()}return e.prototype.advance=function(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null},e}(),_i=function(){function e(e,t,n,r,i){this.lineChanges=e,this.originalForeignVZ=t,this.originalLineHeight=n,this.modifiedForeignVZ=r,this.modifiedLineHeight=i}return e.prototype.getViewZones=function(){for(var t={original:[],modified:[]},n=0,r=0,i=0,o=0,a=0,s=0,l=function(e,t){return e.afterLineNumber-t.afterLineNumber},u=function(e,t){if(null===t.domNode&&e.length>0){var n=e[e.length-1];if(n.afterLineNumber===t.afterLineNumber&&null===n.domNode)return void(n.heightInLines+=t.heightInLines)}e.push(t)},c=new bi(this.modifiedForeignVZ),d=new bi(this.originalForeignVZ),h=0,f=this.lineChanges.length;h<=f;h++){var p=h<f?this.lineChanges[h]:null;null!==p?(i=p.originalStartLineNumber+(p.originalEndLineNumber>0?-1:0),o=p.modifiedStartLineNumber+(p.modifiedEndLineNumber>0?-1:0),r=p.originalEndLineNumber>0?p.originalEndLineNumber-p.originalStartLineNumber+1:0,n=p.modifiedEndLineNumber>0?p.modifiedEndLineNumber-p.modifiedStartLineNumber+1:0,a=Math.max(p.originalStartLineNumber,p.originalEndLineNumber),s=Math.max(p.modifiedStartLineNumber,p.modifiedEndLineNumber)):(i+=1e7+r,o+=1e7+n,a=i,s=o);var g=[],m=[];while(c.current&&c.current.afterLineNumber<=s){var v=void 0;v=c.current.afterLineNumber<=o?i-o+c.current.afterLineNumber:a;var y=null;p&&p.modifiedStartLineNumber<=c.current.afterLineNumber&&c.current.afterLineNumber<=p.modifiedEndLineNumber&&(y=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),g.push({afterLineNumber:v,heightInLines:c.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:y}),c.advance()}while(d.current&&d.current.afterLineNumber<=a){v=void 0;v=d.current.afterLineNumber<=i?o-i+d.current.afterLineNumber:s,m.push({afterLineNumber:v,heightInLines:d.current.height/this.originalLineHeight,domNode:null}),d.advance()}if(null!==p&&Ei(p)){var b=this._produceOriginalFromDiff(p,r,n);b&&g.push(b)}if(null!==p&&Di(p)){b=this._produceModifiedFromDiff(p,r,n);b&&m.push(b)}var _=0,w=0;g=g.sort(l),m=m.sort(l);while(_<g.length&&w<m.length){var x=g[_],C=m[w],S=x.afterLineNumber-i,O=C.afterLineNumber-o;S<O?(u(t.original,x),_++):O<S?(u(t.modified,C),w++):x.shouldNotShrink?(u(t.original,x),_++):C.shouldNotShrink?(u(t.modified,C),w++):x.heightInLines>=C.heightInLines?(x.heightInLines-=C.heightInLines,w++):(C.heightInLines-=x.heightInLines,_++)}while(_<g.length)u(t.original,g[_]),_++;while(w<m.length)u(t.modified,m[w]),w++}return{original:e._ensureDomNodes(t.original),modified:e._ensureDomNodes(t.modified)}},e._ensureDomNodes=function(e){return e.map((function(e){return e.domNode||(e.domNode=Mi()),e}))},e}();function wi(e,t,n,r,i){return{range:new W["a"](e,t,n,r),options:i}}var xi={charDelete:ti["a"].register({className:"char-delete"}),charDeleteWholeLine:ti["a"].register({className:"char-delete",isWholeLine:!0}),charInsert:ti["a"].register({className:"char-insert"}),charInsertWholeLine:ti["a"].register({className:"char-insert",isWholeLine:!0}),lineInsert:ti["a"].register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:ti["a"].register({className:"line-insert",linesDecorationsClassName:"insert-sign codicon codicon-add",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:ti["a"].register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:ti["a"].register({className:"line-delete",linesDecorationsClassName:"delete-sign codicon codicon-remove",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:ti["a"].register({marginClassName:"line-delete"})},Ci=function(e){function t(t,n){var r=e.call(this,t)||this;return r._disableSash=!1===n,r._sashRatio=null,r._sashPosition=null,r._startSashPosition=null,r._sash=r._register(new Rr["a"](r._dataSource.getContainerDomNode(),r)),r._disableSash&&(r._sash.state=0),r._sash.onDidStart((function(){return r.onSashDragStart()})),r._sash.onDidChange((function(e){return r.onSashDrag(e)})),r._sash.onDidEnd((function(){return r.onSashDragEnd()})),r._sash.onDidReset((function(){return r.onSashReset()})),r}return hi(t,e),t.prototype.setEnableSplitViewResizing=function(e){var t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)},t.prototype.layout=function(e){void 0===e&&(e=this._sashRatio);var n=this._dataSource.getWidth(),r=n-vi.ENTIRE_DIFF_OVERVIEW_WIDTH,i=Math.floor((e||.5)*r),o=Math.floor(.5*r);return i=this._disableSash?o:i||o,r>2*t.MINIMUM_EDITOR_WIDTH?(i<t.MINIMUM_EDITOR_WIDTH&&(i=t.MINIMUM_EDITOR_WIDTH),i>r-t.MINIMUM_EDITOR_WIDTH&&(i=r-t.MINIMUM_EDITOR_WIDTH)):i=o,this._sashPosition!==i&&(this._sashPosition=i,this._sash.layout()),this._sashPosition},t.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},t.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth(),n=t-vi.ENTIRE_DIFF_OVERVIEW_WIDTH,r=this.layout((this._startSashPosition+(e.currentX-e.startX))/n);this._sashRatio=r/n,this._dataSource.relayoutEditors()},t.prototype.onSashDragEnd=function(){this._sash.layout()},t.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},t.prototype.getVerticalSashTop=function(e){return 0},t.prototype.getVerticalSashLeft=function(e){return this._sashPosition},t.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},t.prototype._getViewZones=function(e,t,n,r,i){var o=new Si(e,t,r.getOption(49),n,i.getOption(49));return o.getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,r,i){for(var o=String(this._removeColor),a={decorations:[],overviewZones:[]},s=r.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(Di(c)&&(a.decorations.push({range:new W["a"](c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824),options:n?xi.lineDeleteWithSign:xi.lineDelete}),Ei(c)&&c.charChanges||a.decorations.push(wi(c.originalStartLineNumber,1,c.originalEndLineNumber,1073741824,xi.charDeleteWholeLine)),a.overviewZones.push(new ni["a"](c.originalStartLineNumber,c.originalEndLineNumber,o)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(Di(f))if(t)for(var p=f.originalStartLineNumber;p<=f.originalEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.originalStartLineNumber?f.originalStartColumn:s.getLineFirstNonWhitespaceColumn(p),m=p===f.originalEndLineNumber?f.originalEndColumn:s.getLineLastNonWhitespaceColumn(p),a.decorations.push(wi(p,g,p,m,xi.charDelete))}else a.decorations.push(wi(f.originalStartLineNumber,f.originalStartColumn,f.originalEndLineNumber,f.originalEndColumn,xi.charDelete))}}return a},t.prototype._getModifiedEditorDecorations=function(e,t,n,r,i){for(var o=String(this._insertColor),a={decorations:[],overviewZones:[]},s=i.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(Ei(c)&&(a.decorations.push({range:new W["a"](c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?xi.lineInsertWithSign:xi.lineInsert}),Di(c)&&c.charChanges||a.decorations.push(wi(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,xi.charInsertWholeLine)),a.overviewZones.push(new ni["a"](c.modifiedStartLineNumber,c.modifiedEndLineNumber,o)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(Ei(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(p),a.decorations.push(wi(p,g,p,m,xi.charInsert))}else a.decorations.push(wi(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,xi.charInsert))}}return a},t.MINIMUM_EDITOR_WIDTH=100,t}(yi),Si=function(e){function t(t,n,r,i,o){return e.call(this,t,n,r,i,o)||this}return hi(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){return null},t.prototype._produceOriginalFromDiff=function(e,t,n){return n>t?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},t.prototype._produceModifiedFromDiff=function(e,t,n){return t>n?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},t}(_i),Oi=function(e){function t(t,n){var r=e.call(this,t)||this;return r.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,r._register(t.getOriginalEditor().onDidLayoutChange((function(e){r.decorationsLeft!==e.decorationsLeft&&(r.decorationsLeft=e.decorationsLeft,t.relayoutEditors())}))),r}return hi(t,e),t.prototype.setEnableSplitViewResizing=function(e){},t.prototype._getViewZones=function(e,t,n,r,i,o){var a=new ki(e,t,n,r,i,o);return a.getViewZones()},t.prototype._getOriginalEditorDecorations=function(e,t,n,r,i){for(var o=String(this._removeColor),a={decorations:[],overviewZones:[]},s=0,l=e.length;s<l;s++){var u=e[s];Di(u)&&(a.decorations.push({range:new W["a"](u.originalStartLineNumber,1,u.originalEndLineNumber,1073741824),options:xi.lineDeleteMargin}),a.overviewZones.push(new ni["a"](u.originalStartLineNumber,u.originalEndLineNumber,o)))}return a},t.prototype._getModifiedEditorDecorations=function(e,t,n,r,i){for(var o=String(this._insertColor),a={decorations:[],overviewZones:[]},s=i.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(Ei(c))if(a.decorations.push({range:new W["a"](c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824),options:n?xi.lineInsertWithSign:xi.lineInsert}),a.overviewZones.push(new ni["a"](c.modifiedStartLineNumber,c.modifiedEndLineNumber,o)),c.charChanges)for(var d=0,h=c.charChanges.length;d<h;d++){var f=c.charChanges[d];if(Ei(f))if(t)for(var p=f.modifiedStartLineNumber;p<=f.modifiedEndLineNumber;p++){var g=void 0,m=void 0;g=p===f.modifiedStartLineNumber?f.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(p),m=p===f.modifiedEndLineNumber?f.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(p),a.decorations.push(wi(p,g,p,m,xi.charInsert))}else a.decorations.push(wi(f.modifiedStartLineNumber,f.modifiedStartColumn,f.modifiedEndLineNumber,f.modifiedEndColumn,xi.charInsert))}else a.decorations.push(wi(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,1073741824,xi.charInsertWholeLine))}return a},t.prototype.layout=function(){return Math.max(5,this.decorationsLeft)},t}(yi),ki=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t,n,i.getOption(49),r,o.getOption(49))||this;return s.originalModel=i.getModel(),s.modifiedEditorOptions=o.getOptions(),s.modifiedEditorTabSize=o.getModel().getOptions().tabSize,s.renderIndicators=a,s}return hi(t,e),t.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){var e=document.createElement("div");return e.className="inline-added-margin-view-zone",e},t.prototype._produceOriginalFromDiff=function(e,t,n){var r=document.createElement("div");return r.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:r}},t.prototype._produceModifiedFromDiff=function(e,t,n){var r=[];if(e.charChanges)for(var i=0,o=e.charChanges.length;i<o;i++){var a=e.charChanges[i];Di(a)&&r.push(new Zt["a"](new W["a"](a.originalStartLineNumber,a.originalStartColumn,a.originalEndLineNumber,a.originalEndColumn),"char-delete",0))}for(var s=Object(ei["a"])(1e4),l=[],u=this.modifiedEditorOptions.get(107),c=this.modifiedEditorOptions.get(34),d=u.decorationsWidth,h=this.modifiedEditorOptions.get(49),f=c.typicalHalfwidthCharacterWidth,p=0,g=[],m=e.originalStartLineNumber;m<=e.originalEndLineNumber;m++)if(p=Math.max(p,this._renderOriginalLine(m-e.originalStartLineNumber,this.originalModel,this.modifiedEditorOptions,this.modifiedEditorTabSize,m,r,s)),g.push(this.originalModel.getLineContent(m)),this.renderIndicators){var v=m-e.originalStartLineNumber;l=l.concat(['<div class="delete-sign codicon codicon-remove" style="position:absolute;top:'+v*h+"px;width:"+d+"px;height:"+h+'px;right:0;"></div>'])}p+=this.modifiedEditorOptions.get(79);var y=document.createElement("div");y.className="view-lines line-delete",y.innerHTML=s.build(),jr["a"].applyFontInfoSlow(y,c);var b=document.createElement("div");return b.className="inline-deleted-margin-view-zone",b.innerHTML=l.join(""),jr["a"].applyFontInfoSlow(b,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:p*f,domNode:y,marginDomNode:b,diff:{originalStartLineNumber:e.originalStartLineNumber,originalEndLineNumber:e.originalEndLineNumber,modifiedStartLineNumber:e.modifiedStartLineNumber,modifiedEndLineNumber:e.modifiedEndLineNumber,originalContent:g}}},t.prototype._renderOriginalLine=function(e,t,n,r,i,o,a){var s=t.getLineTokens(i),l=s.getLineContent(),u=n.get(34),c=ri["a"].filter(o,i,1,l.length+1);a.appendASCIIString('<div class="view-line'),0===o.length&&a.appendASCIIString(" char-delete"),a.appendASCIIString('" style="top:'),a.appendASCIIString(String(e*n.get(49))),a.appendASCIIString('px;width:1000000px;">');var d=Zt["d"].isBasicASCII(l,t.mightContainNonBasicASCII()),h=Zt["d"].containsRTL(l,d,t.mightContainRTL()),f=Object(Xt["d"])(new Xt["c"](u.isMonospace&&!n.get(23),u.canUseHalfwidthRightwardsArrow,l,!1,d,h,0,s,c,r,0,u.spaceWidth,u.middotWidth,n.get(88),n.get(74),n.get(69),n.get(35)!==R["d"].OFF,null),a);a.appendASCIIString("</div>");var p=f.characterMapping.getAbsoluteOffsets();return p.length>0?p[p.length-1]:0},t}(_i);function Ei(e){return e.modifiedEndLineNumber>0}function Di(e){return e.originalEndLineNumber>0}function Mi(){var e=document.createElement("div");return e.className="diagonal-fill",e}Object(Kr["e"])((function(e,t){var n=e.getColor(Ur["j"]);n&&(t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-diff-editor .line-insert, .monaco-diff-editor .char-insert { background-color: "+n+"; }"),t.addRule(".monaco-editor .inline-added-margin-view-zone { background-color: "+n+"; }"));var r=e.getColor(Ur["l"]);r&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+r+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+r+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+r+"; }"));var i=e.getColor(Ur["k"]);i&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+i+"; }");var o=e.getColor(Ur["m"]);o&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var a=e.getColor(Ur["Tb"]);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+a+"; }");var s=e.getColor(Ur["i"]);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+s+"; }")}));var Ni=n("9Y+e"),Li=Object(Ot["c"])("themeService"),Ii=n("fjLI"),Ti=n("bexQ"),Pi=n("R3nR"),Ai=n("9XeP"),Ri=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ji=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Fi=function(e,t){return function(n,r){t(n,r,e)}},Bi=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Vi=0,zi=!1;function Wi(){zi||(zi=!0,Tr["b"](document.body))}var Hi=function(e){function t(t,n,r,i,o,a,s,l,u,c){var d=this;return n=n||{},n.ariaLabel=n.ariaLabel||tr.editorViewAccessibleLabel,n.ariaLabel=n.ariaLabel+";"+(Ir["i"]?tr.accessibilityHelpMessageIE:tr.accessibilityHelpMessage),d=e.call(this,t,n,{},r,i,o,a,l,u,c)||this,d._standaloneKeybindingService=s instanceof wr?s:null,Wi(),d}return Ri(t,e),t.prototype.addCommand=function(e,t,n){if(!this._standaloneKeybindingService)return console.warn("Cannot add command because the editor is configured with an unrecognized KeybindingService"),null;var r="DYNAMIC_"+ ++Vi,i=zn["a"].deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(r,e,t,i),r},t.prototype.createContextKey=function(e,t){return this._contextKeyService.createKey(e,t)},t.prototype.addAction=function(e){var t=this;if("string"!==typeof e.id||"string"!==typeof e.label||"function"!==typeof e.run)throw new Error("Invalid action descriptor, `id`, `label` and `run` are required properties!");if(!this._standaloneKeybindingService)return console.warn("Cannot add keybinding because the editor is configured with an unrecognized KeybindingService"),de["a"].None;var n=e.id,r=e.label,i=zn["a"].and(zn["a"].equals("editorId",this.getId()),zn["a"].deserialize(e.precondition)),o=e.keybindings,a=zn["a"].and(i,zn["a"].deserialize(e.keybindingContext)),s=e.contextMenuGroupId||null,l=e.contextMenuOrder||0,u=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return Promise.resolve(e.run.apply(e,Bi([t],r)))},c=new de["b"],d=this.getId()+":"+n;if(c.add(ee["a"].registerCommand(d,u)),s){var h={command:{id:d,title:r},when:i,group:s,order:l};c.add(Ii["c"].appendMenuItem(7,h))}if(Array.isArray(o))for(var f=0,p=o;f<p.length;f++){var g=p[f];c.add(this._standaloneKeybindingService.addDynamicKeybinding(d,g,u,a))}var m=new Ni["a"](d,r,r,i,u,this._contextKeyService);return this._actions[n]=m,c.add(Object(de["h"])((function(){delete t._actions[n]}))),c},t=ji([Fi(2,Ot["a"]),Fi(3,Y["a"]),Fi(4,ee["b"]),Fi(5,zn["c"]),Fi(6,Ti["a"]),Fi(7,Kr["c"]),Fi(8,lr["a"]),Fi(9,Pi["b"])],t),t}(Pr["a"]),Ui=function(e){function t(t,n,r,i,o,a,s,l,u,c,d,h,f){var p=this;Dr(h,n,!1);var g=c.registerEditorContainer(t);n=n||{},"string"===typeof n.theme&&c.setTheme(n.theme);var m,v=n.model;if(delete n.model,p=e.call(this,t,n,i,o,a,s,l,c,d,f)||this,p._contextViewService=u,p._configurationService=h,p._register(r),p._register(g),"undefined"===typeof v?(m=self.monaco.editor.createModel(n.value||"",n.language||"text/plain"),p._ownsModel=!0):(m=v,p._ownsModel=!1),p._attachModel(m),m){var y={oldModelUrl:null,newModelUrl:m.uri};p._onDidChangeModel.fire(y)}return p}return Ri(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Dr(this._configurationService,t,!1),e.prototype.updateOptions.call(this,t)},t.prototype._attachModel=function(t){e.prototype._attachModel.call(this,t),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},t.prototype._postDetachModelCleanup=function(t){e.prototype._postDetachModelCleanup.call(this,t),t&&this._ownsModel&&(t.dispose(),this._ownsModel=!1)},t=ji([Fi(3,Ot["a"]),Fi(4,Y["a"]),Fi(5,ee["b"]),Fi(6,zn["c"]),Fi(7,Ti["a"]),Fi(8,oi["b"]),Fi(9,Li),Fi(10,lr["a"]),Fi(11,Nn["a"]),Fi(12,Pi["b"])],t),t}(Hi),Ki=function(e){function t(t,n,r,i,o,a,s,l,u,c,d,h,f,p,g){var m=this;Dr(h,n,!0);var v=c.registerEditorContainer(t);return n=n||{},"string"===typeof n.theme&&(n.theme=c.setTheme(n.theme)),m=e.call(this,t,n,g,l,o,i,u,c,d,f,p)||this,m._contextViewService=s,m._configurationService=h,m._register(r),m._register(v),m._contextViewService.setContainer(m._containerDomElement),m}return Ri(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.updateOptions=function(t){Dr(this._configurationService,t,!0),e.prototype.updateOptions.call(this,t)},t.prototype._createInnerEditor=function(e,t,n){return e.createInstance(Hi,t,n)},t.prototype.getOriginalEditor=function(){return e.prototype.getOriginalEditor.call(this)},t.prototype.getModifiedEditor=function(){return e.prototype.getModifiedEditor.call(this)},t.prototype.addCommand=function(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)},t.prototype.createContextKey=function(e,t){return this.getModifiedEditor().createContextKey(e,t)},t.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},t=ji([Fi(3,Ot["a"]),Fi(4,zn["c"]),Fi(5,Ti["a"]),Fi(6,oi["b"]),Fi(7,we["a"]),Fi(8,Y["a"]),Fi(9,Li),Fi(10,lr["a"]),Fi(11,Nn["a"]),Fi(12,oi["a"]),Fi(13,ci["a"]),Fi(14,Object(Ot["d"])(Ai["a"]))],t),t}(vi),Gi=n("x/UI"),qi=n("WBhO"),Yi=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Xi=n("MrjW"),Zi=n("l2gE"),Qi="text/plain",$i="application/unknown",Ji=[],eo=[],to=[];function no(e,t){void 0===t&&(t=!1);var n=ro(e);Ji.push(n),n.userConfigured?to.push(n):eo.push(n),t&&!n.userConfigured&&Ji.forEach((function(e){e.mime===n.mime||e.userConfigured||(n.extension&&e.extension===n.extension&&console.warn("Overwriting extension <<"+n.extension+">> to now point to mime <<"+n.mime+">>"),n.filename&&e.filename===n.filename&&console.warn("Overwriting filename <<"+n.filename+">> to now point to mime <<"+n.mime+">>"),n.filepattern&&e.filepattern===n.filepattern&&console.warn("Overwriting filepattern <<"+n.filepattern+">> to now point to mime <<"+n.mime+">>"),n.firstline&&e.firstline===n.firstline&&console.warn("Overwriting firstline <<"+n.firstline+">> to now point to mime <<"+n.mime+">>"))}))}function ro(e){return{id:e.id,mime:e.mime,filename:e.filename,extension:e.extension,filepattern:e.filepattern,firstline:e.firstline,userConfigured:e.userConfigured,filenameLowercase:e.filename?e.filename.toLowerCase():void 0,extensionLowercase:e.extension?e.extension.toLowerCase():void 0,filepatternLowercase:e.filepattern?e.filepattern.toLowerCase():void 0,filepatternOnPath:!!e.filepattern&&e.filepattern.indexOf(Xi["posix"].sep)>=0}}function io(e,t){var n;if(e)switch(e.scheme){case $["b"].file:n=e.fsPath;break;case $["b"].data:var r=J["a"].parseMetaData(e);n=r.get(J["a"].META_DATA_LABEL);break;default:n=e.path}if(!n)return[$i];n=n.toLowerCase();var i=Object(Xi["basename"])(n),o=oo(n,i,to);if(o)return[o,Qi];var a=oo(n,i,eo);if(a)return[a,Qi];if(t){var s=ao(t);if(s)return[s,Qi]}return[$i]}function oo(e,t,n){for(var r=null,i=null,o=null,a=n.length-1;a>=0;a--){var s=n[a];if(t===s.filenameLowercase){r=s;break}if(s.filepattern&&(!i||s.filepattern.length>i.filepattern.length)){var l=s.filepatternOnPath?e:t;Object(Zi["a"])(s.filepatternLowercase,l)&&(i=s)}s.extension&&(!o||s.extension.length>o.extension.length)&&Object(Ye["m"])(t,s.extensionLowercase)&&(o=s)}return r?r.mime:i?i.mime:o?o.mime:null}function ao(e){if(Object(Ye["O"])(e)&&(e=e.substr(1)),e.length>0)for(var t=Ji.length-1;t>=0;t--){var n=Ji[t];if(n.firstline){var r=e.match(n.firstline);if(r&&r.length>0)return n.mime}}return null}var so=n("MqQJ"),lo=n("ic2d"),uo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),co=Object.prototype.hasOwnProperty,ho=function(e){function t(t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var r=e.call(this)||this;return r._onDidChange=r._register(new F["a"]),r.onDidChange=r._onDidChange.event,r._warnOnOverwrite=n,r._nextLanguageId2=1,r._languageIdToLanguage=[],r._languageToLanguageId=Object.create(null),r._languages={},r._mimeTypesMap={},r._nameMap={},r._lowercaseNameMap={},t&&(r._initializeFromRegistry(),r._register(so["a"].onDidChangeLanguages((function(e){return r._initializeFromRegistry()})))),r}return uo(t,e),t.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=so["a"].getLanguages();this._registerLanguages(e)},t.prototype._registerLanguages=function(e){for(var t=this,n=0,r=e;n<r.length;n++){var i=r[n];this._registerLanguage(i)}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach((function(e){var n=t._languages[e];n.name&&(t._nameMap[n.name]=n.identifier),n.aliases.forEach((function(e){t._lowercaseNameMap[e.toLowerCase()]=n.identifier})),n.mimetypes.forEach((function(e){t._mimeTypesMap[e]=n.identifier}))})),lo["a"].as(In["a"].Configuration).registerOverrideIdentifiers(so["a"].getLanguages().map((function(e){return e.id}))),this._onDidChange.fire()},t.prototype._getLanguageId=function(e){if(this._languageToLanguageId[e])return this._languageToLanguageId[e];var t=this._nextLanguageId2++;return this._languageIdToLanguage[t]=e,this._languageToLanguageId[e]=t,t},t.prototype._registerLanguage=function(e){var t,n=e.id;if(co.call(this._languages,n))t=this._languages[n];else{var r=this._getLanguageId(n);t={identifier:new be["q"](n,r),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[n]=t}this._mergeLanguage(t,e)},t.prototype._mergeLanguage=function(e,t){var n,r=t.id,i=null;if(Array.isArray(t.mimetypes)&&t.mimetypes.length>0&&((n=e.mimetypes).push.apply(n,t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+r,e.mimetypes.push(i)),Array.isArray(t.extensions))for(var o=0,a=t.extensions;o<a.length;o++){var s=a[o];no({id:r,mime:i,extension:s},this._warnOnOverwrite),e.extensions.push(s)}if(Array.isArray(t.filenames))for(var l=0,u=t.filenames;l<u.length;l++){var c=u[l];no({id:r,mime:i,filename:c},this._warnOnOverwrite),e.filenames.push(c)}if(Array.isArray(t.filenamePatterns))for(var d=0,h=t.filenamePatterns;d<h.length;d++){var f=h[d];no({id:r,mime:i,filepattern:f},this._warnOnOverwrite)}if("string"===typeof t.firstLine&&t.firstLine.length>0){var p=t.firstLine;"^"!==p.charAt(0)&&(p="^"+p);try{var g=new RegExp(p);Ye["I"](g)||no({id:r,mime:i,firstline:g},this._warnOnOverwrite)}catch(x){Object(Se["e"])(x)}}e.aliases.push(r);var m=null;if("undefined"!==typeof t.aliases&&Array.isArray(t.aliases)&&(m=0===t.aliases.length?[null]:t.aliases),null!==m)for(var v=0,y=m;v<y.length;v++){var b=y[v];b&&0!==b.length&&e.aliases.push(b)}var _=null!==m&&m.length>0;if(_&&null===m[0]);else{var w=(_?m[0]:null)||r;!_&&e.name||(e.name=w)}t.configuration&&e.configurationFiles.push(t.configuration)},t.prototype.isRegisteredMode=function(e){return!!co.call(this._mimeTypesMap,e)||co.call(this._languages,e)},t.prototype.getModeIdForLanguageNameLowercase=function(e){return co.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},t.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map((function(e){return e.trim()})).map((function(e){return co.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e})).filter((function(e){return co.call(t._languages,e)})):[]},t.prototype.getLanguageIdentifier=function(e){if(e===_e["b"]||0===e)return _e["a"];var t;if("string"===typeof e)t=e;else if(t=this._languageIdToLanguage[e],!t)return null;return co.call(this._languages,t)?this._languages[t].identifier:null},t.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=io(e,t);return this.extractModeIds(n.join(","))},t}(de["a"]),fo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),po=function(e){function t(t,n){var r=e.call(this)||this;return r._onDidChange=r._register(new F["a"]),r.onDidChange=r._onDidChange.event,r._selector=n,r.languageIdentifier=r._selector(),r._register(t((function(){return r._evaluate()}))),r}return fo(t,e),t.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},t}(de["a"]),go=function(){function e(e){var t=this;void 0===e&&(e=!1),this._onDidCreateMode=new F["a"],this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new F["a"],this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new ho(!0,e),this._registry.onDidChange((function(){return t._onLanguagesMaybeChanged.fire()}))}return e.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},e.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},e.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return Object(Fe["l"])(n,null)},e.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return Object(Fe["l"])(t,null)},e.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},e.prototype.create=function(e){var t=this;return new po(this.onLanguagesMaybeChanged,(function(){var n=t.getModeId(e);return t._createModeAndGetLanguageIdentifier(n)}))},e.prototype.createByFilepathOrFirstLine=function(e,t){var n=this;return new po(this.onLanguagesMaybeChanged,(function(){var r=n.getModeIdByFilepathOrFirstLine(e,t);return n._createModeAndGetLanguageIdentifier(r)}))},e.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||_e["a"];return this._getOrCreateMode(t.language),t},e.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},e.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||_e["a"];this._instantiatedModes[e]=new Yi(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),mo=n("QRHv"),vo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),yo=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},bo=function(e,t){return function(n,r){t(n,r,e)}};function _o(e){return e.toString()}var wo=function(){function e(e,t,n){this._modelEventListeners=new de["b"],this.model=e,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners.add(e.onWillDispose((function(){return t(e)}))),this._modelEventListeners.add(e.onDidChangeLanguage((function(t){return n(e,t)})))}return e.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},e.prototype.dispose=function(){this._modelEventListeners.dispose(),this._disposeLanguageSelection()},e.prototype.setLanguage=function(e){var t=this;this._disposeLanguageSelection(),this._languageSelection=e,this._languageSelectionListener=this._languageSelection.onDidChange((function(){return t.model.setMode(e.languageIdentifier)})),this.model.setMode(e.languageIdentifier)},e}(),xo=Oe["d"]||Oe["e"]?1:2,Co=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._onModelAdded=o._register(new F["a"]),o.onModelAdded=o._onModelAdded.event,o._onModelRemoved=o._register(new F["a"]),o.onModelRemoved=o._onModelRemoved.event,o._onModelModeChanged=o._register(new F["a"]),o.onModelModeChanged=o._onModelModeChanged.event,o._configurationService=t,o._resourcePropertiesService=n,o._models={},o._modelCreationOptionsByLanguageAndResource=Object.create(null),o._configurationServiceSubscription=o._configurationService.onDidChangeConfiguration((function(e){return o._updateModelOptions()})),o._updateModelOptions(),o._register(new So(o,r,t,i)),o}return vo(t,e),t._readModelOptions=function(e,t){var n=R["c"].tabSize;if(e.editor&&"undefined"!==typeof e.editor.tabSize){var r=parseInt(e.editor.tabSize,10);isNaN(r)||(n=r),n<1&&(n=1)}var i=n;if(e.editor&&"undefined"!==typeof e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var o=parseInt(e.editor.indentSize,10);isNaN(o)||(i=o),i<1&&(i=1)}var a=R["c"].insertSpaces;e.editor&&"undefined"!==typeof e.editor.insertSpaces&&(a="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var s=xo,l=e.eol;"\r\n"===l?s=2:"\n"===l&&(s=1);var u=R["c"].trimAutoWhitespace;e.editor&&"undefined"!==typeof e.editor.trimAutoWhitespace&&(u="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=R["c"].detectIndentation;e.editor&&"undefined"!==typeof e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=R["c"].largeFileOptimizations;return e.editor&&"undefined"!==typeof e.editor.largeFileOptimizations&&(d="false"!==e.editor.largeFileOptimizations&&Boolean(e.editor.largeFileOptimizations)),{isForSimpleWidget:t,tabSize:n,indentSize:i,insertSpaces:a,detectIndentation:c,defaultEOL:s,trimAutoWhitespace:u,largeFileOptimizations:d}},t.prototype.getCreationOptions=function(e,n,r){var i=this._modelCreationOptionsByLanguageAndResource[e+n];if(!i){var o=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:n}),a=this._resourcePropertiesService.getEOL(n,e);i=t._readModelOptions({editor:o,eol:a},r),this._modelCreationOptionsByLanguageAndResource[e+n]=i}return i},t.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var n=Object.keys(this._models),r=0,i=n.length;r<i;r++){var o=n[r],a=this._models[o],s=a.model.getLanguageIdentifier().language,l=a.model.uri,u=e[s+l],c=this.getCreationOptions(s,l,a.model.isForSimpleWidget);t._setModelOptionsForModel(a.model,c,u)}},t._setModelOptionsForModel=function(e,t,n){n&&n.defaultEOL!==t.defaultEOL&&1===e.getLineCount()&&e.setEOL(1===t.defaultEOL?0:1),n&&n.detectIndentation===t.detectIndentation&&n.insertSpaces===t.insertSpaces&&n.tabSize===t.tabSize&&n.indentSize===t.indentSize&&n.trimAutoWhitespace===t.trimAutoWhitespace||(t.detectIndentation?(e.detectIndentation(t.insertSpaces,t.tabSize),e.updateOptions({trimAutoWhitespace:t.trimAutoWhitespace})):e.updateOptions({insertSpaces:t.insertSpaces,tabSize:t.tabSize,indentSize:t.indentSize,trimAutoWhitespace:t.trimAutoWhitespace}))},t.prototype.dispose=function(){this._configurationServiceSubscription.dispose(),e.prototype.dispose.call(this)},t.prototype._createModelData=function(e,t,n,r){var i=this,o=this.getCreationOptions(t.language,n,r),a=new ti["b"](e,o,t,n),s=_o(a.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");var l=new wo(a,(function(e){return i._onWillDispose(e)}),(function(e,t){return i._onDidChangeLanguage(e,t)}));return this._models[s]=l,l},t.prototype.createModel=function(e,t,n,r){var i;return void 0===r&&(r=!1),t?(i=this._createModelData(e,t.languageIdentifier,n,r),this.setMode(i.model,t)):i=this._createModelData(e,so["b"],n,r),this._onModelAdded.fire(i.model),i.model},t.prototype.setMode=function(e,t){if(t){var n=this._models[_o(e.uri)];n&&n.setLanguage(t)}},t.prototype.getModels=function(){for(var e=[],t=Object.keys(this._models),n=0,r=t.length;n<r;n++){var i=t[n];e.push(this._models[i].model)}return e},t.prototype.getModel=function(e){var t=_o(e),n=this._models[t];return n?n.model:null},t.prototype._onWillDispose=function(e){var t=_o(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)},t.prototype._onDidChangeLanguage=function(e,n){var r=n.oldLanguage,i=e.getLanguageIdentifier().language,o=this.getCreationOptions(r,e.uri,e.isForSimpleWidget),a=this.getCreationOptions(i,e.uri,e.isForSimpleWidget);t._setModelOptionsForModel(e,a,o),this._onModelModeChanged.fire({model:e,oldModeId:r})},t=yo([bo(0,Nn["a"]),bo(1,Et),bo(2,Kr["c"]),bo(3,Dt["a"])],t),t}(de["a"]),So=function(e){function t(n,r,i,o){var a=e.call(this)||this;a._configurationService=i,a._watchers=Object.create(null),a._semanticStyling=a._register(new Oo(r,o));var s=function(e){var n=i.getValue(t.SETTING_ID,{overrideIdentifier:e.getLanguageIdentifier().language,resource:e.uri});return n&&n.enabled},l=function(e){a._watchers[e.uri.toString()]=new No(e,r,a._semanticStyling)},u=function(e,t){t.dispose(),delete a._watchers[e.uri.toString()]};return a._register(n.onModelAdded((function(e){s(e)&&l(e)}))),a._register(n.onModelRemoved((function(e){var t=a._watchers[e.uri.toString()];t&&u(e,t)}))),a._configurationService.onDidChangeConfiguration((function(e){if(e.affectsConfiguration(t.SETTING_ID))for(var r=0,i=n.getModels();r<i.length;r++){var o=i[r],c=a._watchers[o.uri.toString()];s(o)?c||l(o):c&&u(o,c)}})),a}return vo(t,e),t.SETTING_ID="editor.semanticHighlighting",t}(de["a"]),Oo=function(e){function t(t,n){var r=e.call(this)||this;return r._themeService=t,r._logService=n,r._caches=new WeakMap,r._themeService&&r._register(r._themeService.onThemeChange((function(){r._caches=new WeakMap}))),r}return vo(t,e),t.prototype.get=function(e){return this._caches.has(e)||this._caches.set(e,new Do(e.getLegend(),this._themeService,this._logService)),this._caches.get(e)},t}(de["a"]),ko=function(){function e(e,t,n){this.tokenTypeIndex=e,this.tokenModifierSet=t,this.metadata=n,this.next=null}return e}(),Eo=function(){function e(){this._elementsCount=0,this._currentLengthIndex=0,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength)}return e._nullOutEntries=function(e,t){for(var n=0;n<t;n++)e[n]=null},e.prototype._hashFunc=function(e,t){return((e<<5)-e+t|0)%this._currentLength},e.prototype.get=function(e,t){var n=this._hashFunc(e,t),r=this._elements[n];while(r){if(r.tokenTypeIndex===e&&r.tokenModifierSet===t)return r;r=r.next}return null},e.prototype.add=function(t,n,r){if(this._elementsCount++,0!==this._growCount&&this._elementsCount>=this._growCount){var i=this._elements;this._currentLengthIndex++,this._currentLength=e._SIZES[this._currentLengthIndex],this._growCount=Math.round(this._currentLengthIndex+1<e._SIZES.length?2/3*this._currentLength:0),this._elements=[],e._nullOutEntries(this._elements,this._currentLength);for(var o=0,a=i;o<a.length;o++){var s=a[o],l=s;while(l){var u=l.next;l.next=null,this._add(l),l=u}}}this._add(new ko(t,n,r))},e.prototype._add=function(e){var t=this._hashFunc(e.tokenTypeIndex,e.tokenModifierSet);e.next=this._elements[t],this._elements[t]=e},e._SIZES=[3,7,13,31,61,127,251,509,1021,2039,4093,8191,16381,32749,65521,131071,262139,524287,1048573,2097143],e}(),Do=function(){function e(e,t,n){this._legend=e,this._themeService=t,this._logService=n,this._hashTable=new Eo}return e.prototype.getMetadata=function(e,t){var n,r=this._hashTable.get(e,t);if(r)n=r.metadata;else{for(var i=this._legend.tokenTypes[e],o=[],a=t,s=0;a>0&&s<this._legend.tokenModifiers.length;s++)1&a&&o.push(this._legend.tokenModifiers[s]),a>>=1;var l=this._themeService.getTheme().getTokenStyleMetadata(i,o);if("undefined"===typeof l)n=2147483647;else{if(n=0,"undefined"!==typeof l.italic){var u=(l.italic?1:0)<<11;n|=1|u}if("undefined"!==typeof l.bold){var c=(l.bold?2:0)<<11;n|=2|c}if("undefined"!==typeof l.underline){var d=(l.underline?4:0)<<11;n|=4|d}if(l.foreground){var h=l.foreground<<14;n|=8|h}0===n&&(n=2147483647)}this._hashTable.add(e,t,n)}if(this._logService.getLevel()===Dt["b"].Trace){var f=this._legend.tokenTypes[e],p=t?" "+this._legend.tokenModifiers.filter((function(e,n){return t&1<<n})).join(" "):"";this._logService.trace("tokenStyleMetadata "+(r?"[CACHED] ":"")+f+p+": foreground "+be["x"].getForeground(n)+", fontStyle "+be["x"].getFontStyle(n).toString(2))}return n},e}(),Mo=function(){function e(e,t,n){this._provider=e,this.resultId=t,this.data=n}return e.prototype.dispose=function(){this._provider.releaseDocumentSemanticTokens(this.resultId)},e}(),No=function(e){function t(t,n,r){var i=e.call(this)||this;return i._isDisposed=!1,i._model=t,i._semanticStyling=r,i._fetchSemanticTokens=i._register(new Ce["d"]((function(){return i._fetchSemanticTokensNow()}),300)),i._currentResponse=null,i._currentRequestCancellationTokenSource=null,i._register(i._model.onDidChangeContent((function(e){i._fetchSemanticTokens.isScheduled()||i._fetchSemanticTokens.schedule()}))),i._register(be["k"].onDidChange((function(e){return i._fetchSemanticTokens.schedule()}))),n&&i._register(n.onThemeChange((function(e){i._setSemanticTokens(null,null,null,[]),i._fetchSemanticTokens.schedule()}))),i._fetchSemanticTokens.schedule(0),i}return vo(t,e),t.prototype.dispose=function(){this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._currentRequestCancellationTokenSource&&(this._currentRequestCancellationTokenSource.cancel(),this._currentRequestCancellationTokenSource=null),this._setSemanticTokens(null,null,null,[]),this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._fetchSemanticTokensNow=function(){var e=this;if(!this._currentRequestCancellationTokenSource){var t=this._getSemanticColoringProvider();if(t){this._currentRequestCancellationTokenSource=new j["b"];var n=[],r=this._model.onDidChangeContent((function(e){n.push(e)})),i=this._semanticStyling.get(t),o=this._currentResponse&&this._currentResponse.resultId||null,a=Promise.resolve(t.provideDocumentSemanticTokens(this._model,o,this._currentRequestCancellationTokenSource.token));a.then((function(o){e._currentRequestCancellationTokenSource=null,r.dispose(),e._setSemanticTokens(t,o||null,i,n)}),(function(t){t&&"string"===typeof t.message&&-1!==t.message.indexOf("busy")||Se["e"](t),e._currentRequestCancellationTokenSource=null,r.dispose(),n.length>0&&(e._fetchSemanticTokens.isScheduled()||e._fetchSemanticTokens.schedule())}))}}},t._isSemanticTokens=function(e){return e&&!!e.data},t._isSemanticTokensEdits=function(e){return e&&Array.isArray(e.edits)},t._copy=function(e,t,n,r,i){for(var o=0;o<i;o++)n[r+o]=e[t+o]},t.prototype._setSemanticTokens=function(e,n,r,i){var o=this._currentResponse;if(this._currentResponse&&(this._currentResponse.dispose(),this._currentResponse=null),this._isDisposed)e&&n&&e.releaseDocumentSemanticTokens(n.resultId);else if(e&&n&&r){if(t._isSemanticTokensEdits(n)){if(!o)return void this._model.setSemanticTokens(null);if(0===n.edits.length)n={resultId:n.resultId,data:o.data};else{for(var a=0,s=0,l=n.edits;s<l.length;s++){var u=l[s];a+=(u.data?u.data.length:0)-u.deleteCount}for(var c=o.data,d=new Uint32Array(c.length+a),h=c.length,f=d.length,p=n.edits.length-1;p>=0;p--){u=n.edits[p];var g=h-(u.start+u.deleteCount);g>0&&(t._copy(c,h-g,d,f-g,g),f-=g),u.data&&(t._copy(u.data,0,d,f-u.data.length,u.data.length),f-=u.data.length),h=u.start}h>0&&t._copy(c,0,d,0,h),n={resultId:n.resultId,data:d}}}if(t._isSemanticTokens(n)){this._currentResponse=new Mo(e,n.resultId,n.data);c=n.data;var m=n.data.length/5|0,v=Math.max(Math.ceil(m/1024),400),y=[],b=0,_=1,w=0;while(b<m){var x=b,C=Math.min(x+v,m);if(C<m){var S=C;while(S-1>x&&0===c[5*S])S--;if(S-1===x){var O=C;while(O+1<m&&0===c[5*O])O++;C=O}else C=S}d=new Uint32Array(4*(C-x));var k=0,E=0;while(b<C){var D=5*b,M=c[D],N=c[D+1],L=_+M,I=0===M?w+N:N,T=c[D+2],P=c[D+3],A=c[D+4],R=r.getMetadata(P,A);2147483647!==R&&(0===E&&(E=L),d[k]=L-E,d[k+1]=I,d[k+2]=I+T,d[k+3]=R,k+=4),_=L,w=I,b++}k!==d.length&&(d=d.subarray(0,k));var j=new mo["a"](E,new mo["c"](d));y.push(j)}if(i.length>0){for(var F=0,B=i;F<B.length;F++)for(var V=B[F],z=0,W=y;z<W.length;z++)for(var H=W[z],U=0,K=V.changes;U<K.length;U++){var G=K[U];H.applyEdit(G.range,G.text)}this._fetchSemanticTokens.isScheduled()||this._fetchSemanticTokens.schedule()}this._model.setSemanticTokens(y)}else this._model.setSemanticTokens(null)}else this._model.setSemanticTokens(null)},t.prototype._getSemanticColoringProvider=function(){var e=be["k"].ordered(this._model);return e.length>0?e[0]:null},t}(de["a"]),Lo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Io=function(e){function t(){var t=e.call(this)||this;return t._onCodeEditorAdd=t._register(new F["a"]),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new F["a"]),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new F["a"]),t._onDiffEditorRemove=t._register(new F["a"]),t._codeEditors=Object.create(null),t._diffEditors=Object.create(null),t}return Lo(t,e),t.prototype.addCodeEditor=function(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)},t.prototype.removeCodeEditor=function(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)},t.prototype.listCodeEditors=function(){var e=this;return Object.keys(this._codeEditors).map((function(t){return e._codeEditors[t]}))},t.prototype.addDiffEditor=function(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)},t.prototype.removeDiffEditor=function(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)},t.prototype.listDiffEditors=function(){var e=this;return Object.keys(this._diffEditors).map((function(t){return e._diffEditors[t]}))},t.prototype.getFocusedCodeEditor=function(){for(var e=null,t=this.listCodeEditors(),n=0,r=t;n<r.length;n++){var i=r[n];if(i.hasTextFocus())return i;i.hasWidgetFocus()&&(e=i)}return e},t}(de["a"]),To=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Po=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Ao=function(e,t){return function(n,r){t(n,r,e)}},Ro=function(){function e(e,t,n){this._parent=e,this._editorId=t,this.styleSheet=n,this._refCount=0}return e.prototype.ref=function(){this._refCount++},e.prototype.unref=function(){var e;this._refCount--,0===this._refCount&&(null===(e=this.styleSheet.parentNode)||void 0===e||e.removeChild(this.styleSheet),this._parent._removeEditorStyleSheets(this._editorId))},e}(),jo=function(){function e(e){this.styleSheet=e}return e.prototype.ref=function(){},e.prototype.unref=function(){},e}(),Fo=function(e){function t(t,n){void 0===n&&(n=null);var r=e.call(this)||this;return r._decorationOptionProviders=new Map,r._editorStyleSheets=new Map,r._globalStyleSheet=n?new jo(n):null,r._themeService=t,r}return To(t,e),t.prototype._getOrCreateGlobalStyleSheet=function(){return this._globalStyleSheet||(this._globalStyleSheet=new jo(X["v"]())),this._globalStyleSheet},t.prototype._getOrCreateStyleSheet=function(e){if(!e)return this._getOrCreateGlobalStyleSheet();var t=e.getContainerDomNode();if(!X["M"](t))return this._getOrCreateGlobalStyleSheet();var n=e.getId();if(!this._editorStyleSheets.has(n)){var r=new Ro(this,n,X["v"](t));this._editorStyleSheets.set(n,r)}return this._editorStyleSheets.get(n)},t.prototype._removeEditorStyleSheets=function(e){this._editorStyleSheets.delete(e)},t.prototype.registerDecorationType=function(e,t,n,r){var i=this._decorationOptionProviders.get(e);if(!i){var o=this._getOrCreateStyleSheet(r),a={styleSheet:o.styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};i=n?new Bo(this._themeService,o,a):new Vo(this._themeService,o,a),this._decorationOptionProviders.set(e,i)}i.refCount++},t.prototype.removeDecorationType=function(e){var t=this._decorationOptionProviders.get(e);t&&(t.refCount--,t.refCount<=0&&(this._decorationOptionProviders.delete(e),t.dispose(),this.listCodeEditors().forEach((function(t){return t.removeDecorations(e)}))))},t.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders.get(e);if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},t=Po([Ao(0,Kr["c"])],t),t}(Io),Bo=function(){function e(e,t,n){this._styleSheet=t,this._styleSheet.ref(),this._parentTypeKey=n.parentTypeKey,this.refCount=0,this._beforeContentRules=new Wo(3,n,e),this._afterContentRules=new Wo(4,n,e)}return e.prototype.getOptions=function(e,t){var n=e.resolveDecorationOptions(this._parentTypeKey,!0);return this._beforeContentRules&&(n.beforeContentClassName=this._beforeContentRules.className),this._afterContentRules&&(n.afterContentClassName=this._afterContentRules.className),n},e.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null),this._styleSheet.unref()},e}(),Vo=function(){function e(e,t,n){var r=this;this._disposables=new de["b"],this._styleSheet=t,this._styleSheet.ref(),this.refCount=0;var i=function(t){var i=new Wo(t,n,e);if(r._disposables.add(i),i.hasContent)return i.className},o=function(t){var i=new Wo(t,n,e);return r._disposables.add(i),i.hasContent?{className:i.className,hasLetterSpacing:i.hasLetterSpacing}:null};this.className=i(0);var a=o(1);a&&(this.inlineClassName=a.className,this.inlineClassNameAffectsLetterSpacing=a.hasLetterSpacing),this.beforeContentClassName=i(3),this.afterContentClassName=i(4),this.glyphMarginClassName=i(2);var s=n.options;this.isWholeLine=Boolean(s.isWholeLine),this.stickiness=s.rangeBehavior;var l=s.light&&s.light.overviewRulerColor||s.overviewRulerColor,u=s.dark&&s.dark.overviewRulerColor||s.overviewRulerColor;"undefined"===typeof l&&"undefined"===typeof u||(this.overviewRuler={color:l||u,darkColor:u||l,position:s.overviewRulerLane||ye["d"].Center})}return e.prototype.getOptions=function(e,t){return t?{inlineClassName:this.inlineClassName,beforeContentClassName:this.beforeContentClassName,afterContentClassName:this.afterContentClassName,className:this.className,glyphMarginClassName:this.glyphMarginClassName,isWholeLine:this.isWholeLine,overviewRuler:this.overviewRuler,stickiness:this.stickiness}:this},e.prototype.dispose=function(){this._disposables.dispose(),this._styleSheet.unref()},e}(),zo={color:"color:{0} !important;",opacity:"opacity:{0};",backgroundColor:"background-color:{0};",outline:"outline:{0};",outlineColor:"outline-color:{0};",outlineStyle:"outline-style:{0};",outlineWidth:"outline-width:{0};",border:"border:{0};",borderColor:"border-color:{0};",borderRadius:"border-radius:{0};",borderSpacing:"border-spacing:{0};",borderStyle:"border-style:{0};",borderWidth:"border-width:{0};",fontStyle:"font-style:{0};",fontWeight:"font-weight:{0};",textDecoration:"text-decoration:{0};",cursor:"cursor:{0};",letterSpacing:"letter-spacing:{0};",gutterIconPath:"background:{0} center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:{0};",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},Wo=function(){function e(e,t,n){var r=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var i=Ho.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(i=i+" "+Ho.getClassName(this._providerArgs.parentTypeKey,e)),this._className=i,this._unThemedSelector=Ho.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange((function(e){r._theme=n.getTheme(),r._removeCSS(),r._buildCSS()})):this._themeListener=null}return e.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(e.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),e.prototype._buildCSS=function(){var e,t,n,r=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(r),t=this.getCSSTextForModelDecorationClassName(r.light),n=this.getCSSTextForModelDecorationClassName(r.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(r),t=this.getCSSTextForModelDecorationInlineClassName(r.light),n=this.getCSSTextForModelDecorationInlineClassName(r.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(r),t=this.getCSSTextForModelDecorationGlyphMarginClassName(r.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(r.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(r.before),t=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.before),n=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(r.after),t=this.getCSSTextForModelDecorationContentClassName(r.light&&r.light.after),n=this.getCSSTextForModelDecorationContentClassName(r.dark&&r.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var i=this._providerArgs.styleSheet.sheet,o=!1;e.length>0&&(i.insertRule(this._unThemedSelector+" {"+e+"}",0),o=!0),t.length>0&&(i.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),o=!0),n.length>0&&(i.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),o=!0),this._hasContent=o},e.prototype._removeCSS=function(){X["N"](this._unThemedSelector,this._providerArgs.styleSheet)},e.prototype.getCSSTextForModelDecorationClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["backgroundColor"],t),this.collectCSSText(e,["outline","outlineColor","outlineStyle","outlineWidth"],t),this.collectBorderSettingsCSSText(e,t),t.join("")},e.prototype.getCSSTextForModelDecorationInlineClassName=function(e){if(!e)return"";var t=[];return this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","cursor","color","opacity","letterSpacing"],t),e.letterSpacing&&(this._hasLetterSpacing=!0),t.join("")},e.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if("undefined"!==typeof e){if(this.collectBorderSettingsCSSText(e,t),"undefined"!==typeof e.contentIconPath&&t.push(Ye["r"](zo.contentIconPath,X["q"](V["a"].revive(e.contentIconPath)))),"string"===typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0],r=n.replace(/['\\]/g,"\\$&");t.push(Ye["r"](zo.contentText,r))}this.collectCSSText(e,["fontStyle","fontWeight","textDecoration","color","opacity","backgroundColor","margin"],t),this.collectCSSText(e,["width","height"],t)&&t.push("display:inline-block;")}return t.join("")},e.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return"undefined"!==typeof e.gutterIconPath&&(t.push(Ye["r"](zo.gutterIconPath,X["q"](V["a"].revive(e.gutterIconPath)))),"undefined"!==typeof e.gutterIconSize&&t.push(Ye["r"](zo.gutterIconSize,e.gutterIconSize))),t.join("")},e.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(Ye["r"]("box-sizing: border-box;")),!0)},e.prototype.collectCSSText=function(e,t,n){for(var r=n.length,i=0,o=t;i<o.length;i++){var a=o[i],s=this.resolveValue(e[a]);"string"===typeof s&&n.push(Ye["r"](zo[a],s))}return n.length!==r},e.prototype.resolveValue=function(e){if(Object(ve["c"])(e)){this._usesThemeColors=!0;var t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e},e}(),Ho=function(){function e(){}return e.getClassName=function(e,t){return"ced-"+e+"-"+t},e.getSelector=function(e,t,n){var r=".monaco-editor ."+this.getClassName(e,n);return t&&(r=r+"."+this.getClassName(t,n)),3===n?r+="::before":4===n&&(r+="::after"),r},e}(),Uo=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ko=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Uo(t,e),t.prototype.getActiveCodeEditor=function(){return null},t.prototype.openCodeEditor=function(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)},t.prototype.doOpenEditor=function(e,t){var n=this.findModel(e,t.resource);if(!n){if(t.resource){var r=t.resource.scheme;if(r===$["b"].http||r===$["b"].https)return Object(X["Z"])(t.resource.toString()),e}return null}var i=t.options?t.options.selection:null;if(i)if("number"===typeof i.endLineNumber&&"number"===typeof i.endColumn)e.setSelection(i),e.revealRangeInCenter(i,1);else{var o={lineNumber:i.startLineNumber,column:i.startColumn};e.setPosition(o),e.revealPositionInCenter(o,1)}return e},t.prototype.findModel=function(e,t){var n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},t}(Fo),Go=n("zrhQ"),qo=function(){function e(e,t,n,r,i){this.token=e,this.index=t,this.fontStyle=n,this.foreground=r,this.background=i}return e}();function Yo(e){if(!e||!Array.isArray(e))return[];for(var t=[],n=0,r=0,i=e.length;r<i;r++){var o=e[r],a=-1;if("string"===typeof o.fontStyle){a=0;for(var s=o.fontStyle.split(" "),l=0,u=s.length;l<u;l++){var c=s[l];switch(c){case"italic":a|=1;break;case"bold":a|=2;break;case"underline":a|=4;break}}}var d=null;"string"===typeof o.foreground&&(d=o.foreground);var h=null;"string"===typeof o.background&&(h=o.background),t[n++]=new qo(o.token||"",r,a,d,h)}return t}function Xo(e,t){e.sort((function(e,t){var n=ta(e.token,t.token);return 0!==n?n:e.index-t.index}));var n=0,r="000000",i="ffffff";while(e.length>=1&&""===e[0].token){var o=e.shift();-1!==o.fontStyle&&(n=o.fontStyle),null!==o.foreground&&(r=o.foreground),null!==o.background&&(i=o.background)}for(var a=new Qo,s=0,l=t;s<l.length;s++){var u=l[s];a.getId(u)}for(var c=a.getId(r),d=a.getId(i),h=new oa(n,c,d),f=new aa(h),p=0,g=e.length;p<g;p++){var m=e[p];f.insert(m.token,m.fontStyle,a.getId(m.foreground),a.getId(m.background))}return new $o(a,f)}var Zo=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,Qo=function(){function e(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}return e.prototype.getId=function(e){if(null===e)return 0;var t=e.match(Zo);if(!t)throw new Error("Illegal value for token color: "+e);e=t[1].toUpperCase();var n=this._color2id.get(e);return n||(n=++this._lastColorId,this._color2id.set(e,n),this._id2color[n]=Go["a"].fromHex("#"+e),n)},e.prototype.getColorMap=function(){return this._id2color.slice(0)},e}(),$o=function(){function e(e,t){this._colorMap=e,this._root=t,this._cache=new Map}return e.createFromRawTokenTheme=function(e,t){return this.createFromParsedTokenTheme(Yo(e),t)},e.createFromParsedTokenTheme=function(e,t){return Xo(e,t)},e.prototype.getColorMap=function(){return this._colorMap.getColorMap()},e.prototype._match=function(e){return this._root.match(e)},e.prototype.match=function(e,t){var n=this._cache.get(t);if("undefined"===typeof n){var r=this._match(t),i=ea(t);n=(r.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},e}(),Jo=/\b(comment|string|regex|regexp)\b/;function ea(e){var t=e.match(Jo);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":return 4;case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}function ta(e,t){return e<t?-1:e>t?1:0}var na,ra,ia,oa=function(){function e(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}return e.prototype.clone=function(){return new e(this._fontStyle,this._foreground,this._background)},e.prototype.acceptOverwrite=function(e,t,n){-1!==e&&(this._fontStyle=e),0!==t&&(this._foreground=t),0!==n&&(this._background=n),this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0},e}(),aa=function(){function e(e){this._mainRule=e,this._children=new Map}return e.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,r=e.indexOf(".");-1===r?(t=e,n=""):(t=e.substring(0,r),n=e.substring(r+1));var i=this._children.get(t);return"undefined"!==typeof i?i.match(n):this._mainRule},e.prototype.insert=function(t,n,r,i){if(""!==t){var o,a,s=t.indexOf(".");-1===s?(o=t,a=""):(o=t.substring(0,s),a=t.substring(s+1));var l=this._children.get(o);"undefined"===typeof l&&(l=new e(this._mainRule.clone()),this._children.set(o,l)),l.insert(a,n,r,i)}else this._mainRule.acceptOverwrite(n,r,i)},e}();function sa(e){for(var t=[],n=1,r=e.length;n<r;n++){var i=e[n];t[n]=".mtk"+n+" { color: "+i+"; }"}return t.push(".mtki { font-style: italic; }"),t.push(".mtkb { font-weight: bold; }"),t.push(".mtku { text-decoration: underline; text-underline-position: under; }"),t.join("\n")}var la={base:"vs",inherit:!1,rules:[{token:"",foreground:"000000",background:"fffffe"},{token:"invalid",foreground:"cd3131"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"001188"},{token:"variable.predefined",foreground:"4864AA"},{token:"constant",foreground:"dd0000"},{token:"comment",foreground:"008000"},{token:"number",foreground:"098658"},{token:"number.hex",foreground:"3030c0"},{token:"regexp",foreground:"800000"},{token:"annotation",foreground:"808080"},{token:"type",foreground:"008080"},{token:"delimiter",foreground:"000000"},{token:"delimiter.html",foreground:"383838"},{token:"delimiter.xml",foreground:"0000FF"},{token:"tag",foreground:"800000"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"800000"},{token:"metatag",foreground:"e00000"},{token:"metatag.content.html",foreground:"FF0000"},{token:"metatag.html",foreground:"808080"},{token:"metatag.xml",foreground:"808080"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"863B00"},{token:"string.key.json",foreground:"A31515"},{token:"string.value.json",foreground:"0451A5"},{token:"attribute.name",foreground:"FF0000"},{token:"attribute.value",foreground:"0451A5"},{token:"attribute.value.number",foreground:"098658"},{token:"attribute.value.unit",foreground:"098658"},{token:"attribute.value.html",foreground:"0000FF"},{token:"attribute.value.xml",foreground:"0000FF"},{token:"string",foreground:"A31515"},{token:"string.html",foreground:"0000FF"},{token:"string.sql",foreground:"FF0000"},{token:"string.yaml",foreground:"0451A5"},{token:"keyword",foreground:"0000FF"},{token:"keyword.json",foreground:"0451A5"},{token:"keyword.flow",foreground:"AF00DB"},{token:"keyword.flow.scss",foreground:"0000FF"},{token:"operator.scss",foreground:"666666"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"666666"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(na={},na[Ur["o"]]="#FFFFFE",na[Ur["x"]]="#000000",na[Ur["F"]]="#E5EBF1",na[Hr["g"]]="#D3D3D3",na[Hr["a"]]="#939393",na[Ur["M"]]="#ADD6FF4D",na)},ua={base:"vs-dark",inherit:!1,rules:[{token:"",foreground:"D4D4D4",background:"1E1E1E"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"74B0DF"},{token:"variable.predefined",foreground:"4864AA"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"B5CEA8"},{token:"number.hex",foreground:"5BB498"},{token:"regexp",foreground:"B46695"},{token:"annotation",foreground:"cc6666"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"DCDCDC"},{token:"delimiter.html",foreground:"808080"},{token:"delimiter.xml",foreground:"808080"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta.scss",foreground:"A79873"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"DD6A6F"},{token:"metatag.content.html",foreground:"9CDCFE"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key.json",foreground:"9CDCFE"},{token:"string.value.json",foreground:"CE9178"},{token:"attribute.name",foreground:"9CDCFE"},{token:"attribute.value",foreground:"CE9178"},{token:"attribute.value.number.css",foreground:"B5CEA8"},{token:"attribute.value.unit.css",foreground:"B5CEA8"},{token:"attribute.value.hex.css",foreground:"D4D4D4"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"keyword.json",foreground:"CE9178"},{token:"keyword.flow.scss",foreground:"569CD6"},{token:"operator.scss",foreground:"909090"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(ra={},ra[Ur["o"]]="#1E1E1E",ra[Ur["x"]]="#D4D4D4",ra[Ur["F"]]="#3A3D41",ra[Hr["g"]]="#404040",ra[Hr["a"]]="#707070",ra[Ur["M"]]="#ADD6FF26",ra)},ca={base:"hc-black",inherit:!1,rules:[{token:"",foreground:"FFFFFF",background:"000000"},{token:"invalid",foreground:"f44747"},{token:"emphasis",fontStyle:"italic"},{token:"strong",fontStyle:"bold"},{token:"variable",foreground:"1AEBFF"},{token:"variable.parameter",foreground:"9CDCFE"},{token:"constant",foreground:"569CD6"},{token:"comment",foreground:"608B4E"},{token:"number",foreground:"FFFFFF"},{token:"regexp",foreground:"C0C0C0"},{token:"annotation",foreground:"569CD6"},{token:"type",foreground:"3DC9B0"},{token:"delimiter",foreground:"FFFF00"},{token:"delimiter.html",foreground:"FFFF00"},{token:"tag",foreground:"569CD6"},{token:"tag.id.pug",foreground:"4F76AC"},{token:"tag.class.pug",foreground:"4F76AC"},{token:"meta",foreground:"D4D4D4"},{token:"meta.tag",foreground:"CE9178"},{token:"metatag",foreground:"569CD6"},{token:"metatag.content.html",foreground:"1AEBFF"},{token:"metatag.html",foreground:"569CD6"},{token:"metatag.xml",foreground:"569CD6"},{token:"metatag.php",fontStyle:"bold"},{token:"key",foreground:"9CDCFE"},{token:"string.key",foreground:"9CDCFE"},{token:"string.value",foreground:"CE9178"},{token:"attribute.name",foreground:"569CD6"},{token:"attribute.value",foreground:"3FF23F"},{token:"string",foreground:"CE9178"},{token:"string.sql",foreground:"FF0000"},{token:"keyword",foreground:"569CD6"},{token:"keyword.flow",foreground:"C586C0"},{token:"operator.sql",foreground:"778899"},{token:"operator.swift",foreground:"909090"},{token:"predefined.sql",foreground:"FF00FF"}],colors:(ia={},ia[Ur["o"]]="#000000",ia[Ur["x"]]="#FFFFFF",ia[Hr["g"]]="#FFFFFF",ia[Hr["a"]]="#FFFFFF",ia)},da=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ha="vs",fa="vs-dark",pa="hc-black",ga=lo["a"].as(Ur["a"].ColorContribution),ma=lo["a"].as(Kr["a"].ThemingContribution),va=function(){function e(e,t){this.themeData=t;var n=t.base;e.length>0?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}return Object.defineProperty(e.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),e.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},e.prototype.getColors=function(){if(!this.colors){var e=new Map;for(var t in this.themeData.colors)e.set(t,Go["a"].fromHex(this.themeData.colors[t]));if(this.themeData.inherit){var n=ba(this.themeData.base);for(var t in n.colors)e.has(t)||e.set(t,Go["a"].fromHex(n.colors[t]))}this.colors=e}return this.colors},e.prototype.getColor=function(e,t){var n=this.getColors().get(e);return n||(!1!==t?this.getDefault(e):void 0)},e.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=ga.resolveDefaultColor(e,this),this.defaultColors[e]=t,t)},e.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(e.prototype,"type",{get:function(){switch(this.base){case ha:return"light";case pa:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=ba(this.themeData.base);e=n.rules,n.encodedTokensColors&&(t=n.encodedTokensColors)}e=e.concat(this.themeData.rules),this.themeData.encodedTokensColors&&(t=this.themeData.encodedTokensColors),this._tokenTheme=$o.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),e.prototype.getTokenStyleMetadata=function(e,t){},e}();function ya(e){return e===ha||e===fa||e===pa}function ba(e){switch(e){case ha:return la;case fa:return ua;case pa:return ca}}function _a(e){var t=ba(e);return new va(e,t)}var wa=function(e){function t(){var t=e.call(this)||this;return t._onThemeChange=t._register(new F["a"]),t.onThemeChange=t._onThemeChange.event,t._environment=Object.create(null),t._knownThemes=new Map,t._knownThemes.set(ha,_a(ha)),t._knownThemes.set(fa,_a(fa)),t._knownThemes.set(pa,_a(pa)),t._css="",t._globalStyleElement=null,t._styleElements=[],t.setTheme(ha),t}return da(t,e),t.prototype.registerEditorContainer=function(e){return X["M"](e)?this._registerShadowDomContainer(e):this._registerRegularEditorContainer()},t.prototype._registerRegularEditorContainer=function(){return this._globalStyleElement||(this._globalStyleElement=X["v"](),this._globalStyleElement.className="monaco-colors",this._globalStyleElement.innerHTML=this._css,this._styleElements.push(this._globalStyleElement)),de["a"].None},t.prototype._registerShadowDomContainer=function(e){var t=this,n=X["v"](e);return n.className="monaco-colors",n.innerHTML=this._css,this._styleElements.push(n),{dispose:function(){for(var e=0;e<t._styleElements.length;e++)if(t._styleElements[e]===n)return void t._styleElements.splice(e,1)}}},t.prototype.defineTheme=function(e,t){if(!/^[a-z0-9\-]+$/i.test(e))throw new Error("Illegal theme name!");if(!ya(t.base)&&!ya(e))throw new Error("Illegal theme base!");this._knownThemes.set(e,new va(e,t)),ya(e)&&this._knownThemes.forEach((function(t){t.base===e&&t.notifyBaseUpdated()})),this._theme&&this._theme.themeName===e&&this.setTheme(e)},t.prototype.getTheme=function(){return this._theme},t.prototype.setTheme=function(e){var t,n=this;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(ha),this._theme===t)return t.id;this._theme=t;var r=[],i={},o={addRule:function(e){i[e]||(r.push(e),i[e]=!0)}};ma.getThemingParticipants().forEach((function(e){return e(t,o,n._environment)}));var a=t.tokenTheme,s=a.getColorMap();return o.addRule(sa(s)),this._css=r.join("\n"),this._styleElements.forEach((function(e){return e.innerHTML=n._css})),be["y"].setColorMap(s),this._onThemeChange.fire(t),t.id},t.prototype.getIconTheme=function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}},t}(de["a"]),xa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ca=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Sa=function(e,t){return function(n,r){t(n,r,e)}},Oa="data-keybinding-context",ka=function(){function e(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value["_contextId"]=e}return e.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},e.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},e.prototype.getValue=function(e){var t=this._value[e];return"undefined"===typeof t&&this._parent?this._parent.getValue(e):t},e}(),Ea=function(e){function t(){return e.call(this,-1,null)||this}return xa(t,e),t.prototype.setValue=function(e,t){return!1},t.prototype.removeValue=function(e){return!1},t.prototype.getValue=function(e){},t.INSTANCE=new t,t}(ka),Da=function(e){function t(t,n,r){var i=e.call(this,t,null)||this;return i._configurationService=n,i._values=new Map,i._listener=i._configurationService.onDidChangeConfiguration((function(e){if(6===e.source){var t=Object(Ln["d"])(i._values);i._values.clear(),r.fire(new La(t))}else{for(var n=[],o=0,a=e.affectedKeys;o<a.length;o++){var s=a[o],l="config."+s;i._values.has(l)&&(i._values.delete(l),n.push(l))}r.fire(new La(n))}})),i}return xa(t,e),t.prototype.dispose=function(){this._listener.dispose()},t.prototype.getValue=function(n){if(0!==n.indexOf(t._keyPrefix))return e.prototype.getValue.call(this,n);if(this._values.has(n))return this._values.get(n);var r=n.substr(t._keyPrefix.length),i=this._configurationService.getValue(r),o=void 0;switch(typeof i){case"number":case"boolean":case"string":o=i;break}return this._values.set(n,o),o},t.prototype.setValue=function(t,n){return e.prototype.setValue.call(this,t,n)},t.prototype.removeValue=function(t){return e.prototype.removeValue.call(this,t)},t._keyPrefix="config.",t}(ka),Ma=function(){function e(e,t,n){this._service=e,this._key=t,this._defaultValue=n,this.reset()}return e.prototype.set=function(e){this._service.setContext(this._key,e)},e.prototype.reset=function(){"undefined"===typeof this._defaultValue?this._service.removeContext(this._key):this._service.setContext(this._key,this._defaultValue)},e.prototype.get=function(){return this._service.getContextKeyValue(this._key)},e}(),Na=function(){function e(e){this.key=e}return e.prototype.affectsSome=function(e){return e.has(this.key)},e}(),La=function(){function e(e){this.keys=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.keys;t<n.length;t++){var r=n[t];if(e.has(r))return!0}return!1},e}(),Ia=function(){function e(e){this.events=e}return e.prototype.affectsSome=function(e){for(var t=0,n=this.events;t<n.length;t++){var r=n[t];if(r.affectsSome(e))return!0}return!1},e}(),Ta=function(){function e(e){this._onDidChangeContext=new F["d"]({merge:function(e){return new Ia(e)}}),this._isDisposed=!1,this._myContextId=e}return e.prototype.createKey=function(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Ma(this,e,t)},Object.defineProperty(e.prototype,"onDidChangeContext",{get:function(){return this._onDidChangeContext.event},enumerable:!0,configurable:!0}),e.prototype.bufferChangeEvents=function(e){this._onDidChangeContext.pause();try{e()}finally{this._onDidChangeContext.resume()}},e.prototype.createScoped=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new Aa(this,e)},e.prototype.contextMatchesRules=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId),n=Wn.contextMatchesRules(t,e);return n},e.prototype.getContextKeyValue=function(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)},e.prototype.setContext=function(e,t){if(!this._isDisposed){var n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContext.fire(new Na(e))}},e.prototype.removeContext=function(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContext.fire(new Na(e))},e.prototype.getContext=function(e){return this._isDisposed?Ea.INSTANCE:this.getContextValuesContainer(Ra(e))},e}(),Pa=function(e){function t(t){var n=e.call(this,0)||this;n._contexts=new Map,n._toDispose=new de["b"],n._lastContextId=0;var r=new Da(n._myContextId,t,n._onDidChangeContext);return n._contexts.set(n._myContextId,r),n._toDispose.add(r),n}return xa(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._toDispose.dispose()},t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Ea.INSTANCE:this._contexts.get(e)||Ea.INSTANCE},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ContextKeyService has been disposed");var t=++this._lastContextId;return this._contexts.set(t,new ka(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=Ca([Sa(0,Nn["a"])],t),t}(Ta),Aa=function(e){function t(t,n){var r=e.call(this,t.createChildContext())||this;return r._parent=t,n&&(r._domNode=n,r._domNode.setAttribute(Oa,String(r._myContextId))),r}return xa(t,e),t.prototype.dispose=function(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute(Oa),this._domNode=void 0)},Object.defineProperty(t.prototype,"onDidChangeContext",{get:function(){return F["b"].any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Ea.INSTANCE:this._parent.getContextValuesContainer(e)},t.prototype.createChildContext=function(e){if(void 0===e&&(e=this._myContextId),this._isDisposed)throw new Error("ScopedContextKeyService has been disposed");return this._parent.createChildContext(e)},t.prototype.disposeContext=function(e){this._isDisposed||this._parent.disposeContext(e)},t}(Ta);function Ra(e){while(e){if(e.hasAttribute(Oa)){var t=e.getAttribute(Oa);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}ee["a"].registerCommand(zn["e"],(function(e,t,n){e.get(zn["c"]).createKey(String(t),n)}));n("eizg"),n("CHaL");var ja,Fa=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ba=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Va=/\(&([^\s&])\)|(^|[^&])&([^\s&])/,za=/(&)?(&)([^\s&])/g;(function(e){e[e["Right"]=0]="Right",e[e["Left"]=1]="Left"})(ja||(ja={}));var Wa=function(e){function t(t,n,r){var i=e.call(this,r||"submenu",t,"",!0)||this;return i.entries=n,i}return Fa(t,e),t}(zr["a"]),Ha=function(e){function t(t,n,r){void 0===r&&(r={});var i=this;Object(X["e"])(t,"monaco-menu-container"),t.setAttribute("role","presentation");var o=document.createElement("div");Object(X["e"])(o,"monaco-menu"),o.setAttribute("role","presentation"),i=e.call(this,o,{orientation:2,actionViewItemProvider:function(e){return i.doGetActionViewItem(e,r,a)},context:r.context,actionRunner:r.actionRunner,ariaLabel:r.ariaLabel,triggerKeys:{keys:Ba([3],Oe["e"]?[10]:[]),keyDown:!0}})||this,i.menuElement=o,i.actionsList.setAttribute("role","menu"),i.actionsList.tabIndex=0,i.menuDisposables=i._register(new de["b"]),Object(X["i"])(o,X["c"].KEY_DOWN,(function(e){var t=new On["a"](e);t.equals(2)&&e.preventDefault()})),r.enableMnemonics&&i.menuDisposables.add(Object(X["i"])(o,X["c"].KEY_DOWN,(function(e){var t=e.key.toLocaleLowerCase();if(i.mnemonics.has(t)){X["b"].stop(e,!0);var n=i.mnemonics.get(t);if(1===n.length&&(n[0]instanceof Ka&&n[0].container&&i.focusItemByElement(n[0].container),n[0].onClick(e)),n.length>1){var r=n.shift();r&&r.container&&(i.focusItemByElement(r.container),n.push(r)),i.mnemonics.set(t,n)}}}))),Oe["d"]&&i._register(Object(X["i"])(o,X["c"].KEY_DOWN,(function(e){var t=new On["a"](e);t.equals(14)||t.equals(11)?(i.focusedItem=i.viewItems.length-1,i.focusNext(),X["b"].stop(e,!0)):(t.equals(13)||t.equals(12))&&(i.focusedItem=0,i.focusPrevious(),X["b"].stop(e,!0))}))),i._register(Object(X["i"])(i.domNode,X["c"].MOUSE_OUT,(function(e){var t=e.relatedTarget;Object(X["J"])(t,i.domNode)||(i.focusedItem=void 0,i.updateFocus(),e.stopPropagation())}))),i._register(Object(X["i"])(i.actionsList,X["c"].MOUSE_OVER,(function(e){var t=e.target;if(t&&Object(X["J"])(t,i.actionsList)&&t!==i.actionsList){while(t.parentElement!==i.actionsList&&null!==t.parentElement)t=t.parentElement;if(Object(X["H"])(t,"action-item")){var n=i.focusedItem;i.setFocusedItem(t),n!==i.focusedItem&&i.updateFocus()}}})));var a={parent:i};i.mnemonics=new Map,i.scrollableElement=i._register(new Vr["a"](o,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0}));var s=i.scrollableElement.getDomNode();return s.style.position="",i._register(Object(X["i"])(s,X["c"].MOUSE_UP,(function(e){e.preventDefault()}))),o.style.maxHeight=Math.max(10,window.innerHeight-t.getBoundingClientRect().top-30)+"px",i.push(n,{icon:!0,label:!0,isMenu:!0}),t.appendChild(i.scrollableElement.getDomNode()),i.scrollableElement.scanDomNode(),i.viewItems.filter((function(e){return!(e instanceof Ga)})).forEach((function(e,t,n){e.updatePositionInSet(t+1,n.length)})),i}return Fa(t,e),t.prototype.style=function(e){var t=this.getContainer(),n=e.foregroundColor?""+e.foregroundColor:"",r=e.backgroundColor?""+e.backgroundColor:"",i=e.borderColor?"1px solid "+e.borderColor:"",o=e.shadowColor?"0 2px 4px "+e.shadowColor:"";t.style.border=i,this.domNode.style.color=n,this.domNode.style.backgroundColor=r,t.style.boxShadow=o,this.viewItems&&this.viewItems.forEach((function(t){(t instanceof Ua||t instanceof Ga)&&t.style(e)}))},t.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(t.prototype,"onScroll",{get:function(){return this.scrollableElement.onScroll},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),t.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},t.prototype.setFocusedItem=function(e){for(var t=0;t<this.actionsList.children.length;t++){var n=this.actionsList.children[t];if(e===n){this.focusedItem=t;break}}},t.prototype.updateFocus=function(t){e.prototype.updateFocus.call(this,t,!0),"undefined"!==typeof this.focusedItem&&this.scrollableElement.setScrollPosition({scrollTop:Math.round(this.menuElement.scrollTop)})},t.prototype.doGetActionViewItem=function(e,t,n){if(e instanceof Br["d"])return new Ga(t.context,e,{icon:!0});if(e instanceof Wa){var r=new Ka(e,e.entries,n,t);if(t.enableMnemonics){var i=r.getMnemonic();if(i&&r.isEnabled()){var o=[];this.mnemonics.has(i)&&(o=this.mnemonics.get(i)),o.push(r),this.mnemonics.set(i,o)}}return r}var a={enableMnemonics:t.enableMnemonics};if(t.getKeyBinding){var s=t.getKeyBinding(e);if(s){var l=s.getLabel();l&&(a.keybinding=l)}}r=new Ua(t.context,e,a);if(t.enableMnemonics){i=r.getMnemonic();if(i&&r.isEnabled()){o=[];this.mnemonics.has(i)&&(o=this.mnemonics.get(i)),o.push(r),this.mnemonics.set(i,o)}}return r},t}(Br["a"]),Ua=function(e){function t(t,n,r){void 0===r&&(r={});var i=this;if(r.isMenu=!0,i=e.call(this,n,n,r)||this,i.options=r,i.options.icon=void 0!==r.icon&&r.icon,i.options.label=void 0===r.label||r.label,i.cssClass="",i.options.label&&r.enableMnemonics){var o=i.getAction().label;if(o){var a=Va.exec(o);a&&(i.mnemonic=(a[1]?a[1]:a[3]).toLocaleLowerCase())}}return i.runOnceToEnableMouseUp=new Ce["d"]((function(){i.element&&i._register(Object(X["i"])(i.element,X["c"].MOUSE_UP,(function(e){e.defaultPrevented||(X["b"].stop(e,!0),i.onClick(e))})))}),100),i._register(i.runOnceToEnableMouseUp),i}return Fa(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.container=t,this.item=Object(X["p"])(this.element,Object(X["a"])("a.action-menu-item")),this._action.id===Br["d"].ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(X["p"])(this.item,Object(X["a"])("span.menu-item-check.codicon.codicon-check")),this.check.setAttribute("role","none"),this.label=Object(X["p"])(this.item,Object(X["a"])("span.action-label")),this.options.label&&this.options.keybinding&&(Object(X["p"])(this.item,Object(X["a"])("span.keybinding")).textContent=this.options.keybinding),this.runOnceToEnableMouseUp.schedule(),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())},t.prototype.blur=function(){e.prototype.blur.call(this),this.applyStyle()},t.prototype.focus=function(){e.prototype.focus.call(this),this.item&&this.item.focus(),this.applyStyle()},t.prototype.updatePositionInSet=function(e,t){this.item&&(this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t))},t.prototype.updateLabel=function(){if(this.options.label){var e=this.getAction().label;if(e){var t=qa(e);this.options.enableMnemonics||(e=t),this.label&&this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));var n=Va.exec(e);if(n){e=Ye["o"](e),za.lastIndex=0;var r=za.exec(e);while(r&&r[1])r=za.exec(e);r&&(e=e.substr(0,r.index)+'<u aria-hidden="true">'+r[3]+"</u>"+e.substr(r.index+r[0].length)),e=e.replace(/&&/g,"&"),this.item&&this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[3]).toLocaleLowerCase())}else e=e.replace(/&&/g,"&")}this.label&&(this.label.innerHTML=e.trim())}},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=Fn["a"]({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.item&&(this.item.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.item&&Object(X["P"])(this.item,this.cssClass),this.options.icon&&this.label?(this.cssClass=this.getAction().class||"",Object(X["e"])(this.label,"icon"),this.cssClass&&Object(X["f"])(this.label,this.cssClass),this.updateEnabled()):this.label&&Object(X["O"])(this.label,"icon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(X["O"])(this.element,"disabled"),this.item&&(Object(X["O"])(this.item,"disabled"),this.item.tabIndex=0)):(this.element&&Object(X["e"])(this.element,"disabled"),this.item&&(Object(X["e"])(this.item,"disabled"),Object(X["R"])(this.item)))},t.prototype.updateChecked=function(){this.item&&(this.getAction().checked?(Object(X["e"])(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(X["O"])(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false")))},t.prototype.getMnemonic=function(){return this.mnemonic},t.prototype.applyStyle=function(){if(this.menuStyle){var e=this.element&&Object(X["H"])(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:void 0,r=e&&this.menuStyle.selectionBorderColor?"thin solid "+this.menuStyle.selectionBorderColor:"";this.item&&(this.item.style.color=t?t.toString():"",this.item.style.backgroundColor=n?n.toString():""),this.check&&(this.check.style.color=t?t.toString():""),this.container&&(this.container.style.border=r)}},t.prototype.style=function(e){this.menuStyle=e,this.applyStyle()},t}(Br["c"]),Ka=function(e){function t(t,n,r,i){var o=e.call(this,t,t,i)||this;return o.submenuActions=n,o.parentData=r,o.submenuOptions=i,o.mysubmenu=null,o.submenuDisposables=o._register(new de["b"]),o.mouseOver=!1,o.expandDirection=i&&void 0!==i.expandDirection?i.expandDirection:ja.Right,o.showScheduler=new Ce["d"]((function(){o.mouseOver&&(o.cleanupExistingSubmenu(!1),o.createSubmenu(!1))}),250),o.hideScheduler=new Ce["d"]((function(){o.element&&!Object(X["J"])(document.activeElement,o.element)&&o.parentData.submenu===o.mysubmenu&&(o.parentData.parent.focus(!1),o.cleanupExistingSubmenu(!0))}),750),o}return Fa(t,e),t.prototype.render=function(t){var n=this;e.prototype.render.call(this,t),this.element&&(this.item&&(Object(X["e"])(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.updateAriaExpanded("false"),this.submenuIndicator=Object(X["p"])(this.item,Object(X["a"])("span.submenu-indicator.codicon.codicon-chevron-right")),this.submenuIndicator.setAttribute("aria-hidden","true")),this._register(Object(X["i"])(this.element,X["c"].KEY_UP,(function(e){var t=new On["a"](e);(t.equals(17)||t.equals(3))&&(X["b"].stop(e,!0),n.createSubmenu(!0))}))),this._register(Object(X["i"])(this.element,X["c"].KEY_DOWN,(function(e){var t=new On["a"](e);document.activeElement===n.item&&(t.equals(17)||t.equals(3))&&X["b"].stop(e,!0)}))),this._register(Object(X["i"])(this.element,X["c"].MOUSE_OVER,(function(e){n.mouseOver||(n.mouseOver=!0,n.showScheduler.schedule())}))),this._register(Object(X["i"])(this.element,X["c"].MOUSE_LEAVE,(function(e){n.mouseOver=!1}))),this._register(Object(X["i"])(this.element,X["c"].FOCUS_OUT,(function(e){n.element&&!Object(X["J"])(document.activeElement,n.element)&&n.hideScheduler.schedule()}))),this._register(this.parentData.parent.onScroll((function(){n.parentData.parent.focus(!1),n.cleanupExistingSubmenu(!1)}))))},t.prototype.onClick=function(e){X["b"].stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!0)},t.prototype.cleanupExistingSubmenu=function(e){this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.updateAriaExpanded("false"),this.submenuContainer&&(this.submenuDisposables.clear(),this.submenuContainer=void 0))},t.prototype.createSubmenu=function(e){var t=this;if(void 0===e&&(e=!0),this.element)if(this.parentData.submenu)this.parentData.submenu.focus(!1);else{this.updateAriaExpanded("true"),this.submenuContainer=Object(X["p"])(this.element,Object(X["a"])("div.monaco-submenu")),Object(X["f"])(this.submenuContainer,"menubar-menu-items-holder","context-view");var n=getComputedStyle(this.parentData.parent.domNode),r=parseFloat(n.paddingTop||"0")||0;this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-r+"px",this.parentData.submenu=new Ha(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var i=this.element.getBoundingClientRect(),o=this.submenuContainer.getBoundingClientRect();this.expandDirection===ja.Right?window.innerWidth<=i.right+o.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+i.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-r+"px"):this.expandDirection===ja.Left&&(this.submenuContainer.style.right=this.element.offsetWidth+"px",this.submenuContainer.style.left="auto",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-r+"px"),this.submenuDisposables.add(Object(X["i"])(this.submenuContainer,X["c"].KEY_UP,(function(e){var n=new On["a"](e);n.equals(15)&&(X["b"].stop(e,!0),t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0))}))),this.submenuDisposables.add(Object(X["i"])(this.submenuContainer,X["c"].KEY_DOWN,(function(e){var t=new On["a"](e);t.equals(15)&&X["b"].stop(e,!0)}))),this.submenuDisposables.add(this.parentData.submenu.onDidCancel((function(){t.parentData.parent.focus(),t.cleanupExistingSubmenu(!0)}))),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}},t.prototype.updateAriaExpanded=function(e){var t;this.item&&(null===(t=this.item)||void 0===t||t.setAttribute("aria-expanded",e))},t.prototype.applyStyle=function(){if(e.prototype.applyStyle.call(this),this.menuStyle){var t=this.element&&Object(X["H"])(this.element,"focused"),n=t&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator&&(this.submenuIndicator.style.color=n?""+n:""),this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuContainer=void 0)},t}(Ua),Ga=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Fa(t,e),t.prototype.style=function(e){this.label&&(this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:"")},t}(Br["b"]);function qa(e){var t=Va,n=t.exec(e);if(!n)return e;var r=!n[1];return e.replace(t,r?"$2$3":"").trim()}var Ya=n("ptcw"),Xa=n("4y0V"),Za=n("XSiN"),Qa=function(){function e(e,t,n,r,i){this.contextViewService=e,this.telemetryService=t,this.notificationService=n,this.keybindingService=r,this.themeService=i,this.focusToReturn=null,this.block=null,this.options={blockMouse:!0}}return e.prototype.configure=function(e){this.options=e},e.prototype.showContextMenu=function(e){var t,n=this,r=e.getActions();r.length&&(this.focusToReturn=document.activeElement,this.contextViewService.showContextView({getAnchor:function(){return e.getAnchor()},canRelayout:!1,anchorAlignment:e.anchorAlignment,render:function(i){var o=e.getMenuClassName?e.getMenuClassName():"";o&&(i.className+=" "+o),n.options.blockMouse&&(n.block=i.appendChild(Object(X["a"])(".context-view-block")));var a=new de["b"],s=e.actionRunner||new zr["b"];return s.onDidBeforeRun(n.onActionRun,n,a),s.onDidRun(n.onDidActionRun,n,a),t=new Ha(i,r,{actionViewItemProvider:e.getActionViewItem,context:e.getActionsContext?e.getActionsContext():null,actionRunner:s,getKeyBinding:e.getKeyBinding?e.getKeyBinding:function(e){return n.keybindingService.lookupKeybinding(e.id)}}),a.add(Object(Ya["c"])(t,n.themeService)),t.onDidCancel((function(){return n.contextViewService.hideContextView(!0)}),null,a),t.onDidBlur((function(){return n.contextViewService.hideContextView(!0)}),null,a),Object(Xa["a"])(window,X["c"].BLUR)((function(){n.contextViewService.hideContextView(!0)}),null,a),Object(Xa["a"])(window,X["c"].MOUSE_DOWN)((function(e){if(!e.defaultPrevented){var t=new Za["a"](e),r=t.target;if(!t.rightButton){while(r){if(r===i)return;r=r.parentElement}n.contextViewService.hideContextView(!0)}}}),null,a),Object(de["e"])(a,t)},focus:function(){t&&t.focus(!!e.autoSelectFirstItem)},onHide:function(t){e.onHide&&e.onHide(!!t),n.block&&(Object(X["Q"])(n.block),n.block=null),n.focusToReturn&&n.focusToReturn.focus()}}))},e.prototype.onActionRun=function(e){this.telemetryService&&this.telemetryService.publicLog2("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()},e.prototype.onDidActionRun=function(e){e.error&&this.notificationService&&this.notificationService.error(e.error)},e}(),$a=n("XXUj"),Ja=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),es=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ts=function(e,t){return function(n,r){t(n,r,e)}},ns=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._onDidContextMenu=a._register(new F["a"]),a.contextMenuHandler=new Qa(r,t,n,i,o),a}return Ja(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=es([ts(0,$a["a"]),ts(1,lr["a"]),ts(2,oi["b"]),ts(3,Ti["a"]),ts(4,Kr["c"])],t),t}(de["a"]),rs=(n("TT2d"),n("nuFA")),is=n("CjF5"),os=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function as(e,t,n){var r=n.offset+n.size;return 0===n.position?t<=e-r?r:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-r?r:0}var ss=function(e){function t(t){var n=e.call(this)||this;return n.container=null,n.delegate=null,n.toDisposeOnClean=de["a"].None,n.toDisposeOnSetContainer=de["a"].None,n.view=X["a"](".context-view"),X["I"](n.view),n.setContainer(t),n._register(Object(de["h"])((function(){return n.setContainer(null)}))),n}return os(t,e),t.prototype.setContainer=function(e){var n=this;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.container.removeChild(this.view),this.container=null),e){this.container=e,this.container.appendChild(this.view);var r=new de["b"];t.BUBBLE_UP_EVENTS.forEach((function(e){r.add(X["n"](n.container,e,(function(e){n.onDOMEvent(e,!1)})))})),t.BUBBLE_DOWN_EVENTS.forEach((function(e){r.add(X["n"](n.container,e,(function(e){n.onDOMEvent(e,!0)}),!0))})),this.toDisposeOnSetContainer=r}},t.prototype.show=function(e){this.isVisible()&&this.hide(),X["s"](this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",X["W"](this.view),this.toDisposeOnClean=e.render(this.view)||de["a"].None,this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()},t.prototype.layout=function(){this.isVisible()&&(!1!==this.delegate.canRelayout||Oe["c"]&&is["a"].pointerEvents?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())},t.prototype.doLayout=function(){if(this.isVisible()){var e,t=this.delegate.getAnchor();if(X["K"](t)){var n=X["B"](t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else e={top:t.y,left:t.x,width:t.width||1,height:t.height||2};var r,i=X["G"](this.view),o=X["F"](this.view),a=this.delegate.anchorPosition||0,s=this.delegate.anchorAlignment||0,l={offset:e.top-window.pageYOffset,size:e.height,position:0===a?0:1};r=0===s?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};var u=as(window.innerHeight,o,l)+window.pageYOffset;rs["a"].intersects({start:u,end:u+o},{start:l.offset,end:l.offset+l.size})&&(r.size=e.width,1===s&&(r.offset=e.left));var c=as(window.innerWidth,i,r);X["P"](this.view,"top","bottom","left","right"),X["e"](this.view,0===a?"bottom":"top"),X["e"](this.view,0===s?"left":"right");var d=X["B"](this.container);this.view.style.top=u-d.top+"px",this.view.style.left=c-d.left+"px",this.view.style.width="initial"}},t.prototype.hide=function(e){var t=this.delegate;this.delegate=null,(null===t||void 0===t?void 0:t.onHide)&&t.onHide(e),this.toDisposeOnClean.dispose(),X["I"](this.view)},t.prototype.isVisible=function(){return!!this.delegate},t.prototype.onDOMEvent=function(e,t){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):t&&!X["J"](e.target,this.container)&&this.hide())},t.prototype.dispose=function(){this.hide(),e.prototype.dispose.call(this)},t.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],t.BUBBLE_DOWN_EVENTS=["click"],t}(de["a"]),ls=Object(Ot["c"])("layoutService"),us=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),cs=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ds=function(e,t){return function(n,r){t(n,r,e)}},hs=function(e){function t(t){var n=e.call(this)||this;return n.layoutService=t,n.contextView=n._register(new ss(t.container)),n.layout(),n._register(t.onLayout((function(){return n.layout()}))),n}return us(t,e),t.prototype.setContainer=function(e){this.contextView.setContainer(e)},t.prototype.showContextView=function(e){this.contextView.show(e)},t.prototype.layout=function(){this.contextView.layout()},t.prototype.hideContextView=function(e){this.contextView.hide(e)},t=cs([ds(0,ls)],t),t}(de["a"]),fs=Object(Ot["c"])("dialogService"),ps=n("vl9R");function gs(e){return{data:e,incoming:Object.create(null),outgoing:Object.create(null)}}var ms,vs=function(){function e(e){this._hashFn=e,this._nodes=Object.create(null)}return e.prototype.roots=function(){var e=[];return Object(ps["b"])(this._nodes,(function(t){Object(ke["f"])(t.value.outgoing)&&e.push(t.value)})),e},e.prototype.insertEdge=function(e,t){var n=this.lookupOrInsertNode(e),r=this.lookupOrInsertNode(t);n.outgoing[this._hashFn(t)]=r,r.incoming[this._hashFn(e)]=n},e.prototype.removeNode=function(e){var t=this._hashFn(e);delete this._nodes[t],Object(ps["b"])(this._nodes,(function(e){delete e.value.outgoing[t],delete e.value.incoming[t]}))},e.prototype.lookupOrInsertNode=function(e){var t=this._hashFn(e),n=this._nodes[t];return n||(n=gs(e),this._nodes[t]=n),n},e.prototype.isEmpty=function(){for(var e in this._nodes)return!1;return!0},e.prototype.toString=function(){var e=[];return Object(ps["b"])(this._nodes,(function(t){e.push(t.key+", (incoming)["+Object.keys(t.value.incoming).join(", ")+"], (outgoing)["+Object.keys(t.value.outgoing).join(",")+"]")})),e.join("\n")},e}(),ys=n("r0BQ"),bs=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_s=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},ws=!1,xs="function"===typeof Proxy,Cs=function(e){function t(t){var n=e.call(this,"cyclic dependency between services")||this;return n.message=t.toString(),n}return bs(t,e),t}(Error),Ss=function(){function e(e,t,n){void 0===e&&(e=new ii["a"]),void 0===t&&(t=!1),this._services=e,this._strict=t,this._parent=n,this._services.set(Ot["a"],this)}return e.prototype.createChild=function(t){return new e(t,this._strict,this)},e.prototype.invokeFunction=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=Os.traceInvocation(e),o=!1;try{var a={get:function(e,n){if(o)throw Object(Se["c"])("service accessor is only valid during the invocation of its target method");var r=t._getOrCreateServiceInstance(e,i);if(!r&&n!==Ot["d"])throw new Error("[invokeFunction] unknown service '"+e+"'");return r}};return e.apply(void 0,_s([a],n))}finally{o=!0,i.stop()}},e.prototype.createInstance=function(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e instanceof ys["a"]?(t=Os.traceCreation(e.ctor),n=this._createInstance(e.ctor,e.staticArguments.concat(r),t)):(t=Os.traceCreation(e),n=this._createInstance(e,r,t)),t.stop(),n},e.prototype._createInstance=function(e,t,n){void 0===t&&(t=[]);for(var r=Ot["b"].getServiceDependencies(e).sort((function(e,t){return e.index-t.index})),i=[],o=0,a=r;o<a.length;o++){var s=a[o],l=this._getOrCreateServiceInstance(s.id,n);if(!l&&this._strict&&!s.optional)throw new Error("[createInstance] "+e.name+" depends on UNKNOWN service "+s.id+".");i.push(l)}var u=r.length>0?r[0].index:t.length;if(t.length!==u){console.warn("[createInstance] First service dependency of "+e.name+" at position "+(u+1)+" conflicts with "+t.length+" static arguments");var c=u-t.length;t=c>0?t.concat(new Array(c)):t.slice(0,u)}return new(e.bind.apply(e,_s([void 0],_s(t,i))))},e.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof ys["a"])this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},e.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},e.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof ys["a"]?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},e.prototype._createAndCacheServiceInstance=function(e,t,n){var r=new vs((function(e){return e.id.toString()})),i=0,o=[{id:e,desc:t,_trace:n}];while(o.length){var a=o.pop();if(r.lookupOrInsertNode(a),i++>150)throw new Cs(r);for(var s=0,l=Ot["b"].getServiceDependencies(a.desc.ctor);s<l.length;s++){var u=l[s],c=this._getServiceInstanceOrDescriptor(u.id);if(c||u.optional||console.warn("[createInstance] "+e+" depends on "+u.id+" which is NOT registered."),c instanceof ys["a"]){var d={id:u.id,desc:c,_trace:a._trace.branch(u.id,!0)};r.insertEdge(a,d),o.push(d)}}}while(1){var h=r.roots();if(0===h.length){if(!r.isEmpty())throw new Cs(r);break}for(var f=0,p=h;f<p.length;f++){var g=p[f].data,m=this._createServiceInstanceWithOwner(g.id,g.desc.ctor,g.desc.staticArguments,g.desc.supportsDelayedInstantiation,g._trace);this._setServiceInstance(g.id,m),r.removeNode(g)}}return this._getServiceInstanceOrDescriptor(e)},e.prototype._createServiceInstanceWithOwner=function(e,t,n,r,i){if(void 0===n&&(n=[]),this._services.get(e)instanceof ys["a"])return this._createServiceInstance(t,n,r,i);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,r,i);throw new Error("illegalState - creating UNKNOWN service instance "+t.name)},e.prototype._createServiceInstance=function(e,t,n,r){var i=this;if(void 0===t&&(t=[]),n&&xs){var o=new Ce["b"]((function(){return i._createInstance(e,t,r)}));return new Proxy(Object.create(null),{get:function(e,t){if(t in e)return e[t];var n=o.getValue(),r=n[t];return"function"!==typeof r||(r=r.bind(n),e[t]=r),r},set:function(e,t,n){return o.getValue()[t]=n,!0}})}return this._createInstance(e,t,r)},e}(),Os=function(){function e(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}return e.traceInvocation=function(t){return ws?new e(1,t.name||t.toString().substring(0,42).replace(/\n/g,"")):e._None},e.traceCreation=function(t){return ws?new e(0,t.name):e._None},e.prototype.branch=function(t,n){var r=new e(2,t.toString());return this._dep.push([t,n,r]),r},e.prototype.stop=function(){var t=Date.now()-this._start;e._totals+=t;var n=!1;function r(e,t){for(var i=[],o=new Array(e+1).join("\t"),a=0,s=t._dep;a<s.length;a++){var l=s[a],u=l[0],c=l[1],d=l[2];if(c&&d){n=!0,i.push(o+"CREATES -> "+u);var h=r(e+1,d);h&&i.push(h)}else i.push(o+"uses -> "+u)}return i.join("\n")}var i=[(0===this.type?"CREATE":"CALL")+" "+this.name,""+r(1,this),"DONE, took "+t.toFixed(2)+"ms (grand total "+e._totals.toFixed(2)+"ms)"];(t>2||n)&&console.log(i.join("\n"))},e._None=new(function(e){function t(){return e.call(this,-1,null)||this}return bs(t,e),t.prototype.stop=function(){},t.prototype.branch=function(){return this},t}(e)),e._totals=0,e}(),ks=n("R8sh"),Es=n("k9mg"),Ds=n("tADe");(function(e){function t(e,t,n){if(e[t])return e[t][n]}function n(e,t,n,r){e[t]||(e[t]=Object.create(null)),e[t][n]=r}function r(e,t,n){return!(!e[t]||!e[t][n])&&(delete e[t][n],Object(ke["f"])(e[t])&&delete e[t],!0)}e.get=t,e.set=n,e.remove=r})(ms||(ms={}));var Ms=function(){function e(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=Object.create(null),this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}return e.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},e.prototype._update=function(e){if(this._data)for(var t=0,n=e;t<n.length;t++){var r=n[t],i=r.toString(),o=this._data[i];o&&this._substract(o);var a=this._resourceStats(r);this._add(a),this._data[i]=a}},e.prototype._resourceStats=function(e){var t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===$["b"].inMemory||e.scheme===$["b"].walkThrough||e.scheme===$["b"].walkThroughSnippet)return t;for(var n=0,r=this._service.read({resource:e});n<r.length;n++){var i=r[n].severity;i===Ds["c"].Error?t.errors+=1:i===Ds["c"].Warning?t.warnings+=1:i===Ds["c"].Info?t.infos+=1:t.unknowns+=1}return t},e.prototype._substract=function(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns},e.prototype._add=function(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns},e}(),Ns=function(){function e(){this._onMarkerChanged=new F["a"],this._onMarkerChangedEvent=F["b"].debounce(this._onMarkerChanged.event,e._debouncer,0),this._byResource=Object.create(null),this._byOwner=Object.create(null),this._stats=new Ms(this)}return e.prototype.dispose=function(){this._stats.dispose()},Object.defineProperty(e.prototype,"onMarkerChanged",{get:function(){return this._onMarkerChangedEvent},enumerable:!0,configurable:!0}),e.prototype.remove=function(e,t){for(var n=0,r=t||[];n<r.length;n++){var i=r[n];this.changeOne(e,i,[])}},e.prototype.changeOne=function(t,n,r){if(Object(Fe["p"])(r)){var i=ms.remove(this._byResource,n.toString(),t),o=ms.remove(this._byOwner,t,n.toString());if(i!==o)throw new Error("invalid marker service state");i&&o&&this._onMarkerChanged.fire([n])}else{for(var a=[],s=0,l=r;s<l.length;s++){var u=l[s],c=e._toMarker(t,n,u);c&&a.push(c)}ms.set(this._byResource,n.toString(),t,a),ms.set(this._byOwner,t,n.toString(),a),this._onMarkerChanged.fire([n])}},e._toMarker=function(e,t,n){var r=n.code,i=n.severity,o=n.message,a=n.source,s=n.startLineNumber,l=n.startColumn,u=n.endLineNumber,c=n.endColumn,d=n.relatedInformation,h=n.tags;if(o)return s=s>0?s:1,l=l>0?l:1,u=u>=s?u:s,c=c>0?c:l,{resource:t,owner:e,code:r,severity:i,message:o,source:a,startLineNumber:s,startColumn:l,endLineNumber:u,endColumn:c,relatedInformation:d,tags:h}},e.prototype.read=function(t){void 0===t&&(t=Object.create(null));var n=t.owner,r=t.resource,i=t.severities,o=t.take;if((!o||o<0)&&(o=-1),n&&r){var a=ms.get(this._byResource,r.toString(),n);if(a){for(var s=[],l=0,u=a;l<u.length;l++){var c=u[l];if(e._accept(c,i)){var d=s.push(c);if(o>0&&d===o)break}}return s}return[]}if(n||r){var h=n?this._byOwner[n]:r?this._byResource[r.toString()]:void 0;if(!h)return[];s=[];for(var f in h)for(var p=0,g=h[f];p<g.length;p++){a=g[p];if(e._accept(a,i)){d=s.push(a);if(o>0&&d===o)return s}}return s}var s=[];for(var m in this._byResource)for(var v in this._byResource[m])for(var y=0,b=this._byResource[m][v];y<b.length;y++){var a=b[y];if(e._accept(a,i)){var d=s.push(a);if(o>0&&d===o)return s}}return s},e._accept=function(e,t){return void 0===t||(t&e.severity)===e.severity},e._debouncer=function(t,n){t||(e._dedupeMap=Object.create(null),t=[]);for(var r=0,i=n;r<i.length;r++){var o=i[r];void 0===e._dedupeMap[o.toString()]&&(e._dedupeMap[o.toString()]=!0,t.push(o))}return t},e}(),Ls=n("A+jI"),Is=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Ts=function(e,t){return function(n,r){t(n,r,e)}},Ps=function(){function e(e){this._commandService=e}return e.prototype.createMenu=function(e,t){return new As(e,this._commandService,t)},e=Is([Ts(0,ee["b"])],e),e}(),As=function(){function e(e,t,n){var r=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new F["a"],this._dispoables=new de["b"],this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(F["b"].debounce(F["b"].filter(Ii["c"].onDidChangeMenu,(function(e){return e===r._id})),(function(){}),50)(this._build,this)),this._dispoables.add(F["b"].debounce(this._contextKeyService.onDidChangeContext,(function(e,t){return e||t.affectsSome(r._contextKeys)}),50)((function(e){return e&&r._onDidChange.fire(void 0)}),this))}return e.prototype.dispose=function(){this._dispoables.dispose(),this._onDidChange.dispose()},e.prototype._build=function(){this._menuGroups.length=0,this._contextKeys.clear();var t,n=Ii["c"].getMenuItems(this._id);n.sort(e._compareMenuItems);for(var r=0,i=n;r<i.length;r++){var o=i[r],a=o.group||"";t&&t[0]===a||(t=[a,[]],this._menuGroups.push(t)),t[1].push(o),e._fillInKbExprKeys(o.when,this._contextKeys),Object(Ii["e"])(o)&&o.command.precondition&&e._fillInKbExprKeys(o.command.precondition,this._contextKeys),Object(Ii["e"])(o)&&o.command.toggled&&e._fillInKbExprKeys(o.command.toggled,this._contextKeys)}this._onDidChange.fire(this)},e.prototype.getActions=function(e){for(var t=[],n=0,r=this._menuGroups;n<r.length;n++){for(var i=r[n],o=i[0],a=i[1],s=[],l=0,u=a;l<u.length;l++){var c=u[l];if(this._contextKeyService.contextMatchesRules(c.when)){var d=Object(Ii["e"])(c)?new Ii["b"](c.command,c.alt,e,this._contextKeyService,this._commandService):new Ii["d"](c);s.push(d)}}s.length>0&&t.push([o,s])}return t},e._fillInKbExprKeys=function(e,t){if(e)for(var n=0,r=e.keys();n<r.length;n++){var i=r[n];t.add(i)}},e._compareMenuItems=function(t,n){var r=t.group,i=n.group;if(r!==i){if(!r)return 1;if(!i)return-1;if("navigation"===r)return-1;if("navigation"===i)return 1;var o=r.localeCompare(i);if(0!==o)return o}var a=t.order||0,s=n.order||0;return a<s?-1:a>s?1:e._compareTitles(Object(Ii["e"])(t)?t.command.title:t.title,Object(Ii["e"])(n)?n.command.title:n.title)},e._compareTitles=function(e,t){var n="string"===typeof e?e:e.value,r="string"===typeof t?t:t.value;return n.localeCompare(r)},e=Is([Ts(1,ee["b"]),Ts(2,zn["c"])],e),e}(),Rs=n("79sc"),js=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fs=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Bs=function(e,t){return function(n,r){t(n,r,e)}};function Vs(e){return e.toString()}var zs,Ws=function(e){function t(t){var n=e.call(this)||this;return n.model=t,n._markersData=new Map,n._register(Object(de["h"])((function(){n.model.deltaDecorations(Object(Ln["d"])(n._markersData),[]),n._markersData.clear()}))),n}return js(t,e),t.prototype.update=function(e,t){var n=Object(Ln["d"])(this._markersData);this._markersData.clear();for(var r=this.model.deltaDecorations(n,t),i=0;i<r.length;i++)this._markersData.set(r[i],e[i])},t.prototype.getMarker=function(e){return this._markersData.get(e.id)},t}(de["a"]),Hs=function(e){function t(t,n){var r=e.call(this)||this;return r._markerService=n,r._onDidChangeMarker=r._register(new F["a"]),r._markerDecorations=new Map,t.getModels().forEach((function(e){return r._onModelAdded(e)})),r._register(t.onModelAdded(r._onModelAdded,r)),r._register(t.onModelRemoved(r._onModelRemoved,r)),r._register(r._markerService.onMarkerChanged(r._handleMarkerChange,r)),r}return js(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._markerDecorations.forEach((function(e){return e.dispose()})),this._markerDecorations.clear()},t.prototype.getMarker=function(e,t){var n=this._markerDecorations.get(Vs(e.uri));return n?Object(ke["o"])(n.getMarker(t)):null},t.prototype._handleMarkerChange=function(e){var t=this;e.forEach((function(e){var n=t._markerDecorations.get(Vs(e));n&&t._updateDecorations(n)}))},t.prototype._onModelAdded=function(e){var t=new Ws(e);this._markerDecorations.set(Vs(e.uri),t),this._updateDecorations(t)},t.prototype._onModelRemoved=function(e){var t=this,n=this._markerDecorations.get(Vs(e.uri));n&&(n.dispose(),this._markerDecorations.delete(Vs(e.uri))),e.uri.scheme!==$["b"].inMemory&&e.uri.scheme!==$["b"].internal&&e.uri.scheme!==$["b"].vscode||this._markerService&&this._markerService.read({resource:e.uri}).map((function(e){return e.owner})).forEach((function(n){return t._markerService.remove(n,[e.uri])}))},t.prototype._updateDecorations=function(e){var t=this,n=this._markerService.read({resource:e.model.uri,take:500}),r=n.map((function(n){return{range:t._createDecorationRange(e.model,n),options:t._createDecorationOption(n)}}));e.update(n,r),this._onDidChangeMarker.fire(e.model)},t.prototype._createDecorationRange=function(e,t){var n=W["a"].lift(t);if(t.severity!==Ds["c"].Hint||this._hasMarkerTag(t,1)||this._hasMarkerTag(t,2)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2)),n=e.validateRange(n),n.isEmpty()){var r=e.getWordAtPosition(n.getStartPosition());if(r)n=new W["a"](n.startLineNumber,r.startColumn,n.endLineNumber,r.endColumn);else{var i=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===i||(n=n.endColumn>=i?new W["a"](n.startLineNumber,i-1,n.endLineNumber,i):new W["a"](n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn+1))}}else if(t.endColumn===Number.MAX_VALUE&&1===t.startColumn&&n.startLineNumber===n.endLineNumber){var o=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);o<n.endColumn&&(n=new W["a"](n.startLineNumber,o,n.endLineNumber,n.endColumn),t.startColumn=o)}return n},t.prototype._createDecorationOption=function(e){var t,n,r,i=void 0,o=void 0;switch(e.severity){case Ds["c"].Hint:t=this._hasMarkerTag(e,2)?void 0:this._hasMarkerTag(e,1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case Ds["c"].Warning:t="squiggly-warning",i=Object(Kr["f"])(Hr["q"]),n=20,r={color:Object(Kr["f"])(Ur["Ib"]),position:ye["c"].Inline};break;case Ds["c"].Info:t="squiggly-info",i=Object(Kr["f"])(Hr["p"]),n=10;break;case Ds["c"].Error:default:t="squiggly-error",i=Object(Kr["f"])(Hr["o"]),n=30,r={color:Object(Kr["f"])(Ur["Fb"]),position:ye["c"].Inline};break}return e.tags&&(-1!==e.tags.indexOf(1)&&(o="squiggly-inline-unnecessary"),-1!==e.tags.indexOf(2)&&(o="squiggly-inline-deprecated")),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:i,position:ye["d"].Right},minimap:r,zIndex:n,inlineClassName:o}},t.prototype._hasMarkerTag=function(e,t){return!!e.tags&&e.tags.indexOf(t)>=0},t=Fs([Bs(0,St["a"]),Bs(1,Ds["b"])],t),t}(de["a"]),Us=n("9fML"),Ks=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Gs=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},qs=function(e,t){return function(n,r){t(n,r,e)}},Ys=function(e){function t(t,n){var r=e.call(this)||this;r._contextKeyService=t,r._configurationService=n,r._accessibilitySupport=0,r._onDidChangeScreenReaderOptimized=new F["a"],r._accessibilityModeEnabledContext=Pi["a"].bindTo(r._contextKeyService);var i=function(){return r._accessibilityModeEnabledContext.set(r.isScreenReaderOptimized())};return r._register(r._configurationService.onDidChangeConfiguration((function(e){e.affectsConfiguration("editor.accessibilitySupport")&&(i(),r._onDidChangeScreenReaderOptimized.fire())}))),i(),r.onDidChangeScreenReaderOptimized((function(){return i()})),r}return Ks(t,e),Object.defineProperty(t.prototype,"onDidChangeScreenReaderOptimized",{get:function(){return this._onDidChangeScreenReaderOptimized.event},enumerable:!0,configurable:!0}),t.prototype.isScreenReaderOptimized=function(){var e=this._configurationService.getValue("editor.accessibilitySupport");return"on"===e||"auto"===e&&2===this._accessibilitySupport},t.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},t=Gs([qs(0,zn["c"]),qs(1,Nn["a"])],t),t}(de["a"]),Xs=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(e){var t=new ii["a"],n=function(){function e(e,t){this._serviceId=e,this._factory=t,this._value=null}return Object.defineProperty(e.prototype,"id",{get:function(){return this._serviceId},enumerable:!0,configurable:!0}),e.prototype.get=function(e){if(!this._value){if(e&&(this._value=e[this._serviceId.toString()]),this._value||(this._value=this._factory(e)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");t.set(this._serviceId,this._value)}return this._value},e}();e.LazyStaticService=n;var r=[];function i(e,t){var i=new n(e,t);return r.push(i),i}function o(e){for(var t=new ii["a"],n=0,i=Object(Us["a"])();n<i.length;n++){var o=i[n],a=o[0],s=o[1];t.set(a,s)}for(var l in e)e.hasOwnProperty(l)&&t.set(Object(Ot["c"])(l),e[l]);r.forEach((function(n){return t.set(n.id,n.get(e))}));var u=new Ss(t,!0);return t.set(Ot["a"],u),[t,u]}e.init=o,e.instantiationService=i(Ot["a"],(function(){return new Ss(t,!0)}));var a=new Cr;e.configurationService=i(Nn["a"],(function(){return a})),e.resourceConfigurationService=i(kt,(function(){return new Sr(a)})),e.resourcePropertiesService=i(Et,(function(){return new Or(a)})),e.contextService=i(ur["a"],(function(){return new Er})),e.labelService=i(ks["a"],(function(){return new Nr})),e.telemetryService=i($a["a"],(function(){return new kr})),e.dialogService=i(fs,(function(){return new yr})),e.notificationService=i(lr["a"],(function(){return new br})),e.markerService=i(Ds["b"],(function(){return new Ns})),e.modeService=i(qi["a"],(function(e){return new go})),e.standaloneThemeService=i(Li,(function(){return new wa})),e.logService=i(Dt["a"],(function(){return new Dt["c"]})),e.modelService=i(St["a"],(function(t){return new Co(e.configurationService.get(t),e.resourcePropertiesService.get(t),e.standaloneThemeService.get(t),e.logService.get(t))})),e.markerDecorationsService=i(Rs["a"],(function(t){return new Hs(e.modelService.get(t),e.markerService.get(t))})),e.codeEditorService=i(Y["a"],(function(t){return new Ko(e.standaloneThemeService.get(t))})),e.editorProgressService=i(ci["a"],(function(){return new vr})),e.storageService=i(Ls["a"],(function(){return new Ls["b"]})),e.editorWorkerService=i(we["a"],(function(t){return new Ft(e.modelService.get(t),e.resourceConfigurationService.get(t),e.logService.get(t))}))})(zs||(zs={}));var Zs=function(e){function t(t,n){var r=e.call(this)||this,i=zs.init(n),o=i[0],a=i[1];r._serviceCollection=o,r._instantiationService=a;var s=r.get(Nn["a"]),l=r.get(lr["a"]),u=r.get($a["a"]),c=r.get(Kr["c"]),d=function(e,t){var i=null;return n&&(i=n[e.toString()]),i||(i=t()),r._serviceCollection.set(e,i),i},h=d(zn["c"],(function(){return r._register(new Pa(s))}));d(Pi["b"],(function(){return new Ys(h,s)})),d(Es["a"],(function(){return new Es["b"](c)}));var f=d(ee["b"],(function(){return new _r(r._instantiationService)})),p=d(Ti["a"],(function(){return r._register(new wr(h,f,u,l,t))})),g=d(ls,(function(){return new Lr(t)})),m=d(oi["b"],(function(){return r._register(new hs(g))}));return d(oi["a"],(function(){var e=new ns(u,l,m,p,c);return e.configure({blockMouse:!1}),r._register(e)})),d(Ii["a"],(function(){return new Ps(f)})),d(Gi["a"],(function(){return new Mr(zs.modelService.get(St["a"]))})),r}return Xs(t,e),t.prototype.get=function(e){var t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t},t.prototype.set=function(e,t){this._serviceCollection.set(e,t)},t.prototype.has=function(e){return this._serviceCollection.has(e)},t}(de["a"]);function Qs(e,t,n){var r=new Zs(e,t),i=null;r.has(xe["a"])||(i=new mr(zs.modelService.get()),r.set(xe["a"],i)),r.has(te["a"])||r.set(te["a"],new ue(r.get(Y["a"]),r.get(ee["b"])));var o=n(r);return i&&i.setEditor(o),o}function $s(e,t,n){return Qs(e,n||{},(function(n){return new Ui(e,t,n,n.get(Ot["a"]),n.get(Y["a"]),n.get(ee["b"]),n.get(zn["c"]),n.get(Ti["a"]),n.get(oi["b"]),n.get(Li),n.get(lr["a"]),n.get(Nn["a"]),n.get(Pi["b"]))}))}function Js(e){return zs.codeEditorService.get().onCodeEditorAdd((function(t){e(t)}))}function el(e,t,n){return Qs(e,n||{},(function(n){return new Ki(e,t,n,n.get(Ot["a"]),n.get(zn["c"]),n.get(Ti["a"]),n.get(oi["b"]),n.get(we["a"]),n.get(Y["a"]),n.get(Li),n.get(lr["a"]),n.get(Nn["a"]),n.get(oi["a"]),n.get(ci["a"]),null)}))}function tl(e,t){return new ge(e,t)}function nl(e,t,n){return zs.modelService.get().createModel(e,t,n)}function rl(e,t,n){if(e=e||"",!t){var r=e.indexOf("\n"),i=e;return-1!==r&&(i=e.substring(0,r)),nl(e,zs.modeService.get().createByFilepathOrFirstLine(n||null,i),n)}return nl(e,zs.modeService.get().create(t),n)}function il(e,t){zs.modelService.get().setMode(e,zs.modeService.get().create(t))}function ol(e,t,n){e&&zs.markerService.get().changeOne(t,e.uri,n)}function al(e){return zs.markerService.get().read(e)}function sl(e){return zs.modelService.get().getModel(e)}function ll(){return zs.modelService.get().getModels()}function ul(e){return zs.modelService.get().onModelAdded(e)}function cl(e){return zs.modelService.get().onModelRemoved(e)}function dl(e){return zs.modelService.get().onModelModeChanged((function(t){e({model:t.model,oldLanguage:t.oldModeId})}))}function hl(e){return Gt(zs.modelService.get(),e)}function fl(e,t){return wn.colorizeElement(zs.standaloneThemeService.get(),zs.modeService.get(),e,t)}function pl(e,t,n){return wn.colorize(zs.modeService.get(),e,t,n)}function gl(e,t,n){return void 0===n&&(n=4),wn.colorizeModelLine(e,t,n)}function ml(e){var t=be["y"].get(e);return t||{getInitialState:function(){return _e["c"]},tokenize:function(t,n,r){return Object(_e["d"])(e,t,n,r)}}}function vl(e,t){var n=zs.modeService.get();n.triggerMode(t);for(var r=ml(t),i=e.split(/\r\n|\r|\n/),o=[],a=r.getInitialState(),s=0,l=i.length;s<l;s++){var u=i[s],c=r.tokenize(u,a,0);o[s]=c.tokens,a=c.endState}return o}function yl(e,t){zs.standaloneThemeService.get().defineTheme(e,t)}function bl(e){zs.standaloneThemeService.get().setTheme(e)}function _l(){Object(jr["b"])()}function wl(){return{create:$s,onDidCreateEditor:Js,createDiffEditor:el,createDiffNavigator:tl,createModel:rl,setModelLanguage:il,setModelMarkers:ol,getModelMarkers:al,getModels:ll,getModel:sl,onDidCreateModel:ul,onWillDisposeModel:cl,onDidChangeModelLanguage:dl,createWebWorker:hl,colorizeElement:fl,colorize:pl,colorizeModelLine:gl,tokenize:vl,defineTheme:yl,setTheme:bl,remeasureFonts:_l,AccessibilitySupport:r,ContentWidgetPositionPreference:l,CursorChangeReason:u,DefaultEndOfLine:c,EditorAutoIndentStrategy:h,EditorOption:f,EndOfLinePreference:p,EndOfLineSequence:g,MinimapPosition:_,MouseTargetType:w,OverlayWidgetPositionPreference:x,OverviewRulerLane:C,RenderLineNumbersType:S,RenderMinimap:O,ScrollbarVisibility:E,ScrollType:k,TextEditorCursorBlinkingStyle:I,TextEditorCursorStyle:T,TrackedRangeStickiness:P,WrappingIndent:A,ConfigurationChangedEvent:R["a"],BareFontInfo:me["a"],FontInfo:me["b"],TextModelResolvedOptions:ye["e"],FindMatch:ye["b"],EditorType:ve["a"],EditorOptions:R["e"]}}function xl(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var n=0,r=t;n<r.length;n++){var i=r[n];if(!e(i))return!1}return!0}function Cl(e,t){return"boolean"===typeof e?e:t}function Sl(e,t){return"string"===typeof e?e:t}function Ol(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];t[i]=!0}return t}function kl(e,t){void 0===t&&(t=!1),t&&(e=e.map((function(e){return e.toLowerCase()})));var n=Ol(e);return t?function(e){return void 0!==n[e.toLowerCase()]&&n.hasOwnProperty(e.toLowerCase())}:function(e){return void 0!==n[e]&&n.hasOwnProperty(e)}}function El(e,t){var n=0;while(t.indexOf("@")>=0&&n<5)n++,t=t.replace(/@(\w+)/g,(function(n,r){var i="";if("string"===typeof e[r])i=e[r];else{if(!(e[r]&&e[r]instanceof RegExp))throw void 0===e[r]?an(e,"language definition does not contain attribute '"+r+"', used at: "+t):an(e,"attribute reference '"+r+"' must be a string, used at: "+t);i=e[r].source}return tn(i)?"":"(?:"+i+")"}));return new RegExp(t,e.ignoreCase?"i":"")}function Dl(e,t,n,r){if(r<0)return e;if(r<t.length)return t[r];if(r>=100){r-=100;var i=n.split(".");if(i.unshift(n),r<i.length)return i[r]}return null}function Ml(e,t,n,r){var i=-1,o=n,a=n.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);a&&(a[3]&&(i=parseInt(a[3]),a[2]&&(i+=100)),o=a[4]);var s,l="~",u=o;if(o&&0!==o.length?/^\w*$/.test(u)?l="==":(a=o.match(/^(@|!@|~|!~|==|!=)(.*)$/),a&&(l=a[1],u=a[2])):(l="!=",u=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(u))if("@"===l||"!@"===l){var c=e[u];if(!c)throw an(e,"the @ match target '"+u+"' is not defined, in rule: "+t);if(!xl((function(e){return"string"===typeof e}),c))throw an(e,"the @ match target '"+u+"' must be an array of strings, in rule: "+t);var d=kl(c,e.ignoreCase);s=function(e){return"@"===l?d(e):!d(e)}}else if("~"===l||"!~"===l)if(u.indexOf("$")<0){var h=El(e,"^"+u+"$");s=function(e){return"~"===l?h.test(e):!h.test(e)}}else s=function(t,n,r,i){var o=El(e,"^"+sn(e,u,n,r,i)+"$");return o.test(t)};else if(u.indexOf("$")<0){var f=nn(e,u);s=function(e){return"=="===l?e===f:e!==f}}else{var p=nn(e,u);s=function(t,n,r,i,o){var a=sn(e,p,n,r,i);return"=="===l?t===a:t!==a}}else{var g=kl(u.split("|"),e.ignoreCase);s=function(e){return"~"===l?g(e):!g(e)}}return-1===i?{name:n,value:r,test:function(e,t,n,r){return s(e,e,t,n,r)}}:{name:n,value:r,test:function(e,t,n,r){var o=Dl(e,t,n,i);return s(o||"",e,t,n,r)}}}function Nl(e,t,n){if(n){if("string"===typeof n)return n;if(n.token||""===n.token){if("string"!==typeof n.token)throw an(e,"a 'token' attribute must be of type string, in rule: "+t);var r={token:n.token};if(n.token.indexOf("$")>=0&&(r.tokenSubst=!0),"string"===typeof n.bracket)if("@open"===n.bracket)r.bracket=1;else{if("@close"!==n.bracket)throw an(e,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+t);r.bracket=-1}if(n.next){if("string"!==typeof n.next)throw an(e,"the next state must be a string value in rule: "+t);var i=n.next;if(!/^(@pop|@push|@popall)$/.test(i)&&("@"===i[0]&&(i=i.substr(1)),i.indexOf("$")<0&&!un(e,sn(e,i,"",[],""))))throw an(e,"the next state '"+n.next+"' is not defined in rule: "+t);r.next=i}return"number"===typeof n.goBack&&(r.goBack=n.goBack),"string"===typeof n.switchTo&&(r.switchTo=n.switchTo),"string"===typeof n.log&&(r.log=n.log),"string"===typeof n.nextEmbedded&&(r.nextEmbedded=n.nextEmbedded,e.usesEmbedded=!0),r}if(Array.isArray(n)){for(var o=[],a=0,s=n.length;a<s;a++)o[a]=Nl(e,t,n[a]);return{group:o}}if(n.cases){var l=[];for(var u in n.cases)if(n.cases.hasOwnProperty(u)){var c=Nl(e,t,n.cases[u]);"@default"===u||"@"===u||""===u?l.push({test:void 0,value:c,name:u}):"@eos"===u?l.push({test:function(e,t,n,r){return r},value:c,name:u}):l.push(Ml(e,t,u,c))}var d=e.defaultToken;return{test:function(e,t,n,r){for(var i=0,o=l;i<o.length;i++){var a=o[i],s=!a.test||a.test(e,t,n,r);if(s)return a.value}return d}}}throw an(e,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+t)}return{token:""}}var Ll=function(){function e(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}return e.prototype.setRegex=function(e,t){var n;if("string"===typeof t)n=t;else{if(!(t instanceof RegExp))throw an(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=n.length>0&&"^"===n[0],this.name=this.name+": "+n,this.regex=El(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")},e.prototype.setAction=function(e,t){this.action=Nl(e,this.name,t)},e}();function Il(e,t){if(!t||"object"!==typeof t)throw new Error("Monarch: expecting a language definition object");var n={};n.languageId=e,n.noThrow=!1,n.maxStack=100,n.start="string"===typeof t.start?t.start:null,n.ignoreCase=Cl(t.ignoreCase,!1),n.tokenPostfix=Sl(t.tokenPostfix,"."+n.languageId),n.defaultToken=Sl(t.defaultToken,"source"),n.usesEmbedded=!1;var r=t;function i(e,o,a){for(var s=0,l=a;s<l.length;s++){var u=l[s],c=u.include;if(c){if("string"!==typeof c)throw an(n,"an 'include' attribute must be a string at: "+e);if("@"===c[0]&&(c=c.substr(1)),!t.tokenizer[c])throw an(n,"include target '"+c+"' is not defined at: "+e);i(e+"."+c,o,t.tokenizer[c])}else{var d=new Ll(e);if(Array.isArray(u)&&u.length>=1&&u.length<=3)if(d.setRegex(r,u[0]),u.length>=3)if("string"===typeof u[1])d.setAction(r,{token:u[1],next:u[2]});else{if("object"!==typeof u[1])throw an(n,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+e);var h=u[1];h.next=u[2],d.setAction(r,h)}else d.setAction(r,u[1]);else{if(!u.regex)throw an(n,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);u.name&&"string"===typeof u.name&&(d.name=u.name),u.matchOnlyAtStart&&(d.matchOnlyAtLineStart=Cl(u.matchOnlyAtLineStart,!1)),d.setRegex(r,u.regex),d.setAction(r,u.action)}o.push(d)}}}if(r.languageId=e,r.ignoreCase=n.ignoreCase,r.noThrow=n.noThrow,r.usesEmbedded=n.usesEmbedded,r.stateNames=t.tokenizer,r.defaultToken=n.defaultToken,!t.tokenizer||"object"!==typeof t.tokenizer)throw an(n,"a language definition must define the 'tokenizer' attribute as an object");for(var o in n.tokenizer=[],t.tokenizer)if(t.tokenizer.hasOwnProperty(o)){n.start||(n.start=o);var a=t.tokenizer[o];n.tokenizer[o]=new Array,i("tokenizer."+o,n.tokenizer[o],a)}if(n.usesEmbedded=r.usesEmbedded,t.brackets){if(!Array.isArray(t.brackets))throw an(n,"the 'brackets' attribute must be defined as an array")}else t.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];for(var s=[],l=0,u=t.brackets;l<u.length;l++){var c=u[l],d=c;if(d&&Array.isArray(d)&&3===d.length&&(d={token:d[2],open:d[0],close:d[1]}),d.open===d.close)throw an(n,"open and close brackets in a 'brackets' attribute must be different: "+d.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!==typeof d.open||"string"!==typeof d.token||"string"!==typeof d.close)throw an(n,"every element in the 'brackets' array must be a '{open,close,token}' object or array");s.push({token:d.token+n.tokenPostfix,open:nn(n,d.open),close:nn(n,d.close)})}return n.brackets=s,n.noThrow=!0,n}function Tl(e){so["a"].registerLanguage(e)}function Pl(){var e=[];return e=e.concat(so["a"].getLanguages()),e}function Al(e){var t=zs.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function Rl(e,t){var n=zs.modeService.get().onDidCreateMode((function(r){r.getId()===e&&(n.dispose(),t())}));return n}function jl(e,t){var n=zs.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return je["a"].register(n,t)}var Fl=function(){function e(e){this._actual=e}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype.tokenize=function(e,t,n){throw new Error("Not supported!")},e.prototype.tokenize2=function(e,t){var n=this._actual.tokenizeEncoded(e,t);return new U["c"](n.tokens,n.endState)},e}(),Bl=function(){function e(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}return e.prototype.getInitialState=function(){return this._actual.getInitialState()},e.prototype._toClassicTokens=function(e,t,n){for(var r=[],i=0,o=0,a=e.length;o<a;o++){var s=e[o],l=s.startIndex;0===o?l=0:l<i&&(l=i),r[o]=new U["a"](l+n,s.scopes,t),i=l}return r},e.prototype.tokenize=function(e,t,n){var r,i=this._actual.tokenize(e,t),o=this._toClassicTokens(i.tokens,this._languageIdentifier.language,n);return r=i.endState.equals(t)?t:i.endState,new U["b"](o,r)},e.prototype._toBinaryTokens=function(e,t){for(var n=this._languageIdentifier.id,r=this._standaloneThemeService.getTheme().tokenTheme,i=[],o=0,a=0,s=0,l=e.length;s<l;s++){var u=e[s],c=r.match(n,u.scopes);if(!(o>0&&i[o-1]===c)){var d=u.startIndex;0===s?d=0:d<a&&(d=a),i[o++]=d+t,i[o++]=c,a=d}}var h=new Uint32Array(o);for(s=0;s<o;s++)h[s]=i[s];return h},e.prototype.tokenize2=function(e,t,n){var r,i=this._actual.tokenize(e,t),o=this._toBinaryTokens(i.tokens,n);return r=i.endState.equals(t)?t:i.endState,new U["c"](o,r)},e}();function Vl(e){return"tokenizeEncoded"in e}function zl(e){return e&&"function"===typeof e.then}function Wl(e,t){var n=zs.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);var r=function(e){return Vl(e)?new Fl(e):new Bl(zs.standaloneThemeService.get(),n,e)};return zl(t)?be["y"].registerPromise(e,t.then((function(e){return r(e)}))):be["y"].register(e,r(t))}function Hl(e,t){var n=function(t){return _n(zs.modeService.get(),zs.standaloneThemeService.get(),e,Il(e,t))};return zl(t)?be["y"].registerPromise(e,t.then((function(e){return n(e)}))):be["y"].register(e,n(t))}function Ul(e,t){return be["t"].register(e,t)}function Kl(e,t){return be["u"].register(e,t)}function Gl(e,t){return be["w"].register(e,t)}function ql(e,t){return be["o"].register(e,{provideHover:function(e,n,r){var i=e.getWordAtPosition(n);return Promise.resolve(t.provideHover(e,n,r)).then((function(e){if(e)return!e.range&&i&&(e.range=new W["a"](n.lineNumber,i.startColumn,n.lineNumber,i.endColumn)),e.range||(e.range=new W["a"](n.lineNumber,n.column,n.lineNumber,n.column)),e}))}})}function Yl(e,t){return be["l"].register(e,t)}function Xl(e,t){return be["h"].register(e,t)}function Zl(e,t){return be["f"].register(e,t)}function Ql(e,t){return be["p"].register(e,t)}function $l(e,t){return be["z"].register(e,t)}function Jl(e,t){return be["b"].register(e,t)}function eu(e,t){return be["a"].register(e,{provideCodeActions:function(e,n,r,i){var o=zs.markerService.get().read({resource:e.uri}).filter((function(e){return W["a"].areIntersectingOrTouching(e,n)}));return t.provideCodeActions(e,n,{markers:o,only:r.only},i)}})}function tu(e,t){return be["g"].register(e,t)}function nu(e,t){return be["i"].register(e,t)}function ru(e,t){return be["s"].register(e,t)}function iu(e,t){return be["r"].register(e,t)}function ou(e,t){return be["d"].register(e,t)}function au(e,t){return be["c"].register(e,t)}function su(e,t){return be["n"].register(e,t)}function lu(e,t){return be["e"].register(e,t)}function uu(e,t){return be["v"].register(e,t)}function cu(e,t){return be["k"].register(e,t)}function du(e,t){return be["j"].register(e,t)}function hu(){return{register:Tl,getLanguages:Pl,onLanguage:Rl,getEncodedLanguageId:Al,setLanguageConfiguration:jl,setTokensProvider:Wl,setMonarchTokensProvider:Hl,registerReferenceProvider:Ul,registerRenameProvider:Kl,registerCompletionItemProvider:ou,registerSignatureHelpProvider:Gl,registerHoverProvider:ql,registerDocumentSymbolProvider:Yl,registerDocumentHighlightProvider:Xl,registerDefinitionProvider:Zl,registerImplementationProvider:Ql,registerTypeDefinitionProvider:$l,registerCodeLensProvider:Jl,registerCodeActionProvider:eu,registerDocumentFormattingEditProvider:tu,registerDocumentRangeFormattingEditProvider:nu,registerOnTypeFormattingEditProvider:ru,registerLinkProvider:iu,registerColorProvider:au,registerFoldingRangeProvider:su,registerDeclarationProvider:lu,registerSelectionRangeProvider:uu,registerDocumentSemanticTokensProvider:cu,registerDocumentRangeSemanticTokensProvider:du,DocumentHighlightKind:d,CompletionItemKind:o,CompletionItemTag:a,CompletionItemInsertTextRule:i,SymbolKind:N,SymbolTag:L,IndentAction:m,CompletionTriggerKind:s,SignatureHelpTriggerKind:M,FoldingRangeKind:be["m"]}}var fu=self;R["e"].wrappingIndent.defaultValue=0,R["e"].glyphMargin.defaultValue=!1,R["e"].autoIndent.defaultValue=3,R["e"].overviewRulerLanes.defaultValue=2;var pu=G();pu.editor=wl(),pu.languages=hu();var gu=pu.CancellationTokenSource,mu=pu.Emitter,vu=pu.KeyCode,yu=pu.KeyMod,bu=pu.Position,_u=pu.Range,wu=pu.Selection,xu=pu.SelectionDirection,Cu=pu.MarkerSeverity,Su=pu.MarkerTag,Ou=pu.Uri,ku=pu.Token,Eu=pu.editor,Du=pu.languages;fu.monaco=pu,"undefined"!==typeof fu.require&&"function"===typeof fu.require.config&&fu.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]})},"98bh":function(e,t,n){var r=n("ProS"),i=n("5GtS"),o=n("bYtY"),a=n("4NO4"),s=n("OELB"),l=s.getPercentWithPrecision,u=n("cCMj"),c=n("KxfA"),d=c.retrieveRawAttr,h=n("D5nY"),f=h.makeSeriesEncodeForNameBased,p=n("xKMd"),g=r.extendSeriesModel({type:"series.pie",init:function(e){g.superApply(this,"init",arguments),this.legendVisualProvider=new p(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){g.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,t){return i(this,{coordDimensions:["value"],encodeDefaulter:o.curry(f,this)})},_createSelectableList:function(){for(var e=this.getRawData(),t=e.mapDimension("value"),n=[],r=0,i=e.count();r<i;r++)n.push({name:e.getName(r),value:e.get(t,r),selected:d(e,r,"selected")});return n},getDataParams:function(e){var t=this.getData(),n=g.superCall(this,"getDataParams",e),r=[];return t.each(t.mapDimension("value"),(function(e){r.push(e)})),n.percent=l(r,e,t.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(e){a.defaultEmphasis(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});o.mixin(g,u);var m=g;e.exports=m},"9B1q":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return n.e(176).then(n.bind(null,"v7Iz"))}})},"9H2F":function(e,t,n){var r=n("bYtY"),i=(r.assert,r.isArray),o=n("Tghj");o.__DEV__;function a(e){return new s(e)}function s(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0,this.context}var l=s.prototype;l.perform=function(e){var t,n=this._upstream,r=e&&e.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(t=this._plan(this.context));var a,s=f(this._modBy),l=this._modDataCount||0,u=f(e&&e.modBy),h=e&&e.modDataCount||0;function f(e){return!(e>=1)&&(e=1),e}s===u&&l===h||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,a=d(this,r)),this._modBy=u,this._modDataCount=h;var p=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var g=this._dueIndex,m=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(a||g<m)){var v=this._progress;if(i(v))for(var y=0;y<v.length;y++)c(this,v[y],g,m,u,h);else c(this,v,g,m,u,h)}this._dueIndex=m;var b=null!=this._settedOutputEnd?this._settedOutputEnd:m;this._outputDueEnd=b}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var u=function(){var e,t,n,r,i,o={reset:function(l,u,c,d){t=l,e=u,n=c,r=d,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return t<e?t++:null}function s(){var o=t%i*n+Math.ceil(t/i),a=t>=e?null:o<r?o:t;return t++,a}}();function c(e,t,n,r,i,o){u.reset(n,r,i,o),e._callingProgress=t,e._callingProgress({start:n,end:r,count:r-n,next:u.next},e.context)}function d(e,t){var n,r;e._dueIndex=e._outputDueEnd=e._dueEnd=0,e._settedOutputEnd=null,!t&&e._reset&&(n=e._reset(e.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),i(n)&&!n.length&&(n=null)),e._progress=n,e._modBy=e._modDataCount=null;var o=e._downstream;return o&&o.dirty(),r}l.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},l.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},l.pipe=function(e){(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},l.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},l.getUpstream=function(){return this._upstream},l.getDownstream=function(){return this._downstream},l.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t.createTask=a},"9KIM":function(e,t,n){var r=n("mFDi"),i=n("xSat"),o=i.onIrrelevantElement,a=n("IwbS");function s(e){return e=c(e),function(t,n){return a.clipPointsByRect(t,e)}}function l(e,t){return e=c(e),function(n){var r=null!=t?t:n,i=r?e.width:e.height,o=r?e.x:e.y;return[o,o+(i||0)]}}function u(e,t,n){return e=c(e),function(r,i,a){return e.contain(i[0],i[1])&&!o(r,t,n)}}function c(e){return r.create(e)}t.makeRectPanelClipPath=s,t.makeLinearBrushOtherExtent=l,t.makeRectIsTargetByCursor=u},"9Odx":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("FhTr")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="RightOutlined";var u=o.forwardRef(l);t.default=u},"9Vvo":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z"}}]},name:"usergroup-add",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="UsergroupAddOutlined";t["a"]=r["forwardRef"](s)},"9XAT":function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return i}));n("M/lh");var r=monaco.Emitter,i=function(){function e(e,t,n){this._onDidChange=new r,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),o={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"}},a={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},s=new i("css",o,a),l=new i("scss",o,a),u=new i("less",o,a);function c(){return{cssDefaults:s,lessDefaults:u,scssDefaults:l}}function d(){return n.e(164).then(n.bind(null,"20/g"))}monaco.languages.css=c(),monaco.languages.onLanguage("less",(function(){d().then((function(e){return e.setupMode(u)}))})),monaco.languages.onLanguage("scss",(function(){d().then((function(e){return e.setupMode(l)}))})),monaco.languages.onLanguage("css",(function(){d().then((function(e){return e.setupMode(s)}))}))},"9XeP":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("clipboardService")},"9Y+e":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e,t,n,r,i,o){this.id=e,this.label=t,this.alias=n,this._precondition=r,this._run=i,this._contextKeyService=o}return e.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},e.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e||Promise.resolve(void 0)},e}()},"9ama":function(e,t,n){},"9eas":function(e,t,n){n("HM/N"),n("tBnm")},"9fML":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n("r0BQ"),i=[];function o(e,t,n){i.push([e,new r["a"](t,[],n)])}function a(){return i}},"9hCq":function(e,t,n){var r=n("IwbS"),i=n("+TT/"),o=n("bYtY"),a=n("VaxA"),s=a.wrapTreePathInfo,l=8,u=8,c=5;function d(e){this.group=new r.Group,e.add(this.group)}function h(e,t,n,r,i,o){var a=[[i?e:e-c,t],[e+n,t],[e+n,t+r],[i?e:e-c,t+r]];return!o&&a.splice(2,0,[e+n+c,t+r/2]),!i&&a.push([e,t+r/2]),a}function f(e,t,n){e.eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.componentIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s(n,t)}}d.prototype={constructor:d,render:function(e,t,n,r){var o=e.getModel("breadcrumb"),a=this.group;if(a.removeAll(),o.get("show")&&n){var s=o.getModel("itemStyle"),l=s.getModel("textStyle"),u={pos:{left:o.get("left"),right:o.get("right"),top:o.get("top"),bottom:o.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:o.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(e,u,s,l,r),i.positionElement(a,u.pos,u.box)}},_prepare:function(e,t,n){for(var r=e;r;r=r.parentNode){var i=r.getModel().get("name"),o=n.getTextRect(i),a=Math.max(o.width+2*l,t.emptyItemWidth);t.totalWidth+=a+u,t.renderList.push({node:r,text:i,width:a})}},_renderContent:function(e,t,n,a,s){for(var l=0,c=t.emptyItemWidth,d=e.get("breadcrumb.height"),p=i.getAvailableSize(t.pos,t.box),g=t.totalWidth,m=t.renderList,v=m.length-1;v>=0;v--){var y=m[v],b=y.node,_=y.width,w=y.text;g>p.width&&(g-=_-c,_=c,w=null);var x=new r.Polygon({shape:{points:h(l,0,_,d,v===m.length-1,0===v)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:w,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,b)});this.group.add(x),f(x,e,b),l+=_+u}},remove:function(){this.group.removeAll()}};var p=d;e.exports=p},"9u0u":function(e,t,n){var r=n("bYtY");function i(e,t){var n={};return r.each(e,(function(e){e.each(e.mapDimension("value"),(function(t,r){var i="ec-"+e.getName(r);n[i]=n[i]||[],isNaN(t)||n[i].push(t)}))})),e[0].map(e[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+e[0].getName(i),s=0,l=1/0,u=-1/0,c=n[a].length,d=0;d<c;d++)l=Math.min(l,n[a][d]),u=Math.max(u,n[a][d]),s+=n[a][d];return o="min"===t?l:"max"===t?u:"average"===t?s/c:s,0===c?NaN:o}))}function o(e){var t={};e.eachSeriesByType("map",(function(e){var n=e.getHostGeoModel(),r=n?"o"+n.id:"i"+e.getMapType();(t[r]=t[r]||[]).push(e)})),r.each(t,(function(e,t){for(var n=i(r.map(e,(function(e){return e.getData()})),e[0].get("mapValueCalculation")),o=0;o<e.length;o++)e[o].originalData=e[o].getData();for(o=0;o<e.length;o++)e[o].seriesGroup=e,e[o].needsDrawMap=0===o&&!e[o].getHostGeoModel(),e[o].setData(n.cloneShallow()),e[o].mainSeries=e[0]}))}e.exports=o},"9wZj":function(e,t,n){var r=n("IwbS"),i=n("FBjb"),o=n("bYtY"),a=o.isObject;function s(e){this.group=new r.Group,this._symbolCtor=e||i}var l=s.prototype;function u(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function c(e){return null==e||a(e)||(e={isIgnore:e}),e||{}}function d(e){var t=e.hostModel;return{itemStyle:t.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:t.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:t.get("symbolRotate"),symbolOffset:t.get("symbolOffset"),hoverAnimation:t.get("hoverAnimation"),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label"),cursorStyle:t.get("cursor")}}l.updateData=function(e,t){t=c(t);var n=this.group,i=e.hostModel,o=this._data,a=this._symbolCtor,s=d(e);o||n.removeAll(),e.diff(o).add((function(r){var i=e.getItemLayout(r);if(u(e,i,r,t)){var o=new a(e,r,s);o.attr("position",i),e.setItemGraphicEl(r,o),n.add(o)}})).update((function(l,c){var d=o.getItemGraphicEl(c),h=e.getItemLayout(l);u(e,h,l,t)?(d?(d.updateData(e,l,s),r.updateProps(d,{position:h},i)):(d=new a(e,l),d.attr("position",h)),n.add(d),e.setItemGraphicEl(l,d)):n.remove(d)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}))})).execute(),this._data=e},l.isPersistent=function(){return!0},l.updateLayout=function(){var e=this._data;e&&e.eachItemGraphicEl((function(t,n){var r=e.getItemLayout(n);t.attr("position",r)}))},l.incrementalPrepareUpdate=function(e){this._seriesScope=d(e),this._data=null,this.group.removeAll()},l.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=e.useHoverLayer=!0)}n=c(n);for(var i=e.start;i<e.end;i++){var o=t.getItemLayout(i);if(u(t,o,i,n)){var a=new this._symbolCtor(t,i,this._seriesScope);a.traverse(r),a.attr("position",o),this.group.add(a),t.setItemGraphicEl(i,a)}}},l.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}))})):t.removeAll()};var h=s;e.exports=h},"9yH6":function(e,t,n){"use strict";var r=n("oOh1"),i=n("SiX+"),o=n("KNH7"),a=r["a"];a.Button=o["a"],a.Group=i["a"],t["default"]=a},"A+jI":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return c}));var r,i=n("Cg/j"),o=n("MI8n"),a=n("pmY6"),s=n("746U"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=Object(i["c"])("storageService");(function(e){e[e["NONE"]=0]="NONE",e[e["SHUTDOWN"]=1]="SHUTDOWN"})(r||(r={}));var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onDidChangeStorage=t._register(new o["a"]),t.onDidChangeStorage=t._onDidChangeStorage.event,t._onWillSaveState=t._register(new o["a"]),t.onWillSaveState=t._onWillSaveState.event,t.globalCache=new Map,t.workspaceCache=new Map,t}return l(t,e),t.prototype.getCache=function(e){return 0===e?this.globalCache:this.workspaceCache},t.prototype.get=function(e,t,n){var r=this.getCache(t).get(e);return Object(s["l"])(r)?n:r},t.prototype.getBoolean=function(e,t,n){var r=this.getCache(t).get(e);return Object(s["l"])(r)?n:"true"===r},t.prototype.store=function(e,t,n){if(Object(s["l"])(t))return this.remove(e,n);var r=String(t),i=this.getCache(n).get(e);return i===r||(this.getCache(n).set(e,r),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()},t.prototype.remove=function(e,t){var n=this.getCache(t).delete(e);return n?(this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()):Promise.resolve()},t}(a["a"])},A1Ka:function(e,t,n){var r=n("bLfw"),i=n("sS/r"),o=n("D5nY"),a=o.detectSourceFormat,s=n("k9D9"),l=s.SERIES_LAYOUT_BY_COLUMN;r.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){a(this)}}),i.extend({type:"dataset"})},A5Xg:function(e,t,n){var r=n("NsO/"),i=n("ar/p").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},A90E:function(e,t,n){var r=n("6sVZ"),i=n("V6Ve"),o=Object.prototype,a=o.hasOwnProperty;function s(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=s},ACnJ:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}n.d(t,"b",(function(){return o}));var o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=[],l=-1,u={},c={matchHandlers:{},dispatch:function(e){return u=e,s.forEach((function(e){e.func(u)})),s.length>=1},subscribe:function(e){0===s.length&&this.register();var t=(++l).toString();return s.push({token:t,func:e}),e(u),t},unsubscribe:function(e){s=s.filter((function(t){return t.token!==e})),0===s.length&&this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],r=e.matchHandlers[n];r&&r.mql&&r.listener&&r.mql.removeListener(r.listener)}))},register:function(){var e=this;Object.keys(a).forEach((function(t){var n=a[t],o=function(n){var o=n.matches;e.dispatch(i(i({},u),r({},t,o)))},s=window.matchMedia(n);s.addListener(o),e.matchHandlers[n]={mql:s,listener:o},o(s)}))}};t["a"]=c},AE9C:function(e,t,n){var r=n("bYtY"),i=n("crZl"),o=n("IwbS"),a=n("oVpE"),s=a.createSymbol,l=n("+TT/"),u=n("y7Aq"),c=i.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,a=i.getFont(),s=i.getTextColor(),u=this._getItemAlign(),c=t.itemSize,d=this._getViewData(),h=d.endsText,f=r.retrieve(t.get("showLabel",!0),!h);function p(i){var l=i.piece,d=new o.Group;d.onclick=r.bind(this._onItemClick,this,l),this._enableHoverLink(d,i.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(d,h,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(h);d.add(new o.Text({style:{x:"right"===u?-n:c[0]+n,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:a,textFill:s,opacity:"outOfRange"===p?.5:1}}))}e.add(d)}h&&this._renderEndsText(e,h[0],c,f,u),r.each(d.viewPieceList,p,this),h&&this._renderEndsText(e,h[1],c,f,u),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:u.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",r.bind(n,this,"highlight")).on("mouseout",r.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return u.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,r,i){if(t){var a=new o.Group,s=this.visualMapModel.textStyleModel;a.add(new o.Text({style:{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?i:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(a)}},_getViewData:function(){var e=this.visualMapModel,t=r.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),i=e.get("orient"),o=e.get("inverse");return("horizontal"===i?o:!o)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(s(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,i=r.clone(n.selected),o=t.getSelectedMapKey(e);"single"===n.selectedMode?(i[o]=!0,r.each(i,(function(e,t){i[t]=t===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}}),d=c;e.exports=d},AEZ6:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.createHashMap,a=n("T4UG"),s=n("MwEJ"),l=a.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return u(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(e,t){if(!e.encodeDefine){var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(n){var r=e.encodeDefine=o();i(n.dimensions,(function(e){var t=c(e);r.set(e,t)}))}}}function c(e){return+e.replace("dim","")}e.exports=l},AH3D:function(e,t,n){var r=n("ProS");n("y4/Y"),n("qWt2"),n("Qvb6"),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},AKMP:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var r=n("EffR"),i=n("MNsG"),o=n("D3Dy"),a=n("51f4"),s=n("XSiN"),l=n("pmY6"),u=n("CjF5");function c(e,t){var n=new s["a"](t);return n.preventDefault(),{leftButton:n.leftButton,buttons:n.buttons,posx:n.posx,posy:n.posy}}var d=function(){function e(){this._hooks=new l["b"],this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}return e.prototype.dispose=function(){this.stopMonitoring(!1),this._hooks.dispose()},e.prototype.stopMonitoring=function(e){if(this.isMonitoring()){this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;var t=this._onStopCallback;this._onStopCallback=null,e&&t&&t()}},e.prototype.isMonitoring=function(){return!!this._mouseMoveEventMerger},e.prototype.startMonitoring=function(e,t,n,l,c){var d=this;if(!this.isMonitoring()){this._mouseMoveEventMerger=n,this._mouseMoveCallback=l,this._onStopCallback=c;var h=a["a"].getSameOriginWindowChain(),f=i["c"]&&u["a"].pointerEvents?"pointermove":"mousemove",p=i["c"]&&u["a"].pointerEvents?"pointerup":"mouseup",g=h.map((function(e){return e.window.document})),m=r["D"](e);m&&g.unshift(m);for(var v=0,y=g;v<y.length;v++){var b=y[v];this._hooks.add(r["l"](b,f,(function(e){o["i"]||e.buttons===t?d._mouseMoveCallback(e):d.stopMonitoring(!0)}),(function(e,t){return d._mouseMoveEventMerger(e,t)}))),this._hooks.add(r["i"](b,p,(function(e){return d.stopMonitoring(!0)})))}if(a["a"].hasDifferentOriginAncestor()){var _=h[h.length-1];this._hooks.add(r["i"](_.window.document,"mouseout",(function(e){var t=new s["a"](e);"html"===t.target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(r["i"](_.window.document,"mouseover",(function(e){var t=new s["a"](e);"html"===t.target.tagName.toLowerCase()&&d.stopMonitoring(!0)}))),this._hooks.add(r["i"](_.window.document.body,"mouseleave",(function(e){d.stopMonitoring(!0)})))}}},e}()},ALo7:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("5GtS"),a=n("4NO4"),s=a.defaultEmphasis,l=n("D5nY"),u=l.makeSeriesEncodeForNameBased,c=n("xKMd"),d=r.extendSeriesModel({type:"series.funnel",init:function(e){d.superApply(this,"init",arguments),this.legendVisualProvider=new c(i.bind(this.getData,this),i.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return o(this,{coordDimensions:["value"],encodeDefaulter:i.curry(u,this)})},_defaultLabelLine:function(e){s(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=d.superCall(this,"getDataParams",e),r=t.mapDimension("value"),i=t.getSum(r);return n.percent=i?+(t.get(r,e)/i*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),h=d;e.exports=h},ANhw:function(e,t){(function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],o=0;o<4;o++)8*r+6*o<=8*e.length?n.push(t.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}};e.exports=n})()},ANjR:function(e,t,n){var r=n("bYtY");function i(e,t){return t=t||[0,0],r.map([0,1],(function(n){var r=t[n],i=e[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=t[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function o(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},AOa7:function(e,t,n){},AUH6:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("bMXI"),a=n("W4dC");function s(e,t,n,r){o.call(this,e),this.map=t;var i=a.load(t,n);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=null==r||r,this.regions=i.regions,this._rect=i.boundingRect}function l(e,t,n,r){var i=n.geoModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem||(o.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return a===this?a[e](r):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return!0;return!1},transformTo:function(e,t,n,r){var o=this.getBoundingRect(),a=this._invertLongitute;o=o.clone(),a&&(o.y=-o.y-o.height);var s=this._rawTransformable;if(s.transform=o.calculateTransform(new i(e,t,n,r)),s.decomposeTransform(),a){var l=s.scale;l[1]=-l[1]}s.updateTransform(),this._updateTransform()},getRegion:function(e){return this._regionsMap.get(e)},getRegionByCoord:function(e){for(var t=this.regions,n=0;n<t.length;n++)if(t[n].contain(e))return t[n]},addGeoCoord:function(e,t){this._nameCoordMap.set(e,t)},getGeoCoord:function(e){return this._nameCoordMap.get(e)},getBoundingRect:function(){return this._rect},dataToPoint:function(e,t,n){if("string"===typeof e&&(e=this.getGeoCoord(e)),e)return o.prototype.dataToPoint.call(this,e,t,n)},convertToPixel:r.curry(l,"dataToPoint"),convertFromPixel:r.curry(l,"pointToData")},r.mixin(s,o);var u=s;e.exports=u},AUvm:function(e,t,n){"use strict";var r=n("5T2Y"),i=n("B+OT"),o=n("jmDH"),a=n("Y7ZC"),s=n("kTiW"),l=n("6/1s").KEY,u=n("KUxP"),c=n("29s/"),d=n("RfKB"),h=n("YqAc"),f=n("UWiX"),p=n("zLkG"),g=n("Zxgi"),m=n("R+7+"),v=n("kAMH"),y=n("5K7Z"),b=n("93I4"),_=n("JB68"),w=n("NsO/"),x=n("G8Mo"),C=n("rr1i"),S=n("oVml"),O=n("A5Xg"),k=n("vwuL"),E=n("mqlF"),D=n("2faE"),M=n("w6GO"),N=k.f,L=D.f,I=O.f,T=r.Symbol,P=r.JSON,A=P&&P.stringify,R="prototype",j=f("_hidden"),F=f("toPrimitive"),B={}.propertyIsEnumerable,V=c("symbol-registry"),z=c("symbols"),W=c("op-symbols"),H=Object[R],U="function"==typeof T&&!!E.f,K=r.QObject,G=!K||!K[R]||!K[R].findChild,q=o&&u((function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=N(H,t);r&&delete H[t],L(e,t,n),r&&e!==H&&L(H,t,r)}:L,Y=function(e){var t=z[e]=S(T[R]);return t._k=e,t},X=U&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},Z=function(e,t,n){return e===H&&Z(W,t,n),y(e),t=x(t,!0),y(n),i(z,t)?(n.enumerable?(i(e,j)&&e[j][t]&&(e[j][t]=!1),n=S(n,{enumerable:C(0,!1)})):(i(e,j)||L(e,j,C(1,{})),e[j][t]=!0),q(e,t,n)):L(e,t,n)},Q=function(e,t){y(e);var n,r=m(t=w(t)),i=0,o=r.length;while(o>i)Z(e,n=r[i++],t[n]);return e},$=function(e,t){return void 0===t?S(e):Q(S(e),t)},J=function(e){var t=B.call(this,e=x(e,!0));return!(this===H&&i(z,e)&&!i(W,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=w(e),t=x(t,!0),e!==H||!i(z,t)||i(W,t)){var n=N(e,t);return!n||!i(z,t)||i(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){var t,n=I(w(e)),r=[],o=0;while(n.length>o)i(z,t=n[o++])||t==j||t==l||r.push(t);return r},ne=function(e){var t,n=e===H,r=I(n?W:w(e)),o=[],a=0;while(r.length>a)!i(z,t=r[a++])||n&&!i(H,t)||o.push(z[t]);return o};U||(T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(W,n),i(this,j)&&i(this[j],e)&&(this[j][e]=!1),q(this,e,C(1,n))};return o&&G&&q(H,e,{configurable:!0,set:t}),Y(e)},s(T[R],"toString",(function(){return this._k})),k.f=ee,D.f=Z,n("ar/p").f=O.f=te,n("NV0k").f=J,E.f=ne,o&&!n("uOPS")&&s(H,"propertyIsEnumerable",J,!0),p.f=function(e){return Y(f(e))}),a(a.G+a.W+a.F*!U,{Symbol:T});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)f(re[ie++]);for(var oe=M(f.store),ae=0;oe.length>ae;)g(oe[ae++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return i(V,e+="")?V[e]:V[e]=T(e)},keyFor:function(e){if(!X(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:$,defineProperty:Z,defineProperties:Q,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){E.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return E.f(_(e))}}),P&&a(a.S+a.F*(!U||u((function(){var e=T();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!X(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!X(t))return t}),r[1]=t,A.apply(P,r)}}),T[R][F]||n("NegM")(T[R],F,T[R].valueOf),d(T,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},AVZG:function(e,t,n){var r=n("bYtY");function i(e,t,n){n=n||{};var i=e.coordinateSystem,o=t.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,c=o.dim,d=i.getRect(),h=[d.x,d.x+d.width,d.y,d.y+d.height],f={left:0,right:1,top:0,bottom:1,onZero:2},p=t.get("offset")||0,g="x"===c?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(s){var m=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(m,g[1]),g[0])}a.position=["y"===c?g[f[u]]:h[0],"x"===c?g[f[u]]:h[3]],a.rotation=Math.PI/2*("x"===c?0:1);var v={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=v[l],a.labelOffset=s?g[f[l]]-g[f.onZero]:0,t.get("axisTick.inside")&&(a.tickDirection=-a.tickDirection),r.retrieve(n.labelInside,t.get("axisLabel.inside"))&&(a.labelDirection=-a.labelDirection);var y=t.get("axisLabel.rotate");return a.labelRotate="top"===u?-y:y,a.z2=1,a}t.layout=i},AbCa:function(e,t,n){},"Ae+d":function(e,t){function n(e,t,n){var r=e.target,i=r.position;i[0]+=t,i[1]+=n,r.dirty()}function r(e,t,n,r){var i=e.target,o=e.zoomLimit,a=i.position,s=i.scale,l=e.zoom=e.zoom||1;if(l*=t,o){var u=o.min||0,c=o.max||1/0;l=Math.max(Math.min(c,l),u)}var d=l/e.zoom;e.zoom=l,a[0]-=(n-a[0])*(d-1),a[1]-=(r-a[1])*(d-1),s[0]*=d,s[1]*=d,i.dirty()}t.updateViewOnPan=n,t.updateViewOnZoom=r},Ae16:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS");n("Wqna"),n("rySg"),r.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new o.Rect({shape:e.coordinateSystem.getRect(),style:i.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),r.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},ApJL:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return n.e(172).then(n.bind(null,"AoeA"))}})},Awhp:function(e,t,n){"use strict";n("cIOH"),n("PQMj")},AyUB:function(e,t,n){e.exports={default:n("3GJH"),__esModule:!0}},"B+YJ":function(e,t,n){n("TYVI"),n("p1MT")},"B6l+":function(e,t,n){var r=n("Sq3C"),i=n("Z1HP"),o=n("Sxd8"),a=n("dt0z");function s(e,t,n){e=a(e),t=o(t);var s=t?i(e):0;return t&&s<t?e+r(t-s,n):e}e.exports=s},B8du:function(e,t){function n(){return!1}e.exports=n},B9cy:function(e,t,n){"use strict";n("cIOH"),n("0XgM")},B9fm:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("YH21"),a=n("Ze12"),s=n("ItGF"),l=n("7aKB"),u=r.each,c=l.toCamelCase,d=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function f(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return r.map(d,(function(e){return e+"transition:"+n})).join(";")}function p(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();return r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(3*n/2)+"px"),u(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function g(e){var t=[],n=e.get("transitionDuration"),r=e.get("backgroundColor"),o=e.getModel("textStyle"),a=e.get("padding");return n&&t.push(f(n)),r&&(s.canvasSupported?t.push("background-Color:"+r):(t.push("background-Color:#"+i.toHex(r)),t.push("filter:alpha(opacity=70)"))),u(["width","color","radius"],(function(n){var r="border-"+n,i=c(r),o=e.get(i);null!=o&&t.push(r+":"+o+("color"===n?"":"px"))})),t.push(p(o)),null!=a&&t.push("padding:"+l.normalizeCssArray(a).join("px ")+"px"),t.join(";")+";"}function m(e,t,n,r,i){var o=t&&t.painter;if(n){var s=o&&o.getViewportRoot();s&&a.transformLocalCoord(e,s,document.body,r,i)}else{e[0]=r,e[1]=i;var l=o&&o.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}}function v(e,t,n){if(s.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),a=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0],m(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),a?document.body.appendChild(r):e.appendChild(r),this._container=e,this._show=!1,this._hideTimeout;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=i.handler,n=i.painter.getViewportRoot();o.normalizeEvent(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}v.prototype={constructor:v,_enterable:!0,update:function(){var e=this._container,t=e.currentStyle||document.defaultView.getComputedStyle(e),n=e.style;"absolute"!==n.position&&"absolute"!==t.position&&(n.position="relative")},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,n=this._styleCoord;t.style.cssText=h+g(e)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n=this._styleCoord;m(n,this._zr,this._appendToBody,e,t);var r=this.el.style;r.left=n[0]+"px",r.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var y=v;e.exports=y},BEdG:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:function(){return n.e(223).then(n.bind(null,"aH2L"))}})},BEtg:function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},BFtn:function(e,t,n){"use strict";function r(e,t){var n=e.getCount(),r=e.findTokenIndexAtOffset(t),o=e.getLanguageId(r),a=r;while(a+1<n&&e.getLanguageId(a+1)===o)a++;var s=r;while(s>0&&e.getLanguageId(s-1)===o)s--;return new i(e,o,s,a+1,e.getStartOffset(s),e.getEndOffset(a))}n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var i=function(){function e(e,t,n,r,i,o){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=r,this.firstCharOffset=i,this._lastCharOffset=o}return e.prototype.getLineContent=function(){var e=this._actual.getLineContent();return e.substring(this.firstCharOffset,this._lastCharOffset)},e.prototype.getActualLineContentBefore=function(e){var t=this._actual.getLineContent();return t.substring(0,this.firstCharOffset+e)},e.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},e.prototype.findTokenIndexAtOffset=function(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex},e.prototype.getStandardTokenType=function(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)},e}();function o(e){return 0!==(7&e)}},BMrR:function(e,t,n){"use strict";var r=n("qrJ5");t["a"]=r["a"]},BPZU:function(e,t){var n=32,r=7;function i(e){var t=0;while(e>=n)t|=1&e,e>>=1;return e+t}function o(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i<n&&r(e[i],e[i-1])<0)i++;a(e,t,i)}else while(i<n&&r(e[i],e[i-1])>=0)i++;return i-t}function a(e,t,n){n--;while(t<n){var r=e[t];e[t++]=e[n],e[n--]=r}}function s(e,t,n,r,i){for(r===t&&r++;r<n;r++){var o,a=e[r],s=t,l=r;while(s<l)o=s+l>>>1,i(a,e[o])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(u>0)e[s+u]=e[s+u-1],u--}e[s]=a}}function l(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){s=r-i;while(l<s&&o(e,t[n+i+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{s=i+1;while(l<s&&o(e,t[n+i-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function u(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){s=i+1;while(l<s&&o(e,t[n+i-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{s=r-i;while(l<s&&o(e,t[n+i+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}a++;while(a<l){var c=a+(l-a>>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function c(e,t){var n,i,o=r,a=0,s=0;a=e.length;var c=[];function d(e,t){n[s]=e,i[s]=t,s+=1}function h(){while(s>1){var e=s-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]<i[e+1]&&e--;else if(i[e]>i[e+1])break;p(e)}}function f(){while(s>1){var e=s-2;e>0&&i[e-1]<i[e+1]&&e--,p(e)}}function p(r){var o=n[r],a=i[r],c=n[r+1],d=i[r+1];i[r]=a+d,r===s-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),s--;var h=u(e[c],e,o,a,0,t);o+=h,a-=h,0!==a&&(d=l(e[o+a-1],e,c,d,d-1,t),0!==d&&(a<=d?g(o,a,c,d):m(o,a,c,d)))}function g(n,i,a,s){var d=0;for(d=0;d<i;d++)c[d]=e[n+d];var h=0,f=a,p=n;if(e[p++]=e[f++],0!==--s)if(1!==i){var g,m,v,y=o;while(1){g=0,m=0,v=!1;do{if(t(e[f],c[h])<0){if(e[p++]=e[f++],m++,g=0,0===--s){v=!0;break}}else if(e[p++]=c[h++],g++,m=0,1===--i){v=!0;break}}while((g|m)<y);if(v)break;do{if(g=u(e[f],c,h,i,0,t),0!==g){for(d=0;d<g;d++)e[p+d]=c[h+d];if(p+=g,h+=g,i-=g,i<=1){v=!0;break}}if(e[p++]=e[f++],0===--s){v=!0;break}if(m=l(c[h],e,f,s,0,t),0!==m){for(d=0;d<m;d++)e[p+d]=e[f+d];if(p+=m,f+=m,s-=m,0===s){v=!0;break}}if(e[p++]=c[h++],1===--i){v=!0;break}y--}while(g>=r||m>=r);if(v)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===i){for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=c[h]}else{if(0===i)throw new Error;for(d=0;d<i;d++)e[p+d]=c[h+d]}}else{for(d=0;d<s;d++)e[p+d]=e[f+d];e[p+s]=c[h]}else for(d=0;d<i;d++)e[p+d]=c[h+d]}function m(n,i,a,s){var d=0;for(d=0;d<s;d++)c[d]=e[a+d];var h=n+i-1,f=s-1,p=a+s-1,g=0,m=0;if(e[p--]=e[h--],0!==--i)if(1!==s){var v=o;while(1){var y=0,b=0,_=!1;do{if(t(c[f],e[h])<0){if(e[p--]=e[h--],y++,b=0,0===--i){_=!0;break}}else if(e[p--]=c[f--],b++,y=0,1===--s){_=!0;break}}while((y|b)<v);if(_)break;do{if(y=i-u(c[f],e,n,i,i-1,t),0!==y){for(p-=y,h-=y,i-=y,m=p+1,g=h+1,d=y-1;d>=0;d--)e[m+d]=e[g+d];if(0===i){_=!0;break}}if(e[p--]=c[f--],1===--s){_=!0;break}if(b=s-l(e[h],c,0,s,s-1,t),0!==b){for(p-=b,f-=b,s-=b,m=p+1,g=f+1,d=0;d<b;d++)e[m+d]=c[g+d];if(s<=1){_=!0;break}}if(e[p--]=e[h--],0===--i){_=!0;break}v--}while(y>=r||b>=r);if(_)break;v<0&&(v=0),v+=2}if(o=v,o<1&&(o=1),1===s){for(p-=i,h-=i,m=p+1,g=h+1,d=i-1;d>=0;d--)e[m+d]=e[g+d];e[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),d=0;d<s;d++)e[g+d]=c[d]}}else{for(p-=i,h-=i,m=p+1,g=h+1,d=i-1;d>=0;d--)e[m+d]=e[g+d];e[p]=c[f]}else for(g=p-(s-1),d=0;d<s;d++)e[g+d]=c[d]}n=[],i=[],this.mergeRuns=h,this.forceMergeRuns=f,this.pushRun=d}function d(e,t,r,a){r||(r=0),a||(a=e.length);var l=a-r;if(!(l<2)){var u=0;if(l<n)return u=o(e,r,a,t),void s(e,r,a,r+u,t);var d=new c(e,t),h=i(l);do{if(u=o(e,r,a,t),u<h){var f=l;f>h&&(f=h),s(e,r,r+f,r+u,t),u=f}d.pushRun(r,u),d.mergeRuns(),l-=u,r+=u}while(0!==l);d.forceMergeRuns()}}e.exports=d},BUKB:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return n.e(219).then(n.bind(null,"xT+r"))}})},Bd2K:function(e,t,n){(function(e){e(n("VrN/"),n("osHv"))})((function(e){e.defineOption("autoCloseTags",!1,(function(t,n,i){if(i!=e.Init&&i&&t.removeKeyMap("autoCloseTags"),n){var a={name:"autoCloseTags"};"object"==typeof n&&!1===n.whenClosing||(a["'/'"]=function(e){return o(e)}),"object"==typeof n&&!1===n.whenOpening||(a["'>'"]=function(e){return r(e)}),t.addKeyMap(a)}}));var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],n=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function r(r){if(r.getOption("disableInput"))return e.Pass;for(var i=r.listSelections(),o=[],l=r.getOption("autoCloseTags"),u=0;u<i.length;u++){if(!i[u].empty())return e.Pass;var c=i[u].head,d=r.getTokenAt(c),h=e.innerMode(r.getMode(),d.state),f=h.state,p=h.mode.xmlCurrentTag&&h.mode.xmlCurrentTag(f),g=p&&p.name;if(!g)return e.Pass;var m="html"==h.mode.configuration,v="object"==typeof l&&l.dontCloseTags||m&&t,y="object"==typeof l&&l.indentTags||m&&n;d.end>c.ch&&(g=g.slice(0,g.length-d.end+c.ch));var b=g.toLowerCase();if(!g||"string"==d.type&&(d.end!=c.ch||!/[\"\']/.test(d.string.charAt(d.string.length-1))||1==d.string.length)||"tag"==d.type&&p.close||d.string.indexOf("/")==c.ch-d.start-1||v&&a(v,b)>-1||s(r,h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f)||[],g,c,!0))return e.Pass;var _="object"==typeof l&&l.emptyTags;if(_&&a(_,g)>-1)o[u]={text:"/>",newPos:e.Pos(c.line,c.ch+2)};else{var w=y&&a(y,b)>-1;o[u]={indent:w,text:">"+(w?"\n\n":"")+"</"+g+">",newPos:w?e.Pos(c.line+1,0):e.Pos(c.line,c.ch+1)}}}var x="object"==typeof l&&l.dontIndentOnAutoClose;for(u=i.length-1;u>=0;u--){var C=o[u];r.replaceRange(C.text,i[u].head,i[u].anchor,"+insert");var S=r.listSelections().slice(0);S[u]={head:C.newPos,anchor:C.newPos},r.setSelections(S),!x&&C.indent&&(r.indentLine(C.newPos.line,null,!0),r.indentLine(C.newPos.line+1,null,!0))}}function i(t,n){for(var r=t.listSelections(),i=[],o=n?"/":"</",a=t.getOption("autoCloseTags"),l="object"==typeof a&&a.dontIndentOnSlash,u=0;u<r.length;u++){if(!r[u].empty())return e.Pass;var c=r[u].head,d=t.getTokenAt(c),h=e.innerMode(t.getMode(),d.state),f=h.state;if(n&&("string"==d.type||"<"!=d.string.charAt(0)||d.start!=c.ch-1))return e.Pass;var p,g="xml"!=h.mode.name&&"htmlmixed"==t.getMode().name;if(g&&"javascript"==h.mode.name)p=o+"script";else if(g&&"css"==h.mode.name)p=o+"style";else{var m=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(f);if(!m||m.length&&s(t,m,m[m.length-1],c))return e.Pass;p=o+m[m.length-1]}">"!=t.getLine(c.line).charAt(d.end)&&(p+=">"),i[u]=p}if(t.replaceSelections(i),r=t.listSelections(),!l)for(u=0;u<r.length;u++)(u==r.length-1||r[u].head.line<r[u+1].head.line)&&t.indentLine(r[u].head.line)}function o(t){return t.getOption("disableInput")?e.Pass:i(t,!0)}function a(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;++n)if(e[n]==t)return n;return-1}function s(t,n,r,i,o){if(!e.scanForClosingTag)return!1;var a=Math.min(t.lastLine()+1,i.line+500),s=e.scanForClosingTag(t,i,null,a);if(!s||s.tag!=r)return!1;for(var l=o?1:0,u=n.length-1;u>=0;u--){if(n[u]!=r)break;++l}i=s.to;for(u=1;u<l;u++){var c=e.scanForClosingTag(t,i,null,a);if(!c||c.tag!=r)return!1;i=c.to}return!0}e.commands.closeTag=function(e){return i(e)}}))},BlVb:function(e,t,n){var r=n("hyiK"),i=1e-8;function o(e,t){return Math.abs(e-t)<i}function a(e,t,n){var i=0,a=e[0];if(!a)return!1;for(var s=1;s<e.length;s++){var l=e[s];i+=r(a[0],a[1],l[0],l[1],t,n),a=l}var u=e[0];return o(a[0],u[0])&&o(a[1],u[1])||(i+=r(a[0],a[1],u[0],u[1],t,n)),0!==i}t.contain=a},Bq2U:function(e,t,n){var r=n("RDYZ"),i=n("Qe9p"),o=n("bYtY"),a=o.isArrayLike,s=Array.prototype.slice;function l(e,t){return e[t]}function u(e,t,n){e[t]=n}function c(e,t,n){return(t-e)*n+e}function d(e,t,n){return n>.5?t:e}function h(e,t,n,r,i){var o=e.length;if(1===i)for(var a=0;a<o;a++)r[a]=c(e[a],t[a],n);else{var s=o&&e[0].length;for(a=0;a<o;a++)for(var l=0;l<s;l++)r[a][l]=c(e[a][l],t[a][l],n)}}function f(e,t,n){var r=e.length,i=t.length;if(r!==i){var o=r>i;if(o)e.length=i;else for(var a=r;a<i;a++)e.push(1===n?t[a]:s.call(t[a]))}var l=e[0]&&e[0].length;for(a=0;a<e.length;a++)if(1===n)isNaN(e[a])&&(e[a]=t[a]);else for(var u=0;u<l;u++)isNaN(e[a][u])&&(e[a][u]=t[a][u])}function p(e,t,n){if(e===t)return!0;var r=e.length;if(r!==t.length)return!1;if(1===n){for(var i=0;i<r;i++)if(e[i]!==t[i])return!1}else{var o=e[0].length;for(i=0;i<r;i++)for(var a=0;a<o;a++)if(e[i][a]!==t[i][a])return!1}return!0}function g(e,t,n,r,i,o,a,s,l){var u=e.length;if(1===l)for(var c=0;c<u;c++)s[c]=m(e[c],t[c],n[c],r[c],i,o,a);else{var d=e[0].length;for(c=0;c<u;c++)for(var h=0;h<d;h++)s[c][h]=m(e[c][h],t[c][h],n[c][h],r[c][h],i,o,a)}}function m(e,t,n,r,i,o,a){var s=.5*(n-e),l=.5*(r-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*i+t}function v(e){if(a(e)){var t=e.length;if(a(e[0])){for(var n=[],r=0;r<t;r++)n.push(s.call(e[r]));return n}return s.call(e)}return e}function y(e){return e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.floor(e[2]),"rgba("+e.join(",")+")"}function b(e){var t=e[e.length-1].value;return a(t&&t[0])?2:1}function _(e,t,n,o,s,l){var u=e._getter,v=e._setter,_="spline"===t,w=o.length;if(w){var x,C=o[0].value,S=a(C),O=!1,k=!1,E=S?b(o):0;o.sort((function(e,t){return e.time-t.time})),x=o[w-1].time;for(var D=[],M=[],N=o[0].value,L=!0,I=0;I<w;I++){D.push(o[I].time/x);var T=o[I].value;if(S&&p(T,N,E)||!S&&T===N||(L=!1),N=T,"string"===typeof T){var P=i.parse(T);P?(T=P,O=!0):k=!0}M.push(T)}if(l||!L){var A=M[w-1];for(I=0;I<w-1;I++)S?f(M[I],A,E):!isNaN(M[I])||isNaN(A)||k||O||(M[I]=A);S&&f(u(e._target,s),A,E);var R,j,F,B,V,z,W=0,H=0;if(O)var U=[0,0,0,0];var K=function(e,t){var n;if(t<0)n=0;else if(t<H){for(R=Math.min(W+1,w-1),n=R;n>=0;n--)if(D[n]<=t)break;n=Math.min(n,w-2)}else{for(n=W;n<w;n++)if(D[n]>t)break;n=Math.min(n-1,w-2)}W=n,H=t;var r=D[n+1]-D[n];if(0!==r)if(j=(t-D[n])/r,_)if(B=M[n],F=M[0===n?n:n-1],V=M[n>w-2?w-1:n+1],z=M[n>w-3?w-1:n+2],S)g(F,B,V,z,j,j*j,j*j*j,u(e,s),E);else{if(O)i=g(F,B,V,z,j,j*j,j*j*j,U,1),i=y(U);else{if(k)return d(B,V,j);i=m(F,B,V,z,j,j*j,j*j*j)}v(e,s,i)}else if(S)h(M[n],M[n+1],j,u(e,s),E);else{var i;if(O)h(M[n],M[n+1],j,U,1),i=y(U);else{if(k)return d(M[n],M[n+1],j);i=c(M[n],M[n+1],j)}v(e,s,i)}},G=new r({target:e._target,life:x,loop:e._loop,delay:e._delay,onframe:K,ondestroy:n});return t&&"spline"!==t&&(G.easing=t),G}}}var w=function(e,t,n,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=r||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};w.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==e&&n[r].push({time:0,value:v(i)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].pause();this._paused=!0},resume:function(){for(var e=0;e<this._clipList.length;e++)this._clipList[e].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var e=this._doneList,t=e.length,n=0;n<t;n++)e[n].call(this)},start:function(e,t){var n,r=this,i=0,o=function(){i--,i||r._doneCallback()};for(var a in this._tracks)if(this._tracks.hasOwnProperty(a)){var s=_(this,e,o,this._tracks[a],a,t);s&&(this._clipList.push(s),i++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(e,t){l(e,t);for(var n=0;n<r._onframeList.length;n++)r._onframeList[n](e,t)}}return i||this._doneCallback(),this},stop:function(e){for(var t=this._clipList,n=this.animation,r=0;r<t.length;r++){var i=t[r];e&&i.onframe(this._target,1),n&&n.removeClip(i)}t.length=0},delay:function(e){return this._delay=e,this},done:function(e){return e&&this._doneList.push(e),this},getClips:function(){return this._clipList}};var x=w;e.exports=x},Bqw1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"};t.default=r},Bsck:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=n("Mdki"),a=n("YXkt"),s=n("sdST"),l=function(e,t){this.name=e||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=t};function u(e,t){this.root,this.data,this._nodes=[],this.hostModel=e,this.levelModels=r.map(t||[],(function(t){return new i(t,e,e.ecModel)}))}function c(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}l.prototype={constructor:l,isRemoved:function(){return this.dataIndex<0},eachNode:function(e,t,n){"function"===typeof e&&(n=t,t=e,e=null),e=e||{},r.isString(e)&&(e={order:e});var i,o=e.order||"preorder",a=this[e.attr||"children"];"preorder"===o&&(i=t.call(n,this));for(var s=0;!i&&s<a.length;s++)a[s].eachNode(e,t,n);"postorder"===o&&t.call(n,this)},updateDepthAndHeight:function(e){var t=0;this.depth=e;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(e+1),r.height>t&&(t=r.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].getNodeById(e);if(i)return i}},contains:function(e){if(e===this)return!0;for(var t=0,n=this.children,r=n.length;t<r;t++){var i=n[t].contains(e);if(i)return i}},getAncestors:function(e){var t=[],n=e?this:this.parentNode;while(n)t.push(n),n=n.parentNode;return t.reverse(),t},getValue:function(e){var t=this.hostTree.data;return t.get(t.getDimension(e||"value"),this.dataIndex)},setLayout:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex),r=this.getLevelModel();return r?n.getModel(e,r.getModel(e)):n.getModel(e)}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n<r;n++)t[n].dataIndex=-1;for(n=0,r=e.count();n<r;n++)t[e.getRawIndex(n)].dataIndex=n},clearLayouts:function(){this.data.clearItemLayouts()}},u.createTree=function(e,t,n,i){var d=new u(t,n&&n.levels),h=[],f=1;function p(e,t){var n=e.value;f=Math.max(f,r.isArray(n)?n.length:1),h.push(e);var i=new l(e.name,d);t?c(i,t):d.root=i,d._nodes.push(i);var o=e.children;if(o)for(var a=0;a<o.length;a++)p(o[a],i)}p(e),d.root.updateDepthAndHeight(0);var g=s(h,{coordDimensions:["value"],dimensionsCount:f}),m=new a(g,t);return m.initData(h),i&&i(m),o({mainData:m,struct:d,structAttr:"tree"}),d.update(),d};var d=u;e.exports=d},BtR2:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="LikeOutlined";t["a"]=r["forwardRef"](s)},BuqR:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("6uqw"),a=n("XxSj"),s=n("YOMW"),l=n("OELB"),u=l.reformIntervals,c=o.extend({type:"visualMap.piecewise",defaultOption:{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieceList:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0,showLabel:null},optionUpdated:function(e,t){c.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var n=this._mode=this._determineMode();d[this._mode].call(this),this._resetSelected(e,t);var r=this.option.categories;this.resetVisual((function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=i.clone(r)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=i.map(this._pieceList,(function(e){e=i.clone(e);return"inRange"!==t&&(e.visual=null),e})))}))},completeVisualOption:function(){var e=this.option,t={},n=a.listVisualTypes(),r=this.isCategory();function l(e,t,n){return e&&e[t]&&(i.isObject(e[t])?e[t].hasOwnProperty(n):e[t]===n)}i.each(e.pieces,(function(e){i.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=1)}))})),i.each(t,(function(t,n){var o=0;i.each(this.stateList,(function(t){o|=l(e,t,n)||l(e.target,t,n)}),this),!o&&i.each(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=s.get(n,"inRange"===t?"active":"inactive",r)}))}),this),o.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(e,t){var n=this.option,r=this._pieceList,o=(t?n:e).selected||{};if(n.selected=o,i.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o.hasOwnProperty(n)||(o[n]=!0)}),this),"single"===n.selectedMode){var a=!1;i.each(r,(function(e,t){var n=this.getSelectedMapKey(e);o[n]&&(a?o[n]=!1:a=!0)}),this)}},getSelectedMapKey:function(e){return"categories"===this._mode?e.value+"":e.index+""},getPieceList:function(){return this._pieceList},_determineMode:function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=a.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){var i=a.findPieceIndex(t,this._pieceList);i===e&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],r=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),a=o[o.length-1].interval[1],a!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(o,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=e(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),d={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),r=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;var a=(r[1]-r[0])/o;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var s=0,l=r[0];s<o;l+=a,s++){var c=s===o-1?r[1]:l+a;t.push({interval:[l,c],close:[1,1]})}e.maxOpen&&t.push({interval:[r[1],1/0],close:[0,0]}),u(t),i.each(t,(function(e,t){e.index=t,e.text=this.formatValueText(e.interval)}),this)},categories:function(){var e=this.option;i.each(e.categories,(function(e){this._pieceList.push({text:this.formatValueText(e,!0),value:e})}),this),h(e,this._pieceList)},pieces:function(){var e=this.option,t=this._pieceList;i.each(e.pieces,(function(e,n){i.isObject(e)||(e={value:e});var r={text:"",index:n};if(null!=e.label&&(r.text=e.label),e.hasOwnProperty("value")){var o=r.value=e.value;r.interval=[o,o],r.close=[1,1]}else{for(var s=r.interval=[],l=r.close=[0,0],u=[1,0,1],c=[-1/0,1/0],d=[],h=0;h<2;h++){for(var f=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==s[h];p++)s[h]=e[f[p]],l[h]=u[p],d[h]=2===p;null==s[h]&&(s[h]=c[h])}d[0]&&s[1]===1/0&&(l[0]=0),d[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(r.value=s[0])}r.visual=a.retrieveVisuals(e),t.push(r)}),this),h(e,t),u(t),i.each(t,(function(e){var t=e.close,n=[["<","\u2264"][t[1]],[">","\u2265"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function h(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var f=c;e.exports=f},BvKs:function(e,t,n){"use strict";n.d(t,"a",(function(){return se}));var r=n("q1tI"),i=n("1j5w"),o=n("TSYQ"),a=n.n(o),s=n("BGR+"),l=Object(r["createContext"])({inlineCollapsed:!1}),u=l,c=n("0n0R");function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=w();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var C=function(e){m(n,e);var t=y(n);function n(){var e;return f(this,n),e=t.apply(this,arguments),e.onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return g(n,[{key:"renderTitle",value:function(e){var t=this.props,n=t.icon,i=t.title,o=t.level,a=t.rootPrefixCls;if(!n)return e&&1===o&&i&&"string"===typeof i?r["createElement"]("div",{className:"".concat(a,"-inline-collapsed-noicon")},i.charAt(0)):i;var s=Object(c["b"])(i)&&"span"===i.type;return r["createElement"](r["Fragment"],null,n,s?i:r["createElement"]("span",null,i))}},{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,o=t.popupClassName;return r["createElement"](u.Consumer,null,(function(t){var l=t.inlineCollapsed,u=t.antdMenuTheme;return r["createElement"](i["e"],h({},Object(s["a"])(e.props,["icon"]),{title:e.renderTitle(l),ref:e.saveSubMenu,popupClassName:a()(n,"".concat(n,"-").concat(u),o)}))}))}}]),n}(r["Component"]);C.contextType=u,C.isSubMenu=1;var S=C,O=n("Zm9Q"),k=n("3S7+"),E=n("ZX9x");function D(e){return D="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&I(e.prototype,t),n&&I(e,n),e}function P(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}function R(e){var t=B();return function(){var n,r=V(e);if(t){var i=V(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==D(t)&&"function"!==typeof t?F(e):t}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}var z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},W=function(e){P(n,e);var t=R(n);function n(){var e;return L(this,n),e=t.apply(this,arguments),e.onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e.renderItem=function(t){var n=t.siderCollapsed,o=e.props,s=o.level,l=o.className,c=o.children,d=o.rootPrefixCls,h=e.props,f=h.title,p=h.icon,g=h.danger,m=z(h,["title","icon","danger"]);return r["createElement"](u.Consumer,null,(function(t){var o,u=t.inlineCollapsed,h=t.direction,v=f;"undefined"===typeof f?v=1===s?c:"":!1===f&&(v="");var y={title:v};n||u||(y.title=null,y.visible=!1);var b=Object(O["a"])(c).length;return r["createElement"](k["a"],M({},y,{placement:"rtl"===h?"left":"right",overlayClassName:"".concat(d,"-inline-collapsed-tooltip")}),r["createElement"](i["b"],M({},m,{className:a()(l,(o={},N(o,"".concat(d,"-item-danger"),g),N(o,"".concat(d,"-item-only-child"),1===(p?b+1:b)),o)),title:f,ref:e.saveMenuItem}),p,e.renderItemChildren(u)))}))},e}return T(n,[{key:"renderItemChildren",value:function(e){var t=this.props,n=t.icon,i=t.children,o=t.level,a=t.rootPrefixCls;return!n||Object(c["b"])(i)&&"span"===i.type?i&&e&&1===o&&"string"===typeof i?r["createElement"]("div",{className:"".concat(a,"-inline-collapsed-noicon")},i.charAt(0)):i:r["createElement"]("span",null,i)}},{key:"render",value:function(){return r["createElement"](E["a"].Consumer,null,this.renderItem)}}]),n}(r["Component"]);W.isMenuItem=!0;var H=n("H84U"),U=n("uaoM"),K=n("oHiP"),G=n("EXcs");function q(e){return q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},q(e)}function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Y.apply(this,arguments)}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return t&&Q(e.prototype,t),n&&Q(e,n),e}function J(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}function ee(e,t){return ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ee(e,t)}function te(e){var t=ie();return function(){var n,r=oe(e);if(t){var i=oe(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==q(t)&&"function"!==typeof t?re(e):t}function re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ie(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function oe(e){return oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},oe(e)}var ae=function(e){J(n,e);var t=te(n);function n(e){var o,l;return Z(this,n),o=t.call(this,e),o.handleMouseEnter=function(e){o.restoreModeVerticalFromInline();var t=o.props.onMouseEnter;t&&t(e)},o.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,r="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,i="font-size"===e.propertyName&&r.indexOf("anticon")>=0;(t||i)&&o.restoreModeVerticalFromInline()},o.handleClick=function(e){o.handleOpenChange([]);var t=o.props.onClick;t&&t(e)},o.handleOpenChange=function(e){o.setOpenKeys(e);var t=o.props.onOpenChange;t&&t(e)},o.renderMenu=function(e){var t=e.getPopupContainer,n=e.getPrefixCls,l=e.direction,c=o.props,d=c.prefixCls,h=c.className,f=c.theme,p=c.collapsedWidth,g=o.state.openKeys,m=Object(s["a"])(o.props,["collapsedWidth","siderCollapsed"]),v=o.getRealMenuMode(),y=o.getOpenMotionProps(v),b=n("menu",d),_=a()(h,"".concat(b,"-").concat(f),X({},"".concat(b,"-inline-collapsed"),o.getInlineCollapsed())),w=Y({openKeys:g,onOpenChange:o.handleOpenChange,className:_,mode:v},y);"inline"!==v&&(w.onClick=o.handleClick);var x=o.getInlineCollapsed()&&(0===p||"0"===p||"0px"===p);return x&&(w.openKeys=[]),r["createElement"](u.Provider,{value:{inlineCollapsed:o.getInlineCollapsed()||!1,antdMenuTheme:f,direction:l}},r["createElement"](i["f"],Y({getPopupContainer:t},m,w,{prefixCls:b,onTransitionEnd:o.handleTransitionEnd,onMouseEnter:o.handleMouseEnter,direction:l})))},Object(U["a"])(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(U["a"])(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),o.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},o}return $(n,[{key:"componentWillUnmount",value:function(){K["a"].cancel(this.mountRafId)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.siderCollapsed,r=t.inlineCollapsed,i=t.onOpenChange;(!e.inlineCollapsed&&r||!e.siderCollapsed&&n)&&(null===i||void 0===i||i([]))}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.props.mode,t=this.state.switchingModeFromInline,n=this.getInlineCollapsed();return t&&n?"inline":n?"vertical":e}},{key:"getInlineCollapsed",value:function(){var e=this.props,t=e.inlineCollapsed,n=e.siderCollapsed;return void 0!==n?n:t}},{key:"getOpenMotionProps",value:function(e){var t=this.props,n=t.openTransitionName,r=t.openAnimation,i=t.motion,o=this.state.switchingModeFromInline;return i?{motion:i}:r?(Object(U["a"])("string"===typeof r,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:r}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:G["a"]}:{motion:{motionName:o?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){var e=this.state.switchingModeFromInline;e&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return r["createElement"](H["a"],null,this.renderMenu)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(r.switchingModeFromInline=!0),"openKeys"in e?r.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(r.switchingModeFromInline=!0,r.inlineOpenKeys=t.openKeys,r.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(r.openKeys=t.inlineOpenKeys,r.inlineOpenKeys=[])),r}}]),n}(r["Component"]);ae.defaultProps={className:"",theme:"light",focusable:!1};var se=function(e){J(n,e);var t=te(n);function n(){return Z(this,n),t.apply(this,arguments)}return $(n,[{key:"render",value:function(){var e=this;return r["createElement"](E["a"].Consumer,null,(function(t){return r["createElement"](ae,Y({},e.props,t))}))}}]),n}(r["Component"]);se.Divider=i["a"],se.Item=W,se.SubMenu=S,se.ItemGroup=i["c"]},"C/vA":function(e,t,n){"use strict";function r(e){var t,n=this,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}n.d(t,"a",(function(){return r}))},C0SR:function(e,t,n){var r=n("YH21"),i=function(){this._track=[]};function o(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function a(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}i.prototype={constructor:i,recognize:function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},clear:function(){return this._track.length=0,this},_doTrack:function(e,t,n){var i=e.touches;if(i){for(var o={points:[],touches:[],target:t,event:e},a=0,s=i.length;a<s;a++){var l=i[a],u=r.clientToLocal(n,l,{});o.points.push([u.zrX,u.zrY]),o.touches.push(l)}this._track.push(o)}},_recognize:function(e){for(var t in s)if(s.hasOwnProperty(t)){var n=s[t](this._track,e);if(n)return n}}};var s={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,i=(e[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var s=o(r)/o(i);!isFinite(s)&&(s=1),t.pinchScale=s;var l=a(r);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=i;e.exports=l},C0tN:function(e,t,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},C6rC:function(e,t,n){},CBdT:function(e,t,n){var r=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var i=n("q3GZ");r.registerVisual(i)},CClx:function(e,t,n){},CF2D:function(e,t,n){var r=n("ProS");n("vZI5"),n("GeKi");var i=n("6r85"),o=n("TJmX"),a=n("CbHG");r.registerPreprocessor(i),r.registerVisual(o),r.registerLayout(a)},CFYs:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("TSYQ"),a=n.n(o),s=n("BGR+"),l=n("V/uB"),u=n.n(l),c=n("NAnI"),d=n.n(c),h=n("J84W"),f=n.n(h),p=n("kbBi"),g=n.n(p),m=n("H84U"),v=n("CWQg");function y(e){return!e||e<0?0:e>100?100:e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w=function(e){var t=[];return Object.keys(e).forEach((function(n){var r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})})),t=t.sort((function(e,t){return e.key-t.key})),t.map((function(e){var t=e.key,n=e.value;return"".concat(n," ").concat(t,"%")})).join(", ")},x=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,i=void 0===r?"#1890ff":r,o=e.direction,a=void 0===o?"to right":o,s=_(e,["from","to","direction"]);if(0!==Object.keys(s).length){var l=w(s);return{backgroundImage:"linear-gradient(".concat(a,", ").concat(l,")")}}return{backgroundImage:"linear-gradient(".concat(a,", ").concat(n,", ").concat(i,")")}},C=function(e){var t,n,i=e.prefixCls,o=e.percent,a=e.successPercent,s=e.strokeWidth,l=e.size,u=e.strokeColor,c=e.strokeLinecap,d=e.children,h=e.trailColor;t=u&&"string"!==typeof u?x(u):{background:u},h&&"string"===typeof h&&(n={backgroundColor:h});var f=b({width:"".concat(y(o),"%"),height:s||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(y(a),"%"),height:s||("small"===l?6:8),borderRadius:"square"===c?0:""},g=void 0!==a?r["createElement"]("div",{className:"".concat(i,"-success-bg"),style:p}):null;return r["createElement"](r["Fragment"],null,r["createElement"]("div",{className:"".concat(i,"-outer")},r["createElement"]("div",{className:"".concat(i,"-inner"),style:n},r["createElement"]("div",{className:"".concat(i,"-bg"),style:f}),g)),d)},S=C,O={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},k=function(e){var t=e.map((function(){return Object(r["useRef"])()})),n=Object(r["useRef"])();return Object(r["useEffect"])((function(){var e=Date.now(),r=!1;Object.keys(t).forEach((function(i){var o=t[i].current;if(o){r=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&e-n.current<100&&(a.transitionDuration="0s, 0s")}})),r&&(n.current=Date.now())})),[t]};function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function D(e,t){return T(e)||I(e,t)||N(e,t)||M()}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){if(e){if("string"===typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function T(e){if(Array.isArray(e))return e}function P(e,t){if(null==e)return{};var n,r,i=A(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function A(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var R=function(e){var t=e.className,n=e.percent,r=e.prefixCls,o=e.strokeColor,s=e.strokeLinecap,l=e.strokeWidth,u=e.style,c=e.trailColor,d=e.trailWidth,h=e.transition,f=P(e,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete f.gapPosition;var p=Array.isArray(n)?n:[n],g=Array.isArray(o)?o:[o],m=k(p),v=D(m,1),y=v[0],b=l/2,_=100-l/2,w="M ".concat("round"===s?b:0,",").concat(b,"\n L ").concat("round"===s?_:100,",").concat(b),x="0 0 100 ".concat(l),C=0;return i.a.createElement("svg",E({className:a()("".concat(r,"-line"),t),viewBox:x,preserveAspectRatio:"none",style:u},f),i.a.createElement("path",{className:"".concat(r,"-line-trail"),d:w,strokeLinecap:s,stroke:c,strokeWidth:d||l,fillOpacity:"0"}),p.map((function(e,t){var n={strokeDasharray:"".concat(e,"px, 100px"),strokeDashoffset:"-".concat(C,"px"),transition:h||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},o=g[t]||g[g.length-1];return C+=e,i.a.createElement("path",{key:t,className:"".concat(r,"-line-path"),d:w,strokeLinecap:s,stroke:o,strokeWidth:l,fillOpacity:"0",ref:y[t],style:n})})))};R.defaultProps=O;function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(this,arguments)}function F(e,t){return H(e)||W(e,t)||V(e,t)||B()}function B(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(e,t){if(e){if("string"===typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function W(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function H(e){if(Array.isArray(e))return e}function U(e,t){if(null==e)return{};var n,r,i=K(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function K(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var G=0;function q(e){return+e.replace("%","")}function Y(e){return Array.isArray(e)?e:[e]}function X(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0,a=50-r/2,s=0,l=-a,u=0,c=-2*a;switch(o){case"left":s=-a,l=0,u=2*a,c=0;break;case"right":s=a,l=0,u=-2*a,c=0;break;case"bottom":l=a,c=2*a;break;default:}var d="M 50,50 m ".concat(s,",").concat(l,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(u,",").concat(-c,"\n a ").concat(a,",").concat(a," 0 1 1 ").concat(-u,",").concat(c),h=2*Math.PI*a,f={stroke:n,strokeDasharray:"".concat(t/100*(h-i),"px ").concat(h,"px"),strokeDashoffset:"-".concat(i/2+e/100*(h-i),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:d,pathStyle:f}}var Z=function(e){var t=e.prefixCls,n=e.strokeWidth,o=e.trailWidth,s=e.gapDegree,l=e.gapPosition,u=e.trailColor,c=e.strokeLinecap,d=e.style,h=e.className,f=e.strokeColor,p=e.percent,g=U(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),m=Object(r["useMemo"])((function(){return G+=1,G}),[]),v=X(0,100,u,n,s,l),y=v.pathString,b=v.pathStyle,_=Y(p),w=Y(f),x=w.find((function(e){return"[object Object]"===Object.prototype.toString.call(e)})),C=k(_),S=F(C,1),O=S[0],E=function(){var e=0;return _.map((function(r,o){var a=w[o]||w[w.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(t,"-gradient-").concat(m,")"):"",d=X(e,r,a,n,s,l);return e+=r,i.a.createElement("path",{key:o,className:"".concat(t,"-circle-path"),d:d.pathString,stroke:u,strokeLinecap:c,strokeWidth:n,opacity:0===r?0:1,fillOpacity:"0",style:d.pathStyle,ref:O[o]})}))};return i.a.createElement("svg",j({className:a()("".concat(t,"-circle"),h),viewBox:"0 0 100 100",style:d},g),x&&i.a.createElement("defs",null,i.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(m),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(x).sort((function(e,t){return q(e)-q(t)})).map((function(e,t){return i.a.createElement("stop",{key:t,offset:e,stopColor:x[e]})})))),i.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:y,stroke:u,strokeLinecap:c,strokeWidth:o||n,fillOpacity:"0",style:b}),E().reverse())};Z.defaultProps=O;var Q=Z;function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e){var t=e.percent,n=e.successPercent,r=y(t);if(!n)return r;var i=y(n);return[n,y(r-i)]}function ee(e){var t=e.successPercent,n=e.strokeColor,r=n||null;return t?[null,r]:r}var te=function(e){var t,n=e.prefixCls,i=e.width,o=e.strokeWidth,s=e.trailColor,l=e.strokeLinecap,u=e.gapPosition,c=e.gapDegree,d=e.type,h=e.children,f=i||120,p={width:f,height:f,fontSize:.15*f+6},g=o||6,m=u||"dashboard"===d&&"bottom"||"top";c||0===c?t=c:"dashboard"===d&&(t=75);var v=ee(e),y="[object Object]"===Object.prototype.toString.call(v),b=a()("".concat(n,"-inner"),$({},"".concat(n,"-circle-gradient"),y));return r["createElement"]("div",{className:b,style:p},r["createElement"](Q,{percent:J(e),strokeWidth:g,trailWidth:g,strokeColor:v,strokeLinecap:l,trailColor:s,prefixCls:n,gapDegree:t,gapPosition:m}),h)},ne=te;function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ie=function(e){for(var t=e.size,n=e.steps,i=e.percent,o=void 0===i?0:i,s=e.strokeWidth,l=void 0===s?8:s,u=e.strokeColor,c=e.prefixCls,d=e.children,h=Math.floor(n*(o/100)),f="small"===t?2:14,p=[],g=0;g<n;g+=1)p.push(r["createElement"]("div",{key:g,className:a()("".concat(c,"-steps-item"),re({},"".concat(c,"-steps-item-active"),g<=h-1)),style:{backgroundColor:g<=h-1?u:void 0,width:f,height:l}}));return r["createElement"]("div",{className:"".concat(c,"-steps-outer")},p,d)},oe=ie;function ae(e){return ae="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function le(){return le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(this,arguments)}function ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function de(e,t,n){return t&&ce(e.prototype,t),n&&ce(e,n),e}function he(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}function fe(e,t){return fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fe(e,t)}function pe(e){var t=ve();return function(){var n,r=ye(e);if(t){var i=ye(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ge(this,n)}}function ge(e,t){return!t||"object"!==ae(t)&&"function"!==typeof t?me(e):t}function me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ve(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function ye(e){return ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ye(e)}var be=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},_e=(Object(v["a"])("line","circle","dashboard"),Object(v["a"])("normal","exception","active","success")),we=function(e){he(n,e);var t=pe(n);function n(){var e;return ue(this,n),e=t.apply(this,arguments),e.renderProgress=function(t){var n,i,o=t.getPrefixCls,l=t.direction,u=me(e),c=u.props,d=c.prefixCls,h=c.className,f=c.size,p=c.type,g=c.steps,m=c.showInfo,v=c.strokeColor,y=be(c,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),b=o("progress",d),_=e.getProgressStatus(),w=e.renderProcessInfo(b,_);"line"===p?i=g?r["createElement"](oe,le({},e.props,{strokeColor:"string"===typeof v?v:void 0,prefixCls:b,steps:g}),w):r["createElement"](S,le({},e.props,{prefixCls:b}),w):"circle"!==p&&"dashboard"!==p||(i=r["createElement"](ne,le({},e.props,{prefixCls:b,progressStatus:_}),w));var x=a()(b,(n={},se(n,"".concat(b,"-").concat(("dashboard"===p?"circle":g&&"steps")||p),!0),se(n,"".concat(b,"-status-").concat(_),!0),se(n,"".concat(b,"-show-info"),m),se(n,"".concat(b,"-").concat(f),f),se(n,"".concat(b,"-rtl"),"rtl"===l),n),h);return r["createElement"]("div",le({},Object(s["a"])(y,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps"]),{className:x}),i)},e}return de(n,[{key:"getPercentNumber",value:function(){var e=this.props,t=e.successPercent,n=e.percent,r=void 0===n?0:n;return parseInt(void 0!==t?t.toString():r.toString(),10)}},{key:"getProgressStatus",value:function(){var e=this.props.status;return _e.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,i=this.props,o=i.showInfo,a=i.format,s=i.type,l=i.percent,c=i.successPercent;if(!o)return null;var h=a||function(e){return"".concat(e,"%")},p="line"===s;return a||"exception"!==t&&"success"!==t?n=h(y(l),y(c)):"exception"===t?n=p?r["createElement"](g.a,null):r["createElement"](u.a,null):"success"===t&&(n=p?r["createElement"](f.a,null):r["createElement"](d.a,null)),r["createElement"]("span",{className:"".concat(e,"-text"),title:"string"===typeof n?n:void 0},n)}},{key:"render",value:function(){return r["createElement"](m["a"],null,this.renderProgress)}}]),n}(r["Component"]);we.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};t["a"]=we},CH3K:function(e,t){function n(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}e.exports=n},CHaL:function(e,t,n){},"CMP+":function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r){i.call(this,e,t,n),this.type=r||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(o,i);var a=o;e.exports=a},CP8R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"};t.default=r},CRAX:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return _}));var r=n("3/fG"),i=n("MI8n"),o=n("ic2d"),a=n("746U"),s=n("3Rsk"),l=n("QDVR"),u={Configuration:"base.contributions.configuration"},c={properties:{},patternProperties:{}},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},f={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},m="vscode://schemas/settings/resourceLanguage",v=o["a"].as(s["a"].JSONContribution),y=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new i["a"],this._onDidUpdateConfiguration=new i["a"],this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:r["a"]("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},v.registerSchema(m,this.resourceLanguageSettingsSchema)}return e.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},e.prototype.registerConfigurations=function(e,t){var n=this;void 0===t&&(t=!0);var r=[];e.forEach((function(e){r.push.apply(r,n.validateAndRegisterProperties(e,t)),n.configurationContributors.push(e),n.registerJSONConfiguration(e)})),v.registerSchema(m,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(r)},e.prototype.registerOverrideIdentifiers=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.overrideIdentifiers.add(r)}this.updateOverridePropertyPatternKey()},e.prototype.validateAndRegisterProperties=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=3),n=a["l"](e.scope)?n:e.scope;var r=[],i=e.properties;if(i)for(var o in i)if(t&&C(o))delete i[o];else{var s=i[o],l=s.default;a["k"](l)&&(s.default=w(s.type)),_.test(o)?s.scope=void 0:s.scope=a["l"](s.scope)?n:s.scope,!i[o].hasOwnProperty("included")||i[o].included?(this.configurationProperties[o]=i[o],r.push(o)):(this.excludedConfigurationProperties[o]=i[o],delete i[o])}var u=e.allOf;if(u)for(var c=0,d=u;c<d.length;c++){var h=d[c];r.push.apply(r,this.validateAndRegisterProperties(h,t,n))}return r},e.prototype.getConfigurationProperties=function(){return this.configurationProperties},e.prototype.registerJSONConfiguration=function(e){var t=this,n=function(e){var r=e.properties;if(r)for(var i in r)switch(c.properties[i]=r[i],r[i].scope){case 1:d.properties[i]=r[i];break;case 2:h.properties[i]=r[i];break;case 6:f.properties[i]=r[i];break;case 3:p.properties[i]=r[i];break;case 4:g.properties[i]=r[i];break;case 5:g.properties[i]=r[i],t.resourceLanguageSettingsSchema.properties[i]=r[i];break}var o=e.allOf;o&&o.forEach(n)};n(e)},e.prototype.updateOverridePropertyPatternKey=function(){for(var e,t=0,n=Object(l["e"])(this.overrideIdentifiers);t<n.length;t++){var i=n[t],o="["+i+"]",a={type:"object",description:r["a"]("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:r["a"]("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:m,default:null===(e=this.defaultOverridesConfigurationNode.properties[o])||void 0===e?void 0:e.default};c.properties[o]=a,d.properties[o]=a,h.properties[o]=a,f.properties[o]=a,p.properties[o]=a,g.properties[o]=a}this._onDidSchemaChange.fire()},e}(),b="\\[.*\\]$",_=new RegExp(b);function w(e){var t=Array.isArray(e)?e[0]:e;switch(t){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}var x=new y;function C(e){return _.test(e)?r["a"]("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==x.getConfigurationProperties()[e]?r["a"]("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}o["a"].add(u.Configuration,x)},"CWI+":function(e,t,n){},CZ1j:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},CbHG:function(e,t,n){var r=n("IwbS"),i=r.subPixelOptimize,o=n("zM3Q"),a=n("OELB"),s=a.parsePercent,l=n("bYtY"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:o(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=f(e,n),o=0,a=1,s=["x","y"],l=n.mapDimension(s[o]),u=n.mapDimension(s[a],!0),d=u[0],p=u[1],g=u[2],m=u[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==l||u.length<4))return{progress:e.pipelineContext.large?y:v};function v(e,n){var s;while(null!=(s=e.next())){var u=n.get(l,s),c=n.get(d,s),f=n.get(p,s),v=n.get(g,s),y=n.get(m,s),b=Math.min(c,f),_=Math.max(c,f),w=k(b,u),x=k(_,u),C=k(v,u),S=k(y,u),O=[];E(O,x,0),E(O,w,1),O.push(M(S),M(x),M(C),M(w)),n.setItemLayout(s,{sign:h(n,s,c,f,p),initBaseline:c>f?x[a]:w[a],ends:O,brushRect:D(v,y,u)})}function k(e,n){var r=[];return r[o]=n,r[a]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function E(e,t,n){var a=t.slice(),s=t.slice();a[o]=i(a[o]+r/2,1,!1),s[o]=i(s[o]-r/2,1,!0),n?e.push(a,s):e.push(s,a)}function D(e,t,n){var i=k(e,n),s=k(t,n);return i[o]-=r/2,s[o]-=r/2,{x:i[0],y:i[1],width:a?r:s[0]-i[0],height:a?s[1]-i[1]:r}}function M(e){return e[o]=i(e[o],1),e}}function y(e,n){var r,i,s=new c(4*e.count),u=0,f=[],v=[];while(null!=(i=e.next())){var y=n.get(l,i),b=n.get(d,i),_=n.get(p,i),w=n.get(g,i),x=n.get(m,i);isNaN(y)||isNaN(w)||isNaN(x)?(s[u++]=NaN,u+=3):(s[u++]=h(n,i,b,_,p),f[o]=y,f[a]=w,r=t.dataToPoint(f,null,v),s[u++]=r?r[0]:NaN,s[u++]=r?r[1]:NaN,f[a]=x,r=t.dataToPoint(f,null,v),s[u++]=r?r[1]:NaN)}n.setLayout("largePoints",s)}}};function h(e,t,n,r,i){var o;return o=n>r?-1:n<r?1:t>0?e.get(i,t-1)<=r?1:-1:1,o}function f(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),o=s(u(e.get("barMaxWidth"),i),i),a=s(u(e.get("barMinWidth"),1),i),l=e.get("barWidth");return null!=l?s(l,i):Math.max(Math.min(i/2,o),a)}e.exports=d},CdFp:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return n.e(167).then(n.bind(null,"6Xso"))}})},"Cg/j":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),function(e){function t(t){return t[e.DI_DEPENDENCIES]||[]}e.serviceIds=new Map,e.DI_TARGET="$di$target",e.DI_DEPENDENCIES="$di$dependencies",e.getServiceDependencies=t}(r||(r={}));var i=a("instantiationService");function o(e,t,n,i){t[r.DI_TARGET]===t?t[r.DI_DEPENDENCIES].push({id:e,index:n,optional:i}):(t[r.DI_DEPENDENCIES]=[{id:e,index:n,optional:i}],t[r.DI_TARGET]=t)}function a(e){if(r.serviceIds.has(e))return r.serviceIds.get(e);var t=function(e,n,r){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");o(t,e,r,!1)};return t.toString=function(){return e},r.serviceIds.set(e,t),t}function s(e){return function(t,n,r){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");o(e,t,r,!0)}}},CiB2:function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Cannot destructure undefined")}n.d(t,"a",(function(){return r}))},CjF5:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("D3Dy"),i=n("MNsG"),o={clipboard:{writeText:i["f"]||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:i["f"]||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText),richText:function(){if(r["i"])return!1;if(r["e"]){var e=navigator.userAgent.indexOf("Edge/"),t=parseInt(navigator.userAgent.substring(e+5,navigator.userAgent.indexOf(".",e)),10);if(!t||t>=12&&t<=16)return!1}return!0}()},keyboard:function(){return i["f"]||r["l"]?0:navigator.keyboard||r["k"]?1:2}(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0)}},CjOT:function(e,t,n){},Cm0C:function(e,t,n){n("5NHt"),n("f3JH")},Comh:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n("N0LK"),i=n("cGHE"),o=n("aokT"),a=function(){function e(e,t,n,r,i){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=r,this.selectionEndPosition=i}return e.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},e.readFromTextArea=function(t){return new e(t.getValue(),t.getSelectionStart(),t.getSelectionEnd(),null,null)},e.prototype.collapseSelection=function(){return new e(this.value,this.value.length,this.value.length,null,null)},e.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},e.prototype.deduceEditorPosition=function(e){if(e<=this.selectionStart){var t=this.value.substring(e,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(e>=this.selectionEnd){t=this.value.substring(this.selectionEnd,e);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}var n=this.value.substring(this.selectionStart,e);if(-1===n.indexOf(String.fromCharCode(8230)))return this._finishDeduceEditorPosition(this.selectionStartPosition,n,1);var r=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,r,-1)},e.prototype._finishDeduceEditorPosition=function(e,t,n){var r=0,i=-1;while(-1!==(i=t.indexOf("\n",i+1)))r++;return[e,n*t.length,r]},e.selectedText=function(t){return new e(t,0,t.length,null,null)},e.deduceInput=function(e,t,n){if(!e)return{text:"",replaceCharCnt:0};var i=e.value,o=e.selectionStart,a=e.selectionEnd,s=t.value,l=t.selectionStart,u=t.selectionEnd,c=i.substring(a),d=s.substring(u),h=r["d"](c,d);s=s.substring(0,s.length-h),i=i.substring(0,i.length-h);var f=i.substring(0,o),p=s.substring(0,l),g=r["c"](f,p);if(s=s.substring(g),i=i.substring(g),l-=g,o-=g,u-=g,a-=g,n&&l===u&&i.length>0){var m=null;if(l===s.length?r["M"](s,i)&&(m=s.substring(i.length)):r["m"](s,i)&&(m=s.substring(0,s.length-i.length)),null!==m&&m.length>0&&(/\uFE0F/.test(m)||r["g"](m)))return{text:m,replaceCharCnt:0}}if(l===u){if(i===s&&0===o&&a===i.length&&l===s.length&&-1===s.indexOf("\n")&&r["h"](s))return{text:"",replaceCharCnt:0};var v=f.length-g;return{text:s,replaceCharCnt:v}}var y=a-o;return{text:s,replaceCharCnt:y}},e.EMPTY=new e("",0,0,null,null),e}(),s=function(){function e(){}return e._getPageOfLine=function(e,t){return Math.floor((e-1)/t)},e._getRangeForPage=function(e,t){var n=e*t,r=n+1,i=n+t;return new o["a"](r,1,i+1,1)},e.fromEditorSelection=function(t,n,r,s,l){var u,c=e._getPageOfLine(r.startLineNumber,s),d=e._getRangeForPage(c,s),h=e._getPageOfLine(r.endLineNumber,s),f=e._getRangeForPage(h,s),p=d.intersectRanges(new o["a"](1,1,r.startLineNumber,r.startColumn)),g=n.getValueInRange(p,1),m=n.getLineCount(),v=n.getLineMaxColumn(m),y=f.intersectRanges(new o["a"](r.endLineNumber,r.endColumn,m,v)),b=n.getValueInRange(y,1);if(c===h||c+1===h)u=n.getValueInRange(r,1);else{var _=d.intersectRanges(r),w=f.intersectRanges(r);u=n.getValueInRange(_,1)+String.fromCharCode(8230)+n.getValueInRange(w,1)}if(l){var x=500;g.length>x&&(g=g.substring(g.length-x,g.length)),b.length>x&&(b=b.substring(0,x)),u.length>2*x&&(u=u.substring(0,x)+String.fromCharCode(8230)+u.substring(u.length-x,u.length))}return new a(g+u+b,g.length,g.length+u.length,new i["a"](r.startLineNumber,r.startColumn),new i["a"](r.endLineNumber,r.endColumn))},e}()},CrYA:function(e,t,n){var r=n("MFOe"),i=r.Global;function o(){return i.sessionStorage}function a(e){return o().getItem(e)}function s(e,t){return o().setItem(e,t)}function l(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(a(n),n)}}function u(e){return o().removeItem(e)}function c(){return o().clear()}e.exports={name:"sessionStorage",read:a,write:s,each:l,remove:u,clearAll:c}},Csr3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("4vCz"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},Cwc5:function(e,t,n){var r=n("NKxu"),i=n("Npjl");function o(e,t){var n=i(e,t);return r(n)?n:void 0}e.exports=o},D1WM:function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(o,i);var a=o;e.exports=a},D3Dy:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"o",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h})),n.d(t,"h",(function(){return f})),n.d(t,"m",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"k",(function(){return m})),n.d(t,"n",(function(){return v})),n.d(t,"j",(function(){return y})),n.d(t,"g",(function(){return b})),n.d(t,"l",(function(){return _}));var r=n("MI8n"),i=function(){function e(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new r["a"],this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},e.prototype.getPixelRatio=function(){var e=document.createElement("canvas").getContext("2d"),t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return t/n},e.INSTANCE=new e,e}();function o(){return i.INSTANCE.getZoomLevel()}function a(){return i.INSTANCE.getTimeSinceLastZoomLevelChanged()}function s(e){return i.INSTANCE.onDidChangeZoomLevel(e)}function l(){return i.INSTANCE.getPixelRatio()}var u=navigator.userAgent,c=u.indexOf("Trident")>=0,d=u.indexOf("Edge/")>=0,h=c||d,f=u.indexOf("Firefox")>=0,p=u.indexOf("AppleWebKit")>=0,g=u.indexOf("Chrome")>=0,m=!g&&u.indexOf("Safari")>=0,v=!g&&!m&&p,y=u.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,b=d&&u.indexOf("WebView/")>=0,_=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},D5nY:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("4NO4")),o=i.makeInner,a=i.getDataItemValue,s=n("bYtY"),l=s.createHashMap,u=s.each,c=s.map,d=s.isArray,h=s.isString,f=s.isObject,p=s.isTypedArray,g=s.isArrayLike,m=s.extend,v=(s.assert,n("7G+c")),y=n("k9D9"),b=y.SOURCE_FORMAT_ORIGINAL,_=y.SOURCE_FORMAT_ARRAY_ROWS,w=y.SOURCE_FORMAT_OBJECT_ROWS,x=y.SOURCE_FORMAT_KEYED_COLUMNS,C=y.SOURCE_FORMAT_UNKNOWN,S=y.SOURCE_FORMAT_TYPED_ARRAY,O=y.SERIES_LAYOUT_BY_ROW,k={Must:1,Might:2,Not:3},E=o();function D(e){var t=e.option.source,n=C;if(p(t))n=S;else if(d(t)){0===t.length&&(n=_);for(var r=0,i=t.length;r<i;r++){var o=t[r];if(null!=o){if(d(o)){n=_;break}if(f(o)){n=w;break}}}}else if(f(t)){for(var a in t)if(t.hasOwnProperty(a)&&g(t[a])){n=x;break}}else if(null!=t)throw new Error("Invalid data");E(e).sourceFormat=n}function M(e){return E(e).source}function N(e){E(e).datasetMap=l()}function L(e){var t=e.option,n=t.data,r=p(n)?S:b,i=!1,o=t.seriesLayoutBy,a=t.sourceHeader,s=t.dimensions,l=F(e);if(l){var u=l.option;n=u.source,r=E(l).sourceFormat,i=!0,o=o||u.seriesLayoutBy,null==a&&(a=u.sourceHeader),s=s||u.dimensions}var c=I(n,r,o,a,s);E(e).source=new v({data:n,fromDataset:i,seriesLayoutBy:o,sourceFormat:r,dimensionsDefine:c.dimensionsDefine,startIndex:c.startIndex,dimensionsDetectCount:c.dimensionsDetectCount,encodeDefine:t.encode})}function I(e,t,n,r,i){if(!e)return{dimensionsDefine:T(i)};var o,s;if(t===_)"auto"===r||null==r?P((function(e){null!=e&&"-"!==e&&(h(e)?null==s&&(s=1):s=0)}),n,e,10):s=r?1:0,i||1!==s||(i=[],P((function(e,t){i[t]=null!=e?e:""}),n,e)),o=i?i.length:n===O?e.length:e[0]?e[0].length:null;else if(t===w)i||(i=A(e));else if(t===x)i||(i=[],u(e,(function(e,t){i.push(t)})));else if(t===b){var l=a(e[0]);o=d(l)&&l.length||1}return{startIndex:s,dimensionsDefine:T(i),dimensionsDetectCount:o}}function T(e){if(e){var t=l();return c(e,(function(e,n){if(e=m({},f(e)?e:{name:e}),null==e.name)return e;e.name+="",null==e.displayName&&(e.displayName=e.name);var r=t.get(e.name);return r?e.name+="-"+r.count++:t.set(e.name,{count:1}),e}))}}function P(e,t,n,r){if(null==r&&(r=1/0),t===O)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function A(e){var t,n=0;while(n<e.length&&!(t=e[n++]));if(t){var r=[];return u(t,(function(e,t){r.push(t)})),r}}function R(e,t,n){var r={},i=F(t);if(!i||!e)return r;var o,a,s=[],l=[],c=t.ecModel,d=E(c).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;e=e.slice(),u(e,(function(t,n){!f(t)&&(e[n]={name:t}),"ordinal"===t.type&&null==o&&(o=n,a=m(e[n])),r[t.name]=[]}));var p=d.get(h)||d.set(h,{categoryWayDim:a,valueWayDim:0});function g(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function m(e){var t=e.dimsDef;return t?t.length:1}return u(e,(function(e,t){var n=e.name,i=m(e);if(null==o){var a=p.valueWayDim;g(r[n],a,i),g(l,a,i),p.valueWayDim+=i}else if(o===t)g(r[n],0,i),g(s,0,i);else{a=p.categoryWayDim;g(r[n],a,i),g(l,a,i),p.categoryWayDim+=i}})),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r}function j(e,t,n){var r={},i=F(e);if(!i)return r;var o,a=t.sourceFormat,s=t.dimensionsDefine;a!==w&&a!==x||u(s,(function(e,t){"name"===(f(e)?e.name:e)&&(o=t)}));var l=function(){for(var e={},r={},i=[],l=0,u=Math.min(5,n);l<u;l++){var c=V(t.data,a,t.seriesLayoutBy,s,t.startIndex,l);i.push(c);var d=c===k.Not;if(d&&null==e.v&&l!==o&&(e.v=l),(null==e.n||e.n===e.v||!d&&i[e.n]===k.Not)&&(e.n=l),h(e)&&i[e.n]!==k.Not)return e;d||(c===k.Might&&null==r.v&&l!==o&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(e){return null!=e.v&&null!=e.n}return h(e)?e:h(r)?r:null}();if(l){r.value=l.v;var c=null!=o?o:l.n;r.itemName=[c],r.seriesName=[c]}return r}function F(e){var t=e.option,n=t.data;if(!n)return e.ecModel.getComponent("dataset",t.datasetIndex||0)}function B(e,t){return V(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function V(e,t,n,r,i,o){var s,l,u,c=5;if(p(e))return k.Not;if(r){var g=r[o];f(g)?(l=g.name,u=g.type):h(g)&&(l=g)}if(null!=u)return"ordinal"===u?k.Must:k.Not;if(t===_)if(n===O){for(var m=e[o],v=0;v<(m||[]).length&&v<c;v++)if(null!=(s=E(m[i+v])))return s}else for(v=0;v<e.length&&v<c;v++){var y=e[i+v];if(y&&null!=(s=E(y[o])))return s}else if(t===w){if(!l)return k.Not;for(v=0;v<e.length&&v<c;v++){var C=e[v];if(C&&null!=(s=E(C[l])))return s}}else if(t===x){if(!l)return k.Not;m=e[l];if(!m||p(m))return k.Not;for(v=0;v<m.length&&v<c;v++)if(null!=(s=E(m[v])))return s}else if(t===b)for(v=0;v<e.length&&v<c;v++){C=e[v];var S=a(C);if(!d(S))return k.Not;if(null!=(s=E(S[o])))return s}function E(e){var t=h(e);return null!=e&&isFinite(e)&&""!==e?t?k.Might:k.Not:t&&"-"!==e?k.Must:void 0}return k.Not}t.BE_ORDINAL=k,t.detectSourceFormat=D,t.getSource=M,t.resetSourceDefaulter=N,t.prepareSource=L,t.makeSeriesEncodeForAxisCoordSys=R,t.makeSeriesEncodeForNameBased=j,t.guessOrdinal=B},D9ME:function(e,t,n){var r=n("IwbS"),i=n("fls0"),o=n("bYtY"),a=n("oVpE"),s=a.createSymbol,l=n("QBsz"),u=n("Sj9i");function c(e,t,n){r.Group.call(this),this.add(this.createLine(e,t,n)),this._updateEffectSymbol(e,t)}var d=c.prototype;d.createLine=function(e,t,n){return new i(e,t,n)},d._updateEffectSymbol=function(e,t){var n=e.getItemModel(t),r=n.getModel("effect"),i=r.get("symbolSize"),a=r.get("symbol");o.isArray(i)||(i=[i,i]);var l=r.get("color")||e.getItemVisual(t,"color"),u=this.childAt(1);this._symbolType!==a&&(this.remove(u),u=s(a,-.5,-.5,1,1,l),u.z2=100,u.culling=!0,this.add(u)),u&&(u.setStyle("shadowColor",l),u.setStyle(r.getItemStyle(["color"])),u.attr("scale",i),u.setColor(l),u.attr("scale",i),this._symbolType=a,this._symbolScale=i,this._updateEffectAnimation(e,r,t))},d._updateEffectAnimation=function(e,t,n){var r=this.childAt(1);if(r){var i=this,a=e.getItemLayout(n),s=1e3*t.get("period"),l=t.get("loop"),u=t.get("constantSpeed"),c=o.retrieve(t.get("delay"),(function(t){return t/e.count()*s/3})),d="function"===typeof c;if(r.ignore=!0,this.updateAnimationPoints(r,a),u>0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var h=c;d&&(h=c(n)),r.__t>0&&(h=-s*r.__t),r.__t=0;var f=r.animate("",l).when(s,{__t:1}).delay(h).during((function(){i.updateSymbolPosition(r)}));l||f.done((function(){i.remove(r)})),f.start()}this._period=s,this._loop=l}},d.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},d.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},d.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},d.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t,o=e.position,a=[o[0],o[1]],s=u.quadraticAt,c=u.quadraticDerivativeAt;o[0]=s(t[0],r[0],n[0],i),o[1]=s(t[1],r[1],n[1],i);var d=c(t[0],r[0],n[0],i),h=c(t[1],r[1],n[1],i);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastT<e.__t){var f=1.05*l.dist(a,o);e.attr("scale",[e.scale[0],f]),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)}else if(1===e.__lastT){f=2*l.dist(t,o);e.attr("scale",[e.scale[0],f])}else e.attr("scale",this._symbolScale);e.__lastT=e.__t,e.ignore=!1},d.updateLayout=function(e,t){this.childAt(0).updateLayout(e,t);var n=e.getItemModel(t).getModel("effect");this._updateEffectAnimation(e,n,t)},o.inherits(c,r.Group);var h=c;e.exports=h},DBLp:function(e,t){function n(){}function r(e,t,n,r){for(var i=0,o=t.length,a=0,s=0;i<o;i++){var l=t[i];if(l.removed){for(u=[],c=s;c<s+l.count;c++)u.push(c);l.indices=u,s+=l.count}else{for(var u=[],c=a;c<a+l.count;c++)u.push(c);l.indices=u,a+=l.count,l.added||(s+=l.count)}}return t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}n.prototype={diff:function(e,t,n){n||(n=function(e,t){return e===t}),this.equals=n;var o=this;e=e.slice(),t=t.slice();var a=t.length,s=e.length,l=1,u=a+s,c=[{newPos:-1,components:[]}],d=this.extractCommon(c[0],t,e,0);if(c[0].newPos+1>=a&&d+1>=s){for(var h=[],f=0;f<t.length;f++)h.push(f);return[{indices:h,count:t.length}]}function p(){for(var n=-1*l;n<=l;n+=2){var u,d=c[n-1],h=c[n+1],f=(h?h.newPos:0)-n;d&&(c[n-1]=void 0);var p=d&&d.newPos+1<a,g=h&&0<=f&&f<s;if(p||g){if(!p||g&&d.newPos<h.newPos?(u=i(h),o.pushComponent(u.components,void 0,!0)):(u=d,u.newPos++,o.pushComponent(u.components,!0,void 0)),f=o.extractCommon(u,t,e,n),u.newPos+1>=a&&f+1>=s)return r(o,u.components,t,e);c[n]=u}else c[n]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){var i=t.length,o=n.length,a=e.newPos,s=a-r,l=0;while(a+1<i&&s+1<o&&this.equals(t[a+1],n[s+1]))a++,s++,l++;return l&&e.components.push({count:l}),e.newPos=a,s},tokenize:function(e){return e.slice()},join:function(e){return e.slice()}};var o=new n;function a(e,t,n){return o.diff(e,t,n)}e.exports=a},DEFe:function(e,t,n){var r=n("bYtY"),i=n("SgGq"),o=n("Ae+d"),a=n("xSat"),s=a.onIrrelevantElement,l=n("IwbS"),u=n("W4dC"),c=n("iRjW"),d=c.getUID,h=n("DN4a");function f(e){var t=e.getItemStyle(),n=e.get("areaColor");return null!=n&&(t.fill=n),t}function p(e,t,n,i,o){n.off("click"),n.off("mousedown"),t.get("selectedMode")&&(n.on("mousedown",(function(){e._mouseDownFlag=!0})),n.on("click",(function(a){if(e._mouseDownFlag){e._mouseDownFlag=!1;var s=a.target;while(!s.__regions)s=s.parent;if(s){var l={type:("geo"===t.mainType?"geo":"map")+"ToggleSelect",batch:r.map(s.__regions,(function(e){return{name:e.name,from:o.uid}}))};l[t.mainType+"Id"]=t.id,i.dispatchAction(l),g(t,n)}}})))}function g(e,t){t.eachChild((function(t){r.each(t.__regions,(function(n){t.trigger(e.isSelected(n.name)?"emphasis":"normal")}))}))}function m(e,t){var n=new l.Group;this.uid=d("ec_map_draw"),this._controller=new i(e.getZr()),this._controllerHost={target:t?n:null},this.group=n,this._updateGroup=t,this._mouseDownFlag,this._mapName,this._initialized,n.add(this._regionsGroup=new l.Group),n.add(this._backgroundGroup=new l.Group)}m.prototype={constructor:m,draw:function(e,t,n,i,o){var a="geo"===e.mainType,s=e.getData&&e.getData();a&&t.eachComponent({mainType:"series",subType:"map"},(function(t){s||t.getHostGeoModel()!==e||(s=t.getData())}));var u=e.coordinateSystem;this._updateBackground(u);var c,d=this._regionsGroup,m=this.group,v=u.getTransformInfo(),y=!d.childAt(0)||o;if(y)m.transform=v.roamTransform,m.decomposeTransform(),m.dirty();else{var b=new h;b.transform=v.roamTransform,b.decomposeTransform();var _={scale:b.scale,position:b.position};c=b.scale,l.updateProps(m,_,e)}var w=v.rawScale,x=v.rawPosition;d.removeAll();var C=["itemStyle"],S=["emphasis","itemStyle"],O=["label"],k=["emphasis","label"],E=r.createHashMap();r.each(u.regions,(function(t){var n=E.get(t.name)||E.set(t.name,new l.Group),i=new l.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});n.add(i);var o,u=e.getRegionModel(t.name)||e,h=u.getModel(C),p=u.getModel(S),g=f(h),v=f(p),b=u.getModel(O),_=u.getModel(k);if(s){o=s.indexOfName(t.name);var D=s.getItemVisual(o,"color",!0);D&&(g.fill=D)}var M=function(e){return[e[0]*w[0]+x[0],e[1]*w[1]+x[1]]};r.each(t.geometries,(function(e){if("polygon"===e.type){for(var t=[],n=0;n<e.exterior.length;++n)t.push(M(e.exterior[n]));i.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}));for(n=0;n<(e.interiors?e.interiors.length:0);++n){for(var r=e.interiors[n],o=(t=[],0);o<r.length;++o)t.push(M(r[o]));i.shape.paths.push(new l.Polygon({segmentIgnoreThreshold:1,shape:{points:t}}))}}})),i.setStyle(g),i.style.strokeNoScale=!0,i.culling=!0;var N=b.get("show"),L=_.get("show"),I=s&&isNaN(s.get(s.mapDimension("value"),o)),T=s&&s.getItemLayout(o);if(a||I&&(N||L)||T&&T.showLabel){var P,A=a?t.name:o;(!s||o>=0)&&(P=e);var R=new l.Text({position:M(t.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(R.style,R.hoverStyle={},b,_,{labelFetcher:P,labelDataIndex:A,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!y){var j=[1/c[0],1/c[1]];l.updateProps(R,{scale:j},e)}n.add(R)}if(s)s.setItemGraphicEl(o,n);else{u=e.getRegionModel(t.name);i.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:u&&u.option||{}}}var F=n.__regions||(n.__regions=[]);F.push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(n,v),d.add(n)})),this._updateController(e,t,n),p(this,e,d,n,i),g(e,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&r.each(u.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var i=e.coordinateSystem,a=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=i.getZoom(),a.enable(e.get("roam")||!1);var u=e.mainType;function c(){var t={type:"geoRoam",componentType:u};return t[u+"Id"]=e.id,t}a.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,o.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(r.extend(c(),{dx:e.dx,dy:e.dy}))}),this),a.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(r.extend(c(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),a.setPointerChecker((function(t,r,o){return i.getViewRectAfterRoam().contain(r,o)&&!s(t,n,e)}))}};var v=m;e.exports=v},DFOY:function(e,t,n){"use strict";var r=n("q1tI"),i=n("uciX"),o=n("2W6z"),a=n.n(o),s=n("4IlW"),l=n("uK0f"),u=n.n(l);function c(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=e.length;if(t.length!==n)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function v(e){var t=_();return function(){var n,r=w(e);if(t){var i=w(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var x=function(){var e=function(e){g(n,e);var t=v(n);function n(){var e;return h(this,n),e=t.apply(this,arguments),e.menuItems={},e.saveMenuItem=function(t){return function(n){e.menuItems[t]=n}},e}return p(n,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(e){var t=this.props,n=t.fieldNames,r=t.defaultFieldNames;return n[e]||r[e]}},{key:"getOption",value:function(e,t){var n=this.props,i=n.prefixCls,o=n.expandTrigger,a=n.expandIcon,s=n.loadingIcon,l=this.props.onSelect.bind(this,e,t),u=this.props.onItemDoubleClick.bind(this,e,t),c={onClick:l,onDoubleClick:u},d="".concat(i,"-menu-item"),h=null,f=e[this.getFieldName("children")]&&e[this.getFieldName("children")].length>0;(f||!1===e.isLeaf)&&(d+=" ".concat(i,"-menu-item-expand"),e.loading||(h=r["createElement"]("span",{className:"".concat(i,"-menu-item-expand-icon")},a))),"hover"!==o||!f&&!1!==e.isLeaf||(c={onMouseEnter:this.delayOnSelect.bind(this,l),onMouseLeave:this.delayOnSelect.bind(this),onClick:l}),this.isActiveOption(e,t)&&(d+=" ".concat(i,"-menu-item-active"),c.ref=this.saveMenuItem(t)),e.disabled&&(d+=" ".concat(i,"-menu-item-disabled"));var p=null;e.loading&&(d+=" ".concat(i,"-menu-item-loading"),p=s||null);var g="";return"title"in e?g=e.title:"string"===typeof e[this.getFieldName("label")]&&(g=e[this.getFieldName("label")]),r["createElement"]("li",Object.assign({key:e[this.getFieldName("value")],className:d,title:g},c,{role:"menuitem",onMouseDown:function(e){return e.preventDefault()}}),e[this.getFieldName("label")],h,p)}},{key:"getActiveOptions",value:function(e){var t=this,n=this.props.options,r=e||this.props.activeValue;return u()(n,(function(e,n){return e[t.getFieldName("value")]===r[n]}),{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var e=this,t=this.props.options,n=this.getActiveOptions().map((function(t){return t[e.getFieldName("children")]})).filter((function(e){return!!e}));return n.unshift(t),n}},{key:"delayOnSelect",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),"function"===typeof e&&(this.delayTimer=window.setTimeout((function(){e(r),t.delayTimer=null}),150))}},{key:"scrollActiveItemToView",value:function(){for(var e=this.getShowOptions().length,t=0;t<e;t++){var n=this.menuItems[t];n&&n.parentElement&&(n.parentElement.scrollTop=n.offsetTop)}}},{key:"isActiveOption",value:function(e,t){var n=this.props.activeValue,r=void 0===n?[]:n;return r[t]===e[this.getFieldName("value")]}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.dropdownMenuColumnStyle;return r["createElement"]("div",null,this.getShowOptions().map((function(t,o){return r["createElement"]("ul",{className:"".concat(n,"-menu"),key:o,style:i},t.map((function(t){return e.getOption(t,o)})))})))}}]),n}(r["Component"]);return e.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},e}(),C=x,S={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},O=S;function k(e){return k="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k(e)}function E(e,t){if(null==e)return{};var n,r,i=D(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function M(e){return T(e)||I(e)||L(e)||N()}function N(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function L(e,t){if(e){if("string"===typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}function I(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function T(e){if(Array.isArray(e))return P(e)}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function F(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function V(e){var t=H();return function(){var n,r=U(e);if(t){var i=U(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return z(this,n)}}function z(e,t){return!t||"object"!==k(t)&&"function"!==typeof t?W(e):t}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function U(e){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},U(e)}var K=function(){var e=function(e){F(n,e);var t=V(n);function n(e){var r;A(this,n),r=t.call(this,e),r.setPopupVisible=function(e){var t=r.state.value;"popupVisible"in r.props||r.setState({popupVisible:e}),e&&!r.state.popupVisible&&r.setState({activeValue:t}),r.props.onPopupVisibleChange(e)},r.handleChange=function(e,t,n){var i=t.visible;"keydown"===n.type&&n.keyCode!==s["a"].ENTER||(r.props.onChange(e.map((function(e){return e[r.getFieldName("value")]})),e),r.setPopupVisible(i))},r.handlePopupVisibleChange=function(e){r.setPopupVisible(e)},r.handleMenuSelect=function(e,t,n){var i=r.trigger.getRootDomNode();i&&i.focus&&i.focus();var o=r.props,a=o.changeOnSelect,l=o.loadData,u=o.expandTrigger;if(e&&!e.disabled){var c=r.state.activeValue;c=c.slice(0,t+1),c[t]=e[r.getFieldName("value")];var d=r.getActiveOptions(c);if(!1===e.isLeaf&&!e[r.getFieldName("children")]&&l)return a&&r.handleChange(d,{visible:!0},n),r.setState({activeValue:c}),void l(d);var h={};e[r.getFieldName("children")]&&e[r.getFieldName("children")].length?!a||"click"!==n.type&&"keydown"!==n.type||("hover"===u?r.handleChange(d,{visible:!1},n):r.handleChange(d,{visible:!0},n),h.value=c):(r.handleChange(d,{visible:!1},n),h.value=c),h.activeValue=c,("value"in r.props||"keydown"===n.type&&n.keyCode!==s["a"].ENTER)&&delete h.value,r.setState(h)}},r.handleItemDoubleClick=function(){var e=r.props.changeOnSelect;e&&r.setPopupVisible(!1)},r.handleKeyDown=function(e){var t=r.props.children;if(t&&t.props.onKeyDown)t.props.onKeyDown(e);else{var n=M(r.state.activeValue),i=n.length-1<0?0:n.length-1,o=r.getCurrentLevelOptions(),a=o.map((function(e){return e[r.getFieldName("value")]})).indexOf(n[i]);if(e.keyCode===s["a"].DOWN||e.keyCode===s["a"].UP||e.keyCode===s["a"].LEFT||e.keyCode===s["a"].RIGHT||e.keyCode===s["a"].ENTER||e.keyCode===s["a"].SPACE||e.keyCode===s["a"].BACKSPACE||e.keyCode===s["a"].ESC||e.keyCode===s["a"].TAB)if(r.state.popupVisible||e.keyCode===s["a"].BACKSPACE||e.keyCode===s["a"].LEFT||e.keyCode===s["a"].RIGHT||e.keyCode===s["a"].ESC||e.keyCode===s["a"].TAB){if(e.keyCode===s["a"].DOWN||e.keyCode===s["a"].UP){e.preventDefault();var l=a;-1!==l?e.keyCode===s["a"].DOWN?(l+=1,l=l>=o.length?0:l):(l-=1,l=l<0?o.length-1:l):l=0,n[i]=o[l][r.getFieldName("value")]}else if(e.keyCode===s["a"].LEFT||e.keyCode===s["a"].BACKSPACE)e.preventDefault(),n.splice(n.length-1,1);else if(e.keyCode===s["a"].RIGHT)e.preventDefault(),o[a]&&o[a][r.getFieldName("children")]&&n.push(o[a][r.getFieldName("children")][0][r.getFieldName("value")]);else if(e.keyCode===s["a"].ESC||e.keyCode===s["a"].TAB)return void r.setPopupVisible(!1);n&&0!==n.length||r.setPopupVisible(!1);var u=r.getActiveOptions(n),c=u[u.length-1];r.handleMenuSelect(c,u.length-1,e),r.props.onKeyDown&&r.props.onKeyDown(e)}else r.setPopupVisible(!0)}},r.saveTrigger=function(e){r.trigger=e};var i=[];return"value"in e?i=e.value||[]:"defaultValue"in e&&(i=e.defaultValue||[]),a()(!("filedNames"in e),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),r.state={popupVisible:e.popupVisible,activeValue:i,value:i,prevProps:e},r.defaultFieldNames={label:"label",value:"value",children:"children"},r}return j(n,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(e){var t=this.defaultFieldNames,n=this.props,r=n.fieldNames,i=n.filedNames;return"filedNames"in this.props?i[e]||t[e]:r[e]||t[e]}},{key:"getFieldNames",value:function(){var e=this.props,t=e.fieldNames,n=e.filedNames;return"filedNames"in this.props?n:t}},{key:"getCurrentLevelOptions",value:function(){var e=this,t=this.props.options,n=void 0===t?[]:t,r=this.state.activeValue,i=void 0===r?[]:r,o=u()(n,(function(t,n){return t[e.getFieldName("value")]===i[n]}),{childrenKeyName:this.getFieldName("children")});return o[o.length-2]?o[o.length-2][this.getFieldName("children")]:M(n).filter((function(e){return!e.disabled}))}},{key:"getActiveOptions",value:function(e){var t=this;return u()(this.props.options||[],(function(n,r){return n[t.getFieldName("value")]===e[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.transitionName,o=e.popupClassName,a=e.options,s=void 0===a?[]:a,l=e.disabled,u=e.builtinPlacements,c=e.popupPlacement,d=e.children,h=E(e,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children"]),f=r["createElement"]("div",null),p="";return s&&s.length>0?f=r["createElement"](C,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):p=" ".concat(t,"-menus-empty"),r["createElement"](i["a"],Object.assign({ref:this.saveTrigger},h,{popupPlacement:c,builtinPlacements:u,popupTransitionName:n,action:l?[]:["click"],popupVisible:!l&&this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(t,"-menus"),popupClassName:o+p,popup:f}),r["cloneElement"](d,{onKeyDown:this.handleKeyDown,tabIndex:l?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=void 0===n?{}:n,i={prevProps:e};return"value"in e&&!c(r.value,e.value)&&(i.value=e.value||[],"loadData"in e||(i.activeValue=e.value||[])),"popupVisible"in e&&(i.popupVisible=e.popupVisible),i}}]),n}(r["Component"]);return e.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:O,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},e}(),G=K,q=G,Y=n("TSYQ"),X=n.n(Y),Z=n("BGR+"),Q=n("kbBi"),$=n.n(Q),J=n("HQEm"),ee=n.n(J),te=n("fEPi"),ne=n.n(te),re=n("5YOS"),ie=n.n(re),oe=n("DFhj"),ae=n.n(oe),se=n("5rEg"),le=n("H84U"),ue=n("YMnH"),ce=n("uaoM"),de=n("3Nzz"),he=n("0n0R");function fe(e){return fe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(e)}function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ye(e,t,n){return t&&ve(e.prototype,t),n&&ve(e,n),e}function be(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_e(e,t)}function _e(e,t){return _e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_e(e,t)}function we(e){var t=Se();return function(){var n,r=Oe(e);if(t){var i=Oe(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xe(this,n)}}function xe(e,t){return!t||"object"!==fe(t)&&"function"!==typeof t?Ce(e):t}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Oe(e)}var ke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Ee=50;function De(e,t,n){return e.split(t).map((function(e,i){return 0===i?e:[r["createElement"]("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator"},t),e]}))}function Me(e,t,n){return t.some((function(t){return t[n.label].indexOf(e)>-1}))}function Ne(e,t,n,r){return t.map((function(t,i){var o=t[r.label],a=o.indexOf(e)>-1?De(o,e,n):o;return 0===i?a:[" / ",a]}))}function Le(e,t,n,r){function i(e){return e[r.label].indexOf(n)>-1}return e.findIndex(i)-t.findIndex(i)}function Ie(e){var t=e.fieldNames;return t}function Te(e){var t=Ie(e)||{},n={children:t.children||"children",label:t.label||"label",value:t.value||"value"};return n}function Pe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=Te(t),i=[],o=r.children;return e.forEach((function(e){var r=n.concat(e);!t.changeOnSelect&&e[o]&&e[o].length||i.push(r),e[o]&&(i=i.concat(Pe(e[o],t,r)))})),i}var Ae=function(e){return e.join(" / ")};var Re=function(e){be(n,e);var t=we(n);function n(e){var i;return me(this,n),i=t.call(this,e),i.cachedOptions=[],i.setValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"value"in i.props||i.setState({value:e});var n=i.props.onChange;n&&n(e,t)},i.saveInput=function(e){i.input=e},i.handleChange=function(e,t){if(i.setState({inputValue:""}),t[0].__IS_FILTERED_OPTION){var n=e[0],r=t[0].path;i.setValue(n,r)}else i.setValue(e,t)},i.handlePopupVisibleChange=function(e){"popupVisible"in i.props||i.setState((function(t){return{popupVisible:e,inputFocused:e,inputValue:e?t.inputValue:""}}));var t=i.props.onPopupVisibleChange;t&&t(e)},i.handleInputBlur=function(){i.setState({inputFocused:!1})},i.handleInputClick=function(e){var t=i.state,n=t.inputFocused,r=t.popupVisible;(n||r)&&e.stopPropagation()},i.handleKeyDown=function(e){e.keyCode!==s["a"].BACKSPACE&&e.keyCode!==s["a"].SPACE||e.stopPropagation()},i.handleInputChange=function(e){var t=e.target.value;i.setState({inputValue:t})},i.clearSelection=function(e){var t=i.state.inputValue;e.preventDefault(),e.stopPropagation(),t?i.setState({inputValue:""}):(i.setValue([]),i.handlePopupVisibleChange(!1))},i.renderCascader=function(e,t){var n=e.getPopupContainer,o=e.getPrefixCls,a=e.renderEmpty,s=e.direction;return r["createElement"](de["b"].Consumer,null,(function(e){var l,u,c,d,h,f=Ce(i),p=f.props,g=f.state,m=p.prefixCls,v=p.inputPrefixCls,y=p.children,b=p.placeholder,_=void 0===b?t.placeholder||"Please select":b,w=p.size,x=p.disabled,C=p.className,S=p.style,O=p.allowClear,k=p.showSearch,E=void 0!==k&&k,D=p.suffixIcon,M=p.notFoundContent,N=p.popupClassName,L=p.bordered,I=ke(p,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","notFoundContent","popupClassName","bordered"]),T=w||e,P=g.value,A=g.inputFocused,R="rtl"===s,j=o("cascader",m),F=o("input",v),B=X()((l={},ge(l,"".concat(F,"-lg"),"large"===T),ge(l,"".concat(F,"-sm"),"small"===T),l)),V=O&&!x&&P.length>0||g.inputValue?r["createElement"]($.a,{className:"".concat(j,"-picker-clear"),onClick:i.clearSelection}):null,z=X()((u={},ge(u,"".concat(j,"-picker-arrow"),!0),ge(u,"".concat(j,"-picker-arrow-expand"),g.popupVisible),u)),W=X()(C,"".concat(j,"-picker"),(c={},ge(c,"".concat(j,"-picker-rtl"),R),ge(c,"".concat(j,"-picker-with-value"),g.inputValue),ge(c,"".concat(j,"-picker-disabled"),x),ge(c,"".concat(j,"-picker-").concat(T),!!T),ge(c,"".concat(j,"-picker-show-search"),!!E),ge(c,"".concat(j,"-picker-focused"),A),ge(c,"".concat(j,"-picker-borderless"),!L),c)),H=Object(Z["a"])(I,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),U=p.options,K=Te(i.props);U&&U.length>0?g.inputValue&&(U=i.generateFilteredOptions(j,a)):U=[(h={},ge(h,K.label,M||a("Cascader")),ge(h,K.value,"ANT_CASCADER_NOT_FOUND"),h)];g.popupVisible?i.cachedOptions=U:U=i.cachedOptions;var G={},Y=1===(U||[]).length&&U[0].isEmptyNode;Y&&(G.height="auto");var Q,J=!1!==E.matchInputWidth;J&&(g.inputValue||Y)&&i.input&&(G.width=i.input.input.offsetWidth),Q=D?Object(he["c"])(D,r["createElement"]("span",{className:"".concat(j,"-picker-arrow")},D),(function(){var e;return{className:X()((e={},ge(e,D.props.className,D.props.className),ge(e,"".concat(j,"-picker-arrow"),!0),e))}})):r["createElement"](ee.a,{className:z});var te=y||r["createElement"]("span",{style:S,className:W},r["createElement"]("span",{className:"".concat(j,"-picker-label")},i.getLabel()),r["createElement"](se["a"],pe({},H,{tabIndex:"-1",ref:i.saveInput,prefixCls:F,placeholder:P&&P.length>0?void 0:_,className:"".concat(j,"-input ").concat(B),value:g.inputValue,disabled:x,readOnly:!E,autoComplete:H.autoComplete||"off",onClick:E?i.handleInputClick:void 0,onBlur:E?i.handleInputBlur:void 0,onKeyDown:i.handleKeyDown,onChange:E?i.handleInputChange:void 0})),V,Q),re=r["createElement"](ne.a,null);R&&(re=r["createElement"](ae.a,null));var oe=r["createElement"]("span",{className:"".concat(j,"-menu-item-loading-icon")},r["createElement"](ie.a,{spin:!0})),le=p.getPopupContainer||n,ue=Object(Z["a"])(p,["inputIcon","expandIcon","loadingIcon","bordered"]),ce=X()(N,(d={},ge(d,"".concat(j,"-menu-").concat(s),"rtl"===s),ge(d,"".concat(j,"-menu-empty"),1===U.length&&"ANT_CASCADER_NOT_FOUND"===U[0].value),d));return r["createElement"](q,pe({},ue,{prefixCls:j,getPopupContainer:le,options:U,value:P,popupVisible:g.popupVisible,onPopupVisibleChange:i.handlePopupVisibleChange,onChange:i.handleChange,dropdownMenuColumnStyle:G,expandIcon:re,loadingIcon:oe,popupClassName:ce,popupPlacement:i.getPopupPlacement(s)}),te)}))},i.state={value:e.value||e.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:e.popupVisible,flattenOptions:e.showSearch?Pe(e.options,e):void 0,prevProps:e},i}return ye(n,[{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?Ae:n,i=Te(this.props),o=this.state.value,a=Array.isArray(o[0])?o[0]:o,s=u()(t,(function(e,t){return e[i.value]===a[t]}),{childrenKeyName:i.children}),l=s.length?s.map((function(e){return e[i.label]})):o;return r(l,s)}},{key:"generateFilteredOptions",value:function(e,t){var n,r,i=this,o=this.props,a=o.showSearch,s=o.notFoundContent,l=Te(this.props),u=a.filter,c=void 0===u?Me:u,d=a.render,h=void 0===d?Ne:d,f=a.sort,p=void 0===f?Le:f,g=a.limit,m=void 0===g?Ee:g,v=this.state,y=v.flattenOptions,b=void 0===y?[]:y,_=v.inputValue;if(m>0){r=[];var w=0;b.some((function(e){var t=c(i.state.inputValue,e,l);return t&&(r.push(e),w+=1),w>=m}))}else Object(ce["a"])("number"!==typeof m,"Cascader","'limit' of showSearch should be positive number or false."),r=b.filter((function(e){return c(i.state.inputValue,e,l)}));return r=r.sort((function(e,t){return p(e,t,_,l)})),r.length>0?r.map((function(t){var n;return n={__IS_FILTERED_OPTION:!0,path:t},ge(n,l.value,t.map((function(e){return e[l.value]}))),ge(n,l.label,h(_,t,e,l)),ge(n,"disabled",t.some((function(e){return!!e.disabled}))),ge(n,"isEmptyNode",!0),n})):[(n={},ge(n,l.value,"ANT_CASCADER_NOT_FOUND"),ge(n,l.label,s||t("Cascader")),ge(n,"disabled",!0),ge(n,"isEmptyNode",!0),n)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ltr",t=this.props.popupPlacement;return void 0!==t?t:"rtl"===e?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var e=this;return r["createElement"](le["a"],null,(function(t){return r["createElement"](ue["a"],null,(function(n){return e.renderCascader(t,n)}))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"value"in e&&(r.value=e.value||[]),"popupVisible"in e&&(r.popupVisible=e.popupVisible),e.showSearch&&n.options!==e.options&&(r.flattenOptions=Pe(e.options,e)),r}}]),n}(r["Component"]);Re.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};t["a"]=Re},DFhj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("GGyF"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},DL4k:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"};t.default=r},DN4a:function(e,t,n){var r=n("Fofx"),i=n("QBsz"),o=r.identity,a=5e-5;function s(e){return e>a||e<-a}var l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),i=this.transform;if(n||t){i=i||r.create(),n?this.getLocalTransform(i):o(i),t&&(n?r.mul(i,e.transform,i):r.copy(i,e.transform)),this.transform=i;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,d=((c[1]-l)*a+l)/c[1]||0;i[0]*=u,i[1]*=u,i[2]*=d,i[3]*=d}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&o(i)},u.getLocalTransform=function(e){return l.getLocalTransform(this,e)},u.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},u.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var d=[],h=r.create();u.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=this.position,i=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),r[0]=e[4],r[1]=e[5],i[0]=t,i[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},u.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(r.mul(d,e.invTransform,t),t=d);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(d,t,h),d[4]-=n[0],d[5]-=n[1],t=d),this.setLocalTransform(t)}},u.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},u.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},u.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(e,t){t=t||[],o(t);var n=e.origin,i=e.scale||[1,1],a=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),r.scale(t,t,i),a&&r.rotate(t,t,a),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var f=l;e.exports=f},DO2E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};t.default=r},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),i=n("B8du"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||i;e.exports=c}).call(this,n("YuTi")(e))},DTDp:function(e,t,n){},DYRE:function(e,t,n){"use strict";n("cIOH"),n("OPEp")},DZo9:function(e,t,n){"use strict";n("cIOH"),n("JGo8"),n("+L6B"),n("MXD1"),n("5Dmo")},Dagg:function(e,t,n){var r=n("Gev7"),i=n("mFDi"),o=n("bYtY"),a=n("Xnb7");function s(e){r.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var n=this.style,r=n.image;n.bind(e,this,t);var i=this._image=a.createOrUpdateImage(r,this._image,this,this.onload);if(i&&a.isImageReady(i)){var o=n.x||0,s=n.y||0,l=n.width,u=n.height,c=i.width/i.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=i.width,u=i.height),this.setTransform(e),n.sWidth&&n.sHeight){var d=n.sx||0,h=n.sy||0;e.drawImage(i,d,h,n.sWidth,n.sHeight,o,s,l,u)}else if(n.sx&&n.sy){d=n.sx,h=n.sy;var f=l-d,p=u-h;e.drawImage(i,d,h,f,p,o,s,l,u)}else e.drawImage(i,o,s,l,u);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new i(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},o.inherits(s,r);var l=s;e.exports=l},Dg8C:function(e,t,n){var r=n("XxSj"),i=n("bYtY");function o(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var o=1/0,a=-1/0;i.each(n,(function(e){var t=e.getLayout().value;t<o&&(o=t),t>a&&(a=t)})),i.each(n,(function(t){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[o,a],visual:e.get("color")}),i=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",i)}))}}))}e.exports=o},DjyN:function(e,t,n){"use strict";n("cIOH"),n("Urep"),n("OaEy")},DlQD:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function n(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var r;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return r=e[Symbol.iterator](),r.next.bind(r)}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a=o((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),s=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),l=/[&<>"']/g,u=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,d={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(e){return d[e]};function f(e,t){if(t){if(s.test(e))return e.replace(l,h)}else if(u.test(e))return e.replace(c,h);return e}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function g(e){return e.replace(p,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var m=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(m,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var y=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function _(e,t,n){if(e){var r;try{r=decodeURIComponent(g(n)).replace(y,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!b.test(n)&&(n=O(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var w={},x=/^[^:]+:\/*[^/]*$/,C=/^([^:]+:)[\s\S]*$/,S=/^([^:]+:\/*[^/]*)[\s\S]*$/;function O(e,t){w[" "+e]||(x.test(e)?w[" "+e]=e+"/":w[" "+e]=M(e,"/",!0)),e=w[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(C,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(S,"$1")+t:e+t}var k={exec:function(){}};function E(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function D(e,t){var n=e.replace(/\|/g,(function(e,t,n){var r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function M(e,t,n){var r=e.length;if(0===r)return"";var i=0;while(i<r){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}function N(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}function L(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var I={escape:f,unescape:g,edit:v,cleanUrl:_,resolveUrl:O,noopTest:k,merge:E,splitCells:D,rtrim:M,findClosingBracket:N,checkSanitizeDeprecation:L},T=a.defaults,P=I.rtrim,A=I.splitCells,R=I.escape,j=I.findClosingBracket;function F(e,t,n){var r=t.href,i=t.title?R(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:R(o)}}function B(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var V=function(){function e(e){this.options=e||T}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var r=t[t.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:P(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=B(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=A(n.cells[r],n.header.length);return n}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var n,r,i,o,a,s,l,u=t[0],c=t[2],d=c.length>1,h=")"===c[c.length-1],f={type:"list",raw:u,ordered:d,start:d?+c.slice(0,-1):"",loose:!1,items:[]},p=t[0].match(this.rules.block.item),g=!1,m=p.length,v=0;v<m;v++)n=p[v],u=n,r=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) */,""),~n.indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),v!==m-1&&(i=this.rules.block.bullet.exec(p[v+1])[0],(d?1===i.length||!h&&")"===i[i.length-1]:i.length>1||this.options.smartLists&&i!==c)&&(o=p.slice(v+1).join("\n"),f.raw=f.raw.substring(0,f.raw.length-o.length),v=m-1)),a=g||/\n\n(?!\s*$)/.test(n),v!==m-1&&(g="\n"===n.charAt(n.length-1),a||(a=g)),a&&(f.loose=!0),s=/^\[[ xX]\] /.test(n),l=void 0,s&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,"")),f.items.push({type:"list_item",raw:u,task:s,checked:l,loose:a,text:n});return f}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var n=t[1].toLowerCase().replace(/\s+/g," ");return{tag:n,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:A(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=A(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var n=this.rules.block.text.exec(e);if(n){var r=t[t.length-1];return r&&"text"===r.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:R(t[1])}},t.tag=function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):R(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=j(t[2],"()");if(n>-1){var r=0===t[0].indexOf("!")?5:4,i=r+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],a="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],a=s[3]):a=""}else a=t[3]?t[3].slice(1,-1):"";o=o.trim().replace(/^<([\s\S]*)>$/,"$1");var l=F(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0]);return l}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}var o=F(n,r,n[0]);return o}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)),i)return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)),i)return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return r&&i&&(n=n.substring(1,n.length-1)),n=R(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=R(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=R(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=R(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=R(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):R(i[0]):i[0]:R(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),z=I.noopTest,W=I.edit,H=I.merge,U={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:z,table:z,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};U.def=W(U.def).replace("label",U._label).replace("title",U._title).getRegex(),U.bullet=/(?:[*+-]|\d{1,9}[.)])/,U.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,U.item=W(U.item,"gm").replace(/bull/g,U.bullet).getRegex(),U.list=W(U.list).replace(/bull/g,U.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+U.def.source+")").getRegex(),U._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",U._comment=/<!--(?!-?>)[\s\S]*?-->/,U.html=W(U.html,"i").replace("comment",U._comment).replace("tag",U._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),U.paragraph=W(U._paragraph).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.blockquote=W(U.blockquote).replace("paragraph",U.paragraph).getRegex(),U.normal=H({},U),U.gfm=H({},U.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),U.gfm.nptable=W(U.gfm.nptable).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.gfm.table=W(U.gfm.table).replace("hr",U.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",U._tag).getRegex(),U.pedantic=H({},U.normal,{html:W("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",U._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:z,paragraph:W(U.normal._paragraph).replace("hr",U.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",U.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var K={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:z,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:z,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};K.punctuation=W(K.punctuation).replace(/punctuation/g,K._punctuation).getRegex(),K._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",K._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",K.em.start=W(K.em.start).replace(/punctuation/g,K._punctuation).getRegex(),K.em.middle=W(K.em.middle).replace(/punctuation/g,K._punctuation).replace(/overlapSkip/g,K._overlapSkip).getRegex(),K.em.endAst=W(K.em.endAst,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.em.endUnd=W(K.em.endUnd,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.strong.start=W(K.strong.start).replace(/punctuation/g,K._punctuation).getRegex(),K.strong.middle=W(K.strong.middle).replace(/punctuation/g,K._punctuation).replace(/blockSkip/g,K._blockSkip).getRegex(),K.strong.endAst=W(K.strong.endAst,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.strong.endUnd=W(K.strong.endUnd,"g").replace(/punctuation/g,K._punctuation).getRegex(),K.blockSkip=W(K._blockSkip,"g").getRegex(),K.overlapSkip=W(K._overlapSkip,"g").getRegex(),K._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,K._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,K._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,K.autolink=W(K.autolink).replace("scheme",K._scheme).replace("email",K._email).getRegex(),K._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,K.tag=W(K.tag).replace("comment",U._comment).replace("attribute",K._attribute).getRegex(),K._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,K._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,K._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,K.link=W(K.link).replace("label",K._label).replace("href",K._href).replace("title",K._title).getRegex(),K.reflink=W(K.reflink).replace("label",K._label).getRegex(),K.reflinkSearch=W(K.reflinkSearch,"g").replace("reflink",K.reflink).replace("nolink",K.nolink).getRegex(),K.normal=H({},K),K.pedantic=H({},K.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:W(/^!?\[(label)\]\((.*?)\)/).replace("label",K._label).getRegex(),reflink:W(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",K._label).getRegex()}),K.gfm=H({},K.normal,{escape:W(K.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),K.gfm.url=W(K.gfm.url,"i").replace("email",K.gfm._extended_email).getRegex(),K.breaks=H({},K.gfm,{br:W(K.br).replace("{2,}","*").getRegex(),text:W(K.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var G={block:U,inline:K},q=a.defaults,Y=G.block,X=G.inline;function Z(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function Q(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var $=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||q,this.options.tokenizer=this.options.tokenizer||new V,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:Y.normal,inline:X.normal};this.options.pedantic?(t.block=Y.pedantic,t.inline=X.pedantic):this.options.gfm&&(t.block=Y.gfm,this.options.breaks?t.inline=X.breaks:t.inline=X.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,a;void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),r.type?t.push(r):(a=t[t.length-1],a.raw+="\n"+r.raw,a.text+="\n"+r.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i<o;i++)r.items[i].tokens=this.blockTokens(r.items[i].text,[],!1);t.push(r)}else if(r=this.tokenizer.html(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.def(e)))e=e.substring(r.raw.length),this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});else if(r=this.tokenizer.table(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.lheading(e))e=e.substring(r.raw.length),t.push(r);else if(n&&(r=this.tokenizer.paragraph(e)))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.text(e,t))e=e.substring(r.raw.length),r.type?t.push(r):(a=t[t.length-1],a.raw+="\n"+r.raw,a.text+="\n"+r.text);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},n.inline=function(e){var t,n,r,i,o,a,s=e.length;for(t=0;t<s;t++)switch(a=e[t],a.type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,n=0;n<i;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(i=a.cells.length,n=0;n<i;n++)for(o=a.cells[n],a.tokens.cells[n]=[],r=0;r<o.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(o[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,n=0;n<i;n++)this.inline(a.items[n].tokens);break}return e},n.inlineTokens=function(e,t,n,r,i){var o;void 0===t&&(t=[]),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===i&&(i="");var a,s=e;if(this.tokens.links){var l=Object.keys(this.tokens.links);if(l.length>0)while(null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s)))l.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s)))s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(e)if(o=this.tokenizer.escape(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.tag(e,n,r))e=e.substring(o.raw.length),n=o.inLink,r=o.inRawBlock,t.push(o);else if(o=this.tokenizer.link(e))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,r)),t.push(o);else if(o=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(o.raw.length),"link"===o.type&&(o.tokens=this.inlineTokens(o.text,[],!0,r)),t.push(o);else if(o=this.tokenizer.strong(e,s,i))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.em(e,s,i))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.codespan(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.br(e))e=e.substring(o.raw.length),t.push(o);else if(o=this.tokenizer.del(e))e=e.substring(o.raw.length),o.tokens=this.inlineTokens(o.text,[],n,r),t.push(o);else if(o=this.tokenizer.autolink(e,Q))e=e.substring(o.raw.length),t.push(o);else if(n||!(o=this.tokenizer.url(e,Q))){if(o=this.tokenizer.inlineText(e,r,Z))e=e.substring(o.raw.length),i=o.raw.slice(-1),t.push(o);else if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else e=e.substring(o.raw.length),t.push(o);return t},t(e,null,[{key:"rules",get:function(){return{block:Y,inline:X}}}]),e}(),J=a.defaults,ee=I.cleanUrl,te=I.escape,ne=function(){function e(e){this.options=e||J}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+te(r,!0)+'">'+(n?e:te(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:te(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"</"+r+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,n){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<a href="'+te(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>",r},t.image=function(e,t,n){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">",r},t.text=function(e){return e},e}(),re=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ie=function(){function e(){this.seen={}}var t=e.prototype;return t.slug=function(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},e}(),oe=a.defaults,ae=I.unescape,se=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new ne,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new re,this.slugger=new ie}e.parse=function(t,n){var r=new e(n);return r.parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,a,s,l,u,c,d,h,f,p,g,m,v,y,b,_="",w=e.length;for(n=0;n<w;n++)switch(d=e[n],d.type){case"space":continue;case"hr":_+=this.renderer.hr();continue;case"heading":_+=this.renderer.heading(this.parseInline(d.tokens),d.depth,ae(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue;case"code":_+=this.renderer.code(d.text,d.lang,d.escaped);continue;case"table":for(u="",l="",o=d.header.length,r=0;r<o;r++)l+=this.renderer.tablecell(this.parseInline(d.tokens.header[r]),{header:!0,align:d.align[r]});for(u+=this.renderer.tablerow(l),c="",o=d.cells.length,r=0;r<o;r++){for(s=d.tokens.cells[r],l="",a=s.length,i=0;i<a;i++)l+=this.renderer.tablecell(this.parseInline(s[i]),{header:!1,align:d.align[i]});c+=this.renderer.tablerow(l)}_+=this.renderer.table(u,c);continue;case"blockquote":c=this.parse(d.tokens),_+=this.renderer.blockquote(c);continue;case"list":for(h=d.ordered,f=d.start,p=d.loose,o=d.items.length,c="",r=0;r<o;r++)m=d.items[r],v=m.checked,y=m.task,g="",m.task&&(b=this.renderer.checkbox(v),p?m.tokens.length>0&&"text"===m.tokens[0].type?(m.tokens[0].text=b+" "+m.tokens[0].text,m.tokens[0].tokens&&m.tokens[0].tokens.length>0&&"text"===m.tokens[0].tokens[0].type&&(m.tokens[0].tokens[0].text=b+" "+m.tokens[0].tokens[0].text)):m.tokens.unshift({type:"text",text:b}):g+=b),g+=this.parse(m.tokens,p),c+=this.renderer.listitem(g,y,v);_+=this.renderer.list(c,h,f);continue;case"html":_+=this.renderer.html(d.text);continue;case"paragraph":_+=this.renderer.paragraph(this.parseInline(d.tokens));continue;case"text":c=d.tokens?this.parseInline(d.tokens):d.text;while(n+1<w&&"text"===e[n+1].type)d=e[++n],c+="\n"+(d.tokens?this.parseInline(d.tokens):d.text);_+=t?this.renderer.paragraph(c):c;continue;default:var x='Token with "'+d.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}return _},t.parseInline=function(e,t){t=t||this.renderer;var n,r,i="",o=e.length;for(n=0;n<o;n++)switch(r=e[n],r.type){case"escape":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;case"text":i+=t.text(r.text);break;default:var a='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return i},e}(),le=I.merge,ue=I.checkSanitizeDeprecation,ce=I.escape,de=a.getDefaults,he=a.changeDefaults,fe=a.defaults;function pe(e,t,n){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"===typeof t&&(n=t,t=null),t=le({},pe.defaults,t||{}),ue(t),n){var r,i=t.highlight;try{r=$.lex(e,t)}catch(l){return n(l)}var o=function(e){var o;if(!e)try{o=se.parse(r,t)}catch(l){e=l}return t.highlight=i,e?n(e):n(null,o)};if(!i||i.length<3)return o();if(delete t.highlight,!r.length)return o();var a=0;return pe.walkTokens(r,(function(e){"code"===e.type&&(a++,setTimeout((function(){i(e.text,e.lang,(function(t,n){if(t)return o(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),a--,0===a&&o()}))}),0))})),void(0===a&&o())}try{var s=$.lex(e,t);return t.walkTokens&&pe.walkTokens(s,t.walkTokens),se.parse(s,t)}catch(l){if(l.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ce(l.message+"",!0)+"</pre>";throw l}}pe.options=pe.setOptions=function(e){return le(pe.defaults,e),he(pe.defaults),pe},pe.getDefaults=de,pe.defaults=fe,pe.use=function(e){var t=le({},e);if(e.renderer&&function(){var n=pe.defaults.renderer||new ne,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.renderer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.renderer)r(i);t.renderer=n}(),e.tokenizer&&function(){var n=pe.defaults.tokenizer||new V,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.tokenizer[t].apply(n,o);return!1===s&&(s=r.apply(n,o)),s}};for(var i in e.tokenizer)r(i);t.tokenizer=n}(),e.walkTokens){var n=pe.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}pe.setOptions(t)},pe.walkTokens=function(e,t){for(var n,r=i(e);!(n=r()).done;){var o=n.value;switch(t(o),o.type){case"table":for(var a,s=i(o.tokens.header);!(a=s()).done;){var l=a.value;pe.walkTokens(l,t)}for(var u,c=i(o.tokens.cells);!(u=c()).done;)for(var d,h=u.value,f=i(h);!(d=f()).done;){var p=d.value;pe.walkTokens(p,t)}break;case"list":pe.walkTokens(o.items,t);break;default:o.tokens&&pe.walkTokens(o.tokens,t)}}},pe.Parser=se,pe.parser=se.parse,pe.Renderer=ne,pe.TextRenderer=re,pe.Lexer=$,pe.lexer=$.lex,pe.Tokenizer=V,pe.Slugger=ie,pe.parse=pe;var ge=pe;return ge}))},"DlR+":function(e,t,n){var r=n("MFOe"),i=r.Global,o=r.trim;e.exports={name:"cookieStorage",read:s,write:u,each:l,remove:c,clearAll:d};var a=i.document;function s(e){if(!e||!h(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))}function l(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(o(t[n])){var r=t[n].split("="),i=unescape(r[0]),s=unescape(r[1]);e(s,i)}}function u(e,t){e&&(a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function c(e){e&&h(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function d(){l((function(e,t){c(t)}))}function h(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},Ducp:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+TT/"),a=n("XpcN"),s=i.Group,l=["width","height"],u=["x","y"],c=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,o,a,s,l){var u=this;c.superCall(this,"renderInner",e,t,n,o,a,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);r.isArray(h)||(h=[h,h]),p("pagePrev",0);var f=t.getModel("pageTextStyle");function p(e,n){var a=e+"DataIndex",s=i.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:r.bind(u._pageGo,u,a,t,o)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new i.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(e,t,n,i,a,s){var c=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],f=u[d],p=l[1-d],g=u[1-d];a&&o.box("horizontal",c,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),v=c.getBoundingRect(),y=[-v.x,-v.y],b=r.clone(n);a&&(b[h]=n[h]-v[h]-m);var _=this._layoutContentAndController(e,i,b,d,h,p,g);if(a){if("end"===s)y[d]+=_[h]+m;else{var w=v[h]+m;y[d]-=w,_[f]-=w}_[h]+=v[h]+m,y[1-d]+=_[g]+_[p]/2-v[p]/2,_[p]=Math.max(_[p],v[p]),_[g]=Math.min(_[g],v[g]+y[1-d]),c.attr("position",y)}return _},_layoutContentAndController:function(e,t,n,a,s,l,u){var c=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;o.box(e.get("orient"),c,e.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",h,e.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=h.getBoundingRect(),g=this._showController=f[s]>n[s],m=[-f.x,-f.y];t||(m[a]=c.position[a]);var v=[0,0],y=[-p.x,-p.y],b=r.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(g){var _=e.get("pageButtonPosition",!0);"end"===_?y[a]+=n[s]-p[s]:v[a]+=p[s]+b}y[1-a]+=f[l]/2-p[l]/2,c.attr("position",m),d.attr("position",v),h.attr("position",y);var w={x:0,y:0};if(w[s]=g?n[s]:f[s],w[l]=Math.max(f[l],p[l]),w[u]=Math.min(0,p[u]+y[1-a]),d.__rectSize=n[s],g){var x={x:0,y:0};x[s]=Math.max(n[s]-p[s]-b,0),x[l]=w[l],d.setClipPath(new i.Rect({shape:x})),d.__rectSize=x[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var C=this._getPageInfo(e);return null!=C.pageIndex&&i.updateProps(c,{position:C.contentPosition},!!g&&e),this._updatePageInfoView(e,C),w},_pageGo:function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=t[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),o=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;i&&o&&i.setStyle("text",r.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,o=l[i],a=u[i],s=this._findTargetItemIndex(t),c=n.children(),d=c[s],h=c.length,f=h?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return p;var g=_(d);p.contentPosition[i]=-g.s;for(var m=s+1,v=g,y=g,b=null;m<=h;++m)b=_(c[m]),(!b&&y.e>v.s+r||b&&!w(b,v.s))&&(v=y.i>v.i?y:b,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=b;for(m=s-1,v=g,y=g,b=null;m>=-1;--m)b=_(c[m]),b&&w(y,b.s)||!(v.i<y.i)||(y=v,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=v.i),++p.pageCount,++p.pageIndex),v=b;return p;function _(e){if(e){var t=e.getBoundingRect(),n=t[a]+e.position[i];return{s:n,e:n+t[o],i:e.__legendDataIndex}}}function w(e,t){return e.e>=t&&e.s<=t+r}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===e&&(t=i)})),null!=t?t:n}}),d=c;e.exports=d},Dvnd:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return n.e(185).then(n.bind(null,"y0OK"))}})},"E+ie":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return n.e(175).then(n.bind(null,"p+q7"))}})},"E/ki":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"};t.default=r},E2jh:function(e,t,n){var r=n("2gN3"),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},E4kL:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml"],loader:function(){return n.e(224).then(n.bind(null,"EaLm"))}})},E9nw:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},EIAu:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return y}));var r=n("N0LK"),i=n("aokT"),o=function(){function e(t,n,r,i,o,a){this.languageIdentifier=t,this.index=n,this.open=r,this.close=i,this.forwardRegex=o,this.reversedRegex=a,this._openSet=e._toSet(this.open),this._closeSet=e._toSet(this.close)}return e.prototype.isOpen=function(e){return this._openSet.has(e)},e.prototype.isClose=function(e){return this._closeSet.has(e)},e._toSet=function(e){for(var t=new Set,n=0,r=e;n<r.length;n++){var i=r[n];t.add(i)}return t},e}();function a(e){var t=e.length;e=e.map((function(e){return[e[0].toLowerCase(),e[1].toLowerCase()]}));for(var n=[],r=0;r<t;r++)n[r]=r;var i=function(e,t){var n=e[0],r=e[1],i=t[0],o=t[1];return n===i||n===o||r===i||r===o},o=function(e,r){for(var i=Math.min(e,r),o=Math.max(e,r),a=0;a<t;a++)n[a]===o&&(n[a]=i)};for(r=0;r<t;r++)for(var a=e[r],s=r+1;s<t;s++){var l=e[s];i(a,l)&&o(n[r],n[s])}for(var u=[],c=0;c<t;c++){var d=[],h=[];for(r=0;r<t;r++)if(n[r]===c){var f=e[r],p=f[0],g=f[1];d.push(p),h.push(g)}d.length>0&&u.push({open:d,close:h})}return u}var s=function(){function e(e,t){var n=a(t);this.brackets=n.map((function(t,r){return new o(e,r,t.open,t.close,d(t.open,t.close,n,r),h(t.open,t.close,n,r))})),this.forwardRegex=f(this.brackets),this.reversedRegex=p(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(var r=0,i=this.brackets;r<i.length;r++){for(var s=i[r],l=0,u=s.open;l<u.length;l++){var c=u[l];this.textIsBracket[c]=s,this.textIsOpenBracket[c]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,c.length)}for(var g=0,m=s.close;g<m.length;g++){var v=m[g];this.textIsBracket[v]=s,this.textIsOpenBracket[v]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,v.length)}}}return e}();function l(e,t,n,r){for(var i=0,o=t.length;i<o;i++)if(i!==n){for(var a=t[i],s=0,l=a.open;s<l.length;s++){var u=l[s];u.indexOf(e)>=0&&r.push(u)}for(var c=0,d=a.close;c<d.length;c++){var h=d[c];h.indexOf(e)>=0&&r.push(h)}}}function u(e,t){return e.length-t.length}function c(e){if(e.length<=1)return e;for(var t=[],n=new Set,r=0,i=e;r<i.length;r++){var o=i[r];n.has(o)||(t.push(o),n.add(o))}return t}function d(e,t,n,r){var i=[];i=i.concat(e),i=i.concat(t);for(var o=0,a=i.length;o<a;o++)l(i[o],n,r,i);return i=c(i),i.sort(u),i.reverse(),m(i)}function h(e,t,n,r){var i=[];i=i.concat(e),i=i.concat(t);for(var o=0,a=i.length;o<a;o++)l(i[o],n,r,i);return i=c(i),i.sort(u),i.reverse(),m(i.map(v))}function f(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var i=r[n],o=0,a=i.open;o<a.length;o++){var s=a[o];t.push(s)}for(var l=0,u=i.close;l<u.length;l++){var d=u[l];t.push(d)}}return t=c(t),m(t)}function p(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var i=r[n],o=0,a=i.open;o<a.length;o++){var s=a[o];t.push(s)}for(var l=0,u=i.close;l<u.length;l++){var d=u[l];t.push(d)}}return t=c(t),m(t.map(v))}function g(e){var t=/^[\w ]+$/.test(e);return e=r["p"](e),t?"\\b"+e+"\\b":e}function m(e){var t="("+e.map(g).join(")|(")+")";return r["l"](t,!0)}var v=function(){function e(e){for(var t="",n=e.length-1;n>=0;n--)t+=e.charAt(n);return t}var t=null,n=null;return function(r){return t!==r&&(t=r,n=e(t)),n}}(),y=function(){function e(){}return e._findPrevBracketInText=function(e,t,n,r){var o=n.match(e);if(!o)return null;var a=n.length-(o.index||0),s=o[0].length,l=r+a;return new i["a"](t,l-s+1,t,l+1)},e.findPrevBracketInRange=function(e,t,n,r,i){var o=v(n),a=o.substring(n.length-i,n.length-r);return this._findPrevBracketInText(e,t,a,r)},e.findNextBracketInText=function(e,t,n,r){var o=n.match(e);if(!o)return null;var a=o.index||0,s=o[0].length;if(0===s)return null;var l=r+a;return new i["a"](t,l+1,t,l+1+s)},e.findNextBracketInRange=function(e,t,n,r,i){var o=n.substring(r,i);return this.findNextBracketInText(e,t,o,r)},e}()},EJiy:function(e,t,n){"use strict";t.__esModule=!0;var r=n("F+2o"),i=l(r),o=n("+JPL"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},ELLl:function(e,t,n){(function(e){e(n("VrN/"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},n=e.Pos;function r(e,n){return"pairs"==n&&"string"==typeof e?e:"object"==typeof e&&null!=e[n]?e[n]:t[n]}e.defineOption("autoCloseBrackets",!1,(function(t,n,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),n&&(o(r(n,"pairs")),t.state.closeBrackets=n,t.addKeyMap(i))}));var i={Backspace:l,Enter:u};function o(e){for(var t=0;t<e.length;t++){var n=e.charAt(t),r="'"+n+"'";i[r]||(i[r]=a(n))}}function a(e){return function(t){return d(t,e)}}function s(e){var t=e.state.closeBrackets;if(!t||t.override)return t;var n=e.getModeAt(e.getCursor());return n.closeBrackets||t}function l(t){var i=s(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=r(i,"pairs"),a=t.listSelections(),l=0;l<a.length;l++){if(!a[l].empty())return e.Pass;var u=h(t,a[l].head);if(!u||o.indexOf(u)%2!=0)return e.Pass}for(l=a.length-1;l>=0;l--){var c=a[l].head;t.replaceRange("",n(c.line,c.ch-1),n(c.line,c.ch+1),"+delete")}}function u(t){var n=s(t),i=n&&r(n,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var l=h(t,o[a].head);if(!l||i.indexOf(l)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),t.execCommand("goCharLeft"),o=t.listSelections();for(var n=0;n<o.length;n++){var r=o[n].head.line;t.indentLine(r,null,!0),t.indentLine(r+1,null,!0)}}))}function c(t){var r=e.cmpPos(t.anchor,t.head)>0;return{anchor:new n(t.anchor.line,t.anchor.ch+(r?-1:1)),head:new n(t.head.line,t.head.ch+(r?1:-1))}}function d(t,i){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=r(o,"pairs"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var u,d=r(o,"closeBefore"),h=r(o,"triples"),p=a.charAt(l+1)==i,g=t.listSelections(),m=l%2==0,v=0;v<g.length;v++){var y,b=g[v],_=b.head,w=t.getRange(_,n(_.line,_.ch+1));if(m&&!b.empty())y="surround";else if(!p&&m||w!=i)if(p&&_.ch>1&&h.indexOf(i)>=0&&t.getRange(n(_.line,_.ch-2),_)==i+i){if(_.ch>2&&/\bstring/.test(t.getTokenTypeAt(n(_.line,_.ch-2))))return e.Pass;y="addFour"}else if(p){var x=0==_.ch?" ":t.getRange(n(_.line,_.ch-1),_);if(e.isWordChar(w)||x==i||e.isWordChar(x))return e.Pass;y="both"}else{if(!m||!(0===w.length||/\s/.test(w)||d.indexOf(w)>-1))return e.Pass;y="both"}else y=p&&f(t,_)?"both":h.indexOf(i)>=0&&t.getRange(_,n(_.line,_.ch+3))==i+i+i?"skipThree":"skip";if(u){if(u!=y)return e.Pass}else u=y}var C=l%2?a.charAt(l-1):i,S=l%2?i:a.charAt(l+1);t.operation((function(){if("skip"==u)t.execCommand("goCharRight");else if("skipThree"==u)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==u){var n=t.getSelections();for(e=0;e<n.length;e++)n[e]=C+n[e]+S;t.replaceSelections(n,"around"),n=t.listSelections().slice();for(e=0;e<n.length;e++)n[e]=c(n[e]);t.setSelections(n)}else"both"==u?(t.replaceSelection(C+S,null),t.triggerElectric(C+S),t.execCommand("goCharLeft")):"addFour"==u&&(t.replaceSelection(C+C+C+C,"before"),t.execCommand("goCharRight"))}))}function h(e,t){var r=e.getRange(n(t.line,t.ch-1),n(t.line,t.ch+1));return 2==r.length?r:null}function f(e,t){var r=e.getTokenAt(n(t.line,t.ch+1));return/\bstring/.test(r.type)&&r.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}))},EMyp:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("mFDi"),a=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],d="__ecBrushSelect",h="__ecInBrushSelectEvent",f=r.PRIORITY.VISUAL.BRUSH;function p(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new u(t.option,e);n.setInputRanges(t.areas,e)}))}function g(e,t,n,r,i){if(i){var o=e.getZr();if(!o[h]){o[d]||(o[d]=m);var a=l.createOrUpdate(o,d,n,t);a(e,r)}}}function m(e,t){if(!e.isDisposed()){var n=e.getZr();n[h]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[h]=!1}}function v(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e[a.brushType](r,n,a.selectors,a))return!0}}function y(e){var t=e.brushSelector;if(i.isString(t)){var n=[];return i.each(s,(function(e,r){n[r]=function(n,r,i,o){var a=r.getItemLayout(n);return e[t](a,i,o)}})),n}if(i.isFunction(t)){var r={};return i.each(s,(function(e,n){r[n]=t})),r}return t}function b(e,t){var n=e.option.seriesIndex;return null!=n&&"all"!==n&&(i.isArray(n)?i.indexOf(n,t)<0:t!==n)}function _(e){var t=e.selectors={};return i.each(s[e.brushType],(function(n,r){t[r]=function(r){return n(r,t,e)}})),e}r.registerLayout(f,(function(e,t,n){e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),p(e)})),r.registerVisual(f,(function(e,t,n){var r,o,s=[];e.eachComponent({mainType:"brush"},(function(t,n){var l={brushId:t.id,brushIndex:n,brushName:t.name,areas:i.clone(t.areas),selected:[]};s.push(l);var u=t.option,d=u.brushLink,h=[],f=[],p=[],g=0;n||(r=u.throttleType,o=u.throttleDelay);var m=i.map(t.areas,(function(e){return _(i.defaults({boundingRect:w[e.brushType](e)},e))})),x=a.createVisualMappings(t.option,c,(function(e){e.mappingMethod="fixed"}));function C(e){return"all"===d||h[e]}function S(e){return!!e.length}function O(e,t){var n=e.coordinateSystem;g|=n.hasAxisBrushed(),C(t)&&n.eachActiveState(e.getData(),(function(e,t){"active"===e&&(f[t]=1)}))}function k(n,r,o){var a=y(n);if(a&&!b(t,r)&&(i.each(m,(function(r){a[r.brushType]&&t.brushTargetManager.controlSeries(r,n,e)&&o.push(r),g|=S(o)})),C(r)&&S(o))){var s=n.getData();s.each((function(e){v(a,o,s,e)&&(f[e]=1)}))}}i.isArray(d)&&i.each(d,(function(e){h[e]=1})),e.eachSeries((function(e,t){var n=p[t]=[];"parallel"===e.subType?O(e,t,n):k(e,t,n)})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]};l.selected.push(n);var r=y(e),i=p[t],o=e.getData(),s=C(t)?function(e){return f[e]?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(e){return v(r,i,o,e)?(n.dataIndex.push(o.getRawIndex(e)),"inBrush"):"outOfBrush"};(C(t)?g:S(i))&&a.applyVisual(c,x,o,s)}))})),g(t,r,o,s,n)}));var w={lineX:i.noop,lineY:i.noop,rect:function(e){return x(e.range)},polygon:function(e){for(var t,n=e.range,r=0,i=n.length;r<i;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<t[0][0]&&(t[0][0]=o[0]),o[0]>t[0][1]&&(t[0][1]=o[0]),o[1]<t[1][0]&&(t[1][0]=o[1]),o[1]>t[1][1]&&(t[1][1]=o[1])}return t&&x(t)}};function x(e){return new o(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=p},EOst:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return n.e(221).then(n.bind(null,"87dK"))}})},"EPS+":function(e,t,n){},ERHi:function(e,t,n){var r=n("ProS");n("Z6js"),n("R4Th");var i=n("f5Yq"),o=n("h8O9");r.registerVisual(i("effectScatter","circle")),r.registerLayout(o("effectScatter"))},EWX2:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r,i,o=n("bY76"),a=n("gslv"),s=n("Cg/j"),l=n("QDVR"),u=Object(s["c"])("contextService");(function(e){function t(e){return e&&"object"===typeof e&&"string"===typeof e.id&&Array.isArray(e.folders)}e.isIWorkspace=t})(r||(r={})),function(e){function t(e){return e&&"object"===typeof e&&o["a"].isUri(e.uri)&&"string"===typeof e.name&&"function"===typeof e.toResource}e.isIWorkspaceFolder=t}(i||(i={}));(function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=null),this._id=e,this._configuration=n,this._foldersMap=l["c"].forPaths(),this.folders=t}Object.defineProperty(e.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),e.prototype.getFolder=function(e){return e&&this._foldersMap.findSubstr(e.with({scheme:e.scheme,authority:e.authority,path:e.path}).toString())||null},e.prototype.updateFoldersMap=function(){this._foldersMap=l["c"].forPaths();for(var e=0,t=this.folders;e<t.length;e++){var n=t[e];this._foldersMap.set(n.uri.toString(),n)}},e.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}}})();var c=function(){function e(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}return e.prototype.toResource=function(e){return a["f"](this.uri,e)},e.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},e}()},EXcs:function(e,t,n){"use strict";var r=function(){return{height:0,opacity:0}},i=function(e){return{height:e.scrollHeight,opacity:1}},o=function(e){return{height:e.offsetHeight}},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:o,onLeaveActive:r,motionDeadline:500};t["a"]=a},EffR:function(e,t,n){"use strict";n.d(t,"s",(function(){return y})),n.d(t,"Q",(function(){return b})),n.d(t,"L",(function(){return _})),n.d(t,"H",(function(){return S})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return k})),n.d(t,"O",(function(){return E})),n.d(t,"P",(function(){return D})),n.d(t,"X",(function(){return M})),n.d(t,"i",(function(){return L})),n.d(t,"n",(function(){return P})),n.d(t,"m",(function(){return A})),n.d(t,"g",(function(){return R})),n.d(t,"h",(function(){return j})),n.d(t,"j",(function(){return F})),n.d(t,"k",(function(){return B})),n.d(t,"T",(function(){return V})),n.d(t,"V",(function(){return z})),n.d(t,"l",(function(){return Y})),n.d(t,"y",(function(){return X})),n.d(t,"x",(function(){return Z})),n.d(t,"E",(function(){return J})),n.d(t,"B",(function(){return ee})),n.d(t,"d",(function(){return te})),n.d(t,"G",(function(){return ne})),n.d(t,"A",(function(){return re})),n.d(t,"z",(function(){return ie})),n.d(t,"F",(function(){return oe})),n.d(t,"J",(function(){return ae})),n.d(t,"w",(function(){return se})),n.d(t,"M",(function(){return ue})),n.d(t,"D",(function(){return ce})),n.d(t,"v",(function(){return de})),n.d(t,"u",(function(){return ge})),n.d(t,"N",(function(){return me})),n.d(t,"K",(function(){return ve})),n.d(t,"c",(function(){return ye})),n.d(t,"b",(function(){return be})),n.d(t,"U",(function(){return _e})),n.d(t,"S",(function(){return we})),n.d(t,"Y",(function(){return Ce})),n.d(t,"p",(function(){return Se})),n.d(t,"a",(function(){return De})),n.d(t,"W",(function(){return Me})),n.d(t,"I",(function(){return Ne})),n.d(t,"R",(function(){return Ie})),n.d(t,"C",(function(){return Te})),n.d(t,"t",(function(){return Pe})),n.d(t,"Z",(function(){return Ae})),n.d(t,"o",(function(){return Re})),n.d(t,"r",(function(){return je})),n.d(t,"q",(function(){return Fe}));var r=n("D3Dy"),i=n("4y0V"),o=n("uDWl"),a=n("XSiN"),s=n("X+cX"),l=n("/cxE"),u=n("MI8n"),c=n("pmY6"),d=n("MNsG"),h=n("6OMU"),f=n("tYmi"),p=n("CjF5"),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){return m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},m.apply(this,arguments)},v=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function y(e){while(e.firstChild)e.removeChild(e.firstChild)}function b(e){e.parentNode&&e.parentNode.removeChild(e)}function _(e){while(e){if(e===document.body)return!0;e=e.parentNode||e.host}return!1}var w=new(function(){function e(){this._lastStart=-1,this._lastEnd=-1}return e.prototype._findClassName=function(e,t){var n=e.className;if(n){t=t.trim();var r=n.length,i=t.length;if(0!==i)if(r<i)this._lastStart=-1;else{if(n===t)return this._lastStart=0,void(this._lastEnd=r);var o,a=-1;while((a=n.indexOf(t,a+1))>=0){if(o=a+i,(0===a||32===n.charCodeAt(a-1))&&32===n.charCodeAt(o))return this._lastStart=a,void(this._lastEnd=o+1);if(a>0&&32===n.charCodeAt(a-1)&&o===r)return this._lastStart=a-1,void(this._lastEnd=o);if(0===a&&o===r)return this._lastStart=0,void(this._lastEnd=o)}this._lastStart=-1}else this._lastStart=-1}else this._lastStart=-1},e.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},e.prototype.addClasses=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},e.prototype.removeClass=function(e,t){this._findClassName(e,t),-1!==this._lastStart&&(e.className=e.className.substring(0,this._lastStart)+e.className.substring(this._lastEnd))},e.prototype.removeClasses=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){this._findClassName(e,t),-1===this._lastStart||void 0!==n&&n||this.removeClass(e,t),-1!==this._lastStart||void 0!==n&&!n||this.addClass(e,t)},e}()),x=new(function(){function e(){}return e.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},e.prototype.addClasses=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.addClass(e,n)}))}))},e.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},e.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},e.prototype.removeClasses=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];n.forEach((function(n){return n.split(" ").forEach((function(n){return t.removeClass(e,n)}))}))},e.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},e}()),C=r["i"]?w:x,S=C.hasClass.bind(C),O=C.addClass.bind(C),k=C.addClasses.bind(C),E=C.removeClass.bind(C),D=C.removeClasses.bind(C),M=C.toggleClass.bind(C),N=function(){function e(e,t,n,r){this._node=e,this._type=t,this._handler=n,this._options=r||!1,this._node.addEventListener(this._type,this._handler,this._options)}return e.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)},e}();function L(e,t,n,r){return new N(e,t,n,r)}function I(e){return function(t){return e(new a["a"](t))}}function T(e){return function(t){return e(new o["a"](t))}}var P=function(e,t,n,r){var i=n;return"click"===t||"mousedown"===t?i=I(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(i=T(n)),L(e,t,i,r)},A=function(e,t,n){var r=I(t);return R(e,r,n)};function R(e,t,n){return L(e,d["c"]&&p["a"].pointerEvents?ye.POINTER_DOWN:ye.MOUSE_DOWN,t,n)}function j(e,t,n){return L(e,d["c"]&&p["a"].pointerEvents?ye.POINTER_UP:ye.MOUSE_UP,t,n)}function F(e,t){return L(e,"mouseout",(function(n){var r=n.relatedTarget;while(r&&r!==e)r=r.parentNode;r!==e&&t(n)}))}function B(e,t){return L(e,"pointerout",(function(n){var r=n.relatedTarget;while(r&&r!==e)r=r.parentNode;r!==e&&t(n)}))}var V,z,W=null;function H(e){if(!W){var t=function(e){return setTimeout((function(){return e((new Date).getTime())}),0)};W=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||t}return W.call(self,e)}var U=function(){function e(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}return e.prototype.dispose=function(){this._canceled=!0},e.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Object(l["e"])(e)}},e.sort=function(e,t){return t.priority-e.priority},e}();(function(){var e=[],t=null,n=!1,r=!1,i=function(){n=!1,t=e,e=[],r=!0;while(t.length>0){t.sort(U.sort);var i=t.shift();i.execute()}r=!1};z=function(t,r){void 0===r&&(r=0);var o=new U(t,r);return e.push(o),n||(n=!0,H(i)),o},V=function(e,n){if(r){var i=new U(e,n);return t.push(i),i}return z(e,n)}})();var K=16,G=function(e,t){return t},q=function(e){function t(t,n,r,i,o){void 0===i&&(i=G),void 0===o&&(o=K);var a=e.call(this)||this,l=null,u=0,c=a._register(new s["e"]),d=function(){u=(new Date).getTime(),r(l),l=null};return a._register(L(t,n,(function(e){l=i(l,e);var t=(new Date).getTime()-u;t>=o?(c.cancel(),d()):c.setIfNotSet(d,o-t)}))),a}return g(t,e),t}(c["a"]);function Y(e,t,n,r,i){return new q(e,t,n,r,i)}function X(e){return document.defaultView.getComputedStyle(e,null)}function Z(e){if(e!==document.body)return new $(e.clientWidth,e.clientHeight);if(d["c"]&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(r["l"]?24:0);return new $(t,n)}if(window.innerWidth&&window.innerHeight)return new $(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new $(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new $(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}var Q=function(){function e(){}return e.convertToPixels=function(e,t){return parseFloat(t)||0},e.getDimension=function(t,n,r){var i=X(t),o="0";return i&&(o=i.getPropertyValue?i.getPropertyValue(n):i.getAttribute(r)),e.convertToPixels(t,o)},e.getBorderLeftWidth=function(t){return e.getDimension(t,"border-left-width","borderLeftWidth")},e.getBorderRightWidth=function(t){return e.getDimension(t,"border-right-width","borderRightWidth")},e.getBorderTopWidth=function(t){return e.getDimension(t,"border-top-width","borderTopWidth")},e.getBorderBottomWidth=function(t){return e.getDimension(t,"border-bottom-width","borderBottomWidth")},e.getPaddingLeft=function(t){return e.getDimension(t,"padding-left","paddingLeft")},e.getPaddingRight=function(t){return e.getDimension(t,"padding-right","paddingRight")},e.getPaddingTop=function(t){return e.getDimension(t,"padding-top","paddingTop")},e.getPaddingBottom=function(t){return e.getDimension(t,"padding-bottom","paddingBottom")},e.getMarginLeft=function(t){return e.getDimension(t,"margin-left","marginLeft")},e.getMarginTop=function(t){return e.getDimension(t,"margin-top","marginTop")},e.getMarginRight=function(t){return e.getDimension(t,"margin-right","marginRight")},e.getMarginBottom=function(t){return e.getDimension(t,"margin-bottom","marginBottom")},e}(),$=function(){function e(e,t){this.width=e,this.height=t}return e}();function J(e){var t=e.offsetParent,n=e.offsetTop,r=e.offsetLeft;while(null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement){n-=e.scrollTop;var i=le(e)?null:X(e);i&&(r-="rtl"!==i.direction?e.scrollLeft:-e.scrollLeft),e===t&&(r+=Q.getBorderLeftWidth(e),n+=Q.getBorderTopWidth(e),n+=e.offsetTop,r+=e.offsetLeft,t=e.offsetParent)}return{left:r,top:n}}function ee(e){var t=e.getBoundingClientRect();return{left:t.left+te.scrollX,top:t.top+te.scrollY,width:t.width,height:t.height}}var te=new(function(){function e(){}return Object.defineProperty(e.prototype,"scrollX",{get:function(){return"number"===typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollY",{get:function(){return"number"===typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),e}());function ne(e){var t=Q.getMarginLeft(e)+Q.getMarginRight(e);return e.offsetWidth+t}function re(e){var t=Q.getBorderLeftWidth(e)+Q.getBorderRightWidth(e),n=Q.getPaddingLeft(e)+Q.getPaddingRight(e);return e.offsetWidth-t-n}function ie(e){var t=Q.getBorderTopWidth(e)+Q.getBorderBottomWidth(e),n=Q.getPaddingTop(e)+Q.getPaddingBottom(e);return e.offsetHeight-t-n}function oe(e){var t=Q.getMarginTop(e)+Q.getMarginBottom(e);return e.offsetHeight+t}function ae(e,t){while(e){if(e===t)return!0;e=e.parentNode}return!1}function se(e,t,n){while(e&&e.nodeType===e.ELEMENT_NODE){if(S(e,t))return e;if(n)if("string"===typeof n){if(S(e,n))return null}else if(e===n)return null;e=e.parentNode}return null}function le(e){return e&&!!e.host&&!!e.mode}function ue(e){return!!ce(e)}function ce(e){while(e.parentNode){if(e===document.body)return null;e=e.parentNode}return le(e)?e:null}function de(e){void 0===e&&(e=document.getElementsByTagName("head")[0]);var t=document.createElement("style");return t.type="text/css",t.media="screen",e.appendChild(t),t}var he=null;function fe(){return he||(he=de()),he}function pe(e){return e&&e.sheet&&e.sheet.rules?e.sheet.rules:e&&e.sheet&&e.sheet.cssRules?e.sheet.cssRules:[]}function ge(e,t,n){void 0===n&&(n=fe()),n&&t&&n.sheet.insertRule(e+"{"+t+"}",0)}function me(e,t){if(void 0===t&&(t=fe()),t){for(var n=pe(t),r=[],i=0;i<n.length;i++){var o=n[i];-1!==o.selectorText.indexOf(e)&&r.push(i)}for(i=r.length-1;i>=0;i--)t.sheet.deleteRule(r[i])}}function ve(e){return"object"===typeof HTMLElement?e instanceof HTMLElement:e&&"object"===typeof e&&1===e.nodeType&&"string"===typeof e.nodeName}var ye={CLICK:"click",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:r["m"]?"webkitAnimationStart":"animationstart",ANIMATION_END:r["m"]?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:r["m"]?"webkitAnimationIteration":"animationiteration"},be={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};function _e(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t}function we(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode}var xe=function(e){function t(t){var n=e.call(this)||this;n._onDidFocus=n._register(new u["a"]),n.onDidFocus=n._onDidFocus.event,n._onDidBlur=n._register(new u["a"]),n.onDidBlur=n._onDidBlur.event;var r=ae(document.activeElement,t),o=!1,a=function(){o=!1,r||(r=!0,n._onDidFocus.fire())},s=function(){r&&(o=!0,window.setTimeout((function(){o&&(o=!1,r=!1,n._onDidBlur.fire())}),0))};return n._refreshStateHandler=function(){var e=ae(document.activeElement,t);e!==r&&(r?s():a())},n._register(Object(i["a"])(t,ye.FOCUS,!0)(a)),n._register(Object(i["a"])(t,ye.BLUR,!0)(s)),n}return g(t,e),t}(c["a"]);function Ce(e){return new xe(e)}function Se(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){return e.appendChild(t)})),t[t.length-1]}var Oe,ke=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/;function Ee(e,t,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o=ke.exec(t);if(!o)throw new Error("Bad use of emmet");n=m({},n||{});var a,s=o[1]||"div";return a=e!==Oe.HTML?document.createElementNS(e,s):document.createElement(s),o[3]&&(a.id=o[3]),o[4]&&(a.className=o[4].replace(/\./g," ").trim()),Object.keys(n).forEach((function(e){var t=n[e];"undefined"!==typeof t&&(/^on\w+$/.test(e)?a[e]=t:"selected"===e?t&&a.setAttribute(e,"true"):a.setAttribute(e,t))})),Object(h["d"])(r).forEach((function(e){e instanceof Node?a.appendChild(e):a.appendChild(document.createTextNode(e))})),a}function De(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return Ee.apply(void 0,v([Oe.HTML,e,t],n))}function Me(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];i.style.display="",i.removeAttribute("aria-hidden")}}function Ne(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var i=r[n];i.style.display="none",i.setAttribute("aria-hidden","true")}}function Le(e,t){while(e&&e.nodeType===e.ELEMENT_NODE){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}function Ie(e){if(e&&e.hasAttribute("tabIndex")){if(document.activeElement===e){var t=Le(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")}}function Te(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)}function Pe(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio}function Ae(e){if(d["f"]||r["g"])window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Re(e){var t=function(){e(),n=z(t)},n=z(t);return Object(c["h"])((function(){return n.dispose()}))}function je(e){return e&&f["b"].vscodeRemote===e.scheme?f["a"].rewrite(e):e}function Fe(e){return e?"url('"+je(e).toString(!0).replace(/'/g,"%27")+"')":"url('')"}(function(e){e["HTML"]="http://www.w3.org/1999/xhtml",e["SVG"]="http://www.w3.org/2000/svg"})(Oe||(Oe={})),De.SVG=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return Ee.apply(void 0,v([Oe.SVG,e,t],n))},f["a"].setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},Em2t:function(e,t,n){var r=n("bahg"),i=n("quyA"),o=n("0JQy");function a(e){return i(e)?o(e):r(e)}e.exports=a},EpBk:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},Ez2D:function(e,t,n){var r=n("bYtY"),i=n("4NO4");function o(e,t){var n,o=[],a=e.seriesIndex;if(null==a||!(n=t.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=i.queryDataIndex(s,e);if(null==l||l<0||r.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)o=c.dataToPoint(s.getValues(r.map(c.dimensions,(function(e){return s.mapDimension(e)})),l,!0))||[];else if(u){var d=u.getBoundingRect().clone();d.applyTransform(u.transform),o=[d.x+d.width/2,d.y+d.height/2]}return{point:o,el:u}}e.exports=o},"F+2o":function(e,t,n){e.exports={default:n("2Nb0"),__esModule:!0}},F0hE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ca2m"),a=n("Qxkt"),s=n("ICMv"),l=o.valueAxis;function u(e,t){return i.defaults({show:t},e)}var c=r.extendComponentModel({type:"radar",optionUpdated:function(){var e=this.get("boundaryGap"),t=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),d=this.get("name.show"),h=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=i.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=c;if(null!=g.color&&(m=i.defaults({color:g.color},c)),g=i.merge(i.clone(g),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:o,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),d||(g.name=""),"string"===typeof h){var v=g.name;g.name=h.replace("{value}",null!=v?v:"")}else"function"===typeof h&&(g.name=h(g.name,g));var y=i.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),d=c;e.exports=d},F5Ls:function(e,t){var n={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]};function r(e,t){if("china"===e){var r=n[t.name];if(r){var i=t.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}e.exports=r},F7hV:function(e,t,n){var r=n("MBQ8"),i=r.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},defaultOption:{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1}}});e.exports=i},F9bG:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4NO4"),a=o.makeInner,s=a(),l=r.each;function u(e,t,n){if(!i.node){var r=t.getZr();s(r).records||(s(r).records={}),c(r,t);var o=s(r).records[e]||(s(r).records[e]={});o.handler=n}}function c(e,t){function n(n,r){e.on(n,(function(n){var i=p(t);l(s(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),d(i.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,n("click",r.curry(f,"click")),n("mousemove",r.curry(f,"mousemove")),n("globalout",h))}function d(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function h(e,t,n){e.handler("leave",null,n)}function f(e,t,n,r){t.handler(e,n,r)}function p(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function g(e,t){if(!i.node){var n=t.getZr(),r=(s(n).records||{})[e];r&&(s(n).records[e]=null)}}t.register=u,t.unregister=g},FBjb:function(e,t,n){var r=n("bYtY"),i=n("oVpE"),o=i.createSymbol,a=n("IwbS"),s=n("OELB"),l=s.parsePercent,u=n("x3X8"),c=u.getDefaultLabel;function d(e,t,n){a.Group.call(this),this.updateData(e,t,n)}var h=d.prototype,f=d.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function p(e){return[e[0]/2,e[1]/2]}function g(e,t){this.parent.drift(e,t)}h._createSymbol=function(e,t,n,r,i){this.removeAll();var a=t.getItemVisual(n,"color"),s=o(e,-1,-1,2,2,a,i);s.attr({z2:100,culling:!0,scale:p(r)}),s.drift=g,this._symbolType=e,this.add(s)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},h.updateData=function(e,t,n){this.silent=!1;var r=e.getItemVisual(t,"symbol")||"circle",i=e.hostModel,o=f(e,t),s=r!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(r,e,t,o,l)}else{var u=this.childAt(0);u.silent=!1,a.updateProps(u,{scale:p(o)},i,t)}if(this._updateCommon(e,t,o,n),s){u=this.childAt(0);var c=n&&n.fadeIn,d={scale:u.scale.slice()};c&&(d.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),a.initProps(u,d,i,t)}this._seriesModel=i};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],b=["emphasis","label"];function _(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(e,t,n,i){var o=this.childAt(0),s=e.hostModel,u=e.getItemVisual(t,"color");"image"!==o.type?o.useStyle({strokeNoScale:!0}):o.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var d=i&&i.itemStyle,h=i&&i.hoverItemStyle,f=i&&i.symbolOffset,g=i&&i.labelModel,w=i&&i.hoverLabelModel,x=i&&i.hoverAnimation,C=i&&i.cursorStyle;if(!i||e.hasItemOption){var S=i&&i.itemModel?i.itemModel:e.getItemModel(t);d=S.getModel(m).getItemStyle(["color"]),h=S.getModel(v).getItemStyle(),f=S.getShallow("symbolOffset"),g=S.getModel(y),w=S.getModel(b),x=S.getShallow("hoverAnimation"),C=S.getShallow("cursor")}else h=r.extend({},h);var O=o.style,k=e.getItemVisual(t,"symbolRotate");o.attr("rotation",(k||0)*Math.PI/180||0),f&&o.attr("position",[l(f[0],n[0]),l(f[1],n[1])]),C&&o.attr("cursor",C),o.setColor(u,i&&i.symbolInnerColor),o.setStyle(d);var E=e.getItemVisual(t,"opacity");null!=E&&(O.opacity=E);var D=e.getItemVisual(t,"liftZ"),M=o.__z2Origin;null!=D?null==M&&(o.__z2Origin=o.z2,o.z2+=D):null!=M&&(o.z2=M,o.__z2Origin=null);var N=i&&i.useNameLabel;function L(t,n){return N?e.getName(t):c(e,t)}a.setLabelStyle(O,h,g,w,{labelFetcher:s,labelDataIndex:t,defaultText:L,isRectText:!0,autoColor:u}),o.__symbolOriginalScale=p(n),o.hoverStyle=h,o.highDownOnUpdate=x&&s.isAnimationEnabled()?_:null,a.setHoverStyle(o)},h.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},r.inherits(d,a.Group);var w=d;e.exports=w},FGaS:function(e,t,n){var r=n("ProS"),i=n("IwbS"),o=n("bYtY"),a=n("oVpE");function s(e){return o.isArray(e)||(e=[+e,+e]),e}var l=r.extendChartView({type:"radar",render:function(e,t,n){var r=e.coordinateSystem,l=this.group,u=e.getData(),c=this._data;function d(e,t){var n=e.getItemVisual(t,"symbol")||"circle",r=e.getItemVisual(t,"color");if("none"!==n){var i=s(e.getItemVisual(t,"symbolSize")),o=a.createSymbol(n,-1,-1,2,2,r);return o.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2]}),o}}function h(t,n,r,o,a,s){r.removeAll();for(var l=0;l<n.length-1;l++){var u=d(o,a);u&&(u.__dimIdx=l,t[l]?(u.attr("position",t[l]),i[s?"initProps":"updateProps"](u,{position:n[l]},e,a)):u.attr("position",n[l]),r.add(u))}}function f(e){return o.map(e,(function(e){return[r.cx,r.cy]}))}u.diff(c).add((function(t){var n=u.getItemLayout(t);if(n){var r=new i.Polygon,o=new i.Polyline,a={shape:{points:n}};r.shape.points=f(n),o.shape.points=f(n),i.initProps(r,a,e,t),i.initProps(o,a,e,t);var s=new i.Group,l=new i.Group;s.add(o),s.add(r),s.add(l),h(o.shape.points,n,l,u,t,!0),u.setItemGraphicEl(t,s)}})).update((function(t,n){var r=c.getItemGraphicEl(n),o=r.childAt(0),a=r.childAt(1),s=r.childAt(2),l={shape:{points:u.getItemLayout(t)}};l.shape.points&&(h(o.shape.points,l.shape.points,s,u,t,!1),i.updateProps(o,l,e),i.updateProps(a,l,e),u.setItemGraphicEl(t,r))})).remove((function(e){l.remove(c.getItemGraphicEl(e))})).execute(),u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t),r=e.childAt(0),a=e.childAt(1),s=e.childAt(2),c=u.getItemVisual(t,"color");l.add(e),r.useStyle(o.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),r.hoverStyle=n.getModel("emphasis.lineStyle").getLineStyle();var d=n.getModel("areaStyle"),h=n.getModel("emphasis.areaStyle"),f=d.isEmpty()&&d.parentModel.isEmpty(),p=h.isEmpty()&&h.parentModel.isEmpty();p=p&&f,a.ignore=f,a.useStyle(o.defaults(d.getAreaStyle(),{fill:c,opacity:.7})),a.hoverStyle=h.getAreaStyle();var g=n.getModel("itemStyle").getItemStyle(["color"]),m=n.getModel("emphasis.itemStyle").getItemStyle(),v=n.getModel("label"),y=n.getModel("emphasis.label");s.eachChild((function(e){e.setStyle(g),e.hoverStyle=o.clone(m);var n=u.get(u.dimensions[e.__dimIdx],t);(null==n||isNaN(n))&&(n=""),i.setLabelStyle(e.style,e.hoverStyle,v,y,{labelFetcher:u.hostModel,labelDataIndex:t,labelDimIndex:e.__dimIdx,defaultText:n,autoColor:c,isRectText:!0})})),e.highDownOnUpdate=function(e,t){a.attr("ignore","emphasis"===t?p:f)},i.setHoverStyle(e)})),this._data=u},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});e.exports=l},FH2Y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("ZMnZ"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},FIfw:function(e,t,n){},FNN5:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("+rIm"),a=n("Znkb"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],u=a.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,a=i.getAngleAxis(),u=n.getTicksCoords(),d=n.getMinorTicksCoords(),h=a.getExtent()[0],f=n.getExtent(),p=c(i,e,h),g=new o(e,p);r.each(s,g.add,g),this.group.add(g.getGroup()),r.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,i,h,f,u,d)}),this)}},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=0;h<a.length;h++){var f=c++%u.length;d[f]=d[f]||[],d[f].push(new i.Circle({shape:{cx:t.cx,cy:t.cy,r:a[h].coord}}))}for(h=0;h<d.length;h++)this.group.add(i.mergePath(d[h],{style:r.defaults({stroke:u[h%u.length],fill:null},l.getLineStyle()),silent:!0}))},_minorSplitLine:function(e,t,n,o,a,s){if(s.length){for(var l=e.getModel("minorSplitLine"),u=l.getModel("lineStyle"),c=[],d=0;d<s.length;d++)for(var h=0;h<s[d].length;h++)c.push(new i.Circle({shape:{cx:t.cx,cy:t.cy,r:s[d][h].coord}}));this.group.add(i.mergePath(c,{style:r.defaults({fill:null},u.getLineStyle()),silent:!0}))}},_splitArea:function(e,t,n,o,a){if(a.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=a[0].coord,f=1;f<a.length;f++){var p=c++%u.length;d[p]=d[p]||[],d[p].push(new i.Sector({shape:{cx:t.cx,cy:t.cy,r0:h,r:a[f].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=a[f].coord}for(f=0;f<d.length;f++)this.group.add(i.mergePath(d[f],{style:r.defaults({fill:u[f%u.length]},l.getAreaStyle()),silent:!0}))}}});function c(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}e.exports=u},FUi9:function(e,t,n){var r=n("bYtY"),i=n("MwEJ"),o=n("aX7z"),a=n("ICMv"),s=n("Qxkt"),l=n("+TT/");l.getLayoutRect;t.getLayoutRect=l.getLayoutRect;var u=n("7hqr"),c=u.enableDataStack,d=u.isDimensionStacked,h=u.getStackedDimension,f=n("hi0g");t.completeDimensions=f;var p=n("sdST");t.createDimensions=p;var g=n("oVpE");function m(e){return i(e.getSource(),e)}t.createSymbol=g.createSymbol;var v={isDimensionStacked:d,enableDataStack:c,getStackedDimension:h};function y(e,t){var n=t;s.isInstance(t)||(n=new s(t),r.mixin(n,a));var i=o.createScaleByModel(n);return i.setExtent(e[0],e[1]),o.niceScaleExtent(i,n),i}function b(e){r.mixin(e,a)}t.createList=m,t.dataStack=v,t.createScale=y,t.mixinAxisModelCommonMethods=b},FWmy:function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}n.d(t,"a",(function(){return r}))},FYw3:function(e,t,n){"use strict";t.__esModule=!0;var r=n("EJiy"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},"Fa/5":function(e,t,n){var r=n("ProS");n("y2l5"),n("q/+u");var i=n("f5Yq"),o=n("h8O9");n("Ae16"),r.registerVisual(i("scatter","circle")),r.registerLayout(o("scatter"))},FhB9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"};t.default=r},FhTr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};t.default=r},FlQf:function(e,t,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"Fm1+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("a7Wl")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="CaretUpOutlined";var u=o.forwardRef(l);t.default=u},Fofx:function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function r(){var e=new n(6);return i(e),e}function i(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function a(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function s(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function l(e,t,n){var r=t[0],i=t[2],o=t[4],a=t[1],s=t[3],l=t[5],u=Math.sin(n),c=Math.cos(n);return e[0]=r*c+a*u,e[1]=-r*u+a*c,e[2]=i*c+s*u,e[3]=-i*u+c*s,e[4]=c*o+u*l,e[5]=c*l-u*o,e}function u(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function c(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}function d(e){var t=r();return o(t,e),t}t.create=r,t.identity=i,t.copy=o,t.mul=a,t.translate=s,t.rotate=l,t.scale=u,t.invert=c,t.clone=d},FvUK:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return n.e(186).then(n.bind(null,"OfHX"))}})},FxDU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=n("QO+J"),i=n("j5sG"),o="undefined"!==typeof ResizeObserver?i.createSensor:r.createSensor;t.createSensor=o},G2kB:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("Cg/j"),i=Object(r["c"])("modelService");function o(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},G300:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("EffR"),i=n("uDWl"),o=n("XSiN"),a=n("pmY6"),s=n("pg8w"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.onclick=function(e,t){this._register(r["i"](e,r["c"].CLICK,(function(e){return t(new o["a"](e))})))},t.prototype.onmousedown=function(e,t){this._register(r["i"](e,r["c"].MOUSE_DOWN,(function(e){return t(new o["a"](e))})))},t.prototype.onmouseover=function(e,t){this._register(r["i"](e,r["c"].MOUSE_OVER,(function(e){return t(new o["a"](e))})))},t.prototype.onnonbubblingmouseout=function(e,t){this._register(r["j"](e,(function(e){return t(new o["a"](e))})))},t.prototype.onkeydown=function(e,t){this._register(r["i"](e,r["c"].KEY_DOWN,(function(e){return t(new i["a"](e))})))},t.prototype.onkeyup=function(e,t){this._register(r["i"](e,r["c"].KEY_UP,(function(e){return t(new i["a"](e))})))},t.prototype.oninput=function(e,t){this._register(r["i"](e,r["c"].INPUT,t))},t.prototype.onblur=function(e,t){this._register(r["i"](e,r["c"].BLUR,t))},t.prototype.onfocus=function(e,t){this._register(r["i"](e,r["c"].FOCUS,t))},t.prototype.ignoreGesture=function(e){s["b"].ignoreTarget(e)},t}(a["a"])},GGyF:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("wgjA")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="LeftOutlined";var u=o.forwardRef(l);t.default=u},GIiI:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="PoweroffOutlined";t["a"]=r["forwardRef"](s)},GJhM:function(e,t,n){"use strict";n.d(t,"b",(function(){return A})),n.d(t,"c",(function(){return R})),n.d(t,"a",(function(){return j}));n("eq1K");var r=n("D3Dy"),i=n("EffR"),o=n("ZlPH"),a=n("XSiN"),s=n("AKMP"),l=n("G300"),u=n("X+cX"),c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=11,h=function(e){function t(t){var n=e.call(this)||this;return n._onActivate=t.onActivate,n.bgDomNode=document.createElement("div"),n.bgDomNode.className="arrow-background",n.bgDomNode.style.position="absolute",n.bgDomNode.style.width=t.bgWidth+"px",n.bgDomNode.style.height=t.bgHeight+"px","undefined"!==typeof t.top&&(n.bgDomNode.style.top="0px"),"undefined"!==typeof t.left&&(n.bgDomNode.style.left="0px"),"undefined"!==typeof t.bottom&&(n.bgDomNode.style.bottom="0px"),"undefined"!==typeof t.right&&(n.bgDomNode.style.right="0px"),n.domNode=document.createElement("div"),n.domNode.className=t.className,n.domNode.style.position="absolute",n.domNode.style.width=d+"px",n.domNode.style.height=d+"px","undefined"!==typeof t.top&&(n.domNode.style.top=t.top+"px"),"undefined"!==typeof t.left&&(n.domNode.style.left=t.left+"px"),"undefined"!==typeof t.bottom&&(n.domNode.style.bottom=t.bottom+"px"),"undefined"!==typeof t.right&&(n.domNode.style.right=t.right+"px"),n._mouseMoveMonitor=n._register(new s["a"]),n.onmousedown(n.bgDomNode,(function(e){return n._arrowMouseDown(e)})),n.onmousedown(n.domNode,(function(e){return n._arrowMouseDown(e)})),n._mousedownRepeatTimer=n._register(new u["c"]),n._mousedownScheduleRepeatTimer=n._register(new u["e"]),n}return c(t,e),t.prototype._arrowMouseDown=function(e){var t=this,n=function(){t._mousedownRepeatTimer.cancelAndSet((function(){return t._onActivate()}),1e3/24)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(n,200),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s["b"],(function(e){}),(function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()})),e.preventDefault()},t}(l["a"]),f=n("pmY6"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e){function t(t,n,r){var i=e.call(this)||this;return i._visibility=t,i._visibleClassName=n,i._invisibleClassName=r,i._domNode=null,i._isVisible=!1,i._isNeeded=!1,i._shouldBeVisible=!1,i._revealTimer=i._register(new u["e"]),i}return p(t,e),t.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},t.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},t.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},t.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},t.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},t.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet((function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)}),0))},t.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},t}(f["a"]),m=n("MNsG"),v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=140,b=function(e){function t(t){var n=e.call(this)||this;return n._lazyRender=t.lazyRender,n._host=t.host,n._scrollable=t.scrollable,n._scrollbarState=t.scrollbarState,n._visibilityController=n._register(new g(t.visibility,"visible scrollbar "+t.extraScrollbarClassName,"invisible scrollbar "+t.extraScrollbarClassName)),n._visibilityController.setIsNeeded(n._scrollbarState.isNeeded()),n._mouseMoveMonitor=n._register(new s["a"]),n._shouldRender=!0,n.domNode=Object(o["b"])(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n._visibilityController.setDomNode(n.domNode),n.domNode.setPosition("absolute"),n.onmousedown(n.domNode.domNode,(function(e){return n._domNodeMouseDown(e)})),n}return v(t,e),t.prototype._createArrow=function(e){var t=this._register(new h(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},t.prototype._createSlider=function(e,t,n,r){var i=this;this.slider=Object(o["b"])(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(e),this.slider.setLeft(t),"number"===typeof n&&this.slider.setWidth(n),"number"===typeof r&&this.slider.setHeight(r),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,(function(e){e.leftButton&&(e.preventDefault(),i._sliderMouseDown(e,(function(){})))})),this.onclick(this.slider.domNode,(function(e){e.leftButton&&e.stopPropagation()}))},t.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},t.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},t.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},t.prototype.render=function(){this._shouldRender&&(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))},t.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},t.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),r=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),i=this._sliderMousePosition(e);n<=i&&i<=r?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){}))):this._onMouseDown(e)},t.prototype._onMouseDown=function(e){var t,n;if(e.target===this.domNode.domNode&&"number"===typeof e.browserEvent.offsetX&&"number"===typeof e.browserEvent.offsetY)t=e.browserEvent.offsetX,n=e.browserEvent.offsetY;else{var r=i["B"](this.domNode.domNode);t=e.posx-r.left,n=e.posy-r.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,(function(){})))},t.prototype._sliderMouseDown=function(e,t){var n=this,r=this._sliderMousePosition(e),i=this._sliderOrthogonalMousePosition(e),o=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(e.target,e.buttons,s["b"],(function(e){var t=n._sliderOrthogonalMousePosition(e),a=Math.abs(t-i);if(m["h"]&&a>y)n._setDesiredScrollPositionNow(o.getScrollPosition());else{var s=n._sliderMousePosition(e),l=s-r;n._setDesiredScrollPositionNow(o.getDesiredScrollPositionFromDelta(l))}}),(function(){n.slider.toggleClassName("active",!1),n._host.onDragEnd(),t()})),this._host.onDragStart()},t.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},t}(l["a"]),_=20,w=function(){function e(e,t,n,r,i,o){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=r,this._scrollSize=i,this._scrollPosition=o,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}return e.prototype.clone=function(){return new e(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)},e.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},e.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},e._computeValues=function(e,t,n,r,i){var o=Math.max(0,n-e),a=Math.max(0,o-2*t),s=r>0&&r>n;if(!s)return{computedAvailableSize:Math.round(o),computedIsNeeded:s,computedSliderSize:Math.round(a),computedSliderRatio:0,computedSliderPosition:0};var l=Math.round(Math.max(_,Math.floor(n*a/r))),u=(a-l)/(r-n),c=i*u;return{computedAvailableSize:Math.round(o),computedIsNeeded:s,computedSliderSize:Math.round(l),computedSliderRatio:u,computedSliderPosition:Math.round(c)}},e.prototype._refreshComputedValues=function(){var t=e._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=t.computedAvailableSize,this._computedIsNeeded=t.computedIsNeeded,this._computedSliderSize=t.computedSliderSize,this._computedSliderRatio=t.computedSliderRatio,this._computedSliderPosition=t.computedSliderPosition},e.prototype.getArrowSize=function(){return this._arrowSize},e.prototype.getScrollPosition=function(){return this._scrollPosition},e.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},e.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},e.prototype.isNeeded=function(){return this._computedIsNeeded},e.prototype.getSliderSize=function(){return this._computedSliderSize},e.prototype.getSliderPosition=function(){return this._computedSliderPosition},e.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},e}(),x=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(e){function t(t,n,r){var i=this,o=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(i=e.call(this,{lazyRender:n.lazyRender,host:r,scrollbarState:new w(n.horizontalHasArrows?n.arrowSize:0,2===n.horizontal?0:n.horizontalScrollbarSize,2===n.vertical?0:n.verticalScrollbarSize,o.width,o.scrollWidth,s.scrollLeft),visibility:n.horizontal,extraScrollbarClassName:"horizontal",scrollable:t})||this,n.horizontalHasArrows){var l=(n.arrowSize-d)/2,u=(n.horizontalScrollbarSize-d)/2;i._createArrow({className:"left-arrow",top:u,left:l,bottom:void 0,right:void 0,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return i._host.onMouseWheel(new a["b"](null,1,0))}}),i._createArrow({className:"right-arrow",top:u,left:void 0,bottom:void 0,right:l,bgWidth:n.arrowSize,bgHeight:n.horizontalScrollbarSize,onActivate:function(){return i._host.onMouseWheel(new a["b"](null,-1,0))}})}return i._createSlider(Math.floor((n.horizontalScrollbarSize-n.horizontalSliderSize)/2),0,void 0,n.horizontalSliderSize),i}return x(t,e),t.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(e.width)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return e},t.prototype._sliderMousePosition=function(e){return e.posx},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},t.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},t}(b),S=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),O=function(e){function t(t,n,r){var i=this,o=t.getScrollDimensions(),s=t.getCurrentScrollPosition();if(i=e.call(this,{lazyRender:n.lazyRender,host:r,scrollbarState:new w(n.verticalHasArrows?n.arrowSize:0,2===n.vertical?0:n.verticalScrollbarSize,0,o.height,o.scrollHeight,s.scrollTop),visibility:n.vertical,extraScrollbarClassName:"vertical",scrollable:t})||this,n.verticalHasArrows){var l=(n.arrowSize-d)/2,u=(n.verticalScrollbarSize-d)/2;i._createArrow({className:"up-arrow",top:l,left:u,bottom:void 0,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return i._host.onMouseWheel(new a["b"](null,0,1))}}),i._createArrow({className:"down-arrow",top:void 0,left:u,bottom:l,right:void 0,bgWidth:n.verticalScrollbarSize,bgHeight:n.arrowSize,onActivate:function(){return i._host.onMouseWheel(new a["b"](null,0,-1))}})}return i._createSlider(0,Math.floor((n.verticalScrollbarSize-n.verticalSliderSize)/2),n.verticalSliderSize,void 0),i}return S(t,e),t.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},t.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},t.prototype.onDidScroll=function(e){return this._shouldRender=this._onElementScrollSize(e.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(e.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(e.height)||this._shouldRender,this._shouldRender},t.prototype._mouseDownRelativePosition=function(e,t){return t},t.prototype._sliderMousePosition=function(e){return e.posy},t.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},t.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},t}(b),k=n("MI8n"),E=n("QuOb"),D=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=500,N=50,L=!0,I=function(){function e(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0}return e}(),T=function(){function e(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}return e.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;var e=1,t=0,n=1,r=this._rear;do{var i=r===this._front?e:Math.pow(2,-n);if(e-=i,t+=this._memory[r].score*i,r===this._front)break;r=(this._capacity+r-1)%this._capacity,n++}while(1);return t<=.5},e.prototype.accept=function(e,t,n){var r=new I(e,t,n);r.score=this._computeScore(r),-1===this._front&&-1===this._rear?(this._memory[0]=r,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=r)},e.prototype._computeScore=function(e){if(Math.abs(e.deltaX)>0&&Math.abs(e.deltaY)>0)return 1;var t=.5;-1===this._front&&-1===this._rear||this._memory[this._rear];return(Math.abs(e.deltaX-Math.round(e.deltaX))>0||Math.abs(e.deltaY-Math.round(e.deltaY))>0)&&(t+=.25),Math.min(Math.max(t,0),1)},e.INSTANCE=new e,e}(),P=function(e){function t(t,n,r){var i=e.call(this)||this;i._onScroll=i._register(new k["a"]),i.onScroll=i._onScroll.event,t.style.overflow="hidden",i._options=F(n),i._scrollable=r,i._register(i._scrollable.onScroll((function(e){i._onDidScroll(e),i._onScroll.fire(e)})));var a={onMouseWheel:function(e){return i._onMouseWheel(e)},onDragStart:function(){return i._onDragStart()},onDragEnd:function(){return i._onDragEnd()}};return i._verticalScrollbar=i._register(new O(i._scrollable,i._options,a)),i._horizontalScrollbar=i._register(new C(i._scrollable,i._options,a)),i._domNode=document.createElement("div"),i._domNode.className="monaco-scrollable-element "+i._options.className,i._domNode.setAttribute("role","presentation"),i._domNode.style.position="relative",i._domNode.style.overflow="hidden",i._domNode.appendChild(t),i._domNode.appendChild(i._horizontalScrollbar.domNode.domNode),i._domNode.appendChild(i._verticalScrollbar.domNode.domNode),i._options.useShadows?(i._leftShadowDomNode=Object(o["b"])(document.createElement("div")),i._leftShadowDomNode.setClassName("shadow"),i._domNode.appendChild(i._leftShadowDomNode.domNode),i._topShadowDomNode=Object(o["b"])(document.createElement("div")),i._topShadowDomNode.setClassName("shadow"),i._domNode.appendChild(i._topShadowDomNode.domNode),i._topLeftShadowDomNode=Object(o["b"])(document.createElement("div")),i._topLeftShadowDomNode.setClassName("shadow top-left-corner"),i._domNode.appendChild(i._topLeftShadowDomNode.domNode)):(i._leftShadowDomNode=null,i._topShadowDomNode=null,i._topLeftShadowDomNode=null),i._listenOnDomNode=i._options.listenOnDomNode||i._domNode,i._mouseWheelToDispose=[],i._setListeningToMouseWheel(i._options.handleMouseWheel),i.onmouseover(i._listenOnDomNode,(function(e){return i._onMouseOver(e)})),i.onnonbubblingmouseout(i._listenOnDomNode,(function(e){return i._onMouseOut(e)})),i._hideTimeout=i._register(new u["e"]),i._isDragging=!1,i._mouseIsOver=!1,i._shouldRender=!0,i._revealOnScroll=!0,i}return D(t,e),t.prototype.dispose=function(){this._mouseWheelToDispose=Object(f["f"])(this._mouseWheelToDispose),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},t.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},t.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},t.prototype.updateClassName=function(e){this._options.className=e,m["e"]&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},t.prototype.updateOptions=function(e){var t=F(e);this._options.handleMouseWheel=t.handleMouseWheel,this._options.mouseWheelScrollSensitivity=t.mouseWheelScrollSensitivity,this._options.fastScrollSensitivity=t.fastScrollSensitivity,this._setListeningToMouseWheel(this._options.handleMouseWheel),this._options.lazyRender||this._render()},t.prototype._setListeningToMouseWheel=function(e){var t=this,n=this._mouseWheelToDispose.length>0;if(n!==e&&(this._mouseWheelToDispose=Object(f["f"])(this._mouseWheelToDispose),e)){var o=function(e){t._onMouseWheel(new a["b"](e))};this._mouseWheelToDispose.push(i["i"](this._listenOnDomNode,r["f"]?"mousewheel":"wheel",o,{passive:!1}))}},t.prototype._onMouseWheel=function(e){var t,n=T.INSTANCE;if(L&&n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var r=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(t=[i,r],r=t[0],i=t[1]);var o=!m["e"]&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!o||i||(i=r,r=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,r*=this._options.fastScrollSensitivity);var a=this._scrollable.getFutureScrollPosition(),s={};if(r){var l=a.scrollTop-N*r;this._verticalScrollbar.writeScrollPosition(s,l)}if(i){var u=a.scrollLeft-N*i;this._horizontalScrollbar.writeScrollPosition(s,u)}if(s=this._scrollable.validateScrollPosition(s),a.scrollLeft!==s.scrollLeft||a.scrollTop!==s.scrollTop){var c=L&&this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel();c?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),this._shouldRender=!0}}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},t.prototype._onDidScroll=function(e){this._shouldRender=this._horizontalScrollbar.onDidScroll(e)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(e)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()},t.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},t.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=e.scrollTop>0,n=e.scrollLeft>0;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},t.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},t.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},t.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},t.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},t.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},t.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},t.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet((function(){return e._hide()}),M)},t}(l["a"]),A=function(e){function t(t,n){var r=this;n=n||{},n.mouseWheelSmoothScroll=!1;var o=new E["a"](0,(function(e){return i["V"](e)}));return r=e.call(this,t,n,o)||this,r._register(o),r}return D(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(P),R=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}return D(t,e),t}(P),j=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._element=t,r.onScroll((function(e){e.scrollTopChanged&&(r._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(r._element.scrollLeft=e.scrollLeft)})),r.scanDomNode(),r}return D(t,e),t.prototype.scanDomNode=function(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})},t}(A);function F(e){var t={lazyRender:"undefined"!==typeof e.lazyRender&&e.lazyRender,className:"undefined"!==typeof e.className?e.className:"",useShadows:"undefined"===typeof e.useShadows||e.useShadows,handleMouseWheel:"undefined"===typeof e.handleMouseWheel||e.handleMouseWheel,flipAxes:"undefined"!==typeof e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:"undefined"!==typeof e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:"undefined"!==typeof e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:"undefined"!==typeof e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:"undefined"!==typeof e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:"undefined"===typeof e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:"undefined"!==typeof e.arrowSize?e.arrowSize:11,listenOnDomNode:"undefined"!==typeof e.listenOnDomNode?e.listenOnDomNode:null,horizontal:"undefined"!==typeof e.horizontal?e.horizontal:1,horizontalScrollbarSize:"undefined"!==typeof e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:"undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:"undefined"!==typeof e.horizontalHasArrows&&e.horizontalHasArrows,vertical:"undefined"!==typeof e.vertical?e.vertical:1,verticalScrollbarSize:"undefined"!==typeof e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:"undefined"!==typeof e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:"undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize="undefined"!==typeof e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize="undefined"!==typeof e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,m["e"]&&(t.className+=" mac"),t}},GMDS:function(e,t,n){var r=n("bYtY"),i=n("4NgU"),o=n("jkPA"),a=i.prototype,s=i.extend({type:"ordinal",init:function(e,t){e&&!r.isArray(e)||(e=new o({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),a.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return a.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(a.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});s.create=function(){return new s};var l=s;e.exports=l},"GR/f":function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return y}));var r=n("/cxE"),i=n("N0LK"),o=n("LCkn"),a=n("Ll0s"),s=n("aokT"),l=n("gCVg"),u=n("cMvZ"),c=Object.create(null);function d(e,t){c[e]||(c[e]=["",e]);for(var n=c[e],r=n.length;r<=t;r++)n[r]=n[r-1]+e;return n[t]}var h=function(){function e(e,t){this._opts=t,this._selection=e,this._selectionId=null,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}return e.unshiftIndent=function(e,t,n,r,i){var o=a["a"].visibleColumnFromColumn(e,t,n);if(i){var s=d(" ",r),l=a["a"].prevIndentTabStop(o,r),u=l/r;return d(s,u)}s="\t",l=a["a"].prevRenderTabStop(o,n),u=l/n;return d(s,u)},e.shiftIndent=function(e,t,n,r,i){var o=a["a"].visibleColumnFromColumn(e,t,n);if(i){var s=d(" ",r),l=a["a"].nextIndentTabStop(o,r),u=l/r;return d(s,u)}s="\t",l=a["a"].nextRenderTabStop(o,n),u=l/n;return d(s,u)},e.prototype._addEditOperation=function(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)},e.prototype.getEditOperations=function(t,n){var r=this._selection.startLineNumber,o=this._selection.endLineNumber;1===this._selection.endColumn&&r!==o&&(o-=1);var l=this._opts,c=l.tabSize,h=l.indentSize,f=l.insertSpaces,p=r===o;if(this._selection.isEmpty()&&/^\s*$/.test(t.getLineContent(r))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var g=0,m=0,v=r;v<=o;v++,g=m){m=0;var y=t.getLineContent(v),b=i["q"](y);if((!this._opts.isUnshift||0!==y.length&&0!==b)&&(p||this._opts.isUnshift||0!==y.length)){if(-1===b&&(b=y.length),v>1){var _=a["a"].visibleColumnFromColumn(y,b+1,c);if(_%h!==0&&t.isCheapToTokenize(v-1)){var w=u["a"].getEnterAction(this._opts.autoIndent,t,new s["a"](v-1,t.getLineMaxColumn(v-1),v-1,t.getLineMaxColumn(v-1)));if(w){if(m=g,w.appendText)for(var x=0,C=w.appendText.length;x<C&&m<h;x++){if(32!==w.appendText.charCodeAt(x))break;m++}w.removeText&&(m=Math.max(0,m-w.removeText));for(x=0;x<m;x++){if(0===b||32!==y.charCodeAt(b-1))break;b--}}}}if(!this._opts.isUnshift||0!==b){var S=void 0;S=this._opts.isUnshift?e.unshiftIndent(y,b+1,c,h,f):e.shiftIndent(y,b+1,c,h,f),this._addEditOperation(n,new s["a"](v,1,v,b+1),S),v!==r||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=b+1)}}}else{var O=f?d(" ",h):"\t";for(v=r;v<=o;v++){y=t.getLineContent(v),b=i["q"](y);if((!this._opts.isUnshift||0!==y.length&&0!==b)&&((p||this._opts.isUnshift||0!==y.length)&&(-1===b&&(b=y.length),!this._opts.isUnshift||0!==b)))if(this._opts.isUnshift){b=Math.min(b,h);for(var k=0;k<b;k++){var E=y.charCodeAt(k);if(9===E){b=k+1;break}}this._addEditOperation(n,new s["a"](v,1,v,b+1),"")}else this._addEditOperation(n,new s["a"](v,1,v,1),O),v!==r||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}}this._selectionId=n.trackSelection(this._selection)},e.prototype.computeCursorState=function(e,t){if(this._useLastEditRangeForCursorEndPosition){var n=t.getInverseEditOperations()[0];return new l["a"](n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}var r=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var i=this._selection.startColumn,o=r.startColumn;return o<=i?r:0===r.getDirection()?new l["a"](r.startLineNumber,i,r.endLineNumber,r.endColumn):new l["a"](r.endLineNumber,r.endColumn,r.startLineNumber,i)}return r},e}(),f=function(){function e(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(new s["a"](this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new s["a"](this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),r=n[0].range,i=n[1].range;return new l["a"](r.endLineNumber,r.endColumn,i.endLineNumber,i.endColumn-this._charAfterSelection.length)},e}(),p=n("5v8Y"),g=n("KDc4"),m=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(){function e(){}return e.indent=function(e,t,n){if(null===t||null===n)return[];for(var r=[],i=0,o=n.length;i<o;i++)r[i]=new h(n[i],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return r},e.outdent=function(e,t,n){for(var r=[],i=0,o=n.length;i<o;i++)r[i]=new h(n[i],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent});return r},e.shiftIndent=function(e,t,n){return n=n||1,h.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e.unshiftIndent=function(e,t,n){return n=n||1,h.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},e._distributedPaste=function(e,t,n,r){for(var i=[],s=0,l=n.length;s<l;s++)i[s]=new o["a"](n[s],r[s]);return new a["e"](0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._simplePaste=function(e,t,n,r,i){for(var l=[],u=0,c=n.length;u<c;u++){var d=n[u],h=d.getPosition();if(i&&!d.isEmpty()&&(i=!1),i&&r.indexOf("\n")!==r.length-1&&(i=!1),i){var f=new s["a"](h.lineNumber,1,h.lineNumber,1);l[u]=new o["b"](f,r,d,!0)}else l[u]=new o["a"](d,r)}return new a["e"](0,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._distributePasteToCursors=function(e,t,n,r,i){if(r)return null;if(1===t.length)return null;if(i&&i.length===t.length)return i;if("spread"===e.multiCursorPaste){10===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1)),13===n.charCodeAt(n.length-1)&&(n=n.substr(0,n.length-1));var o=n.split(/\r\n|\r|\n/);if(o.length===t.length)return o}return null},e.paste=function(e,t,n,r,i,o){var a=this._distributePasteToCursors(e,n,r,i,o);return a?(n=n.sort(s["a"].compareRangesUsingStarts),this._distributedPaste(e,t,n,a)):this._simplePaste(e,t,n,r,i)},e._goodIndentForLine=function(t,n,r){var o=null,a="",l=u["a"].getInheritIndentForLine(t.autoIndent,n,r,!1);if(l)o=l.action,a=l.indentation;else if(r>1){var c=void 0;for(c=r-1;c>=1;c--){var d=n.getLineContent(c),h=i["D"](d);if(h>=0)break}if(c<1)return null;var f=n.getLineMaxColumn(c),p=u["a"].getEnterAction(t.autoIndent,n,new s["a"](c,f,c,f));p&&(a=p.indentation+p.appendText)}return o&&(o===g["a"].Indent&&(a=e.shiftIndent(t,a)),o===g["a"].Outdent&&(a=e.unshiftIndent(t,a)),a=t.normalizeIndentation(a)),a||null},e._replaceJumpToNextIndent=function(e,t,n,r){var i="",s=n.getStartPosition();if(e.insertSpaces)for(var l=a["a"].visibleColumnFromColumn2(e,t,s),u=e.indentSize,c=u-l%u,d=0;d<c;d++)i+=" ";else i="\t";return new o["a"](n,i,r)},e.tab=function(e,t,n){for(var r=[],a=0,l=n.length;a<l;a++){var u=n[a];if(u.isEmpty()){var c=t.getLineContent(u.startLineNumber);if(/^\s*$/.test(c)&&t.isCheapToTokenize(u.startLineNumber)){var d=this._goodIndentForLine(e,t,u.startLineNumber);d=d||"\t";var f=e.normalizeIndentation(d);if(!i["M"](c,f)){r[a]=new o["a"](new s["a"](u.startLineNumber,1,u.startLineNumber,c.length+1),f,!0);continue}}r[a]=this._replaceJumpToNextIndent(e,t,u,!0)}else{if(u.startLineNumber===u.endLineNumber){var p=t.getLineMaxColumn(u.startLineNumber);if(1!==u.startColumn||u.endColumn!==p){r[a]=this._replaceJumpToNextIndent(e,t,u,!1);continue}}r[a]=new h(u,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops,autoIndent:e.autoIndent})}}return r},e.replacePreviousChar=function(e,t,n,r,i,l){for(var u=[],c=0,d=r.length;c<d;c++){var h=r[c];if(h.isEmpty()){var f=h.getPosition(),p=Math.max(1,f.column-l),g=new s["a"](f.lineNumber,p,f.lineNumber,f.column);u[c]=new o["a"](g,i)}else u[c]=null}return new a["e"](1,u,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._typeCommand=function(e,t,n){return n?new o["d"](e,t,!0):new o["a"](e,t,!0)},e._enter=function(t,n,r,l){if(0===t.autoIndent)return e._typeCommand(l,"\n",r);if(!n.isCheapToTokenize(l.getStartPosition().lineNumber)||1===t.autoIndent){var c=n.getLineContent(l.startLineNumber),d=i["t"](c).substring(0,l.startColumn-1);return e._typeCommand(l,"\n"+t.normalizeIndentation(d),r)}var h=u["a"].getEnterAction(t.autoIndent,n,l);if(h){if(h.indentAction===g["a"].None)return e._typeCommand(l,"\n"+t.normalizeIndentation(h.indentation+h.appendText),r);if(h.indentAction===g["a"].Indent)return e._typeCommand(l,"\n"+t.normalizeIndentation(h.indentation+h.appendText),r);if(h.indentAction===g["a"].IndentOutdent){var f=t.normalizeIndentation(h.indentation),p=t.normalizeIndentation(h.indentation+h.appendText),m="\n"+p+"\n"+f;return r?new o["d"](l,m,!0):new o["c"](l,m,-1,p.length-f.length,!0)}if(h.indentAction===g["a"].Outdent){var v=e.unshiftIndent(t,h.indentation);return e._typeCommand(l,"\n"+t.normalizeIndentation(v+h.appendText),r)}}var y=n.getLineContent(l.startLineNumber),b=i["t"](y).substring(0,l.startColumn-1);if(t.autoIndent>=4){var _=u["a"].getIndentForEnter(t.autoIndent,n,l,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(_){var w=a["a"].visibleColumnFromColumn2(t,n,l.getEndPosition()),x=l.endColumn,C="\n";b!==t.normalizeIndentation(_.beforeEnter)&&(C=t.normalizeIndentation(_.beforeEnter)+y.substring(b.length,l.startColumn-1)+"\n",l=new s["a"](l.startLineNumber,1,l.endLineNumber,l.endColumn));var S=n.getLineContent(l.endLineNumber),O=i["q"](S);if(l=O>=0?l.setEndPosition(l.endLineNumber,Math.max(l.endColumn,O+1)):l.setEndPosition(l.endLineNumber,n.getLineMaxColumn(l.endLineNumber)),r)return new o["d"](l,C+t.normalizeIndentation(_.afterEnter),!0);var k=0;return x<=O+1&&(t.insertSpaces||(w=Math.ceil(w/t.indentSize)),k=Math.min(w+1-t.normalizeIndentation(_.afterEnter).length-1,0)),new o["c"](l,C+t.normalizeIndentation(_.afterEnter),0,k,!0)}}return e._typeCommand(l,"\n"+t.normalizeIndentation(b),r)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var r=0,i=n.length;r<i;r++)if(!t.isCheapToTokenize(n[r].getEndPosition().lineNumber))return!1;return!0},e._runAutoIndentType=function(t,n,r,i){var o=u["a"].getIndentationAtPosition(n,r.startLineNumber,r.startColumn),a=u["a"].getIndentActionForType(t.autoIndent,n,r,i,{shiftIndent:function(n){return e.shiftIndent(t,n)},unshiftIndent:function(n){return e.unshiftIndent(t,n)}});if(null===a)return null;if(a!==t.normalizeIndentation(o)){var l=n.getLineFirstNonWhitespaceColumn(r.startLineNumber);return 0===l?e._typeCommand(new s["a"](r.startLineNumber,0,r.endLineNumber,r.endColumn),t.normalizeIndentation(a)+i,!1):e._typeCommand(new s["a"](r.startLineNumber,0,r.endLineNumber,r.endColumn),t.normalizeIndentation(a)+n.getLineContent(r.startLineNumber).substring(l-1,r.startColumn-1)+i,!1)}return null},e._isAutoClosingOvertype=function(e,t,n,r,i){if("never"===e.autoClosingOvertype)return!1;if(!e.autoClosingPairsClose2.has(i))return!1;for(var o=0,s=n.length;o<s;o++){var l=n[o];if(!l.isEmpty())return!1;var u=l.getPosition(),c=t.getLineContent(u.lineNumber),d=c.charAt(u.column-1);if(d!==i)return!1;var h=Object(a["g"])(i),f=u.column>2?c.charCodeAt(u.column-2):0;if(92===f&&h)return!1;if("auto"===e.autoClosingOvertype){for(var p=!1,g=0,m=r.length;g<m;g++){var v=r[g];if(u.lineNumber===v.startLineNumber&&u.column===v.startColumn){p=!0;break}}if(!p)return!1}}return!0},e._runAutoClosingOvertype=function(e,t,n,r,i){for(var l=[],u=0,c=r.length;u<c;u++){var d=r[u],h=d.getPosition(),f=new s["a"](h.lineNumber,h.column,h.lineNumber,h.column+1);l[u]=new o["a"](f,i)}return new a["e"](1,l,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e._autoClosingPairIsSymmetric=function(e){var t=e.open,n=e.close;return t.indexOf(n)>=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,r){var i=t.autoClosingPairsClose2.get(r);if(!i)return!1;for(var o=e._autoClosingPairIsSymmetric(n),a=0,s=i;a<s.length;a++){var l=s[a],u=e._autoClosingPairIsSymmetric(l);if(o||!u)return!0}return!1},e._findAutoClosingPairOpen=function(e,t,n,r){var i=e.autoClosingPairsOpen2.get(r);if(!i)return null;for(var o=null,a=0,l=i;a<l.length;a++){var u=l[a];if(null===o||u.open.length>o.open.length){for(var c=!0,d=0,h=n;d<h.length;d++){var f=h[d],p=t.getValueInRange(new s["a"](f.lineNumber,f.column-u.open.length+1,f.lineNumber,f.column));if(p+r!==u.open){c=!1;break}}c&&(o=u)}}return o},e._isAutoClosingOpenCharType=function(t,n,i,o,s){var l=Object(a["g"])(o),c=l?t.autoClosingQuotes:t.autoClosingBrackets;if("never"===c)return null;var d=this._findAutoClosingPairOpen(t,n,i.map((function(e){return e.getPosition()})),o);if(!d)return null;for(var h=l?t.shouldAutoCloseBefore.quote:t.shouldAutoCloseBefore.bracket,f=0,g=i.length;f<g;f++){var m=i[f];if(!m.isEmpty())return null;var v=m.getPosition(),y=n.getLineContent(v.lineNumber);if(y.length>v.column-1){var b=y.charAt(v.column-1),_=e._isBeforeClosingBrace(t,d,b);if(!_&&!h(b))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===d.open.length&&l&&"always"!==c){var w=Object(p["a"])(t.wordSeparators);if(s&&v.column>1&&0===w.get(y.charCodeAt(v.column-2)))return null;if(!s&&v.column>2&&0===w.get(y.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var x=n.getLineTokens(v.lineNumber),C=!1;try{C=u["a"].shouldAutoClosePair(d,x,s?v.column:v.column-1)}catch(S){Object(r["e"])(S)}if(!C)return null}return d},e._runAutoClosingOpenCharType=function(e,t,n,r,i,o,s){for(var l=[],u=0,c=r.length;u<c;u++){var d=r[u];l[u]=new y(d,i,o,s.close)}return new a["e"](1,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},e._shouldSurroundChar=function(e,t){return Object(a["g"])(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround},e._isSurroundSelectionType=function(t,n,r,i){if(!e._shouldSurroundChar(t,i)||!t.surroundingPairs.hasOwnProperty(i))return!1;for(var o=Object(a["g"])(i),s=0,l=r.length;s<l;s++){var u=r[s];if(u.isEmpty())return!1;for(var c=!0,d=u.startLineNumber;d<=u.endLineNumber;d++){var h=n.getLineContent(d),f=d===u.startLineNumber?u.startColumn-1:0,p=d===u.endLineNumber?u.endColumn-1:h.length,g=h.substring(f,p);if(/[^ \t]/.test(g)){c=!1;break}}if(c)return!1;if(o&&u.startLineNumber===u.endLineNumber&&u.startColumn+1===u.endColumn){var m=n.getValueInRange(u);if(Object(a["g"])(m))return!1}}return!0},e._runSurroundSelectionType=function(e,t,n,r,i){for(var o=[],s=0,l=r.length;s<l;s++){var u=r[s],c=t.surroundingPairs[i];o[s]=new f(u,i,c)}return new a["e"](0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e._isTypeInterceptorElectricChar=function(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))},e._typeInterceptorElectricChar=function(e,t,n,l,c){if(!t.electricChars.hasOwnProperty(c)||!l.isEmpty())return null;var d=l.getPosition();n.forceTokenization(d.lineNumber);var h,f=n.getLineTokens(d.lineNumber);try{h=u["a"].onElectricCharacter(c,f,d.column)}catch(O){return Object(r["e"])(O),null}if(!h)return null;if(h.matchOpenBracket){var p=(f.getLineContent()+c).lastIndexOf(h.matchOpenBracket)+1,g=n.findMatchingBracketUp(h.matchOpenBracket,{lineNumber:d.lineNumber,column:p});if(g){if(g.startLineNumber===d.lineNumber)return null;var m=n.getLineContent(g.startLineNumber),v=i["t"](m),y=t.normalizeIndentation(v),b=n.getLineContent(d.lineNumber),_=n.getLineFirstNonWhitespaceColumn(d.lineNumber)||d.column,w=b.substring(_-1,d.column-1),x=y+w+c,C=new s["a"](d.lineNumber,1,d.lineNumber,d.column),S=new o["a"](C,x);return new a["e"](1,[S],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null},e.compositionEndWithInterceptors=function(e,t,n,r,i,u){if(!r||l["a"].selectionsArrEqual(r,i))return null;for(var c=null,d=0,h=i;d<h.length;d++){var f=h[d];if(!f.isEmpty())return null;var p=f.getPosition(),g=n.getValueInRange(new s["a"](p.lineNumber,p.column-1,p.lineNumber,p.column));if(null===c)c=g;else if(c!==g)return null}if(!c)return null;if(this._isAutoClosingOvertype(t,n,i,u,c)){var m=i.map((function(e){return new o["a"](new s["a"](e.positionLineNumber,e.positionColumn,e.positionLineNumber,e.positionColumn+1),"",!1)}));return new a["e"](1,m,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}var v=this._isAutoClosingOpenCharType(t,n,i,c,!1);return v?this._runAutoClosingOpenCharType(e,t,n,i,c,!1,v):null},e.typeWithInterceptors=function(t,n,r,i,s,l){if("\n"===l){for(var u=[],c=0,d=i.length;c<d;c++)u[c]=e._enter(n,r,!1,i[c]);return new a["e"](1,u,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoIndentType(n,r,i)){var h=[],f=!1;for(c=0,d=i.length;c<d;c++)if(h[c]=this._runAutoIndentType(n,r,i[c],l),!h[c]){f=!0;break}if(!f)return new a["e"](1,h,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingOvertype(n,r,i,s,l))return this._runAutoClosingOvertype(t,n,r,i,l);var p=this._isAutoClosingOpenCharType(n,r,i,l,!0);if(p)return this._runAutoClosingOpenCharType(t,n,r,i,l,!0,p);if(this._isSurroundSelectionType(n,r,i,l))return this._runSurroundSelectionType(t,n,r,i,l);if(this._isTypeInterceptorElectricChar(n,r,i)){var g=this._typeInterceptorElectricChar(t,n,r,i[0],l);if(g)return g}var m=[];for(c=0,d=i.length;c<d;c++)m[c]=new o["a"](i[c],l);var v=1!==t;return" "===l&&(v=!0),new a["e"](1,m,{shouldPushStackElementBefore:v,shouldPushStackElementAfter:!1})},e.typeWithoutInterceptors=function(e,t,n,r,i){for(var s=[],l=0,u=r.length;l<u;l++)s[l]=new o["a"](r[l],i);return new a["e"](1,s,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},e.lineInsertBefore=function(e,t,n){if(null===t||null===n)return[];for(var r=[],i=0,a=n.length;i<a;i++){var l=n[i].positionLineNumber;if(1===l)r[i]=new o["d"](new s["a"](1,1,1,1),"\n");else{l--;var u=t.getLineMaxColumn(l);r[i]=this._enter(e,t,!1,new s["a"](l,u,l,u))}}return r},e.lineInsertAfter=function(e,t,n){if(null===t||null===n)return[];for(var r=[],i=0,o=n.length;i<o;i++){var a=n[i].positionLineNumber,l=t.getLineMaxColumn(a);r[i]=this._enter(e,t,!1,new s["a"](a,l,a,l))}return r},e.lineBreakInsert=function(e,t,n){for(var r=[],i=0,o=n.length;i<o;i++)r[i]=this._enter(e,t,!0,n[i]);return r},e}(),y=function(e){function t(t,n,r,i){var o=e.call(this,t,(r?n:"")+i,0,-i.length)||this;return o._openCharacter=n,o._closeCharacter=i,o.closeCharacterRange=null,o.enclosingRange=null,o}return m(t,e),t.prototype.computeCursorState=function(t,n){var r=n.getInverseEditOperations(),i=r[0].range;return this.closeCharacterRange=new s["a"](i.startLineNumber,i.endColumn-this._closeCharacter.length,i.endLineNumber,i.endColumn),this.enclosingRange=new s["a"](i.startLineNumber,i.endColumn-this._openCharacter.length-this._closeCharacter.length,i.endLineNumber,i.endColumn),e.prototype.computeCursorState.call(this,t,n)},t}(o["c"])},GVMX:function(e,t,n){var r=n("JEkh"),i=r.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});e.exports=i},GZrW:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return n.e(214).then(n.bind(null,"Csoz"))}})},Gb1F:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return n.e(210).then(n.bind(null,"ynbn"))}})},GeKi:function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("IwbS"),a=n("y+Vt"),s=n("sK/D"),l=s.createClipPath,u=["itemStyle"],c=["emphasis","itemStyle"],d=["color","color0","borderColor","borderColor0"],h=i.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,r){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),a=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,u=t.getItemLayout(n);if(a&&g(l,u))return;s=p(u,n,!0),o.initProps(s,{shape:{points:u.ends}},e,n),m(s,t,n,i),r.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,u){var c=n.getItemGraphicEl(u);if(t.hasValue(s)){var d=t.getItemLayout(s);a&&g(l,d)?r.remove(c):(c?o.updateProps(c,{shape:{points:d.ends}},e,s):c=p(d,s),m(c,t,s,i),r.add(c),t.setItemGraphicEl(s,c))}else r.remove(c)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),b(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,r=t.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=e.next())){var o,a=r.getItemLayout(n);o=p(a,n),m(o,r,n,i),o.incremental=!0,this.group.add(o)}},_incrementalRenderLarge:function(e,t){b(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:r.noop}),f=a.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function p(e,t,n){var r=e.ends;return new f({shape:{points:n?v(r,e):r},z2:100})}function g(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function m(e,t,n,r){var i=t.getItemModel(n),a=i.getModel(u),s=t.getItemVisual(n,"color"),l=t.getItemVisual(n,"borderColor")||s,h=a.getItemStyle(d);e.useStyle(h),e.style.strokeNoScale=!0,e.style.fill=s,e.style.stroke=l,e.__simpleBox=r;var f=i.getModel(c).getItemStyle();o.setHoverStyle(e,f)}function v(e,t){return r.map(e,(function(e){return e=e.slice(),e[1]=t.initBaseline,e}))}var y=a.extend({type:"largeCandlestickBox",shape:{},buildPath:function(e,t){for(var n=t.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];e.moveTo(i,n[r++]),e.lineTo(i,n[r++])}else r+=3}});function b(e,t,n){var r=e.getData(),i=r.getLayout("largePoints"),o=new y({shape:{points:i},__sign:1});t.add(o);var a=new y({shape:{points:i},__sign:-1});t.add(a),_(1,o,e,r),_(-1,a,e,r),n&&(o.incremental=!0,a.incremental=!0)}function _(e,t,n,r){var i=e>0?"P":"N",o=r.getVisual("borderColor"+i)||r.getVisual("color"+i),a=n.getModel(u).getItemStyle(d);t.useStyle(a),t.style.fill=null,t.style.stroke=o}var w=h;e.exports=w},Gev7:function(e,t,n){var r=n("bYtY"),i=n("K2GJ"),o=n("1bdT"),a=n("ni6a");function s(e){for(var t in e=e||{},o.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new i(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?o.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new i(e,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,o),r.mixin(s,a);var l=s;e.exports=l},GrNh:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6Ic6");function a(e,t,n,r){var i=t.getData(),o=this.dataIndex,a=i.getName(o),l=t.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:e,name:a,seriesId:t.id}),i.each((function(e){s(i.getItemGraphicEl(e),i.getItemLayout(e),t.isSelected(i.getName(e)),l,n)}))}function s(e,t,n,r,i){var o=(t.startAngle+t.endAngle)/2,a=Math.cos(o),s=Math.sin(o),l=n?r:0,u=[a*l,s*l];i?e.animate().when(200,{position:u}).start("bounceOut"):e.attr("position",u)}function l(e,t){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.updateData(e,t,!0)}var u=l.prototype;u.updateData=function(e,t,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),u=e.hostModel,c=e.getItemModel(t),d=e.getItemLayout(t),h=r.extend({},d);h.label=null;var f=u.getShallow("animationTypeUpdate");if(n){o.setShape(h);var p=u.getShallow("animationType");"scale"===p?(o.shape.r=d.r0,i.initProps(o,{shape:{r:d.r}},u,t)):(o.shape.endAngle=d.startAngle,i.updateProps(o,{shape:{endAngle:d.endAngle}},u,t))}else"expansion"===f?o.setShape(h):i.updateProps(o,{shape:h},u,t);var g=e.getItemVisual(t,"color");o.useStyle(r.defaults({lineJoin:"bevel",fill:g},c.getModel("itemStyle").getItemStyle())),o.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var m=c.getShallow("cursor");m&&o.attr("cursor",m),s(this,e.getItemLayout(t),u.isSelected(e.getName(t)),u.get("selectedOffset"),u.get("animation"));var v=!n&&"transition"===f;this._updateLabel(e,t,v),this.highDownOnUpdate=u.get("silent")?null:function(e,t){var n=u.isAnimationEnabled()&&c.get("hoverAnimation");"emphasis"===t?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:d.r+u.get("hoverOffset")}},300,"elasticOut"))):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,n&&(o.stopAnimation(!0),o.animateTo({shape:{r:d.r}},300,"elasticOut")))},i.setHoverStyle(this)},u._updateLabel=function(e,t,n){var r=this.childAt(1),o=this.childAt(2),a=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),u=l.label,c=e.getItemVisual(t,"color");if(!u||isNaN(u.x)||isNaN(u.y))o.ignore=o.normalIgnore=o.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var d={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},h={x:u.x,y:u.y};n?(i.updateProps(r,{shape:d},a,t),i.updateProps(o,{style:h},a,t)):(r.attr({shape:d}),o.attr({style:h})),o.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var f=s.getModel("label"),p=s.getModel("emphasis.label"),g=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");i.setLabelStyle(o.style,o.hoverStyle={},f,p,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:u.text,autoColor:c,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),o.ignore=o.normalIgnore=!f.get("show"),o.hoverIgnore=!p.get("show"),r.ignore=r.normalIgnore=!g.get("show"),r.hoverIgnore=!m.get("show"),r.setStyle({stroke:c,opacity:e.getItemVisual(t,"opacity")}),r.setStyle(g.getModel("lineStyle").getLineStyle()),r.hoverStyle=m.getModel("lineStyle").getLineStyle();var v=g.get("smooth");v&&!0===v&&(v=.4),r.setShape({smooth:v})}},r.inherits(l,i.Group);var c=o.extend({type:"pie",init:function(){var e=new i.Group;this._sectorGroup=e},render:function(e,t,n,i){if(!i||i.from!==this.uid){var o=e.getData(),s=this._data,u=this.group,c=t.get("animation"),d=!s,h=e.get("animationType"),f=e.get("animationTypeUpdate"),p=r.curry(a,this.uid,e,c,n),g=e.get("selectedMode");if(o.diff(s).add((function(e){var t=new l(o,e);d&&"scale"!==h&&t.eachChild((function(e){e.stopAnimation(!0)})),g&&t.on("click",p),o.setItemGraphicEl(e,t),u.add(t)})).update((function(e,t){var n=s.getItemGraphicEl(t);d||"transition"===f||n.eachChild((function(e){e.stopAnimation(!0)})),n.updateData(o,e),n.off("click"),g&&n.on("click",p),u.add(n),o.setItemGraphicEl(e,n)})).remove((function(e){var t=s.getItemGraphicEl(e);u.remove(t)})).execute(),c&&o.count()>0&&(d?"scale"!==h:"transition"!==f)){for(var m=o.getItemLayout(0),v=1;isNaN(m.startAngle)&&v<o.count();++v)m=o.getItemLayout(v);var y=Math.max(n.getWidth(),n.getHeight())/2,b=r.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(m.cx,m.cy,y,m.startAngle,m.clockwise,b,e,d))}else u.removeClipPath();this._data=o}},dispose:function(){},_createClipPath:function(e,t,n,r,o,a,s,l){var u=new i.Sector({shape:{cx:e,cy:t,r0:0,r:n,startAngle:r,endAngle:r,clockwise:o}}),c=l?i.initProps:i.updateProps;return c(u,{shape:{endAngle:r+(o?1:-1)*Math.PI*2}},s,a),u},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}}}),d=c;e.exports=d},Gytx:function(e,t){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(i=n?n.call(r,c,d,u):void 0,!1===i||void 0===i&&c!==d)return!1}return!0}},GzdX:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("rePB"),a=n("1OyB"),s=n("vuIU"),l=n("Ji7U"),u=n("md7G"),c=n("foSv"),d=n("m+aA"),h=n("TSYQ"),f=n.n(h),p=n("4IlW");function g(e){var t=e.pageXOffset,n="scrollLeft";if("number"!==typeof t){var r=e.document;t=r.documentElement[n],"number"!==typeof t&&(t=r.body[n])}return t}function m(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function v(e){var t=m(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=g(r),t.left}function y(e){return function(){var t,n=Object(c["a"])(e);if(b()){var r=Object(c["a"])(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(u["a"])(this,t)}}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var _=function(e){Object(l["a"])(n,e);var t=y(n);function n(){var e;return Object(a["a"])(this,n),e=t.apply(this,arguments),e.onHover=function(t){var n=e.props,r=n.onHover,i=n.index;r(t,i)},e.onClick=function(t){var n=e.props,r=n.onClick,i=n.index;r(t,i)},e.onKeyDown=function(t){var n=e.props,r=n.onClick,i=n.index;13===t.keyCode&&r(t,i)},e}return Object(s["a"])(n,[{key:"getClassName",value:function(){var e=this.props,t=e.prefixCls,n=e.index,r=e.value,i=e.allowHalf,o=e.focused,a=n+1,s=t;return 0===r&&0===n&&o?s+=" ".concat(t,"-focused"):i&&r+.5===a?(s+=" ".concat(t,"-half ").concat(t,"-active"),o&&(s+=" ".concat(t,"-focused"))):(s+=" ".concat(t,a<=r?"-full":"-zero"),a===r&&o&&(s+=" ".concat(t,"-focused"))),s}},{key:"render",value:function(){var e=this.onHover,t=this.onClick,n=this.onKeyDown,r=this.props,o=r.disabled,a=r.prefixCls,s=r.character,l=r.characterRender,u=r.index,c=r.count,d=r.value,h=i.a.createElement("li",{className:this.getClassName()},i.a.createElement("div",{onClick:o?null:t,onKeyDown:o?null:n,onMouseMove:o?null:e,role:"radio","aria-checked":d>u?"true":"false","aria-posinset":u+1,"aria-setsize":c,tabIndex:0},i.a.createElement("div",{className:"".concat(a,"-first")},s),i.a.createElement("div",{className:"".concat(a,"-second")},s)));return l&&(h=l(h,this.props)),h}}]),n}(i.a.Component);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e){return function(){var t,n=Object(c["a"])(e);if(S()){var r=Object(c["a"])(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(u["a"])(this,t)}}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function O(){}var k=function(e){Object(l["a"])(n,e);var t=C(n);function n(e){var r;Object(a["a"])(this,n),r=t.call(this,e),r.onHover=function(e,t){var n=r.props.onHoverChange,i=r.getStarValue(t,e.pageX),o=r.state.cleanedValue;i!==o&&r.setState({hoverValue:i,cleanedValue:null}),n(i)},r.onMouseLeave=function(){var e=r.props.onHoverChange;r.setState({hoverValue:void 0,cleanedValue:null}),e(void 0)},r.onClick=function(e,t){var n=r.props.allowClear,i=r.state.value,o=r.getStarValue(t,e.pageX),a=!1;n&&(a=o===i),r.onMouseLeave(),r.changeValue(a?0:o),r.setState({cleanedValue:a?o:null})},r.onFocus=function(){var e=r.props.onFocus;r.setState({focused:!0}),e&&e()},r.onBlur=function(){var e=r.props.onBlur;r.setState({focused:!1}),e&&e()},r.onKeyDown=function(e){var t=e.keyCode,n=r.props,i=n.count,o=n.allowHalf,a=n.onKeyDown,s=n.direction,l="rtl"===s,u=r.state.value;t===p["a"].RIGHT&&u<i&&!l?(u+=o?.5:1,r.changeValue(u),e.preventDefault()):t===p["a"].LEFT&&u>0&&!l||t===p["a"].RIGHT&&u>0&&l?(u-=o?.5:1,r.changeValue(u),e.preventDefault()):t===p["a"].LEFT&&u<i&&l&&(u+=o?.5:1,r.changeValue(u),e.preventDefault()),a&&a(e)},r.saveRef=function(e){return function(t){r.stars[e]=t}},r.saveRate=function(e){r.rate=e};var i=e.value;return void 0===i&&(i=e.defaultValue),r.stars={},r.state={value:i,focused:!1,cleanedValue:null},r}return Object(s["a"])(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"getStarDOM",value:function(e){return Object(d["a"])(this.stars[e])}},{key:"getStarValue",value:function(e,t){var n=this.props,r=n.allowHalf,i=n.direction,o="rtl"===i,a=e+1;if(r){var s=this.getStarDOM(e),l=v(s),u=s.clientWidth;(o&&t-l>u/2||!o&&t-l<u/2)&&(a-=.5)}return a}},{key:"focus",value:function(){var e=this.props.disabled;e||this.rate.focus()}},{key:"blur",value:function(){var e=this.props.disabled;e||this.rate.blur()}},{key:"changeValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"render",value:function(){for(var e=this.props,t=e.count,n=e.allowHalf,r=e.style,a=e.prefixCls,s=e.disabled,l=e.className,u=e.character,c=e.characterRender,d=e.tabIndex,h=e.direction,p=this.state,g=p.value,m=p.hoverValue,v=p.focused,y=[],b=s?"".concat(a,"-disabled"):"",w=0;w<t;w+=1)y.push(i.a.createElement(_,{ref:this.saveRef(w),index:w,count:t,disabled:s,prefixCls:"".concat(a,"-star"),allowHalf:n,value:void 0===m?g:m,onClick:this.onClick,onHover:this.onHover,key:w,character:u,characterRender:c,focused:v}));var x=f()(a,b,l,Object(o["a"])({},"".concat(a,"-rtl"),"rtl"===h));return i.a.createElement("ul",{className:x,style:r,onMouseLeave:s?null:this.onMouseLeave,tabIndex:s?-1:d,onFocus:s?null:this.onFocus,onBlur:s?null:this.onBlur,onKeyDown:s?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},y)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e&&void 0!==e.value?x({},t,{value:e.value}):t}}]),n}(i.a.Component);k.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:O,character:"\u2605",onHoverChange:O,tabIndex:0,direction:"ltr"};var E=k,D=E,M=n("Lerx"),N=n.n(M),L=n("3S7+"),I=n("H84U");function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},A=r["forwardRef"]((function(e,t){var n=e.prefixCls,i=e.tooltips,o=P(e,["prefixCls","tooltips"]),a=function(e,t){var n=t.index;return i?r["createElement"](L["a"],{title:i[n]},e):e},s=r["useContext"](I["b"]),l=s.getPrefixCls,u=s.direction,c=l("rate",n);return r["createElement"](D,T({ref:t,characterRender:a},o,{prefixCls:c,direction:u}))}));A.displayName="Rate",A.defaultProps={character:r["createElement"](N.a,null)};t["a"]=A},H6Gb:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return n.e(197).then(n.bind(null,"lXEz"))}})},H6uX:function(e,t){var n=Array.prototype.slice,r=function(e){this._$handlers={},this._$eventProcessor=e};function i(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}function o(e,t,n,r,o,a){var s=e._$handlers;if("function"===typeof n&&(o=r,r=n,n=null),!r||!t)return e;n=i(e,n),s[t]||(s[t]=[]);for(var l=0;l<s[t].length;l++)if(s[t][l].h===r)return e;var u={h:r,one:a,query:n,ctx:o||e,callAtLast:r.zrEventfulCallAtLast},c=s[t].length-1,d=s[t][c];return d&&d.callAtLast?s[t].splice(c,0,u):s[t].push(u),e}r.prototype={constructor:r,one:function(e,t,n,r){return o(this,e,t,n,r,!0)},on:function(e,t,n,r){return o(this,e,t,n,r,!1)},isSilent:function(e){var t=this._$handlers;return!t[e]||!t[e].length},off:function(e,t){var n=this._$handlers;if(!e)return this._$handlers={},this;if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];return this},trigger:function(e){var t=this._$handlers[e],r=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>3&&(i=n.call(i,1));for(var a=t.length,s=0;s<a;){var l=t[s];if(r&&r.filter&&null!=l.query&&!r.filter(e,l.query))s++;else{switch(o){case 1:l.h.call(l.ctx);break;case 2:l.h.call(l.ctx,i[1]);break;case 3:l.h.call(l.ctx,i[1],i[2]);break;default:l.h.apply(l.ctx,i);break}l.one?(t.splice(s,1),a--):s++}}}return r&&r.afterTrigger&&r.afterTrigger(e),this},triggerWithContext:function(e){var t=this._$handlers[e],r=this._$eventProcessor;if(t){var i=arguments,o=i.length;o>4&&(i=n.call(i,1,i.length-1));for(var a=i[i.length-1],s=t.length,l=0;l<s;){var u=t[l];if(r&&r.filter&&null!=u.query&&!r.filter(e,u.query))l++;else{switch(o){case 1:u.h.call(a);break;case 2:u.h.call(a,i[1]);break;case 3:u.h.call(a,i[1],i[2]);break;default:u.h.apply(a,i);break}u.one?(t.splice(l,1),s--):l++}}}return r&&r.afterTrigger&&r.afterTrigger(e),this}};var a=r;e.exports=a},H8j4:function(e,t,n){var r=n("QkVE");function i(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}e.exports=i},HBhm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};t.default=r},HDyB:function(e,t,n){var r=n("nmnc"),i=n("JHRd"),o=n("ljhN"),a=n("or5M"),s=n("7fqy"),l=n("rEGp"),u=1,c=2,d="[object Boolean]",h="[object Date]",f="[object Error]",p="[object Map]",g="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",w="[object DataView]",x=r?r.prototype:void 0,C=x?x.valueOf:void 0;function S(e,t,n,r,x,S,O){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!S(new i(e),new i(t)));case d:case h:case g:return o(+e,+t);case f:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case p:var k=s;case v:var E=r&u;if(k||(k=l),e.size!=t.size&&!E)return!1;var D=O.get(e);if(D)return D==t;r|=c,O.set(e,t);var M=a(k(e),k(t),r,x,S,O);return O["delete"](e),M;case b:if(C)return C.call(e)==C.call(t)}return!1}e.exports=S},"HF/U":function(e,t,n){var r=n("QBsz");function i(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),o(n)}}function o(e){e.eachEdge((function(e){var t=e.getModel().get("lineStyle.curveness")||0,n=r.clone(e.node1.getLayout()),i=r.clone(e.node2.getLayout()),o=[n,i];+t&&o.push([(n[0]+i[0])/2-(n[1]-i[1])*t,(n[1]+i[1])/2-(i[0]-n[0])*t]),e.setLayout(o)}))}t.simpleLayout=i,t.simpleLayoutEdge=o},"HM/N":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("/SeX"),a=n("OELB"),s=a.parsePercent,l=n("aX7z"),u=l.createScaleByModel,c=l.niceScaleExtent,d=n("IDmD"),h=n("7hqr"),f=h.getStackedDimension;function p(e,t,n){var r=t.get("center"),o=n.getWidth(),a=n.getHeight();e.cx=s(r[0],o),e.cy=s(r[1],a);var l=e.getRadiusAxis(),u=Math.min(o,a)/2,c=t.get("radius");null==c?c=[0,"100%"]:i.isArray(c)||(c=[0,c]),c=[s(c[0],u),s(c[1],u)],l.inverse?l.setExtent(c[1],c[0]):l.setExtent(c[0],c[1])}function g(e,t){var n=this,r=n.getAngleAxis(),o=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),o.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){o.scale.unionExtentFromData(t,f(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){r.scale.unionExtentFromData(t,f(t,e))}))}})),c(r.scale,r.model),c(o.scale,o.model),"category"===r.type&&!r.onBand){var a=r.getExtent(),s=360/r.scale.count();r.inverse?a[1]+=s:a[1]-=s,r.setExtent(a[0],a[1])}}function m(e,t){if(e.type=t.get("type"),e.scale=u(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("ePAk");var v={dimensions:o.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new o(r);i.update=g;var a=i.getRadiusAxis(),s=i.getAngleAxis(),l=e.findAxisModel("radiusAxis"),u=e.findAxisModel("angleAxis");m(a,l),m(s,u),p(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};d.register("polar",v)},HOxn:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Promise");e.exports=o},HQEm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Sj0X"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},HdwC:function(e,t,n){"use strict";n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return y}));var r=n("D3Dy"),i=n("MI8n"),o=n("pmY6"),a=n("MNsG"),s=function(){function e(e,t){this.chr=e,this.type=t,this.width=0}return e.prototype.fulfill=function(e){this.width=e},e}(),l=function(){function e(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}return e.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},e.prototype._createDomElements=function(){var t=document.createElement("div");t.style.position="absolute",t.style.top="-50000px",t.style.width="50000px";var n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight=this._bareFontInfo.fontWeight,n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(n);var r=document.createElement("div");r.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),r.style.fontWeight="bold",r.style.fontSize=this._bareFontInfo.fontSize+"px",r.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,r.style.lineHeight=this._bareFontInfo.lineHeight+"px",r.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",t.appendChild(r);var i=document.createElement("div");i.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),i.style.fontWeight=this._bareFontInfo.fontWeight,i.style.fontSize=this._bareFontInfo.fontSize+"px",i.style.fontFeatureSettings=this._bareFontInfo.fontFeatureSettings,i.style.lineHeight=this._bareFontInfo.lineHeight+"px",i.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",i.style.fontStyle="italic",t.appendChild(i);for(var o=[],a=0,s=this._requests;a<s.length;a++){var l=s[a],u=void 0;0===l.type&&(u=n),2===l.type&&(u=r),1===l.type&&(u=i),u.appendChild(document.createElement("br"));var c=document.createElement("span");e._render(c,l),u.appendChild(c),o.push(c)}this._container=t,this._testElements=o},e._render=function(e,t){if(" "===t.chr){for(var n=" ",r=0;r<8;r++)n+=n;e.innerHTML=n}else{var i=t.chr;for(r=0;r<8;r++)i+=i;e.textContent=i}},e.prototype._readFromDomElements=function(){for(var e=0,t=this._requests.length;e<t;e++){var n=this._requests[e],r=this._testElements[e];n.fulfill(r.offsetWidth/256)}},e}();function u(e,t){var n=new l(e,t);n.read()}var c=n("o39E"),d=n("iDAx"),h=n("/UlZ"),f=n("+3Gp"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){function e(){this._keys=Object.create(null),this._values=Object.create(null)}return e.prototype.has=function(e){var t=e.getId();return!!this._values[t]},e.prototype.get=function(e){var t=e.getId();return this._values[t]},e.prototype.put=function(e,t){var n=e.getId();this._keys[n]=e,this._values[n]=t},e.prototype.remove=function(e){var t=e.getId();delete this._keys[t],delete this._values[t]},e.prototype.getValues=function(){var e=this;return Object.keys(this._keys).map((function(t){return e._values[t]}))},e}();function m(){v.INSTANCE.clearCache()}var v=function(e){function t(){var t=e.call(this)||this;return t._onDidChange=t._register(new i["a"]),t.onDidChange=t._onDidChange.event,t._cache=new g,t._evictUntrustedReadingsTimeout=-1,t}return p(t,e),t.prototype.dispose=function(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),e.prototype.dispose.call(this)},t.prototype.clearCache=function(){this._cache=new g,this._onDidChange.fire()},t.prototype._writeToCache=function(e,t){var n=this;this._cache.put(e,t),t.isTrusted||-1!==this._evictUntrustedReadingsTimeout||(this._evictUntrustedReadingsTimeout=setTimeout((function(){n._evictUntrustedReadingsTimeout=-1,n._evictUntrustedReadings()}),5e3))},t.prototype._evictUntrustedReadings=function(){for(var e=this._cache.getValues(),t=!1,n=0,r=e.length;n<r;n++){var i=e[n];i.isTrusted||(t=!0,this._cache.remove(i))}t&&this._onDidChange.fire()},t.prototype.readConfiguration=function(e){if(!this._cache.has(e)){var n=t._actualReadConfiguration(e);(n.typicalHalfwidthCharacterWidth<=2||n.typicalFullwidthCharacterWidth<=2||n.spaceWidth<=2||n.maxDigitWidth<=2)&&(n=new f["b"]({zoomLevel:r["c"](),fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,fontFeatureSettings:n.fontFeatureSettings,lineHeight:n.lineHeight,letterSpacing:n.letterSpacing,isMonospace:n.isMonospace,typicalHalfwidthCharacterWidth:Math.max(n.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(n.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:n.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(n.spaceWidth,5),middotWidth:Math.max(n.middotWidth,5),maxDigitWidth:Math.max(n.maxDigitWidth,5)},!1)),this._writeToCache(e,n)}return this._cache.get(e)},t.createRequest=function(e,t,n,r){var i=new s(e,t);return n.push(i),r&&r.push(i),i},t._actualReadConfiguration=function(e){var t=[],n=[],i=this.createRequest("n",0,t,n),o=this.createRequest("\uff4d",0,t,null),a=this.createRequest(" ",0,t,n),s=this.createRequest("0",0,t,n),l=this.createRequest("1",0,t,n),c=this.createRequest("2",0,t,n),d=this.createRequest("3",0,t,n),p=this.createRequest("4",0,t,n),g=this.createRequest("5",0,t,n),m=this.createRequest("6",0,t,n),v=this.createRequest("7",0,t,n),y=this.createRequest("8",0,t,n),b=this.createRequest("9",0,t,n),_=this.createRequest("\u2192",0,t,n),w=this.createRequest("\uffeb",0,t,null),x=this.createRequest("\xb7",0,t,n);this.createRequest("|",0,t,n),this.createRequest("/",0,t,n),this.createRequest("-",0,t,n),this.createRequest("_",0,t,n),this.createRequest("i",0,t,n),this.createRequest("l",0,t,n),this.createRequest("m",0,t,n),this.createRequest("|",1,t,n),this.createRequest("_",1,t,n),this.createRequest("i",1,t,n),this.createRequest("l",1,t,n),this.createRequest("m",1,t,n),this.createRequest("n",1,t,n),this.createRequest("|",2,t,n),this.createRequest("_",2,t,n),this.createRequest("i",2,t,n),this.createRequest("l",2,t,n),this.createRequest("m",2,t,n),this.createRequest("n",2,t,n),u(e,t);for(var C=Math.max(s.width,l.width,c.width,d.width,p.width,g.width,m.width,v.width,y.width,b.width),S=e.fontFeatureSettings===h["d"].OFF,O=n[0].width,k=1,E=n.length;S&&k<E;k++){var D=O-n[k].width;if(D<-.001||D>.001){S=!1;break}}var M=!0;S&&w.width!==O&&(M=!1),w.width>_.width&&(M=!1);var N=r["b"]()>2e3;return new f["b"]({zoomLevel:r["c"](),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:S,typicalHalfwidthCharacterWidth:i.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:M,spaceWidth:a.width,middotWidth:x.width,maxDigitWidth:C},N)},t.INSTANCE=new t,t}(o["a"]),y=function(e){function t(t,n,i,o){void 0===i&&(i=null);var a=e.call(this,t,n)||this;return a.accessibilityService=o,a._elementSizeObserver=a._register(new c["a"](i,n.dimension,(function(){return a._onReferenceDomElementSizeChanged()}))),a._register(v.INSTANCE.onDidChange((function(){return a._onCSSBasedConfigurationChanged()}))),a._validatedOptions.get(9)&&a._elementSizeObserver.startObserving(),a._register(r["o"]((function(e){return a._recomputeOptions()}))),a._register(a.accessibilityService.onDidChangeScreenReaderOptimized((function(){return a._recomputeOptions()}))),a._recomputeOptions(),a}return p(t,e),t.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.fontFeatureSettings=t.fontFeatureSettings,e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},t.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setFontFeatureSettings(t.fontFeatureSettings),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},t.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},t.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},t.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getExtraEditorClassName=function(){var e="";return r["k"]||r["n"]||(e+="no-user-select "),a["e"]&&(e+="mac "),e},t.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:r["m"]||r["h"],pixelRatio:r["a"](),zoomLevel:r["c"](),accessibilitySupport:this.accessibilityService.isScreenReaderOptimized()?2:this.accessibilityService.getAccessibilitySupport()}},t.prototype.readConfiguration=function(e){return v.INSTANCE.readConfiguration(e)},t}(d["a"])},Hfiw:function(e,t,n){var r=n("Y7ZC");r(r.S,"Object",{setPrototypeOf:n("6tYh").set})},HjIi:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=n("7hqr"),s=a.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function u(e,t){return t.dim+e.model.componentIndex}function c(e,t,n){var i={},o=d(r.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),a=u(n,r),c=l(e),d=o[a][c],h=d.offset,f=d.width,p=n.getOtherAxis(r),g=e.coordinateSystem.cx,m=e.coordinateSystem.cy,v=e.get("barMinHeight")||0,y=e.get("barMinAngle")||0;i[c]=i[c]||[];for(var b=t.mapDimension(p.dim),_=t.mapDimension(r.dim),w=s(t,b),x="radius"!==r.dim||!e.get("roundCap",!0),C=p.getExtent()[0],S=0,O=t.count();S<O;S++){var k,E,D,M,N=t.get(b,S),L=t.get(_,S),I=N>=0?"p":"n",T=C;if(w&&(i[c][L]||(i[c][L]={p:C,n:C}),T=i[c][L][I]),"radius"===p.dim){var P=p.dataToRadius(N)-C,A=r.dataToAngle(L);Math.abs(P)<v&&(P=(P<0?-1:1)*v),k=T,E=T+P,D=A-h,M=D-f,w&&(i[c][L][I]=E)}else{var R=p.dataToAngle(N,x)-C,j=r.dataToRadius(L);Math.abs(R)<y&&(R=(R<0?-1:1)*y),k=j+h,E=k+f,D=T,M=T+R,w&&(i[c][L][I]=M)}t.setItemLayout(S,{cx:g,cy:m,r0:k,r:E,startAngle:-D*Math.PI/180,endAngle:-M*Math.PI/180})}}}),this)}function d(e,t){var n={};r.each(e,(function(e,t){var r=e.getData(),i=e.coordinateSystem,a=i.getBaseAxis(),s=u(i,a),c=a.getExtent(),d="category"===a.type?a.getBandWidth():Math.abs(c[1]-c[0])/r.count(),h=n[s]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=h.stacks;n[s]=h;var p=l(e);f[p]||h.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var g=o(e.get("barWidth"),d),m=o(e.get("barMaxWidth"),d),v=e.get("barGap"),y=e.get("barCategoryGap");g&&!f[p].width&&(g=Math.min(h.remainedWidth,g),f[p].width=g,h.remainedWidth-=g),m&&(f[p].maxWidth=m),null!=v&&(h.gap=v),null!=y&&(h.categoryGap=y)}));var i={};return r.each(n,(function(e,t){i[t]={};var n=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),r.each(n,(function(e,t){var n=e.maxWidth;n&&n<d&&(n=Math.min(n,u),e.width&&(n=Math.min(n,e.width)),u-=n,e.width=n,c--)})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;r.each(n,(function(e,t){e.width||(e.width=d),h=e,f+=e.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;r.each(n,(function(e,n){i[t][n]=i[t][n]||{offset:p,width:e.width},p+=e.width*(1+l)}))})),i}var h=c;e.exports=h},Hvzi:function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},Hw7h:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(e,t){var n=Math.cos,r=Math.sin,i=t.r,o=t.width,a=t.angle,s=t.x-n(a)*o*(o>=i/3?1:2),l=t.y-r(a)*o*(o>=i/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(a)*o,t.y+r(a)*o),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(a)*o,t.y-r(a)*o),e.lineTo(s,l)}});e.exports=i},Hxpc:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){o.prototype.init.apply(this,arguments),i.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=r.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new a(n,t)),e}),r.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new a(null,this,this.ecModel)},getFormattedLabel:function(e,t){var n=this.getRegionModel(e),r=n.get("label"+("normal"===t?".":t+".")+"formatter"),i={name:e};return"function"===typeof r?(i.status=t,r(i)):"string"===typeof r?r.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});r.mixin(u,s);var c=u;e.exports=c},"I+77":function(e,t,n){var r=n("ProS");n("h54F"),n("lwQL"),n("10cm");var i=n("Z1r0"),o=n("f5Yq"),a=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),d=n("ewwo");r.registerProcessor(i),r.registerVisual(o("graph","circle",null)),r.registerVisual(a),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),r.registerLayout(c),r.registerCoordinateSystem("graphView",{create:d})},"I+Bx":function(e,t,n){var r=n("bYtY"),i=n("eIcI"),o=n("ieMj"),a=n("OELB"),s=n("aX7z"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("IDmD"),d=n("jCoz");function h(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=r.map(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new i(n,"log"===e.get("axisType")?new d:new o);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},h.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,i=this.cx+e*Math.cos(r),o=this.cy-e*Math.sin(r);return[i,o]},h.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,o=Math.atan2(-n,t),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}return[s,+(i&&i.coordToData(r))]},h.prototype.resize=function(e,t){var n=e.get("center"),i=t.getWidth(),o=t.getHeight(),s=Math.min(i,o)/2;this.cx=a.parsePercent(n[0],i),this.cy=a.parsePercent(n[1],o),this.startAngle=e.get("startAngle")*Math.PI/180;var l=e.get("radius");"string"!==typeof l&&"number"!==typeof l||(l=[0,l]),this.r0=a.parsePercent(l[0],s),this.r=a.parsePercent(l[1],s),r.each(this._indicatorAxes,(function(e,t){e.setExtent(this.r0,this.r);var n=this.startAngle+t*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),e.angle=n}),this)},h.prototype.update=function(e,t){var n=this._indicatorAxes,i=this._model;r.each(n,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeriesByType("radar",(function(t,o){if("radar"===t.get("coordinateSystem")&&e.getComponent("radar",t.get("radarIndex"))===i){var a=t.getData();r.each(n,(function(e){e.scale.unionExtentFromData(a,a.mapDimension(e.dim))}))}}),this);var o=i.get("splitNumber");function s(e){var t=Math.pow(10,Math.floor(Math.log(e)/Math.LN10)),n=e/t;return 2===n?n=5:n*=2,n*t}r.each(n,(function(e,t){var n=l(e.scale,e.model).extent;u(e.scale,e.model);var r=e.model,i=e.scale,c=r.getMin(),d=r.getMax(),h=i.getInterval();if(null!=c&&null!=d)i.setExtent(+c,+d),i.setInterval((d-c)/o);else if(null!=c){do{p=c+h*o,i.setExtent(+c,p),i.setInterval(h),h=s(h)}while(p<n[1]&&isFinite(p)&&isFinite(n[1]))}else if(null!=d){do{g=d-h*o,i.setExtent(g,+d),i.setInterval(h),h=s(h)}while(g>n[0]&&isFinite(g)&&isFinite(n[0]))}else{var f=i.getTicks().length-1;f>o&&(h=s(h));var p=Math.ceil(n[1]/h)*h,g=a.round(p-h*o);i.setExtent(g,p),i.setInterval(h)}}))},h.dimensions=[],h.create=function(e,t){var n=[];return e.eachComponent("radar",(function(r){var i=new h(r,e,t);n.push(i),r.coordinateSystem=i})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},c.register("radar",h);var f=h;e.exports=f},"I/Lx":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return n.e(178).then(n.bind(null,"yswY"))}})},"I3/A":function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("c2i1"),a=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");function c(e,t,n,c,d){for(var h=new o(c),f=0;f<e.length;f++)h.addNode(r.retrieve(e[f].id,e[f].name,f),f);var p=[],g=[],m=0;for(f=0;f<t.length;f++){var v=t[f],y=v.source,b=v.target;h.addEdge(y,b,m)&&(g.push(v),p.push(r.retrieve(v.id,y+" > "+b)),m++)}var _,w=n.get("coordinateSystem");if("cartesian2d"===w||"polar"===w)_=u(e,n);else{var x=l.get(w),C=x&&"view"!==x.type&&x.dimensions||[];r.indexOf(C,"value")<0&&C.concat(["value"]);var S=s(e,{coordDimensions:C});_=new i(S,n),_.initData(e)}var O=new i(["value"],n);return O.initData(g,p),d&&d(_,O),a({mainData:_,struct:h,structAttr:"graph",datas:{node:_,edge:O},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}e.exports=c},"I9Y+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("4xFK")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="DoubleRightOutlined";var u=o.forwardRef(l);t.default=u},ICMv:function(e,t,n){var r=n("bYtY"),i={getMin:function(e){var t=this.option,n=e||null==t.rangeStart?t.min:t.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(e){var t=this.option,n=e||null==t.rangeEnd?t.max:t.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!==typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var e=this.option;return null==e.rangeStart&&null==e.rangeEnd&&!e.scale},getCoordSysModel:r.noop,setRange:function(e,t){this.option.rangeStart=e,this.option.rangeEnd=t},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};e.exports=i},IDmD:function(e,t,n){var r=n("bYtY"),i={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(e,t){var n=[];r.each(i,(function(r,i){var o=r.create(e,t);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(e,t){r.each(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(e,t){i[e]=t},o.get=function(e){return i[e]};var a=o;e.exports=a},IMiH:function(e,t,n){var r=n("Sj9i"),i=n("QBsz"),o=n("4mN7"),a=n("mFDi"),s=n("LPTA"),l=s.devicePixelRatio,u={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],d=[],h=[],f=[],p=Math.min,g=Math.max,m=Math.cos,v=Math.sin,y=Math.sqrt,b=Math.abs,_="undefined"!==typeof Float32Array,w=function(e){this._saveData=!e,this._saveData&&(this.data=[]),this._ctx=null};w.prototype={constructor:w,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(e,t,n){n=n||0,this._ux=b(n/l/e)||0,this._uy=b(n/l/t)||0},getContext:function(){return this._ctx},beginPath:function(e){return this._ctx=e,e&&e.beginPath(),e&&(this.dpr=e.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(e,t){return this.addData(u.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},lineTo:function(e,t){var n=b(e-this._xi)>this._ux||b(t-this._yi)>this._uy||this._len<5;return this.addData(u.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,r,i,o){return this.addData(u.C,e,t,n,r,i,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,r,i,o):this._ctx.bezierCurveTo(e,t,n,r,i,o)),this._xi=i,this._yi=o,this},quadraticCurveTo:function(e,t,n,r){return this.addData(u.Q,e,t,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,r):this._ctx.quadraticCurveTo(e,t,n,r)),this._xi=n,this._yi=r,this},arc:function(e,t,n,r,i,o){return this.addData(u.A,e,t,n,n,r,i-r,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=m(i)*n+e,this._yi=v(i)*n+t,this},arcTo:function(e,t,n,r,i){return this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},rect:function(e,t,n,r){return this._ctx&&this._ctx.rect(e,t,n,r),this.addData(u.R,e,t,n,r),this},closePath:function(){this.addData(u.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;n<e.length;n++)t+=e[n];this._dashSum=t}return this},setLineDashOffset:function(e){return this._dashOffset=e,this},len:function(){return this._len},setData:function(e){var t=e.length;this.data&&this.data.length===t||!_||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},appendPath:function(e){e instanceof Array||(e=[e]);for(var t=e.length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();_&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},addData:function(e){if(this._saveData){var t=this.data;this._len+arguments.length>t.length&&(this._expandData(),t=this.data);for(var n=0;n<arguments.length;n++)t[this._len++]=arguments[n];this._prevCmd=e}},_expandData:function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(e,t){var n,r,i=this._dashSum,o=this._dashOffset,a=this._lineDash,s=this._ctx,l=this._xi,u=this._yi,c=e-l,d=t-u,h=y(c*c+d*d),f=l,m=u,v=a.length;c/=h,d/=h,o<0&&(o=i+o),o%=i,f-=o*c,m-=o*d;while(c>0&&f<=e||c<0&&f>=e||0===c&&(d>0&&m<=t||d<0&&m>=t))r=this._dashIdx,n=a[r],f+=c*n,m+=d*n,this._dashIdx=(r+1)%v,c>0&&f<l||c<0&&f>l||d>0&&m<u||d<0&&m>u||s[r%2?"moveTo":"lineTo"](c>=0?p(f,e):g(f,e),d>=0?p(m,t):g(m,t));c=f-e,d=m-t,this._dashOffset=-y(c*c+d*d)},_dashedBezierTo:function(e,t,n,i,o,a){var s,l,u,c,d,h=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,b=r.cubicAt,_=0,w=this._dashIdx,x=p.length,C=0;for(f<0&&(f=h+f),f%=h,s=0;s<1;s+=.1)l=b(m,e,n,o,s+.1)-b(m,e,n,o,s),u=b(v,t,i,a,s+.1)-b(v,t,i,a,s),_+=y(l*l+u*u);for(;w<x;w++)if(C+=p[w],C>f)break;s=(C-f)/_;while(s<=1)c=b(m,e,n,o,s),d=b(v,t,i,a,s),w%2?g.moveTo(c,d):g.lineTo(c,d),s+=p[w]/_,w=(w+1)%x;w%2!==0&&g.lineTo(o,a),l=o-c,u=a-d,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(e,t,n,r){var i=n,o=r;n=(n+2*e)/3,r=(r+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,r,i,o)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,_&&(this.data=new Float32Array(e)))},getBoundingRect:function(){c[0]=c[1]=h[0]=h[1]=Number.MAX_VALUE,d[0]=d[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,r=0,s=0,l=0;l<e.length;){var p=e[l++];switch(1===l&&(t=e[l],n=e[l+1],r=t,s=n),p){case u.M:r=e[l++],s=e[l++],t=r,n=s,h[0]=r,h[1]=s,f[0]=r,f[1]=s;break;case u.L:o.fromLine(t,n,e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case u.C:o.fromCubic(t,n,e[l++],e[l++],e[l++],e[l++],e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case u.Q:o.fromQuadratic(t,n,e[l++],e[l++],e[l],e[l+1],h,f),t=e[l++],n=e[l++];break;case u.A:var g=e[l++],y=e[l++],b=e[l++],_=e[l++],w=e[l++],x=e[l++]+w;l+=1;var C=1-e[l++];1===l&&(r=m(w)*b+g,s=v(w)*_+y),o.fromArc(g,y,b,_,w,x,C,h,f),t=m(x)*b+g,n=v(x)*_+y;break;case u.R:r=t=e[l++],s=n=e[l++];var S=e[l++],O=e[l++];o.fromLine(r,s,r+S,s+O,h,f);break;case u.Z:t=r,n=s;break}i.min(c,c,h),i.max(d,d,f)}return 0===l&&(c[0]=c[1]=d[0]=d[1]=0),new a(c[0],c[1],d[0]-c[0],d[1]-c[1])},rebuildPath:function(e){for(var t,n,r,i,o,a,s=this.data,l=this._ux,c=this._uy,d=this._len,h=0;h<d;){var f=s[h++];switch(1===h&&(r=s[h],i=s[h+1],t=r,n=i),f){case u.M:t=r=s[h++],n=i=s[h++],e.moveTo(r,i);break;case u.L:o=s[h++],a=s[h++],(b(o-r)>l||b(a-i)>c||h===d-1)&&(e.lineTo(o,a),r=o,i=a);break;case u.C:e.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case u.Q:e.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case u.A:var p=s[h++],g=s[h++],y=s[h++],_=s[h++],w=s[h++],x=s[h++],C=s[h++],S=s[h++],O=y>_?y:_,k=y>_?1:y/_,E=y>_?_/y:1,D=Math.abs(y-_)>.001,M=w+x;D?(e.translate(p,g),e.rotate(C),e.scale(k,E),e.arc(0,0,O,w,M,1-S),e.scale(1/k,1/E),e.rotate(-C),e.translate(-p,-g)):e.arc(p,g,O,w,M,1-S),1===h&&(t=m(w)*y+p,n=v(w)*_+g),r=m(M)*y+p,i=v(M)*_+g;break;case u.R:t=r=s[h],n=i=s[h+1],e.rect(s[h++],s[h++],s[h++],s[h++]);break;case u.Z:e.closePath(),r=t,i=n}}}},w.CMD=u;var x=w;e.exports=x},IUWy:function(e,t){var n={};function r(e,t){n[e]=t}function i(e){return n[e]}t.register=r,t.get=i},IWNH:function(e,t,n){var r=n("T4UG"),i=n("Bsck"),o=n("7aKB"),a=o.encodeHTML,s=n("Qxkt"),l=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new s(n,this,this.ecModel),o=i.createTree(t,this,{},a);function a(e){e.wrapMethod("getItemModel",(function(e,t){var n=o.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=r),e}))}var l=0;o.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var u=e.expandAndCollapse,c=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return o.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=c})),o.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,n=t.root.children[0],r=t.getNodeByDataIndex(e),i=r.getValue(),o=r.name;while(r&&r!==n)o=r.parentNode.name+"."+o,r=r.parentNode;return a(o+(isNaN(i)||null==i?"":" : "+i))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},IWp7:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("7aKB"),a=n("lE7J"),s=n("ieMj"),l=s.prototype,u=Math.ceil,c=Math.floor,d=1e3,h=60*d,f=60*h,p=24*f,g=function(e,t,n,r){while(n<r){var i=n+r>>>1;e[i][1]<t?n=i+1:r=i}return n},m=s.extend({type:"time",getLabel:function(e){var t=this._stepLvl,n=new Date(e);return o.formatTime(t[0],n,this.getSetting("useUTC"))},niceExtent:function(e){var t=this._extent;if(t[0]===t[1]&&(t[0]-=p,t[1]+=p),t[1]===-1/0&&t[0]===1/0){var n=new Date;t[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),t[0]=t[1]-p}this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var r=this._interval;e.fixMin||(t[0]=i.round(c(t[0]/r)*r)),e.fixMax||(t[1]=i.round(u(t[1]/r)*r))},niceTicks:function(e,t,n){e=e||10;var r=this._extent,o=r[1]-r[0],s=o/e;null!=t&&s<t&&(s=t),null!=n&&s>n&&(s=n);var l=v.length,d=g(v,s,0,l),h=v[Math.min(d,l-1)],f=h[1];if("year"===h[0]){var p=o/f,m=i.nice(p/e,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+r[0]||+r[1]).getTimezoneOffset()*1e3,b=[Math.round(u((r[0]-y)/f)*f+y),Math.round(c((r[1]-y)/f)*f+y)];a.fixExtent(b,r),this._stepLvl=h,this._interval=f,this._niceExtent=b},parse:function(e){return+i.parseDate(e)}});r.each(["contain","normalize"],(function(e){m.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var v=[["hh:mm:ss",d],["hh:mm:ss",5*d],["hh:mm:ss",10*d],["hh:mm:ss",15*d],["hh:mm:ss",30*d],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",5*h],["hh:mm\nMM-dd",10*h],["hh:mm\nMM-dd",15*h],["hh:mm\nMM-dd",30*h],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(e){return new m({useUTC:e.ecModel.get("useUTC")})};var y=m;e.exports=y},IXuL:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("MwEJ")),o=n("T4UG"),a=o.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0}});e.exports=a},IXyC:function(e,t,n){var r=n("bYtY"),i=n("bLfw");n("3zoK");var o=i.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){i.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&r.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);r.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=o},ItGF:function(e,t){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i(navigator.userAgent);var r=n;function i(e){var t={},n={},r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge\/([\d.]+)/),a=/micromessenger/i.test(e);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1]),a&&(n.weChat=!0),{browser:n,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}e.exports=r},Itpr:function(e,t,n){var r=n("+TT/");function i(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,n,r=[e];while(t=r.pop())if(n=t.children,t.isExpand&&n.length)for(var i=n.length,o=i-1;o>=0;o--){var a=n[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}function o(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){c(e);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-o):e.hierNode.prelim=o}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=d(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function a(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n}function u(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var o=t[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function d(e,t,n,r){if(t){var i=e,o=e,a=o.parentNode.children[0],s=t,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),o=f(o),s&&o){i=h(i),a=f(a),i.hierNode.ancestor=e;var m=s.hierNode.prelim+d-o.hierNode.prelim-u+r(s,o);m>0&&(g(p(s,e,n),e,m),u+=m,l+=m),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!f(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=e)}return n}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function f(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function p(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function g(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=i,t.firstWalk=o,t.secondWalk=a,t.separation=s,t.radialCoordinate=l,t.getViewRect=u},IwbS:function(e,t,n){var r=n("bYtY"),i=n("NC18"),o=n("Qe9p"),a=n("Fofx"),s=n("QBsz"),l=n("y+Vt"),u=n("DN4a"),c=n("Dagg");t.Image=c;var d=n("4fz+");t.Group=d;var h=n("dqUG");t.Text=h;var f=n("2fw6");t.Circle=f;var p=n("SqI9");t.Sector=p;var g=n("RXMa");t.Ring=g;var m=n("h7HQ");t.Polygon=m;var v=n("1Jh7");t.Polyline=v;var y=n("x6Kt");t.Rect=y;var b=n("yxFR");t.Line=b;var _=n("rA99");t.BezierCurve=_;var w=n("jTL6");t.Arc=w;var x=n("1MYJ");t.CompoundPath=x;var C=n("SKnc");t.LinearGradient=C;var S=n("3e3G");t.RadialGradient=S;var O=n("mFDi");t.BoundingRect=O;var k=n("OS9S");t.IncrementalDisplayable=k;var E=n("nPnh"),D=Math.max,M=Math.min,N={},L=1,I={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},T="emphasis",P="normal",A=1,R={},j={};function F(e){return l.extend(e)}function B(e,t){return i.extendFromString(e,t)}function V(e,t){j[e]=t}function z(e){if(j.hasOwnProperty(e))return j[e]}function W(e,t,n,r){var o=i.createFromString(e,t);return n&&("center"===r&&(n=U(n,o.getBoundingRect())),G(o,n)),o}function H(e,t,n){var r=new c({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(U(t,i))}}});return r}function U(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var o=e.x+e.width/2,a=e.y+e.height/2;return{x:o-i/2,y:a-n/2,width:i,height:n}}var K=i.mergePath;function G(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function q(e){return E.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function Y(e){return E.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var X=E.subPixelOptimize;function Z(e){return null!=e&&"none"!==e}var Q=r.createHashMap(),$=0;function J(e){if("string"!==typeof e)return e;var t=Q.get(e);return t||(t=o.lift(e,-.1),$<1e4&&(Q.set(e,t),$++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var r=e.style;for(var i in t)null!=t[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.__zr,r=e.useHoverLayer&&n&&"canvas"===n.painter.type;if(e.__highlighted=r?"layer":"plain",!(e.isGroup||!n&&e.useHoverLayer)){var i=e,o=e.style;r&&(i=n.addHover(e),o=i.style),Se(o),r||ee(i),o.extendFrom(t),ne(o,t,"fill"),ne(o,t,"stroke"),Ce(o),r||(e.dirty(!1),e.z2+=L)}}}function ne(e,t,n){!Z(t[n])&&Z(e[n])&&(e[n]=J(e[n]))}function re(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var n=e.style,r=e.__cachedNormalStl;r&&(Se(n),e.setStyle(r),Ce(n));var i=e.__cachedNormalZ2;null!=i&&e.z2-i===L&&(e.z2=i)}}function ie(e,t,n){var r,i=P,o=P;e.__highlighted&&(i=T,r=!0),t(e,n),e.__highlighted&&(o=T,r=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,n)})),r&&e.__highDownOnUpdate&&e.__highDownOnUpdate(i,o)}function oe(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,re(e),te(e))}function ae(e){!ce(this,e)&&!this.__highByOuter&&ie(this,te)}function se(e){!ce(this,e)&&!this.__highByOuter&&ie(this,re)}function le(e){this.__highByOuter|=1<<(e||0),ie(this,te)}function ue(e){!(this.__highByOuter&=~(1<<(e||0)))&&ie(this,re)}function ce(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function de(e,t){he(e,!0),ie(e,oe,t)}function he(e,t){var n=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!n||e.__highDownDispatcher){var r=n?"off":"on";e[r]("mouseover",ae)[r]("mouseout",se),e[r]("emphasis",le)[r]("normal",ue),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!n}}function fe(e){return!(!e||!e.__highDownDispatcher)}function pe(e){var t=R[e];return null==t&&A<=32&&(t=R[e]=A++),t}function ge(e,t,n,i,o,a,s){o=o||N;var l,u=o.labelFetcher,c=o.labelDataIndex,d=o.labelDimIndex,h=o.labelProp,f=n.getShallow("show"),p=i.getShallow("show");(f||p)&&(u&&(l=u.getFormattedLabel(c,"normal",null,d,h)),null==l&&(l=r.isFunction(o.defaultText)?o.defaultText(c,o):o.defaultText));var g=f?l:null,m=p?r.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,d,h):null,l):null;null==g&&null==m||(ve(e,n,a,o),ve(t,i,s,o,!0)),e.text=g,t.text=m}function me(e,t,n){var i=e.style;t&&(Se(i),e.setStyle(t),Ce(i)),i=e.__hoverStl,n&&i&&(Se(i),r.extend(i,n),Ce(i))}function ve(e,t,n,i,o){return be(e,t,i,o),n&&r.extend(e,n),e}function ye(e,t,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,be(e,t,i,r)}function be(e,t,n,i){if(n=n||N,n.isRectText){var o;n.getTextPosition?o=n.getTextPosition(t,i):(o=t.getShallow("position")||(i?null:"inside"),"outside"===o&&(o="top")),e.textPosition=o,e.textOffset=t.getShallow("offset");var a=t.getShallow("rotate");null!=a&&(a*=Math.PI/180),e.textRotation=a,e.textDistance=r.retrieve2(t.getShallow("distance"),i?null:5)}var s,l=t.ecModel,u=l&&l.option.textStyle,c=_e(t);if(c)for(var d in s={},c)if(c.hasOwnProperty(d)){var h=t.getModel(["rich",d]);we(s[d]={},h,u,n,i)}return e.rich=s,we(e,t,u,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function _e(e){var t;while(e&&e!==e.ecModel){var n=(e.option||N).rich;if(n)for(var r in t=t||{},n)n.hasOwnProperty(r)&&(t[r]=1);e=e.parentModel}return t}function we(e,t,n,i,o,a){n=!o&&n||N,e.textFill=xe(t.getShallow("color"),i)||n.color,e.textStroke=xe(t.getShallow("textBorderColor"),i)||n.textBorderColor,e.textStrokeWidth=r.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(e.insideRollbackOpt=i,Ce(e)),null==e.textFill&&(e.textFill=i.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),a&&i.disableBox||(e.textBackgroundColor=xe(t.getShallow("backgroundColor"),i),e.textPadding=t.getShallow("padding"),e.textBorderColor=xe(t.getShallow("borderColor"),i),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function xe(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function Ce(e){var t,n=e.textPosition,r=e.insideRollbackOpt;if(r&&null==e.textFill){var i=r.autoColor,o=r.isRectText,a=r.useInsideStyle,s=!1!==a&&(!0===a||o&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=i;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=i,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=i)}e.insideRollback=t}function Se(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Oe(e,t){var n=t&&t.getModel("textStyle");return r.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function ke(e,t,n,r,i,o){"function"===typeof i&&(o=i,i=null);var a=r&&r.isAnimationEnabled();if(a){var s=e?"Update":"",l=r.getShallow("animationDuration"+s),u=r.getShallow("animationEasing"+s),c=r.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(i,r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null)),"function"===typeof l&&(l=l(i)),l>0?t.animateTo(n,l,c||0,u,o,!!o):(t.stopAnimation(),t.attr(n),o&&o())}else t.stopAnimation(),t.attr(n),o&&o()}function Ee(e,t,n,r,i){ke(!0,e,t,n,r,i)}function De(e,t,n,r,i){ke(!1,e,t,n,r,i)}function Me(e,t){var n=a.identity([]);while(e&&e!==t)a.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Ne(e,t,n){return t&&!r.isArrayLike(t)&&(t=u.getLocalTransform(t)),n&&(t=a.invert([],t)),s.applyTransform([],e,t)}function Le(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),o=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return o=Ne(o,t,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ie(e,t,n,i){if(e&&t){var o=a(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=o[e.anid];if(t){var r=l(e);e.attr(l(t)),Ee(e,r,n,e.dataIndex)}}}))}function a(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=r.extend({},e.shape)),t}}function Te(e,t){return r.map(e,(function(e){var n=e[0];n=D(n,t.x),n=M(n,t.x+t.width);var r=e[1];return r=D(r,t.y),r=M(r,t.y+t.height),[n,r]}))}function Pe(e,t){var n=D(e.x,t.x),r=M(e.x+e.width,t.x+t.width),i=D(e.y,t.y),o=M(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function Ae(e,t,n){t=r.extend({rectHover:!0},t);var i=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),r.defaults(i,n),new c(t)):W(e.replace("path://",""),t,n,"center")}function Re(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(je(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function je(e,t,n,r,i,o,a,s){var l=n-e,u=r-t,c=a-i,d=s-o,h=Fe(c,d,l,u);if(Be(h))return!1;var f=e-i,p=t-o,g=Fe(f,p,l,u)/h;if(g<0||g>1)return!1;var m=Fe(f,p,c,d)/h;return!(m<0||m>1)}function Fe(e,t,n,r){return e*r-n*t}function Be(e){return e<=1e-6&&e>=-1e-6}V("circle",f),V("sector",p),V("ring",g),V("polygon",m),V("polyline",v),V("rect",y),V("line",b),V("bezierCurve",_),V("arc",w),t.Z2_EMPHASIS_LIFT=L,t.CACHED_LABEL_STYLE_PROPERTIES=I,t.extendShape=F,t.extendPath=B,t.registerShape=V,t.getShapeClass=z,t.makePath=W,t.makeImage=H,t.mergePath=K,t.resizePath=G,t.subPixelOptimizeLine=q,t.subPixelOptimizeRect=Y,t.subPixelOptimize=X,t.setElementHoverStyle=oe,t.setHoverStyle=de,t.setAsHighDownDispatcher=he,t.isHighDownDispatcher=fe,t.getHighlightDigit=pe,t.setLabelStyle=ge,t.modifyLabelStyle=me,t.setTextStyle=ve,t.setText=ye,t.getFont=Oe,t.updateProps=Ee,t.initProps=De,t.getTransform=Me,t.applyTransform=Ne,t.transformDirection=Le,t.groupTransition=Ie,t.clipPointsByRect=Te,t.clipRectByRect=Pe,t.createIcon=Ae,t.linePolygonIntersect=Re,t.lineLineIntersect=je},IyUQ:function(e,t,n){var r=n("bYtY"),i=n("YH21"),o=n("IwbS"),a=n("iLNv"),s=n("fc+c"),l=n("OELB"),u=n("+TT/"),c=n("72pK"),d=o.Rect,h=l.linearMap,f=l.asc,p=r.bind,g=r.each,m=7,v=1,y=30,b="horizontal",_="vertical",w=5,x=["line","bar","candlestick","scatter"],C=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,r){C.superApply(this,"render",arguments),a.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){C.superApply(this,"remove",arguments),a.clear(this,"_dispatchZoomAction")},dispose:function(){C.superApply(this,"dispose",arguments),a.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new o.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},o=this._orient===b?{right:i.width-n.x-n.width,top:i.height-y-m,width:n.width,height:y}:{right:m,top:n.y,width:y,height:n.height},a=u.getLayoutParams(e.option);r.each(["right","top","width","height"],(function(e){"ph"===a[e]&&(a[e]=o[e])}));var s=u.getLayoutRect(a,i,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.barGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==b||i?n===b&&i?{scale:a?[-1,1]:[-1,-1]}:n!==_||i?{scale:a?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:a?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:a?[1,1]:[1,-1]});var s=e.getBoundingRect([o]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,i=n.getRawData(),a=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=a){var s=i.getDataExtent(a),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,t[1]],d=[0,t[0]],f=[[t[0],0],[0,0]],p=[],g=d[1]/(i.count()-1),m=0,v=Math.round(i.count()/t[0]);i.each([a],(function(e,t){if(v>0&&t%v)m+=g;else{var n=null==e||isNaN(e)||""===e,r=n?0:h(e,s,c,!0);n&&!u&&t?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,r]),p.push([m,r]),m+=g,u=n}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:f},style:r.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,i=this.ecModel;return e.eachTargetAxis((function(o,a){var s=e.getAxisProxy(o.name,a).getTargetSeriesModels();r.each(s,(function(e){if(!n&&!(!0!==t&&r.indexOf(x,e.get("type"))<0)){var s,l=i.getComponent(o.axis,a).axis,u=S(o.name),c=e.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=e.getData().mapDimension(u),n={thisAxis:l,series:e,thisDim:o.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],r=this._displayables.barGroup,i=this._size,a=this.dataZoomModel;r.add(e.filler=new d({draggable:!0,cursor:O(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),r.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(e){var i=o.createIcon(a.get("handleIcon"),{cursor:O(this._orient),draggable:!0,drift:p(this._onDragMove,this,e),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(a.getModel("handleStyle").getItemStyle());var u=a.get("handleColor");null!=u&&(i.style.fill=u),r.add(t[e]=i);var c=a.textStyleModel;this.group.add(n[e]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];c(t,r,i,n.get("zoomLock")?"all":e,null!=o.minSpan?h(o.minSpan,a,i,!0):null,null!=o.maxSpan?h(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=f([h(r[0],i,a,!0),h(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,r=f(n.slice()),i=this._size;g([0,1],(function(e){var r=t.handles[e],o=this._handleHeight;r.attr({scale:[o/2,o/2],position:[n[e],i[1]/2-o/2]})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,a=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=e?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var d=f(this._handleEnds.slice());function h(e){var t=o.getTransform(n.handles[e].parent,this.group),s=o.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+w,u=o.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);r[e].setStyle({x:u[0],y:u[1],textVerticalAlign:i===b?"middle":s,textAlign:i===b?s:"center",text:a[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=t.getPixelPrecision());var a=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(o,20));return r.isFunction(i)?i(e,a):r.isString(i)?i.replace("{value}",a):a},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,r){this._dragging=!0,i.stop(r.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([t,n],a,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(g(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function S(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function O(e){return"vertical"===e?"ns-resize":"ew-resize"}var k=C;e.exports=k},IzEo:function(e,t,n){"use strict";n("cIOH"),n("lnY3"),n("Znn+"),n("14J3"),n("jCWc")},"J+ZK":function(e,t,n){},J66h:function(e,t,n){(function(n){var r,i;(function(t,n){e.exports=n(t)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n?n:this,(function(n){"use strict";n=n||{};var o=n.Base64,a="2.6.1",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),u=String.fromCharCode,c=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?u(192|t>>>6)+u(128|63&t):u(224|t>>>12&15)+u(128|t>>>6&63)+u(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return u(240|t>>>18&7)+u(128|t>>>12&63)+u(128|t>>>6&63)+u(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(e){return e.replace(d,c)},f=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)];return r.join("")},p=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,f)},g=function(e){return p(h(String(e)))},m=function(e,t){return t?g(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):g(String(e))},v=function(e){return m(e,!0)},y=function(e){return p(Array.from(e,(function(e){return String.fromCharCode(e)})).join(""))},b=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_=function(e){switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return u(55296+(n>>>10))+u(56320+(1023&n));case 3:return u((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return u((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(b,_)},x=function(e){var t=e.length,n=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),i=[u(r>>>16),u(r>>>8&255),u(255&r)];return i.length-=[0,0,2,1][n],i.join("")},C=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,x)},S=function(e){return C(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},O=function(e){return w(C(e))},k=function(e){return O(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},E=function(e){return Uint8Array.from(S(e),(function(e){return e.charCodeAt(0)}))},D=function(){var e=n.Base64;return n.Base64=o,e};if(n.Base64={VERSION:a,atob:S,btoa:p,fromBase64:k,toBase64:m,utob:h,encode:m,encodeURI:v,btou:w,decode:k,noConflict:D,fromUint8Array:y,toUint8Array:E},"function"===typeof Object.defineProperty){var M=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",M((function(){return k(this)}))),Object.defineProperty(String.prototype,"toBase64",M((function(e){return m(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",M((function(){return m(this,!0)})))}}return n["Meteor"]&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:(r=[],i=function(){return n.Base64}.apply(t,r),void 0===i||(e.exports=i)),{Base64:n.Base64}}))}).call(this,n("yLpj"))},JEkh:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("ItGF"),s=n("4NO4"),l=n("7aKB"),u=n("OKJ2"),c=l.addCommas,d=l.encodeHTML;function h(e){s.defaultEmphasis(e,"label",["show"])}var f=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,r){var i=this.constructor,a=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[a];n&&n.data?(s?s._mergeOption(n,t,!0):(r&&h(n),o.each(n.data,(function(e){e instanceof Array?(h(e[0]),h(e[1])):h(e)})),s=new i(n,this,t),o.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[a]=s):e[a]=null}),this)},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),r=o.isArray(n)?o.map(n,c).join(", "):c(n),i=t.getName(e),a=d(this.name);return(null!=n||i)&&(a+="<br />"),i&&(a+=d(i),null!=n&&(a+=" : ")),null!=n&&(a+=d(r)),a},getData:function(){return this._data},setData:function(e){this._data=e}});o.mixin(f,u);var p=f;e.exports=p},JGo8:function(e,t,n){},JHRd:function(e,t,n){var r=n("Kz5y"),i=r.Uint8Array;e.exports=i},JHgL:function(e,t,n){var r=n("QkVE");function i(e){return r(this,e).get(e)}e.exports=i},JLnu:function(e,t,n){var r=n("+TT/"),i=n("OELB"),o=i.parsePercent,a=i.linearMap;function s(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function l(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],o="ascending"===t,a=0,s=e.count();a<s;a++)i[a]=a;return"function"===typeof t?i.sort(t):"none"!==t&&i.sort((function(e,t){return o?r[e]-r[t]:r[t]-r[e]})),i}function u(e){e.each((function(t){var n,r,i,o,a=e.getItemModel(t),s=a.getModel("label"),l=s.get("position"),u=a.getModel("labelLine"),c=e.getItemLayout(t),d=c.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(r=(d[0][0]+d[3][0])/2+5,i=(d[0][1]+d[3][1])/2,n="left"):"insideRight"===l?(r=(d[1][0]+d[2][0])/2-5,i=(d[1][1]+d[2][1])/2,n="right"):(r=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,i=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,n="center"),o=[[r,i],[r,i]];else{var f,p,g,m=u.get("length");"left"===l?(f=(d[3][0]+d[0][0])/2,p=(d[3][1]+d[0][1])/2,g=f-m,r=g-5,n="right"):"right"===l?(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,g=f+m,r=g+5,n="left"):"rightTop"===l?(f=d[1][0],p=d[1][1],g=f+m,r=g+5,n="top"):"rightBottom"===l?(f=d[2][0],p=d[2][1],g=f+m,r=g+5,n="bottom"):"leftTop"===l?(f=d[0][0],p=d[1][1],g=f-m,r=g-5,n="right"):"leftBottom"===l?(f=d[3][0],p=d[2][1],g=f-m,r=g-5,n="right"):(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,g=f+m,r=g+5,n="left");var v=p;o=[[f,p],[g,v]],i=v}c.label={linePoints:o,x:r,y:i,verticalAlign:"middle",textAlign:n,inside:h}}))}function c(e,t,n){e.eachSeriesByType("funnel",(function(e){var n=e.getData(),r=n.mapDimension("value"),i=e.get("sort"),c=s(e,t),d=l(n,i),h=[o(e.get("minSize"),c.width),o(e.get("maxSize"),c.width)],f=n.getDataExtent(r),p=e.get("min"),g=e.get("max");null==p&&(p=Math.min(f[0],0)),null==g&&(g=f[1]);var m=e.get("funnelAlign"),v=e.get("gap"),y=(c.height-v*(n.count()-1))/n.count(),b=c.y,_=function(e,t){var i,o=n.get(r,e)||0,s=a(o,[p,g],h,!0);switch(m){case"left":i=c.x;break;case"center":i=c.x+(c.width-s)/2;break;case"right":i=c.x+c.width-s;break}return[[i,t],[i+s,t]]};"ascending"===i&&(y=-y,v=-v,b+=c.height,d=d.reverse());for(var w=0;w<d.length;w++){var x=d[w],C=d[w+1],S=n.getItemModel(x),O=S.get("itemStyle.height");null==O?O=y:(O=o(O,c.height),"ascending"===i&&(O=-O));var k=_(x,b),E=_(C,b+O);b+=O+v,n.setItemLayout(x,{points:k.concat(E.slice().reverse())})}u(n)}))}e.exports=c},"JQT/":function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var r,i=n("MI8n"),o=Object.freeze((function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}}));(function(e){function t(t){return t===e.None||t===e.Cancelled||(t instanceof a||!(!t||"object"!==typeof t)&&("boolean"===typeof t.isCancellationRequested&&"function"===typeof t.onCancellationRequested))}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:i["b"].None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o})})(r||(r={}));var a=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?o:(this._emitter||(this._emitter=new i["a"]),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),s=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new a),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof a&&this._token.cancel():this._token=r.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof a&&this._token.dispose():this._token=r.None},e}()},JSQU:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}e.exports=o},JTzB:function(e,t,n){var r=n("NykK"),i=n("ExA7"),o="[object Arguments]";function a(e){return i(e)&&r(e)==o}e.exports=a},JVwQ:function(e,t,n){var r=n("ProS"),i=n("1NG9"),o=i.Polygon,a=n("IwbS"),s=n("bYtY"),l=s.bind,u=s.extend,c=n("gPAo"),d=r.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var r=e.getData(),i=this.group,s=e.getLayerSeries(),d=r.getLayout("layoutInfo"),f=d.rect,p=d.boundaryGap;function g(e){return e.name}i.attr("position",[0,f.y+p[0]]);var m=new c(this._layersSeries||[],s,g,g),v={};function y(t,n,l){var c=this._layers;if("remove"!==t){for(var d,f,p,g=[],m=[],y=s[n].indices,b=0;b<y.length;b++){var _=r.getItemLayout(y[b]),w=_.x,x=_.y0,C=_.y;g.push([w,x]),m.push([w,x+C]),d=r.getItemVisual(y[b],"color")}var S=r.getItemLayout(y[0]),O=r.getItemModel(y[b-1]),k=O.getModel("label"),E=k.get("margin");if("add"===t){var D=v[n]=new a.Group;f=new o({shape:{points:g,stackedOnPoints:m,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),p=new a.Text({style:{x:S.x-E,y:S.y0+S.y/2}}),D.add(f),D.add(p),i.add(D),f.setClipPath(h(f.getBoundingRect(),e,(function(){f.removeClipPath()})))}else{D=c[l];f=D.childAt(0),p=D.childAt(1),i.add(D),v[n]=D,a.updateProps(f,{shape:{points:g,stackedOnPoints:m}},e),a.updateProps(p,{style:{x:S.x-E,y:S.y0+S.y/2}},e)}var M=O.getModel("emphasis.itemStyle"),N=O.getModel("itemStyle");a.setTextStyle(p.style,k,{text:k.get("show")?e.getFormattedLabel(y[b-1],"normal")||r.getName(y[b-1]):null,textVerticalAlign:"middle"}),f.setStyle(u({fill:d},N.getItemStyle(["color"]))),a.setHoverStyle(f,M.getItemStyle())}else i.remove(c[n])}m.add(l(y,this,"add")).update(l(y,this,"update")).remove(l(y,this,"remove")).execute(),this._layersSeries=s,this._layers=v},dispose:function(){}});function h(e,t,n){var r=new a.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return a.initProps(r,{shape:{width:e.width+20,height:e.height+20}},t,n),r}e.exports=d},JYp7:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return u}));var r,i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o={done:!0,value:void 0};(function(e){var t={next:function(){return o}};function n(){return t}function r(e){var t=!1;return{next:function(){return t?o:(t=!0,{done:!1,value:e})}}}function i(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return t>=n?o:{done:!1,value:e[t++]}}}}function s(e){return{next:function(){var t=e.next();return t.done?o:{done:!1,value:t.value}}}}function l(t){return t?Array.isArray(t)?e.fromArray(t):t:e.empty()}function u(e,t){return{next:function(){var n=e.next();return n.done?o:{done:!1,value:t(n.value)}}}}function c(e,t){return{next:function(){while(1){var n=e.next();if(n.done)return o;if(t(n.value))return{done:!1,value:n.value}}}}}function d(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)}function h(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var n=[];if(0===t)return n;for(var r=0,i=e.next();!i.done;i=e.next())if(n.push(i.value),++r>=t)break;return n}function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=0;return{next:function(){if(n>=e.length)return o;var t=e[n],r=t.next();return r.done?(n++,this.next()):r}}}function p(e){return new a(e)}e.empty=n,e.single=r,e.fromArray=i,e.fromNativeIterator=s,e.from=l,e.map=u,e.filter=c,e.forEach=d,e.collect=h,e.concat=f,e.chain=p})(r||(r={}));var a=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();function s(e){return Array.isArray(e)?r.fromArray(e):e||r.empty()}var l=function(){function e(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===r&&(r=t-1),this.items=e,this.start=t,this.end=n,this.index=r}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}(),u=function(e){function t(t,n,r,i){return void 0===n&&(n=0),void 0===r&&(r=t.length),void 0===i&&(i=n-1),e.call(this,t,n,r,i)||this}return i(t,e),t.prototype.current=function(){return e.prototype.current.call(this)},t.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},t.prototype.first=function(){return this.index=this.start,this.current()},t.prototype.last=function(){return this.index=this.end-1,this.current()},t.prototype.parent=function(){return null},t}(l);(function(){function e(e,t){this.iterator=e,this.fn=t}e.prototype.next=function(){return this.fn(this.iterator.next())}})()},JbBM:function(e,t,n){n("Hfiw"),e.exports=n("WEpk").Object.setPrototypeOf},JgUQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};t.default=r},JlLP:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return n.e(199).then(n.bind(null,"W1QP"))}})},JsLm:function(e,t,n){"use strict";var r=n("q1tI"),i=n("i8i4"),o=n("TSYQ"),a=n.n(o),s=n("zT1h"),l=n("BGR+"),u=n("t23M"),c=n("H84U"),d=n("xEkU"),h=n.n(d);function f(e){return v(e)||m(e)||g(e)||p()}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function m(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function v(e){if(Array.isArray(e))return y(e)}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e){var t,n=function(n){return function(){t=null,e.apply(void 0,f(n))}},r=function(){if(null==t){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t=h()(n(r))}};return r.cancel=function(){return h.a.cancel(t)},r}function _(){return function(e,t,n){var r=n.value,i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t))return r;var n=b(r.bind(this));return i=!0,Object.defineProperty(this,t,{value:n,configurable:!0,writable:!0}),i=!1,n}}}}function w(e){return e!==window?e.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function x(e,t,n){if(void 0!==n&&t.top>e.top-n)return n+t.top}function C(e,t,n){if(void 0!==n&&t.bottom<e.bottom+n){var r=window.innerHeight-t.bottom;return n+r}}var S=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],O=[];function k(e,t){if(e){var n=O.find((function(t){return t.target===e}));n?n.affixList.push(t):(n={target:e,affixList:[t],eventHandlers:{}},O.push(n),S.forEach((function(t){n.eventHandlers[t]=Object(s["a"])(e,t,(function(){n.affixList.forEach((function(e){e.lazyUpdatePosition()}))}))})))}}function E(e){var t=O.find((function(t){var n=t.affixList.some((function(t){return t===e}));return n&&(t.affixList=t.affixList.filter((function(t){return t!==e}))),n}));t&&0===t.affixList.length&&(O=O.filter((function(e){return e!==t})),S.forEach((function(e){var n=t.eventHandlers[e];n&&n.remove&&n.remove()})))}function D(){return D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D.apply(this,arguments)}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),e}function T(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function A(e){var t=F();return function(){var n,r=B(e);if(t){var i=B(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==V(t)&&"function"!==typeof t?j(e):t}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function B(e){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},B(e)}function V(e){return V="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}var z,W=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"===typeof Reflect?"undefined":V(Reflect))&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};function H(){return"undefined"!==typeof window?window:null}(function(e){e[e["None"]=0]="None",e[e["Prepare"]=1]="Prepare"})(z||(z={}));var U=function(e){T(n,e);var t=A(n);function n(){var e;return N(this,n),e=t.apply(this,arguments),e.state={status:z.None,lastAffix:!1,prevTarget:null},e.getOffsetTop=function(){var t=e.props.offsetBottom,n=e.props.offsetTop;return void 0===t&&void 0===n&&(n=0),n},e.getOffsetBottom=function(){return e.props.offsetBottom},e.savePlaceholderNode=function(t){e.placeholderNode=t},e.saveFixedNode=function(t){e.fixedNode=t},e.measure=function(){var t=e.state,n=t.status,r=t.lastAffix,i=e.props.onChange,o=e.getTargetFunc();if(n===z.Prepare&&e.fixedNode&&e.placeholderNode&&o){var a=e.getOffsetTop(),s=e.getOffsetBottom(),l=o();if(l){var u={status:z.None},c=w(l),d=w(e.placeholderNode),h=x(d,c,a),f=C(d,c,s);void 0!==h?(u.affixStyle={position:"fixed",top:h,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}):void 0!==f&&(u.affixStyle={position:"fixed",bottom:f,width:d.width,height:d.height},u.placeholderStyle={width:d.width,height:d.height}),u.lastAffix=!!u.affixStyle,i&&r!==u.lastAffix&&i(u.lastAffix),e.setState(u)}}},e.prepareMeasure=function(){e.setState({status:z.Prepare,affixStyle:void 0,placeholderStyle:void 0})},e.render=function(){var t=e.context.getPrefixCls,n=e.state,i=n.affixStyle,o=n.placeholderStyle,s=e.props,c=s.prefixCls,d=s.children,h=a()(M({},t("affix",c),i)),f=Object(l["a"])(e.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return r["createElement"](u["a"],{onResize:function(){e.updatePosition()}},r["createElement"]("div",D({},f,{ref:e.savePlaceholderNode}),i&&r["createElement"]("div",{style:o,"aria-hidden":"true"}),r["createElement"]("div",{className:h,ref:e.saveFixedNode,style:i},r["createElement"](u["a"],{onResize:function(){e.updatePosition()}},d))))},e}return I(n,[{key:"getTargetFunc",value:function(){var e=this.context.getTargetContainer,t=this.props.target;return void 0!==t?t:e||H}},{key:"componentDidMount",value:function(){var e=this,t=this.getTargetFunc();t&&(this.timeout=setTimeout((function(){k(t(),e),e.updatePosition()})))}},{key:"componentDidUpdate",value:function(e){var t=this.state.prevTarget,n=this.getTargetFunc(),r=null;n&&(r=n()||null),t!==r&&(E(this),r&&(k(r,this),this.updatePosition()),this.setState({prevTarget:r})),e.offsetTop===this.props.offsetTop&&e.offsetBottom===this.props.offsetBottom||this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),E(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var e=this.getTargetFunc(),t=this.state.affixStyle;if(e&&t){var n=this.getOffsetTop(),r=this.getOffsetBottom(),i=e();if(i&&this.placeholderNode){var o=w(i),a=w(this.placeholderNode),s=x(a,o,n),l=C(a,o,r);if(void 0!==s&&t.top===s||void 0!==l&&t.bottom===l)return}}this.prepareMeasure()}}]),n}(r["Component"]);U.contextType=c["b"],W([_()],U.prototype,"updatePosition",null),W([_()],U.prototype,"lazyUpdatePosition",null);var K=U,G=n("zAh6"),q=n("i6bk"),Y=r["createContext"](null),X=Y;function Z(e){return Z="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Q.apply(this,arguments)}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function te(e,t,n){return t&&ee(e.prototype,t),n&&ee(e,n),e}function ne(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&re(e,t)}function re(e,t){return re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},re(e,t)}function ie(e){var t=se();return function(){var n,r=le(e);if(t){var i=le(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return oe(this,n)}}function oe(e,t){return!t||"object"!==Z(t)&&"function"!==typeof t?ae(e):t}function ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function se(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},le(e)}function ue(){return window}function ce(e,t){if(!e.getClientRects().length)return 0;var n=e.getBoundingClientRect();return n.width||n.height?t===window?(t=e.ownerDocument.documentElement,n.top-t.clientTop):n.top-t.getBoundingClientRect().top:n.top}var de=/#(\S+)$/,he=function(e){ne(n,e);var t=ie(n);function n(){var e;return J(this,n),e=t.apply(this,arguments),e.state={activeLink:null},e.links=[],e.registerLink=function(t){e.links.includes(t)||e.links.push(t)},e.unregisterLink=function(t){var n=e.links.indexOf(t);-1!==n&&e.links.splice(n,1)},e.getContainer=function(){var t=e.context.getTargetContainer,n=e.props.getContainer,r=n||t||ue;return r()},e.handleScrollTo=function(t){var n=e.props,r=n.offsetTop,i=n.targetOffset;e.setCurrentActiveLink(t);var o=e.getContainer(),a=Object(q["a"])(o,!0),s=de.exec(t);if(s){var l=document.getElementById(s[1]);if(l){var u=ce(l,o),c=a+u;c-=void 0!==i?i:r||0,e.animating=!0,Object(G["a"])(c,{callback:function(){e.animating=!1},getContainer:e.getContainer})}}},e.saveInkNode=function(t){e.inkNode=t},e.setCurrentActiveLink=function(t){var n=e.state.activeLink,r=e.props.onChange;n!==t&&(e.setState({activeLink:t}),r&&r(t))},e.handleScroll=function(){if(!e.animating){var t=e.props,n=t.offsetTop,r=t.bounds,i=t.targetOffset,o=e.getCurrentAnchor(void 0!==i?i:n||0,r);e.setCurrentActiveLink(o)}},e.updateInk=function(){var t=ae(e),n=t.prefixCls,r=i["findDOMNode"](ae(e)),o=r.getElementsByClassName("".concat(n,"-link-title-active"))[0];o&&(e.inkNode.style.top="".concat(o.offsetTop+o.clientHeight/2-4.5,"px"))},e.render=function(){var t=e.context,n=t.getPrefixCls,i=t.direction,o=e.props,s=o.prefixCls,l=o.className,u=void 0===l?"":l,c=o.style,d=o.offsetTop,h=o.affix,f=o.showInkInFixed,p=o.children,g=e.state.activeLink,m=n("anchor",s);e.prefixCls=m;var v=a()("".concat(m,"-ink-ball"),{visible:g}),y=a()(u,"".concat(m,"-wrapper"),$({},"".concat(m,"-rtl"),"rtl"===i)),b=a()(m,{fixed:!h&&!f}),_=Q({maxHeight:d?"calc(100vh - ".concat(d,"px)"):"100vh"},c),w=r["createElement"]("div",{className:y,style:_},r["createElement"]("div",{className:b},r["createElement"]("div",{className:"".concat(m,"-ink")},r["createElement"]("span",{className:v,ref:e.saveInkNode})),p));return r["createElement"](X.Provider,{value:{registerLink:e.registerLink,unregisterLink:e.unregisterLink,activeLink:e.state.activeLink,scrollTo:e.handleScrollTo,onClick:e.props.onClick}},h?r["createElement"](K,{offsetTop:d,target:e.getContainer},w):w)},e}return te(n,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(s["a"])(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var e=this.getContainer();this.scrollContainer!==e&&(this.scrollContainer=e,this.scrollEvent.remove(),this.scrollEvent=Object(s["a"])(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=this.props.getCurrentAnchor;if("function"===typeof n)return n();var r=[],i=this.getContainer();if(this.links.forEach((function(n){var o=de.exec(n.toString());if(o){var a=document.getElementById(o[1]);if(a){var s=ce(a,i);s<e+t&&r.push({link:n,top:s})}}})),r.length){var o=r.reduce((function(e,t){return t.top>e.top?t:e}));return o.link}return""}}]),n}(r["Component"]);function fe(e){return fe="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(e)}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ve(e,t,n){return t&&me(e.prototype,t),n&&me(e,n),e}function ye(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&be(e,t)}function be(e,t){return be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},be(e,t)}function _e(e){var t=Ce();return function(){var n,r=Se(e);if(t){var i=Se(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return we(this,n)}}function we(e,t){return!t||"object"!==fe(t)&&"function"!==typeof t?xe(e):t}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Se(e)}he.defaultProps={affix:!0,showInkInFixed:!1},he.contextType=c["b"];var Oe=function(e){ye(n,e);var t=_e(n);function n(){var e;return ge(this,n),e=t.apply(this,arguments),e.handleClick=function(t){var n=e.context,r=n.scrollTo,i=n.onClick,o=e.props,a=o.href,s=o.title;i&&i(t,{title:s,href:a}),r(a)},e.renderAnchorLink=function(t){var n=t.getPrefixCls,i=e.props,o=i.prefixCls,s=i.href,l=i.title,u=i.children,c=i.className,d=i.target,h=n("anchor",o),f=e.context.activeLink===s,p=a()(c,"".concat(h,"-link"),pe({},"".concat(h,"-link-active"),f)),g=a()("".concat(h,"-link-title"),pe({},"".concat(h,"-link-title-active"),f));return r["createElement"]("div",{className:p},r["createElement"]("a",{className:g,href:s,title:"string"===typeof l?l:"",target:d,onClick:e.handleClick},l),u)},e}return ve(n,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(e){var t=e.href,n=this.props.href;t!==n&&(this.context.unregisterLink(t),this.context.registerLink(n))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return r["createElement"](c["a"],null,this.renderAnchorLink)}}]),n}(r["Component"]);Oe.defaultProps={href:"#"},Oe.contextType=X;var ke=Oe;he.Link=ke;t["a"]=he},JuEJ:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=r.each,a=r.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(e){var t=e&&e.itemStyle;if(t)for(var n=0,i=s.length;n<i;n++){var o=s[n],a=t.normal,l=t.emphasis;a&&a[o]&&(e[o]=e[o]||{},e[o].normal?r.merge(e[o].normal,a[o]):e[o].normal=a[o],a[o]=null),l&&l[o]&&(e[o]=e[o]||{},e[o].emphasis?r.merge(e[o].emphasis,l[o]):e[o].emphasis=l[o],l[o]=null)}}function u(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var i=e[t].normal,o=e[t].emphasis;i&&(n?(e[t].normal=e[t].emphasis=null,r.defaults(e[t],i)):e[t]=i),o&&(e.emphasis=e.emphasis||{},e.emphasis[t]=o)}}function c(e){u(e,"itemStyle"),u(e,"lineStyle"),u(e,"areaStyle"),u(e,"label"),u(e,"labelLine"),u(e,"upperLabel"),u(e,"edgeLabel")}function d(e,t){var n=a(e)&&e[t],r=a(n)&&n.textStyle;if(r)for(var o=0,s=i.TEXT_STYLE_OPTIONS.length;o<s;o++){t=i.TEXT_STYLE_OPTIONS[o];r.hasOwnProperty(t)&&(n[t]=r[t])}}function h(e){e&&(c(e),d(e,"label"),e.emphasis&&d(e.emphasis,"label"))}function f(e){if(a(e)){l(e),c(e),d(e,"label"),d(e,"upperLabel"),d(e,"edgeLabel"),e.emphasis&&(d(e.emphasis,"label"),d(e.emphasis,"upperLabel"),d(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(l(t),h(t));var n=e.markLine;n&&(l(n),h(n));var i=e.markArea;i&&h(i);var o=e.data;if("graph"===e.type){o=o||e.nodes;var s=e.links||e.edges;if(s&&!r.isTypedArray(s))for(var f=0;f<s.length;f++)h(s[f]);r.each(e.categories,(function(e){c(e)}))}if(o&&!r.isTypedArray(o))for(f=0;f<o.length;f++)h(o[f]);t=e.markPoint;if(t&&t.data){var p=t.data;for(f=0;f<p.length;f++)h(p[f])}n=e.markLine;if(n&&n.data){var g=n.data;for(f=0;f<g.length;f++)r.isArray(g[f])?(h(g[f][0]),h(g[f][1])):h(g[f])}"gauge"===e.type?(d(e,"axisLabel"),d(e,"title"),d(e,"detail")):"treemap"===e.type?(u(e.breadcrumb,"itemStyle"),r.each(e.levels,(function(e){c(e)}))):"tree"===e.type&&c(e.leaves)}}function p(e){return r.isArray(e)?e:e?[e]:[]}function g(e){return(r.isArray(e)?e[0]:e)||{}}function m(e,t){o(p(e.series),(function(e){a(e)&&f(e)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),o(n,(function(t){o(p(e[t]),(function(e){e&&(d(e,"axisLabel"),d(e.axisPointer,"label"))}))})),o(p(e.parallel),(function(e){var t=e&&e.parallelAxisDefault;d(t,"axisLabel"),d(t&&t.axisPointer,"label")})),o(p(e.calendar),(function(e){u(e,"itemStyle"),d(e,"dayLabel"),d(e,"monthLabel"),d(e,"yearLabel")})),o(p(e.radar),(function(e){d(e,"name")})),o(p(e.geo),(function(e){a(e)&&(h(e),o(p(e.regions),(function(e){h(e)})))})),o(p(e.timeline),(function(e){h(e),u(e,"label"),u(e,"itemStyle"),u(e,"controlStyle",!0);var t=e.data;r.isArray(t)&&r.each(t,(function(e){r.isObject(e)&&(u(e,"label"),u(e,"itemStyle"))}))})),o(p(e.toolbox),(function(e){u(e,"iconStyle"),o(e.feature,(function(e){u(e,"iconStyle")}))})),d(g(e.axisPointer),"label"),d(g(e.tooltip).axisPointer,"label")}e.exports=m},JwdM:function(e,t,n){"use strict";function r(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}function i(){}Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=r,t.noop=i},K2GJ:function(e,t,n){var r=n("fW2E"),i=n("gut8"),o=i.ContextCachedBy,a=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],s=function(e){this.extendFrom(e,!1)};function l(e,t,n){var r=null==t.x?0:t.x,i=null==t.x2?1:t.x2,o=null==t.y?0:t.y,a=null==t.y2?0:t.y2;t.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=isNaN(r)?0:r,i=isNaN(i)?1:i,o=isNaN(o)?0:o,a=isNaN(a)?0:a;var s=e.createLinearGradient(r,o,i,a);return s}function u(e,t,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==t.x?.5:t.x,s=null==t.y?.5:t.y,l=null==t.r?.5:t.r;t.global||(a=a*r+n.x,s=s*i+n.y,l*=o);var u=e.createRadialGradient(a,s,0,a,s,l);return u}s.prototype={constructor:s,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(e,t,n){var i=this,s=n&&n.style,l=!s||e.__attrCachedBy!==o.STYLE_BIND;e.__attrCachedBy=o.STYLE_BIND;for(var u=0;u<a.length;u++){var c=a[u],d=c[0];(l||i[d]!==s[d])&&(e[d]=r(e,d,i[d]||c[1]))}if((l||i.fill!==s.fill)&&(e.fillStyle=i.fill),(l||i.stroke!==s.stroke)&&(e.strokeStyle=i.stroke),(l||i.opacity!==s.opacity)&&(e.globalAlpha=null==i.opacity?1:i.opacity),(l||i.blend!==s.blend)&&(e.globalCompositeOperation=i.blend||"source-over"),this.hasStroke()){var h=i.lineWidth;e.lineWidth=h/(this.strokeNoScale&&t&&t.getLineScale?t.getLineScale():1)}},hasFill:function(){var e=this.fill;return null!=e&&"none"!==e},hasStroke:function(){var e=this.stroke;return null!=e&&"none"!==e&&this.lineWidth>0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var r="radial"===t.type?u:l,i=r(e,t,n),o=t.colorStops,a=0;a<o.length;a++)i.addColorStop(o[a].offset,o[a].color);return i}};for(var c=s.prototype,d=0;d<a.length;d++){var h=a[d];h[0]in c||(c[h[0]]=h[1])}s.getGradient=c.getGradient;var f=s;e.exports=f},K4ya:function(e,t,n){var r=n("bYtY"),i=n("XxSj"),o=r.each;function a(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!0}function s(e,t,n){var a={};return o(t,(function(t){var l=a[t]=s();o(e[t],(function(e,o){if(i.isValidType(o)){var a={type:o,visual:e};n&&n(a,t),l[o]=new i(a),"opacity"===o&&(a=r.clone(a),a.type="colorAlpha",l.__hidden.__alphaForOpacity=new i(a))}}))})),a;function s(){var e=function(){};e.prototype.__hidden=e.prototype;var t=new e;return t}}function l(e,t,n){var i;r.each(n,(function(e){t.hasOwnProperty(e)&&a(t[e])&&(i=!0)})),i&&r.each(n,(function(n){t.hasOwnProperty(n)&&a(t[n])?e[n]=r.clone(t[n]):delete e[n]}))}function u(e,t,n,o,a,s){var l,u={};function c(e){return n.getItemVisual(l,e)}function d(e,t){n.setItemVisual(l,e,t)}function h(e,r){l=null==s?e:r;var i=n.getRawDataItem(l);if(!i||!1!==i.visualMap)for(var h=o.call(a,e),f=t[h],p=u[h],g=0,m=p.length;g<m;g++){var v=p[g];f[v]&&f[v].applyVisual(e,c,d)}}r.each(e,(function(e){var n=i.prepareVisualTypes(t[e]);u[e]=n})),null==s?n.each(h):n.each([s],h)}function c(e,t,n,o){var a={};function s(e,r){function i(e){return r.getItemVisual(l,e)}function s(e,t){r.setItemVisual(l,e,t)}var l;null!=o&&(o=r.getDimension(o));while(null!=(l=e.next())){var u=r.getRawDataItem(l);if(!u||!1!==u.visualMap)for(var c=null!=o?r.get(o,l,!0):l,d=n(c),h=t[d],f=a[d],p=0,g=f.length;p<g;p++){var m=f[p];h[m]&&h[m].applyVisual(c,i,s)}}}return r.each(e,(function(e){var n=i.prepareVisualTypes(t[e]);a[e]=n})),{progress:s}}t.createVisualMappings=s,t.replaceVisualOption=l,t.applyVisual=u,t.incrementalApplyVisual=c},KAsB:function(e,t,n){},KBXm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};t.default=r},KCY9:function(e,t,n){},KCsZ:function(e,t,n){var r=n("bYtY");function i(e){for(var t=0;t<e.length;t++)e[t][1]||(e[t][1]=e[t][0]);return function(t,n,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];if(!(n&&r.indexOf(n,s)>=0||i&&r.indexOf(i,s)<0)){var l=t.getShallow(s);null!=l&&(o[e[a][0]]=l)}}return o}}e.exports=i},KDc4:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),function(e){e[e["None"]=0]="None",e[e["Indent"]=1]="Indent",e[e["IndentOutdent"]=2]="IndentOutdent",e[e["Outdent"]=3]="Outdent"}(r||(r={}));var i=function(){function e(e){if(this.open=e.open,this.close=e.close,this._standardTokenMask=0,Array.isArray(e.notIn))for(var t=0,n=e.notIn.length;t<n;t++){var r=e.notIn[t];switch(r){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4;break}}}return e.prototype.isOK=function(e){return 0===(this._standardTokenMask&e)},e}()},KMkd:function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},KNH7:function(e,t,n){"use strict";var r=n("q1tI"),i=n("oOh1"),o=n("H84U"),a=n("xCex");function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},u=function(e,t){var n=r["useContext"](a["b"]),u=r["useContext"](o["b"]),c=u.getPrefixCls,d=e.prefixCls,h=l(e,["prefixCls"]),f=c("radio-button",d);return n&&(h.checked=e.value===n.value,h.disabled=e.disabled||n.disabled),r["createElement"](i["a"],s({prefixCls:f},h,{type:"radio",ref:t}))};t["a"]=r["forwardRef"](u)},KPFz:function(e,t,n){},KQeH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};t.default=r},KS52:function(e,t,n){var r=n("OELB"),i=r.parsePercent,o=r.linearMap,a=n("+TT/"),s=n("u3DP"),l=n("bYtY"),u=2*Math.PI,c=Math.PI/180;function d(e,t){return a.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(e,t,n,r){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),a=d(e,n),h=e.get("center"),f=e.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(h)||(h=[h,h]);var p=i(a.width,n.getWidth()),g=i(a.height,n.getHeight()),m=Math.min(p,g),v=i(h[0],p)+a.x,y=i(h[1],g)+a.y,b=i(f[0],m/2),_=i(f[1],m/2),w=-e.get("startAngle")*c,x=e.get("minAngle")*c,C=0;t.each(r,(function(e){!isNaN(e)&&C++}));var S=t.getSum(r),O=Math.PI/(S||C)*2,k=e.get("clockwise"),E=e.get("roseType"),D=e.get("stillShowZeroSum"),M=t.getDataExtent(r);M[0]=0;var N=u,L=0,I=w,T=k?1:-1;if(t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:k,cx:v,cy:y,r0:b,r:E?NaN:_,viewRect:a});else{r="area"!==E?0===S&&D?O:e*O:u/C,r<x?(r=x,N-=x):L+=e;var i=I+T*r;t.setItemLayout(n,{angle:r,startAngle:I,endAngle:i,clockwise:k,cx:v,cy:y,r0:b,r:E?o(e,M,[b,_]):_,viewRect:a}),I=i}})),N<u&&C)if(N<=.001){var P=u/C;t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n);r.angle=P,r.startAngle=w+T*n*P,r.endAngle=w+T*(n+1)*P}}))}else O=N/L,I=w,t.each(r,(function(e,n){if(!isNaN(e)){var r=t.getItemLayout(n),i=r.angle===x?x:e*O;r.startAngle=I,r.endAngle=I+T*i,I+=T*i}}));s(e,_,a.width,a.height,a.x,a.y)}))}e.exports=h},KTWA:function(e,t,n){"use strict";n.r(t);var r=n("3/fG"),i=n("sswD"),o=n("wQH0"),a=n("aokT"),s=function(){function e(e,t){this._selection=e,this._isMovingLeft=t,this._cutStartIndex=-1,this._cutEndIndex=-1,this._moved=!1,this._selectionId=null}return e.prototype.getEditOperations=function(e,t){var n=this._selection;if(this._selectionId=t.trackSelection(n),n.startLineNumber===n.endLineNumber&&(!this._isMovingLeft||0!==n.startColumn)&&(this._isMovingLeft||n.endColumn!==e.getLineMaxColumn(n.startLineNumber))){var r,i,o,s=n.selectionStartLineNumber,l=e.getLineContent(s);this._isMovingLeft?(r=l.substring(0,n.startColumn-2),i=l.substring(n.startColumn-1,n.endColumn-1),o=l.substring(n.startColumn-2,n.startColumn-1)+l.substring(n.endColumn-1)):(r=l.substring(0,n.startColumn-1)+l.substring(n.endColumn-1,n.endColumn),i=l.substring(n.startColumn-1,n.endColumn-1),o=l.substring(n.endColumn));var u=r+i+o;t.addEditOperation(new a["a"](s,1,s,e.getLineMaxColumn(s)),null),t.addEditOperation(new a["a"](s,1,s,1),u),this._cutStartIndex=n.startColumn+(this._isMovingLeft?-1:1),this._cutEndIndex=this._cutStartIndex+n.endColumn-n.startColumn,this._moved=!0}},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moved&&(n=n.setStartPosition(n.startLineNumber,this._cutStartIndex),n=n.setEndPosition(n.startLineNumber,this._cutEndIndex)),n},e}(),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e){function t(t,n){var r=e.call(this,n)||this;return r.left=t,r}return l(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=[],r=t.getSelections(),i=0,o=r;i<o.length;i++){var a=o[i];n.push(new s(a,this.left))}t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop()}},t}(i["b"]),c=function(e){function t(){return e.call(this,!0,{id:"editor.action.moveCarretLeftAction",label:r["a"]("caret.moveLeft","Move Caret Left"),alias:"Move Caret Left",precondition:o["a"].writable})||this}return l(t,e),t}(u),d=function(e){function t(){return e.call(this,!1,{id:"editor.action.moveCarretRightAction",label:r["a"]("caret.moveRight","Move Caret Right"),alias:"Move Caret Right",precondition:o["a"].writable})||this}return l(t,e),t}(u);Object(i["f"])(c),Object(i["f"])(d)},KUOm:function(e,t){function n(e){var t={};e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.get("itemStyle.color")||e.getColorFromPalette(o,t);n.setItemVisual(r,"color",s);for(var l=["opacity","symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(r,l[u],c)}})),n.count()&&r.each((function(e){var t=r.getItemModel(e),o=t.getShallow("category");if(null!=o){"string"===typeof o&&(o=i["ec-"+o]);for(var a=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)null==r.getItemVisual(e,a[s],!0)&&r.setItemVisual(e,a[s],n.getItemVisual(o,a[s]))}}))}))}e.exports=n},KaET:function(e,t,n){},Kagy:function(e,t){var n={legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}};e.exports=n},KamJ:function(e,t,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),r.registerPreprocessor(i)},KgQ1:function(e,t,n){},KmBX:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("CP8R")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="FilterFilled";var u=o.forwardRef(l);t.default=u},"KpQ+":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("E/ki")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="ClockCircleOutlined";var u=o.forwardRef(l);t.default=u},KpVd:function(e,t,n){"use strict";(function(e){function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,n){return s=a()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&o(a,n.prototype),a},s.apply(null,arguments)}function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function u(e){var t="function"===typeof Map?new Map:void 0;return u=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},u(e)}var c=/%[sdj%]/g,d=function(){};function h(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(c,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(n){return"[Circular]"}break;default:return e}})),s=t[r];r<o;s=t[++r])a+=" "+s;return a}return i}function p(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function g(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!p(t)||"string"!==typeof e||e))}function m(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e),i++,i===o&&n(r)}e.forEach((function(e){t(e,a)}))}function v(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}}o([])}function y(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}"undefined"!==typeof e&&Object({NODE_ENV:"production"});var b=function(e){function t(t,n){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=t,r.fields=n,r}return r(t,e),t}(u(Error));function _(e,t,n,r){if(t.first){var i=new Promise((function(t,i){var o=function(e){return r(e),e.length?i(new b(e,h(e))):t()},a=y(e);v(a,n,o)}));return i["catch"]((function(e){return e})),i}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,u=[],c=new Promise((function(t,i){var c=function(e){if(u.push.apply(u,e),l++,l===s)return r(u),u.length?i(new b(u,h(u))):t()};a.length||(r(u),t()),a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?v(r,n,c):m(r,n,c)}))}));return c["catch"]((function(e){return e})),c}function w(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"===typeof t?t():t,field:t.field||e.fullField}}}function x(e,t){if(t)for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];"object"===typeof i&&"object"===typeof e[r]?e[r]=n(n({},e[r]),i):e[r]=i}return e}function C(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!g(t,o||e.type)||r.push(f(i.messages.required,e.fullField))}function S(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(f(i.messages.whitespace,e.fullField))}var O={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},k={integer:function(e){return k.number(e)&&parseInt(e,10)===e},float:function(e){return k.number(e)&&!k.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!k.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(O.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(O.url)},hex:function(e){return"string"===typeof e&&!!e.match(O.hex)}};function E(e,t,n,r,i){if(e.required&&void 0===t)C(e,t,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?k[a](t)||r.push(f(i.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(f(i.messages.types[a],e.fullField,e.type))}}function D(e,t,n,r,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=t,c=null,d="number"===typeof t,h="string"===typeof t,p=Array.isArray(t);if(d?c="number":h?c="string":p&&(c="array"),!c)return!1;p&&(u=t.length),h&&(u=t.replace(l,"_").length),o?u!==e.len&&r.push(f(i.messages[c].len,e.fullField,e.len)):a&&!s&&u<e.min?r.push(f(i.messages[c].min,e.fullField,e.min)):s&&!a&&u>e.max?r.push(f(i.messages[c].max,e.fullField,e.max)):a&&s&&(u<e.min||u>e.max)&&r.push(f(i.messages[c].range,e.fullField,e.min,e.max))}var M="enum";function N(e,t,n,r,i){e[M]=Array.isArray(e[M])?e[M]:[],-1===e[M].indexOf(t)&&r.push(f(i.messages[M],e.fullField,e[M].join(", ")))}function L(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(f(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||r.push(f(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var I={required:C,whitespace:S,type:E,range:D,enum:N,pattern:L};function T(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,"string")&&!e.required)return n();I.required(e,t,r,o,i,"string"),g(t,"string")||(I.type(e,t,r,o,i),I.range(e,t,r,o,i),I.pattern(e,t,r,o,i),!0===e.whitespace&&I.whitespace(e,t,r,o,i))}n(o)}function P(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}function A(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}function R(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}function j(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),g(t)||I.type(e,t,r,o,i)}n(o)}function F(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}function B(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}function V(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,"array")&&!e.required)return n();I.required(e,t,r,o,i,"array"),g(t,"array")||(I.type(e,t,r,o,i),I.range(e,t,r,o,i))}n(o)}function z(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I.type(e,t,r,o,i)}n(o)}var W="enum";function H(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i),void 0!==t&&I[W](e,t,r,o,i)}n(o)}function U(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t,"string")&&!e.required)return n();I.required(e,t,r,o,i),g(t,"string")||I.pattern(e,t,r,o,i)}n(o)}function K(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();var s;if(I.required(e,t,r,o,i),!g(t))s="number"===typeof t?new Date(t):t,I.type(e,s,r,o,i),s&&I.range(e,s.getTime(),r,o,i)}n(o)}function G(e,t,n,r,i){var o=[],a=Array.isArray(t)?"array":typeof t;I.required(e,t,r,o,i,a),n(o)}function q(e,t,n,r,i){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(g(t,o)&&!e.required)return n();I.required(e,t,r,a,i,o),g(t,o)||I.type(e,t,r,a,i)}n(a)}function Y(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(g(t)&&!e.required)return n();I.required(e,t,r,o,i)}n(o)}var X={string:T,method:P,number:A,boolean:R,regexp:j,integer:F,float:B,array:V,object:z,enum:H,pattern:U,date:K,url:q,hex:q,email:q,required:G,any:Y};function Z(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Q=Z();function $(e){this.rules=null,this._messages=Q,this.define(e)}$.prototype={messages:function(e){return e&&(this._messages=x(Z(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");var t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,r){var i=this;void 0===t&&(t={}),void 0===r&&(r=function(){});var o,a,s=e,l=t,u=r;if("function"===typeof l&&(u=l,l={}),!this.rules||0===Object.keys(this.rules).length)return u&&u(),Promise.resolve();function c(e){var t,n=[],r={};function i(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,e):n.push(e)}for(t=0;t<e.length;t++)i(e[t]);n.length?r=h(n):(n=null,r=null),u(n,r)}if(l.messages){var d=this.messages();d===Q&&(d=Z()),x(d,l.messages),l.messages=d}else l.messages=this.messages();var p={},g=l.keys||Object.keys(this.rules);g.forEach((function(t){o=i.rules[t],a=s[t],o.forEach((function(r){var o=r;"function"===typeof o.transform&&(s===e&&(s=n({},s)),a=s[t]=o.transform(a)),o="function"===typeof o?{validator:o}:n({},o),o.validator=i.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=i.getType(o),o.validator&&(p[t]=p[t]||[],p[t].push({rule:o,value:a,source:s,field:t}))}))}));var m={};return _(p,l,(function(e,t){var r,i=e.rule,o=("object"===i.type||"array"===i.type)&&("object"===typeof i.fields||"object"===typeof i.defaultField);function a(e,t){return n(n({},t),{},{fullField:i.fullField+"."+e})}function s(r){void 0===r&&(r=[]);var s=r;if(Array.isArray(s)||(s=[s]),!l.suppressWarning&&s.length&&$.warning("async-validator:",s),s.length&&i.message&&(s=[].concat(i.message)),s=s.map(w(i)),l.first&&s.length)return m[i.field]=1,t(s);if(o){if(i.required&&!e.value)return i.message?s=[].concat(i.message).map(w(i)):l.error&&(s=[l.error(i,f(l.messages.required,i.field))]),t(s);var u={};if(i.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(u[c]=i.defaultField);for(var d in u=n(n({},u),e.rule.fields),u)if(u.hasOwnProperty(d)){var h=Array.isArray(u[d])?u[d]:[u[d]];u[d]=h.map(a.bind(null,d))}var p=new $(u);p.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),p.validate(e.value,e.rule.options||l,(function(e){var n=[];s&&s.length&&n.push.apply(n,s),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(s)}o=o&&(i.required||!i.required&&e.value),i.field=e.field,i.asyncValidator?r=i.asyncValidator(i,e.value,s,e.source,l):i.validator&&(r=i.validator(i,e.value,s,e.source,l),!0===r?s():!1===r?s(i.message||i.field+" fails"):r instanceof Array?s(r):r instanceof Error&&s(r.message)),r&&r.then&&r.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){c(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!X.hasOwnProperty(e.type))throw new Error(f("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?X.required:X[this.getType(e)]||!1}},$.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");X[e]=t},$.warning=d,$.messages=Q,$.validators=X,t["a"]=$}).call(this,n("Q2Ig"))},KrTs:function(e,t,n){"use strict";var r=n("q1tI"),i=n("MFj2"),o=n("TSYQ"),a=n.n(o),s=n("H84U"),l=n("0n0R");function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function c(e,t){return g(e)||p(e,t)||h(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function g(e){if(Array.isArray(e))return e}var m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function v(e){return e?e.toString().split("").reverse().map((function(e){var t=Number(e);return isNaN(t)?e:t})):[]}function y(e,t){for(var n=[],i=0;i<30;i++)n.push(r["createElement"]("p",{key:i.toString(),className:a()(t,{current:e===i})},i%10));return n}var b=function(e){var t=e.prefixCls,n=e.count,i=e.className,o=e.style,d=e.title,h=e.component,f=void 0===h?"sup":h,p=e.displayComponent,g=e.onAnimated,b=void 0===g?function(){}:g,_=m(e,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),w=r["useState"](!0),x=c(w,2),C=x[0],S=x[1],O=r["useState"](n),k=c(O,2),E=k[0],D=k[1],M=r["useState"](n),N=c(M,2),L=N[0],I=N[1],T=r["useState"](n),P=c(T,2),A=P[0],R=P[1],j=r["useContext"](s["b"]),F=j.getPrefixCls,B=F("scroll-number",t);L!==n&&(S(!0),I(n)),r["useEffect"]((function(){var e;return R(E),C&&(e=setTimeout((function(){S(!1),D(n),b()}))),function(){e&&clearTimeout(e)}}),[C,n,b]);var V=function(e,t){var n=Math.abs(Number(E)),r=Math.abs(Number(A)),i=Math.abs(v(E)[t]),o=Math.abs(v(r)[t]);return C?10+e:n>r?i>=o?10+e:20+e:i<=o?10+e:e},z=function(e,t){if("number"===typeof e){var n=V(e,t),i=C||void 0===v(A)[t];return r["createElement"]("span",{className:"".concat(B,"-only"),style:{transition:i?"none":void 0,msTransform:"translateY(".concat(100*-n,"%)"),WebkitTransform:"translateY(".concat(100*-n,"%)"),transform:"translateY(".concat(100*-n,"%)")},key:t},y(n,"".concat(B,"-only-unit")))}return r["createElement"]("span",{key:"symbol",className:"".concat(B,"-symbol")},e)},W=function(){return E&&Number(E)%1===0?v(E).map((function(e,t){return z(e,t)})).reverse():E},H=u(u({},_),{style:o,className:a()(B,i),title:d});return o&&o.borderColor&&(H.style=u(u({},o),{boxShadow:"0 0 0 1px ".concat(o.borderColor," inset")})),p?Object(l["a"])(p,{className:a()("".concat(B,"-custom-component"),p.props&&p.props.className)}):r["createElement"](f,H,W())},_=b,w=n("09Wf");function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){return C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C(e)}function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}var O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function k(e){return-1!==w["a"].indexOf(e)}var E=function(e){var t,n,o=e.prefixCls,u=e.scrollNumberPrefixCls,c=e.children,d=e.status,h=e.text,f=e.color,p=e.count,g=void 0===p?null:p,m=e.overflowCount,v=void 0===m?99:m,y=e.dot,b=void 0!==y&&y,w=e.title,E=e.offset,D=e.style,M=e.className,N=e.showZero,L=void 0!==N&&N,I=O(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","title","offset","style","className","showZero"]),T=r["useContext"](s["b"]),P=T.getPrefixCls,A=T.direction,R=P("badge",o),j=function(){var e=g>v?"".concat(v,"+"):g;return e},F=function(){return!!d||!!f},B=function(){var e=j();return"0"===e||0===e},V=function(){return b&&!B()||F()},z=function(){return V()?"":j()},W=function(){return w||("string"===typeof g||"number"===typeof g?g:void 0)},H=function(){return"rtl"===A?E?S({left:parseInt(E[0],10),marginTop:E[1]},D):D:E?S({right:-parseInt(E[0],10),marginTop:E[1]},D):D},U=function(){var e=z(),t=null===e||void 0===e||""===e;return(t||B()&&!L)&&!V()},K=function(){var e=U();return e||!h?null:r["createElement"]("span",{className:"".concat(R,"-status-text")},h)},G=function(){var e=g;if(e&&"object"===C(e))return Object(l["a"])(e,{style:S(S({},H()),e.props&&e.props.style)})},q=function(){var e,t=P("scroll-number",u),n=z(),i=V(),o=U(),s=a()((e={},x(e,"".concat(R,"-dot"),i),x(e,"".concat(R,"-count"),!i),x(e,"".concat(R,"-multiple-words"),!i&&g&&g.toString&&g.toString().length>1),x(e,"".concat(R,"-status-").concat(d),!!d),x(e,"".concat(R,"-status-").concat(f),k(f)),e)),l=H();return f&&!k(f)&&(l=l||{},l.background=f),o?null:r["createElement"](_,{prefixCls:t,"data-show":!o,className:s,count:n,displayComponent:G(),title:W(),style:l,key:"scrollNumber"})},Y=a()((t={},x(t,"".concat(R,"-status-dot"),F()),x(t,"".concat(R,"-status-").concat(d),!!d),x(t,"".concat(R,"-status-").concat(f),k(f)),t)),X={};f&&!k(f)&&(X.background=f);var Z=a()(M,R,(n={},x(n,"".concat(R,"-status"),F()),x(n,"".concat(R,"-not-a-wrapper"),!c),x(n,"".concat(R,"-rtl"),"rtl"===A),n));if(!c&&F()){var Q=H(),$=Q&&Q.color;return r["createElement"]("span",S({},I,{className:Z,style:Q}),r["createElement"]("span",{className:Y,style:X}),r["createElement"]("span",{style:{color:$},className:"".concat(R,"-status-text")},h))}return r["createElement"]("span",S({},I,{className:Z}),c,r["createElement"](i["a"],{component:"",showProp:"data-show",transitionName:c?"".concat(R,"-zoom"):"",transitionAppear:!0},q()),K())};t["a"]=E},Krc3:function(e,t,n){},Kvyg:function(e,t,n){},Kwbf:function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var r={};function i(e,t){0}function o(e,t){0}function a(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function s(e,t){a(i,e,t)}function l(e,t){a(o,e,t)}t["a"]=s},KxBF:function(e,t){function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;var o=Array(i);while(++r<i)o[r]=e[r+t];return o}e.exports=n},KxfA:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=(i.isTypedArray,i.extend),a=(i.assert,i.each),s=i.isObject,l=n("4NO4"),u=l.getDataItemValue,c=l.isDataItemOption,d=n("OELB"),h=d.parseDate,f=n("7G+c"),p=n("k9D9"),g=p.SOURCE_FORMAT_TYPED_ARRAY,m=p.SOURCE_FORMAT_ARRAY_ROWS,v=p.SOURCE_FORMAT_ORIGINAL,y=p.SOURCE_FORMAT_OBJECT_ROWS;function b(e,t){f.isInstance(e)||(e=f.seriesDataToSource(e)),this._source=e;var n=this._data=e.data,r=e.sourceFormat;r===g&&(this._offset=0,this._dimSize=t,this._data=n);var i=w[r===m?r+"_"+e.seriesLayoutBy:r];o(this,i)}var _=b.prototype;_.pure=!1,_.persistent=!0,_.getSource=function(){return this._source};var w={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(e){return this._data[e+this._source.startIndex]},appendData:S},arrayRows_row:{pure:!0,count:function(){var e=this._data[0];return e?Math.max(0,e.length-this._source.startIndex):0},getItem:function(e){e+=this._source.startIndex;for(var t=[],n=this._data,r=0;r<n.length;r++){var i=n[r];t.push(i?i[e]:null)}return t},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:x,getItem:C,appendData:S},keyedColumns:{pure:!0,count:function(){var e=this._source.dimensionsDefine[0].name,t=this._data[e];return t?t.length:0},getItem:function(e){for(var t=[],n=this._source.dimensionsDefine,r=0;r<n.length;r++){var i=this._data[n[r].name];t.push(i?i[e]:null)}return t},appendData:function(e){var t=this._data;a(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},original:{count:x,getItem:C,appendData:S},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(e,t){e-=this._offset,t=t||[];for(var n=this._dimSize*e,r=0;r<this._dimSize;r++)t[r]=this._data[n+r];return t},appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}}};function x(){return this._data.length}function C(e){return this._data[e]}function S(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}var O={arrayRows:k,objectRows:function(e,t,n,r){return null!=n?e[r]:e},keyedColumns:k,original:function(e,t,n,r){var i=u(e);return null!=n&&i instanceof Array?i[n]:i},typedArray:k};function k(e,t,n,r){return null!=n?e[n]:e}var E={arrayRows:D,objectRows:function(e,t,n,r){return M(e[t],this._dimensionInfos[t])},keyedColumns:D,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return!this._rawData.pure&&c(e)&&(this.hasItemOption=!0),M(i instanceof Array?i[r]:i,this._dimensionInfos[t])},typedArray:function(e,t,n,r){return e[r]}};function D(e,t,n,r){return M(e[r],this._dimensionInfos[t])}function M(e,t){var n=t&&t.type;if("ordinal"===n){var r=t&&t.ordinalMeta;return r?r.parseAndCollect(e):e}return"time"===n&&"number"!==typeof e&&null!=e&&"-"!==e&&(e=+h(e)),null==e||""===e?NaN:+e}function N(e,t,n){if(e){var r=e.getRawDataItem(t);if(null!=r){var i,o,a=e.getProvider().getSource().sourceFormat,s=e.getDimensionInfo(n);return s&&(i=s.name,o=s.index),O[a](r,t,o,i)}}}function L(e,t,n){if(e){var r=e.getProvider().getSource().sourceFormat;if(r===v||r===y){var i=e.getRawDataItem(t);return r!==v||s(i)||(i=null),i?i[n]:void 0}}}t.DefaultDataProvider=b,t.defaultDimValueGetters=E,t.retrieveRawValue=N,t.retrieveRawAttr=L},L0Ub:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.createHashMap,a=(r.assert,n("Tghj")),s=(a.__DEV__,o(["tooltip","label","itemName","itemId","seriesName"]));function l(e){var t={},n=t.encode={},r=o(),a=[],l=[],c=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};i(e.dimensions,(function(t){var i=e.getDimensionInfo(t),o=i.coordDim;if(o){var h=i.coordDimIndex;u(n,o)[h]=t,i.isExtraCoord||(r.set(o,1),d(i.type)&&(a[0]=t),u(c.encode,o)[h]=i.index),i.defaultTooltip&&l.push(t)}s.each((function(e,t){var r=u(n,t),o=i.otherDims[t];null!=o&&!1!==o&&(r[o]=i.name)}))}));var h=[],f={};r.each((function(e,t){var r=n[t];f[t]=r[0],h=h.concat(r)})),t.dataDimsOnCoord=h,t.encodeFirstDimNotExtra=f;var p=n.label;p&&p.length&&(a=p.slice());var g=n.tooltip;return g&&g.length?l=g.slice():l.length||(l=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=l,t}function u(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function c(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function d(e){return!("ordinal"===e||"time"===e)}t.OTHER_DIMENSIONS=s,t.summarizeDimensions=l,t.getDimensionTypeByAxis=c},L3Oj:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("HjIi");n("HM/N"),n("9eas"),n("eS4l"),n("y4/Y"),n("as94"),r.registerLayout(i.curry(o,"bar")),r.extendComponentView({type:"polar"})},L5E0:function(e,t){var n=["itemStyle","borderColor"];function r(e,t){var r=e.get("color");e.eachRawSeriesByType("boxplot",(function(t){var i=r[t.seriesIndex%r.length],o=t.getData();o.setVisual({legendSymbol:"roundRect",color:t.get(n)||i}),e.isSeriesFiltered(t)||o.each((function(e){var t=o.getItemModel(e);o.setItemVisual(e,{color:t.get(n,!0)})}))}))}e.exports=r},L8xA:function(e,t){function n(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=n},LBfv:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=i.createHashMap,a=i.each;r.registerProcessor({getTargetSeries:function(e){var t=o();return e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,r){var i=r.getAxisProxy(e.name,n);a(i.getTargetSeriesModels(),(function(e){t.set(e.uid,e)}))}))})),t},modifyOutputEnd:!0,overallReset:function(e,t){e.eachComponent("dataZoom",(function(e){e.eachTargetAxis((function(e,n,r){r.getAxisProxy(e.name,n).reset(r,t)})),e.eachTargetAxis((function(e,n,r){r.getAxisProxy(e.name,n).filterData(r,t)}))})),e.eachComponent("dataZoom",(function(e){var t=e.findRepresentativeAxisProxy(),n=t.getDataPercentWindow(),r=t.getDataValueWindow();e.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}))}})},LCkn:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n("gCVg"),i=function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range;return new r["a"](i.endLineNumber,i.endColumn,i.endLineNumber,i.endColumn)},e}(),o=(function(){function e(e,t){this._range=e,this._text=t}e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range;return new r["a"](i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn)}}(),function(){function e(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range;return new r["a"](i.startLineNumber,i.startColumn,i.startLineNumber,i.startColumn)},e}()),a=function(){function e(e,t,n,r,i){void 0===i&&(i=!1),this._range=e,this._text=t,this._columnDeltaOffset=r,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=i}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),i=n[0].range;return new r["a"](i.endLineNumber+this._lineNumberDeltaOffset,i.endColumn+this._columnDeltaOffset,i.endLineNumber+this._lineNumberDeltaOffset,i.endColumn+this._columnDeltaOffset)},e}(),s=function(){function e(e,t,n,r){void 0===r&&(r=!1),this._range=e,this._text=t,this._initialSelection=n,this._forceMoveMarkers=r,this._selectionId=null}return e.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=t.trackSelection(this._initialSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._selectionId)},e}()},LPTA:function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=0,i=n;t.debugMode=r,t.devicePixelRatio=i},LPzL:function(e,t,n){var r=n("ProS");n("QzjZ"),n("vL6D"),n("xiyX"),n("y4/Y"),n("8Th4"),r.extendComponentView({type:"single"})},LRks:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return n.e(218).then(n.bind(null,"05+/"))}})},LSTS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n("q1tI"),o=l(i),a=n("17x9"),s=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(e){c(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.scrollListener=n.scrollListener.bind(n),n.eventListenerOptions=n.eventListenerOptions.bind(n),n.mousewheelListener=n.mousewheelListener.bind(n),n}return h(t,e),r(t,[{key:"componentDidMount",value:function(){this.pageLoaded=this.props.pageStart,this.options=this.eventListenerOptions(),this.attachScrollListener()}},{key:"componentDidUpdate",value:function(){if(this.props.isReverse&&this.loadMore){var e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,t={get passive(){e=!0}};try{document.addEventListener("test",null,t),document.removeEventListener("test",null,t)}catch(n){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;!1===this.props.useWindow&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var t=this.props.getScrollParent&&this.props.getScrollParent();return null!=t?t:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(this.props.hasMore&&e){var t=window;!1===this.props.useWindow&&(t=e),t.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),t.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),t.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}}},{key:"mousewheelListener",value:function(e){1!==e.deltaY||this.isPassiveSupported()||e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,t=window,n=this.getParentElement(e),r=void 0;if(this.props.useWindow){var i=document.documentElement||document.body.parentNode||document.body,o=void 0!==t.pageYOffset?t.pageYOffset:i.scrollTop;r=this.props.isReverse?o:this.calculateOffset(e,o)}else r=this.props.isReverse?n.scrollTop:e.scrollHeight-n.scrollTop-n.clientHeight;r<Number(this.props.threshold)&&e&&null!==e.offsetParent&&(this.detachScrollListener(),this.beforeScrollHeight=n.scrollHeight,this.beforeScrollTop=n.scrollTop,"function"===typeof this.props.loadMore&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,t){return e?this.calculateTopPosition(e)+(e.offsetHeight-t-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,t=this.filterProps(this.props),n=t.children,r=t.element,i=t.hasMore,a=(t.initialLoad,t.isReverse),s=t.loader,l=(t.loadMore,t.pageStart,t.ref),c=(t.threshold,t.useCapture,t.useWindow,t.getScrollParent,u(t,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]));c.ref=function(t){e.scrollComponent=t,l&&l(t)};var d=[n];return i&&(s?a?d.unshift(s):d.push(s):this.defaultLoader&&(a?d.unshift(this.defaultLoader):d.push(this.defaultLoader))),o.default.createElement(r,c,d)}}]),t}(i.Component);f.propTypes={children:s.default.node.isRequired,element:s.default.node,hasMore:s.default.bool,initialLoad:s.default.bool,isReverse:s.default.bool,loader:s.default.node,loadMore:s.default.func.isRequired,pageStart:s.default.number,ref:s.default.func,getScrollParent:s.default.func,threshold:s.default.number,useCapture:s.default.bool,useWindow:s.default.bool},f.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},t.default=f,e.exports=t["default"]},LXxW:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,i=0,o=[];while(++n<r){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}e.exports=n},"LeU+":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n("CZ1j"),i=function(){function e(e,t){this.index=e,this.remainder=t}return e}(),o=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(e,t){e=Object(r["a"])(e);var n=this.values,i=this.prefixSum,o=t.length;return 0!==o&&(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,t){return e=Object(r["a"])(e),t=Object(r["a"])(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},e.prototype.removeValues=function(e,t){e=Object(r["a"])(e),t=Object(r["a"])(t);var n=this.values,i=this.prefixSum;if(e>=n.length)return!1;var o=n.length-e;return t>=o&&(t=o),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(r["a"])(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(var n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();var t=0,n=this.values.length-1,r=0,o=0,a=0;while(t<=n)if(r=t+(n-t)/2|0,o=this.prefixSum[r],a=o-this.values[r],e<a)n=r-1;else{if(!(e>=o))break;t=r+1}return new i(r,e-a)},e}()},Lerx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Mds0"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},LexI:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return n.e(179).then(n.bind(null,"lHAa"))}})},Ll0s:function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return _})),n.d(t,"a",(function(){return w})),n.d(t,"g",(function(){return x}));var r=n("/cxE"),i=n("N0LK"),o=n("cGHE"),a=n("aokT"),s=n("gCVg"),l=n("tX9W"),u=n("cMvZ"),c=function(){return!0},d=function(){return!1},h=function(e){return" "===e||"\t"===e};function f(e,t,n){e.has(t)?e.get(t).push(n):e.set(t,[n])}var p=function(){function e(t,n,r){this._languageIdentifier=t;var i=r.options,o=i.get(107);this.readOnly=i.get(68),this.tabSize=n.tabSize,this.indentSize=n.indentSize,this.insertSpaces=n.insertSpaces,this.lineHeight=i.get(49),this.pageSize=Math.max(1,Math.floor(o.height/this.lineHeight)-2),this.useTabStops=i.get(95),this.wordSeparators=i.get(96),this.emptySelectionClipboard=i.get(25),this.copyWithSyntaxHighlighting=i.get(15),this.multiCursorMergeOverlapping=i.get(58),this.multiCursorPaste=i.get(60),this.autoClosingBrackets=i.get(5),this.autoClosingQuotes=i.get(7),this.autoClosingOvertype=i.get(6),this.autoSurround=i.get(10),this.autoIndent=i.get(8),this.autoClosingPairsOpen2=new Map,this.autoClosingPairsClose2=new Map,this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:e._getShouldAutoClose(t,this.autoClosingQuotes),bracket:e._getShouldAutoClose(t,this.autoClosingBrackets)};var a=e._getAutoClosingPairs(t);if(a)for(var s=0,l=a;s<l.length;s++){var u=l[s];f(this.autoClosingPairsOpen2,u.open.charAt(u.open.length-1),u),1===u.close.length&&f(this.autoClosingPairsClose2,u.close,u)}var c=e._getSurroundingPairs(t);if(c)for(var d=0,h=c;d<h.length;d++){u=h[d];this.surroundingPairs[u.open]=u.close}}return e.shouldRecreate=function(e){return e.hasChanged(107)||e.hasChanged(96)||e.hasChanged(25)||e.hasChanged(58)||e.hasChanged(60)||e.hasChanged(5)||e.hasChanged(7)||e.hasChanged(6)||e.hasChanged(10)||e.hasChanged(95)||e.hasChanged(49)||e.hasChanged(68)},Object.defineProperty(e.prototype,"electricChars",{get:function(){if(!this._electricChars){this._electricChars={};var t=e._getElectricCharacters(this._languageIdentifier);if(t)for(var n=0,r=t;n<r.length;n++){var i=r[n];this._electricChars[i]=!0}}return this._electricChars},enumerable:!0,configurable:!0}),e.prototype.normalizeIndentation=function(e){return l["b"].normalizeIndentation(e,this.indentSize,this.insertSpaces)},e._getElectricCharacters=function(e){try{return u["a"].getElectricCharacters(e.id)}catch(t){return Object(r["e"])(t),null}},e._getAutoClosingPairs=function(e){try{return u["a"].getAutoClosingPairs(e.id)}catch(t){return Object(r["e"])(t),null}},e._getShouldAutoClose=function(t,n){switch(n){case"beforeWhitespace":return h;case"languageDefined":return e._getLanguageDefinedShouldAutoClose(t);case"always":return c;case"never":return d}},e._getLanguageDefinedShouldAutoClose=function(e){try{var t=u["a"].getAutoCloseBeforeSet(e.id);return function(e){return-1!==t.indexOf(e)}}catch(n){return Object(r["e"])(n),d}},e._getSurroundingPairs=function(e){try{return u["a"].getSurroundingPairs(e.id)}catch(t){return Object(r["e"])(t),null}},e}(),g=function(){function e(t,n,r,i){this.selectionStart=t,this.selectionStartLeftoverVisibleColumns=n,this.position=r,this.leftoverVisibleColumns=i,this.selection=e._computeSelection(this.selectionStart,this.position)}return e.prototype.equals=function(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)},e.prototype.hasSelection=function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()},e.prototype.move=function(t,n,r,i){return t?new e(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new o["a"](n,r),i):new e(new a["a"](n,r,n,r),i,new o["a"](n,r),i)},e._computeSelection=function(e,t){var n,r,i,o;return e.isEmpty()?(n=e.startLineNumber,r=e.startColumn,i=t.lineNumber,o=t.column):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,r=e.endColumn,i=t.lineNumber,o=t.column):(n=e.startLineNumber,r=e.startColumn,i=t.lineNumber,o=t.column),new s["a"](n,r,i,o)},e}(),m=function(){function e(e,t,n){this.model=t,this.viewModel=n,this.config=new p(this.model.getLanguageIdentifier(),this.model.getOptions(),e)}return e.prototype.validateViewPosition=function(e,t){return this.viewModel.coordinatesConverter.validateViewPosition(e,t)},e.prototype.validateViewRange=function(e,t){return this.viewModel.coordinatesConverter.validateViewRange(e,t)},e.prototype.convertViewRangeToModelRange=function(e){return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.convertViewPositionToModelPosition=function(e,t){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new o["a"](e,t))},e.prototype.convertModelPositionToViewPosition=function(e){return this.viewModel.coordinatesConverter.convertModelPositionToViewPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this.viewModel.coordinatesConverter.convertModelRangeToViewRange(e)},e.prototype.getCurrentScrollTop=function(){return this.viewModel.viewLayout.getCurrentScrollTop()},e.prototype.getCompletelyVisibleViewRange=function(){return this.viewModel.getCompletelyVisibleViewRange()},e.prototype.getCompletelyVisibleModelRange=function(){var e=this.viewModel.getCompletelyVisibleViewRange();return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},e.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){return this.viewModel.getCompletelyVisibleViewRangeAtScrollTop(e)},e.prototype.getVerticalOffsetForViewLine=function(e){return this.viewModel.viewLayout.getVerticalOffsetForLineNumber(e)},e}(),v=function(){function e(e){this.modelState=e,this.viewState=null}return e}(),y=function(){function e(e){this.modelState=null,this.viewState=e}return e}(),b=function(){function e(e,t){this.modelState=e,this.viewState=t}return e.fromModelState=function(e){return new v(e)},e.fromViewState=function(e){return new y(e)},e.fromModelSelection=function(t){var n=t.selectionStartLineNumber,r=t.selectionStartColumn,i=t.positionLineNumber,s=t.positionColumn,l=new g(new a["a"](n,r,n,r),0,new o["a"](i,s),0);return e.fromModelState(l)},e.fromModelSelections=function(e){for(var t=[],n=0,r=e.length;n<r;n++)t[n]=this.fromModelSelection(e[n]);return t},e.prototype.equals=function(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)},e}(),_=function(){function e(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter}return e}(),w=function(){function e(){}return e.visibleColumnFromColumn=function(t,n,r){var o=t.length,a=n-1<o?n-1:o,s=0,l=0;while(l<a){var u=i["u"](t,a,l);if(l+=u>=65536?2:1,9===u)s=e.nextRenderTabStop(s,r);else{var c=i["s"](u);while(l<a){var d=i["u"](t,a,l),h=i["s"](d);if(i["b"](c,h))break;l+=d>=65536?2:1,c=h}i["y"](u)||i["w"](u)?s+=2:s+=1}}return s},e.visibleColumnFromColumn2=function(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)},e.columnFromVisibleColumn=function(t,n,r){if(n<=0)return 1;var o=t.length,a=0,s=1,l=0;while(l<o){var u=i["u"](t,o,l);l+=u>=65536?2:1;var c=void 0;if(9===u)c=e.nextRenderTabStop(a,r);else{var d=i["s"](u);while(l<o){var h=i["u"](t,o,l),f=i["s"](h);if(i["b"](d,f))break;l+=h>=65536?2:1,d=f}c=i["y"](u)||i["w"](u)?a+2:a+1}var p=l+1;if(c>=n){var g=n-a,m=c-n;return m<g?p:s}a=c,s=p}return o+1},e.columnFromVisibleColumn2=function(e,t,n,r){var i=this.columnFromVisibleColumn(t.getLineContent(n),r,e.tabSize),o=t.getLineMinColumn(n);if(i<o)return o;var a=t.getLineMaxColumn(n);return i>a?a:i},e.nextRenderTabStop=function(e,t){return e+t-e%t},e.nextIndentTabStop=function(e,t){return e+t-e%t},e.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},e.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},e}();function x(e){return"'"===e||'"'===e||"`"===e}},Llu2:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="DeliveredProcedureOutlined";t["a"]=r["forwardRef"](s)},LtfV:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="InboxOutlined";t["a"]=r["forwardRef"](s)},Lyp1:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="QuestionCircleOutlined";t["a"]=r["forwardRef"](s)},LzGr:function(e,t,n){var r=n("ProS"),i=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),r.registerPreprocessor(i)},"M/lh":function(e,t,n){self["MonacoEnvironment"]=function(e){function t(e){return e.replace(/\/$/,"")}return{getWorkerUrl:function(r,i){var o=n.p,a=(o?t(o)+"/":"")+e[i];if(/^(http:)|(https:)|(file:)/.test(a)){var s=String(window.location),l=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(a.substring(0,l.length)!==l){var u="/*"+i+'*/importScripts("'+a+'");';return"data:text/javascript;charset=utf-8,"+encodeURIComponent(u)}}return a}}}({editorWorkerService:"editor.worker.js",css:"css.worker.js",html:"html.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js",less:"css.worker.js",scss:"css.worker.js",handlebars:"html.worker.js",razor:"html.worker.js"}),n("1YUG"),n("oQaD"),n("bk7F"),n("KTWA"),n("w29/"),n("n01l"),n("dgXF"),n("cIJc"),n("oiKk"),n("rugR"),n("tXSY"),n("ep4t"),e.exports=n("8z58"),n("CdFp"),n("23p7"),n("OOlL"),n("li8W"),n("kdPm"),n("ApJL"),n("jrbv"),n("gqHg"),n("p3Ex"),n("E+ie"),n("9B1q"),n("9XAT"),n("SvYn"),n("I/Lx"),n("LexI"),n("0oIH"),n("+a1H"),n("hFdI"),n("c2dO"),n("zQEy"),n("k7mE"),n("cldp"),n("p5tG"),n("Dvnd"),n("FvUK"),n("ZvGG"),n("QFiB"),n("ZkA/"),n("/cAr"),n("xYNL"),n("jVwG"),n("6lNC"),n("q8qy"),n("sStQ"),n("oKJv"),n("H6Gb"),n("y3CF"),n("JlLP"),n("j2o1"),n("woZy"),n("iLY9"),n("Msxo"),n("ajgA"),n("QiAa"),n("pI2L"),n("yKqg"),n("ij/i"),n("XQgg"),n("Gb1F"),n("xmOD"),n("c9ML"),n("Mzro"),n("GZrW"),n("1lwE"),n("w9QG"),n("ufhN"),n("LRks"),n("BUKB"),n("n18v"),n("EOst"),n("z3hU"),n("nrBJ"),n("BEdG"),n("E4kL")},M1Kb:function(e,t,n){"use strict";var r,i;n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),function(e){e[e["Left"]=1]="Left",e[e["Center"]=2]="Center",e[e["Right"]=4]="Right",e[e["Full"]=7]="Full"}(r||(r={})),function(e){e[e["Inline"]=1]="Inline",e[e["Gutter"]=2]="Gutter"}(i||(i={}));var o=function(){function e(e){this.tabSize=Math.max(1,0|e.tabSize),this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}return e.prototype.equals=function(e){return this.tabSize===e.tabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace},e.prototype.createChangeEvent=function(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}},e}(),a=function(){function e(e,t){this.range=e,this.matches=t}return e}(),s=function(){function e(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}return e}()},MBQ8:function(e,t,n){var r=n("T4UG"),i=n("MwEJ"),o=r.extend({type:"series.__base_bar__",getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),r=this.getData(),i=r.getLayout("offset"),o=r.getLayout("size"),a=t.getBaseAxis().isHorizontal()?0:1;return n[a]+=i+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=o},MD5Z:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"Rb",(function(){return h})),n.d(t,"V",(function(){return f})),n.d(t,"T",(function(){return p})),n.d(t,"U",(function(){return g})),n.d(t,"e",(function(){return m})),n.d(t,"b",(function(){return v})),n.d(t,"cc",(function(){return y})),n.d(t,"bc",(function(){return b})),n.d(t,"fc",(function(){return _})),n.d(t,"Y",(function(){return w})),n.d(t,"ab",(function(){return x})),n.d(t,"Z",(function(){return C})),n.d(t,"X",(function(){return S})),n.d(t,"W",(function(){return O})),n.d(t,"eb",(function(){return k})),n.d(t,"gb",(function(){return E})),n.d(t,"fb",(function(){return D})),n.d(t,"hb",(function(){return M})),n.d(t,"jb",(function(){return N})),n.d(t,"ib",(function(){return L})),n.d(t,"bb",(function(){return I})),n.d(t,"db",(function(){return T})),n.d(t,"cb",(function(){return P})),n.d(t,"Mb",(function(){return j})),n.d(t,"Lb",(function(){return F})),n.d(t,"c",(function(){return B})),n.d(t,"d",(function(){return V})),n.d(t,"Tb",(function(){return z})),n.d(t,"Vb",(function(){return W})),n.d(t,"Wb",(function(){return H})),n.d(t,"Ub",(function(){return U})),n.d(t,"Qb",(function(){return K})),n.d(t,"q",(function(){return G})),n.d(t,"p",(function(){return q})),n.d(t,"O",(function(){return Y})),n.d(t,"N",(function(){return X})),n.d(t,"H",(function(){return Z})),n.d(t,"G",(function(){return Q})),n.d(t,"z",(function(){return $})),n.d(t,"y",(function(){return J})),n.d(t,"o",(function(){return ee})),n.d(t,"x",(function(){return te})),n.d(t,"P",(function(){return ne})),n.d(t,"R",(function(){return re})),n.d(t,"Q",(function(){return ie})),n.d(t,"S",(function(){return oe})),n.d(t,"K",(function(){return ae})),n.d(t,"L",(function(){return se})),n.d(t,"F",(function(){return le})),n.d(t,"M",(function(){return ue})),n.d(t,"r",(function(){return ce})),n.d(t,"t",(function(){return de})),n.d(t,"v",(function(){return he})),n.d(t,"s",(function(){return fe})),n.d(t,"u",(function(){return pe})),n.d(t,"w",(function(){return ge})),n.d(t,"D",(function(){return me})),n.d(t,"A",(function(){return ve})),n.d(t,"C",(function(){return ye})),n.d(t,"B",(function(){return be})),n.d(t,"E",(function(){return _e})),n.d(t,"n",(function(){return we})),n.d(t,"J",(function(){return xe})),n.d(t,"I",(function(){return Ce})),n.d(t,"g",(function(){return Se})),n.d(t,"h",(function(){return Oe})),n.d(t,"j",(function(){return ke})),n.d(t,"l",(function(){return Ee})),n.d(t,"k",(function(){return De})),n.d(t,"m",(function(){return Me})),n.d(t,"i",(function(){return Ne})),n.d(t,"qb",(function(){return Le})),n.d(t,"rb",(function(){return Ie})),n.d(t,"kb",(function(){return Te})),n.d(t,"lb",(function(){return Pe})),n.d(t,"wb",(function(){return Ae})),n.d(t,"xb",(function(){return Re})),n.d(t,"vb",(function(){return je})),n.d(t,"tb",(function(){return Fe})),n.d(t,"ub",(function(){return Be})),n.d(t,"mb",(function(){return Ve})),n.d(t,"sb",(function(){return ze})),n.d(t,"nb",(function(){return We})),n.d(t,"pb",(function(){return He})),n.d(t,"ob",(function(){return Ue})),n.d(t,"ec",(function(){return Ke})),n.d(t,"zb",(function(){return Ge})),n.d(t,"Ab",(function(){return qe})),n.d(t,"yb",(function(){return Ye})),n.d(t,"Db",(function(){return Xe})),n.d(t,"Bb",(function(){return Ze})),n.d(t,"Cb",(function(){return Qe})),n.d(t,"Eb",(function(){return $e})),n.d(t,"Zb",(function(){return Je})),n.d(t,"ac",(function(){return et})),n.d(t,"Xb",(function(){return tt})),n.d(t,"Yb",(function(){return nt})),n.d(t,"Kb",(function(){return rt})),n.d(t,"Gb",(function(){return it})),n.d(t,"Hb",(function(){return ot})),n.d(t,"Fb",(function(){return at})),n.d(t,"Ib",(function(){return st})),n.d(t,"Nb",(function(){return lt})),n.d(t,"Pb",(function(){return ut})),n.d(t,"Ob",(function(){return ct})),n.d(t,"f",(function(){return dt})),n.d(t,"dc",(function(){return ft})),n.d(t,"Jb",(function(){return pt})),n.d(t,"Sb",(function(){return mt}));var r=n("ic2d"),i=n("zrhQ"),o=n("MI8n"),a=n("3/fG"),s=n("3Rsk"),l=n("X+cX"),u={ColorContribution:"base.contributions.colors"},c=function(){function e(){this._onDidChangeSchema=new o["a"],this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}return e.prototype.registerColor=function(e,t,n,r,i){void 0===r&&(r=!1);var o={id:e,description:n,defaults:t,needsTransparency:r,deprecationMessage:i};this.colorsById[e]=o;var a={type:"string",description:n,format:"color-hex",defaultSnippets:[{body:"${1:#ff0000}"}]};return i&&(a.deprecationMessage=i),this.colorSchema.properties[e]=a,this.colorReferenceSchema.enum.push(e),this.colorReferenceSchema.enumDescriptions.push(n),this._onDidChangeSchema.fire(),e},e.prototype.resolveDefaultColor=function(e,t){var n=this.colorsById[e];if(n&&n.defaults){var r=n.defaults[t.type];return mt(r,t)}},e.prototype.getColorSchema=function(){return this.colorSchema},e.prototype.toString=function(){var e=this,t=function(e,t){var n=-1===e.indexOf(".")?0:1,r=-1===t.indexOf(".")?0:1;return n!==r?n-r:e.localeCompare(t)};return Object.keys(this.colorsById).sort(t).map((function(t){return"- `"+t+"`: "+e.colorsById[t].description})).join("\n")},e}(),d=new c;function h(e,t,n,r,i){return d.registerColor(e,t,n,r,i)}r["a"].add(u.ColorContribution,d);var f=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},a["a"]("foreground","Overall foreground color. This color is only used if not overridden by a component.")),p=h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},a["a"]("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),g=h("focusBorder",{dark:i["a"].fromHex("#0E639C").transparent(.8),light:i["a"].fromHex("#007ACC").transparent(.4),hc:"#F38518"},a["a"]("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component.")),m=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},a["a"]("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),v=h("contrastActiveBorder",{light:null,dark:null,hc:g},a["a"]("activeContrastBorder","An extra border around active elements to separate them from others for greater contrast.")),y=h("textLink.foreground",{light:"#006AB1",dark:"#3794FF",hc:"#3794FF"},a["a"]("textLinkForeground","Foreground color for links in text.")),b=h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:i["a"].black},a["a"]("textCodeBlockBackground","Background color for code blocks in text.")),_=h("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},a["a"]("widgetShadow","Shadow color of widgets such as find/replace inside the editor.")),w=h("input.background",{dark:"#3C3C3C",light:i["a"].white,hc:i["a"].black},a["a"]("inputBoxBackground","Input box background.")),x=h("input.foreground",{dark:f,light:f,hc:f},a["a"]("inputBoxForeground","Input box foreground.")),C=h("input.border",{dark:null,light:null,hc:m},a["a"]("inputBoxBorder","Input box border.")),S=h("inputOption.activeBorder",{dark:"#007ACC00",light:"#007ACC00",hc:m},a["a"]("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),O=h("inputOption.activeBackground",{dark:ft(g,.5),light:ft(g,.3),hc:null},a["a"]("inputOption.activeBackground","Background color of activated options in input fields.")),k=h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:i["a"].black},a["a"]("inputValidationInfoBackground","Input validation background color for information severity.")),E=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},a["a"]("inputValidationInfoForeground","Input validation foreground color for information severity.")),D=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:m},a["a"]("inputValidationInfoBorder","Input validation border color for information severity.")),M=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:i["a"].black},a["a"]("inputValidationWarningBackground","Input validation background color for warning severity.")),N=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},a["a"]("inputValidationWarningForeground","Input validation foreground color for warning severity.")),L=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:m},a["a"]("inputValidationWarningBorder","Input validation border color for warning severity.")),I=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:i["a"].black},a["a"]("inputValidationErrorBackground","Input validation background color for error severity.")),T=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},a["a"]("inputValidationErrorForeground","Input validation foreground color for error severity.")),P=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:m},a["a"]("inputValidationErrorBorder","Input validation border color for error severity.")),A=h("dropdown.background",{dark:"#3C3C3C",light:i["a"].white,hc:i["a"].black},a["a"]("dropdownBackground","Dropdown background.")),R=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:i["a"].white},a["a"]("dropdownForeground","Dropdown foreground.")),j=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:i["a"].white},a["a"]("pickerGroupForeground","Quick picker color for grouping labels.")),F=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:i["a"].white},a["a"]("pickerGroupBorder","Quick picker color for grouping borders.")),B=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:i["a"].black},a["a"]("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),V=h("badge.foreground",{dark:i["a"].white,light:"#333",hc:i["a"].white},a["a"]("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),z=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},a["a"]("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),W=h("scrollbarSlider.background",{dark:i["a"].fromHex("#797979").transparent(.4),light:i["a"].fromHex("#646464").transparent(.4),hc:ft(m,.6)},a["a"]("scrollbarSliderBackground","Scrollbar slider background color.")),H=h("scrollbarSlider.hoverBackground",{dark:i["a"].fromHex("#646464").transparent(.7),light:i["a"].fromHex("#646464").transparent(.7),hc:ft(m,.8)},a["a"]("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),U=h("scrollbarSlider.activeBackground",{dark:i["a"].fromHex("#BFBFBF").transparent(.4),light:i["a"].fromHex("#000000").transparent(.6),hc:m},a["a"]("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),K=h("progressBar.background",{dark:i["a"].fromHex("#0E70C0"),light:i["a"].fromHex("#0E70C0"),hc:m},a["a"]("progressBarBackground","Background color of the progress bar that can show for long running operations.")),G=h("editorError.foreground",{dark:"#F48771",light:"#E51400",hc:null},a["a"]("editorError.foreground","Foreground color of error squigglies in the editor.")),q=h("editorError.border",{dark:null,light:null,hc:i["a"].fromHex("#E47777").transparent(.8)},a["a"]("errorBorder","Border color of error boxes in the editor.")),Y=h("editorWarning.foreground",{dark:"#CCA700",light:"#E9A700",hc:null},a["a"]("editorWarning.foreground","Foreground color of warning squigglies in the editor.")),X=h("editorWarning.border",{dark:null,light:null,hc:i["a"].fromHex("#FFCC00").transparent(.8)},a["a"]("warningBorder","Border color of warning boxes in the editor.")),Z=h("editorInfo.foreground",{dark:"#75BEFF",light:"#75BEFF",hc:null},a["a"]("editorInfo.foreground","Foreground color of info squigglies in the editor.")),Q=h("editorInfo.border",{dark:null,light:null,hc:i["a"].fromHex("#75BEFF").transparent(.8)},a["a"]("infoBorder","Border color of info boxes in the editor.")),$=h("editorHint.foreground",{dark:i["a"].fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},a["a"]("editorHint.foreground","Foreground color of hint squigglies in the editor.")),J=h("editorHint.border",{dark:null,light:null,hc:i["a"].fromHex("#eeeeee").transparent(.8)},a["a"]("hintBorder","Border color of hint boxes in the editor.")),ee=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:i["a"].black},a["a"]("editorBackground","Editor background color.")),te=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:i["a"].white},a["a"]("editorForeground","Editor default foreground color.")),ne=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},a["a"]("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),re=h("editorWidget.foreground",{dark:f,light:f,hc:f},a["a"]("editorWidgetForeground","Foreground color of editor widgets, such as find/replace.")),ie=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:m},a["a"]("editorWidgetBorder","Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")),oe=h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},a["a"]("editorWidgetResizeBorder","Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")),ae=h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},a["a"]("editorSelectionBackground","Color of the editor selection.")),se=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},a["a"]("editorSelectionForeground","Color of the selected text for high contrast.")),le=h("editor.inactiveSelectionBackground",{light:ft(ae,.5),dark:ft(ae,.5),hc:ft(ae,.5)},a["a"]("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),ue=h("editor.selectionHighlightBackground",{light:gt(ae,ee,.3,.6),dark:gt(ae,ee,.3,.6),hc:null},a["a"]("editorSelectionHighlight","Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."),!0),ce=(h("editor.selectionHighlightBorder",{light:null,dark:null,hc:v},a["a"]("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},a["a"]("editorFindMatch","Color of the current search match."))),de=h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},a["a"]("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),he=h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},a["a"]("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),fe=h("editor.findMatchBorder",{light:null,dark:null,hc:v},a["a"]("editorFindMatchBorder","Border color of the current search match.")),pe=h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:v},a["a"]("findMatchHighlightBorder","Border color of the other search matches.")),ge=h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:ft(v,.4)},a["a"]("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),me=h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},a["a"]("hoverHighlight","Highlight below the word for which a hover is shown. The color must not be opaque so as not to hide underlying decorations."),!0),ve=h("editorHoverWidget.background",{light:ne,dark:ne,hc:ne},a["a"]("hoverBackground","Background color of the editor hover.")),ye=h("editorHoverWidget.foreground",{light:re,dark:re,hc:re},a["a"]("hoverForeground","Foreground color of the editor hover.")),be=h("editorHoverWidget.border",{light:ie,dark:ie,hc:ie},a["a"]("hoverBorder","Border color of the editor hover.")),_e=h("editorHoverWidget.statusBarBackground",{dark:ht(ve,.2),light:dt(ve,.05),hc:ne},a["a"]("statusBarBackground","Background color of the editor hover status bar.")),we=h("editorLink.activeForeground",{dark:"#4E94CE",light:i["a"].blue,hc:i["a"].cyan},a["a"]("activeLinkForeground","Color of active links.")),xe=h("editorLightBulb.foreground",{dark:"#FFCC00",light:"#DDB100",hc:"#FFCC00"},a["a"]("editorLightBulbForeground","The color used for the lightbulb actions icon.")),Ce=h("editorLightBulbAutoFix.foreground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},a["a"]("editorLightBulbAutoFixForeground","The color used for the lightbulb auto fix actions icon.")),Se=new i["a"](new i["c"](155,185,85,.2)),Oe=new i["a"](new i["c"](255,0,0,.2)),ke=h("diffEditor.insertedTextBackground",{dark:Se,light:Se,hc:null},a["a"]("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ee=h("diffEditor.removedTextBackground",{dark:Oe,light:Oe,hc:null},a["a"]("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),De=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},a["a"]("diffEditorInsertedOutline","Outline color for the text that got inserted.")),Me=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},a["a"]("diffEditorRemovedOutline","Outline color for text that got removed.")),Ne=h("diffEditor.border",{dark:null,light:null,hc:m},a["a"]("diffEditorBorder","Border color between the two text editors.")),Le=h("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},a["a"]("listFocusBackground","List/Tree background color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ie=h("list.focusForeground",{dark:null,light:null,hc:null},a["a"]("listFocusForeground","List/Tree foreground color for the focused item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Te=h("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},a["a"]("listActiveSelectionBackground","List/Tree background color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Pe=h("list.activeSelectionForeground",{dark:i["a"].white,light:i["a"].white,hc:null},a["a"]("listActiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is active. An active list/tree has keyboard focus, an inactive does not.")),Ae=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},a["a"]("listInactiveSelectionBackground","List/Tree background color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Re=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},a["a"]("listInactiveSelectionForeground","List/Tree foreground color for the selected item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),je=h("list.inactiveFocusBackground",{dark:null,light:null,hc:null},a["a"]("listInactiveFocusBackground","List/Tree background color for the focused item when the list/tree is inactive. An active list/tree has keyboard focus, an inactive does not.")),Fe=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},a["a"]("listHoverBackground","List/Tree background when hovering over items using the mouse.")),Be=h("list.hoverForeground",{dark:null,light:null,hc:null},a["a"]("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ve=h("list.dropBackground",{dark:Le,light:Le,hc:null},a["a"]("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),ze=h("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:g},a["a"]("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),We=h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:i["a"].black},a["a"]("listFilterWidgetBackground","Background color of the type filter widget in lists and trees.")),He=h("listFilterWidget.outline",{dark:i["a"].transparent,light:i["a"].transparent,hc:"#f38518"},a["a"]("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),Ue=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:m},a["a"]("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),Ke=h("tree.indentGuidesStroke",{dark:"#585858",light:"#a9a9a9",hc:"#a9a9a9"},a["a"]("treeIndentGuidesStroke","Tree stroke color for the indentation guides.")),Ge=h("menu.border",{dark:null,light:null,hc:m},a["a"]("menuBorder","Border color of menus.")),qe=h("menu.foreground",{dark:R,light:f,hc:R},a["a"]("menuForeground","Foreground color of menu items.")),Ye=h("menu.background",{dark:A,light:A,hc:A},a["a"]("menuBackground","Background color of menu items.")),Xe=h("menu.selectionForeground",{dark:Pe,light:Pe,hc:Pe},a["a"]("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Ze=h("menu.selectionBackground",{dark:Te,light:Te,hc:Te},a["a"]("menuSelectionBackground","Background color of the selected menu item in menus.")),Qe=h("menu.selectionBorder",{dark:null,light:null,hc:v},a["a"]("menuSelectionBorder","Border color of the selected menu item in menus.")),$e=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:m},a["a"]("menuSeparatorBackground","Color of a separator menu item in menus.")),Je=h("editor.snippetTabstopHighlightBackground",{dark:new i["a"](new i["c"](124,124,124,.3)),light:new i["a"](new i["c"](10,50,100,.2)),hc:new i["a"](new i["c"](124,124,124,.3))},a["a"]("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),et=h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},a["a"]("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),tt=h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},a["a"]("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),nt=h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new i["a"](new i["c"](10,50,100,.5)),hc:"#525252"},a["a"]("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),rt=h("editorOverviewRuler.findMatchForeground",{dark:"#d186167e",light:"#d186167e",hc:"#AB5A00"},a["a"]("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),it=(h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},a["a"]("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0),h("minimap.findMatchHighlight",{light:"#d18616",dark:"#d18616",hc:"#AB5A00"},a["a"]("minimapFindMatchHighlight","Minimap marker color for find matches."),!0)),ot=h("minimap.selectionHighlight",{light:"#ADD6FF",dark:"#264F78",hc:"#ffffff"},a["a"]("minimapSelectionHighlight","Minimap marker color for the editor selection."),!0),at=h("minimap.errorHighlight",{dark:new i["a"](new i["c"](255,18,18,.7)),light:new i["a"](new i["c"](255,18,18,.7)),hc:new i["a"](new i["c"](255,50,50,1))},a["a"]("minimapError","Minimap marker color for errors.")),st=h("minimap.warningHighlight",{dark:Y,light:Y,hc:X},a["a"]("overviewRuleWarning","Minimap marker color for warnings.")),lt=h("problemsErrorIcon.foreground",{dark:G,light:G,hc:G},a["a"]("problemsErrorIconForeground","The color used for the problems error icon.")),ut=h("problemsWarningIcon.foreground",{dark:Y,light:Y,hc:Y},a["a"]("problemsWarningIconForeground","The color used for the problems warning icon.")),ct=h("problemsInfoIcon.foreground",{dark:Z,light:Z,hc:Z},a["a"]("problemsInfoIconForeground","The color used for the problems info icon."));function dt(e,t){return function(n){var r=mt(e,n);if(r)return r.darken(t)}}function ht(e,t){return function(n){var r=mt(e,n);if(r)return r.lighten(t)}}function ft(e,t){return function(n){var r=mt(e,n);if(r)return r.transparent(t)}}function pt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){for(var n=0,r=e;n<r.length;n++){var i=r[n],o=mt(i,t);if(o)return o}}}function gt(e,t,n,r){return function(o){var a=mt(e,o);if(a){var s=mt(t,o);return s?a.isDarkerThan(s)?i["a"].getLighterColor(a,s,n).transparent(r):i["a"].getDarkerColor(a,s,n).transparent(r):a.transparent(n*r)}}}function mt(e,t){if(null!==e)return"string"===typeof e?"#"===e[0]?i["a"].fromHex(e):t.getColor(e):e instanceof i["a"]?e:"function"===typeof e?e(t):void 0}var vt="vscode://schemas/workbench-colors",yt=r["a"].as(s["a"].JSONContribution);yt.registerSchema(vt,d.getColorSchema());var bt=new l["d"]((function(){return yt.notifySchemaChanged(vt)}),200);d.onDidChangeSchema((function(){bt.isScheduled()||bt.schedule()}))},MEGo:function(e,t,n){var r=n("4fz+"),i=n("Dagg"),o=n("dqUG"),a=n("2fw6"),s=n("x6Kt"),l=n("rmlV"),u=n("yxFR"),c=n("y+Vt"),d=n("h7HQ"),h=n("1Jh7"),f=n("SKnc"),p=n("K2GJ"),g=n("Fofx"),m=n("NC18"),v=m.createFromString,y=n("bYtY"),b=y.isString,_=y.extend,w=y.defaults,x=y.trim,C=y.each,S=/[\s,]+/;function O(e){if(b(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}9===e.nodeType&&(e=e.firstChild);while("svg"!==e.nodeName.toLowerCase()||1!==e.nodeType)e=e.nextSibling;return e}function k(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}k.prototype.parse=function(e,t){t=t||{};var n=O(e);if(!n)throw new Error("Illegal svg");var i=new r;this._root=i;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),T(n,i,null,!0);var u,c,d=n.firstChild;while(d)this._parseNode(d,i),d=d.nextSibling;if(o){var h=x(o).split(S);h.length>=4&&(u={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(u&&null!=a&&null!=l&&(c=V(u,a,l),!t.ignoreViewBox)){var f=i;i=new r,i.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return t.ignoreRootClip||null==a||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:i,width:a,height:l,viewBoxRect:u,viewBoxTransform:c}},k.prototype._parseNode=function(e,t){var n,r=e.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){var i=D[r];if(i){var o=i.call(this,e),a=e.getAttribute("id");a&&(this._defs[a]=o)}}else{i=E[r];i&&(n=i.call(this,e,t),t.add(n))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},k.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new o({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});N(t,i),T(e,i,this._defs);var a=i.style.fontSize;a&&a<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=a/9,i.scale[1]*=a/9);var s=i.getBoundingRect();return this._textX+=s.width,t.add(i),i};var E={g:function(e,t){var n=new r;return N(t,n),T(e,n,this._defs),n},rect:function(e,t){var n=new s;return N(t,n),T(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new a;return N(t,n),T(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new u;return N(t,n),T(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return N(t,n),T(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=L(n));var r=new d({shape:{points:n||[]}});return N(t,r),T(e,r,this._defs),r},polyline:function(e,t){var n=new c;N(t,n),T(e,n,this._defs);var r=e.getAttribute("points");r&&(r=L(r));var i=new h({shape:{points:r||[]}});return i},image:function(e,t){var n=new i;return N(t,n),T(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,i=e.getAttribute("y")||0,o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var s=new r;return N(t,s),T(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),i=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var o=e.getAttribute("dx")||0,a=e.getAttribute("dy")||0,s=new r;return N(t,s),T(e,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(e,t){var n=e.getAttribute("d")||"",r=v(n);return N(t,r),T(e,r,this._defs),r}},D={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),r=parseInt(e.getAttribute("x2")||10,10),i=parseInt(e.getAttribute("y2")||0,10),o=new f(t,n,r,i);return M(e,o),o},radialgradient:function(e){}};function M(e,t){var n=e.firstChild;while(n){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";t.addColorStop(r,i)}n=n.nextSibling}}function N(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),w(t.__inheritedStyle,e.__inheritedStyle))}function L(e){for(var t=x(e).split(S),n=[],r=0;r<t.length;r+=2){var i=parseFloat(t[r]),o=parseFloat(t[r+1]);n.push([i,o])}return n}var I={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function T(e,t,n,r){var i=t.__inheritedStyle||{},o="text"===t.type;if(1===e.nodeType&&(j(e,t),_(i,B(e)),!r))for(var a in I)if(I.hasOwnProperty(a)){var s=e.getAttribute(a);null!=s&&(i[I[a]]=s)}var l=o?"textFill":"fill",u=o?"textStroke":"stroke";t.style=t.style||new p;var c=t.style;null!=i.fill&&c.set(l,A(i.fill,n)),null!=i.stroke&&c.set(u,A(i.stroke,n)),C(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(e){var t="lineWidth"===e&&o?"textStrokeWidth":e;null!=i[e]&&c.set(t,parseFloat(i[e]))})),i.textBaseline&&"auto"!==i.textBaseline||(i.textBaseline="alphabetic"),"alphabetic"===i.textBaseline&&(i.textBaseline="bottom"),"start"===i.textAlign&&(i.textAlign="left"),"end"===i.textAlign&&(i.textAlign="right"),C(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(e){null!=i[e]&&c.set(e,i[e])})),i.lineDash&&(t.style.lineDash=x(i.lineDash).split(S)),c[u]&&"none"!==c[u]&&(t[u]=!0),t.__inheritedStyle=i}var P=/url\(\s*#(.*?)\)/;function A(e,t){var n=t&&e&&e.match(P);if(n){var r=x(n[1]),i=t[r];return i}return e}var R=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function j(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=null,i=[];n.replace(R,(function(e,t,n){i.push(t,n)}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1];switch(r=r||g.create(),s){case"translate":a=x(a).split(S),g.translate(r,r,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=x(a).split(S),g.scale(r,r,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=x(a).split(S),g.rotate(r,r,parseFloat(a[0]));break;case"skew":a=x(a).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":a=x(a).split(S);r[0]=parseFloat(a[0]),r[1]=parseFloat(a[1]),r[2]=parseFloat(a[2]),r[3]=parseFloat(a[3]),r[4]=parseFloat(a[4]),r[5]=parseFloat(a[5]);break}}t.setLocalTransform(r)}}var F=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(e){var t=e.getAttribute("style"),n={};if(!t)return n;var r,i={};F.lastIndex=0;while(null!=(r=F.exec(t)))i[r[1]]=r[2];for(var o in I)I.hasOwnProperty(o)&&null!=i[o]&&(n[I[o]]=i[o]);return n}function V(e,t,n){var r=t/e.width,i=n/e.height,o=Math.min(r,i),a=[o,o],s=[-(e.x+e.width/2)*o+t/2,-(e.y+e.height/2)*o+n/2];return{scale:a,position:s}}function z(e,t){var n=new k;return n.parse(e,t)}t.parseXML=O,t.makeViewBoxTransform=V,t.parseSVG=z},MFOe:function(e,t,n){(function(t){var n=a(),r=s(),i=l(),o="undefined"!==typeof window?window:t;function a(){return Object.assign?Object.assign:function(e,t,n,r){for(var i=1;i<arguments.length;i++)d(Object(arguments[i]),(function(t,n){e[n]=t}));return e}}function s(){if(Object.create)return function(e,t,r,i){var o=c(arguments,1);return n.apply(this,[Object.create(e)].concat(o))};{function e(){}return function(t,r,i,o){var a=c(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(a))}}}function l(){return String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function u(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}}function c(e,t){return Array.prototype.slice.call(e,t||0)}function d(e,t){f(e,(function(e,n){return t(e,n),!1}))}function h(e,t){var n=p(e)?[]:{};return f(e,(function(e,r){return n[r]=t(e,r),!1})),n}function f(e,t){if(p(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function p(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}function g(e){return e&&"[object Function]"==={}.toString.call(e)}function m(e){return e&&"[object Object]"==={}.toString.call(e)}e.exports={assign:n,create:r,trim:i,bind:u,slice:c,each:d,map:h,pluck:f,isList:p,isFunction:g,isObject:m,Global:o}}).call(this,n("yLpj"))},MH26:function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("OELB"),a=n("kj2x"),s=n("c8qY"),l=n("iPDy"),u=n("7hqr"),c=u.getStackedDimension,d=function(e,t,n,i){var o=e.getData(),s=i.type;if(!r.isArray(i)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=i.xAxis||null!=i.yAxis)){var l,u;if(null!=i.yAxis||null!=i.xAxis)l=t.getAxis(null!=i.yAxis?"y":"x"),u=r.retrieve(i.yAxis,i.xAxis);else{var d=a.getAxisInfo(i,o,t,e);l=d.valueAxis;var h=c(o,d.valueDataDim);u=a.numCalculate(o,h,s)}var f="x"===l.dim?0:1,p=1-f,g=r.clone(i),m={};g.type=null,g.coord=[],m.coord=[],g.coord[p]=-1/0,m.coord[p]=1/0;var v=n.get("precision");v>=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,i=[g,m,{type:s,valueIndex:i.valueIndex,value:u}]}return i=[a.dataTransform(e,i[0]),a.dataTransform(e,i[1]),r.extend({},i[2])],i[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(e){return!isNaN(e)&&!isFinite(e)}function f(e,t,n,r){var i=1-e,o=r.dimensions[e];return h(t[i])&&h(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function p(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(f(1,n,r,e)||f(0,n,r,e)))return!0}return a.dataFilter(e,t[0])&&a.dataFilter(e,t[1])}function g(e,t,n,r,i){var a,s=r.coordinateSystem,l=e.getItemModel(t),u=o.parsePercent(l.get("x"),i.getWidth()),c=o.parsePercent(l.get("y"),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,f=e.get(d[0],t),p=e.get(d[1],t);a=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;h(e.get(d[0],t))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):h(e.get(d[1],t))&&(a[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];e.setItemLayout(t,a)}var m=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var r=t.getData(),i=t.__from,o=t.__to;i.each((function(t){g(i,t,!0,e,n),g(o,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),o.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,i){var o=e.coordinateSystem,a=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(a)||u.set(a,new s);this.group.add(c.group);var d=v(o,e,t),h=d.from,f=d.to,p=d.line;t.__from=h,t.__to=f,t.setData(p);var m=t.get("symbol"),y=t.get("symbolSize");function b(t,n,r){var o=t.getItemModel(n);g(t,n,r,e,i),t.setItemVisual(n,{symbolSize:o.get("symbolSize")||y[r?0:1],symbol:o.get("symbol",!0)||m[r?0:1],color:o.get("itemStyle.color")||l.getVisual("color")})}r.isArray(m)||(m=[m,m]),"number"===typeof y&&(y=[y,y]),d.from.each((function(e){b(h,e,!0),b(f,e,!1)})),p.each((function(e){var t=p.getItemModel(e).get("lineStyle.color");p.setItemVisual(e,{color:t||h.getItemVisual(e,"color")}),p.setItemLayout(e,[h.getItemLayout(e),f.getItemLayout(e)]),p.setItemVisual(e,{fromSymbolSize:h.getItemVisual(e,"symbolSize"),fromSymbol:h.getItemVisual(e,"symbol"),toSymbolSize:f.getItemVisual(e,"symbolSize"),toSymbol:f.getItemVisual(e,"symbol")})})),c.updateData(p),d.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),c.__keep=!0,c.group.silent=t.get("silent")||e.get("silent")}});function v(e,t,n){var o;o=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new i(o,n),l=new i(o,n),u=new i([],n),c=r.map(n.get("data"),r.curry(d,t,e,n));e&&(c=r.filter(c,r.curry(p,e)));var h=e?a.dimValueGetter:function(e){return e.value};return s.initData(r.map(c,(function(e){return e[0]})),null,h),l.initData(r.map(c,(function(e){return e[1]})),null,h),u.initData(r.map(c,(function(e){return e[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}e.exports=m},MHoB:function(e,t,n){var r=n("bYtY"),i=n("6uqw"),o=n("OELB"),a=[20,140],s=i.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=a[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=a[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=o.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},getValueState:function(e){var t=this.option.range,n=this.getExtent();return(t[0]<=n[0]||t[0]<=e)&&(t[1]>=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var o=0,a=0,s=n.length,u=t.length;a<u&&(!n.length||t[a]<=n[0]);a++)t[a]<n[o]&&i(t[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(c=1;a<u;a++)(!n.length||n[n.length-1]<t[a])&&(c&&(r.length&&i(r[r.length-1].value,"outOfRange"),c=0),i(t[a],"outOfRange"));var d=r.length;return{stops:r,outerColors:[d?r[0].color:"transparent",d?r[d-1].color:"transparent"]}}});function l(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,o=n[0],a=[],s=0;s<=r&&o<n[1];s++)a.push(o),o+=i;return a.push(n[1]),a}var u=s;e.exports=u},MHtr:function(e,t,n){var r=n("bYtY");function i(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function o(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},MI8n:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return d})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"e",(function(){return p}));var r,i=n("/cxE"),o=n("C/vA"),a=n("pmY6"),s=n("24hK"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(e){function t(e){return function(t,n,r){void 0===n&&(n=null);var i,o=!1;return i=e((function(e){if(!o)return i?i.dispose():o=!0,t.call(n,e)}),null,r),o&&i.dispose(),i}}function n(e,t){return u((function(n,r,i){return void 0===r&&(r=null),e((function(e){return n.call(r,t(e))}),null,i)}))}function r(e,t){return u((function(n,r,i){return void 0===r&&(r=null),e((function(e){t(e),n.call(r,e)}),null,i)}))}function i(e,t){return u((function(n,r,i){return void 0===r&&(r=null),e((function(e){return t(e)&&n.call(r,e)}),null,i)}))}function o(e){return e}function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,r){return void 0===n&&(n=null),a["e"].apply(void 0,e.map((function(e){return e((function(e){return t.call(n,e)}),null,r)})))}}function l(e,t,r){var i=r;return n(e,(function(e){return i=t(i,e),i}))}function u(e){var t,n=new d({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function c(e,t,n,r,i){var o;void 0===n&&(n=100),void 0===r&&(r=!1);var a=void 0,s=void 0,l=0,u=new d({leakWarningThreshold:i,onFirstListenerAdd:function(){o=e((function(e){l++,a=t(a,e),r&&!s&&(u.fire(a),a=void 0),clearTimeout(s),s=setTimeout((function(){var e=a;a=void 0,s=void 0,(!r||l>1)&&u.fire(e),l=0}),n)}))},onLastListenerRemove:function(){o.dispose()}});return u.event}function h(e){var r=(new Date).getTime();return n(t(e),(function(e){return(new Date).getTime()-r}))}function f(e){var t,n=!0;return i(e,(function(e){var r=n||e!==t;return n=!1,t=e,r}))}function p(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=[]);var r=n.slice(),i=e((function(e){r?r.push(e):a.fire(e)})),o=function(){r&&r.forEach((function(e){return a.fire(e)})),r=null},a=new d({onFirstListenerAdd:function(){i||(i=e((function(e){return a.fire(e)})))},onFirstListenerDidAdd:function(){r&&(t?setTimeout(o):o())},onLastListenerRemove:function(){i&&i.dispose(),i=null}});return a.event}e.None=function(){return a["a"].None},e.once=t,e.map=n,e.forEach=r,e.filter=i,e.signal=o,e.any=s,e.reduce=l,e.snapshot=u,e.debounce=c,e.stopwatch=h,e.latch=f,e.buffer=p;var g=function(){function e(e){this.event=e}return e.prototype.map=function(t){return new e(n(this.event,t))},e.prototype.forEach=function(t){return new e(r(this.event,t))},e.prototype.filter=function(t){return new e(i(this.event,t))},e.prototype.reduce=function(t,n){return new e(l(this.event,t,n))},e.prototype.latch=function(){return new e(f(this.event))},e.prototype.debounce=function(t,n,r,i){return void 0===n&&(n=100),void 0===r&&(r=!1),new e(c(this.event,t,n,r,i))},e.prototype.on=function(e,t,n){return this.event(e,t,n)},e.prototype.once=function(e,n,r){return t(this.event)(e,n,r)},e}();function m(e){return new g(e)}function v(e,t,n){void 0===n&&(n=function(e){return e});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.fire(n.apply(void 0,e))},i=function(){return e.on(t,r)},o=function(){return e.removeListener(t,r)},a=new d({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function y(e,t,n){void 0===n&&(n=function(e){return e});var r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.fire(n.apply(void 0,e))},i=function(){return e.addEventListener(t,r)},o=function(){return e.removeEventListener(t,r)},a=new d({onFirstListenerAdd:i,onLastListenerRemove:o});return a.event}function b(e){var t=new d,n=!1;return e.then(void 0,(function(){return null})).then((function(){n?t.fire(void 0):setTimeout((function(){return t.fire(void 0)}),0)})),n=!0,t.event}function _(e){return new Promise((function(n){return t(e)(n)}))}e.chain=m,e.fromNodeEventEmitter=v,e.fromDOMEventEmitter=y,e.fromPromise=b,e.toPromise=_})(r||(r={}));var u=-1,c=function(){function e(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}return e.prototype.dispose=function(){this._stacks&&this._stacks.clear()},e.prototype.check=function(e){var t=this,n=u;if("number"===typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var r=(new Error).stack.split("\n").slice(3).join("\n"),i=this._stacks.get(r)||0;if(this._stacks.set(r,i+1),this._warnCountdown-=1,this._warnCountdown<=0){var o;this._warnCountdown=.5*n;var a=0;this._stacks.forEach((function(e,t){(!o||a<e)&&(o=t,a=e)})),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+a+"):"),console.warn(o)}return function(){var e=t._stacks.get(r)||0;t._stacks.set(r,e-1)}}},e}(),d=function(){function e(e){this._disposed=!1,this._options=e,this._leakageMon=u>0?new c(this._options&&this._options.leakWarningThreshold):void 0}return Object.defineProperty(e.prototype,"event",{get:function(){var t=this;return this._event||(this._event=function(n,r,i){t._listeners||(t._listeners=new s["a"]);var o=t._listeners.isEmpty();o&&t._options&&t._options.onFirstListenerAdd&&t._options.onFirstListenerAdd(t);var l,u,c=t._listeners.push(r?[n,r]:n);return o&&t._options&&t._options.onFirstListenerDidAdd&&t._options.onFirstListenerDidAdd(t),t._options&&t._options.onListenerDidAdd&&t._options.onListenerDidAdd(t,n,r),t._leakageMon&&(l=t._leakageMon.check(t._listeners.size)),u={dispose:function(){if(l&&l(),u.dispose=e._noop,!t._disposed&&(c(),t._options&&t._options.onLastListenerRemove)){var n=t._listeners&&!t._listeners.isEmpty();n||t._options.onLastListenerRemove(t)}}},i instanceof a["b"]?i.add(u):Array.isArray(i)&&i.push(u),u}),this._event},enumerable:!0,configurable:!0}),e.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new s["a"]);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);while(this._deliveryQueue.size>0){var r=this._deliveryQueue.shift(),o=r[0],a=r[1];try{"function"===typeof o?o.call(void 0,a):o[0].call(o[1],a)}catch(n){Object(i["e"])(n)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),h=function(e){function t(t){var n=e.call(this,t)||this;return n._isPaused=0,n._eventQueue=new s["a"],n._mergeFn=t&&t.merge,n}return l(t,e),t.prototype.pause=function(){this._isPaused++},t.prototype.resume=function(){if(0!==this._isPaused&&0===--this._isPaused)if(this._mergeFn){var t=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(t))}else while(!this._isPaused&&0!==this._eventQueue.size)e.prototype.fire.call(this,this._eventQueue.shift())},t.prototype.fire=function(t){this._listeners&&(0!==this._isPaused?this._eventQueue.push(t):e.prototype.fire.call(this,t))},t}(d),f=(function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new d({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var t=this,n={event:e,listener:null};this.events.push(n),this.hasListeners&&this.hook(n);var r=function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)};return Object(a["h"])(Object(o["a"])(r))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(t){return e.hook(t)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(t){return e.unhook(t)}))},e.prototype.hook=function(e){var t=this;e.listener=e.event((function(e){return t.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}return e.prototype.wrapEvent=function(e){var t=this;return function(n,r,i){return e((function(e){var i=t.buffers[t.buffers.length-1];i?i.push((function(){return n.call(r,e)})):n.call(r,e)}),void 0,i)}},e.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach((function(e){return e()})),n},e}()),p=function(){function e(){var e=this;this.listening=!1,this.inputEvent=r.None,this.inputEventListener=a["a"].None,this.emitter=new d({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}return Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},e}()},MKOG:function(e,t,n){var r=n("bYtY"),i=n("YH21"),o=i.Dispatcher,a=n("mLcG"),s=n("Bq2U"),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,o.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n<t.length;n++)this.addClip(t[n])},removeClip:function(e){var t=r.indexOf(this._clips,e);t>=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n<t.length;n++)this.removeClip(t[n]);e.animation=null},_update:function(){for(var e=(new Date).getTime()-this._pausedTime,t=e-this._time,n=this._clips,r=n.length,i=[],o=[],a=0;a<r;a++){var s=n[a],l=s.step(e,t);l&&(i.push(l),o.push(s))}for(a=0;a<r;)n[a]._needsRemove?(n[a]=n[r-1],n.pop(),r--):a++;r=i.length;for(a=0;a<r;a++)o[a].fire(i[a]);this._time=e,this.onframe(t),this.trigger("frame",t),this.stage.update&&this.stage.update()},_startLoop:function(){var e=this;function t(){e._running&&(a(t),!e._paused&&e._update())}this._running=!0,a(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(e,t){t=t||{};var n=new s(e,t.loop,t.getter,t.setter);return this.addAnimator(n),n}},r.mixin(l,o);var u=l;e.exports=u},MMmD:function(e,t,n){var r=n("lSCD"),i=n("shjB");function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},MNXI:function(e,t,n){},MNsG:function(e,t,n){"use strict";(function(e,r){n.d(t,"h",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"d",(function(){return b})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"b",(function(){return S})),n.d(t,"i",(function(){return O})),n.d(t,"a",(function(){return k}));var i="en",o=!1,a=!1,s=!1,l=!1,u=!1,c=!1,d=void 0,h=void 0,f="undefined"!==typeof e&&"undefined"!==typeof e.versions&&"undefined"!==typeof e.versions.electron&&"renderer"===e.type;if("object"!==typeof navigator||f){if("object"===typeof e){o="win32"===e.platform,a="darwin"===e.platform,s="linux"===e.platform,d=i,i;var p=Object({NODE_ENV:"production"})["VSCODE_NLS_CONFIG"];if(p)try{var g=JSON.parse(p),m=g.availableLanguages["*"];d=g.locale,m||i,g._translationsConfigFile}catch(E){}l=!0}}else h=navigator.userAgent,o=h.indexOf("Windows")>=0,a=h.indexOf("Macintosh")>=0,c=h.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,s=h.indexOf("Linux")>=0,u=!0,d=navigator.language,d;var v=o,y=a,b=s,_=l,w=u,x=c,C="object"===typeof self?self:"object"===typeof r?r:{},S=C,O=function(){if(S.setImmediate)return S.setImmediate.bind(S);if("function"===typeof S.postMessage&&!S.importScripts){var t=[];S.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var n=0,r=t.length;n<r;n++){var i=t[n];if(i.id===e.data.vscodeSetImmediateId)return t.splice(n,1),void i.callback()}}));var n=0;return function(e){var r=++n;t.push({id:r,callback:e}),S.postMessage({vscodeSetImmediateId:r},"*")}}if("undefined"!==typeof e&&"function"===typeof e.nextTick)return e.nextTick.bind(e);var r=Promise.resolve();return function(e){return r.then(e)}}(),k=a?2:o?1:3}).call(this,n("Q2Ig"),n("yLpj"))},MPFp:function(e,t,n){"use strict";var r=n("uOPS"),i=n("Y7ZC"),o=n("kTiW"),a=n("NegM"),s=n("SBuE"),l=n("j2DC"),u=n("RfKB"),c=n("U+KD"),d=n("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",g="values",m=function(){return this};e.exports=function(e,t,n,v,y,b,_){l(n,t,v);var w,x,C,S=function(e){if(!h&&e in D)return D[e];switch(e){case p:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",k=y==g,E=!1,D=e.prototype,M=D[d]||D[f]||y&&D[y],N=M||S(y),L=y?k?S("entries"):N:void 0,I="Array"==t&&D.entries||M;if(I&&(C=c(I.call(new e)),C!==Object.prototype&&C.next&&(u(C,O,!0),r||"function"==typeof C[d]||a(C,d,m))),k&&M&&M.name!==g&&(E=!0,N=function(){return M.call(this)}),r&&!_||!h&&!E&&D[d]||a(D,d,N),s[t]=N,s[O]=m,y)if(w={values:k?N:S(g),keys:b?N:S(p),entries:L},_)for(x in w)x in D||o(D,x,w[x]);else i(i.P+i.F*(h||E),t,w);return w}},MRoa:function(e,t,n){var r=n("ProS");n("0Bwj"),n("W2nI"),n("vcCh");var i=n("gawk"),o=n("Dg8C");r.registerLayout(i),r.registerVisual(o)},MT78:function(e,t,n){var r=n("ProS");(function(){for(var e in r){if(null==r||!r.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=r[e]}})();var i=n("txkQ");(function(){for(var e in i){if(null==i||!i.hasOwnProperty(e)||"default"===e||"__esModule"===e)return;t[e]=i[e]}})(),n("A1Ka"),n("75ce"),n("lLGD"),n("wDdD"),n("Fa/5"),n("jett"),n("Z1wy"),n("75ev"),n("2uGb"),n("I+77"),n("B+YJ"),n("pLH3"),n("CBdT"),n("MRoa"),n("+lIL"),n("CF2D"),n("ERHi"),n("p+If"),n("XOKv"),n("qt/9"),n("bBL8"),n("1xaR"),n("4Feb"),n("zRKj"),n("L3Oj"),n("0HBW"),n("LPzL"),n("8waO"),n("k5C7"),n("f1nB"),n("sRwP"),n("AH3D"),n("y4/Y"),n("LzGr"),n("Ynxi"),n("7pVf"),n("2w7y"),n("laiN"),n("fjKi"),n("C0tN"),n("0o9m"),n("Cm0C"),n("f3JH"),n("5NHt"),n("VFCP"),n("dBmv"),n("KamJ"),n("8XDt"),n("juDX")},MXAL:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("CZ1j"),i=function(){function e(t){var n=Object(r["b"])(t);this._defaultValue=n,this._asciiMap=e._createAsciiMap(n),this._map=new Map}return e._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},e.prototype.set=function(e,t){var n=Object(r["b"])(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),o=function(){function e(){this._actual=new i(0)}return e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)},e}()},MXD1:function(e,t,n){"use strict";n("cIOH"),n("Kvyg")},Md8J:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n("EffR");function i(e,t){void 0===t&&(t={});var n=a(t);return n.textContent=e,n}function o(e,t){void 0===t&&(t={});var n=a(t);return l(n,u(e),t.actionHandler),n}function a(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}var s=function(){function e(e){this.source=e,this.index=0}return e.prototype.eos=function(){return this.index>=this.source.length},e.prototype.next=function(){var e=this.peek();return this.advance(),e},e.prototype.peek=function(){return this.source[this.index]},e.prototype.advance=function(){this.index++},e}();function l(e,t,n){var i;if(2===t.type)i=document.createTextNode(t.content||"");else if(3===t.type)i=document.createElement("b");else if(4===t.type)i=document.createElement("i");else if(5===t.type&&n){var o=document.createElement("a");o.href="#",n.disposeables.add(r["n"](o,"click",(function(e){n.callback(String(t.index),e)}))),i=o}else 7===t.type?i=document.createElement("br"):1===t.type&&(i=e);i&&e!==i&&e.appendChild(i),i&&Array.isArray(t.children)&&t.children.forEach((function(e){l(i,e,n)}))}function u(e){var t={type:1,children:[]},n=0,r=t,i=[],o=new s(e);while(!o.eos()){var a=o.next(),l="\\"===a&&0!==d(o.peek());if(l&&(a=o.next()),!l&&c(a)&&a===o.peek()){o.advance(),2===r.type&&(r=i.pop());var u=d(a);if(r.type===u||5===r.type&&6===u)r=i.pop();else{var h={type:u,children:[]};5===u&&(h.index=n,n++),r.children.push(h),i.push(r),r=h}}else if("\n"===a)2===r.type&&(r=i.pop()),r.children.push({type:7});else if(2!==r.type){var f={type:2,content:a};r.children.push(f),i.push(r),r=f}else r.content+=a}return 2===r.type&&(r=i.pop()),i.length,t}function c(e){return 0!==d(e)}function d(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}},Mdki:function(e,t,n){var r=n("bYtY"),i=r.each,o="\0__link_datas",a="\0__link_mainData";function s(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,f(t,n,e),i(n,(function(n){i(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,r.curry(l,e))}))})),t.wrapMethod("cloneShallow",r.curry(c,e)),i(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(u,e))})),r.assert(n[t.dataType]===t)}function l(e,t){if(h(this)){var n=r.extend({},this[o]);n[this.dataType]=t,f(t,n,e)}else p(t,this.dataType,this[a],e);return t}function u(e,t){return e.struct&&e.struct.update(this),t}function c(e,t){return i(t[o],(function(n,r){n!==t&&p(n.cloneShallow(),r,t,e)})),t}function d(e){var t=this[a];return null==e||null==t?t:t[o][e]}function h(e){return e[a]===e}function f(e,t,n){e[o]={},i(t,(function(t,r){p(t,r,e,n)}))}function p(e,t,n,r){n[o][t]=e,e[a]=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=d}var g=s;e.exports=g},Mds0:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("8IMR")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="StarFilled";var u=o.forwardRef(l);t.default=u},Mgri:function(e,t,n){for(var r=n("bYtY"),i=n("8nly"),o=[126,25],a=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],s=0;s<a.length;s++)for(var l=0;l<a[s].length;l++)a[s][l][0]/=10.5,a[s][l][1]/=-14,a[s][l][0]+=o[0],a[s][l][1]+=o[1];function u(e,t){"china"===e&&t.push(new i("\u5357\u6d77\u8bf8\u5c9b",r.map(a,(function(e){return{type:"polygon",exterior:e}})),o))}e.exports=u},MqEG:function(e,t,n){var r=n("bYtY"),i=n("fc+c"),o=n("72pK"),a=n("VXYp"),s=r.bind,l=i.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,i){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),r.each(this.getTargetCoordInfo(),(function(t,i){var o=r.map(t,(function(e){return a.generateCoordId(e.model)}));r.each(t,(function(t){var l=t.model,c={};r.each(["pan","zoom","scrollMove"],(function(e){c[e]=s(u[e],this,t,i)}),this),a.register(n,{coordId:a.generateCoordId(l),allCoordIds:o,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:c})}),this)}),this)},dispose:function(){a.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),u={zoom:function(e,t,n,r){var i=this._range,a=i.slice(),s=e.axisModels[0];if(s){var l=d[t](null,[r.originX,r.originY],s,n,e),u=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,h.minSpan,h.maxSpan),this._range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}},pan:c((function(e,t,n,r,i,o){var a=d[r]([o.oldX,o.oldY],[o.newX,o.newY],t,i,n);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength})),scrollMove:c((function(e,t,n,r,i,o){var a=d[r]([0,0],[o.scrollDelta,o.scrollDelta],t,i,n);return a.signal*(e[1]-e[0])*o.scrollDelta}))};function c(e){return function(t,n,r,i){var a=this._range,s=a.slice(),l=t.axisModels[0];if(l){var u=e(s,l,t,n,r,i);return o(u,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},h=l;e.exports=h},MqQJ:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h}));var r=n("3/fG"),i=n("MI8n"),o=n("twdY"),a=n("cMvZ"),s=n("ic2d"),l={ModesRegistry:"editor.modesRegistry"},u=function(){function e(){this._onDidChangeLanguages=new i["a"],this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}return e.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},e.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},e}(),c=new u;s["a"].add(l.ModesRegistry,c);var d="plaintext",h=new o["q"](d,1);c.registerLanguage({id:d,extensions:[".txt",".gitignore"],aliases:[r["a"]("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),a["a"].register(h,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],folding:{offSide:!0}})},MrjW:function(e,t,n){"use strict";n.r(t),n.d(t,"win32",(function(){return w})),n.d(t,"posix",(function(){return x})),n.d(t,"normalize",(function(){return C})),n.d(t,"join",(function(){return S})),n.d(t,"relative",(function(){return O})),n.d(t,"dirname",(function(){return k})),n.d(t,"basename",(function(){return E})),n.d(t,"extname",(function(){return D})),n.d(t,"sep",(function(){return M}));var r=n("wxcJ"),i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=65,a=97,s=90,l=122,u=46,c=47,d=92,h=58,f=63,p=function(e){function t(t,n,r){var i,o=this;"string"===typeof n&&0===n.indexOf("not ")?(i="must not be",n=n.replace(/^not /,"")):i="must be";var a=-1!==t.indexOf(".")?"property":"argument",s='The "'+t+'" '+a+" "+i+" of type "+n;return s+=". Received type "+typeof r,o=e.call(this,s)||this,o.code="ERR_INVALID_ARG_TYPE",o}return i(t,e),t}(Error);function g(e,t){if("string"!==typeof e)throw new p(t,"string",e)}function m(e){return e===c||e===d}function v(e){return e===c}function y(e){return e>=o&&e<=s||e>=a&&e<=l}function b(e,t,n,r){for(var i,o="",a=0,s=-1,l=0,d=0;d<=e.length;++d){if(d<e.length)i=e.charCodeAt(d);else{if(r(i))break;i=c}if(r(i)){if(s===d-1||1===l);else if(s!==d-1&&2===l){if(o.length<2||2!==a||o.charCodeAt(o.length-1)!==u||o.charCodeAt(o.length-2)!==u){if(o.length>2){var h=o.lastIndexOf(n);-1===h?(o="",a=0):(o=o.slice(0,h),a=o.length-1-o.lastIndexOf(n)),s=d,l=0;continue}if(2===o.length||1===o.length){o="",a=0,s=d,l=0;continue}}t&&(o.length>0?o+=n+"..":o="..",a=2)}else o.length>0?o+=n+e.slice(s+1,d):o=e.slice(s+1,d),a=d-s-1;s=d,l=0}else i===u&&-1!==l?++l:l=-1}return o}function _(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var w={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i="",o=!1,a=e.length-1;a>=-1;a--){var s=void 0;if(a>=0?s=e[a]:n?(s=r["b"]["="+n]||r["a"](),void 0!==s&&s.slice(0,3).toLowerCase()===n.toLowerCase()+"\\"||(s=n+"\\")):s=r["a"](),g(s,"path"),0!==s.length){var l=s.length,u=0,c="",d=!1,f=s.charCodeAt(0);if(l>1)if(m(f))if(d=!0,m(s.charCodeAt(1))){for(var p=2,v=p;p<l;++p)if(m(s.charCodeAt(p)))break;if(p<l&&p!==v){var _=s.slice(v,p);for(v=p;p<l;++p)if(!m(s.charCodeAt(p)))break;if(p<l&&p!==v){for(v=p;p<l;++p)if(m(s.charCodeAt(p)))break;p===l?(c="\\\\"+_+"\\"+s.slice(v),u=p):p!==v&&(c="\\\\"+_+"\\"+s.slice(v,p),u=p)}}}else u=1;else y(f)&&s.charCodeAt(1)===h&&(c=s.slice(0,2),u=2,l>2&&m(s.charCodeAt(2))&&(d=!0,u=3));else m(f)&&(u=1,d=!0);if(!(c.length>0&&n.length>0&&c.toLowerCase()!==n.toLowerCase())&&(0===n.length&&c.length>0&&(n=c),o||(i=s.slice(u)+"\\"+i,o=d),n.length>0&&o))break}}return i=b(i,!o,"\\",m),n+(o?"\\":"")+i||"."},normalize:function(e){g(e,"path");var t=e.length;if(0===t)return".";var n,r,i=0,o=!1,a=e.charCodeAt(0);if(t>1)if(m(a))if(o=!0,m(e.charCodeAt(1))){for(var s=2,l=s;s<t;++s)if(m(e.charCodeAt(s)))break;if(s<t&&s!==l){var u=e.slice(l,s);for(l=s;s<t;++s)if(!m(e.charCodeAt(s)))break;if(s<t&&s!==l){for(l=s;s<t;++s)if(m(e.charCodeAt(s)))break;if(s===t)return"\\\\"+u+"\\"+e.slice(l)+"\\";s!==l&&(n="\\\\"+u+"\\"+e.slice(l,s),i=s)}}}else i=1;else y(a)&&e.charCodeAt(1)===h&&(n=e.slice(0,2),i=2,t>2&&m(e.charCodeAt(2))&&(o=!0,i=3));else if(m(a))return"\\";return r=i<t?b(e.slice(i),!o,"\\",m):"",0!==r.length||o||(r="."),r.length>0&&m(e.charCodeAt(t-1))&&(r+="\\"),void 0===n?o?r.length>0?"\\"+r:"\\":r.length>0?r:"":o?r.length>0?n+"\\"+r:n+"\\":r.length>0?n+r:n},isAbsolute:function(e){g(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return!!m(n)||!!(y(n)&&t>2&&e.charCodeAt(1)===h&&m(e.charCodeAt(2)))},join:function(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(0===n.length)return".";for(var i=0;i<n.length;++i){var o=n[i];g(o,"path"),o.length>0&&(void 0===e?e=t=o:e+="\\"+o)}if(void 0===e)return".";var a=!0,s=0;if("string"===typeof t&&m(t.charCodeAt(0))){++s;var l=t.length;l>1&&m(t.charCodeAt(1))&&(++s,l>2&&(m(t.charCodeAt(2))?++s:a=!1))}if(a){for(;s<e.length;++s)if(!m(e.charCodeAt(s)))break;s>=2&&(e="\\"+e.slice(s))}return w.normalize(e)},relative:function(e,t){if(g(e,"from"),g(t,"to"),e===t)return"";var n=w.resolve(e),r=w.resolve(t);if(n===r)return"";if(e=n.toLowerCase(),t=r.toLowerCase(),e===t)return"";for(var i=0;i<e.length;++i)if(e.charCodeAt(i)!==d)break;for(var o=e.length;o-1>i;--o)if(e.charCodeAt(o-1)!==d)break;for(var a=o-i,s=0;s<t.length;++s)if(t.charCodeAt(s)!==d)break;for(var l=t.length;l-1>s;--l)if(t.charCodeAt(l-1)!==d)break;for(var u=l-s,c=a<u?a:u,h=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(t.charCodeAt(s+f)===d)return r.slice(s+f+1);if(2===f)return r.slice(s+f)}a>c&&(e.charCodeAt(i+f)===d?h=f:2===f&&(h=3));break}var p=e.charCodeAt(i+f),m=t.charCodeAt(s+f);if(p!==m)break;p===d&&(h=f)}if(f!==c&&-1===h)return r;var v="";for(-1===h&&(h=0),f=i+h+1;f<=o;++f)f!==o&&e.charCodeAt(f)!==d||(0===v.length?v+="..":v+="\\..");return v.length>0?v+r.slice(s+h,l):(s+=h,r.charCodeAt(s)===d&&++s,r.slice(s,l))},toNamespacedPath:function(e){if("string"!==typeof e)return e;if(0===e.length)return"";var t=w.resolve(e);if(t.length>=3)if(t.charCodeAt(0)===d){if(t.charCodeAt(1)===d){var n=t.charCodeAt(2);if(n!==f&&n!==u)return"\\\\?\\UNC\\"+t.slice(2)}}else if(y(t.charCodeAt(0))&&t.charCodeAt(1)===h&&t.charCodeAt(2)===d)return"\\\\?\\"+t;return e},dirname:function(e){g(e,"path");var t=e.length;if(0===t)return".";var n=-1,r=-1,i=!0,o=0,a=e.charCodeAt(0);if(t>1)if(m(a)){if(n=o=1,m(e.charCodeAt(1))){for(var s=2,l=s;s<t;++s)if(m(e.charCodeAt(s)))break;if(s<t&&s!==l){for(l=s;s<t;++s)if(!m(e.charCodeAt(s)))break;if(s<t&&s!==l){for(l=s;s<t;++s)if(m(e.charCodeAt(s)))break;if(s===t)return e;s!==l&&(n=o=s+1)}}}}else y(a)&&e.charCodeAt(1)===h&&(n=o=2,t>2&&m(e.charCodeAt(2))&&(n=o=3));else if(m(a))return e;for(var u=t-1;u>=o;--u)if(m(e.charCodeAt(u))){if(!i){r=u;break}}else i=!1;if(-1===r){if(-1===n)return".";r=n}return e.slice(0,r)},basename:function(e,t){void 0!==t&&g(t,"ext"),g(e,"path");var n,r=0,i=-1,o=!0;if(e.length>=2){var a=e.charCodeAt(0);y(a)&&e.charCodeAt(1)===h&&(r=2)}if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=r;--n){var u=e.charCodeAt(n);if(m(u)){if(!o){r=n+1;break}}else-1===l&&(o=!1,l=n+1),s>=0&&(u===t.charCodeAt(s)?-1===--s&&(i=n):(s=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(m(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){g(e,"path");var t=0,n=-1,r=0,i=-1,o=!0,a=0;e.length>=2&&e.charCodeAt(1)===h&&y(e.charCodeAt(0))&&(t=r=2);for(var s=e.length-1;s>=t;--s){var l=e.charCodeAt(s);if(m(l)){if(!o){r=s+1;break}}else-1===i&&(o=!1,i=s+1),l===u?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1)}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!==typeof e)throw new p("pathObject","Object",e);return _("\\",e)},parse:function(e){g(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,r=0,i=e.charCodeAt(0);if(n>1){if(m(i)){if(r=1,m(e.charCodeAt(1))){for(var o=2,a=o;o<n;++o)if(m(e.charCodeAt(o)))break;if(o<n&&o!==a){for(a=o;o<n;++o)if(!m(e.charCodeAt(o)))break;if(o<n&&o!==a){for(a=o;o<n;++o)if(m(e.charCodeAt(o)))break;o===n?r=o:o!==a&&(r=o+1)}}}}else if(y(i)&&e.charCodeAt(1)===h){if(r=2,!(n>2))return t.root=t.dir=e,t;if(m(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;r=3}}}else if(m(i))return t.root=t.dir=e,t;r>0&&(t.root=e.slice(0,r));for(var s=-1,l=r,c=-1,d=!0,f=e.length-1,p=0;f>=r;--f)if(i=e.charCodeAt(f),m(i)){if(!d){l=f+1;break}}else-1===c&&(d=!1,c=f+1),i===u?-1===s?s=f:1!==p&&(p=1):-1!==s&&(p=-1);return-1===s||-1===c||0===p||1===p&&s===c-1&&s===l+1?-1!==c&&(t.base=t.name=e.slice(l,c)):(t.name=e.slice(l,s),t.base=e.slice(l,c),t.ext=e.slice(s,c)),t.dir=l>0&&l!==r?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},x={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",i=!1,o=e.length-1;o>=-1&&!i;o--){var a=void 0;a=o>=0?e[o]:r["a"](),g(a,"path"),0!==a.length&&(n=a+"/"+n,i=a.charCodeAt(0)===c)}return n=b(n,!i,"/",v),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(g(e,"path"),0===e.length)return".";var t=e.charCodeAt(0)===c,n=e.charCodeAt(e.length-1)===c;return e=b(e,!t,"/",v),0!==e.length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return g(e,"path"),e.length>0&&e.charCodeAt(0)===c},join:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)return".";for(var r=0;r<t.length;++r){var i=arguments[r];g(i,"path"),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":x.normalize(e)},relative:function(e,t){if(g(e,"from"),g(t,"to"),e===t)return"";if(e=x.resolve(e),t=x.resolve(t),e===t)return"";for(var n=1;n<e.length;++n)if(e.charCodeAt(n)!==c)break;for(var r=e.length,i=r-n,o=1;o<t.length;++o)if(t.charCodeAt(o)!==c)break;for(var a=t.length,s=a-o,l=i<s?i:s,u=-1,d=0;d<=l;++d){if(d===l){if(s>l){if(t.charCodeAt(o+d)===c)return t.slice(o+d+1);if(0===d)return t.slice(o+d)}else i>l&&(e.charCodeAt(n+d)===c?u=d:0===d&&(u=0));break}var h=e.charCodeAt(n+d),f=t.charCodeAt(o+d);if(h!==f)break;h===c&&(u=d)}var p="";for(d=n+u+1;d<=r;++d)d!==r&&e.charCodeAt(d)!==c||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(o+u):(o+=u,t.charCodeAt(o)===c&&++o,t.slice(o))},toNamespacedPath:function(e){return e},dirname:function(e){if(g(e,"path"),0===e.length)return".";for(var t=e.charCodeAt(0)===c,n=-1,r=!0,i=e.length-1;i>=1;--i)if(e.charCodeAt(i)===c){if(!r){n=i;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&g(t,"ext"),g(e,"path");var n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var l=e.charCodeAt(n);if(l===c){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(l===t.charCodeAt(a)?-1===--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===c){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){g(e,"path");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(s!==c)-1===r&&(i=!1,r=a+1),s===u?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!==typeof e)throw new p("pathObject","Object",e);return _("/",e)},parse:function(e){g(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0)===c;r?(t.root="/",n=1):n=0;for(var i=-1,o=0,a=-1,s=!0,l=e.length-1,d=0;l>=n;--l){var h=e.charCodeAt(l);if(h!==c)-1===a&&(s=!1,a=l+1),h===u?-1===i?i=l:1!==d&&(d=1):-1!==i&&(d=-1);else if(!s){o=l+1;break}}return-1===i||-1===a||0===d||1===d&&i===a-1&&i===o+1?-1!==a&&(t.base=t.name=0===o&&r?e.slice(1,a):e.slice(o,a)):(0===o&&r?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(o,i),t.base=e.slice(o,a)),t.ext=e.slice(i,a)),o>0?t.dir=e.slice(0,o-1):r&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};x.win32=w.win32=w,x.posix=w.posix=x;var C="win32"===r["c"]?w.normalize:x.normalize,S="win32"===r["c"]?w.join:x.join,O="win32"===r["c"]?w.relative:x.relative,k="win32"===r["c"]?w.dirname:x.dirname,E="win32"===r["c"]?w.basename:x.basename,D="win32"===r["c"]?w.extname:x.extname,M="win32"===r["c"]?w.sep:x.sep},Msxo:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"r",extensions:[".r",".rhistory",".rprofile",".rt"],aliases:["R","r"],loader:function(){return n.e(203).then(n.bind(null,"Qx4d"))}})},MvK1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=function(){function e(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}return e.compare=function(e,t){return e.colorId===t.colorId?e.from===t.from?e.to-t.to:e.from-t.from:e.colorId-t.colorId},e}(),i=function(){function e(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}return e.compare=function(e,t){return e.color===t.color?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.color<t.color?-1:1},e.prototype.setColorZone=function(e){this._colorZone=e},e.prototype.getColorZones=function(){return this._colorZone},e}(),o=function(){function e(e){this._getVerticalOffsetForLine=e,this._zones=[],this._colorZonesInvalid=!1,this._lineHeight=0,this._domWidth=0,this._domHeight=0,this._outerHeight=0,this._pixelRatio=1,this._lastAssignedId=0,this._color2Id=Object.create(null),this._id2Color=[]}return e.prototype.getId2Color=function(){return this._id2Color},e.prototype.setZones=function(e){this._zones=e,this._zones.sort(i.compare)},e.prototype.setLineHeight=function(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.setPixelRatio=function(e){this._pixelRatio=e,this._colorZonesInvalid=!0},e.prototype.getDOMWidth=function(){return this._domWidth},e.prototype.getCanvasWidth=function(){return this._domWidth*this._pixelRatio},e.prototype.setDOMWidth=function(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0,!0)},e.prototype.getDOMHeight=function(){return this._domHeight},e.prototype.getCanvasHeight=function(){return this._domHeight*this._pixelRatio},e.prototype.setDOMHeight=function(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.getOuterHeight=function(){return this._outerHeight},e.prototype.setOuterHeight=function(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0,!0)},e.prototype.resolveColorZones=function(){for(var e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),i=Math.floor(this._outerHeight),o=n/i,a=Math.floor(4*this._pixelRatio/2),s=[],l=0,u=this._zones.length;l<u;l++){var c=this._zones[l];if(!e){var d=c.getColorZones();if(d){s.push(d);continue}}var h=Math.floor(o*this._getVerticalOffsetForLine(c.startLineNumber)),f=Math.floor(o*(this._getVerticalOffsetForLine(c.endLineNumber)+t)),p=Math.floor((h+f)/2),g=f-p;g<a&&(g=a),p-g<0&&(p=g),p+g>n&&(p=n-g);var m=c.color,v=this._color2Id[m];v||(v=++this._lastAssignedId,this._color2Id[m]=v,this._id2Color[v]=m);var y=new r(p-g,p+g,v);c.setColorZone(y),s.push(y)}return this._colorZonesInvalid=!1,s.sort(r.compare),s},e}()},MvSz:function(e,t,n){var r=n("LXxW"),i=n("0ycA"),o=Object.prototype,a=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),(function(t){return a.call(e,t)})))}:i;e.exports=l},MvwC:function(e,t,n){var r=n("5T2Y").document;e.exports=r&&r.documentElement},MwEJ:function(e,t,n){var r=n("bYtY"),i=n("YXkt"),o=n("sdST"),a=n("k9D9"),s=a.SOURCE_FORMAT_ORIGINAL,l=n("L0Ub"),u=l.getDimensionTypeByAxis,c=n("4NO4"),d=c.getDataItemValue,h=n("IDmD"),f=n("i38C"),p=f.getCoordSysInfoBySeries,g=n("7G+c"),m=n("7hqr"),v=m.enableDataStack,y=n("D5nY"),b=y.makeSeriesEncodeForAxisCoordSys;function _(e,t,n){n=n||{},g.isInstance(e)||(e=g.seriesDataToSource(e));var a,s=t.get("coordinateSystem"),l=h.get(s),c=p(t);c&&(a=r.map(c.coordSysDims,(function(e){var t={name:e},n=c.axisMap.get(e);if(n){var r=n.get("type");t.type=u(r)}return t}))),a||(a=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var d,f,m=o(e,{coordDimensions:a,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(b,a,t):null});c&&r.each(m,(function(e,t){var n=e.coordDim,r=c.categoryAxisMap.get(n);r&&(null==d&&(d=t),e.ordinalMeta=r.getOrdinalMeta()),null!=e.otherDims.itemName&&(f=!0)})),f||null==d||(m[d].otherDims.itemName=0);var y=v(t,m),_=new i(m,t);_.setCalculationInfo(y);var x=null!=d&&w(e)?function(e,t,n,r){return r===d?n:this.defaultDimValueGetter(e,t,n,r)}:null;return _.hasItemOption=!1,_.initData(e,null,x),_}function w(e){if(e.sourceFormat===s){var t=x(e.data||[]);return null!=t&&!r.isArray(d(t))}}function x(e){var t=0;while(t<e.length&&null==e[t])t++;return e[t]}var C=_;e.exports=C},Mylv:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("oVpE"),s=a.createSymbol,l=n("OELB"),u=l.parsePercent,c=l.isNumeric,d=n("56rv"),h=d.setLabel,f=["itemStyle","borderWidth"],p=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],g=new o.Circle,m=r.extendChartView({type:"pictorialBar",render:function(e,t,n){var r=this.group,i=e.getData(),o=this._data,a=e.coordinateSystem,s=a.getBaseAxis(),l=!!s.isHorizontal(),u=a.grid.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:e,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:p[+l],categoryDim:p[1-l]};return i.diff(o).add((function(e){if(i.hasValue(e)){var t=D(i,e),n=v(i,e,t,c),o=I(i,c,n);i.setItemGraphicEl(e,o),r.add(o),F(o,c,n)}})).update((function(e,t){var n=o.getItemGraphicEl(t);if(i.hasValue(e)){var a=D(i,e),s=v(i,e,a,c),l=A(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(e,null),n=null),n?T(n,c,s):n=I(i,c,s,!0),i.setItemGraphicEl(e,n),n.__pictorialSymbolMeta=s,r.add(n),F(n,c,s)}else r.remove(n)})).remove((function(e){var t=o.getItemGraphicEl(e);t&&P(o,e,t.__pictorialSymbolMeta.animationModel,t)})).execute(),this._data=i,this.group},dispose:i.noop,remove:function(e,t){var n=this.group,r=this._data;e.get("animation")?r&&r.eachItemGraphicEl((function(t){P(r,t.dataIndex,e,t)})):n.removeAll()}});function v(e,t,n,r){var o=e.getItemLayout(t),a=n.get("symbolRepeat"),s=n.get("symbolClip"),l=n.get("symbolPosition")||"start",c=n.get("symbolRotate"),d=(c||0)*Math.PI/180||0,h=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),p={dataIndex:t,layout:o,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",color:e.getItemVisual(t,"color"),symbolClip:s,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:h,rotation:d,animationModel:f?n:null,hoverAnimation:f&&n.get("hoverAnimation"),z2:n.getShallow("z",!0)||0};y(n,a,o,r,p),_(e,t,o,a,s,p.boundingLength,p.pxSign,h,r,p),w(n,p.symbolScale,d,r,p);var g=p.symbolSize,m=n.get("symbolOffset");return i.isArray(m)&&(m=[u(m[0],g[0]),u(m[1],g[1])]),x(n,g,o,a,s,m,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,r,p),p}function y(e,t,n,r,o){var a,s=r.valueDim,l=e.get("symbolBoundingData"),u=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),d=1-+(n[s.wh]<=0);if(i.isArray(l)){var h=[b(u,l[0])-c,b(u,l[1])-c];h[1]<h[0]&&h.reverse(),a=h[d]}else a=null!=l?b(u,l)-c:t?r.coordSysExtent[s.index][d]-c:n[s.wh];o.boundingLength=a,t&&(o.repeatCutLength=n[s.wh]),o.pxSign=a>0?1:a<0?-1:0}function b(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function _(e,t,n,r,o,a,s,l,c,d){var h=c.valueDim,f=c.categoryDim,p=Math.abs(n[f.wh]),g=e.getItemVisual(t,"symbolSize");i.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[h.index]=u(g[h.index],r?p:Math.abs(a)),d.symbolSize=g;var m=d.symbolScale=[g[0]/l,g[1]/l];m[h.index]*=(c.isHorizontal?-1:1)*s}function w(e,t,n,r,i){var o=e.get(f)||0;o&&(g.attr({scale:t.slice(),rotation:n}),g.updateTransform(),o/=g.getLineScale(),o*=t[r.valueDim.index]),i.valueLineWidth=o}function x(e,t,n,r,o,a,s,l,d,h,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(t[m.index]+l,0),b=y;if(r){var _=Math.abs(d),w=i.retrieve(e.get("symbolMargin"),"15%")+"",x=!1;w.lastIndexOf("!")===w.length-1&&(x=!0,w=w.slice(0,w.length-1)),w=u(w,t[m.index]);var C=Math.max(y+2*w,0),S=x?0:2*w,O=c(r),k=O?r:B((_+S)/C),E=_-k*y;w=E/2/(x?k:k-1),C=y+2*w,S=x?0:2*w,O||"fixed"===r||(k=h?B((Math.abs(h)+S)/C):0),b=k*C-S,p.repeatTimes=k,p.symbolMargin=w}var D=v*(b/2),M=p.pathPosition=[];M[g.index]=n[g.wh]/2,M[m.index]="start"===s?D:"end"===s?d-D:d/2,a&&(M[0]+=a[0],M[1]+=a[1]);var N=p.bundlePosition=[];N[g.index]=n[g.xy],N[m.index]=n[m.xy];var L=p.barRectShape=i.extend({},n);L[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(M[m.index]+D)),L[g.wh]=n[g.wh];var I=p.clipShape={};I[g.xy]=-n[g.xy],I[g.wh]=f.ecSize[g.wh],I[m.xy]=0,I[m.wh]=n[m.wh]}function C(e){var t=e.symbolPatternSize,n=s(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function S(e,t,n,r){var i=e.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,u=n.repeatTimes||0,c=0,d=o[t.valueDim.index]+a+2*n.symbolMargin;for(R(e,(function(e){e.__pictorialAnimationIndex=c,e.__pictorialRepeatTimes=u,c<u?j(e,null,p(c),n,r):j(e,null,{scale:[0,0]},n,r,(function(){i.remove(e)})),L(e,n),c++}));c<u;c++){var h=C(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var f=p(c);j(h,{position:f.position,scale:[0,0]},{scale:f.scale,rotation:f.rotation},n,r),h.on("mouseover",g).on("mouseout",m),L(h,n)}function p(e){var t=s.slice(),r=n.pxSign,i=e;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=u-1-e),t[l.index]=d*(i-u/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function g(){R(e,(function(e){e.trigger("emphasis")}))}function m(){R(e,(function(e){e.trigger("normal")}))}}function O(e,t,n,r){var i=e.__pictorialBundle,o=e.__pictorialMainPath;function a(){this.trigger("emphasis")}function s(){this.trigger("normal")}o?j(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(o=e.__pictorialMainPath=C(n),i.add(o),j(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),o.on("mouseover",a).on("mouseout",s)),L(o,n)}function k(e,t,n){var r=i.extend({},t.barRectShape),a=e.__pictorialBarRect;a?j(a,null,{shape:r},t,n):(a=e.__pictorialBarRect=new o.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(a))}function E(e,t,n,r){if(n.symbolClip){var a=e.__pictorialClipPath,s=i.extend({},n.clipShape),l=t.valueDim,u=n.animationModel,c=n.dataIndex;if(a)o.updateProps(a,{shape:s},u,c);else{s[l.wh]=0,a=new o.Rect({shape:s}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var d={};d[l.wh]=n.clipShape[l.wh],o[r?"updateProps":"initProps"](a,{shape:d},u,c)}}}function D(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=M,n.isAnimationEnabled=N,n}function M(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function N(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function L(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function I(e,t,n,r){var i=new o.Group,a=new o.Group;return i.add(a),i.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?S(i,t,n):O(i,t,n),k(i,n,r),E(i,t,n,r),i.__pictorialShapeStr=A(e,n),i.__pictorialSymbolMeta=n,i}function T(e,t,n){var r=n.animationModel,i=n.dataIndex,a=e.__pictorialBundle;o.updateProps(a,{position:n.bundlePosition.slice()},r,i),n.symbolRepeat?S(e,t,n,!0):O(e,t,n,!0),k(e,n,!0),E(e,t,n,!0)}function P(e,t,n,r){var a=r.__pictorialBarRect;a&&(a.style.text=null);var s=[];R(r,(function(e){s.push(e)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(e){o.updateProps(e,{scale:[0,0]},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function A(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function R(e,t,n){i.each(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function j(e,t,n,r,i,a){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&o[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,a)}function F(e,t,n){var r=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");R(e,(function(e){e.setColor(r),e.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),o.setHoverStyle(e,u),c&&(e.cursor=c),e.z2=n.z2}));var d={},f=t.valueDim.posDesc[+(n.boundingLength>0)],p=e.__pictorialBarRect;h(p.style,d,s,r,t.seriesModel,a,f),o.setHoverStyle(p,d)}function B(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var V=m;e.exports=V},Mzro:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return n.e(213).then(n.bind(null,"l/4i"))}})},N0LK:function(e,t,n){"use strict";function r(e){return!e||"string"!==typeof e||0===e.trim().length}function i(e,t,n){void 0===n&&(n="0");for(var r=""+e,i=[r],o=r.length;o<t;o++)i.push(n);return i.reverse().join("")}n.d(t,"x",(function(){return r})),n.d(t,"F",(function(){return i})),n.d(t,"r",(function(){return a})),n.d(t,"o",(function(){return s})),n.d(t,"p",(function(){return l})),n.d(t,"K",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"M",(function(){return d})),n.d(t,"m",(function(){return h})),n.d(t,"l",(function(){return f})),n.d(t,"I",(function(){return p})),n.d(t,"H",(function(){return g})),n.d(t,"q",(function(){return m})),n.d(t,"t",(function(){return v})),n.d(t,"D",(function(){return y})),n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return _})),n.d(t,"B",(function(){return w})),n.d(t,"C",(function(){return x})),n.d(t,"n",(function(){return S})),n.d(t,"N",(function(){return k})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return D})),n.d(t,"z",(function(){return M})),n.d(t,"A",(function(){return N})),n.d(t,"u",(function(){return L})),n.d(t,"E",(function(){return T})),n.d(t,"G",(function(){return P})),n.d(t,"i",(function(){return R})),n.d(t,"g",(function(){return F})),n.d(t,"v",(function(){return V})),n.d(t,"h",(function(){return z})),n.d(t,"y",(function(){return W})),n.d(t,"w",(function(){return H})),n.d(t,"a",(function(){return U})),n.d(t,"O",(function(){return K})),n.d(t,"J",(function(){return G})),n.d(t,"j",(function(){return q})),n.d(t,"L",(function(){return Y})),n.d(t,"s",(function(){return X})),n.d(t,"b",(function(){return Z}));var o=/{(\d+)}/g;function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return 0===t.length?e:e.replace(o,(function(e,n){var r=parseInt(n,10);return isNaN(r)||r<0||r>=t.length?e:t[r]}))}function s(e){return e.replace(/[<>&]/g,(function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}}))}function l(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function u(e,t){if(!e||!t)return e;var n=t.length,r=e.length;if(0===n||0===r)return e;var i=r,o=-1;while(1){if(o=e.lastIndexOf(t,i-1),-1===o||o+n!==i)break;if(0===o)return"";i=o}return e.substring(0,i)}function c(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function d(e,t){if(e.length<t.length)return!1;if(e===t)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function h(e,t){var n=e.length-t.length;return n>0?e.indexOf(t,n)===n:0===n&&e===t}function f(e,t,n){if(void 0===n&&(n={}),!e)throw new Error("Cannot create regex from empty string");t||(e=l(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function p(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;var t=e.exec("");return!(!t||0!==e.lastIndex)}function g(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")}function m(e){for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}function v(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(32!==i&&9!==i)return e.substring(t,r)}return e.substring(t,n)}function y(e,t){void 0===t&&(t=e.length-1);for(var n=t;n>=0;n--){var r=e.charCodeAt(n);if(32!==r&&9!==r)return n}return-1}function b(e,t){return e<t?-1:e>t?1:0}function _(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i!==o){x(i)&&(i+=32),x(o)&&(o+=32);var a=i-o;if(0!==a)return w(i)&&w(o)?a:b(e.toLowerCase(),t.toLowerCase())}}return e.length<t.length?-1:e.length>t.length?1:0}function w(e){return e>=97&&e<=122}function x(e){return e>=65&&e<=90}function C(e){return w(e)||x(e)}function S(e,t){return e.length===t.length&&O(e,t)}function O(e,t,n){void 0===n&&(n=e.length);for(var r=0;r<n;r++){var i=e.charCodeAt(r),o=t.charCodeAt(r);if(i!==o)if(C(i)&&C(o)){var a=Math.abs(i-o);if(0!==a&&32!==a)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(o).toLowerCase())return!1}return!0}function k(e,t){var n=t.length;return!(t.length>e.length)&&O(e,t,n)}function E(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return r}function D(e,t){var n,r=Math.min(e.length,t.length),i=e.length-1,o=t.length-1;for(n=0;n<r;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(o-n))return n;return r}function M(e){return 55296<=e&&e<=56319}function N(e){return 56320<=e&&e<=57343}function L(e,t,n){var r=e.charCodeAt(n);if(M(r)&&n+1<t){var i=e.charCodeAt(n+1);if(N(i))return i-56320+(r-55296<<10)+65536}return r}function I(e,t){var n=e.charCodeAt(t-1);if(N(n)&&t>1){var r=e.charCodeAt(t-2);if(M(r))return n-56320+(r-55296<<10)+65536}return n}function T(e,t){var n=Q.getInstance(),r=t,i=e.length,o=L(e,i,t);t+=o>=65536?2:1;var a=n.getGraphemeBreakType(o);while(t<i){var s=L(e,i,t),l=n.getGraphemeBreakType(s);if(Z(a,l))break;t+=s>=65536?2:1,a=l}return t-r}function P(e,t){var n=Q.getInstance(),r=t,i=I(e,t);t-=i>=65536?2:1;var o=n.getGraphemeBreakType(i);while(t>0){var a=I(e,t),s=n.getGraphemeBreakType(a);if(Z(s,o))break;t-=a>=65536?2:1,o=s}return r-t}var A=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function R(e){return A.test(e)}var j=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDE73\uDE78-\uDE82\uDE90-\uDE95])/;function F(e){return j.test(e)}var B=/^[\t\n\r\x20-\x7E]*$/;function V(e){return B.test(e)}function z(e){for(var t=0,n=e.length;t<n;t++)if(W(e.charCodeAt(t)))return!0;return!1}function W(e){return e=+e,e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function H(e){return e>=127462&&e<=127487||e>=9728&&e<=10175||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129003||e>=129280&&e<=129535||e>=129648&&e<=129651||e>=129656&&e<=129666||e>=129680&&e<=129685}var U=String.fromCharCode(65279);function K(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function G(e,t){for(var n="",r=0;r<t;r++)n+=e;return n}function q(e,t){return void 0===t&&(t=!1),!!e&&(t&&(e=e.replace(/\\./g,"")),e.toLowerCase()!==e)}function Y(e){var t=26;return e%=2*t,e<t?String.fromCharCode(97+e):String.fromCharCode(65+e-t)}function X(e){var t=Q.getInstance();return t.getGraphemeBreakType(e)}function Z(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}var Q=function(){function e(){this._data=$()}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;var t=this._data,n=t.length/3,r=1;while(r<=n)if(e<t[3*r])r*=2;else{if(!(e>t[3*r+1]))return t[3*r+2];r=2*r+1}return 0},e._INSTANCE=null,e}();function $(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}},N2Kk:function(e,t,n){"use strict";t["a"]={items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875"}},N5BQ:function(e,t,n){var r=n("OlYY"),i=r.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),o=i;e.exports=o},NA0q:function(e,t,n){var r=n("bYtY"),i=n("6Ic6"),o=n("TkdX"),a=n("gPAo"),s=n("7aKB"),l=s.windowOpen,u="sunburstRootToNode",c=i.extend({type:"sunburst",init:function(){},render:function(e,t,n,i){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),u=l.tree.root,c=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),f=[];c.eachNode((function(e){f.push(e)}));var p=this._oldChildren||[];if(v(f,p),_(u,c),i&&i.highlight&&i.highlight.piece){var g=e.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(g)}else if(i&&i.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(e,t){function n(e){return e.getId()}function i(n,r){var i=null==n?null:e[n],o=null==r?null:t[r];y(i,o)}0===e.length&&0===t.length||new a(t,e,n,n).add(i).update(i).remove(r.curry(i,null)).execute()}function y(n,r){if(h||!n||n.getValue()||(n=null),n!==u&&r!==u)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,r.piece)):b(r);else if(n){var i=new o(n,e,t);d.add(i),l.setItemGraphicEl(n.dataIndex,i)}}function b(e){e&&e.piece&&(d.remove(e.piece),e.piece=null)}function _(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new o(n,e,t),d.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(e){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1,r=e.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";l(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:u,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,o=e[1]-r.cy,a=Math.sqrt(i*i+o*o);return a<=r.r&&a>=r.r0}}}),d=c;e.exports=d},NAnI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("wXyp"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},NC18:function(e,t,n){var r=n("y+Vt"),i=n("IMiH"),o=n("7oTu"),a=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},d=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(c(e)*c(t))},h=function(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(d(e,t))};function f(e,t,n,r,i,o,c,f,p,g,m){var v=p*(u/180),y=l(v)*(e-n)/2+s(v)*(t-r)/2,b=-1*s(v)*(e-n)/2+l(v)*(t-r)/2,_=y*y/(c*c)+b*b/(f*f);_>1&&(c*=a(_),f*=a(_));var w=(i===o?-1:1)*a((c*c*(f*f)-c*c*(b*b)-f*f*(y*y))/(c*c*(b*b)+f*f*(y*y)))||0,x=w*c*b/f,C=w*-f*y/c,S=(e+n)/2+l(v)*x-s(v)*C,O=(t+r)/2+s(v)*x+l(v)*C,k=h([1,0],[(y-x)/c,(b-C)/f]),E=[(y-x)/c,(b-C)/f],D=[(-1*y-x)/c,(-1*b-C)/f],M=h(E,D);d(E,D)<=-1&&(M=u),d(E,D)>=1&&(M=0),0===o&&M>0&&(M-=2*u),1===o&&M<0&&(M+=2*u),m.addData(g,S,O,c,f,k,M,v,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(e){if(!e)return new i;for(var t,n=0,r=0,o=n,a=r,s=new i,l=i.CMD,u=e.match(p),c=0;c<u.length;c++){for(var d,h=u[c],m=h.charAt(0),v=h.match(g)||[],y=v.length,b=0;b<y;b++)v[b]=parseFloat(v[b]);var _=0;while(_<y){var w,x,C,S,O,k,E,D=n,M=r;switch(m){case"l":n+=v[_++],r+=v[_++],d=l.L,s.addData(d,n,r);break;case"L":n=v[_++],r=v[_++],d=l.L,s.addData(d,n,r);break;case"m":n+=v[_++],r+=v[_++],d=l.M,s.addData(d,n,r),o=n,a=r,m="l";break;case"M":n=v[_++],r=v[_++],d=l.M,s.addData(d,n,r),o=n,a=r,m="L";break;case"h":n+=v[_++],d=l.L,s.addData(d,n,r);break;case"H":n=v[_++],d=l.L,s.addData(d,n,r);break;case"v":r+=v[_++],d=l.L,s.addData(d,n,r);break;case"V":r=v[_++],d=l.L,s.addData(d,n,r);break;case"C":d=l.C,s.addData(d,v[_++],v[_++],v[_++],v[_++],v[_++],v[_++]),n=v[_-2],r=v[_-1];break;case"c":d=l.C,s.addData(d,v[_++]+n,v[_++]+r,v[_++]+n,v[_++]+r,v[_++]+n,v[_++]+r),n+=v[_-2],r+=v[_-1];break;case"S":w=n,x=r;var N=s.len(),L=s.data;t===l.C&&(w+=n-L[N-4],x+=r-L[N-3]),d=l.C,D=v[_++],M=v[_++],n=v[_++],r=v[_++],s.addData(d,w,x,D,M,n,r);break;case"s":w=n,x=r;N=s.len(),L=s.data;t===l.C&&(w+=n-L[N-4],x+=r-L[N-3]),d=l.C,D=n+v[_++],M=r+v[_++],n+=v[_++],r+=v[_++],s.addData(d,w,x,D,M,n,r);break;case"Q":D=v[_++],M=v[_++],n=v[_++],r=v[_++],d=l.Q,s.addData(d,D,M,n,r);break;case"q":D=v[_++]+n,M=v[_++]+r,n+=v[_++],r+=v[_++],d=l.Q,s.addData(d,D,M,n,r);break;case"T":w=n,x=r;N=s.len(),L=s.data;t===l.Q&&(w+=n-L[N-4],x+=r-L[N-3]),n=v[_++],r=v[_++],d=l.Q,s.addData(d,w,x,n,r);break;case"t":w=n,x=r;N=s.len(),L=s.data;t===l.Q&&(w+=n-L[N-4],x+=r-L[N-3]),n+=v[_++],r+=v[_++],d=l.Q,s.addData(d,w,x,n,r);break;case"A":C=v[_++],S=v[_++],O=v[_++],k=v[_++],E=v[_++],D=n,M=r,n=v[_++],r=v[_++],d=l.A,f(D,M,n,r,k,E,C,S,O,d,s);break;case"a":C=v[_++],S=v[_++],O=v[_++],k=v[_++],E=v[_++],D=n,M=r,n+=v[_++],r+=v[_++],d=l.A,f(D,M,n,r,k,E,C,S,O,d,s);break}}"z"!==m&&"Z"!==m||(d=l.Z,s.addData(d),n=o,r=a),t=d}return s.toStatic(),s}function v(e,t){var n=m(e);return t=t||{},t.buildPath=function(e){if(e.setData){e.setData(n.data);var t=e.getContext();t&&e.rebuildPath(t)}else{t=e;n.rebuildPath(t)}},t.applyTransform=function(e){o(n,e),this.dirty(!0)},t}function y(e,t){return new r(v(e,t))}function b(e,t){return r.extend(v(e,t))}function _(e,t){for(var n=[],i=e.length,o=0;o<i;o++){var a=e[o];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var s=new r(t);return s.createPathProxy(),s.buildPath=function(e){e.appendPath(n);var t=e.getContext();t&&e.rebuildPath(t)},s}t.createFromString=y,t.extendFromString=b,t.mergePath=_},NH9N:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("Fofx"),a=n("IwbS"),s=n("+TT/"),l=n("kzvK"),u=n("CMP+"),c=n("oVpE"),d=c.createSymbol,h=n("aX7z"),f=n("OELB"),p=n("7aKB"),g=p.encodeHTML,m=r.bind,v=r.each,y=Math.PI,b=l.extend({type:"timeline.slider",init:function(e,t){this.api=t,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(e,t,n,r){if(this.model=e,this.api=n,this.ecModel=t,this.group.removeAll(),e.get("show",!0)){var i=this._layout(e,n),o=this._createGroup("mainGroup"),a=this._createGroup("labelGroup"),s=this._axis=this._createAxis(i,e);e.formatTooltip=function(e){return g(s.scale.getLabel(e))},v(["AxisLine","AxisTick","Control","CurrentPointer"],(function(t){this["_render"+t](i,o,s,e)}),this),this._renderAxisLabel(i,a,s,e),this._position(i,e)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(e,t){var n=e.get("label.position"),r=e.get("orient"),i=_(e,t);null==n||"auto"===n?n="horizontal"===r?i.y+i.height/2<t.getHeight()/2?"-":"+":i.x+i.width/2<t.getWidth()/2?"+":"-":isNaN(n)&&(n={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][n]);var o,a,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:y/2},h="vertical"===r?i.height:i.width,f=e.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,b=e.get("label.rotate")||0;b=b*y/180;var w=f.get("position",!0),x=p&&f.get("showPlayBtn",!0),C=p&&f.get("showPrevBtn",!0),S=p&&f.get("showNextBtn",!0),O=0,k=h;return"left"===w||"bottom"===w?(x&&(o=[0,0],O+=v),C&&(a=[O,0],O+=v),S&&(s=[k-g,0],k-=v)):(x&&(o=[k-g,0],k-=v),C&&(a=[0,0],O+=v),S&&(s=[k-g,0],k-=v)),l=[O,k],e.get("inverse")&&l.reverse(),{viewRect:i,mainLength:h,orient:r,rotation:d[r],labelRotation:b,labelPosOpt:n,labelAlign:e.get("label.align")||u[r],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||c[r],playPosition:o,prevBtnPosition:a,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var a=o.create(),s=i.x,l=i.y+i.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-y/2),o.translate(a,a,[s,l]),i=i.clone(),i.applyTransform(a)}var u=v(i),c=v(n.getBoundingRect()),d=v(r.getBoundingRect()),h=n.position,f=r.position;f[0]=h[0]=u[0][0];var p=e.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;b(h,c,u,1,g),b(f,d,u,1,1-g)}else{g=p>=0?0:1;b(h,c,u,1,g),f[1]=h[1]+p}function m(e){var t=e.position;e.origin=[u[0][0]-t[0],u[1][0]-t[1]]}function v(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function b(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.attr("position",h),r.attr("position",f),n.rotation=r.rotation=e.rotation,m(n),m(r)},_createAxis:function(e,t){var n=t.getData(),r=t.get("axisType"),i=h.createScaleByModel(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.niceTicks();var a=new u("value",i,e.axisExtent,r);return a.model=t,a},_createGroup:function(e){var t=this["_"+e]=new a.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,i){var o=n.getExtent();i.get("lineStyle.show")&&t.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,r){var i=r.getData(),o=n.scale.getTicks();v(o,(function(e){var o=n.dataToCoord(e),s=i.getItemModel(e),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[o,0],onclick:m(this._changeTimeline,this,e)},d=x(s,l,t,c);a.setHoverStyle(d,u.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=r):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,r){var i=n.getLabelModel();if(i.get("show")){var o=r.getData(),s=n.getViewLabels();v(s,(function(r){var i=r.tickValue,s=o.getItemModel(i),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(r.tickValue),d=new a.Text({position:[c,0],rotation:e.labelRotation-e.rotation,onclick:m(this._changeTimeline,this,i),silent:!1});a.setTextStyle(d.style,l,{text:r.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),a.setHoverStyle(d,a.setTextStyle({},u))}),this)}},_renderControl:function(e,t,n,r){var i=e.controlSize,o=e.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-i/2,i,i],c=r.getPlayState(),d=r.get("inverse",!0);function h(e,n,c,d){if(e){var h={position:e,origin:[i/2,0],rotation:d?-o:0,rectHover:!0,style:s,onclick:c},f=w(r,n,u,h);t.add(f),a.setHoverStyle(f,l)}}h(e.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,d?"-":"+")),h(e.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,d?"+":"-")),h(e.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(e,t,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=m(s._handlePointerDrag,s),e.ondragend=m(s._handlePointerDragend,s),C(e,o,n,r,!0)},onUpdate:function(e){C(e,o,n,r)}};this._currentPointer=x(a,a,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=f.asc(r.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.position[0]=n,this._currentPointer.dirty();var o=this._findNearestTick(n),a=this.model;(t||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},_doPlayStop:function(){function e(){var e=this.model;this._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(m(e,this),this.model.get("playInterval")))},_toAxisCoord:function(e){var t=this._mainGroup.getLocalTransform();return a.applyTransform(e,t,!0)},_findNearestTick:function(e){var t,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-e);s<r&&(r=s,t=o)})),t},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(e){var t=this.model.getCurrentIndex();"+"===e?e=t+1:"-"===e&&(e=t-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})}});function _(e,t){return s.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function w(e,t,n,o){var s=a.makePath(e.get(t).replace(/^path:\/\//,""),r.clone(o||{}),new i(n[0],n[1],n[2],n[3]),"center");return s}function x(e,t,n,i,o,a){var s=t.get("color");if(o)o.setColor(s),n.add(o),a&&a.onUpdate(o);else{var l=e.get("symbol");o=d(l,-1,-1,2,2,s),o.setStyle("strokeNoScale",!0),n.add(o),a&&a.onCreate(o)}var u=t.getItemStyle(["color","symbol","symbolSize"]);o.setStyle(u),i=r.merge({rectHover:!0,z2:100},i,!0);var c=e.get("symbolSize");c=c instanceof Array?c.slice():[+c,+c],c[0]/=2,c[1]/=2,i.scale=c;var h=e.get("symbolOffset");if(h){var p=i.position=i.position||[0,0];p[0]+=f.parsePercent(h[0],c[0]),p[1]+=f.parsePercent(h[1],c[1])}var g=e.get("symbolRotate");return i.rotation=(g||0)*Math.PI/180||0,o.attr(i),o.updateTransform(),o}function C(e,t,n,r,i){if(!e.dragging){var o=r.getModel("checkpointStyle"),a=n.dataToCoord(r.getData().get(["value"],t));i||!o.get("animation",!0)?e.attr({position:[a,0]}):(e.stopAnimation(!0),e.animateTo({position:[a,0]},o.get("animationDuration",!0),o.get("animationEasing",!0)))}}e.exports=b},NJEC:function(e,t,n){"use strict";var r=n("q1tI"),i=n("sKbD"),o=n.n(i),a=n("4IlW"),s=n("3S7+"),l=n("2/Rp"),u=n("zvFY"),c=n("YMnH"),d=n("ZvpZ"),h=n("H84U"),f=n("bogI"),p=n("0n0R"),g=void 0;function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}function v(e,t){return x(e)||w(e,t)||b(e,t)||y()}function y(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){if(e){if("string"===typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function x(e){if(Array.isArray(e))return e}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},S=r["forwardRef"]((function(e,t){var n=r["useState"](e.visible),i=v(n,2),o=i[0],y=i[1];r["useEffect"]((function(){"visible"in e&&y(e.visible)}),[e.visible]),r["useEffect"]((function(){"defaultVisible"in e&&y(e.defaultVisible)}),[e.defaultVisible]);var b=function(t,n){"visible"in e||y(t),e.onVisibleChange&&e.onVisibleChange(t,n)},_=function(t){b(!1,t),e.onConfirm&&e.onConfirm.call(g,t)},w=function(t){b(!1,t),e.onCancel&&e.onCancel.call(g,t)},x=function(e){e.keyCode===a["a"].ESC&&o&&b(!1,e)},S=function(t){var n=e.disabled;n||b(t)},O=function(t,n){var i=e.okButtonProps,o=e.cancelButtonProps,a=e.title,s=e.cancelText,c=e.okText,d=e.okType,h=e.icon;return r["createElement"]("div",{className:"".concat(t,"-inner-content")},r["createElement"]("div",{className:"".concat(t,"-message")},h,r["createElement"]("div",{className:"".concat(t,"-message-title")},Object(f["a"])(a))),r["createElement"]("div",{className:"".concat(t,"-buttons")},r["createElement"](l["a"],m({onClick:w,size:"small"},o),s||n.cancelText),r["createElement"](l["a"],m({onClick:_},Object(u["a"])(d),{size:"small"},i),c||n.okText)))},k=r["useContext"](h["b"]),E=k.getPrefixCls,D=e.prefixCls,M=e.placement,N=e.children,L=C(e,["prefixCls","placement","children"]),I=E("popover",D),T=r["createElement"](c["a"],{componentName:"Popconfirm",defaultLocale:d["a"].Popconfirm},(function(e){return O(I,e)}));return r["createElement"](s["a"],m({},L,{prefixCls:I,placement:M,onVisibleChange:S,visible:o,overlay:T,ref:t}),Object(p["a"])(N,{onKeyDown:function(e){var t,n;null===(n=null===N||void 0===N?void 0:(t=N.props).onKeyDown)||void 0===n||n.call(t,e),x(e)}}))}));S.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r["createElement"](o.a,null),disabled:!1},t["a"]=S},NKxu:function(e,t,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,h=c.hasOwnProperty,f=RegExp("^"+d.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){if(!o(e)||i(e))return!1;var t=r(e)?f:l;return t.test(a(e))}e.exports=p},NUBc:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("wx14"),a=n("rePB"),s=n("1OyB"),l=n("vuIU"),u=n("Ji7U"),c=n("md7G"),d=n("foSv"),h=n("TSYQ"),f=n.n(h),p=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=f()(n,"".concat(n,"-").concat(e.page),(t={},Object(a["a"])(t,"".concat(n,"-active"),e.active),Object(a["a"])(t,e.className,!!e.className),Object(a["a"])(t,"".concat(n,"-disabled"),!e.page),t)),o=function(){e.onClick(e.page)},s=function(t){e.onKeyPress(t,e.onClick,e.page)};return i.a.createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:o,onKeyPress:s,tabIndex:"0"},e.itemRender(e.page,"page",i.a.createElement("a",null,e.page)))},g=p,m={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40};function v(e){var t=y();return function(){var n,r=Object(d["a"])(e);if(t){var i=Object(d["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(c["a"])(this,n)}}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var b=function(e){Object(u["a"])(n,e);var t=v(n);function n(){var e;Object(s["a"])(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),e.state={goInputText:""},e.buildOptionText=function(t){return"".concat(t," ").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,r=n.goButton,i=n.quickGo,o=n.rootPrefixCls;r||t.relatedTarget&&(t.relatedTarget.className.indexOf("".concat(o,"-prev"))>=0||t.relatedTarget.className.indexOf("".concat(o,"-next"))>=0)||i(e.getValidValue())},e.go=function(t){var n=e.state.goInputText;""!==n&&(t.keyCode!==m.ENTER&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return Object(l["a"])(n,[{key:"getValidValue",value:function(){var e=this.state,t=e.goInputText,n=e.current;return!t||isNaN(t)?n:Number(t)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){var n=isNaN(Number(e))?0:Number(e),r=isNaN(Number(t))?0:Number(t);return n-r}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.locale,o=t.rootPrefixCls,a=t.changeSize,s=t.quickGo,l=t.goButton,u=t.selectComponentClass,c=t.buildOptionText,d=t.selectPrefixCls,h=t.disabled,f=this.state.goInputText,p="".concat(o,"-options"),g=u,m=null,v=null,y=null;if(!a&&!s)return null;var b=this.getPageSizeOptions();if(a&&g){var _=b.map((function(t,n){return i.a.createElement(g.Option,{key:n,value:t},(c||e.buildOptionText)(t))}));m=i.a.createElement(g,{disabled:h,prefixCls:d,showSearch:!1,className:"".concat(p,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode}},_)}return s&&(l&&(y="boolean"===typeof l?i.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:h},r.jump_to_confirm):i.a.createElement("span",{onClick:this.go,onKeyUp:this.go},l)),v=i.a.createElement("div",{className:"".concat(p,"-quick-jumper")},r.jump_to,i.a.createElement("input",{disabled:h,type:"text",value:f,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),r.page,y)),i.a.createElement("li",{className:"".concat(p)},m,v)}}]),n}(i.a.Component);b.defaultProps={pageSizeOptions:["10","20","50","100"]};var _=b,w=n("N2Kk");function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e){var t=O();return function(){var n,r=Object(d["a"])(e);if(t){var i=Object(d["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(c["a"])(this,n)}}function O(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function k(){}function E(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function D(e,t,n){return n}function M(e,t,n){var r="undefined"===typeof e?t.pageSize:e;return Math.floor((n.total-1)/r)+1}var N=function(e){Object(u["a"])(n,e);var t=S(n);function n(e){var r;Object(s["a"])(this,n),r=t.call(this,e),r.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},r.getJumpNextPage=function(){return Math.min(M(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},r.getItemIcon=function(e){var t=r.props.prefixCls,n=e||i.a.createElement("a",{className:"".concat(t,"-item-link")});return"function"===typeof e&&(n=i.a.createElement(e,C({},r.props))),n},r.savePaginationNode=function(e){r.paginationNode=e},r.isValid=function(e){return E(e)&&e!==r.state.current},r.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper,n=e.pageSize,i=e.total;return!(i<=n)&&t},r.handleKeyDown=function(e){e.keyCode!==m.ARROW_UP&&e.keyCode!==m.ARROW_DOWN||e.preventDefault()},r.handleKeyUp=function(e){var t=r.getValidValue(e),n=r.state.currentInputValue;t!==n&&r.setState({currentInputValue:t}),e.keyCode===m.ENTER?r.handleChange(t):e.keyCode===m.ARROW_UP?r.handleChange(t-1):e.keyCode===m.ARROW_DOWN&&r.handleChange(t+1)},r.changePageSize=function(e){var t=r.state.current,n=M(e,r.state,r.props);t=t>n?n:t,0===n&&(t=r.state.current),"number"===typeof e&&("pageSize"in r.props||r.setState({pageSize:e}),"current"in r.props||r.setState({current:t,currentInputValue:t})),r.props.onShowSizeChange(t,e)},r.handleChange=function(e){var t=r.props.disabled,n=e;if(r.isValid(n)&&!t){var i=M(void 0,r.state,r.props);n>i?n=i:n<1&&(n=1),"current"in r.props||r.setState({current:n,currentInputValue:n});var o=r.state.pageSize;return r.props.onChange(n,o),n}return r.state.current},r.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},r.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},r.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},r.jumpNext=function(){r.handleChange(r.getJumpNextPage())},r.hasPrev=function(){return r.state.current>1},r.hasNext=function(){return r.state.current<M(void 0,r.state,r.props)},r.runIfEnter=function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];t.apply(void 0,r)}},r.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},r.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},r.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},r.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},r.handleGoTO=function(e){e.keyCode!==m.ENTER&&"click"!==e.type||r.handleChange(r.state.currentInputValue)};var o=e.onChange!==k,a="current"in e;a&&!o&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var l=e.defaultCurrent;"current"in e&&(l=e.current);var u=e.defaultPageSize;return"pageSize"in e&&(u=e.pageSize),l=Math.min(l,M(u,void 0,e)),r.state={current:l,currentInputValue:l,pageSize:u},r}return Object(l["a"])(n,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var r=this.paginationNode.querySelector(".".concat(n,"-item-").concat(t.current));r&&document.activeElement===r&&r.blur()}}},{key:"getValidValue",value:function(e){var t,n=e.target.value,r=M(void 0,this.state,this.props),i=this.state.currentInputValue;return t=""===n?n:isNaN(Number(n))?i:n>=r?r:Number(n),t}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,r=e.totalBoundaryShowSizeChanger;return"undefined"!==typeof t?t:n>r}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,i=t.itemRender,o=i(e,"prev",this.getItemIcon(n)),a=!this.hasPrev();return Object(r["isValidElement"])(o)?Object(r["cloneElement"])(o,{disabled:a}):o}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,i=t.itemRender,o=i(e,"next",this.getItemIcon(n)),a=!this.hasNext();return Object(r["isValidElement"])(o)?Object(r["cloneElement"])(o,{disabled:a}):o}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,s=t.className,l=t.style,u=t.disabled,c=t.hideOnSinglePage,d=t.total,h=t.locale,p=t.showQuickJumper,m=t.showLessItems,v=t.showTitle,y=t.showTotal,b=t.simple,w=t.itemRender,x=t.showPrevNextJumpers,C=t.jumpPrevIcon,S=t.jumpNextIcon,O=t.selectComponentClass,k=t.selectPrefixCls,E=t.pageSizeOptions,D=this.state,N=D.current,L=D.pageSize,I=D.currentInputValue;if(!0===c&&d<=L)return null;var T=M(void 0,this.state,this.props),P=[],A=null,R=null,j=null,F=null,B=null,V=p&&p.goButton,z=m?1:2,W=N-1>0?N-1:0,H=N+1<T?N+1:T,U=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(b)return V&&(B="boolean"===typeof V?i.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},h.jump_to_confirm):i.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},V),B=i.a.createElement("li",{title:v?"".concat(h.jump_to).concat(N,"/").concat(T):null,className:"".concat(n,"-simple-pager")},B)),i.a.createElement("ul",Object(o["a"])({className:f()(n,"".concat(n,"-simple"),s),style:l,ref:this.savePaginationNode},U),i.a.createElement("li",{title:v?h.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:f()("".concat(n,"-prev"),Object(a["a"])({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(W)),i.a.createElement("li",{title:v?"".concat(N,"/").concat(T):null,className:"".concat(n,"-simple-pager")},i.a.createElement("input",{type:"text",value:I,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),i.a.createElement("span",{className:"".concat(n,"-slash")},"/"),T),i.a.createElement("li",{title:v?h.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:f()("".concat(n,"-next"),Object(a["a"])({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(H)),B);if(T<=3+2*z){var K={locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:v,itemRender:w};T||P.push(i.a.createElement(g,Object(o["a"])({},K,{key:"noPager",page:T,className:"".concat(n,"-disabled")})));for(var G=1;G<=T;G+=1){var q=N===G;P.push(i.a.createElement(g,Object(o["a"])({},K,{key:G,page:G,active:q})))}}else{var Y=m?h.prev_3:h.prev_5,X=m?h.next_3:h.next_5;x&&(A=i.a.createElement("li",{title:v?Y:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:f()("".concat(n,"-jump-prev"),Object(a["a"])({},"".concat(n,"-jump-prev-custom-icon"),!!C))},w(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(C))),R=i.a.createElement("li",{title:v?X:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:f()("".concat(n,"-jump-next"),Object(a["a"])({},"".concat(n,"-jump-next-custom-icon"),!!S))},w(this.getJumpNextPage(),"jump-next",this.getItemIcon(S)))),F=i.a.createElement(g,{locale:h,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:T,page:T,active:!1,showTitle:v,itemRender:w}),j=i.a.createElement(g,{locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:v,itemRender:w});var Z=Math.max(1,N-z),Q=Math.min(N+z,T);N-1<=z&&(Q=1+2*z),T-N<=z&&(Z=T-2*z);for(var $=Z;$<=Q;$+=1){var J=N===$;P.push(i.a.createElement(g,{locale:h,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:$,page:$,active:J,showTitle:v,itemRender:w}))}N-1>=2*z&&3!==N&&(P[0]=Object(r["cloneElement"])(P[0],{className:"".concat(n,"-item-after-jump-prev")}),P.unshift(A)),T-N>=2*z&&N!==T-2&&(P[P.length-1]=Object(r["cloneElement"])(P[P.length-1],{className:"".concat(n,"-item-before-jump-next")}),P.push(R)),1!==Z&&P.unshift(j),Q!==T&&P.push(F)}var ee=null;y&&(ee=i.a.createElement("li",{className:"".concat(n,"-total-text")},y(d,[0===d?0:(N-1)*L+1,N*L>d?d:N*L])));var te=!this.hasPrev()||!T,ne=!this.hasNext()||!T;return i.a.createElement("ul",Object(o["a"])({className:f()(n,s,Object(a["a"])({},"".concat(n,"-disabled"),u)),style:l,unselectable:"unselectable",ref:this.savePaginationNode},U),ee,i.a.createElement("li",{title:v?h.prev_page:null,onClick:this.prev,tabIndex:te?null:0,onKeyPress:this.runIfEnterPrev,className:f()("".concat(n,"-prev"),Object(a["a"])({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderPrev(W)),P,i.a.createElement("li",{title:v?h.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:f()("".concat(n,"-next"),Object(a["a"])({},"".concat(n,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(H)),i.a.createElement(_,{disabled:u,locale:h,rootPrefixCls:n,selectComponentClass:O,selectPrefixCls:k,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:N,pageSize:L,pageSizeOptions:E,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:V}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var r=t.current,i=M(e.pageSize,t,e);r=r>i?i:r,"current"in e||(n.current=r,n.currentInputValue=r),n.pageSize=e.pageSize}return n}}]),n}(i.a.Component);N.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:k,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:k,locale:w["a"],style:{},itemRender:D,totalBoundaryShowSizeChanger:50};var L=N,I=n("H4fg"),T=n("DFhj"),P=n.n(T),A=n("fEPi"),R=n.n(A),j=n("u9fO"),F=n.n(j),B=n("mO/d"),V=n.n(B),z=n("2fM7");function W(){return W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(this,arguments)}var H=function(e){return r["createElement"](z["a"],W({size:"small"},e))};H.Option=z["a"].Option;var U=H,K=n("YMnH"),G=n("H84U"),q=n("5OYt");function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}var Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Q=function(e){var t=e.prefixCls,n=e.selectPrefixCls,i=e.className,o=e.size,a=e.locale,s=Z(e,["prefixCls","selectPrefixCls","className","size","locale"]),l=Object(q["a"])(),u=l.xs,c=r["useContext"](G["b"]),d=c.getPrefixCls,h=c.direction,p=d("pagination",t),g=function(){var e,t=r["createElement"]("a",{className:"".concat(p,"-item-link")},r["createElement"](P.a,null)),n=r["createElement"]("a",{className:"".concat(p,"-item-link")},r["createElement"](R.a,null)),i=r["createElement"]("a",{className:"".concat(p,"-item-link")},r["createElement"]("div",{className:"".concat(p,"-item-container")},r["createElement"](F.a,{className:"".concat(p,"-item-link-icon")}),r["createElement"]("span",{className:"".concat(p,"-item-ellipsis")},"\u2022\u2022\u2022"))),o=r["createElement"]("a",{className:"".concat(p,"-item-link")},r["createElement"]("div",{className:"".concat(p,"-item-container")},r["createElement"](V.a,{className:"".concat(p,"-item-link-icon")}),r["createElement"]("span",{className:"".concat(p,"-item-ellipsis")},"\u2022\u2022\u2022")));"rtl"===h&&(e=t,t=n,n=e,e=i,i=o,o=e);return{prevIcon:t,nextIcon:n,jumpPrevIcon:i,jumpNextIcon:o}},m=function(e){var t=X(X({},e),a),l="small"===o||!(!u||o||!s.responsive),c=d("select",n),m=f()(i,Y({mini:l},"".concat(p,"-rtl"),"rtl"===h));return r["createElement"](L,X({},s,{prefixCls:p,selectPrefixCls:c},g(),{className:m,selectComponentClass:l?U:z["a"],locale:t}))};return r["createElement"](K["a"],{componentName:"Pagination",defaultLocale:I["a"]},m)},$=Q;t["a"]=$},NohK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}};t["default"]=r},Npjl:function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},Nu4q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};t.default=r},NvD2:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("Kwbf");function i(e,t){var n=new Set;return e.forEach((function(e){t.has(e)||n.add(e)})),n}function o(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,i=t.checkable;return!(!n&&!r)||!1===i}function a(e,t,n){for(var r=new Set(e),a=new Set,s=0;s<=n;s+=1){var l=t.get(s)||new Set;l.forEach((function(e){var t=e.key,n=e.node,i=e.children,a=void 0===i?[]:i;r.has(t)&&!o(n)&&a.filter((function(e){return!o(e.node)})).forEach((function(e){r.add(e.key)}))}))}for(var u=new Set,c=n;c>=0;c-=1){var d=t.get(c)||new Set;d.forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!u.has(e.parent.key))if(o(e.parent.node))u.add(t.key);else{var i=!0,s=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=r.has(t);i&&!n&&(i=!1),s||!n&&!a.has(t)||(s=!0)})),i&&r.add(t.key),s&&a.add(t.key),u.add(t.key)}}))}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(i(a,r))}}function s(e,t,n,r){for(var a=new Set(e),s=new Set(t),l=0;l<=r;l+=1){var u=n.get(l)||new Set;u.forEach((function(e){var t=e.key,n=e.node,r=e.children,i=void 0===r?[]:r;a.has(t)||s.has(t)||o(n)||i.filter((function(e){return!o(e.node)})).forEach((function(e){a.delete(e.key)}))}))}s=new Set;for(var c=new Set,d=r;d>=0;d-=1){var h=n.get(d)||new Set;h.forEach((function(e){var t=e.parent,n=e.node;if(!o(n)&&e.parent&&!c.has(e.parent.key))if(o(e.parent.node))c.add(t.key);else{var r=!0,i=!1;(t.children||[]).filter((function(e){return!o(e.node)})).forEach((function(e){var t=e.key,n=a.has(t);r&&!n&&(r=!1),i||!n&&!s.has(t)||(i=!0)})),r||a.delete(t.key),i&&s.add(t.key),c.add(t.key)}}))}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(i(s,a))}}function l(e,t,n){var i,o=[],l=new Set(e.filter((function(e){var t=!!n[e];return t||o.push(e),t}))),u=new Map,c=0;return Object.keys(n).forEach((function(e){var t=n[e],r=t.level,i=u.get(r);i||(i=new Set,u.set(r,i)),i.add(t),c=Math.max(c,r)})),Object(r["a"])(!o.length,"Tree missing follow keys: ".concat(o.slice(0,100).map((function(e){return"'".concat(e,"'")})).join(", "))),i=!0===t?a(l,u,c):s(l,t.halfCheckedKeys,u,c),i}},"O/iA":function(e,t,n){},O3gP:function(e,t,n){"use strict";n("cIOH"),n("O/iA"),n("OaEy")},OBOq:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return d}));n("UCkY");var r,i,o,a=n("3/fG"),s=n("MNsG"),l=n("EffR");function u(e){r=document.createElement("div"),r.className="monaco-aria-container",i=document.createElement("div"),i.className="monaco-alert",i.setAttribute("role","alert"),i.setAttribute("aria-atomic","true"),r.appendChild(i),o=document.createElement("div"),o.className="monaco-status",o.setAttribute("role","status"),o.setAttribute("aria-atomic","true"),r.appendChild(o),e.appendChild(r)}function c(e,t){p(i,e,t)}function d(e,t){s["e"]?c(e,t):p(o,e,t)}var h=0,f=void 0;function p(e,t,n){if(r){if(!n)switch(f===t?h++:(f=t,h=0),h){case 0:break;case 1:t=a["a"]("repeated","{0} (occurred again)",t);break;default:t=a["a"]("repeatedNtimes","{0} (occurred {1} times)",t,h);break}l["s"](e),e.textContent=t,e.style.visibility="hidden",e.style.visibility="visible"}}},OELB:function(e,t,n){var r=n("bYtY"),i=1e-4;function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e,t,n,r){var i=t[1]-t[0],o=n[1]-n[0];if(0===i)return 0===o?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/i*o+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?o(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function u(e){return e.sort((function(e,t){return e-t})),e}function c(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function d(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var i=t.indexOf(".");return i<0?0:t.length-1-i}function h(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function f(e,t,n){if(!e[t])return 0;var i=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===i)return 0;var o=Math.pow(10,n),a=r.map(e,(function(e){return(isNaN(e)?0:e)/i*o*100})),s=100*o,l=r.map(a,(function(e){return Math.floor(e)})),u=r.reduce(l,(function(e,t){return e+t}),0),c=r.map(a,(function(e,t){return e-l[t]}));while(u<s){for(var d=Number.NEGATIVE_INFINITY,h=null,f=0,p=c.length;f<p;++f)c[f]>d&&(d=c[f],h=f);++l[h],c[h]=0,++u}return l[t]/o}var p=9007199254740991;function g(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-i&&e<i}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(e){if(e instanceof Date)return e;if("string"===typeof e){var t=v.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return"Z"!==t[8].toUpperCase()&&(n-=t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,+t[7]||0))}return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,+t[7]||0)}return null==e?new Date(NaN):new Date(Math.round(e))}function b(e){return Math.pow(10,_(e))}function _(e){if(0===e)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function w(e,t){var n,r=_(e),i=Math.pow(10,r),o=e/i;return n=t?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function x(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],o=n-r;return o?i+o*(e[r]-i):i}function C(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!==1?e.splice(r,1):r++}return e;function s(e,t,n){return e.interval[n]<t.interval[n]||e.interval[n]===t.interval[n]&&(e.close[n]-t.close[n]===(n?-1:1)||!n&&s(e,t,1))}}function S(e){return e-parseFloat(e)>=0}t.linearMap=a,t.parsePercent=s,t.round=l,t.asc=u,t.getPrecision=c,t.getPrecisionSafe=d,t.getPixelPrecision=h,t.getPercentWithPrecision=f,t.MAX_SAFE_INTEGER=p,t.remRadian=g,t.isRadianAroundZero=m,t.parseDate=y,t.quantity=b,t.quantityExponent=_,t.nice=w,t.quantile=x,t.reformIntervals=C,t.isNumeric=S},OKJ2:function(e,t,n){var r=n("KxfA"),i=r.retrieveRawValue,o=n("7aKB"),a=o.getTooltipMarker,s=o.formatTpl,l=n("4NO4"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,d={getDataParams:function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),s=n.getRawDataItem(e),l=n.getItemVisual(e,"color"),c=n.getItemVisual(e,"borderColor"),d=this.ecModel.getComponent("tooltip"),h=d&&d.get("renderMode"),f=u(h),p=this.mainType,g="series"===p,m=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:i,data:s,dataType:t,value:r,color:l,borderColor:c,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:a({color:l,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,r,o){t=t||"normal";var a=this.getData(n),l=a.getItemModel(e),u=this.getDataParams(e,n);null!=r&&u.value instanceof Array&&(u.value=u.value[r]);var d=l.get("normal"===t?[o||"label","formatter"]:[t,o||"label","formatter"]);if("function"===typeof d)return u.status=t,u.dimensionIndex=r,d(u);if("string"===typeof d){var h=s(d,u);return h.replace(c,(function(t,n){var r=n.length;return"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),i(a,e,n)}))}},getRawValue:function(e,t){return i(this.getData(t),e)},formatTooltip:function(){}};e.exports=d},OKK6:function(e,t,n){},OOlL:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return n.e(169).then(n.bind(null,"NlLO"))}})},OPEp:function(e,t,n){},OQFs:function(e,t,n){var r=n("KCsZ"),i=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getLineStyle:function(e){var t=i(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),r=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[r,r]:[n,n])}};e.exports=o},OS9S:function(e,t,n){var r=n("bYtY"),i=r.inherits,o=n("Gev7"),a=n("mFDi");function s(e){o.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},s.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},s.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var t=this._displayables[e];t.parent=this,t.update(),t.parent=null}for(e=0;e<this._temporaryDisplayables.length;e++){t=this._temporaryDisplayables[e];t.parent=this,t.update(),t.parent=null}},s.prototype.brush=function(e,t){for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.beforeBrush&&r.beforeBrush(e),r.brush(e,n===this._cursor?null:this._displayables[n-1]),r.afterBrush&&r.afterBrush(e)}this._cursor=n;for(n=0;n<this._temporaryDisplayables.length;n++){r=this._temporaryDisplayables[n];r.beforeBrush&&r.beforeBrush(e),r.brush(e,0===n?null:this._temporaryDisplayables[n-1]),r.afterBrush&&r.afterBrush(e)}this._temporaryDisplayables=[],this.notClear=!0};var l=[];s.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new a(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(l)),e.union(r)}this._rect=e}return this._rect},s.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();if(r.contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){var o=this._displayables[i];if(o.contain(e,t))return!0}return!1},i(s,o);var u=s;e.exports=u},OUJF:function(e,t,n){var r=n("ProS"),i=n("bYtY");r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(e,t){var n=t.getComponent("timeline");return n&&null!=e.currentIndex&&(n.setCurrentIndex(e.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),t.resetOption("timeline"),i.defaults({currentIndex:n.option.currentIndex},e)})),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(e,t){var n=t.getComponent("timeline");n&&null!=e.playState&&n.setPlayState(e.playState)}))},OXB0:function(e,t,n){var r=n("T4UG"),i=n("MwEJ"),o=n("IDmD"),a=r.extend({type:"series.heatmap",getInitialData:function(e,t){return i(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var e=o.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});e.exports=a},OZM5:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return h})),n.d(t,"g",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return g})),n.d(t,"j",(function(){return m})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return y}));var r=n("KQm4"),i=n("U8pU"),o=(n("Ff2n"),n("q1tI"),n("Kwbf")),a=(n("WaYH"),.25),s=2;function l(e,t){var n=e.slice(),r=n.indexOf(t);return r>=0&&n.splice(r,1),n}function u(e,t){var n=e.slice();return-1===n.indexOf(t)&&n.push(t),n}function c(e){return e.split("-")}function d(e,t){return"".concat(e,"-").concat(t)}function h(e){return e&&e.type&&e.type.isTreeNode}function f(e,t){var n=[e],r=t[e];function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var t=e.key,r=e.children;n.push(t),i(r)}))}return i(r.children),n}function p(e,t){var n=e.clientY,r=t.selectHandle.getBoundingClientRect(),i=r.top,o=r.bottom,l=r.height,u=Math.max(l*a,s);return n<=i+u?-1:n>=o-u?1:0}function g(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function m(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==Object(i["a"])(e))return Object(o["a"])(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function v(e,t){var n=new Set;function i(e){if(!n.has(e)){var r=t[e];if(r){n.add(e);var o=r.parent,a=r.node;a.disabled||o&&i(o.key)}}}return(e||[]).forEach((function(e){i(e)})),Object(r["a"])(n)}function y(e){var t={};return Object.keys(e).forEach((function(n){(n.startsWith("data-")||n.startsWith("aria-"))&&(t[n]=e[n])})),t}},OaEy:function(e,t,n){"use strict";n("cIOH"),n("bKJz"),n("R9oj")},"Of+w":function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"WeakMap");e.exports=o},Ol7k:function(e,t,n){"use strict";var r=n("PKem"),i=n("ZX9x");r["b"].Sider=i["b"],t["a"]=r["b"]},OlYY:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("ItGF"),s=n("4NO4"),l=n("UOVi"),u=n("zDms"),c=o.each,d=l.eachAxisDim,h=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var r=f(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this.doInit(r)},mergeOption:function(e){var t=f(e);o.merge(this.option,e,!0),o.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;a.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),p(this,e);var n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,r,i){var o=this.dependentModels[t.axis][n],a=o.__dzAxisProxy||(o.__dzAxisProxy=new u(t.name,n,this,i));e[t.name+"_"+n]=a}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();d((function(t){var n=t.axisIndex;e[n]=s.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;d((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,r=this.dependentModels;if(e){var i="vertical"===t?"y":"x";r[i+"Axis"].length?(n[i+"AxisIndex"]=[0],e=!1):c(r.singleAxis,(function(r){e&&r.get("orient",!0)===t&&(n.singleAxisIndex=[r.componentIndex],e=!1)}))}e&&d((function(t){if(e){var r=[],i=this.dependentModels[t.axis];if(i.length&&!r.length)for(var o=0,a=i.length;o<a;o++)"category"===i[o].get("type")&&r.push(o);n[t.axisIndex]=r,r.length&&(e=!1)}}),this),e&&this.ecModel.eachSeries((function(e){this._isSeriesHasAllAxesTypeOf(e,"value")&&d((function(t){var r=n[t.axisIndex],i=e.get(t.axisIndex),a=e.get(t.axisId),s=e.ecModel.queryComponents({mainType:t.axis,index:i,id:a})[0];i=s.componentIndex,o.indexOf(r,i)<0&&r.push(i)}))}),this)},_autoSetOrient:function(){var e;this.eachTargetAxis((function(t){!e&&(e=t.name)}),this),this.option.orient="y"===e?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,t){var n=!0;return d((function(r){var i=e.get(r.axisIndex),o=this.dependentModels[r.axis][i];o&&o.get("type")===t||(n=!1)}),this),n},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return d((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;d((function(r){c(this.get(r.axisIndex),(function(i){e.call(t,r,i,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),p(this,e)},setCalculatedRange:function(e){var t=this.option;c(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(e){var t={};return c(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function p(e,t){var n=e._rangePropMode,r=e.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(e,i){var o=null!=t[e[0]],a=null!=t[e[1]];o&&!a?n[i]="percent":!o&&a?n[i]="value":r?n[i]=r[i]:o&&(n[i]="percent")}))}var g=h;e.exports=g},OnYD:function(e,t,n){},"Oy/b":function(e,t,n){(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(0);var r=function(){function e(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}return e.range=function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc},e}(),i=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}var t=e.prototype;return t.range=function(t,n){return new e(n,r.range(this,t))},e}(),o=function e(t,n){this.position=void 0;var r,i="KaTeX parse error: "+t,o=n&&n.loc;if(o&&o.start<=o.end){var a=o.lexer.input;r=o.start;var s=o.end;r===a.length?i+=" at end of input: ":i+=" at position "+(r+1)+": ";var l,u,c=a.slice(r,s).replace(/[^]/g,"$&\u0332");l=r>15?"\u2026"+a.slice(r-15,r):a.slice(0,r),u=s+15<a.length?a.slice(s,s+15)+"\u2026":a.slice(s),i+=l+c+u}var d=new Error(i);return d.name="ParseError",d.__proto__=e.prototype,d.position=r,d};o.prototype.__proto__=Error.prototype;var a=o,s=function(e,t){return-1!==e.indexOf(t)},l=function(e,t){return void 0===e?t:e},u=/([A-Z])/g,c=function(e){return e.replace(u,"-$1").toLowerCase()},d={"&":"&",">":">","<":"<",'"':""","'":"'"},h=/[&><"']/g;function f(e){return String(e).replace(h,(function(e){return d[e]}))}var p=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},g=function(e){var t=p(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},m=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},v=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},y={contains:s,deflt:l,escape:f,hyphenate:c,getBaseElem:p,isCharacterBox:g,protocolFromUrl:v},b=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=y.deflt(e.displayMode,!1),this.output=y.deflt(e.output,"htmlAndMathml"),this.leqno=y.deflt(e.leqno,!1),this.fleqn=y.deflt(e.fleqn,!1),this.throwOnError=y.deflt(e.throwOnError,!0),this.errorColor=y.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,y.deflt(e.minRuleThickness,0)),this.colorIsTextColor=y.deflt(e.colorIsTextColor,!1),this.strict=y.deflt(e.strict,"warn"),this.trust=y.deflt(e.trust,!1),this.maxSize=Math.max(0,y.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,y.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"===typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=y.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),_=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return M[N[this.id]]},t.sub=function(){return M[L[this.id]]},t.fracNum=function(){return M[I[this.id]]},t.fracDen=function(){return M[T[this.id]]},t.cramp=function(){return M[P[this.id]]},t.text=function(){return M[A[this.id]]},t.isTight=function(){return this.size>=2},e}(),w=0,x=1,C=2,S=3,O=4,k=5,E=6,D=7,M=[new _(w,0,!1),new _(x,0,!0),new _(C,1,!1),new _(S,1,!0),new _(O,2,!1),new _(k,2,!0),new _(E,3,!1),new _(D,3,!0)],N=[O,k,O,k,E,D,E,D],L=[k,k,k,k,D,D,D,D],I=[C,S,O,k,E,D,E,D],T=[S,S,k,k,D,D,D,D],P=[x,x,S,S,k,k,D,D],A=[w,x,C,S,C,S,C,S],R={DISPLAY:M[w],TEXT:M[C],SCRIPT:M[O],SCRIPTSCRIPT:M[E]},j=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function F(e){for(var t=0;t<j.length;t++)for(var n=j[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var B=[];function V(e){for(var t=0;t<B.length;t+=2)if(e>=B[t]&&e<=B[t+1])return!0;return!1}j.forEach((function(e){return e.blocks.forEach((function(e){return B.push.apply(B,e)}))}));var z=80,W=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},H=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},U=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},K=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},G=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},q=function(e,t,n){var r=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+r+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},Y=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=W(t,z);break;case"sqrtSize1":r=H(t,z);break;case"sqrtSize2":r=U(t,z);break;case"sqrtSize3":r=K(t,z);break;case"sqrtSize4":r=G(t,z);break;case"sqrtTall":r=q(t,z,n)}return r},X={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},Z=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),Q=function(e){return e.filter((function(e){return e})).join(" ")},$=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},J=function(e){var t=document.createElement(e);for(var n in t.className=Q(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},ee=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+y.escape(Q(this.classes))+'"');var n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=y.hyphenate(r)+":"+this.style[r]+";");for(var i in n&&(t+=' style="'+y.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(i)&&(t+=" "+i+'="'+y.escape(this.attributes[i])+'"');t+=">";for(var o=0;o<this.children.length;o++)t+=this.children[o].toMarkup();return t+="</"+e+">",t},te=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){return J.call(this,"span")},t.toMarkup=function(){return ee.call(this,"span")},e}(),ne=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){return J.call(this,"a")},t.toMarkup=function(){return ee.call(this,"a")},e}(),re=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=y.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+y.escape(t)+'"'),e+="'/>",e},e}(),ie={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},oe=function(){function e(e,t,n,r,i,o,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=o||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=F(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=ie[this.text])}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Q(this.classes)),this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=y.escape(Q(this.classes)),t+='"');var n="";for(var r in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=y.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+y.escape(n)+'"');var i=y.escape(this.text);return e?(t+=">",t+=i,t+="</span>",t):i},e}(),ae=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e},e}(),se=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",X[this.pathName]),t},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+X[this.pathName]+"'/>"},e}(),le=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>",e},e}();function ue(e){if(e instanceof oe)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ce(e){if(e instanceof te)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var de={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},he={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},fe={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function pe(e,t){de[e]=t}function ge(e,t,n){if(!de[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),i=de[t][r];if(!i&&e[0]in fe&&(r=fe[e[0]].charCodeAt(0),i=de[t][r]),i||"text"!==n||V(r)&&(i=de[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var me={};function ve(e){var t;if(t=e>=5?0:e>=3?1:2,!me[t]){var n=me[t]={cssEmPerMu:he.quad[t]/18};for(var r in he)he.hasOwnProperty(r)&&(n[r]=he[r][t])}return me[t]}var ye={bin:1,close:1,inner:1,open:1,punct:1,rel:1},be={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},_e={math:{},text:{}},we=_e;function xe(e,t,n,r,i,o){_e[e][i]={font:t,group:n,replace:r},o&&r&&(_e[e][r]=_e[e][i])}var Ce="math",Se="text",Oe="main",ke="ams",Ee="accent-token",De="bin",Me="close",Ne="inner",Le="mathord",Ie="op-token",Te="open",Pe="punct",Ae="rel",Re="spacing",je="textord";xe(Ce,Oe,Ae,"\u2261","\\equiv",!0),xe(Ce,Oe,Ae,"\u227a","\\prec",!0),xe(Ce,Oe,Ae,"\u227b","\\succ",!0),xe(Ce,Oe,Ae,"\u223c","\\sim",!0),xe(Ce,Oe,Ae,"\u22a5","\\perp"),xe(Ce,Oe,Ae,"\u2aaf","\\preceq",!0),xe(Ce,Oe,Ae,"\u2ab0","\\succeq",!0),xe(Ce,Oe,Ae,"\u2243","\\simeq",!0),xe(Ce,Oe,Ae,"\u2223","\\mid",!0),xe(Ce,Oe,Ae,"\u226a","\\ll",!0),xe(Ce,Oe,Ae,"\u226b","\\gg",!0),xe(Ce,Oe,Ae,"\u224d","\\asymp",!0),xe(Ce,Oe,Ae,"\u2225","\\parallel"),xe(Ce,Oe,Ae,"\u22c8","\\bowtie",!0),xe(Ce,Oe,Ae,"\u2323","\\smile",!0),xe(Ce,Oe,Ae,"\u2291","\\sqsubseteq",!0),xe(Ce,Oe,Ae,"\u2292","\\sqsupseteq",!0),xe(Ce,Oe,Ae,"\u2250","\\doteq",!0),xe(Ce,Oe,Ae,"\u2322","\\frown",!0),xe(Ce,Oe,Ae,"\u220b","\\ni",!0),xe(Ce,Oe,Ae,"\u221d","\\propto",!0),xe(Ce,Oe,Ae,"\u22a2","\\vdash",!0),xe(Ce,Oe,Ae,"\u22a3","\\dashv",!0),xe(Ce,Oe,Ae,"\u220b","\\owns"),xe(Ce,Oe,Pe,".","\\ldotp"),xe(Ce,Oe,Pe,"\u22c5","\\cdotp"),xe(Ce,Oe,je,"#","\\#"),xe(Se,Oe,je,"#","\\#"),xe(Ce,Oe,je,"&","\\&"),xe(Se,Oe,je,"&","\\&"),xe(Ce,Oe,je,"\u2135","\\aleph",!0),xe(Ce,Oe,je,"\u2200","\\forall",!0),xe(Ce,Oe,je,"\u210f","\\hbar",!0),xe(Ce,Oe,je,"\u2203","\\exists",!0),xe(Ce,Oe,je,"\u2207","\\nabla",!0),xe(Ce,Oe,je,"\u266d","\\flat",!0),xe(Ce,Oe,je,"\u2113","\\ell",!0),xe(Ce,Oe,je,"\u266e","\\natural",!0),xe(Ce,Oe,je,"\u2663","\\clubsuit",!0),xe(Ce,Oe,je,"\u2118","\\wp",!0),xe(Ce,Oe,je,"\u266f","\\sharp",!0),xe(Ce,Oe,je,"\u2662","\\diamondsuit",!0),xe(Ce,Oe,je,"\u211c","\\Re",!0),xe(Ce,Oe,je,"\u2661","\\heartsuit",!0),xe(Ce,Oe,je,"\u2111","\\Im",!0),xe(Ce,Oe,je,"\u2660","\\spadesuit",!0),xe(Se,Oe,je,"\xa7","\\S",!0),xe(Se,Oe,je,"\xb6","\\P",!0),xe(Ce,Oe,je,"\u2020","\\dag"),xe(Se,Oe,je,"\u2020","\\dag"),xe(Se,Oe,je,"\u2020","\\textdagger"),xe(Ce,Oe,je,"\u2021","\\ddag"),xe(Se,Oe,je,"\u2021","\\ddag"),xe(Se,Oe,je,"\u2021","\\textdaggerdbl"),xe(Ce,Oe,Me,"\u23b1","\\rmoustache",!0),xe(Ce,Oe,Te,"\u23b0","\\lmoustache",!0),xe(Ce,Oe,Me,"\u27ef","\\rgroup",!0),xe(Ce,Oe,Te,"\u27ee","\\lgroup",!0),xe(Ce,Oe,De,"\u2213","\\mp",!0),xe(Ce,Oe,De,"\u2296","\\ominus",!0),xe(Ce,Oe,De,"\u228e","\\uplus",!0),xe(Ce,Oe,De,"\u2293","\\sqcap",!0),xe(Ce,Oe,De,"\u2217","\\ast"),xe(Ce,Oe,De,"\u2294","\\sqcup",!0),xe(Ce,Oe,De,"\u25ef","\\bigcirc"),xe(Ce,Oe,De,"\u2219","\\bullet"),xe(Ce,Oe,De,"\u2021","\\ddagger"),xe(Ce,Oe,De,"\u2240","\\wr",!0),xe(Ce,Oe,De,"\u2a3f","\\amalg"),xe(Ce,Oe,De,"&","\\And"),xe(Ce,Oe,Ae,"\u27f5","\\longleftarrow",!0),xe(Ce,Oe,Ae,"\u21d0","\\Leftarrow",!0),xe(Ce,Oe,Ae,"\u27f8","\\Longleftarrow",!0),xe(Ce,Oe,Ae,"\u27f6","\\longrightarrow",!0),xe(Ce,Oe,Ae,"\u21d2","\\Rightarrow",!0),xe(Ce,Oe,Ae,"\u27f9","\\Longrightarrow",!0),xe(Ce,Oe,Ae,"\u2194","\\leftrightarrow",!0),xe(Ce,Oe,Ae,"\u27f7","\\longleftrightarrow",!0),xe(Ce,Oe,Ae,"\u21d4","\\Leftrightarrow",!0),xe(Ce,Oe,Ae,"\u27fa","\\Longleftrightarrow",!0),xe(Ce,Oe,Ae,"\u21a6","\\mapsto",!0),xe(Ce,Oe,Ae,"\u27fc","\\longmapsto",!0),xe(Ce,Oe,Ae,"\u2197","\\nearrow",!0),xe(Ce,Oe,Ae,"\u21a9","\\hookleftarrow",!0),xe(Ce,Oe,Ae,"\u21aa","\\hookrightarrow",!0),xe(Ce,Oe,Ae,"\u2198","\\searrow",!0),xe(Ce,Oe,Ae,"\u21bc","\\leftharpoonup",!0),xe(Ce,Oe,Ae,"\u21c0","\\rightharpoonup",!0),xe(Ce,Oe,Ae,"\u2199","\\swarrow",!0),xe(Ce,Oe,Ae,"\u21bd","\\leftharpoondown",!0),xe(Ce,Oe,Ae,"\u21c1","\\rightharpoondown",!0),xe(Ce,Oe,Ae,"\u2196","\\nwarrow",!0),xe(Ce,Oe,Ae,"\u21cc","\\rightleftharpoons",!0),xe(Ce,ke,Ae,"\u226e","\\nless",!0),xe(Ce,ke,Ae,"\ue010","\\@nleqslant"),xe(Ce,ke,Ae,"\ue011","\\@nleqq"),xe(Ce,ke,Ae,"\u2a87","\\lneq",!0),xe(Ce,ke,Ae,"\u2268","\\lneqq",!0),xe(Ce,ke,Ae,"\ue00c","\\@lvertneqq"),xe(Ce,ke,Ae,"\u22e6","\\lnsim",!0),xe(Ce,ke,Ae,"\u2a89","\\lnapprox",!0),xe(Ce,ke,Ae,"\u2280","\\nprec",!0),xe(Ce,ke,Ae,"\u22e0","\\npreceq",!0),xe(Ce,ke,Ae,"\u22e8","\\precnsim",!0),xe(Ce,ke,Ae,"\u2ab9","\\precnapprox",!0),xe(Ce,ke,Ae,"\u2241","\\nsim",!0),xe(Ce,ke,Ae,"\ue006","\\@nshortmid"),xe(Ce,ke,Ae,"\u2224","\\nmid",!0),xe(Ce,ke,Ae,"\u22ac","\\nvdash",!0),xe(Ce,ke,Ae,"\u22ad","\\nvDash",!0),xe(Ce,ke,Ae,"\u22ea","\\ntriangleleft"),xe(Ce,ke,Ae,"\u22ec","\\ntrianglelefteq",!0),xe(Ce,ke,Ae,"\u228a","\\subsetneq",!0),xe(Ce,ke,Ae,"\ue01a","\\@varsubsetneq"),xe(Ce,ke,Ae,"\u2acb","\\subsetneqq",!0),xe(Ce,ke,Ae,"\ue017","\\@varsubsetneqq"),xe(Ce,ke,Ae,"\u226f","\\ngtr",!0),xe(Ce,ke,Ae,"\ue00f","\\@ngeqslant"),xe(Ce,ke,Ae,"\ue00e","\\@ngeqq"),xe(Ce,ke,Ae,"\u2a88","\\gneq",!0),xe(Ce,ke,Ae,"\u2269","\\gneqq",!0),xe(Ce,ke,Ae,"\ue00d","\\@gvertneqq"),xe(Ce,ke,Ae,"\u22e7","\\gnsim",!0),xe(Ce,ke,Ae,"\u2a8a","\\gnapprox",!0),xe(Ce,ke,Ae,"\u2281","\\nsucc",!0),xe(Ce,ke,Ae,"\u22e1","\\nsucceq",!0),xe(Ce,ke,Ae,"\u22e9","\\succnsim",!0),xe(Ce,ke,Ae,"\u2aba","\\succnapprox",!0),xe(Ce,ke,Ae,"\u2246","\\ncong",!0),xe(Ce,ke,Ae,"\ue007","\\@nshortparallel"),xe(Ce,ke,Ae,"\u2226","\\nparallel",!0),xe(Ce,ke,Ae,"\u22af","\\nVDash",!0),xe(Ce,ke,Ae,"\u22eb","\\ntriangleright"),xe(Ce,ke,Ae,"\u22ed","\\ntrianglerighteq",!0),xe(Ce,ke,Ae,"\ue018","\\@nsupseteqq"),xe(Ce,ke,Ae,"\u228b","\\supsetneq",!0),xe(Ce,ke,Ae,"\ue01b","\\@varsupsetneq"),xe(Ce,ke,Ae,"\u2acc","\\supsetneqq",!0),xe(Ce,ke,Ae,"\ue019","\\@varsupsetneqq"),xe(Ce,ke,Ae,"\u22ae","\\nVdash",!0),xe(Ce,ke,Ae,"\u2ab5","\\precneqq",!0),xe(Ce,ke,Ae,"\u2ab6","\\succneqq",!0),xe(Ce,ke,Ae,"\ue016","\\@nsubseteqq"),xe(Ce,ke,De,"\u22b4","\\unlhd"),xe(Ce,ke,De,"\u22b5","\\unrhd"),xe(Ce,ke,Ae,"\u219a","\\nleftarrow",!0),xe(Ce,ke,Ae,"\u219b","\\nrightarrow",!0),xe(Ce,ke,Ae,"\u21cd","\\nLeftarrow",!0),xe(Ce,ke,Ae,"\u21cf","\\nRightarrow",!0),xe(Ce,ke,Ae,"\u21ae","\\nleftrightarrow",!0),xe(Ce,ke,Ae,"\u21ce","\\nLeftrightarrow",!0),xe(Ce,ke,Ae,"\u25b3","\\vartriangle"),xe(Ce,ke,je,"\u210f","\\hslash"),xe(Ce,ke,je,"\u25bd","\\triangledown"),xe(Ce,ke,je,"\u25ca","\\lozenge"),xe(Ce,ke,je,"\u24c8","\\circledS"),xe(Ce,ke,je,"\xae","\\circledR"),xe(Se,ke,je,"\xae","\\circledR"),xe(Ce,ke,je,"\u2221","\\measuredangle",!0),xe(Ce,ke,je,"\u2204","\\nexists"),xe(Ce,ke,je,"\u2127","\\mho"),xe(Ce,ke,je,"\u2132","\\Finv",!0),xe(Ce,ke,je,"\u2141","\\Game",!0),xe(Ce,ke,je,"\u2035","\\backprime"),xe(Ce,ke,je,"\u25b2","\\blacktriangle"),xe(Ce,ke,je,"\u25bc","\\blacktriangledown"),xe(Ce,ke,je,"\u25a0","\\blacksquare"),xe(Ce,ke,je,"\u29eb","\\blacklozenge"),xe(Ce,ke,je,"\u2605","\\bigstar"),xe(Ce,ke,je,"\u2222","\\sphericalangle",!0),xe(Ce,ke,je,"\u2201","\\complement",!0),xe(Ce,ke,je,"\xf0","\\eth",!0),xe(Ce,ke,je,"\u2571","\\diagup"),xe(Ce,ke,je,"\u2572","\\diagdown"),xe(Ce,ke,je,"\u25a1","\\square"),xe(Ce,ke,je,"\u25a1","\\Box"),xe(Ce,ke,je,"\u25ca","\\Diamond"),xe(Ce,ke,je,"\xa5","\\yen",!0),xe(Se,ke,je,"\xa5","\\yen",!0),xe(Ce,ke,je,"\u2713","\\checkmark",!0),xe(Se,ke,je,"\u2713","\\checkmark"),xe(Ce,ke,je,"\u2136","\\beth",!0),xe(Ce,ke,je,"\u2138","\\daleth",!0),xe(Ce,ke,je,"\u2137","\\gimel",!0),xe(Ce,ke,je,"\u03dd","\\digamma",!0),xe(Ce,ke,je,"\u03f0","\\varkappa"),xe(Ce,ke,Te,"\u250c","\\ulcorner",!0),xe(Ce,ke,Me,"\u2510","\\urcorner",!0),xe(Ce,ke,Te,"\u2514","\\llcorner",!0),xe(Ce,ke,Me,"\u2518","\\lrcorner",!0),xe(Ce,ke,Ae,"\u2266","\\leqq",!0),xe(Ce,ke,Ae,"\u2a7d","\\leqslant",!0),xe(Ce,ke,Ae,"\u2a95","\\eqslantless",!0),xe(Ce,ke,Ae,"\u2272","\\lesssim",!0),xe(Ce,ke,Ae,"\u2a85","\\lessapprox",!0),xe(Ce,ke,Ae,"\u224a","\\approxeq",!0),xe(Ce,ke,De,"\u22d6","\\lessdot"),xe(Ce,ke,Ae,"\u22d8","\\lll",!0),xe(Ce,ke,Ae,"\u2276","\\lessgtr",!0),xe(Ce,ke,Ae,"\u22da","\\lesseqgtr",!0),xe(Ce,ke,Ae,"\u2a8b","\\lesseqqgtr",!0),xe(Ce,ke,Ae,"\u2251","\\doteqdot"),xe(Ce,ke,Ae,"\u2253","\\risingdotseq",!0),xe(Ce,ke,Ae,"\u2252","\\fallingdotseq",!0),xe(Ce,ke,Ae,"\u223d","\\backsim",!0),xe(Ce,ke,Ae,"\u22cd","\\backsimeq",!0),xe(Ce,ke,Ae,"\u2ac5","\\subseteqq",!0),xe(Ce,ke,Ae,"\u22d0","\\Subset",!0),xe(Ce,ke,Ae,"\u228f","\\sqsubset",!0),xe(Ce,ke,Ae,"\u227c","\\preccurlyeq",!0),xe(Ce,ke,Ae,"\u22de","\\curlyeqprec",!0),xe(Ce,ke,Ae,"\u227e","\\precsim",!0),xe(Ce,ke,Ae,"\u2ab7","\\precapprox",!0),xe(Ce,ke,Ae,"\u22b2","\\vartriangleleft"),xe(Ce,ke,Ae,"\u22b4","\\trianglelefteq"),xe(Ce,ke,Ae,"\u22a8","\\vDash",!0),xe(Ce,ke,Ae,"\u22aa","\\Vvdash",!0),xe(Ce,ke,Ae,"\u2323","\\smallsmile"),xe(Ce,ke,Ae,"\u2322","\\smallfrown"),xe(Ce,ke,Ae,"\u224f","\\bumpeq",!0),xe(Ce,ke,Ae,"\u224e","\\Bumpeq",!0),xe(Ce,ke,Ae,"\u2267","\\geqq",!0),xe(Ce,ke,Ae,"\u2a7e","\\geqslant",!0),xe(Ce,ke,Ae,"\u2a96","\\eqslantgtr",!0),xe(Ce,ke,Ae,"\u2273","\\gtrsim",!0),xe(Ce,ke,Ae,"\u2a86","\\gtrapprox",!0),xe(Ce,ke,De,"\u22d7","\\gtrdot"),xe(Ce,ke,Ae,"\u22d9","\\ggg",!0),xe(Ce,ke,Ae,"\u2277","\\gtrless",!0),xe(Ce,ke,Ae,"\u22db","\\gtreqless",!0),xe(Ce,ke,Ae,"\u2a8c","\\gtreqqless",!0),xe(Ce,ke,Ae,"\u2256","\\eqcirc",!0),xe(Ce,ke,Ae,"\u2257","\\circeq",!0),xe(Ce,ke,Ae,"\u225c","\\triangleq",!0),xe(Ce,ke,Ae,"\u223c","\\thicksim"),xe(Ce,ke,Ae,"\u2248","\\thickapprox"),xe(Ce,ke,Ae,"\u2ac6","\\supseteqq",!0),xe(Ce,ke,Ae,"\u22d1","\\Supset",!0),xe(Ce,ke,Ae,"\u2290","\\sqsupset",!0),xe(Ce,ke,Ae,"\u227d","\\succcurlyeq",!0),xe(Ce,ke,Ae,"\u22df","\\curlyeqsucc",!0),xe(Ce,ke,Ae,"\u227f","\\succsim",!0),xe(Ce,ke,Ae,"\u2ab8","\\succapprox",!0),xe(Ce,ke,Ae,"\u22b3","\\vartriangleright"),xe(Ce,ke,Ae,"\u22b5","\\trianglerighteq"),xe(Ce,ke,Ae,"\u22a9","\\Vdash",!0),xe(Ce,ke,Ae,"\u2223","\\shortmid"),xe(Ce,ke,Ae,"\u2225","\\shortparallel"),xe(Ce,ke,Ae,"\u226c","\\between",!0),xe(Ce,ke,Ae,"\u22d4","\\pitchfork",!0),xe(Ce,ke,Ae,"\u221d","\\varpropto"),xe(Ce,ke,Ae,"\u25c0","\\blacktriangleleft"),xe(Ce,ke,Ae,"\u2234","\\therefore",!0),xe(Ce,ke,Ae,"\u220d","\\backepsilon"),xe(Ce,ke,Ae,"\u25b6","\\blacktriangleright"),xe(Ce,ke,Ae,"\u2235","\\because",!0),xe(Ce,ke,Ae,"\u22d8","\\llless"),xe(Ce,ke,Ae,"\u22d9","\\gggtr"),xe(Ce,ke,De,"\u22b2","\\lhd"),xe(Ce,ke,De,"\u22b3","\\rhd"),xe(Ce,ke,Ae,"\u2242","\\eqsim",!0),xe(Ce,Oe,Ae,"\u22c8","\\Join"),xe(Ce,ke,Ae,"\u2251","\\Doteq",!0),xe(Ce,ke,De,"\u2214","\\dotplus",!0),xe(Ce,ke,De,"\u2216","\\smallsetminus"),xe(Ce,ke,De,"\u22d2","\\Cap",!0),xe(Ce,ke,De,"\u22d3","\\Cup",!0),xe(Ce,ke,De,"\u2a5e","\\doublebarwedge",!0),xe(Ce,ke,De,"\u229f","\\boxminus",!0),xe(Ce,ke,De,"\u229e","\\boxplus",!0),xe(Ce,ke,De,"\u22c7","\\divideontimes",!0),xe(Ce,ke,De,"\u22c9","\\ltimes",!0),xe(Ce,ke,De,"\u22ca","\\rtimes",!0),xe(Ce,ke,De,"\u22cb","\\leftthreetimes",!0),xe(Ce,ke,De,"\u22cc","\\rightthreetimes",!0),xe(Ce,ke,De,"\u22cf","\\curlywedge",!0),xe(Ce,ke,De,"\u22ce","\\curlyvee",!0),xe(Ce,ke,De,"\u229d","\\circleddash",!0),xe(Ce,ke,De,"\u229b","\\circledast",!0),xe(Ce,ke,De,"\u22c5","\\centerdot"),xe(Ce,ke,De,"\u22ba","\\intercal",!0),xe(Ce,ke,De,"\u22d2","\\doublecap"),xe(Ce,ke,De,"\u22d3","\\doublecup"),xe(Ce,ke,De,"\u22a0","\\boxtimes",!0),xe(Ce,ke,Ae,"\u21e2","\\dashrightarrow",!0),xe(Ce,ke,Ae,"\u21e0","\\dashleftarrow",!0),xe(Ce,ke,Ae,"\u21c7","\\leftleftarrows",!0),xe(Ce,ke,Ae,"\u21c6","\\leftrightarrows",!0),xe(Ce,ke,Ae,"\u21da","\\Lleftarrow",!0),xe(Ce,ke,Ae,"\u219e","\\twoheadleftarrow",!0),xe(Ce,ke,Ae,"\u21a2","\\leftarrowtail",!0),xe(Ce,ke,Ae,"\u21ab","\\looparrowleft",!0),xe(Ce,ke,Ae,"\u21cb","\\leftrightharpoons",!0),xe(Ce,ke,Ae,"\u21b6","\\curvearrowleft",!0),xe(Ce,ke,Ae,"\u21ba","\\circlearrowleft",!0),xe(Ce,ke,Ae,"\u21b0","\\Lsh",!0),xe(Ce,ke,Ae,"\u21c8","\\upuparrows",!0),xe(Ce,ke,Ae,"\u21bf","\\upharpoonleft",!0),xe(Ce,ke,Ae,"\u21c3","\\downharpoonleft",!0),xe(Ce,ke,Ae,"\u22b8","\\multimap",!0),xe(Ce,ke,Ae,"\u21ad","\\leftrightsquigarrow",!0),xe(Ce,ke,Ae,"\u21c9","\\rightrightarrows",!0),xe(Ce,ke,Ae,"\u21c4","\\rightleftarrows",!0),xe(Ce,ke,Ae,"\u21a0","\\twoheadrightarrow",!0),xe(Ce,ke,Ae,"\u21a3","\\rightarrowtail",!0),xe(Ce,ke,Ae,"\u21ac","\\looparrowright",!0),xe(Ce,ke,Ae,"\u21b7","\\curvearrowright",!0),xe(Ce,ke,Ae,"\u21bb","\\circlearrowright",!0),xe(Ce,ke,Ae,"\u21b1","\\Rsh",!0),xe(Ce,ke,Ae,"\u21ca","\\downdownarrows",!0),xe(Ce,ke,Ae,"\u21be","\\upharpoonright",!0),xe(Ce,ke,Ae,"\u21c2","\\downharpoonright",!0),xe(Ce,ke,Ae,"\u21dd","\\rightsquigarrow",!0),xe(Ce,ke,Ae,"\u21dd","\\leadsto"),xe(Ce,ke,Ae,"\u21db","\\Rrightarrow",!0),xe(Ce,ke,Ae,"\u21be","\\restriction"),xe(Ce,Oe,je,"\u2018","`"),xe(Ce,Oe,je,"$","\\$"),xe(Se,Oe,je,"$","\\$"),xe(Se,Oe,je,"$","\\textdollar"),xe(Ce,Oe,je,"%","\\%"),xe(Se,Oe,je,"%","\\%"),xe(Ce,Oe,je,"_","\\_"),xe(Se,Oe,je,"_","\\_"),xe(Se,Oe,je,"_","\\textunderscore"),xe(Ce,Oe,je,"\u2220","\\angle",!0),xe(Ce,Oe,je,"\u221e","\\infty",!0),xe(Ce,Oe,je,"\u2032","\\prime"),xe(Ce,Oe,je,"\u25b3","\\triangle"),xe(Ce,Oe,je,"\u0393","\\Gamma",!0),xe(Ce,Oe,je,"\u0394","\\Delta",!0),xe(Ce,Oe,je,"\u0398","\\Theta",!0),xe(Ce,Oe,je,"\u039b","\\Lambda",!0),xe(Ce,Oe,je,"\u039e","\\Xi",!0),xe(Ce,Oe,je,"\u03a0","\\Pi",!0),xe(Ce,Oe,je,"\u03a3","\\Sigma",!0),xe(Ce,Oe,je,"\u03a5","\\Upsilon",!0),xe(Ce,Oe,je,"\u03a6","\\Phi",!0),xe(Ce,Oe,je,"\u03a8","\\Psi",!0),xe(Ce,Oe,je,"\u03a9","\\Omega",!0),xe(Ce,Oe,je,"A","\u0391"),xe(Ce,Oe,je,"B","\u0392"),xe(Ce,Oe,je,"E","\u0395"),xe(Ce,Oe,je,"Z","\u0396"),xe(Ce,Oe,je,"H","\u0397"),xe(Ce,Oe,je,"I","\u0399"),xe(Ce,Oe,je,"K","\u039a"),xe(Ce,Oe,je,"M","\u039c"),xe(Ce,Oe,je,"N","\u039d"),xe(Ce,Oe,je,"O","\u039f"),xe(Ce,Oe,je,"P","\u03a1"),xe(Ce,Oe,je,"T","\u03a4"),xe(Ce,Oe,je,"X","\u03a7"),xe(Ce,Oe,je,"\xac","\\neg",!0),xe(Ce,Oe,je,"\xac","\\lnot"),xe(Ce,Oe,je,"\u22a4","\\top"),xe(Ce,Oe,je,"\u22a5","\\bot"),xe(Ce,Oe,je,"\u2205","\\emptyset"),xe(Ce,ke,je,"\u2205","\\varnothing"),xe(Ce,Oe,Le,"\u03b1","\\alpha",!0),xe(Ce,Oe,Le,"\u03b2","\\beta",!0),xe(Ce,Oe,Le,"\u03b3","\\gamma",!0),xe(Ce,Oe,Le,"\u03b4","\\delta",!0),xe(Ce,Oe,Le,"\u03f5","\\epsilon",!0),xe(Ce,Oe,Le,"\u03b6","\\zeta",!0),xe(Ce,Oe,Le,"\u03b7","\\eta",!0),xe(Ce,Oe,Le,"\u03b8","\\theta",!0),xe(Ce,Oe,Le,"\u03b9","\\iota",!0),xe(Ce,Oe,Le,"\u03ba","\\kappa",!0),xe(Ce,Oe,Le,"\u03bb","\\lambda",!0),xe(Ce,Oe,Le,"\u03bc","\\mu",!0),xe(Ce,Oe,Le,"\u03bd","\\nu",!0),xe(Ce,Oe,Le,"\u03be","\\xi",!0),xe(Ce,Oe,Le,"\u03bf","\\omicron",!0),xe(Ce,Oe,Le,"\u03c0","\\pi",!0),xe(Ce,Oe,Le,"\u03c1","\\rho",!0),xe(Ce,Oe,Le,"\u03c3","\\sigma",!0),xe(Ce,Oe,Le,"\u03c4","\\tau",!0),xe(Ce,Oe,Le,"\u03c5","\\upsilon",!0),xe(Ce,Oe,Le,"\u03d5","\\phi",!0),xe(Ce,Oe,Le,"\u03c7","\\chi",!0),xe(Ce,Oe,Le,"\u03c8","\\psi",!0),xe(Ce,Oe,Le,"\u03c9","\\omega",!0),xe(Ce,Oe,Le,"\u03b5","\\varepsilon",!0),xe(Ce,Oe,Le,"\u03d1","\\vartheta",!0),xe(Ce,Oe,Le,"\u03d6","\\varpi",!0),xe(Ce,Oe,Le,"\u03f1","\\varrho",!0),xe(Ce,Oe,Le,"\u03c2","\\varsigma",!0),xe(Ce,Oe,Le,"\u03c6","\\varphi",!0),xe(Ce,Oe,De,"\u2217","*"),xe(Ce,Oe,De,"+","+"),xe(Ce,Oe,De,"\u2212","-"),xe(Ce,Oe,De,"\u22c5","\\cdot",!0),xe(Ce,Oe,De,"\u2218","\\circ"),xe(Ce,Oe,De,"\xf7","\\div",!0),xe(Ce,Oe,De,"\xb1","\\pm",!0),xe(Ce,Oe,De,"\xd7","\\times",!0),xe(Ce,Oe,De,"\u2229","\\cap",!0),xe(Ce,Oe,De,"\u222a","\\cup",!0),xe(Ce,Oe,De,"\u2216","\\setminus"),xe(Ce,Oe,De,"\u2227","\\land"),xe(Ce,Oe,De,"\u2228","\\lor"),xe(Ce,Oe,De,"\u2227","\\wedge",!0),xe(Ce,Oe,De,"\u2228","\\vee",!0),xe(Ce,Oe,je,"\u221a","\\surd"),xe(Ce,Oe,Te,"(","("),xe(Ce,Oe,Te,"[","["),xe(Ce,Oe,Te,"\u27e8","\\langle",!0),xe(Ce,Oe,Te,"\u2223","\\lvert"),xe(Ce,Oe,Te,"\u2225","\\lVert"),xe(Ce,Oe,Me,")",")"),xe(Ce,Oe,Me,"]","]"),xe(Ce,Oe,Me,"?","?"),xe(Ce,Oe,Me,"!","!"),xe(Ce,Oe,Me,"\u27e9","\\rangle",!0),xe(Ce,Oe,Me,"\u2223","\\rvert"),xe(Ce,Oe,Me,"\u2225","\\rVert"),xe(Ce,Oe,Ae,"=","="),xe(Ce,Oe,Ae,"<","<"),xe(Ce,Oe,Ae,">",">"),xe(Ce,Oe,Ae,":",":"),xe(Ce,Oe,Ae,"\u2248","\\approx",!0),xe(Ce,Oe,Ae,"\u2245","\\cong",!0),xe(Ce,Oe,Ae,"\u2265","\\ge"),xe(Ce,Oe,Ae,"\u2265","\\geq",!0),xe(Ce,Oe,Ae,"\u2190","\\gets"),xe(Ce,Oe,Ae,">","\\gt"),xe(Ce,Oe,Ae,"\u2208","\\in",!0),xe(Ce,Oe,Ae,"\ue020","\\@not"),xe(Ce,Oe,Ae,"\u2282","\\subset",!0),xe(Ce,Oe,Ae,"\u2283","\\supset",!0),xe(Ce,Oe,Ae,"\u2286","\\subseteq",!0),xe(Ce,Oe,Ae,"\u2287","\\supseteq",!0),xe(Ce,ke,Ae,"\u2288","\\nsubseteq",!0),xe(Ce,ke,Ae,"\u2289","\\nsupseteq",!0),xe(Ce,Oe,Ae,"\u22a8","\\models"),xe(Ce,Oe,Ae,"\u2190","\\leftarrow",!0),xe(Ce,Oe,Ae,"\u2264","\\le"),xe(Ce,Oe,Ae,"\u2264","\\leq",!0),xe(Ce,Oe,Ae,"<","\\lt"),xe(Ce,Oe,Ae,"\u2192","\\rightarrow",!0),xe(Ce,Oe,Ae,"\u2192","\\to"),xe(Ce,ke,Ae,"\u2271","\\ngeq",!0),xe(Ce,ke,Ae,"\u2270","\\nleq",!0),xe(Ce,Oe,Re,"\xa0","\\ "),xe(Ce,Oe,Re,"\xa0","~"),xe(Ce,Oe,Re,"\xa0","\\space"),xe(Ce,Oe,Re,"\xa0","\\nobreakspace"),xe(Se,Oe,Re,"\xa0","\\ "),xe(Se,Oe,Re,"\xa0","~"),xe(Se,Oe,Re,"\xa0","\\space"),xe(Se,Oe,Re,"\xa0","\\nobreakspace"),xe(Ce,Oe,Re,null,"\\nobreak"),xe(Ce,Oe,Re,null,"\\allowbreak"),xe(Ce,Oe,Pe,",",","),xe(Ce,Oe,Pe,";",";"),xe(Ce,ke,De,"\u22bc","\\barwedge",!0),xe(Ce,ke,De,"\u22bb","\\veebar",!0),xe(Ce,Oe,De,"\u2299","\\odot",!0),xe(Ce,Oe,De,"\u2295","\\oplus",!0),xe(Ce,Oe,De,"\u2297","\\otimes",!0),xe(Ce,Oe,je,"\u2202","\\partial",!0),xe(Ce,Oe,De,"\u2298","\\oslash",!0),xe(Ce,ke,De,"\u229a","\\circledcirc",!0),xe(Ce,ke,De,"\u22a1","\\boxdot",!0),xe(Ce,Oe,De,"\u25b3","\\bigtriangleup"),xe(Ce,Oe,De,"\u25bd","\\bigtriangledown"),xe(Ce,Oe,De,"\u2020","\\dagger"),xe(Ce,Oe,De,"\u22c4","\\diamond"),xe(Ce,Oe,De,"\u22c6","\\star"),xe(Ce,Oe,De,"\u25c3","\\triangleleft"),xe(Ce,Oe,De,"\u25b9","\\triangleright"),xe(Ce,Oe,Te,"{","\\{"),xe(Se,Oe,je,"{","\\{"),xe(Se,Oe,je,"{","\\textbraceleft"),xe(Ce,Oe,Me,"}","\\}"),xe(Se,Oe,je,"}","\\}"),xe(Se,Oe,je,"}","\\textbraceright"),xe(Ce,Oe,Te,"{","\\lbrace"),xe(Ce,Oe,Me,"}","\\rbrace"),xe(Ce,Oe,Te,"[","\\lbrack"),xe(Se,Oe,je,"[","\\lbrack"),xe(Ce,Oe,Me,"]","\\rbrack"),xe(Se,Oe,je,"]","\\rbrack"),xe(Ce,Oe,Te,"(","\\lparen"),xe(Ce,Oe,Me,")","\\rparen"),xe(Se,Oe,je,"<","\\textless"),xe(Se,Oe,je,">","\\textgreater"),xe(Ce,Oe,Te,"\u230a","\\lfloor",!0),xe(Ce,Oe,Me,"\u230b","\\rfloor",!0),xe(Ce,Oe,Te,"\u2308","\\lceil",!0),xe(Ce,Oe,Me,"\u2309","\\rceil",!0),xe(Ce,Oe,je,"\\","\\backslash"),xe(Ce,Oe,je,"\u2223","|"),xe(Ce,Oe,je,"\u2223","\\vert"),xe(Se,Oe,je,"|","\\textbar"),xe(Ce,Oe,je,"\u2225","\\|"),xe(Ce,Oe,je,"\u2225","\\Vert"),xe(Se,Oe,je,"\u2225","\\textbardbl"),xe(Se,Oe,je,"~","\\textasciitilde"),xe(Se,Oe,je,"\\","\\textbackslash"),xe(Se,Oe,je,"^","\\textasciicircum"),xe(Ce,Oe,Ae,"\u2191","\\uparrow",!0),xe(Ce,Oe,Ae,"\u21d1","\\Uparrow",!0),xe(Ce,Oe,Ae,"\u2193","\\downarrow",!0),xe(Ce,Oe,Ae,"\u21d3","\\Downarrow",!0),xe(Ce,Oe,Ae,"\u2195","\\updownarrow",!0),xe(Ce,Oe,Ae,"\u21d5","\\Updownarrow",!0),xe(Ce,Oe,Ie,"\u2210","\\coprod"),xe(Ce,Oe,Ie,"\u22c1","\\bigvee"),xe(Ce,Oe,Ie,"\u22c0","\\bigwedge"),xe(Ce,Oe,Ie,"\u2a04","\\biguplus"),xe(Ce,Oe,Ie,"\u22c2","\\bigcap"),xe(Ce,Oe,Ie,"\u22c3","\\bigcup"),xe(Ce,Oe,Ie,"\u222b","\\int"),xe(Ce,Oe,Ie,"\u222b","\\intop"),xe(Ce,Oe,Ie,"\u222c","\\iint"),xe(Ce,Oe,Ie,"\u222d","\\iiint"),xe(Ce,Oe,Ie,"\u220f","\\prod"),xe(Ce,Oe,Ie,"\u2211","\\sum"),xe(Ce,Oe,Ie,"\u2a02","\\bigotimes"),xe(Ce,Oe,Ie,"\u2a01","\\bigoplus"),xe(Ce,Oe,Ie,"\u2a00","\\bigodot"),xe(Ce,Oe,Ie,"\u222e","\\oint"),xe(Ce,Oe,Ie,"\u222f","\\oiint"),xe(Ce,Oe,Ie,"\u2230","\\oiiint"),xe(Ce,Oe,Ie,"\u2a06","\\bigsqcup"),xe(Ce,Oe,Ie,"\u222b","\\smallint"),xe(Se,Oe,Ne,"\u2026","\\textellipsis"),xe(Ce,Oe,Ne,"\u2026","\\mathellipsis"),xe(Se,Oe,Ne,"\u2026","\\ldots",!0),xe(Ce,Oe,Ne,"\u2026","\\ldots",!0),xe(Ce,Oe,Ne,"\u22ef","\\@cdots",!0),xe(Ce,Oe,Ne,"\u22f1","\\ddots",!0),xe(Ce,Oe,je,"\u22ee","\\varvdots"),xe(Ce,Oe,Ee,"\u02ca","\\acute"),xe(Ce,Oe,Ee,"\u02cb","\\grave"),xe(Ce,Oe,Ee,"\xa8","\\ddot"),xe(Ce,Oe,Ee,"~","\\tilde"),xe(Ce,Oe,Ee,"\u02c9","\\bar"),xe(Ce,Oe,Ee,"\u02d8","\\breve"),xe(Ce,Oe,Ee,"\u02c7","\\check"),xe(Ce,Oe,Ee,"^","\\hat"),xe(Ce,Oe,Ee,"\u20d7","\\vec"),xe(Ce,Oe,Ee,"\u02d9","\\dot"),xe(Ce,Oe,Ee,"\u02da","\\mathring"),xe(Ce,Oe,Le,"\u0131","\\imath",!0),xe(Ce,Oe,Le,"\u0237","\\jmath",!0),xe(Se,Oe,je,"\u0131","\\i",!0),xe(Se,Oe,je,"\u0237","\\j",!0),xe(Se,Oe,je,"\xdf","\\ss",!0),xe(Se,Oe,je,"\xe6","\\ae",!0),xe(Se,Oe,je,"\xe6","\\ae",!0),xe(Se,Oe,je,"\u0153","\\oe",!0),xe(Se,Oe,je,"\xf8","\\o",!0),xe(Se,Oe,je,"\xc6","\\AE",!0),xe(Se,Oe,je,"\u0152","\\OE",!0),xe(Se,Oe,je,"\xd8","\\O",!0),xe(Se,Oe,Ee,"\u02ca","\\'"),xe(Se,Oe,Ee,"\u02cb","\\`"),xe(Se,Oe,Ee,"\u02c6","\\^"),xe(Se,Oe,Ee,"\u02dc","\\~"),xe(Se,Oe,Ee,"\u02c9","\\="),xe(Se,Oe,Ee,"\u02d8","\\u"),xe(Se,Oe,Ee,"\u02d9","\\."),xe(Se,Oe,Ee,"\u02da","\\r"),xe(Se,Oe,Ee,"\u02c7","\\v"),xe(Se,Oe,Ee,"\xa8",'\\"'),xe(Se,Oe,Ee,"\u02dd","\\H"),xe(Se,Oe,Ee,"\u25ef","\\textcircled");var Fe={"--":!0,"---":!0,"``":!0,"''":!0};xe(Se,Oe,je,"\u2013","--"),xe(Se,Oe,je,"\u2013","\\textendash"),xe(Se,Oe,je,"\u2014","---"),xe(Se,Oe,je,"\u2014","\\textemdash"),xe(Se,Oe,je,"\u2018","`"),xe(Se,Oe,je,"\u2018","\\textquoteleft"),xe(Se,Oe,je,"\u2019","'"),xe(Se,Oe,je,"\u2019","\\textquoteright"),xe(Se,Oe,je,"\u201c","``"),xe(Se,Oe,je,"\u201c","\\textquotedblleft"),xe(Se,Oe,je,"\u201d","''"),xe(Se,Oe,je,"\u201d","\\textquotedblright"),xe(Ce,Oe,je,"\xb0","\\degree",!0),xe(Se,Oe,je,"\xb0","\\degree"),xe(Se,Oe,je,"\xb0","\\textdegree",!0),xe(Ce,Oe,Le,"\xa3","\\pounds"),xe(Ce,Oe,Le,"\xa3","\\mathsterling",!0),xe(Se,Oe,Le,"\xa3","\\pounds"),xe(Se,Oe,Le,"\xa3","\\textsterling",!0),xe(Ce,ke,je,"\u2720","\\maltese"),xe(Se,ke,je,"\u2720","\\maltese"),xe(Se,Oe,Re,"\xa0","\\ "),xe(Se,Oe,Re,"\xa0"," "),xe(Se,Oe,Re,"\xa0","~");for(var Be='0123456789/@."',Ve=0;Ve<Be.length;Ve++){var ze=Be.charAt(Ve);xe(Ce,Oe,je,ze,ze)}for(var We='0123456789!@*()-=+[]<>|";:?/.,',He=0;He<We.length;He++){var Ue=We.charAt(He);xe(Se,Oe,je,Ue,Ue)}for(var Ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ge=0;Ge<Ke.length;Ge++){var qe=Ke.charAt(Ge);xe(Ce,Oe,Le,qe,qe),xe(Se,Oe,je,qe,qe)}xe(Ce,ke,je,"C","\u2102"),xe(Se,ke,je,"C","\u2102"),xe(Ce,ke,je,"H","\u210d"),xe(Se,ke,je,"H","\u210d"),xe(Ce,ke,je,"N","\u2115"),xe(Se,ke,je,"N","\u2115"),xe(Ce,ke,je,"P","\u2119"),xe(Se,ke,je,"P","\u2119"),xe(Ce,ke,je,"Q","\u211a"),xe(Se,ke,je,"Q","\u211a"),xe(Ce,ke,je,"R","\u211d"),xe(Se,ke,je,"R","\u211d"),xe(Ce,ke,je,"Z","\u2124"),xe(Se,ke,je,"Z","\u2124"),xe(Ce,Oe,Le,"h","\u210e"),xe(Se,Oe,Le,"h","\u210e");for(var Ye="",Xe=0;Xe<Ke.length;Xe++){var Ze=Ke.charAt(Xe);Ye=String.fromCharCode(55349,56320+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56372+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56424+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56580+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56736+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56788+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56840+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56944+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Xe<26&&(Ye=String.fromCharCode(55349,56632+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye),Ye=String.fromCharCode(55349,56476+Xe),xe(Ce,Oe,Le,Ze,Ye),xe(Se,Oe,je,Ze,Ye))}Ye=String.fromCharCode(55349,56668),xe(Ce,Oe,Le,"k",Ye),xe(Se,Oe,je,"k",Ye);for(var Qe=0;Qe<10;Qe++){var $e=Qe.toString();Ye=String.fromCharCode(55349,57294+Qe),xe(Ce,Oe,Le,$e,Ye),xe(Se,Oe,je,$e,Ye),Ye=String.fromCharCode(55349,57314+Qe),xe(Ce,Oe,Le,$e,Ye),xe(Se,Oe,je,$e,Ye),Ye=String.fromCharCode(55349,57324+Qe),xe(Ce,Oe,Le,$e,Ye),xe(Se,Oe,je,$e,Ye),Ye=String.fromCharCode(55349,57334+Qe),xe(Ce,Oe,Le,$e,Ye),xe(Se,Oe,je,$e,Ye)}for(var Je="\xc7\xd0\xde\xe7\xfe",et=0;et<Je.length;et++){var tt=Je.charAt(et);xe(Ce,Oe,Le,tt,tt),xe(Se,Oe,je,tt,tt)}xe(Se,Oe,je,"\xf0","\xf0"),xe(Se,Oe,je,"\u2013","\u2013"),xe(Se,Oe,je,"\u2014","\u2014"),xe(Se,Oe,je,"\u2018","\u2018"),xe(Se,Oe,je,"\u2019","\u2019"),xe(Se,Oe,je,"\u201c","\u201c"),xe(Se,Oe,je,"\u201d","\u201d");var nt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],rt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],it=function(e,t){var n=e.charCodeAt(0),r=e.charCodeAt(1),i=1024*(n-55296)+(r-56320)+65536,o="math"===t?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[nt[s][2],nt[s][o]]}if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[rt[l][2],rt[l][o]]}if(120485===i||120486===i)return[nt[0][2],nt[0][o]];if(120486<i&&i<120782)return["",""];throw new a("Unsupported character: "+e)},ot=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],at=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],st=function(e,t){return t.size<2?e:ot[e-1][t.size-1]},lt=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=at[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:st(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:at[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=st(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ve(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();lt.BASESIZE=6;var ut=lt,ct={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},dt={ex:!0,em:!0,mu:!0},ht=function(e){return"string"!==typeof e&&(e=e.unit),e in ct||e in dt||"ex"===e},ft=function(e,t){var n;if(e.unit in ct)n=ct[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},pt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],gt=function(e,t,n){return we[n][e]&&we[n][e].replace&&(e=we[n][e].replace),{value:e,metrics:ge(e,t,n)}},mt=function(e,t,n,r,i){var o,a=gt(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),o=new oe(e,s.height,s.depth,l,s.skew,s.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),o=new oe(e,0,0,0,0,0,i);if(r){o.maxFontSize=r.sizeMultiplier,r.style.isTight()&&o.classes.push("mtight");var u=r.getColor();u&&(o.style.color=u)}return o},vt=function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&>(e,"Main-Bold",t).metrics?mt(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===we[t][e].font?mt(e,"Main-Regular",t,n,r):mt(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},yt=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||y.contains(pt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},bt=function(e,t,n,r){return y.contains(pt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(e.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},_t=function(e,t,n,r){return gt(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},wt=function(e,t,n){var r=e.mode,i=e.text,o=["mord"],a="math"===r||"text"===r&&t.font,s=a?t.font:t.fontFamily;if(55349===i.charCodeAt(0)){var l=it(i,r),u=l[0],c=l[1];return mt(i,u,r,t,o.concat(c))}if(s){var d,h;if("boldsymbol"===s||"mathnormal"===s){var f="boldsymbol"===s?_t(i,r,t,o):bt(i,r,t,o);d=f.fontName,h=[f.fontClass]}else y.contains(pt,i)?(d="Main-Italic",h=["mathit"]):a?(d=At[s].fontName,h=[s]):(d=Pt(s,t.fontWeight,t.fontShape),h=[s,t.fontWeight,t.fontShape]);if(gt(i,d,r).metrics)return mt(i,d,r,t,o.concat(h));if(Fe.hasOwnProperty(i)&&"Typewriter"===d.substr(0,10)){for(var p=[],g=0;g<i.length;g++)p.push(mt(i[g],d,r,t,o.concat(h)));return Mt(p)}}if("mathord"===n){var m=yt(i,r,t,o);return mt(i,m.fontName,r,t,o.concat([m.fontClass]))}if("textord"===n){var v=we[r][i]&&we[r][i].font;if("ams"===v){var b=Pt("amsrm",t.fontWeight,t.fontShape);return mt(i,b,r,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==v&&v){var _=Pt(v,t.fontWeight,t.fontShape);return mt(i,_,r,t,o.concat(_,t.fontWeight,t.fontShape))}var w=Pt("textrm",t.fontWeight,t.fontShape);return mt(i,w,r,t,o.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+n+" in makeOrd")},xt=function(e,t){if(Q(e.classes)!==Q(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},Ct=function(e){for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof oe&&r instanceof oe&&xt(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},St=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var o=e.children[i];o.height>t&&(t=o.height),o.depth>n&&(n=o.depth),o.maxFontSize>r&&(r=o.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ot=function(e,t,n,r){var i=new te(e,t,n,r);return St(i),i},kt=function(e,t,n,r){return new te(e,t,n,r)},Et=function(e,t,n){var r=Ot([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},Dt=function(e,t,n,r){var i=new ne(e,t,n,r);return St(i),i},Mt=function(e){var t=new Z(e);return St(t),t},Nt=function(e,t){return e instanceof Z?Ot([],[e],t):e},Lt=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,o=1;o<t.length;o++){var a=-t[o].shift-i-t[o].elem.depth,s=a-(t[o-1].elem.height+t[o-1].elem.depth);i+=a,n.push({type:"kern",size:s}),n.push(t[o])}return{children:n,depth:r}}var l;if("top"===e.positionType){for(var u=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];u-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=u}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}},It=function(e,t){for(var n=Lt(e),r=n.children,i=n.depth,o=0,a=0;a<r.length;a++){var s=r[a];if("elem"===s.type){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var u=Ot(["pstrut"],[]);u.style.height=o+"em";for(var c=[],d=i,h=i,f=i,p=0;p<r.length;p++){var g=r[p];if("kern"===g.type)f+=g.size;else{var m=g.elem,v=g.wrapperClasses||[],y=g.wrapperStyle||{},b=Ot(v,[u,m],void 0,y);b.style.top=-o-f-m.depth+"em",g.marginLeft&&(b.style.marginLeft=g.marginLeft),g.marginRight&&(b.style.marginRight=g.marginRight),c.push(b),f+=m.height+m.depth}d=Math.min(d,f),h=Math.max(h,f)}var _,w=Ot(["vlist"],c);if(w.style.height=h+"em",d<0){var x=Ot([],[]),C=Ot(["vlist"],[x]);C.style.height=-d+"em";var S=Ot(["vlist-s"],[new oe("\u200b")]);_=[Ot(["vlist-r"],[w,S]),Ot(["vlist-r"],[C])]}else _=[Ot(["vlist-r"],[w])];var O=Ot(["vlist-t"],_);return 2===_.length&&O.classes.push("vlist-t2"),O.height=h,O.depth=-d,O},Tt=function(e,t){var n=Ot(["mspace"],[],t),r=ft(e,t);return n.style.marginRight=r+"em",n},Pt=function(e,t,n){var r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},At={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Rt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},jt=function(e,t){var n=Rt[e],r=n[0],i=n[1],o=n[2],a=new se(r),s=new ae([a],{width:i+"em",height:o+"em",style:"width:"+i+"em",viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=kt(["overlay"],[s],t);return l.height=o,l.style.height=o+"em",l.style.width=i+"em",l},Ft={fontMap:At,makeSymbol:mt,mathsym:vt,makeSpan:Ot,makeSvgSpan:kt,makeLineSpan:Et,makeAnchor:Dt,makeFragment:Mt,wrapFragment:Nt,makeVList:It,makeOrd:wt,makeGlue:Tt,staticSvg:jt,svgData:Rt,tryCombineChars:Ct};function Bt(e,t){var n=Vt(e,t);if(!n)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return n}function Vt(e,t){return e&&e.type===t?e:null}function zt(e,t){var n=Wt(e,t);if(!n)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return n}function Wt(e,t){return e&&"atom"===e.type&&e.family===t?e:null}function Ht(e){var t=Ut(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Ut(e){return e&&("atom"===e.type||be.hasOwnProperty(e.type))?e:null}var Kt={number:3,unit:"mu"},Gt={number:4,unit:"mu"},qt={number:5,unit:"mu"},Yt={mord:{mop:Kt,mbin:Gt,mrel:qt,minner:Kt},mop:{mord:Kt,mop:Kt,mrel:qt,minner:Kt},mbin:{mord:Gt,mop:Gt,mopen:Gt,minner:Gt},mrel:{mord:qt,mop:qt,mopen:qt,minner:qt},mopen:{},mclose:{mop:Kt,mbin:Gt,mrel:qt,minner:Kt},mpunct:{mord:Kt,mop:Kt,mrel:qt,mopen:Kt,mclose:Kt,mpunct:Kt,minner:Kt},minner:{mord:Kt,mop:Kt,mbin:Gt,mrel:qt,mopen:Kt,mpunct:Kt,minner:Kt}},Xt={mord:{mop:Kt},mop:{mord:Kt,mop:Kt},mbin:{},mrel:{},mopen:{},mclose:{mop:Kt},mpunct:{},minner:{mop:Kt}},Zt={},Qt={},$t={};function Jt(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:i},l=0;l<n.length;++l)Zt[n[l]]=s;t&&(o&&(Qt[t]=o),a&&($t[t]=a))}function en(e){var t=e.type,n=e.htmlBuilder,r=e.mathmlBuilder;Jt({type:t,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var tn=function(e){var t=Vt(e,"ordgroup");return t?t.body:[e]},nn=Ft.makeSpan,rn=["leftmost","mbin","mopen","mrel","mop","mpunct"],on=["rightmost","mrel","mclose","mpunct"],an={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT},sn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ln=function(e,t,n,r){void 0===r&&(r=[null,null]);for(var i=[],o=0;o<e.length;o++){var a=pn(e[o],t);if(a instanceof Z){var s=a.children;i.push.apply(i,s)}else i.push(a)}if(!n)return i;var l=t;if(1===e.length){var u=Vt(e[0],"sizing")||Vt(e[0],"styling");u&&("sizing"===u.type?l=t.havingSize(u.size):"styling"===u.type&&(l=t.havingStyle(an[u.style])))}var c=nn([r[0]||"leftmost"],[],t),d=nn([r[1]||"rightmost"],[],t);return un(i,(function(e,t){var n=t.classes[0],r=e.classes[0];"mbin"===n&&y.contains(on,r)?t.classes[0]="mord":"mbin"===r&&y.contains(rn,n)&&(e.classes[0]="mord")}),{node:c},d),un(i,(function(e,t){var n=hn(t),r=hn(e),i=n&&r?e.hasClass("mtight")?Xt[n][r]:Yt[n][r]:null;if(i)return Ft.makeGlue(i,l)}),{node:c},d),i},un=function e(t,n,r,i){i&&t.push(i);for(var o=0;o<t.length;o++){var a=t[o],s=cn(a);if(s)e(s.children,n,r);else if("mspace"!==a.classes[0]){var l=n(a,r.node);l&&(r.insertAfter?r.insertAfter(l):(t.unshift(l),o++)),r.node=a,r.insertAfter=function(e){return function(n){t.splice(e+1,0,n),o++}}(o)}}i&&t.pop()},cn=function(e){return e instanceof Z||e instanceof ne?e:null},dn=function e(t,n){var r=cn(t);if(r){var i=r.children;if(i.length){if("right"===n)return e(i[i.length-1],"right");if("left"===n)return e(i[0],"left")}}return t},hn=function(e,t){return e?(t&&(e=dn(e,t)),sn[e.classes[0]]||null):null},fn=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return nn(t.concat(n))},pn=function(e,t,n){if(!e)return nn();if(Qt[e.type]){var r=Qt[e.type](e,t);if(n&&t.size!==n.size){r=nn(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new a("Got group of unknown type: '"+e.type+"'")};function gn(e,t){var n=nn(["base"],e,t),r=nn(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function mn(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);for(var r,i=ln(e,t,!0),o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){var l=!1;while(s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("newline"))s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(gn(a,t)),a=[])}else i[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(gn(a,t)),a=[]),o.push(i[s]));a.length>0&&o.push(gn(a,t)),n&&(r=gn(ln(n,t,!0)),r.classes=["tag"],o.push(r));var u=nn(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),r){var c=r.children[0];c.style.height=u.height+u.depth+"em",c.style.verticalAlign=-u.depth+"em"}return u}function vn(e){return new Z(e)}var yn=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=y.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),bn=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return y.escape(this.toText())},t.toText=function(){return this.text},e}(),_n=function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),wn={MathNode:yn,TextNode:bn,SpaceNode:_n,newDocumentFragment:vn},xn=function(e,t,n){return!we[t][e]||!we[t][e].replace||55349===e.charCodeAt(0)||Fe.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=we[t][e].replace),new wn.TextNode(e)},Cn=function(e){return 1===e.length?e[0]:new wn.MathNode("mrow",e)},Sn=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var i=e.text;if(y.contains(["\\imath","\\jmath"],i))return null;we[r][i]&&we[r][i].replace&&(i=we[r][i].replace);var o=Ft.fontMap[n].fontName;return ge(i,o,r)?Ft.fontMap[n].variant:null},On=function(e,t,n){if(1===e.length){var r=En(e[0],t);return n&&r instanceof yn&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var i,o=[],a=0;a<e.length;a++){var s=En(e[a],t);if(s instanceof yn&&i instanceof yn){if("mtext"===s.type&&"mtext"===i.type&&s.getAttribute("mathvariant")===i.getAttribute("mathvariant")){var l;(l=i.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===i.type){var u;(u=i.children).push.apply(u,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===i.type){var c=s.children[0];if(c instanceof bn&&"."===c.text){var d;(d=i.children).push.apply(d,s.children);continue}}else if("mi"===i.type&&1===i.children.length){var h=i.children[0];if(h instanceof bn&&"\u0338"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var f=s.children[0];f instanceof bn&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(s),i=s}return o},kn=function(e,t,n){return Cn(On(e,t,n))},En=function(e,t){if(!e)return new wn.MathNode("mrow");if($t[e.type]){var n=$t[e.type](e,t);return n}throw new a("Got group of unknown type: '"+e.type+"'")};function Dn(e,t,n,r){var i,o=On(e,n);i=1===o.length&&o[0]instanceof yn&&y.contains(["mrow","mtable"],o[0].type)?o[0]:new wn.MathNode("mrow",o);var a=new wn.MathNode("annotation",[new wn.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var s=new wn.MathNode("semantics",[i,a]),l=new wn.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var u=r?"katex":"katex-mathml";return Ft.makeSpan([u],[l])}var Mn=function(e){return new ut({style:e.displayMode?R.DISPLAY:R.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Nn=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ft.makeSpan(n,[e])}return e},Ln=function(e,t,n){var r,i=Mn(n);if("mathml"===n.output)return Dn(e,t,i,!0);if("html"===n.output){var o=mn(e,i);r=Ft.makeSpan(["katex"],[o])}else{var a=Dn(e,t,i,!1),s=mn(e,i);r=Ft.makeSpan(["katex"],[a,s])}return Nn(r,n)},In=function(e,t,n){var r=Mn(n),i=mn(e,r),o=Ft.makeSpan(["katex"],[i]);return Nn(o,n)},Tn={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},Pn=function(e){var t=new wn.MathNode("mo",[new wn.TextNode(Tn[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},An={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Rn=function(e){return"ordgroup"===e.type?e.body.length:1},jn=function(e,t){function n(){var n=4e5,r=e.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],r)){var i,o,a,s=e,l=Rn(s.base);if(l>5)"widehat"===r||"widecheck"===r?(i=420,n=2364,a=.42,o=r+"4"):(i=312,n=2340,a=.34,o="tilde4");else{var u=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][u],i=[0,239,300,360,420][u],a=[0,.24,.3,.3,.36,.42][u],o=r+u):(n=[0,600,1033,2339,2340][u],i=[0,260,286,306,312][u],a=[0,.26,.286,.3,.306,.34][u],o="tilde"+u)}var c=new se(o),d=new ae([c],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+i,preserveAspectRatio:"none"});return{span:Ft.makeSvgSpan([],[d],t),minWidth:0,height:a}}var h,f,p=[],g=An[r],m=g[0],v=g[1],b=g[2],_=b/1e3,w=m.length;if(1===w){var x=g[3];h=["hide-tail"],f=[x]}else if(2===w)h=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");h=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var C=0;C<w;C++){var S=new se(m[C]),O=new ae([S],{width:"400em",height:_+"em",viewBox:"0 0 "+n+" "+b,preserveAspectRatio:f[C]+" slice"}),k=Ft.makeSvgSpan([h[C]],[O],t);if(1===w)return{span:k,minWidth:v,height:_};k.style.height=_+"em",p.push(k)}return{span:Ft.makeSpan(["stretchy"],p,t),minWidth:v,height:_}}var r=n(),i=r.span,o=r.minWidth,a=r.height;return i.height=a,i.style.height=a+"em",o>0&&(i.style.minWidth=o+"em"),i},Fn=function(e,t,n,r){var i,o=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=Ft.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(i.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new le({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new le({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new ae(s,{width:"100%",height:o+"em"});i=Ft.makeSvgSpan([],[l],r)}return i.height=o,i.style.height=o+"em",i},Bn={encloseSpan:Fn,mathMLnode:Pn,svgSpan:jn},Vn=function(e,t){var n,r,i,o=Vt(e,"supsub");o?(r=Bt(o.base,"accent"),n=r.base,o.base=n,i=ce(pn(o,t)),o.base=r):(r=Bt(e,"accent"),n=r.base);var a=pn(n,t.havingCrampedStyle()),s=r.isShifty&&y.isCharacterBox(n),l=0;if(s){var u=y.getBaseElem(n),c=pn(u,t.havingCrampedStyle());l=ue(c).skew}var d,h=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)d=Bn.svgSpan(r,t),d=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var f,p;"\\vec"===r.label?(f=Ft.staticSvg("vec",t),p=Ft.svgData.vec[1]):(f=Ft.makeOrd({mode:r.mode,text:r.label},t,"textord"),f=ue(f),f.italic=0,p=f.width),d=Ft.makeSpan(["accent-body"],[f]);var g="\\textcircled"===r.label;g&&(d.classes.push("accent-full"),h=a.height);var m=l;g||(m-=p/2),d.style.left=m+"em","\\textcircled"===r.label&&(d.style.top=".2em"),d=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:d}]},t)}var v=Ft.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=v,i.height=Math.max(v.height,i.height),i.classes[0]="mord",i):v},zn=function(e,t){var n=e.isStretchy?Bn.mathMLnode(e.label):new wn.MathNode("mo",[xn(e.label,e.mode)]),r=new wn.MathNode("mover",[En(e.base,t),n]);return r.setAttribute("accent","true"),r},Wn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Jt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!Wn.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Vn,mathmlBuilder:zn}),Jt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Vn,mathmlBuilder:zn}),Jt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:function(e,t){var n=pn(e.base,t),r=Bn.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=Ft.makeVList({positionType:"bottom",positionData:r.height+i,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:function(e,t){var n=Bn.mathMLnode(e.label),r=new wn.MathNode("munder",[En(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Hn=function(e){var t=new wn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Jt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,i=e.funcName;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,i=t.havingStyle(r.sup()),o=Ft.wrapFragment(pn(e.body,i,t),t);o.classes.push("x-arrow-pad"),e.below&&(i=t.havingStyle(r.sub()),n=Ft.wrapFragment(pn(e.below,i,t),t),n.classes.push("x-arrow-pad"));var a,s=Bn.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=o.depth),n){var c=-t.fontMetrics().axisHeight+n.height+.5*s.height+.111;a=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:n,shift:c}]},t)}else a=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ft.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=Bn.mathMLnode(e.label);if(e.body){var i=Hn(En(e.body,t));if(e.below){var o=Hn(En(e.below,t));n=new wn.MathNode("munderover",[r,o,i])}else n=new wn.MathNode("mover",[r,i])}else if(e.below){var a=Hn(En(e.below,t));n=new wn.MathNode("munder",[r,a])}else n=Hn(),n=new wn.MathNode("mover",[r,n]);return n}}),Jt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=Bt(t[0],"ordgroup"),i=r.body,o="",s=0;s<i.length;s++){var l=Bt(i[s],"textord");o+=l.text}var u=parseInt(o);if(isNaN(u))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:n.mode,text:String.fromCharCode(u)}}});var Un=function(e,t){var n=ln(e.body,t.withColor(e.color),!1);return Ft.makeFragment(n)},Kn=function(e,t){var n=On(e.body,t.withColor(e.color)),r=new wn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Jt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,r=Bt(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:tn(i)}},htmlBuilder:Un,mathmlBuilder:Kn}),Jt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=Bt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:Un,mathmlBuilder:Kn}),Jt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=n[0],a="\\cr"===i,s=!1;return a||(s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:s,newRow:a,size:o&&Bt(o,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var n=Ft.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=ft(e.size,t)+"em")),n},mathmlBuilder:function(e,t){var n=new wn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",ft(e.size,t)+"em")),n}});var Gn=function(e,t,n){var r=we.math[e]&&we.math[e].replace,i=ge(r||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},qn=function(e,t,n,r){var i=n.havingBaseStyle(t),o=Ft.makeSpan(r.concat(i.sizingClasses(n)),[e],n),a=i.sizeMultiplier/n.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},Yn=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},Xn=function(e,t,n,r,i,o){var a=Ft.makeSymbol(e,"Main-Regular",i,r),s=qn(a,t,r,o);return n&&Yn(s,r,t),s},Zn=function(e,t,n,r){return Ft.makeSymbol(e,"Size"+t+"-Regular",n,r)},Qn=function(e,t,n,r,i,o){var a=Zn(e,t,i,r),s=qn(Ft.makeSpan(["delimsizing","size"+t],[a],r),R.TEXT,r,o);return n&&Yn(s,r,R.TEXT),s},$n=function(e,t,n){var r;r="Size1-Regular"===t?"delim-size1":"delim-size4";var i=Ft.makeSpan(["delimsizinginner",r],[Ft.makeSpan([],[Ft.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},Jn={type:"kern",size:-.005},er=function(e,t,n,r,i,o){var a,s,l,u;a=l=u=e,s=null;var c="Size1-Regular";"\\uparrow"===e?l=u="\u23d0":"\\Uparrow"===e?l=u="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",u="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",u="\\Downarrow"):"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",u="\u23a3",c="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",u="\u23a6",c="Size4-Regular"):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",u="\u23a3",c="Size4-Regular"):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=u="\u23a2",c="Size4-Regular"):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",u="\u23a6",c="Size4-Regular"):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=u="\u23a5",c="Size4-Regular"):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",u="\u239d",c="Size4-Regular"):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",u="\u23a0",c="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",u="\u23a9",l="\u23aa",c="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",u="\u23a9",l="\u23aa",c="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",u="\u23ad",l="\u23aa",c="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",u="\u23a9",l="\u23aa",c="Size4-Regular");var d=Gn(a,c,i),h=d.height+d.depth,f=Gn(l,c,i),p=f.height+f.depth,g=Gn(u,c,i),m=g.height+g.depth,v=0,y=1;if(null!==s){var b=Gn(s,c,i);v=b.height+b.depth,y=2}var _=h+m+v,w=Math.max(0,Math.ceil((t-_)/(y*p))),x=_+w*y*p,C=r.fontMetrics().axisHeight;n&&(C*=r.sizeMultiplier);var S=x/2-C,O=.005*(w+1)-p,k=[];if(k.push($n(u,c,i)),null===s)for(var E=0;E<w;E++)k.push(Jn),k.push($n(l,c,i));else{for(var D=0;D<w;D++)k.push(Jn),k.push($n(l,c,i));k.push({type:"kern",size:O}),k.push($n(l,c,i)),k.push(Jn),k.push($n(s,c,i));for(var M=0;M<w;M++)k.push(Jn),k.push($n(l,c,i))}k.push({type:"kern",size:O}),k.push($n(l,c,i)),k.push(Jn),k.push($n(a,c,i));var N=r.havingBaseStyle(R.TEXT),L=Ft.makeVList({positionType:"bottom",positionData:S,children:k},N);return qn(Ft.makeSpan(["delimsizing","mult"],[L],N),R.TEXT,r,o)},tr=80,nr=.08,rr=function(e,t,n,r,i){var o=Y(e,r,n),a=new se(e,o),s=new ae([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ft.makeSvgSpan(["hide-tail"],[s],i)},ir=function(e,t){var n,r,i=t.havingBaseSizing(),o=pr("\\surd",e*i.sizeMultiplier,hr,i),a=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,u=0,c=0;return"small"===o.type?(c=1e3+1e3*s+tr,e<1?a=1:e<1.4&&(a=.7),l=(1+s+nr)/a,u=(1+s)/a,n=rr("sqrtMain",l,c,s,t),n.style.minWidth="0.853em",r=.833/a):"large"===o.type?(c=(1e3+tr)*lr[o.size],u=(lr[o.size]+s)/a,l=(lr[o.size]+s+nr)/a,n=rr("sqrtSize"+o.size,l,c,s,t),n.style.minWidth="1.02em",r=1/a):(l=e+s+nr,u=e+s,c=Math.floor(1e3*e+s)+tr,n=rr("sqrtTall",l,c,s,t),n.style.minWidth="0.742em",r=1.056),n.height=u,n.style.height=l+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},or=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],ar=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],sr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],lr=[0,1.2,1.8,2.4,3],ur=function(e,t,n,r,i){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),y.contains(or,e)||y.contains(sr,e))return Qn(e,t,!1,n,r,i);if(y.contains(ar,e))return er(e,lr[t],!1,n,r,i);throw new a("Illegal delimiter: '"+e+"'")},cr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],dr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],hr=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},pr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size),o=i;o<n.length;o++){if("stack"===n[o].type)break;var a=Gn(e,fr(n[o]),"math"),s=a.height+a.depth;if("small"===n[o].type){var l=r.havingBaseStyle(n[o].style);s*=l.sizeMultiplier}if(s>t)return n[o]}return n[n.length-1]},gr=function(e,t,n,r,i,o){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=y.contains(sr,e)?cr:y.contains(or,e)?hr:dr;var s=pr(e,t,a,r);return"small"===s.type?Xn(e,s.style,n,r,i,o):"large"===s.type?Qn(e,s.size,n,r,i,o):er(e,t,n,r,i,o)},mr=function(e,t,n,r,i,o){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,l=5/r.fontMetrics().ptPerEm,u=Math.max(t-a,n+a),c=Math.max(u/500*s,2*u-l);return gr(e,c,!0,r,i,o)},vr={sqrtImage:ir,sizedDelim:ur,customSizedDelim:gr,leftRightDelim:mr},yr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},br=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function _r(e,t){var n=Ut(e);if(n&&y.contains(br,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function wr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Jt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=_r(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:yr[e.funcName].size,mclass:yr[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ft.makeSpan([e.mclass]):vr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(xn(e.delim,e.mode));var n=new wn.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Jt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:_r(t[0],e).text,color:n}}}),Jt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=_r(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Bt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(e,t){wr(e);for(var n,r,i=ln(e.body,t,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l<i.length;l++)i[l].isMiddle?s=!0:(o=Math.max(i[l].height,o),a=Math.max(i[l].depth,a));if(o*=t.sizeMultiplier,a*=t.sizeMultiplier,n="."===e.left?fn(t,["mopen"]):vr.leftRightDelim(e.left,o,a,t,e.mode,["mopen"]),i.unshift(n),s)for(var u=1;u<i.length;u++){var c=i[u],d=c.isMiddle;d&&(i[u]=vr.leftRightDelim(d.delim,o,a,d.options,e.mode,[]))}if("."===e.right)r=fn(t,["mclose"]);else{var h=e.rightColor?t.withColor(e.rightColor):t;r=vr.leftRightDelim(e.right,o,a,h,e.mode,["mclose"])}return i.push(r),Ft.makeSpan(["minner"],i,t)},mathmlBuilder:function(e,t){wr(e);var n=On(e.body,t);if("."!==e.left){var r=new wn.MathNode("mo",[xn(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var i=new wn.MathNode("mo",[xn(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),n.push(i)}return Cn(n)}}),Jt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=_r(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:function(e,t){var n;if("."===e.delim)n=fn(t,[]);else{n=vr.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:function(e,t){var n="\\vert"===e.delim||"|"===e.delim?xn("|","text"):xn(e.delim,e.mode),r=new wn.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var xr=function(e,t){var n,r,i=Ft.wrapFragment(pn(e.body,t),t),o=e.label.substr(1),a=t.sizeMultiplier,s=0,l=y.isCharacterBox(e.body);if("sout"===o)n=Ft.makeSpan(["stretchy","sout"]),n.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else{/cancel/.test(o)?l||i.classes.push("cancel-pad"):i.classes.push("boxpad");var u=0,c=0;/box/.test(o)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),u=t.fontMetrics().fboxsep+("colorbox"===o?0:c)):u=l?.2:0,n=Bn.encloseSpan(i,o,u,t),/fbox|boxed|fcolorbox/.test(o)&&(n.style.borderStyle="solid",n.style.borderWidth=c+"em"),s=i.depth+u,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}return r=e.backgroundColor?Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:s},{type:"elem",elem:i,shift:0}]},t):Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:s,wrapperClasses:/cancel/.test(o)?["svg-align"]:[]}]},t),/cancel/.test(o)&&(r.height=i.height,r.depth=i.depth),/cancel/.test(o)&&!l?Ft.makeSpan(["mord","cancel-lap"],[r],t):Ft.makeSpan(["mord"],[r],t)},Cr=function(e,t){var n=0,r=new wn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[En(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Jt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Bt(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:xr,mathmlBuilder:Cr}),Jt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=Bt(t[0],"color-token").color,a=Bt(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:xr,mathmlBuilder:Cr}),Jt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Jt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,i=e.funcName,o=t[0];return{type:"enclose",mode:r.mode,label:i,body:o}},htmlBuilder:xr,mathmlBuilder:Cr});var Sr={};function Or(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)Sr[n[l]]=s;o&&(Qt[t]=o),a&&($t[t]=a)}function kr(e){var t=[];e.consumeSpaces();var n=e.fetch().text;while("\\hline"===n||"\\hdashline"===n)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}function Er(e,t,n){var r=t.hskipBeforeAndAfter,i=t.addJot,o=t.cols,s=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!s){var u=e.gullet.expandMacroAsText("\\arraystretch");if(null==u)s=1;else if(s=parseFloat(u),!s||s<0)throw new a("Invalid \\arraystretch: "+u)}e.gullet.beginGroup();var c=[],d=[c],h=[],f=[];f.push(kr(e));while(1){var p=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),p={type:"ordgroup",mode:e.mode,body:p},n&&(p={type:"styling",mode:e.mode,style:n,body:[p]}),c.push(p);var g=e.fetch().text;if("&"===g)e.consume();else{if("\\end"===g){1===c.length&&"styling"===p.type&&0===p.body[0].body.length&&d.pop(),f.length<d.length+1&&f.push([]);break}if("\\cr"!==g)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var m=Bt(e.parseFunction(),"cr");h.push(m.size),f.push(kr(e)),c=[],d.push(c)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:d,cols:o,rowGaps:h,hskipBeforeAndAfter:r,hLinesBeforeRow:f,colSeparationType:l}}function Dr(e){return"d"===e.substr(0,1)?"display":"text"}var Mr=function(e,t){var n,r,i=e.body.length,o=e.hLinesBeforeRow,s=0,l=new Array(i),u=[],c=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),d=1/t.fontMetrics().ptPerEm,h=5*d;if(e.colSeparationType&&"small"===e.colSeparationType){var f=t.havingStyle(R.SCRIPT).sizeMultiplier;h=f/t.sizeMultiplier*.2778}var p=12*d,g=3*d,m=e.arraystretch*p,v=.7*m,b=.3*m,_=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(_+=.25),u.push({pos:_,isDashed:e[t]})}for(w(o[0]),n=0;n<e.body.length;++n){var x=e.body[n],C=v,S=b;s<x.length&&(s=x.length);var O=new Array(x.length);for(r=0;r<x.length;++r){var k=pn(x[r],t);S<k.depth&&(S=k.depth),C<k.height&&(C=k.height),O[r]=k}var E=e.rowGaps[n],D=0;E&&(D=ft(E,t),D>0&&(D+=b,S<D&&(S=D),D=0)),e.addJot&&(S+=g),O.height=C,O.depth=S,_+=C,O.pos=_,_+=S+D,l[n]=O,w(o[n+1])}var M,N,L=_/2+t.fontMetrics().axisHeight,I=e.cols||[],T=[];for(r=0,N=0;r<s||N<I.length;++r,++N){var P=I[N]||{},A=!0;while("separator"===P.type){if(A||(M=Ft.makeSpan(["arraycolsep"],[]),M.style.width=t.fontMetrics().doubleRuleSep+"em",T.push(M)),"|"!==P.separator&&":"!==P.separator)throw new a("Invalid separator type: "+P.separator);var j="|"===P.separator?"solid":"dashed",F=Ft.makeSpan(["vertical-separator"],[],t);F.style.height=_+"em",F.style.borderRightWidth=c+"em",F.style.borderRightStyle=j,F.style.margin="0 -"+c/2+"em",F.style.verticalAlign=-(_-L)+"em",T.push(F),N++,P=I[N]||{},A=!1}if(!(r>=s)){var B=void 0;(r>0||e.hskipBeforeAndAfter)&&(B=y.deflt(P.pregap,h),0!==B&&(M=Ft.makeSpan(["arraycolsep"],[]),M.style.width=B+"em",T.push(M)));var V=[];for(n=0;n<i;++n){var z=l[n],W=z[r];if(W){var H=z.pos-L;W.depth=z.depth,W.height=z.height,V.push({type:"elem",elem:W,shift:H})}}V=Ft.makeVList({positionType:"individualShift",children:V},t),V=Ft.makeSpan(["col-align-"+(P.align||"c")],[V]),T.push(V),(r<s-1||e.hskipBeforeAndAfter)&&(B=y.deflt(P.postgap,h),0!==B&&(M=Ft.makeSpan(["arraycolsep"],[]),M.style.width=B+"em",T.push(M)))}}if(l=Ft.makeSpan(["mtable"],T),u.length>0){var U=Ft.makeLineSpan("hline",t,c),K=Ft.makeLineSpan("hdashline",t,c),G=[{type:"elem",elem:l,shift:0}];while(u.length>0){var q=u.pop(),Y=q.pos-L;q.isDashed?G.push({type:"elem",elem:K,shift:Y}):G.push({type:"elem",elem:U,shift:Y})}l=Ft.makeVList({positionType:"individualShift",children:G},t)}return Ft.makeSpan(["mord"],[l],t)},Nr={c:"center ",l:"left ",r:"right "},Lr=function(e,t){var n=new wn.MathNode("mtable",e.body.map((function(e){return new wn.MathNode("mtr",e.map((function(e){return new wn.MathNode("mtd",[En(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var i="",o="";if(e.cols){var a=e.cols,s="",l=!1,u=0,c=a.length;"separator"===a[0].type&&(i+="top ",u=1),"separator"===a[a.length-1].type&&(i+="bottom ",c-=1);for(var d=u;d<c;d++)"align"===a[d].type?(o+=Nr[a[d].align],l&&(s+="none "),l=!0):"separator"===a[d].type&&l&&(s+="|"===a[d].separator?"solid ":"dashed ",l=!1);n.setAttribute("columnalign",o.trim()),/[sd]/.test(s)&&n.setAttribute("columnlines",s.trim())}if("align"===e.colSeparationType){for(var h=e.cols||[],f="",p=1;p<h.length;p++)f+=p%2?"0em ":"1em ";n.setAttribute("columnspacing",f.trim())}else"alignat"===e.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");var g="",m=e.hLinesBeforeRow;i+=m[0].length>0?"left ":"",i+=m[m.length-1].length>0?"right ":"";for(var v=1;v<m.length-1;v++)g+=0===m[v].length?"none ":m[v][0]?"dashed ":"solid ";return/[sd]/.test(g)&&n.setAttribute("rowlines",g.trim()),""!==i&&(n=new wn.MathNode("menclose",[n]),n.setAttribute("notation",i.trim())),e.arraystretch&&e.arraystretch<1&&(n=new wn.MathNode("mstyle",[n]),n.setAttribute("scriptlevel","1")),n},Ir=function(e,t){var n,r=[],i=Er(e.parser,{cols:r,addJot:!0},"display"),o=0,s={type:"ordgroup",mode:e.mode,body:[]},l=Vt(t[0],"ordgroup");if(l){for(var u="",c=0;c<l.body.length;c++){var d=Bt(l.body[c],"textord");u+=d.text}n=Number(u),o=2*n}var h=!o;i.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var r=Bt(e[t],"styling"),i=Bt(r.body[0],"ordgroup");i.body.unshift(s)}if(h)o<e.length&&(o=e.length);else{var l=e.length/2;if(n<l)throw new a("Too many math in a row: expected "+n+", but got "+l,e[0])}}));for(var f=0;f<o;++f){var p="r",g=0;f%2===1?p="l":f>0&&h&&(g=1),r[f]={type:"align",align:p,pregap:g,postgap:0}}return i.colSeparationType=h?"align":"alignat",i};Or({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=Ut(t[0]),r=n?[t[0]]:Bt(t[0],"ordgroup").body,i=r.map((function(e){var t=Ht(e),n=t.text;if(-1!=="lcr".indexOf(n))return{type:"align",align:n};if("|"===n)return{type:"separator",separator:"|"};if(":"===n)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+n,e)})),o={cols:i,hskipBeforeAndAfter:!0};return Er(e.parser,o,Dr(e.envName))},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={hskipBeforeAndAfter:!1},r=Er(e.parser,n,Dr(e.envName));return t?{type:"leftright",mode:e.mode,body:[r],left:t[0],right:t[1],rightColor:void 0}:r},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},n=Er(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=Ut(t[0]),r=n?[t[0]]:Bt(t[0],"ordgroup").body,i=r.map((function(e){var t=Ht(e),n=t.text;if(-1!=="lc".indexOf(n))return{type:"align",align:n};throw new a("Unknown column alignment: "+n,e)}));if(i.length>1)throw new a("{subarray} can contain only one column");var o={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Er(e.parser,o,"script"),o.body[0].length>1)throw new a("{subarray} can contain only one column");return o},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Er(e.parser,t,Dr(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["aligned"],props:{numArgs:0},handler:Ir,htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={cols:[{type:"align",align:"c"}],addJot:!0};return Er(e.parser,t,"display")},htmlBuilder:Mr,mathmlBuilder:Lr}),Or({type:"array",names:["alignedat"],props:{numArgs:1},handler:Ir,htmlBuilder:Mr,mathmlBuilder:Lr}),Jt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Tr=Sr,Pr=Tr;Jt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];if("ordgroup"!==i.type)throw new a("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=Bt(i.body[s],"textord").text;if("\\begin"===r){if(!Pr.hasOwnProperty(o))throw new a("No such environment: "+o,i);var l=Pr[o],u=n.parseArguments("\\begin{"+o+"}",l),c=u.args,d=u.optArgs,h={mode:n.mode,envName:o,parser:n},f=l.handler(h,c,d);n.expect("\\end",!1);var p=n.nextToken,g=Bt(n.parseFunction(),"environment");if(g.name!==o)throw new a("Mismatch: \\begin{"+o+"} matched by \\end{"+g.name+"}",p);return f}return{type:"environment",mode:n.mode,name:o,nameGroup:i}}});var Ar=Ft.makeSpan;function Rr(e,t){var n=ln(e.body,t,!0);return Ar([e.mclass],n,t)}function jr(e,t){var n,r=On(e.body,t);return"minner"===e.mclass?wn.newDocumentFragment(r):("mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new wn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new wn.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}Jt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.substr(5),body:tn(i),isCharacterBox:y.isCharacterBox(i)}},htmlBuilder:Rr,mathmlBuilder:jr});var Fr=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Jt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var n=e.parser;return{type:"mclass",mode:n.mode,mclass:Fr(t[0]),body:[t[1]],isCharacterBox:y.isCharacterBox(t[1])}}}),Jt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[1],a=t[0];n="\\stackrel"!==i?Fr(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:tn(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:y.isCharacterBox(l)}},htmlBuilder:Rr,mathmlBuilder:jr});var Br=function(e,t){var n=e.font,r=t.withFont(n);return pn(e.body,r)},Vr=function(e,t){var n=e.font,r=t.withFont(n);return En(e.body,r)},zr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Jt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0],o=r;return o in zr&&(o=zr[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:Br,mathmlBuilder:Vr}),Jt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=t[0],i=y.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Fr(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),Jt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText,o=n.mode,a=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Br,mathmlBuilder:Vr});var Wr=function(e,t){var n=t;return"display"===e?n=n.id>=R.SCRIPT.id?n.text():R.DISPLAY:"text"===e&&n.size===R.DISPLAY.size?n=R.TEXT:"script"===e?n=R.SCRIPT:"scriptscript"===e&&(n=R.SCRIPTSCRIPT),n},Hr=function(e,t){var n,r=Wr(e.size,t.style),i=r.fracNum(),o=r.fracDen();n=t.havingStyle(i);var a=pn(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}n=t.havingStyle(o);var u,c,d,h,f,p,g,m,v,y,b=pn(e.denom,n,t);if(e.hasBarLine?(e.barSize?(c=ft(e.barSize,t),u=Ft.makeLineSpan("frac-line",t,c)):u=Ft.makeLineSpan("frac-line",t),c=u.height,d=u.height):(u=null,c=0,d=t.fontMetrics().defaultRuleThickness),r.size===R.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,f=c>0?3*d:7*d,p=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,f=d):(h=t.fontMetrics().num3,f=3*d),p=t.fontMetrics().denom2),u){var _=t.fontMetrics().axisHeight;h-a.depth-(_+.5*c)<f&&(h+=f-(h-a.depth-(_+.5*c))),_-.5*c-(b.height-p)<f&&(p+=f-(_-.5*c-(b.height-p)));var w=-(_-.5*c);g=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:u,shift:w},{type:"elem",elem:a,shift:-h}]},t)}else{var x=h-a.depth-(b.height-p);x<f&&(h+=.5*(f-x),p+=.5*(f-x)),g=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:a,shift:-h}]},t)}return n=t.havingStyle(r),g.height*=n.sizeMultiplier/t.sizeMultiplier,g.depth*=n.sizeMultiplier/t.sizeMultiplier,m=r.size===R.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,v=null==e.leftDelim?fn(t,["mopen"]):vr.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(r),e.mode,["mopen"]),y=e.continued?Ft.makeSpan([]):null==e.rightDelim?fn(t,["mclose"]):vr.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(r),e.mode,["mclose"]),Ft.makeSpan(["mord"].concat(n.sizingClasses(t)),[v,Ft.makeSpan(["mfrac"],[g]),y],t)},Ur=function(e,t){var n=new wn.MathNode("mfrac",[En(e.numer,t),En(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=ft(e.barSize,t);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");var i=Wr(e.size,t.style);if(i.size!==t.style.size){n=new wn.MathNode("mstyle",[n]);var o=i.size===R.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new wn.MathNode("mo",[new wn.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new wn.MathNode("mo",[new wn.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return Cn(a)}return n};Jt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n,r=e.parser,i=e.funcName,o=t[0],a=t[1],s=null,l=null,u="auto";switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\cfrac":case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:"\\cfrac"===i,numer:o,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:Hr,mathmlBuilder:Ur}),Jt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,n=e.parser,r=e.funcName,i=e.token;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:i}}});var Kr=["display","text","script","scriptscript"],Gr=function(e){var t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Jt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],i=t[5],o=Vt(t[0],"atom");o&&(o=zt(t[0],"open"));var a=o?Gr(o.text):null,s=Vt(t[1],"atom");s&&(s=zt(t[1],"close"));var l,u=s?Gr(s.text):null,c=Bt(t[2],"size"),d=null;c.isBlank?l=!0:(d=c.value,l=d.number>0);var h="auto",f=Vt(t[3],"ordgroup");if(f){if(f.body.length>0){var p=Bt(f.body[0],"textord");h=Kr[Number(p.text)]}}else f=Bt(t[3],"textord"),h=Kr[Number(f.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:l,barSize:d,leftDelim:a,rightDelim:u,size:h}},htmlBuilder:Hr,mathmlBuilder:Ur}),Jt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Bt(t[0],"size").value,token:r}}}),Jt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),i=m(Bt(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Hr,mathmlBuilder:Ur});var qr=function(e,t){var n,r,i=t.style,o=Vt(e,"supsub");o?(n=o.sup?pn(o.sup,t.havingStyle(i.sup()),t):pn(o.sub,t.havingStyle(i.sub()),t),r=Bt(o.base,"horizBrace")):r=Bt(e,"horizBrace");var a,s=pn(r.base,t.havingBaseStyle(R.DISPLAY)),l=Bn.svgSpan(r,t);if(r.isOver?(a=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=Ft.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),n){var u=Ft.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ft.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return Ft.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)},Yr=function(e,t){var n=Bn.mathMLnode(e.label);return new wn.MathNode(e.isOver?"mover":"munder",[En(e.base,t),n])};Jt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:qr,mathmlBuilder:Yr}),Jt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],i=Bt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:tn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=ln(e.body,t,!1);return Ft.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kn(e.body,t);return n instanceof yn||(n=new yn("mrow",[n])),n.setAttribute("href",e.href),n}}),Jt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Bt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<r.length;o++){var a=r[o];"~"===a&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:tn(s)}}}),Jt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"htmlmathml",mode:n.mode,html:tn(t[0]),mathml:tn(t[1])}},htmlBuilder:function(e,t){var n=ln(e.html,t,!1);return Ft.makeFragment(n)},mathmlBuilder:function(e,t){return kn(e.mathml,t)}});var Xr=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!ht(n))throw new a("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Jt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,n){var r=e.parser,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(n[0])for(var u=Bt(n[0],"raw").string,c=u.split(","),d=0;d<c.length;d++){var h=c[d].split("=");if(2===h.length){var f=h[1].trim();switch(h[0].trim()){case"alt":l=f;break;case"width":i=Xr(f);break;case"height":o=Xr(f);break;case"totalheight":s=Xr(f);break;default:throw new a("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var p=Bt(t[0],"url").url;return""===l&&(l=p,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:r.mode,alt:l,width:i,height:o,totalheight:s,src:p}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var n=ft(e.height,t),r=0;e.totalheight.number>0&&(r=ft(e.totalheight,t)-n,r=Number(r.toFixed(2)));var i=0;e.width.number>0&&(i=ft(e.width,t));var o={height:n+r+"em"};i>0&&(o.width=i+"em"),r>0&&(o.verticalAlign=-r+"em");var a=new re(e.src,e.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new wn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ft(e.height,t),i=0;if(e.totalheight.number>0&&(i=ft(e.totalheight,t)-r,i=i.toFixed(2),n.setAttribute("valign","-"+i+"em")),n.setAttribute("height",r+i+"em"),e.width.number>0){var o=ft(e.width,t);n.setAttribute("width",o+"em")}return n.setAttribute("src",e.src),n}}),Jt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=Bt(t[0],"size");if(n.settings.strict){var o="m"===r[1],a="mu"===i.value.unit;o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:function(e,t){return Ft.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=ft(e.dimension,t);return new wn.SpaceNode(n)}}),Jt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ft.makeSpan([],[pn(e.body,t)]),n=Ft.makeSpan(["inner"],[n],t)):n=Ft.makeSpan(["inner"],[pn(e.body,t)]);var r=Ft.makeSpan(["fix"],[]),i=Ft.makeSpan([e.alignment],[n,r],t),o=Ft.makeSpan(["strut"]);return o.style.height=i.height+i.depth+"em",o.style.verticalAlign=-i.depth+"em",i.children.unshift(o),i=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},t),Ft.makeSpan(["mord"],[i],t)},mathmlBuilder:function(e,t){var n=new wn.MathNode("mpadded",[En(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),Jt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode("math");var o="\\("===n?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}}),Jt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Zr=function(e,t){switch(t.style.size){case R.DISPLAY.size:return e.display;case R.TEXT.size:return e.text;case R.SCRIPT.size:return e.script;case R.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Jt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){var n=e.parser;return{type:"mathchoice",mode:n.mode,display:tn(t[0]),text:tn(t[1]),script:tn(t[2]),scriptscript:tn(t[3])}},htmlBuilder:function(e,t){var n=Zr(e,t),r=ln(n,t,!1);return Ft.makeFragment(r)},mathmlBuilder:function(e,t){var n=Zr(e,t);return kn(n,t)}});var Qr=function(e,t,n,r,i,o,a){var s,l,u;if(e=Ft.makeSpan([],[e]),t){var c=pn(t,r.havingStyle(i.sup()),r);l={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-c.depth)}}if(n){var d=pn(n,r.havingStyle(i.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var h=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;u=Ft.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var f=e.height-a;u=Ft.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var p=e.depth+a;u=Ft.makeVList({positionType:"bottom",positionData:p,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ft.makeSpan(["mop","op-limits"],[u],r)},$r=["\\smallint"],Jr=function(e,t){var n,r,i,o=!1,a=Vt(e,"supsub");a?(n=a.sup,r=a.sub,i=Bt(a.base,"op"),o=!0):i=Bt(e,"op");var s,l=t.style,u=!1;if(l.size===R.DISPLAY.size&&i.symbol&&!y.contains($r,i.name)&&(u=!0),i.symbol){var c=u?"Size2-Regular":"Size1-Regular",d="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(d=i.name.substr(1),i.name="oiint"===d?"\\iint":"\\iiint"),s=Ft.makeSymbol(i.name,c,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),d.length>0){var h=s.italic,f=Ft.staticSvg(d+"Size"+(u?"2":"1"),t);s=Ft.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:f,shift:u?.08:0}]},t),i.name="\\"+d,s.classes.unshift("mop"),s.italic=h}}else if(i.body){var p=ln(i.body,t,!0);1===p.length&&p[0]instanceof oe?(s=p[0],s.classes[0]="mop"):s=Ft.makeSpan(["mop"],Ft.tryCombineChars(p),t)}else{for(var g=[],m=1;m<i.name.length;m++)g.push(Ft.mathsym(i.name[m],i.mode,t));s=Ft.makeSpan(["mop"],g,t)}var v=0,b=0;return(s instanceof oe||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(v=(s.height-s.depth)/2-t.fontMetrics().axisHeight,b=s.italic),o?Qr(s,n,r,t,l,b,v):(v&&(s.style.position="relative",s.style.top=v+"em"),s)},ei=function(e,t){var n;if(e.symbol)n=new yn("mo",[xn(e.name,e.mode)]),y.contains($r,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new yn("mo",On(e.body,t));else{n=new yn("mi",[new bn(e.name.slice(1))]);var r=new yn("mo",[xn("\u2061","text")]);n=e.parentIsSupSub?new yn("mo",[n,r]):vn([n,r])}return n},ti={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Jt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var n=e.parser,r=e.funcName,i=r;return 1===i.length&&(i=ti[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Jr,mathmlBuilder:ei}),Jt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tn(r)}},htmlBuilder:Jr,mathmlBuilder:ei});var ni={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};Jt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Jr,mathmlBuilder:ei}),Jt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Jr,mathmlBuilder:ei}),Jt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName,r=n;return 1===r.length&&(r=ni[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Jr,mathmlBuilder:ei});var ri=function(e,t){var n,r,i,o,a=!1,s=Vt(e,"supsub");if(s?(n=s.sup,r=s.sub,i=Bt(s.base,"operatorname"),a=!0):i=Bt(e,"operatorname"),i.body.length>0){for(var l=i.body.map((function(e){var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),u=ln(l,t.withFont("mathrm"),!0),c=0;c<u.length;c++){var d=u[c];d instanceof oe&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=Ft.makeSpan(["mop"],u,t)}else o=Ft.makeSpan(["mop"],[],t);return a?Qr(o,n,r,t,t.style,0,0):o},ii=function(e,t){for(var n=On(e.body,t.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var o=n[i];if(o instanceof wn.SpaceNode);else if(o instanceof wn.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=o.children[0];1===o.children.length&&a instanceof wn.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break;default:r=!1}else r=!1}if(r){var s=n.map((function(e){return e.toText()})).join("");n=[new wn.TextNode(s)]}var l=new wn.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new wn.MathNode("mo",[xn("\u2061","text")]);return e.parentIsSupSub?new wn.MathNode("mo",[l,u]):wn.newDocumentFragment([l,u])};function oi(e,t,n){for(var r=ln(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,o=0;o<r.length;o++){var a=r[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[o].classes,t.sizingClasses(n)):r[o].classes[a+1]==="reset-size"+t.size&&(r[o].classes[a+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return Ft.makeFragment(r)}Jt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"operatorname",mode:n.mode,body:tn(i),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:ri,mathmlBuilder:ii}),en({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Ft.makeFragment(ln(e.body,t,!1)):Ft.makeSpan(["mord"],ln(e.body,t,!0),t)},mathmlBuilder:function(e,t){return kn(e.body,t,!0)}}),Jt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=pn(e.body,t.havingCrampedStyle()),r=Ft.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Ft.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var n=new wn.MathNode("mo",[new wn.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new wn.MathNode("mover",[En(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Jt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"phantom",mode:n.mode,body:tn(r)}},htmlBuilder:function(e,t){var n=ln(e.body,t.withPhantom(),!1);return Ft.makeFragment(n)},mathmlBuilder:function(e,t){var n=On(e.body,t);return new wn.MathNode("mphantom",n)}}),Jt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ft.makeSpan([],[pn(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Ft.makeSpan(["mord"],[n],t)},mathmlBuilder:function(e,t){var n=On(tn(e.body),t),r=new wn.MathNode("mphantom",n),i=new wn.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Jt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ft.makeSpan(["inner"],[pn(e.body,t.withPhantom())]),r=Ft.makeSpan(["fix"],[]);return Ft.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=On(tn(e.body),t),r=new wn.MathNode("mphantom",n),i=new wn.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),Jt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=Bt(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder:function(e,t){var n=pn(e.body,t),r=ft(e.dy,t);return Ft.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new wn.MathNode("mpadded",[En(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Jt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=e.parser,i=n[0],o=Bt(t[0],"size"),a=Bt(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Bt(i,"size").value,width:o.value,height:a.value}},htmlBuilder:function(e,t){var n=Ft.makeSpan(["mord","rule"],[],t),r=ft(e.width,t),i=ft(e.height,t),o=e.shift?ft(e.shift,t):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=i+"em",n.style.bottom=o+"em",n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder:function(e,t){var n=ft(e.width,t),r=ft(e.height,t),i=e.shift?ft(e.shift,t):0,o=t.color&&t.getColor()||"black",a=new wn.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");var s=new wn.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height","+"+i+"em"):(s.setAttribute("height",i+"em"),s.setAttribute("depth","+"+-i+"em")),s.setAttribute("voffset",i+"em"),s}});var ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],si=function(e,t){var n=t.havingSize(e.size);return oi(e.body,n,t)};Jt({type:"sizing",names:ai,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:ai.indexOf(r)+1,body:o}},htmlBuilder:si,mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=On(e.body,n),i=new wn.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}}),Jt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,i=!1,o=!1,a=n[0]&&Bt(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var u=a.body[l];if(s=u.text,"t"===s)i=!0;else{if("b"!==s){i=!1,o=!1;break}o=!0}}else i=!0,o=!0;var c=t[0];return{type:"smash",mode:r.mode,body:c,smashHeight:i,smashDepth:o}},htmlBuilder:function(e,t){var n=Ft.makeSpan([],[pn(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var o=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new wn.MathNode("mpadded",[En(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Jt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,i=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder:function(e,t){var n=pn(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ft.wrapFragment(n,t);var r=t.fontMetrics(),i=r.defaultRuleThickness,o=i;t.style.id<R.TEXT.id&&(o=t.fontMetrics().xHeight);var a=i+o/4,s=n.height+n.depth+a+i,l=vr.sqrtImage(s,t),u=l.span,c=l.ruleWidth,d=l.advanceWidth,h=u.height-c;h>n.height+n.depth+a&&(a=(a+h-n.height-n.depth)/2);var f=u.height-n.height-a-c;n.style.paddingLeft=d+"em";var p=Ft.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:u},{type:"kern",size:c}]},t);if(e.index){var g=t.havingStyle(R.SCRIPTSCRIPT),m=pn(e.index,g,t),v=.6*(p.height-p.depth),y=Ft.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),b=Ft.makeSpan(["root"],[y]);return Ft.makeSpan(["mord","sqrt"],[b,p],t)}return Ft.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new wn.MathNode("mroot",[En(n,t),En(r,t)]):new wn.MathNode("msqrt",[En(n,t)])}});var li={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};Jt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder:function(e,t){var n=li[e.style],r=t.havingStyle(n).withFont("");return oi(e.body,r,t)},mathmlBuilder:function(e,t){var n=li[e.style],r=t.havingStyle(n),i=On(e.body,r),o=new wn.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var ui=function(e,t){var n=e.base;if(n){if("op"===n.type){var r=n.limits&&(t.style.size===R.DISPLAY.size||n.alwaysHandleSupSub);return r?Jr:null}if("operatorname"===n.type){var i=n.alwaysHandleSupSub&&(t.style.size===R.DISPLAY.size||n.limits);return i?ri:null}if("accent"===n.type)return y.isCharacterBox(n.base)?Vn:null;if("horizBrace"===n.type){var o=!e.sub;return o===n.isOver?qr:null}return null}return null};en({type:"supsub",htmlBuilder:function(e,t){var n=ui(e,t);if(n)return n(e,t);var r,i,o,a=e.base,s=e.sup,l=e.sub,u=pn(a,t),c=t.fontMetrics(),d=0,h=0,f=a&&y.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());r=pn(s,p,t),f||(d=u.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());i=pn(l,g,t),f||(h=u.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}o=t.style===R.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var m,v=t.sizeMultiplier,b=.5/c.ptPerEm/v+"em",_=null;if(i){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(u instanceof oe||w)&&(_=-u.italic+"em")}if(r&&i){d=Math.max(d,o,r.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var x=c.defaultRuleThickness,C=4*x;if(d-r.depth-(i.height-h)<C){h=C-(d-r.depth)+i.height;var S=.8*c.xHeight-(d-r.depth);S>0&&(d+=S,h-=S)}var O=[{type:"elem",elem:i,shift:h,marginRight:b,marginLeft:_},{type:"elem",elem:r,shift:-d,marginRight:b}];m=Ft.makeVList({positionType:"individualShift",children:O},t)}else if(i){h=Math.max(h,c.sub1,i.height-.8*c.xHeight);var k=[{type:"elem",elem:i,marginLeft:_,marginRight:b}];m=Ft.makeVList({positionType:"shift",positionData:h,children:k},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");d=Math.max(d,o,r.depth+.25*c.xHeight),m=Ft.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:r,marginRight:b}]},t)}var E=hn(u,"right")||"mord";return Ft.makeSpan([E],[u,Ft.makeSpan(["msupsub"],[m])],t)},mathmlBuilder:function(e,t){var n,r,i=!1,o=Vt(e.base,"horizBrace");o&&(r=!!e.sup,r===o.isOver&&(i=!0,n=o.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,s=[En(e.base,t)];if(e.sub&&s.push(En(e.sub,t)),e.sup&&s.push(En(e.sup,t)),i)a=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;a=l&&"op"===l.type&&l.limits&&t.style===R.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===R.DISPLAY||l.limits)?"munderover":"msubsup"}else{var u=e.base;a=u&&"op"===u.type&&u.limits&&(t.style===R.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||t.style===R.DISPLAY)?"munder":"msub"}else{var c=e.base;a=c&&"op"===c.type&&c.limits&&(t.style===R.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===R.DISPLAY)?"mover":"msup"}var d=new wn.MathNode(a,s);return d}}),en({type:"atom",htmlBuilder:function(e,t){return Ft.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new wn.MathNode("mo",[xn(e.text,e.mode)]);if("bin"===e.family){var r=Sn(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var ci={mi:"italic",mn:"normal",mtext:"normal"};en({type:"mathord",htmlBuilder:function(e,t){return Ft.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new wn.MathNode("mi",[xn(e.text,e.mode,t)]),r=Sn(e,t)||"italic";return r!==ci[n.type]&&n.setAttribute("mathvariant",r),n}}),en({type:"textord",htmlBuilder:function(e,t){return Ft.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=xn(e.text,e.mode,t),i=Sn(e,t)||"normal";return n="text"===e.mode?new wn.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new wn.MathNode("mn",[r]):"\\prime"===e.text?new wn.MathNode("mo",[r]):new wn.MathNode("mi",[r]),i!==ci[n.type]&&n.setAttribute("mathvariant",i),n}});var di={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};en({type:"spacing",htmlBuilder:function(e,t){if(hi.hasOwnProperty(e.text)){var n=hi[e.text].className||"";if("text"===e.mode){var r=Ft.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ft.makeSpan(["mspace",n],[Ft.mathsym(e.text,e.mode,t)],t)}if(di.hasOwnProperty(e.text))return Ft.makeSpan(["mspace",di[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){var n;if(!hi.hasOwnProperty(e.text)){if(di.hasOwnProperty(e.text))return new wn.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return n=new wn.MathNode("mtext",[new wn.TextNode("\xa0")]),n}});var fi=function(){var e=new wn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};en({type:"tag",mathmlBuilder:function(e,t){var n=new wn.MathNode("mtable",[new wn.MathNode("mtr",[fi(),new wn.MathNode("mtd",[kn(e.body,t)]),fi(),new wn.MathNode("mtd",[kn(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},gi={"\\textbf":"textbf","\\textmd":"textmd"},mi={"\\textit":"textit","\\textup":"textup"},vi=function(e,t){var n=e.font;return n?pi[n]?t.withTextFontFamily(pi[n]):gi[n]?t.withTextFontWeight(gi[n]):t.withTextFontShape(mi[n]):t};Jt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:"text",mode:n.mode,body:tn(i),font:r}},htmlBuilder:function(e,t){var n=vi(e,t),r=ln(e.body,n,!0);return Ft.makeSpan(["mord","text"],Ft.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=vi(e,t);return kn(e.body,n)}}),Jt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder:function(e,t){var n=pn(e.body,t),r=Ft.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Ft.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Ft.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var n=new wn.MathNode("mo",[new wn.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new wn.MathNode("munder",[En(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Jt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=yi(e),r=[],i=t.havingStyle(t.style.text()),o=0;o<n.length;o++){var a=n[o];"~"===a&&(a="\\textasciitilde"),r.push(Ft.makeSymbol(a,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Ft.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Ft.tryCombineChars(r),i)},mathmlBuilder:function(e,t){var n=new wn.TextNode(yi(e)),r=new wn.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var yi=function(e){return e.body.replace(/ /g,e.star?"\u2423":"\xa0")},bi=Zt,_i=bi,wi="[ \r\n\t]",xi="\\\\[a-zA-Z@]+",Ci="\\\\[^\ud800-\udfff]",Si=""+xi+wi+"*",Oi=new RegExp("^("+xi+")"+wi+"*$"),ki="[\u0300-\u036f]",Ei=new RegExp(ki+"+$"),Di="("+wi+"+)|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+ki+"*|[\ud800-\udbff][\udc00-\udfff]"+ki+"*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|"+Si+"|"+Ci+")",Mi=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Di,"g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new i("EOF",new r(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new i(e[t],new r(this,t,t+1)));var o=n[2]||" ";if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}var l=o.match(Oi);return l&&(o=l[1]),new i(o,new r(this,t,this.tokenRegex.lastIndex))},e}(),Ni=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}this.current[e]=t},e}(),Li={},Ii=Li;function Ti(e,t){Li[e]=t}Ti("\\@firstoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Ti("\\@secondoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Ti("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Ti("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ti("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Pi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Ti("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(r=Pi[n.text],null==r||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);var i;while(null!=(i=Pi[e.future().text])&&i<t)r*=t,r+=i,e.popToken()}return"\\@char{"+r+"}"}));var Ai=function(e,t){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\gdef's first argument must be a macro name");var r=n[0].text,i=0;n=e.consumeArgs(1)[0];while(1===n.length&&"#"===n[0].text){if(n=e.consumeArgs(1)[0],1!==n.length)throw new a('Invalid argument number length "'+n.length+'"');if(!/^[1-9]$/.test(n[0].text))throw new a('Invalid argument number "'+n[0].text+'"');if(i++,parseInt(n[0].text)!==i)throw new a('Argument number "'+n[0].text+'" out of order');n=e.consumeArgs(1)[0]}return e.macros.set(r,{tokens:n,numArgs:i},t),""};Ti("\\gdef",(function(e){return Ai(e,!0)})),Ti("\\def",(function(e){return Ai(e,!1)})),Ti("\\global",(function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var n=t[0].text;if("\\def"===n)return Ai(e,!0);throw new a("Invalid command '"+n+"' after \\global")}));var Ri=function(e,t,n){var r=e.consumeArgs(1)[0];if(1!==r.length)throw new a("\\newcommand's first argument must be a macro name");var i=r[0].text,o=e.isDefined(i);if(o&&!t)throw new a("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!o&&!n)throw new a("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(r=e.consumeArgs(1)[0],1===r.length&&"["===r[0].text){var l="",u=e.expandNextToken();while("]"!==u.text&&"EOF"!==u.text)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),r=e.consumeArgs(1)[0]}return e.macros.set(i,{tokens:r,numArgs:s}),""};Ti("\\newcommand",(function(e){return Ri(e,!1,!0)})),Ti("\\renewcommand",(function(e){return Ri(e,!0,!1)})),Ti("\\providecommand",(function(e){return Ri(e,!0,!0)})),Ti("\\bgroup","{"),Ti("\\egroup","}"),Ti("\\lq","`"),Ti("\\rq","'"),Ti("\\aa","\\r a"),Ti("\\AA","\\r A"),Ti("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Ti("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ti("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Ti("\u212c","\\mathscr{B}"),Ti("\u2130","\\mathscr{E}"),Ti("\u2131","\\mathscr{F}"),Ti("\u210b","\\mathscr{H}"),Ti("\u2110","\\mathscr{I}"),Ti("\u2112","\\mathscr{L}"),Ti("\u2133","\\mathscr{M}"),Ti("\u211b","\\mathscr{R}"),Ti("\u212d","\\mathfrak{C}"),Ti("\u210c","\\mathfrak{H}"),Ti("\u2128","\\mathfrak{Z}"),Ti("\\Bbbk","\\Bbb{k}"),Ti("\xb7","\\cdotp"),Ti("\\llap","\\mathllap{\\textrm{#1}}"),Ti("\\rlap","\\mathrlap{\\textrm{#1}}"),Ti("\\clap","\\mathclap{\\textrm{#1}}"),Ti("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ti("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ti("\\ne","\\neq"),Ti("\u2260","\\neq"),Ti("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ti("\u2209","\\notin"),Ti("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ti("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ti("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Ti("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Ti("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Ti("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Ti("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Ti("\u27c2","\\perp"),Ti("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Ti("\u220c","\\notni"),Ti("\u231c","\\ulcorner"),Ti("\u231d","\\urcorner"),Ti("\u231e","\\llcorner"),Ti("\u231f","\\lrcorner"),Ti("\xa9","\\copyright"),Ti("\xae","\\textregistered"),Ti("\ufe0f","\\textregistered"),Ti("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Ti("\u22ee","\\vdots"),Ti("\\varGamma","\\mathit{\\Gamma}"),Ti("\\varDelta","\\mathit{\\Delta}"),Ti("\\varTheta","\\mathit{\\Theta}"),Ti("\\varLambda","\\mathit{\\Lambda}"),Ti("\\varXi","\\mathit{\\Xi}"),Ti("\\varPi","\\mathit{\\Pi}"),Ti("\\varSigma","\\mathit{\\Sigma}"),Ti("\\varUpsilon","\\mathit{\\Upsilon}"),Ti("\\varPhi","\\mathit{\\Phi}"),Ti("\\varPsi","\\mathit{\\Psi}"),Ti("\\varOmega","\\mathit{\\Omega}"),Ti("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ti("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Ti("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ti("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ti("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ti("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ji={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Ti("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in ji?t=ji[n]:("\\not"===n.substr(0,4)||n in we.math&&y.contains(["bin","rel"],we.math[n].group))&&(t="\\dotsb"),t}));var Fi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Ti("\\dotso",(function(e){var t=e.future().text;return t in Fi?"\\ldots\\,":"\\ldots"})),Ti("\\dotsc",(function(e){var t=e.future().text;return t in Fi&&","!==t?"\\ldots\\,":"\\ldots"})),Ti("\\cdots",(function(e){var t=e.future().text;return t in Fi?"\\@cdots\\,":"\\@cdots"})),Ti("\\dotsb","\\cdots"),Ti("\\dotsm","\\cdots"),Ti("\\dotsi","\\!\\cdots"),Ti("\\dotsx","\\ldots\\,"),Ti("\\DOTSI","\\relax"),Ti("\\DOTSB","\\relax"),Ti("\\DOTSX","\\relax"),Ti("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ti("\\,","\\tmspace+{3mu}{.1667em}"),Ti("\\thinspace","\\,"),Ti("\\>","\\mskip{4mu}"),Ti("\\:","\\tmspace+{4mu}{.2222em}"),Ti("\\medspace","\\:"),Ti("\\;","\\tmspace+{5mu}{.2777em}"),Ti("\\thickspace","\\;"),Ti("\\!","\\tmspace-{3mu}{.1667em}"),Ti("\\negthinspace","\\!"),Ti("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ti("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ti("\\enspace","\\kern.5em "),Ti("\\enskip","\\hskip.5em\\relax"),Ti("\\quad","\\hskip1em\\relax"),Ti("\\qquad","\\hskip2em\\relax"),Ti("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ti("\\tag@paren","\\tag@literal{({#1})}"),Ti("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Ti("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ti("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ti("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ti("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ti("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Ti("\\\\","\\newline"),Ti("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Bi=de["Main-Regular"]["T".charCodeAt(0)][1]-.7*de["Main-Regular"]["A".charCodeAt(0)][1]+"em";Ti("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Bi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Ti("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Bi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Ti("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ti("\\@hspace","\\hskip #1\\relax"),Ti("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ti("\\ordinarycolon",":"),Ti("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ti("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ti("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ti("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ti("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ti("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ti("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ti("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ti("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ti("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ti("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ti("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ti("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ti("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ti("\u2237","\\dblcolon"),Ti("\u2239","\\eqcolon"),Ti("\u2254","\\coloneqq"),Ti("\u2255","\\eqqcolon"),Ti("\u2a74","\\Coloneqq"),Ti("\\ratio","\\vcentcolon"),Ti("\\coloncolon","\\dblcolon"),Ti("\\colonequals","\\coloneqq"),Ti("\\coloncolonequals","\\Coloneqq"),Ti("\\equalscolon","\\eqqcolon"),Ti("\\equalscoloncolon","\\Eqqcolon"),Ti("\\colonminus","\\coloneq"),Ti("\\coloncolonminus","\\Coloneq"),Ti("\\minuscolon","\\eqcolon"),Ti("\\minuscoloncolon","\\Eqcolon"),Ti("\\coloncolonapprox","\\Colonapprox"),Ti("\\coloncolonsim","\\Colonsim"),Ti("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ti("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ti("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ti("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ti("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Ti("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ti("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ti("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ti("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ti("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ti("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ti("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ti("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ti("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ti("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ti("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ti("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ti("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Ti("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Ti("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Ti("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Ti("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Ti("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Ti("\u27e6","\\llbracket"),Ti("\u27e7","\\rrbracket"),Ti("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ti("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ti("\u2983","\\lBrace"),Ti("\u2984","\\rBrace"),Ti("\\darr","\\downarrow"),Ti("\\dArr","\\Downarrow"),Ti("\\Darr","\\Downarrow"),Ti("\\lang","\\langle"),Ti("\\rang","\\rangle"),Ti("\\uarr","\\uparrow"),Ti("\\uArr","\\Uparrow"),Ti("\\Uarr","\\Uparrow"),Ti("\\N","\\mathbb{N}"),Ti("\\R","\\mathbb{R}"),Ti("\\Z","\\mathbb{Z}"),Ti("\\alef","\\aleph"),Ti("\\alefsym","\\aleph"),Ti("\\Alpha","\\mathrm{A}"),Ti("\\Beta","\\mathrm{B}"),Ti("\\bull","\\bullet"),Ti("\\Chi","\\mathrm{X}"),Ti("\\clubs","\\clubsuit"),Ti("\\cnums","\\mathbb{C}"),Ti("\\Complex","\\mathbb{C}"),Ti("\\Dagger","\\ddagger"),Ti("\\diamonds","\\diamondsuit"),Ti("\\empty","\\emptyset"),Ti("\\Epsilon","\\mathrm{E}"),Ti("\\Eta","\\mathrm{H}"),Ti("\\exist","\\exists"),Ti("\\harr","\\leftrightarrow"),Ti("\\hArr","\\Leftrightarrow"),Ti("\\Harr","\\Leftrightarrow"),Ti("\\hearts","\\heartsuit"),Ti("\\image","\\Im"),Ti("\\infin","\\infty"),Ti("\\Iota","\\mathrm{I}"),Ti("\\isin","\\in"),Ti("\\Kappa","\\mathrm{K}"),Ti("\\larr","\\leftarrow"),Ti("\\lArr","\\Leftarrow"),Ti("\\Larr","\\Leftarrow"),Ti("\\lrarr","\\leftrightarrow"),Ti("\\lrArr","\\Leftrightarrow"),Ti("\\Lrarr","\\Leftrightarrow"),Ti("\\Mu","\\mathrm{M}"),Ti("\\natnums","\\mathbb{N}"),Ti("\\Nu","\\mathrm{N}"),Ti("\\Omicron","\\mathrm{O}"),Ti("\\plusmn","\\pm"),Ti("\\rarr","\\rightarrow"),Ti("\\rArr","\\Rightarrow"),Ti("\\Rarr","\\Rightarrow"),Ti("\\real","\\Re"),Ti("\\reals","\\mathbb{R}"),Ti("\\Reals","\\mathbb{R}"),Ti("\\Rho","\\mathrm{P}"),Ti("\\sdot","\\cdot"),Ti("\\sect","\\S"),Ti("\\spades","\\spadesuit"),Ti("\\sub","\\subset"),Ti("\\sube","\\subseteq"),Ti("\\supe","\\supseteq"),Ti("\\Tau","\\mathrm{T}"),Ti("\\thetasym","\\vartheta"),Ti("\\weierp","\\wp"),Ti("\\Zeta","\\mathrm{Z}"),Ti("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ti("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ti("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ti("\\blue","\\textcolor{##6495ed}{#1}"),Ti("\\orange","\\textcolor{##ffa500}{#1}"),Ti("\\pink","\\textcolor{##ff00af}{#1}"),Ti("\\red","\\textcolor{##df0030}{#1}"),Ti("\\green","\\textcolor{##28ae7b}{#1}"),Ti("\\gray","\\textcolor{gray}{#1}"),Ti("\\purple","\\textcolor{##9d38bd}{#1}"),Ti("\\blueA","\\textcolor{##ccfaff}{#1}"),Ti("\\blueB","\\textcolor{##80f6ff}{#1}"),Ti("\\blueC","\\textcolor{##63d9ea}{#1}"),Ti("\\blueD","\\textcolor{##11accd}{#1}"),Ti("\\blueE","\\textcolor{##0c7f99}{#1}"),Ti("\\tealA","\\textcolor{##94fff5}{#1}"),Ti("\\tealB","\\textcolor{##26edd5}{#1}"),Ti("\\tealC","\\textcolor{##01d1c1}{#1}"),Ti("\\tealD","\\textcolor{##01a995}{#1}"),Ti("\\tealE","\\textcolor{##208170}{#1}"),Ti("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ti("\\greenB","\\textcolor{##8af281}{#1}"),Ti("\\greenC","\\textcolor{##74cf70}{#1}"),Ti("\\greenD","\\textcolor{##1fab54}{#1}"),Ti("\\greenE","\\textcolor{##0d923f}{#1}"),Ti("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ti("\\goldB","\\textcolor{##ffbb71}{#1}"),Ti("\\goldC","\\textcolor{##ff9c39}{#1}"),Ti("\\goldD","\\textcolor{##e07d10}{#1}"),Ti("\\goldE","\\textcolor{##a75a05}{#1}"),Ti("\\redA","\\textcolor{##fca9a9}{#1}"),Ti("\\redB","\\textcolor{##ff8482}{#1}"),Ti("\\redC","\\textcolor{##f9685d}{#1}"),Ti("\\redD","\\textcolor{##e84d39}{#1}"),Ti("\\redE","\\textcolor{##bc2612}{#1}"),Ti("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ti("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ti("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ti("\\maroonD","\\textcolor{##ca337c}{#1}"),Ti("\\maroonE","\\textcolor{##9e034e}{#1}"),Ti("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ti("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ti("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ti("\\purpleD","\\textcolor{##7854ab}{#1}"),Ti("\\purpleE","\\textcolor{##543b78}{#1}"),Ti("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ti("\\mintB","\\textcolor{##edf2df}{#1}"),Ti("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ti("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ti("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ti("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ti("\\grayD","\\textcolor{##d6d8da}{#1}"),Ti("\\grayE","\\textcolor{##babec2}{#1}"),Ti("\\grayF","\\textcolor{##888d93}{#1}"),Ti("\\grayG","\\textcolor{##626569}{#1}"),Ti("\\grayH","\\textcolor{##3b3e40}{#1}"),Ti("\\grayI","\\textcolor{##21242c}{#1}"),Ti("\\kaBlue","\\textcolor{##314453}{#1}"),Ti("\\kaGreen","\\textcolor{##71B307}{#1}");var Vi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},zi=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ni(Ii,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new Mi(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;;){var e=this.future();if(" "!==e.text)break;this.stack.pop()}},t.consumeArgs=function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){var i=[],o=1;while(0!==o){var s=this.popToken();if(i.push(s),"{"===s.text)++o;else if("}"===s.text)--o;else if("EOF"===s.text)throw new a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new a("End of input expecting macro argument");t[n]=[r]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,n=this._getExpansion(t);if(null==n)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs){var i=this.consumeArgs(n.numArgs);r=r.slice();for(var o=r.length-1;o>=0;--o){var s=r[o];if("#"===s.text){if(0===o)throw new a("Incomplete placeholder at end of macro body",s);if(s=r[--o],"#"===s.text)r.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);var l;(l=r).splice.apply(l,[o,2].concat(i[+s.text-1]))}}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof i){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;this.pushToken(new i(e));while(this.stack.length>n){var r=this.expandOnce();r instanceof i&&t.push(this.stack.pop())}return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#")){var i=n.replace(/##/g,"");while(-1!==i.indexOf("#"+(r+1)))++r}var o=new Mi(n,this.settings),a=[],s=o.lex();while("EOF"!==s.text)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:r};return l}return n},t.isDefined=function(e){return this.macros.has(e)||_i.hasOwnProperty(e)||we.math.hasOwnProperty(e)||we.text.hasOwnProperty(e)||Vi.hasOwnProperty(e)},e}(),Wi={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}},Hi={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"},Ui=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new zi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){var r=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&_i[i.text]&&_i[i.text].infix)break;var o=this.parseAtom(n);if(!o)break;r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r<e.length;r++){var i=Vt(e[r],"infix");if(i){if(-1!==n)throw new a("only one infix operator per group",i.token);n=r,t=i.replaceWith}}if(-1!==n&&t){var o,s,l,u=e.slice(0,n),c=e.slice(n+1);return o=1===u.length&&"ordgroup"===u[0].type?u[0]:{type:"ordgroup",mode:this.mode,body:u},s=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},l="\\\\abovefrac"===t?this.callFunction(t,[o,e[n],s],[]):this.callFunction(t,[o,s],[]),[l]}return e},t.handleSupSubscript=function(t){var n=this.fetch(),r=n.text;this.consume();var i=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!i)throw new a("Expected group after '"+r+"'",n);return i},t.formatUnsupportedCmd=function(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var r={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]};return i},t.parseAtom=function(e){var t,n,r=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return r;while(1){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){var o=Vt(r,"op");if(o){var s="\\limits"===i.text;o.limits=s,o.alwaysHandleSupSub=!0}else{if(o=Vt(r,"operatorname"),!o||!o.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",i);var l="\\limits"===i.text;o.limits=l}this.consume()}else if("^"===i.text){if(t)throw new a("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(n)throw new a("Double subscript",i);n=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(t)throw new a("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},c=[u];this.consume();while("'"===this.fetch().text)c.push(u),this.consume();"^"===this.fetch().text&&c.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:c}}}return t||n?{type:"supsub",mode:this.mode,base:r,sup:t,sub:n}:r},t.parseFunction=function(e,t,n){var r=this.fetch(),i=r.text,o=_i[i];if(!o)return null;if(this.consume(),null!=n&&o.greediness<=n)throw new a("Got function '"+i+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new a("Can't use function '"+i+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new a("Can't use function '"+i+"' in math mode",r);var s=this.parseArguments(i,o),l=s.args,u=s.optArgs;return this.callFunction(i,l,u,r,e)},t.callFunction=function(e,t,n,r,i){var o={funcName:e,parser:this,token:r,breakOnTokenText:i},s=_i[e];if(s&&s.handler)return s.handler(o,t,n);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=t.greediness,i=[],o=[],s=0;s<n;s++){var l=t.argTypes&&t.argTypes[s],u=s<t.numOptionalArgs,c=s>0&&!u||0===s&&!u&&"math"===this.mode,d=this.parseGroupOfType("argument to '"+e+"'",l,u,r,c);if(!d){if(u){o.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(u?o:i).push(d)}return{args:i,optArgs:o}},t.parseGroupOfType=function(e,t,n,r,i){switch(t){case"color":return i&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return i&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,i);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,i);case"hbox":var o=this.parseGroup(e,n,r,void 0,"text",i);if(!o)return o;var s={type:"styling",mode:o.mode,body:[o],style:"text"};return s;case"raw":if(i&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,i);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){while(" "===this.fetch().text)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",i=t?"]":"}",o=this.fetch();if(o.text!==r){if(t)return null;if(n&&"EOF"!==o.text&&/[^{}[\]]/.test(o.text))return this.consume(),o}var s=this.mode;this.mode="text",this.expect(r);var l,u="",c=this.fetch(),d=0,h=c;while((l=this.fetch()).text!==i||n&&d>0){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+e,c.range(h,u));case r:d++;break;case i:d--;break}h=l,u+=h.text,this.consume()}return this.expect(i),this.mode=s,c.range(h,u)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";var r,i=this.fetch(),o=i,s="";while("EOF"!==(r=this.fetch()).text&&e.test(s+r.text))o=r,s+=o.text,this.consume();if(""===s)throw new a("Invalid "+t+": '"+i.text+"'",i);return this.mode=n,i.range(o,s)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!ht(i))throw new a("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,i,o,s,l){var u=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var c,d=this.fetch(),h=d.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var f=e.endOfGroup[h];this.gullet.beginGroup();var p=this.parseExpression(!1,f),g=this.fetch();this.expect(f),this.gullet.endGroup(),c={type:"ordgroup",mode:this.mode,loc:r.range(d,g),body:p,semisimple:"\\begingroup"===h||void 0}}else if(n)c=null;else if(c=this.parseFunction(o,t,i)||this.parseSymbol(),null==c&&"\\"===h[0]&&!Vi.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,d);c=this.formatUnsupportedCmd(h),this.consume()}return s&&this.switchMode(u),c},t.formLigatures=function(e){for(var t=e.length-1,n=0;n<t;++n){var i=e[n],o=i.text;"-"===o&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:r.range(i,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(i,e[n+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[n+1].text!==o||(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(i,e[n+1]),text:o+o}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),i="*"===n.charAt(0);if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Hi.hasOwnProperty(t[0])&&!we[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Hi[t[0]]+t.substr(1));var o,s=Ei.exec(t);if(s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237")),we[this.mode][t]){this.settings.strict&&"math"===this.mode&&Je.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,u=we[this.mode][t].group,c=r.range(e);if(ye.hasOwnProperty(u)){var d=u;l={type:"atom",mode:this.mode,family:d,loc:c,text:t}}else l={type:u,mode:this.mode,loc:c,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(V(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),s)for(var h=0;h<s[0].length;h++){var f=s[0][h];if(!Wi[f])throw new a("Unknown accent ' "+f+"'",e);var p=Wi[f][this.mode];if(!p)throw new a("Accent "+f+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:r.range(e),label:p,isStretchy:!1,isShifty:!0,base:o}}return o},e}();Ui.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Ui.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Ui.SUPSUB_GREEDINESS=1;var Ki=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Ui(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");n.gullet.feed("\\df@tag"),r=[{type:"tag",mode:"text",body:r,tag:n.parse()}]}return r},Gi=Ki,qi=function(e,t,n){t.textContent="";var r=Qi(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),qi=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Yi=function(e,t){var n=Qi(e,t).toMarkup();return n},Xi=function(e,t){var n=new b(t);return Gi(e,n)},Zi=function(e,t,n){if(n.throwOnError||!(e instanceof a))throw e;var r=Ft.makeSpan(["katex-error"],[new oe(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},Qi=function(e,t){var n=new b(t);try{var r=Gi(e,n);return Ln(r,e,n)}catch(i){return Zi(i,e,n)}},$i=function(e,t){var n=new b(t);try{var r=Gi(e,n);return In(r,e,n)}catch(i){return Zi(i,e,n)}},Ji={version:"0.11.1",render:qi,renderToString:Yi,ParseError:a,__parse:Xi,__renderToDomTree:Qi,__renderToHTMLTree:$i,__setFontMetrics:pe,__defineSymbol:xe,__defineMacro:Ti,__domTree:{Span:te,Anchor:ne,SymbolNode:oe,SvgNode:ae,PathNode:se,LineNode:le}};t["default"]=Ji}])["default"]}))},P2fV:function(e,t,n){"use strict";n("cIOH"),n("Q9mQ"),n("+L6B")},P47w:function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("IMiH"),a=n("mFDi"),s=n("Fofx"),l=n("6GrX"),u=n("pzxd"),c=n("dqUG"),d=o.CMD,h=Array.prototype.join,f="none",p=Math.round,g=Math.sin,m=Math.cos,v=Math.PI,y=2*Math.PI,b=180/v,_=1e-4;function w(e){return p(1e4*e)/1e4}function x(e){return e<_&&e>-_}function C(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==f}function S(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==f}function O(e,t){t&&k(e,"transform","matrix("+h.call(t,",")+")")}function k(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function E(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function D(e,t,n,r){if(C(t,n)){var i=n?t.textFill:t.fill;i="transparent"===i?f:i,k(e,"fill",i),k(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else k(e,"fill",f);if(S(t,n)){var o=n?t.textStroke:t.stroke;o="transparent"===o?f:o,k(e,"stroke",o);var a=n?t.textStrokeWidth:t.lineWidth,s=!n&&t.strokeNoScale?r.getLineScale():1;k(e,"stroke-width",a/s),k(e,"paint-order",n?"stroke":"fill"),k(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(k(e,"stroke-dasharray",t.lineDash.join(",")),k(e,"stroke-dashoffset",p(t.lineDashOffset||0))):k(e,"stroke-dasharray",""),t.lineCap&&k(e,"stroke-linecap",t.lineCap),t.lineJoin&&k(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&k(e,"stroke-miterlimit",t.miterLimit)}else k(e,"stroke",f)}function M(e){for(var t=[],n=e.data,r=e.len(),i=0;i<r;){var o=n[i++],a="",s=0;switch(o){case d.M:a="M",s=2;break;case d.L:a="L",s=2;break;case d.Q:a="Q",s=4;break;case d.C:a="C",s=6;break;case d.A:var l=n[i++],u=n[i++],c=n[i++],h=n[i++],f=n[i++],_=n[i++],C=n[i++],S=n[i++],O=Math.abs(_),k=x(O-y)||(S?_>=y:-_>=y),E=_>0?_%y:_%y+y,D=!1;D=!!k||!x(O)&&E>=v===!!S;var M=w(l+c*m(f)),N=w(u+h*g(f));k&&(_=S?y-1e-4:1e-4-y,D=!0,9===i&&t.push("M",M,N));var L=w(l+c*m(f+_)),I=w(u+h*g(f+_));t.push("A",w(c),w(h),p(C*b),+D,+S,L,I);break;case d.Z:a="Z";break;case d.R:L=w(n[i++]),I=w(n[i++]);var T=w(n[i++]),P=w(n[i++]);t.push("M",L,I,"L",L+T,I,"L",L+T,I+P,"L",L,I+P,"L",L,I);break}a&&t.push(a);for(var A=0;A<s;A++)t.push(w(n[i++]))}return t.join(" ")}var N={brush:function(e){var t=e.style,n=e.__svgEl;n||(n=i("path"),e.__svgEl=n),e.path||e.createPathProxy();var r=e.path;if(e.__dirtyPath){r.beginPath(),r.subPixelOptimize=!1,e.buildPath(r,e.shape),e.__dirtyPath=!1;var o=M(r);o.indexOf("NaN")<0&&k(n,"d",o)}D(n,t,!1,e),O(n,e.transform),null!=t.text?j(e,e.getBoundingRect()):z(e)}},L={brush:function(e){var t=e.style,n=t.image;if(n instanceof HTMLImageElement){var r=n.src;n=r}if(n){var o=t.x||0,a=t.y||0,s=t.width,l=t.height,u=e.__svgEl;u||(u=i("image"),e.__svgEl=u),n!==e.__imageSrc&&(E(u,"href",n),e.__imageSrc=n),k(u,"width",s),k(u,"height",l),k(u,"x",o),k(u,"y",a),O(u,e.transform),null!=t.text?j(e,e.getBoundingRect()):z(e)}}},I={},T=new a,P={},A=[],R={left:"start",right:"end",center:"middle",middle:"middle"},j=function(e,t){var n=e.style,r=e.transform,o=e instanceof c||n.transformText;e.__dirty&&u.normalizeTextStyle(n,!0);var a=n.text;if(null!=a&&(a+=""),u.needDrawText(a,n)){null==a&&(a=""),!o&&r&&(T.copy(t),T.applyTransform(r),t=T);var s=e.__textSvgEl;s||(s=i("text"),e.__textSvgEl=s);var d=s.style,h=n.font||l.DEFAULT_FONT,f=s.__computedFont;h!==s.__styleFont&&(d.font=s.__styleFont=h,f=s.__computedFont=d.font);var p=n.textPadding,g=n.textLineHeight,m=e.__textCotentBlock;m&&!e.__dirtyText||(m=e.__textCotentBlock=l.parsePlainText(a,f,p,g,n.truncate));var v=m.outerHeight,y=m.lineHeight;u.getBoxPosition(P,e,n,t);var b=P.baseX,_=P.baseY,w=P.textAlign||"left",x=P.textVerticalAlign;F(s,o,r,n,t,b,_);var C=l.adjustTextY(_,v,x),S=b,O=C;p&&(S=B(b,w,p),O+=p[0]),O+=y/2,D(s,n,!0,e);var k=m.canCacheByTextString,E=e.__tspanList||(e.__tspanList=[]),M=E.length;if(k&&e.__canCacheByTextString&&e.__text===a){if(e.__dirtyText&&M)for(var N=0;N<M;++N)V(E[N],w,S,O+N*y)}else{e.__text=a,e.__canCacheByTextString=k;var L=m.lines,I=L.length;for(N=0;N<I;N++){var A=E[N],R=L[N];A?A.__zrText!==R&&(A.innerHTML="",A.appendChild(document.createTextNode(R))):(A=E[N]=i("tspan"),s.appendChild(A),A.appendChild(document.createTextNode(R))),V(A,w,S,O+N*y)}if(M>I){for(;N<M;N++)s.removeChild(E[N]);E.length=I}}}};function F(e,t,n,r,i,o,a){s.identity(A),t&&n&&s.copy(A,n);var l=r.textRotation;if(i&&l){var u=r.textOrigin;"center"===u?(o=i.width/2+i.x,a=i.height/2+i.y):u&&(o=u[0]+i.x,a=u[1]+i.y),A[4]-=o,A[5]-=a,s.rotate(A,A,l),A[4]+=o,A[5]+=a}O(e,A)}function B(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function V(e,t,n,r){k(e,"dominant-baseline","middle"),k(e,"text-anchor",R[t]),k(e,"x",n),k(e,"y",r)}function z(e){e&&e.__textSvgEl&&(e.__textSvgEl.parentNode&&e.__textSvgEl.parentNode.removeChild(e.__textSvgEl),e.__textSvgEl=null,e.__tspanList=[],e.__text=null)}I.drawRectText=j,I.brush=function(e){var t=e.style;null!=t.text?j(e,!1):z(e)},t.path=N,t.image=L,t.text=I},P4Qj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeSensor=t.getSensor=void 0;var r=a(n("chpo")),i=n("FxDU"),o=n("24YM");function a(e){return e&&e.__esModule?e:{default:e}}var s={},l=function(e){var t=e.getAttribute(o.SizeSensorId);if(t&&s[t])return s[t];var n=(0,r["default"])();e.setAttribute(o.SizeSensorId,n);var a=(0,i.createSensor)(e);return s[n]=a,a};t.getSensor=l;var u=function(e){var t=e.element.getAttribute(o.SizeSensorId);e.element.removeAttribute(o.SizeSensorId),e.destroy(),t&&s[t]&&delete s[t]};t.removeSensor=u},P5Jw:function(e,t,n){"use strict";var r=n("rHrb"),i=r.CopyToClipboard;i.CopyToClipboard=i,e.exports=i},PArb:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("H84U");function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},c=function(e){return r["createElement"](a["a"],null,(function(t){var n,i=t.getPrefixCls,a=t.direction,c=e.prefixCls,d=e.type,h=void 0===d?"horizontal":d,f=e.orientation,p=void 0===f?"center":f,g=e.className,m=e.children,v=e.dashed,y=e.plain,b=u(e,["prefixCls","type","orientation","className","children","dashed","plain"]),_=i("divider",c),w=p.length>0?"-".concat(p):p,x=!!m,C=o()(g,_,"".concat(_,"-").concat(h),(n={},l(n,"".concat(_,"-with-text"),x),l(n,"".concat(_,"-with-text").concat(w),x),l(n,"".concat(_,"-dashed"),!!v),l(n,"".concat(_,"-plain"),!!y),l(n,"".concat(_,"-rtl"),"rtl"===a),n));return r["createElement"]("div",s({className:C},b,{role:"separator"}),m&&r["createElement"]("span",{className:"".concat(_,"-inner-text")},m))}))};t["a"]=c},PD8m:function(e,t){e.exports={name:"memoryStorage",read:r,write:i,each:o,remove:a,clearAll:s};var n={};function r(e){return n[e]}function i(e,t){n[e]=t}function o(e){for(var t in n)n.hasOwnProperty(t)&&e(n[t],t)}function a(e){delete n[e]}function s(e){n={}}},PKem:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("H84U");function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e){return h(e)||d(e)||c(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"===typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function d(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function h(e){if(Array.isArray(e))return f(e)}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function w(e){var t=S();return function(){var n,r=O(e);if(t){var i=O(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},E=r["createContext"]({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function D(e){var t=e.suffixCls,n=e.tagName,i=e.displayName;return function(e){var o;return o=function(i){b(s,i);var o=w(s);function s(){var i;return m(this,s),i=o.apply(this,arguments),i.renderComponent=function(o){var a=o.getPrefixCls,s=i.props.prefixCls,l=a(t,s);return r["createElement"](e,g({prefixCls:l,tagName:n},i.props))},i}return y(s,[{key:"render",value:function(){return r["createElement"](a["a"],null,this.renderComponent)}}]),s}(r["Component"]),o.displayName=i,o}}var M=function(e){var t=e.prefixCls,n=e.className,i=e.children,a=e.tagName,s=k(e,["prefixCls","className","children","tagName"]),l=o()(t,n);return r["createElement"](a,g({className:l},s),i)},N=function(e){b(n,e);var t=w(n);function n(){var e;return m(this,n),e=t.apply(this,arguments),e.state={siders:[]},e.renderComponent=function(t){var n,i=t.direction,a=e.props,s=a.prefixCls,l=a.className,u=a.children,c=a.hasSider,d=a.tagName,h=k(a,["prefixCls","className","children","hasSider","tagName"]),f=o()(s,(n={},p(n,"".concat(s,"-has-sider"),"boolean"===typeof c?c:e.state.siders.length>0),p(n,"".concat(s,"-rtl"),"rtl"===i),n),l);return r["createElement"](E.Provider,{value:{siderHook:e.getSiderHook()}},r["createElement"](d,g({className:f},h),u))},e}return y(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(l(e.siders),[t])}}))},removeSider:function(t){e.setState((function(e){return{siders:e.siders.filter((function(e){return e!==t}))}}))}}}},{key:"render",value:function(){return r["createElement"](a["a"],null,this.renderComponent)}}]),n}(r["Component"]),L=D({suffixCls:"layout",tagName:"section",displayName:"Layout"})(N),I=D({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(M),T=D({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(M),P=D({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(M);L.Header=I,L.Footer=T,L.Content=P,t["b"]=L},PNag:function(e,t,n){var r=n("bYtY"),i=n("SKnc"),o=n("YH21"),a=n("crZl"),s=n("IwbS"),l=n("OELB"),u=n("72pK"),c=n("y7Aq"),d=n("4NO4"),h=l.linearMap,f=r.each,p=Math.min,g=Math.max,m=12,v=6,y=a.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,l=this._shapes.barGroup,u=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],l),c=this._applyTransform(0===n?"bottom":"top",l),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===d?"middle":c,textAlign:"horizontal"===d?c:"center",text:r,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,o=this._orient,a=this._useHandle,s=c.getItemAlign(t,this.api,i),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=b()),l.add(n.inRange=b(null,a?S(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0)));var u=t.textStyleModel.getTextRect("\u56fd"),d=g(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,i,d,o,s),this._createHandle(l,1,i,d,o,s)),this._createIndicator(l,i,d,o),e.add(l)},_createHandle:function(e,t,n,i,a){var l=r.bind(this._dragHandle,this,t,!1),u=r.bind(this._dragHandle,this,t,!0),c=b(_(t,i),S(this._orient),l,u);c.position[0]=n[0],e.add(c);var d=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(e){o.stop(e.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:d.getFont(),textFill:d.getTextColor()}});this.group.add(h);var f=["horizontal"===a?i/2:1.5*i,"horizontal"===a?0===t?-1.5*i:1.5*i:0===t?-i/2:i/2],p=this._shapes;p.handleThumbs[t]=c,p.handleLabelPoints[t]=f,p.handleLabels[t]=h},_createIndicator:function(e,t,n,r){var i=b([[0,0]],"move");i.position[0]=t[0],i.attr({invisible:!0,silent:!0}),e.add(i);var o=this.visualMapModel.textStyleModel,a=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:o.getFont(),textFill:o.getTextColor()}});this.group.add(a);var l=["horizontal"===r?n/2:v+3,0],u=this._shapes;u.indicator=i,u.indicatorLabel=a,u.indicatorLabelPoint=l},_dragHandle:function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(e,i[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():C(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[h(t[0],n,r,!0),h(t[1],n,r,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];u(t,r,i,e,0);var o=n.getExtent();this._dataInterval=[h(r[0],i,o,!0),h(r[1],i,o,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],o=e?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor,opacity:a.opacity}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(o,a)},_createBarVisual:function(e,t,n,r){var o={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,o),s=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],l=this._createBarPoints(n,s);return{barColor:new i(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.length-1].color]}},_makeColorGradient:function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var o=1;o<n;o++){var a=e[0]+i*o;if(a>e[1])break;r.push({color:this.getControllerVisual(a,"color",t),offset:o/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=i[a];l.setStyle("fill",t.handlesColor[a]),l.position[1]=e[a];var u=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:u[0],y:u[1],text:r.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,l=[0,a[1]],u=h(e,o,l,!0),c=this._shapes,d=c.indicator;if(d){d.position[1]=u,d.attr("invisible",!1),d.setShape("points",w(!!n,r,u,a[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",f);d.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(d,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(n||"")+i.formatValueText(t),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);r[1]=p(g(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();e=p(g(i[0],e),i[1]);var a=x(n,o,i),s=[e-a,e+a],l=h(e,i,o,!0),u=[h(s[0],i,o,!0),h(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),t&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"\u2248 ",a));var f=this._hoverLinkDataIndices,m=[];(t||C(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var v=d.compressBatches(f,m);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var r=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(t.dataType),o=i.get(n.getDataDimension(i),t.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,i){var o=s.getTransform(t,i?null:this.group);return s[r.isArray(e)?"applyTransform":"transformDirection"](e,o,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function b(e,t,n,r){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){o.stop(e.event)},ondragend:r})}function _(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function w(e,t,n,r){return e?[[0,-p(t,g(n,0))],[v,0],[0,p(t,g(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function x(e,t,n){var r=m/2,i=e.get("hoverLinkDataSize");return i&&(r=h(i,t,n,!0)/2),r}function C(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function S(e){return"vertical"===e?"ns-resize":"ew-resize"}var O=y;e.exports=O},PQMj:function(e,t,n){},PSzr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};t.default=r},PTeM:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n("N0LK"),i=n("MrjW");function o(e){return e.replace(/[\\/]/g,i["posix"].sep)}function a(e,t,n,o){if(void 0===o&&(o=i["sep"]),e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){var a=Object(r["N"])(e,t);if(!a)return!1;if(t.length===e.length)return!0;var s=t.length;return t.charAt(t.length-1)===o&&s--,e.charAt(s)===o}return t.charAt(t.length-1)!==o&&(t+=o),0===e.indexOf(t)}function s(e){return e>=65&&e<=90||e>=97&&e<=122}},ProS:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("aX58")),o=n("bYtY"),a=n("Qe9p"),s=n("ItGF"),l=n("BPZU"),u=n("H6uX"),c=n("fmMI"),d=n("hD7B"),h=n("IDmD"),f=n("ypgQ"),p=n("+wW9"),g=n("0V0F"),m=n("bLfw"),v=n("T4UG"),y=n("sS/r"),b=n("6Ic6"),_=n("IwbS"),w=n("4NO4"),x=n("iLNv"),C=x.throttle,S=n("/WM3"),O=n("uAnK"),k=n("mYwL"),E=n("af/B"),D=n("xTNl"),M=n("8hn6");n("A1Ka");var N=n("7DRL"),L=o.assert,I=o.each,T=o.isFunction,P=o.isObject,A=m.parseClassType,R="4.8.0",j={zrender:"4.3.1"},F=1,B=1e3,V=800,z=900,W=5e3,H=1e3,U=1100,K=2e3,G=3e3,q=3500,Y=4e3,X=5e3,Z={PROCESSOR:{FILTER:B,SERIES_FILTER:V,STATISTIC:W},VISUAL:{LAYOUT:H,PROGRESSIVE_LAYOUT:U,GLOBAL:K,CHART:G,POST_CHART_LAYOUT:q,COMPONENT:Y,BRUSH:X}},Q="__flagInMainProcess",$="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(n,r,i){t||!this._disposed?(n=n&&n.toLowerCase(),u.prototype[e].call(this,n,r,i)):_e(this.id)}}function te(){u.call(this)}function ne(e,t,n){n=n||{},"string"===typeof t&&(t=Ie[t]),this.id,this.group,this._dom=e;var r="canvas",a=this._zr=i.init(e,{renderer:n.renderer||r,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=C(o.bind(a.flush,a),17);t=o.clone(t);t&&p(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var s=this._api=Se(this);function c(e,t){return e.__prio-t.__prio}l(Le,c),l(De,c),this._scheduler=new E(this,s,De,Le),u.call(this,this._ecEventProcessor=new Oe),this._messageCenter=new te,this._initEvents(),this.resize=o.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),he(a,this),o.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),o.mixin(te,u);var re=ne.prototype;function ie(e,t,n){if(this._disposed)_e(this.id);else{var r,i=this._model,o=this._coordSysMgr.getCoordinateSystems();t=w.parseFinder(i,t);for(var a=0;a<o.length;a++){var s=o[a];if(s[e]&&null!=(r=s[e](i,t,n)))return r}}}re._onframe=function(){if(!this._disposed){var e=this._scheduler;if(this[$]){var t=this[$].silent;this[Q]=!0,ae(this),oe.update.call(this),this[Q]=!1,this[$]=!1,ce.call(this,t),de.call(this,t)}else if(e.unfinished){var n=F,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date;e.performSeriesTasks(r),e.performDataProcessorTasks(r),le(this,r),e.performVisualTasks(r),ve(this,this._model,i,"remain"),n-=+new Date-o}while(n>0&&e.unfinished);e.unfinished||this._zr.flush()}}},re.getDom=function(){return this._dom},re.getZr=function(){return this._zr},re.setOption=function(e,t,n){if(this._disposed)_e(this.id);else{var r;if(P(t)&&(n=t.lazyUpdate,r=t.silent,t=t.notMerge),this[Q]=!0,!this._model||t){var i=new f(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,i)}this._model.setOption(e,Me),n?(this[$]={silent:r},this[Q]=!1):(ae(this),oe.update.call(this),this._zr.flush(),this[$]=!1,this[Q]=!1,ce.call(this,r),de.call(this,r))}},re.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},re.getModel=function(){return this._model},re.getOption=function(){return this._model&&this._model.getOption()},re.getWidth=function(){return this._zr.getWidth()},re.getHeight=function(){return this._zr.getHeight()},re.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},re.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},re.getSvgDataURL=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return o.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},re.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;I(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return I(r,(function(e){e.group.ignore=!1})),o}_e(this.id)},re.getConnectedDataURL=function(e){if(this._disposed)_e(this.id);else if(s.canvasSupported){var t="svg"===e.type,n=this.group,r=Math.min,a=Math.max,l=1/0;if(Ae[n]){var u=l,c=l,d=-l,h=-l,f=[],p=e&&e.pixelRatio||1;o.each(Pe,(function(i,s){if(i.group===n){var l=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(o.clone(e)),p=i.getDom().getBoundingClientRect();u=r(p.left,u),c=r(p.top,c),d=a(p.right,d),h=a(p.bottom,h),f.push({dom:l,left:p.left,top:p.top})}})),u*=p,c*=p,d*=p,h*=p;var g=d-u,m=h-c,v=o.createCanvas(),y=i.init(v,{renderer:t?"svg":"canvas"});if(y.resize({width:g,height:m}),t){var b="";return I(f,(function(e){var t=e.left-u,n=e.top-c;b+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=b,e.connectedBackgroundColor&&y.painter.setBackgroundColor(e.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return e.connectedBackgroundColor&&y.add(new _.Rect({shape:{x:0,y:0,width:g,height:m},style:{fill:e.connectedBackgroundColor}})),I(f,(function(e){var t=new _.Image({style:{x:e.left*p-u,y:e.top*p-c,image:e.dom}});y.add(t)})),y.refreshImmediately(),v.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},re.convertToPixel=o.curry(ie,"convertToPixel"),re.convertFromPixel=o.curry(ie,"convertFromPixel"),re.containPixel=function(e,t){if(!this._disposed){var n,r=this._model;return e=w.parseFinder(r,e),o.each(e,(function(e,r){r.indexOf("Models")>=0&&o.each(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(t);else if("seriesModels"===r){var o=this._chartsMap[e.__viewId];o&&o.containPoint&&(n|=o.containPoint(t,e))}}),this)}),this),!!n}_e(this.id)},re.getVisual=function(e,t){var n=this._model;e=w.parseFinder(n,e,{defaultMainType:"series"});var r=e.seriesModel,i=r.getData(),o=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=o?i.getItemVisual(o,t):i.getVisual(t)},re.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},re.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var oe={prepareAndUpdate:function(e){ae(this),oe.update.call(this,e)},update:function(e){var t=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,o=this._scheduler;if(t){o.restoreData(t,e),o.performSeriesTasks(t),i.create(t,n),o.performDataProcessorTasks(t,e),le(this,t),i.update(t,n),pe(t),o.performVisualTasks(t,e),ge(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)r.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}ye(t,n)}},updateTransform:function(e){var t=this._model,n=this,r=this._api;if(t){var i=[];t.eachComponent((function(o,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,t,r,e);l&&l.update&&i.push(s)}else i.push(s)}));var a=o.createHashMap();t.eachSeries((function(i){var o=n._chartsMap[i.__viewId];if(o.updateTransform){var s=o.updateTransform(i,t,r,e);s&&s.update&&a.set(i.uid,1)}else a.set(i.uid,1)})),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:a}),ve(n,t,r,e,a),ye(t,this._api)}},updateView:function(e){var t=this._model;t&&(b.markUpdateMethod(e,"updateView"),pe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),ge(this,this._model,this._api,e),ye(t,this._api))},updateVisual:function(e){oe.update.call(this,e)},updateLayout:function(e){oe.update.call(this,e)}};function ae(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),fe(e,"component",t,n),fe(e,"chart",t,n),n.plan()}function se(e,t,n,r,i){var a=e._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var u=n.excludeSeriesId;null!=u&&(u=o.createHashMap(w.normalizeToArray(u))),a&&a.eachComponent(l,(function(t){u&&null!=u.get(t.id)||c(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else I(e._componentsViews.concat(e._chartsViews),c);function c(r){r&&r.__alive&&r[t]&&r[t](r.__model,a,e._api,n)}}function le(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))}function ue(e,t){var n=e.type,r=e.escapeConnect,i=ke[n],a=i.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&A(s[0]),this[Q]=!0;var u=[e],c=!1;e.batch&&(c=!0,u=o.map(e.batch,(function(t){return t=o.defaults(o.extend({},t),e),t.batch=null,t})));var d,h=[],f="highlight"===n||"downplay"===n;I(u,(function(e){d=i.action(e,this._model,this._api),d=d||o.extend({},e),d.type=a.event||d.type,h.push(d),f?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||f||s||(this[$]?(ae(this),oe.update.call(this,e),this[$]=!1):oe[l].call(this,e)),d=c?{type:a.event||n,escapeConnect:r,batch:h}:h[0],this[Q]=!1,!t&&this._messageCenter.trigger(d.type,d)}function ce(e){var t=this._pendingActions;while(t.length){var n=t.shift();ue.call(this,n,e)}}function de(e){!e&&this.trigger("updated")}function he(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[$]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function fe(e,t,n,r){for(var i="component"===t,o=i?e._componentsViews:e._chartsViews,a=i?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,u=0;u<o.length;u++)o[u].__alive=!1;function c(e){var t="_ec_"+e.id+"_"+e.type,u=a[t];if(!u){var c=A(e.type),d=i?y.getClass(c.main,c.sub):b.getClass(c.sub);u=new d,u.init(n,l),a[t]=u,o.push(u),s.add(u.group)}e.__viewId=u.__id=t,u.__alive=!0,u.__model=e,u.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},!i&&r.prepareView(u,e,n,l)}i?n.eachComponent((function(e,t){"series"!==e&&c(t)})):n.eachSeries(c);for(u=0;u<o.length;){var d=o[u];d.__alive?u++:(!i&&d.renderTask.dispose(),s.remove(d.group),d.dispose(n,l),o.splice(u,1),delete a[d.__id],d.__id=d.group.__ecComponentInfo=null)}}function pe(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function ge(e,t,n,r){me(e,t,n,r),I(e._chartsViews,(function(e){e.__alive=!1})),ve(e,t,n,r),I(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))}function me(e,t,n,r,i){I(i||e._componentsViews,(function(e){var i=e.__model;e.render(i,t,n,r),Ce(i,e)}))}function ve(e,t,n,r,i){var o,a=e._scheduler;t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];n.__alive=!0;var s=n.renderTask;a.updatePayload(s,r),i&&i.get(t.uid)&&s.dirty(),o|=s.perform(a.getPerformArgs(s)),n.group.silent=!!t.get("silent"),Ce(t,n),xe(t,n)})),a.unfinished|=o,we(e,t),O(e._zr.dom,t)}function ye(e,t){I(Ne,(function(n){n(e,t)}))}re.resize=function(e){if(this._disposed)_e(this.id);else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){var n=t.resetOption("media"),r=e&&e.silent;this[Q]=!0,n&&ae(this),oe.update.call(this),this[Q]=!1,ce.call(this,r),de.call(this,r)}}},re.showLoading=function(e,t){if(this._disposed)_e(this.id);else if(P(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Te[e]){var n=Te[e](this._api,t),r=this._zr;this._loadingFX=n,r.add(n)}},re.hideLoading=function(){this._disposed?_e(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},re.makeActionFromEvent=function(e){var t=o.extend({},e);return t.type=Ee[e.type],t},re.dispatchAction=function(e,t){this._disposed?_e(this.id):(P(t)||(t={silent:!!t}),ke[e.type]&&this._model&&(this[Q]?this._pendingActions.push(e):(ue.call(this,e,t.silent),t.flush?this._zr.flush(!0):!1!==t.flush&&s.browser.weChat&&this._throttledZrFlush(),ce.call(this,t.silent),de.call(this,t.silent))))},re.appendData=function(e){if(this._disposed)_e(this.id);else{var t=e.seriesIndex,n=this.getModel(),r=n.getSeriesByIndex(t);r.appendData(e),this._scheduler.unfinished=!0}},re.on=ee("on",!1),re.off=ee("off",!1),re.one=ee("one",!1);var be=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function _e(e){}function we(e,t){var n=e._zr,r=n.storage,i=0;r.traverse((function(e){i++})),i>t.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function xe(e,t){var n=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",n)}))}))}function Ce(e,t){var n=e.get("z"),r=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r))}))}function Se(e){var t=e._coordSysMgr;return o.extend(new d(e),{getCoordinateSystems:o.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function Oe(){this.eventInfo}re._initEvents=function(){I(be,(function(e){var t=function(t){var n,r=this.getModel(),i=t.target,a="globalout"===e;if(a)n={};else if(i&&null!=i.dataIndex){var s=i.dataModel||r.getSeriesByIndex(i.seriesIndex);n=s&&s.getDataParams(i.dataIndex,i.dataType,i)||{}}else i&&i.eventData&&(n=o.extend({},i.eventData));if(n){var l=n.componentType,u=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=n.seriesIndex);var c=l&&null!=u&&r.getComponent(l,u),d=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:i,packedEvent:n,model:c,view:d},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),I(Ee,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},re.isDisposed=function(){return this._disposed},re.clear=function(){this._disposed?_e(this.id):this.setOption({series:[]},!0)},re.dispose=function(){if(this._disposed)_e(this.id);else{this._disposed=!0,w.setAttribute(this.getDom(),Fe,"");var e=this._api,t=this._model;I(this._componentsViews,(function(n){n.dispose(t,e)})),I(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete Pe[this.id]}},o.mixin(ne,u),Oe.prototype={constructor:Oe,normalizeQuery:function(e){var t={},n={},r={};if(o.isString(e)){var i=A(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.each(e,(function(e,i){for(var o=!1,l=0;l<a.length;l++){var u=a[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(t.mainType=d,t[u.toLowerCase()]=e,o=!0)}}s.hasOwnProperty(i)&&(n[i]=e,o=!0),o||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},filter:function(e,t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,i,o));function c(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var ke={},Ee={},De=[],Me=[],Ne=[],Le=[],Ie={},Te={},Pe={},Ae={},Re=new Date-0,je=new Date-0,Fe="_echarts_instance_";function Be(e){var t=0,n=1,r=2,i="__connectUpdateStatus";function o(e,t){for(var n=0;n<e.length;n++){var r=e[n];r[i]=t}}I(Ee,(function(a,s){e._messageCenter.on(s,(function(a){if(Ae[e.group]&&e[i]!==t){if(a&&a.escapeConnect)return;var s=e.makeActionFromEvent(a),l=[];I(Pe,(function(t){t!==e&&t.group===e.group&&l.push(t)})),o(l,t),I(l,(function(e){e[i]!==n&&e.dispatchAction(s)})),o(l,r)}}))}))}function Ve(e,t,n){var r=Ke(e);if(r)return r;var i=new ne(e,t,n);return i.id="ec_"+Re++,Pe[i.id]=i,w.setAttribute(e,Fe,i.id),Be(i),i}function ze(e){if(o.isArray(e)){var t=e;e=null,I(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+je++,I(t,(function(t){t.group=e}))}return Ae[e]=!0,e}function We(e){Ae[e]=!1}var He=We;function Ue(e){"string"===typeof e?e=Pe[e]:e instanceof ne||(e=Ke(e)),e instanceof ne&&!e.isDisposed()&&e.dispose()}function Ke(e){return Pe[w.getAttribute(e,Fe)]}function Ge(e){return Pe[e]}function qe(e,t){Ie[e]=t}function Ye(e){Me.push(e)}function Xe(e,t){nt(De,e,t,B)}function Ze(e){Ne.push(e)}function Qe(e,t,n){"function"===typeof t&&(n=t,t="");var r=P(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,L(J.test(r)&&J.test(t)),ke[r]||(ke[r]={action:n,actionInfo:e}),Ee[t]=r}function $e(e,t){h.register(e,t)}function Je(e){var t=h.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function et(e,t){nt(Le,e,t,H,"layout")}function tt(e,t){nt(Le,e,t,G,"visual")}function nt(e,t,n,r,i){(T(t)||P(t))&&(n=t,t=r);var o=E.wrapStageHandler(n,i);return o.__prio=t,o.__raw=n,e.push(o),o}function rt(e,t){Te[e]=t}function it(e){return m.extend(e)}function ot(e){return y.extend(e)}function at(e){return v.extend(e)}function st(e){return b.extend(e)}function lt(e){o.$override("createCanvas",e)}function ut(e,t,n){N.registerMap(e,t,n)}function ct(e){var t=N.retrieveMap(e);return t&&t[0]&&{geoJson:t[0].geoJSON,specialAreas:t[0].specialAreas}}tt(K,S),Ye(p),Xe(z,g),rt("default",k),Qe({type:"highlight",event:"highlight",update:"highlight"},o.noop),Qe({type:"downplay",event:"downplay",update:"downplay"},o.noop),qe("light",D),qe("dark",M);var dt={};t.version=R,t.dependencies=j,t.PRIORITY=Z,t.init=Ve,t.connect=ze,t.disConnect=We,t.disconnect=He,t.dispose=Ue,t.getInstanceByDom=Ke,t.getInstanceById=Ge,t.registerTheme=qe,t.registerPreprocessor=Ye,t.registerProcessor=Xe,t.registerPostUpdate=Ze,t.registerAction=Qe,t.registerCoordinateSystem=$e,t.getCoordinateSystemDimensions=Je,t.registerLayout=et,t.registerVisual=tt,t.registerLoading=rt,t.extendComponentModel=it,t.extendComponentView=ot,t.extendSeriesModel=at,t.extendChartView=st,t.setCanvasCreator=lt,t.registerMap=ut,t.getMap=ct,t.dataTool=dt;var ht=n("txkQ");(function(){for(var e in ht)ht.hasOwnProperty(e)&&(t[e]=ht[e])})()},Q4rV:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("bY76");function i(e){var t=JSON.parse(e);return t=o(t),t}function o(e,t){if(void 0===t&&(t=0),!e||t>200)return e;if("object"===typeof e){switch(e.$mid){case 1:return r["a"].revive(e);case 2:return new RegExp(e.source,e.flags)}for(var n in e)Object.hasOwnProperty.call(e,n)&&(e[n]=o(e[n],t+1))}return e}},Q7if:function(e,t,n){var r=n("JEkh"),i=r.extend({type:"markArea",defaultOption:{zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}}});e.exports=i},Q9mQ:function(e,t,n){"use strict";n("cIOH"),n("UADf")},"QB+1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Ywus"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},QBsz:function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function r(e,t){var r=new n(2);return null==e&&(e=0),null==t&&(t=0),r[0]=e,r[1]=t,r}function i(e,t){return e[0]=t[0],e[1]=t[1],e}function o(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t}function a(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function u(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function c(e){return Math.sqrt(h(e))}var d=c;function h(e){return e[0]*e[0]+e[1]*e[1]}var f=h;function p(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function g(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function m(e,t){return e[0]*t[0]+e[1]*t[1]}function v(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function y(e,t){var n=c(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function b(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _=b;function w(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var x=w;function C(e,t){return e[0]=-t[0],e[1]=-t[1],e}function S(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function O(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function k(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function E(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}t.create=r,t.copy=i,t.clone=o,t.set=a,t.add=s,t.scaleAndAdd=l,t.sub=u,t.len=c,t.length=d,t.lenSquare=h,t.lengthSquare=f,t.mul=p,t.div=g,t.dot=m,t.scale=v,t.normalize=y,t.distance=b,t.dist=_,t.distanceSquare=w,t.distSquare=x,t.negate=C,t.lerp=S,t.applyTransform=O,t.min=k,t.max=E},"QC+M":function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o);function s(e){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){var t=m();return function(){var n,r=v(e);if(t){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var y=function(e){d(n,e);var t=f(n);function n(){return l(this,n),t.apply(this,arguments)}return c(n,[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}]),n}(i.a.Component)},QDVR:function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return h}));var r=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function i(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}function o(e){var t=[];return e.forEach((function(e,n){return t.push(n)})),t}var a=function(){function e(){this._value="",this._pos=0}return e.prototype.reset=function(e){return this._value=e,this._pos=0,this},e.prototype.next=function(){return this._pos+=1,this},e.prototype.hasNext=function(){return this._pos<this._value.length-1},e.prototype.cmp=function(e){var t=e.charCodeAt(0),n=this._value.charCodeAt(this._pos);return t-n},e.prototype.value=function(){return this._value[this._pos]},e}(),s=function(){function e(e){void 0===e&&(e=!0),this._splitOnBackslash=e}return e.prototype.reset=function(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()},e.prototype.hasNext=function(){return this._to<this._value.length},e.prototype.next=function(){this._from=this._to;for(var e=!0;this._to<this._value.length;this._to++){var t=this._value.charCodeAt(this._to);if(47===t||this._splitOnBackslash&&92===t){if(!e)break;this._from++}else e=!1}return this},e.prototype.cmp=function(e){var t=0,n=e.length,r=this._from;while(t<n&&r<this._to){var i=e.charCodeAt(t)-this._value.charCodeAt(r);if(0!==i)return i;t+=1,r+=1}return n===this._to-this._from?0:t<n?-1:1},e.prototype.value=function(){return this._value.substring(this._from,this._to)},e}(),l=function(){function e(){}return e}(),u=function(){function e(e){this._iter=e}return e.forPaths=function(){return new e(new s)},e.forStrings=function(){return new e(new a)},e.prototype.clear=function(){this._root=void 0},e.prototype.set=function(e,t){var n,r=this._iter.reset(e);this._root||(this._root=new l,this._root.segment=r.value()),n=this._root;while(1){var i=r.cmp(n.segment);if(i>0)n.left||(n.left=new l,n.left.segment=r.value()),n=n.left;else if(i<0)n.right||(n.right=new l,n.right.segment=r.value()),n=n.right;else{if(!r.hasNext())break;r.next(),n.mid||(n.mid=new l,n.mid.segment=r.value()),n=n.mid}}var o=n.value;return n.value=t,n.key=e,o},e.prototype.get=function(e){var t=this._iter.reset(e),n=this._root;while(n){var r=t.cmp(n.segment);if(r>0)n=n.left;else if(r<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0},e.prototype.findSubstr=function(e){var t=this._iter.reset(e),n=this._root,r=void 0;while(n){var i=t.cmp(n.segment);if(i>0)n=n.left;else if(i<0)n=n.right;else{if(!t.hasNext())break;t.next(),r=n.value||r,n=n.mid}}return n&&n.value||r},e.prototype.forEach=function(e){this._forEach(this._root,e)},e.prototype._forEach=function(e,t){e&&(this._forEach(e.left,t),e.value&&t(e.value,e.key),this._forEach(e.mid,t),this._forEach(e.right,t))},e}(),c=function(){function e(){this.map=new Map,this.ignoreCase=!1}return e.prototype.set=function(e,t){this.map.set(this.toKey(e),t)},e.prototype.get=function(e){return this.map.get(this.toKey(e))},e.prototype.toKey=function(e){var t=e.toString();return this.ignoreCase&&(t=t.toLowerCase()),t},e}(),d=function(){function e(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}return e.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.get=function(e,t){void 0===t&&(t=0);var n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value},e.prototype.set=function(e,t,n){void 0===n&&(n=0);var r=this._map.get(e);if(r)r.value=t,0!==n&&this.touch(r,n);else{switch(r={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(r);break;case 1:this.addItemFirst(r);break;case 2:this.addItemLast(r);break;default:this.addItemLast(r);break}this._map.set(e,r),this._size++}},e.prototype.delete=function(e){return!!this.remove(e)},e.prototype.remove=function(e){var t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value},e.prototype.forEach=function(e,t){var n=this._head;while(n)t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),n=n.next},e.prototype.trimOld=function(e){if(!(e>=this.size))if(0!==e){var t=this._head,n=this.size;while(t&&n>e)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0)}else this.clear()},e.prototype.addItemFirst=function(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e},e.prototype.addItemLast=function(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e},e.prototype.removeItem=function(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{var t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0},e.prototype.touch=function(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;var n=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(n.previous=r,r.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e}else if(2===t){if(e===this._tail)return;n=e.next,r=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=r,r.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}},e.prototype.toJSON=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),e},e}(),h=function(e){function t(t,n){void 0===n&&(n=1);var r=e.call(this)||this;return r._limit=t,r._ratio=Math.min(Math.max(0,n),1),r}return r(t,e),t.prototype.get=function(t){return e.prototype.get.call(this,t,2)},t.prototype.peek=function(t){return e.prototype.get.call(this,t,0)},t.prototype.set=function(t,n){e.prototype.set.call(this,t,n,2),this.checkTrim()},t.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},t}(d)},QFiB:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return n.e(188).then(n.bind(null,"PhST"))}})},"QO+J":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=o(n("NohK")),i=n("24YM");function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t=void 0,n=[],o=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");var t=document.createElement("object");return t.onload=function(){t.contentDocument.defaultView.addEventListener("resize",a),a()},t.style.display="block",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.height="100%",t.style.width="100%",t.style.overflow="hidden",t.style.pointerEvents="none",t.style.zIndex="-1",t.style.opacity="0",t.setAttribute("class",i.SensorClassName),t.setAttribute("tabindex",i.SensorTabIndex),t.type="text/html",e.appendChild(t),t.data="about:blank",t},a=(0,r["default"])((function(){n.forEach((function(t){t(e)}))})),s=function(e){t||(t=o()),-1===n.indexOf(e)&&n.push(e)},l=function(){t&&t.parentNode&&(t.contentDocument&&t.contentDocument.defaultView.removeEventListener("resize",a),t.parentNode.removeChild(t),t=void 0,n=[])},u=function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&l()};return{element:e,bind:s,destroy:l,unbind:u}};t.createSensor=a},"QQZ/":function(e,t,n){var r=n("Sq3C"),i=n("Z1HP"),o=n("Sxd8"),a=n("dt0z");function s(e,t,n){e=a(e),t=o(t);var s=t?i(e):0;return t&&s<t?r(t-s,n)+e:e}e.exports=s},QRHv:function(e,t,n){"use strict";n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"d",(function(){return v}));var r=n("6OMU"),i=n("4bUh"),o=n("cGHE"),a=n("twdY");function s(e){for(var t=0,n=0,r=0,i=0,o=e.length;i<o;i++){var a=e.charCodeAt(i);13===a?(0===t&&(n=i),t++,i+1<o&&10===e.charCodeAt(i+1)&&i++,r=i+1):10===a&&(0===t&&(n=i),t++,r=i+1)}return 0===t&&(n=e.length),[t,n,e.length-r]}function l(e){return(16384|e<<0|2<<23)>>>0}var u=new Uint32Array(0).buffer,c=function(){function e(){this.tokens=[]}return e.prototype.add=function(e,t){if(this.tokens.length>0){var n=this.tokens[this.tokens.length-1],r=n.startLineNumber+n.tokens.length-1;if(r+1===e)return void n.tokens.push(t)}this.tokens.push(new p(e,[t]))},e}(),d=function(){function e(e){this._tokens=e,this._tokenCount=e.length/4}return e.prototype.getMaxDeltaLine=function(){var e=this.getTokenCount();return 0===e?-1:this.getDeltaLine(e-1)},e.prototype.getTokenCount=function(){return this._tokenCount},e.prototype.getDeltaLine=function(e){return this._tokens[4*e]},e.prototype.getStartCharacter=function(e){return this._tokens[4*e+1]},e.prototype.getEndCharacter=function(e){return this._tokens[4*e+2]},e.prototype.getMetadata=function(e){return this._tokens[4*e+3]},e.prototype.clear=function(){this._tokenCount=0},e.prototype.acceptDeleteRange=function(e,t,n,r,i){for(var o=this._tokens,a=this._tokenCount,s=r-t,l=0,u=!1,c=0;c<a;c++){var d=4*c,h=o[d],f=o[d+1],p=o[d+2],g=o[d+3];if(h<t||h===t&&p<=n)l++;else{if(h===t&&f<n)h===r&&p>i?p-=i-n:p=n;else if(h===t&&f===n){if(!(h===r&&p>i)){u=!0;continue}p-=i-n}else if(h<r||h===r&&f<i){if(!(h===r&&p>i)){u=!0;continue}h===t?(f=n,p=f+(p-i)):(f=0,p=f+(p-i))}else if(h>r){if(0===s&&!u){l=a;break}h-=s}else{if(!(h===r&&f>=i))throw new Error("Not possible!");e&&0===h&&(f+=e,p+=e),h-=s,f-=i-n,p-=i-n}var m=4*l;o[m]=h,o[m+1]=f,o[m+2]=p,o[m+3]=g,l++}}this._tokenCount=l},e.prototype.acceptInsertText=function(e,t,n,r,i,o){for(var a=0===n&&1===r&&(o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122),s=this._tokens,l=this._tokenCount,u=0;u<l;u++){var c=4*u,d=s[c],h=s[c+1],f=s[c+2];if(!(d<e||d===e&&f<t)){if(d===e&&f===t){if(!a)continue;f+=1}else if(d===e&&h<t&&t<f)0===n?f+=r:f=t;else{if(d===e&&h===t&&a)continue;if(d===e)if(d+=n,0===n)h+=r,f+=r;else{var p=f-h;h=i+(h-t),f=h+p}else d+=n}s[c]=d,s[c+1]=h,s[c+2]=f}}},e}(),h=function(){function e(e,t,n){this._actual=e,this._startTokenIndex=t,this._endTokenIndex=n}return e.prototype.getCount=function(){return this._endTokenIndex-this._startTokenIndex+1},e.prototype.getStartCharacter=function(e){return this._actual.getStartCharacter(this._startTokenIndex+e)},e.prototype.getEndCharacter=function(e){return this._actual.getEndCharacter(this._startTokenIndex+e)},e.prototype.getMetadata=function(e){return this._actual.getMetadata(this._startTokenIndex+e)},e}(),f=function(){function e(e,t){this.startLineNumber=e,this.tokens=t,this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()}return e.prototype._updateEndLineNumber=function(){this.endLineNumber=this.startLineNumber+this.tokens.getMaxDeltaLine()},e.prototype.getLineTokens=function(t){if(this.startLineNumber<=t&&t<=this.endLineNumber){var n=e._findTokensWithLine(this.tokens,t-this.startLineNumber);if(n){var r=n[0],i=n[1];return new h(this.tokens,r,i)}}return null},e._findTokensWithLine=function(e,t){var n=0,r=e.getTokenCount()-1;while(n<r){var i=n+Math.floor((r-n)/2),o=e.getDeltaLine(i);if(o<t)n=i+1;else{if(!(o>t)){var a=i;while(a>n&&e.getDeltaLine(a-1)===t)a--;var s=i;while(s<r&&e.getDeltaLine(s+1)===t)s++;return[a,s]}r=i-1}}return e.getDeltaLine(n)===t?[n,n]:null},e.prototype.applyEdit=function(e,t){var n=s(t),r=n[0],i=n[1],o=n[2];this.acceptEdit(e,r,i,o,t.length>0?t.charCodeAt(0):0)},e.prototype.acceptEdit=function(e,t,n,r,i){this._acceptDeleteRange(e),this._acceptInsertText(new o["a"](e.startLineNumber,e.startColumn),t,n,r,i),this._updateEndLineNumber()},e.prototype._acceptDeleteRange=function(e){if(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn){var t=e.startLineNumber-this.startLineNumber,n=e.endLineNumber-this.startLineNumber;if(n<0){var r=n-t;this.startLineNumber-=r}else{var i=this.tokens.getMaxDeltaLine();if(!(t>=i+1)){if(t<0&&n>=i+1)return this.startLineNumber=0,void this.tokens.clear();if(t<0){var o=-t;this.startLineNumber-=o,this.tokens.acceptDeleteRange(e.startColumn-1,0,0,n,e.endColumn-1)}else this.tokens.acceptDeleteRange(0,t,e.startColumn-1,n,e.endColumn-1)}}}},e.prototype._acceptInsertText=function(e,t,n,r,i){if(0!==t||0!==n){var o=e.lineNumber-this.startLineNumber;if(o<0)this.startLineNumber+=t;else{var a=this.tokens.getMaxDeltaLine();o>=a+1||this.tokens.acceptInsertText(o,e.column-1,t,n,r,i)}}},e}(),p=function(){function e(e,t){this.startLineNumber=e,this.tokens=t}return e}();function g(e){return e instanceof Uint32Array?e:new Uint32Array(e)}var m=function(){function e(){this._pieces=[]}return e.prototype.flush=function(){this._pieces=[]},e.prototype.set=function(e){this._pieces=e||[]},e.prototype.addSemanticTokens=function(t,n){var r=this._pieces;if(0===r.length)return n;var o=e._findFirstPieceWithLine(r,t),a=this._pieces[o].getLineTokens(t);if(!a)return n;for(var s=n.getCount(),l=a.getCount(),u=0,c=[],d=0,h=0;h<l;h++){var f=a.getStartCharacter(h),p=a.getEndCharacter(h),g=a.getMetadata(h),m=((1&g?2048:0)|(2&g?4096:0)|(4&g?8192:0)|(8&g?8372224:0)|(16&g?4286578688:0))>>>0,v=~m>>>0;while(u<s&&n.getEndOffset(u)<=f)c[d++]=n.getEndOffset(u),c[d++]=n.getMetadata(u),u++;u<s&&n.getStartOffset(u)<f&&(c[d++]=f,c[d++]=n.getMetadata(u));while(u<s&&n.getEndOffset(u)<p)c[d++]=n.getEndOffset(u),c[d++]=n.getMetadata(u)&v|g&m,u++;if(u<s&&n.getEndOffset(u)===p)c[d++]=n.getEndOffset(u),c[d++]=n.getMetadata(u)&v|g&m,u++;else{var y=Math.min(Math.max(0,u-1),s-1);c[d++]=p,c[d++]=n.getMetadata(y)&v|g&m}}while(u<s)c[d++]=n.getEndOffset(u),c[d++]=n.getMetadata(u),u++;return new i["a"](new Uint32Array(c),n.getLineContent())},e._findFirstPieceWithLine=function(e,t){var n=0,r=e.length-1;while(n<r){var i=n+Math.floor((r-n)/2);if(e[i].endLineNumber<t)n=i+1;else{if(!(e[i].startLineNumber>t)){while(i>n&&e[i-1].startLineNumber<=t&&t<=e[i-1].endLineNumber)i--;return i}r=i-1}}return n},e.prototype.acceptEdit=function(e,t,n,r,i){for(var o=0,a=this._pieces;o<a.length;o++){var s=a[o];s.acceptEdit(e,t,n,r,i)}},e}(),v=function(){function e(){this._lineTokens=[],this._len=0}return e.prototype.flush=function(){this._lineTokens=[],this._len=0},e.prototype.getTokens=function(e,t,n){var r=null;if(t<this._len&&(r=this._lineTokens[t]),null!==r&&r!==u)return new i["a"](g(r),n);var o=new Uint32Array(2);return o[0]=n.length,o[1]=l(e),new i["a"](o,n)},e._massageTokens=function(e,t,n){var r=n?g(n):null;if(0===t){var i=!1;if(r&&r.length>1&&(i=a["x"].getLanguageId(r[1])!==e),!i)return u}if(!r||0===r.length){var o=new Uint32Array(2);return o[0]=t,o[1]=l(e),o.buffer}return r[r.length-2]=t,0===r.byteOffset&&r.byteLength===r.buffer.byteLength?r.buffer:r},e.prototype._ensureLine=function(e){while(e>=this._len)this._lineTokens[this._len]=null,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._lineTokens.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=0;i<t;i++)n[i]=null;this._lineTokens=r["a"](this._lineTokens,e,n),this._len+=t}},e.prototype.setTokens=function(t,n,r,i){var o=e._massageTokens(t,r,i);this._ensureLine(n),this._lineTokens[n]=o},e.prototype.acceptEdit=function(e,t,n){this._acceptDeleteRange(e),this._acceptInsertText(new o["a"](e.startLineNumber,e.startColumn),t,n)},e.prototype._acceptDeleteRange=function(t){var n=t.startLineNumber-1;if(!(n>=this._len))if(t.startLineNumber!==t.endLineNumber){this._lineTokens[n]=e._deleteEnding(this._lineTokens[n],t.startColumn-1);var r=t.endLineNumber-1,i=null;r<this._len&&(i=e._deleteBeginning(this._lineTokens[r],t.endColumn-1)),this._lineTokens[n]=e._append(this._lineTokens[n],i),this._deleteLines(t.startLineNumber,t.endLineNumber-t.startLineNumber)}else{if(t.startColumn===t.endColumn)return;this._lineTokens[n]=e._delete(this._lineTokens[n],t.startColumn-1,t.endColumn-1)}},e.prototype._acceptInsertText=function(t,n,r){if(0!==n||0!==r){var i=t.lineNumber-1;i>=this._len||(0!==n?(this._lineTokens[i]=e._deleteEnding(this._lineTokens[i],t.column-1),this._lineTokens[i]=e._insert(this._lineTokens[i],t.column-1,r),this._insertLines(t.lineNumber,n)):this._lineTokens[i]=e._insert(this._lineTokens[i],t.column-1,r))}},e._deleteBeginning=function(t,n){return null===t||t===u?t:e._delete(t,0,n)},e._deleteEnding=function(t,n){if(null===t||t===u)return t;var r=g(t),i=r[r.length-2];return e._delete(t,n,i)},e._delete=function(e,t,n){if(null===e||e===u||t===n)return e;var r=g(e),o=r.length>>>1;if(0===t&&r[r.length-2]===n)return u;var a,s,l=i["a"].findIndexInTokensArray(r,t),c=l>0?r[l-1<<1]:0,d=r[l<<1];if(n<d){for(var h=n-t,f=l;f<o;f++)r[f<<1]-=h;return e}c!==t?(r[l<<1]=t,a=l+1<<1,s=t):(a=l<<1,s=c);for(var p=n-t,m=l+1;m<o;m++){var v=r[m<<1]-p;v>s&&(r[a++]=v,r[a++]=r[1+(m<<1)],s=v)}if(a===r.length)return e;var y=new Uint32Array(a);return y.set(r.subarray(0,a),0),y.buffer},e._append=function(e,t){if(t===u)return e;if(e===u)return t;if(null===e)return e;if(null===t)return null;var n=g(e),r=g(t),i=r.length>>>1,o=new Uint32Array(n.length+r.length);o.set(n,0);for(var a=n.length,s=n[n.length-2],l=0;l<i;l++)o[a++]=r[l<<1]+s,o[a++]=r[1+(l<<1)];return o.buffer},e._insert=function(e,t,n){if(null===e||e===u)return e;var r=g(e),o=r.length>>>1,a=i["a"].findIndexInTokensArray(r,t);if(a>0){var s=r[a-1<<1];s===t&&a--}for(var l=a;l<o;l++)r[l<<1]+=n;return e},e}()},QUw5:function(e,t,n){var r=n("OlYY"),i=r.extend({type:"dataZoom.select"});e.exports=i},QVNv:function(e,t,n){"use strict";n.d(t,"b",(function(){return v})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return _})),n.d(t,"e",(function(){return w})),n.d(t,"d",(function(){return k})),n.d(t,"f",(function(){return D}));var r,i=n("X+cX"),o=n("qj0h"),a=n("/cxE"),s=n("sswD"),l=n("twdY"),u=n("cGHE"),c=n("T8No"),d=n("JQT/"),h=n("aokT"),f=n("fpMC"),p=n("pmY6"),g=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},m=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},v={Visible:new c["d"]("suggestWidgetVisible",!1),MultipleSuggestions:new c["d"]("suggestWidgetMultipleSuggestions",!1),MakesTextEdit:new c["d"]("suggestionMakesTextEdit",!0),AcceptSuggestionsOnEnter:new c["d"]("acceptSuggestionOnEnter",!0)},y=function(){function e(e,t,n,r,i){var s=this;this.position=e,this.completion=t,this.container=n,this.provider=r,this.isResolved=!1,this.score=f["a"].Default,this.distance=0,this.textLabel="string"===typeof t.label?t.label:t.label.name,this.labelLow=this.textLabel.toLowerCase(),this.sortTextLow=t.sortText&&t.sortText.toLowerCase(),this.filterTextLow=t.filterText&&t.filterText.toLowerCase(),h["a"].isIRange(t.range)?(this.editStart=new u["a"](t.range.startLineNumber,t.range.startColumn),this.editInsertEnd=new u["a"](t.range.endLineNumber,t.range.endColumn),this.editReplaceEnd=new u["a"](t.range.endLineNumber,t.range.endColumn)):(this.editStart=new u["a"](t.range.insert.startLineNumber,t.range.insert.startColumn),this.editInsertEnd=new u["a"](t.range.insert.endLineNumber,t.range.insert.endColumn),this.editReplaceEnd=new u["a"](t.range.replace.endLineNumber,t.range.replace.endColumn));var l,c=r.resolveCompletionItem;"function"!==typeof c?(this.resolve=function(){return Promise.resolve()},this.isResolved=!0):this.resolve=function(n){return l||(l=Promise.resolve(c.call(r,i,e,t,n)).then((function(e){Object(o["a"])(t,e),s.isResolved=!0}),(function(e){Object(a["d"])(e)&&(l=void 0)})),n.onCancellationRequested((function(){s.isResolved||(l=void 0)}))),l}}return e}(),b=function(){function e(e,t,n){void 0===e&&(e=2),void 0===t&&(t=new Set),void 0===n&&(n=new Set),this.snippetSortOrder=e,this.kindFilter=t,this.providerFilter=n}return e.default=new e,e}();function _(){return r}function w(e,t,n,o,s){void 0===n&&(n=b.default),void 0===o&&(o={triggerKind:0}),void 0===s&&(s=d["a"].None);var u=e.getWordAtPosition(t),c=u?new h["a"](t.lineNumber,u.startColumn,t.lineNumber,u.endColumn):h["a"].fromPositions(t),f=c.setEndPosition(t.lineNumber,t.column);t=t.clone();var g=l["d"].orderedGroups(e);!n.kindFilter.has(25)&&r&&g.unshift([r]);var m=[],v=new p["b"],_=!1,w=g.map((function(i){return function(){return Promise.all(i.map((function(i){if(!(n.providerFilter.size>0)||n.providerFilter.has(i))return Promise.resolve(i.provideCompletionItems(e,t,o,s)).then((function(o){var a=m.length;if(o){for(var s=0,l=o.suggestions||[];s<l.length;s++){var u=l[s];n.kindFilter.has(u.kind)||(u.range||(u.range={insert:f,replace:c}),u.sortText||(u.sortText="string"===typeof u.label?u.label:u.label.name),m.push(new y(t,u,o,i,e)))}Object(p["g"])(o)&&v.add(o)}a!==m.length&&i!==r&&(_=!0)}),a["f"])})))}})),x=Object(i["h"])(w,(function(){return _||s.isCancellationRequested})).then((function(){return s.isCancellationRequested?(v.dispose(),Promise.reject(Object(a["a"])())):m.sort(k(n.snippetSortOrder))}));return x}function x(e,t){if(e.sortTextLow&&t.sortTextLow){if(e.sortTextLow<t.sortTextLow)return-1;if(e.sortTextLow>t.sortTextLow)return 1}return e.completion.label<t.completion.label?-1:e.completion.label>t.completion.label?1:e.completion.kind-t.completion.kind}function C(e,t){if(e.completion.kind!==t.completion.kind){if(25===e.completion.kind)return-1;if(25===t.completion.kind)return 1}return x(e,t)}function S(e,t){if(e.completion.kind!==t.completion.kind){if(25===e.completion.kind)return 1;if(25===t.completion.kind)return-1}return x(e,t)}var O=new Map;function k(e){return O.get(e)}O.set(0,C),O.set(2,S),O.set(1,x),Object(s["e"])("_executeCompletionItemProvider",(function(e,t,n){return g(void 0,void 0,void 0,(function(){var r,i,o,a,s,l,u,c;return m(this,(function(h){switch(h.label){case 0:return r={incomplete:!1,suggestions:[]},i=new p["b"],o=[],a=n["maxItemsToResolve"]||0,[4,w(e,t)];case 1:for(s=h.sent(),l=0,u=s;l<u.length;l++)c=u[l],o.length<a&&o.push(c.resolve(d["a"].None)),r.incomplete=r.incomplete||c.container.incomplete,r.suggestions.push(c.completion),Object(p["g"])(c.container)&&i.add(c.container);h.label=2;case 2:return h.trys.push([2,,4,5]),[4,Promise.all(o)];case 3:return h.sent(),[2,r];case 4:return setTimeout((function(){return i.dispose()}),100),[7];case 5:return[2]}}))}))}));var E=new(function(){function e(){this.onlyOnceSuggestions=[]}return e.prototype.provideCompletionItems=function(){var e=this.onlyOnceSuggestions.slice(0),t={suggestions:e};return this.onlyOnceSuggestions.length=0,t},e}());function D(e,t){setTimeout((function(){var n;(n=E.onlyOnceSuggestions).push.apply(n,t),e.getContribution("editor.contrib.suggestController").triggerSuggest((new Set).add(E))}),0)}l["d"].register("*",E)},QbM5:function(e,t,n){},Qe9p:function(e,t,n){var r=n("1RvN"),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return e=Math.round(e),e<0?0:e>255?255:e}function a(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function h(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var p=new r(20),g=null;function m(e,t){g&&f(g,t),g=p.put(e,g||t.slice())}function v(e,t){if(e){t=t||[];var n=p.get(e);if(n)return f(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in i)return f(t,i[r]),m(e,t),t;if("#"!==r.charAt(0)){var o=r.indexOf("("),a=r.indexOf(")");if(-1!==o&&a+1===r.length){var s=r.substr(0,o),c=r.substr(o+1,a-(o+1)).split(","),d=1;switch(s){case"rgba":if(4!==c.length)return void h(t,0,0,0,1);d=u(c.pop());case"rgb":return 3!==c.length?void h(t,0,0,0,1):(h(t,l(c[0]),l(c[1]),l(c[2]),d),m(e,t),t);case"hsla":return 4!==c.length?void h(t,0,0,0,1):(c[3]=u(c[3]),y(c,t),m(e,t),t);case"hsl":return 3!==c.length?void h(t,0,0,0,1):(y(c,t),m(e,t),t);default:return}}h(t,0,0,0,1)}else{if(4===r.length){var g=parseInt(r.substr(1),16);return g>=0&&g<=4095?(h(t,(3840&g)>>4|(3840&g)>>8,240&g|(240&g)>>4,15&g|(15&g)<<4,1),m(e,t),t):void h(t,0,0,0,1)}if(7===r.length){g=parseInt(r.substr(1),16);return g>=0&&g<=16777215?(h(t,(16711680&g)>>16,(65280&g)>>8,255&g,1),m(e,t),t):void h(t,0,0,0,1)}}}}function y(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=u(e[1]),i=u(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return t=t||[],h(t,o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function b(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)t=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+c-h:o===s&&(t=2/3+d-c),t<0&&(t+=1),t>1&&(t-=1)}var f=[360*t,n,u];return null!=e[3]&&f.push(e[3]),f}}function _(e,t){var n=v(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:e[r]<0&&(n[r]=0);return D(n,4===n.length?"rgba":"rgb")}}function w(e){var t=v(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function x(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=t[i],u=t[a],c=r-i;return n[0]=o(d(l[0],u[0],c)),n[1]=o(d(l[1],u[1],c)),n[2]=o(d(l[2],u[2],c)),n[3]=s(d(l[3],u[3],c)),n}}var C=x;function S(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),l=v(t[i]),u=v(t[a]),c=r-i,h=D([o(d(l[0],u[0],c)),o(d(l[1],u[1],c)),o(d(l[2],u[2],c)),s(d(l[3],u[3],c))],"rgba");return n?{color:h,leftIndex:i,rightIndex:a,value:r}:h}}var O=S;function k(e,t,n,r){if(e=v(e),e)return e=b(e),null!=t&&(e[0]=a(t)),null!=n&&(e[1]=u(n)),null!=r&&(e[2]=u(r)),D(y(e),"rgba")}function E(e,t){if(e=v(e),e&&null!=t)return e[3]=s(t),D(e,"rgba")}function D(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=v,t.lift=_,t.toHex=w,t.fastLerp=x,t.fastMapToColor=C,t.lerp=S,t.mapToColor=O,t.modifyHSL=k,t.modifyAlpha=E,t.stringify=D},Qi1f:function(e,t,n){"use strict";n.d(t,"g",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return y})),n.d(t,"f",(function(){return w}));var r=n("rePB"),i=n("U8pU"),o=n("HXN9"),a=n("q1tI"),s=n.n(a),l=n("Kwbf"),u=n("Gu+u");function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){Object(l["a"])(e,"[@ant-design/icons] ".concat(t))}function f(e){return"object"===Object(i["a"])(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===Object(i["a"])(e.icon)||"function"===typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:t[n]=r}return t}),{})}function g(e,t,n){return n?s.a.createElement(e.tag,d(d({key:t},p(e.attrs)),n),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.a.createElement(e.tag,d({key:t},p(e.attrs)),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function m(e){return Object(o["generate"])(e)[0]}function v(e){return e?Array.isArray(e)?e:[e]:[]}var y={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},b="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",_=!1,w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;Object(a["useEffect"])((function(){_||(Object(u["insertCss"])(e,{prepend:!0}),_=!0)}),[])}},QiAa:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return n.e(205).then(n.bind(null,"j6Xs"))}})},QkVE:function(e,t,n){var r=n("EpBk");function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},QoRX:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}e.exports=n},QqLw:function(e,t,n){var r=n("tadb"),i=n("ebwN"),o=n("HOxn"),a=n("yGk4"),s=n("Of+w"),l=n("NykK"),u=n("3Fdi"),c="[object Map]",d="[object Object]",h="[object Promise]",f="[object Set]",p="[object WeakMap]",g="[object DataView]",m=u(r),v=u(i),y=u(o),b=u(a),_=u(s),w=l;(r&&w(new r(new ArrayBuffer(1)))!=g||i&&w(new i)!=c||o&&w(o.resolve())!=h||a&&w(new a)!=f||s&&w(new s)!=p)&&(w=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return g;case v:return c;case y:return h;case b:return f;case _:return p}return t}),e.exports=w},Qs3X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("X+im"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},QuOb:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("MI8n"),i=n("pmY6"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(){function e(e,t,n,r,i,o){e|=0,t|=0,n|=0,r|=0,i|=0,o|=0,e<0&&(e=0),n+e>t&&(n=t-e),n<0&&(n=0),r<0&&(r=0),o+r>i&&(o=i-r),o<0&&(o=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=r,this.scrollHeight=i,this.scrollTop=o}return e.prototype.equals=function(e){return this.width===e.width&&this.scrollWidth===e.scrollWidth&&this.scrollLeft===e.scrollLeft&&this.height===e.height&&this.scrollHeight===e.scrollHeight&&this.scrollTop===e.scrollTop},e.prototype.withScrollDimensions=function(t){return new e("undefined"!==typeof t.width?t.width:this.width,"undefined"!==typeof t.scrollWidth?t.scrollWidth:this.scrollWidth,this.scrollLeft,"undefined"!==typeof t.height?t.height:this.height,"undefined"!==typeof t.scrollHeight?t.scrollHeight:this.scrollHeight,this.scrollTop)},e.prototype.withScrollPosition=function(t){return new e(this.width,this.scrollWidth,"undefined"!==typeof t.scrollLeft?t.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,"undefined"!==typeof t.scrollTop?t.scrollTop:this.scrollTop)},e.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,r=this.scrollLeft!==e.scrollLeft,i=this.height!==e.height,o=this.scrollHeight!==e.scrollHeight,a=this.scrollTop!==e.scrollTop;return{width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:t,scrollWidthChanged:n,scrollLeftChanged:r,heightChanged:i,scrollHeightChanged:o,scrollTopChanged:a}},e}(),s=function(e){function t(t,n){var i=e.call(this)||this;return i._onScroll=i._register(new r["a"]),i.onScroll=i._onScroll.event,i._smoothScrollDuration=t,i._scheduleAtNextAnimationFrame=n,i._state=new a(0,0,0,0,0,0),i._smoothScrolling=null,i}return o(t,e),t.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),e.prototype.dispose.call(this)},t.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},t.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._state},t.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},t.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},t.prototype.getCurrentScrollPosition=function(){return this._state},t.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},t.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:"undefined"===typeof e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:"undefined"===typeof e.scrollTop?this._smoothScrolling.to.scrollTop:e.scrollTop};var n=this._state.withScrollPosition(e);if(this._smoothScrolling.to.scrollLeft===n.scrollLeft&&this._smoothScrolling.to.scrollTop===n.scrollTop)return;var r=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=r}else{n=this._state.withScrollPosition(e);this._smoothScrolling=d.start(this._state,n,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())}))},t.prototype._performSmoothScrolling=function(){var e=this;if(this._smoothScrolling){var t=this._smoothScrolling.tick(),n=this._state.withScrollPosition(t);if(this._setState(n),t.isDone)return this._smoothScrolling.dispose(),void(this._smoothScrolling=null);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame((function(){e._smoothScrolling&&(e._smoothScrolling.animationFrameDisposable=null,e._performSmoothScrolling())}))}},t.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},t}(i["a"]),l=function(){function e(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n}return e}();function u(e,t){var n=t-e;return function(t){return e+n*f(t)}}function c(e,t,n){return function(r){return r<n?e(r/n):t((r-n)/(1-n))}}var d=function(){function e(e,t,n,r){this.from=e,this.to=t,this.duration=r,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}return e.prototype._initAnimations=function(){this.scrollLeft=this._initAnimation(this.from.scrollLeft,this.to.scrollLeft,this.to.width),this.scrollTop=this._initAnimation(this.from.scrollTop,this.to.scrollTop,this.to.height)},e.prototype._initAnimation=function(e,t,n){var r=Math.abs(e-t);if(r>2.5*n){var i=void 0,o=void 0;return e<t?(i=e+.75*n,o=t-.75*n):(i=e-.75*n,o=t+.75*n),c(u(e,i),u(o,t),.33)}return u(e,t)},e.prototype.dispose=function(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)},e.prototype.acceptScrollDimensions=function(e){this.to=e.withScrollPosition(this.to),this._initAnimations()},e.prototype.tick=function(){return this._tick(Date.now())},e.prototype._tick=function(e){var t=(e-this._startTime)/this.duration;if(t<1){var n=this.scrollLeft(t),r=this.scrollTop(t);return new l(n,r,!1)}return new l(this.to.scrollLeft,this.to.scrollTop,!0)},e.prototype.combine=function(t,n,r){return e.start(t,n,r)},e.start=function(t,n,r){r+=10;var i=Date.now()-10;return new e(t,n,i,r)},e}();function h(e){return Math.pow(e,3)}function f(e){return 1-h(1-e)}},QuXc:function(e,t){var n=function(e){this.colorStops=e||[]};n.prototype={constructor:n,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var r=n;e.exports=r},Qvb6:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("ItGF"),a=n("B9fm"),s=n("gvm7"),l=n("7aKB"),u=n("OELB"),c=n("IwbS"),d=n("Ez2D"),h=n("+TT/"),f=n("Qxkt"),p=n("F9bG"),g=n("aX7z"),m=n("/y7N"),v=n("4NO4"),y=v.getTooltipRenderMode,b=i.bind,_=i.each,w=u.parsePercent,x=new c.Rect({shape:{x:-1,y:-1,width:2,height:2}}),C=r.extendComponentView({type:"tooltip",init:function(e,t){if(!o.node){var n,r=e.getComponent("tooltip"),i=r.get("renderMode");this._renderMode=y(i),"html"===this._renderMode?(n=new a(t.getDom(),t,{appendToBody:r.get("appendToBody",!0)}),this._newLine="<br/>"):(n=new s(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!o.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var r=this._tooltipContent;r.update(),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");p.register("itemTooltip",this._api,b((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(e,t,n,r){if(r.from!==this.uid&&!o.node){var i=O(r,n);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=x;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var l=d(r,t),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:l.el},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},manuallyHideTip:function(e,t,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(O(r,n))},_manuallyAxisShowTip:function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=t.getSeriesByIndex(i);if(s){var l=s.getData();e=S([l.getItemModel(o),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}}},_tryShow:function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=i.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,r=this._tooltipModel,o=[t.offsetX,t.offsetY],a=[],s=[],u=S([t.tooltipOption,r]),c=this._renderMode,d=this._newLine,h={};_(e,(function(e){_(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value,o=[];if(t&&null!=r){var u=m.getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);i.each(e.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),d=a.dataIndexInside,f=l&&l.getDataParams(d);if(f.axisDim=e.axisDim,f.axisIndex=e.axisIndex,f.axisType=e.axisType,f.axisId=e.axisId,f.axisValue=g.getAxisRawValue(t.axis,r),f.axisValueLabel=u,f){s.push(f);var p,m=l.formatTooltip(d,!0,null,c);if(i.isObject(m)){p=m.html;var v=m.markers;i.merge(h,v)}else p=m;o.push(p)}}));var f=u;"html"!==c?a.push(o.join(d)):a.push((f?l.encodeHTML(f)+d:"")+o.join(d))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=t.position;this._showOrMove(u,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(u,f,o[0],o[1],this._tooltipContent,s):this._showTooltipContent(u,a,s,Math.random(),o[0],o[1],f,void 0,h)}))},_showSeriesItemTooltip:function(e,t,n){var r=this._ecModel,o=t.seriesIndex,a=r.getSeriesByIndex(o),s=t.dataModel||a,l=t.dataIndex,u=t.dataType,c=s.getData(u),d=S([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),h=d.get("trigger");if(null==h||"item"===h){var f,p,g=s.getDataParams(l,u),m=s.formatTooltip(l,!1,u,this._renderMode);i.isObject(m)?(f=m.html,p=m.markers):(f=m,p=null);var v="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,f,g,v,e.offsetX,e.offsetY,e.position,e.target,p)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var r=t.tooltip;if("string"===typeof r){var i=r;r={content:i,formatter:i}}var o=new f(r,this._tooltipModel,this._ecModel),a=o.get("content"),s=Math.random();this._showOrMove(o,(function(){this._showTooltipContent(o,a,o.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,r,i,o,a,s,u){if(this._ticket="",e.get("showContent")&&e.get("show")){var c=this._tooltipContent,d=e.get("formatter");a=a||e.get("position");var h=t;if(d&&"string"===typeof d)h=l.formatTpl(d,n,!0);else if("function"===typeof d){var f=b((function(t,r){t===this._ticket&&(c.setContent(r,u,e),this._updatePosition(e,a,i,o,c,n,s))}),this);this._ticket=r,h=d(n,r,f)}c.setContent(h,u,e),c.show(e),this._updatePosition(e,a,i,o,c,n,s)}},_updatePosition:function(e,t,n,r,o,a,s){var l=this._api.getWidth(),u=this._api.getHeight();t=t||e.get("position");var c=o.getSize(),d=e.get("align"),f=e.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof t&&(t=t([n,r],a,o.el,p,{viewSize:[l,u],contentSize:c.slice()})),i.isArray(t))n=w(t[0],l),r=w(t[1],u);else if(i.isObject(t)){t.width=c[0],t.height=c[1];var g=h.getLayoutRect(t,{width:l,height:u});n=g.x,r=g.y,d=null,f=null}else if("string"===typeof t&&s){var m=D(t,p,c);n=m[0],r=m[1]}else{m=k(n,r,o,l,u,d?null:20,f?null:20);n=m[0],r=m[1]}if(d&&(n-=M(d)?c[0]/2:"right"===d?c[0]:0),f&&(r-=M(f)?c[1]/2:"bottom"===f?c[1]:0),e.get("confine")){m=E(n,r,o,l,u);n=m[0],r=m[1]}o.moveTo(n,r)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&_(t,(function(t,r){var i=t.dataByAxis||{},o=e[r]||{},a=o.dataByAxis||[];n&=i.length===a.length,n&&_(i,(function(e,t){var r=a[t]||{},i=e.seriesDataIndices||[],o=r.seriesDataIndices||[];n&=e.value===r.value&&e.axisType===r.axisType&&e.axisId===r.axisId&&i.length===o.length,n&&_(i,(function(e,t){var r=o[t];n&=e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",t))}});function S(e){var t=e.pop();while(e.length){var n=e.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),t=new f(n,t,t.ecModel))}return t}function O(e,t){return e.dispatchAction||i.bind(t.dispatchAction,t)}function k(e,t,n,r,i,o,a){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=o&&(e+l+o>r?e-=l+o:e+=o),null!=a&&(t+u+a>i?t-=u+a:t+=a),[e,t]}function E(e,t,n,r,i){var o=n.getOuterSize(),a=o.width,s=o.height;return e=Math.min(e+a,r)-a,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function D(e,t,n){var r=n[0],i=n[1],o=5,a=0,s=0,l=t.width,u=t.height;switch(e){case"inside":a=t.x+l/2-r/2,s=t.y+u/2-i/2;break;case"top":a=t.x+l/2-r/2,s=t.y-i-o;break;case"bottom":a=t.x+l/2-r/2,s=t.y+u+o;break;case"left":a=t.x-r-o,s=t.y+u/2-i/2;break;case"right":a=t.x+l+o,s=t.y+u/2-i/2}return[a,s]}function M(e){return"center"===e||"middle"===e}e.exports=C},Qxkt:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4NO4"),a=o.makeInner,s=n("Yl7c"),l=s.enableClassExtend,u=s.enableClassCheck,c=n("OQFs"),d=n("m9t5"),h=n("/iHx"),f=n("VR9l"),p=r.mixin,g=a();function m(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function v(e,t,n){for(var r=0;r<t.length;r++)if(t[r]&&(e=e&&"object"===typeof e?e[t[r]]:null,null==e))break;return null==e&&n&&(e=n.get(t)),e}function y(e,t){var n=g(e).getParent;return n?n.call(e,t):e.parentModel}m.prototype={constructor:m,init:null,mergeOption:function(e){r.merge(this.option,e,!0)},get:function(e,t){return null==e?this.option:v(this.option,this.parsePath(e),!t&&y(this,e))},getShallow:function(e,t){var n=this.option,r=null==n?n:n[e],i=!t&&y(this,e);return null==r&&i&&(r=i.getShallow(e)),r},getModel:function(e,t){var n,r=null==e?this.option:v(this.option,e=this.parsePath(e));return t=t||(n=y(this,e))&&n.getModel(e),new m(r,t,this.ecModel)},isEmpty:function(){return null==this.option},restoreData:function(){},clone:function(){var e=this.constructor;return new e(r.clone(this.option))},setReadOnly:function(e){},parsePath:function(e){return"string"===typeof e&&(e=e.split(".")),e},customizeGetParent:function(e){g(this).getParent=e},isAnimationEnabled:function(){if(!i.node){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}},l(m),u(m),p(m,c),p(m,d),p(m,h),p(m,f);var b=m;e.exports=b},QyFq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"};t.default=r},QzjZ:function(e,t,n){var r=n("S/Yl"),i=n("IDmD");function o(e,t){var n=[];return e.eachComponent("singleAxis",(function(i,o){var a=new r(i,e,t);a.name="single_"+o,a.resize(i,t),i.coordinateSystem=a,n.push(a)})),e.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"singleAxis",index:t.get("singleAxisIndex"),id:t.get("singleAxisId")})[0];t.coordinateSystem=n&&n.coordinateSystem}})),n}i.register("single",{create:o,dimensions:r.prototype.dimensions})},"R+7+":function(e,t,n){var r=n("w6GO"),i=n("mqlF"),o=n("NV0k");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),l=o.f,u=0;while(s.length>u)l.call(e,a=s[u++])&&t.push(a)}return t}},"R+Pm":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("Ff2n"),i=n("q1tI"),o=n("8ub7"),a=new Set;function s(e){return"string"===typeof e&&e.length&&!a.has(e)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e[t];if(s(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){l(e,t+1)},r.onerror=function(){l(e,t+1)}),a.add(n),document.body.appendChild(r)}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,a=void 0===n?{}:n;"undefined"!==typeof document&&"undefined"!==typeof window&&"function"===typeof document.createElement&&(Array.isArray(t)?l(t.reverse()):l([t]));var s=i["forwardRef"]((function(e,t){var n=e.type,s=e.children,l=Object(r["a"])(e,["type","children"]),u=null;return e.type&&(u=i["createElement"]("use",{xlinkHref:"#".concat(n)})),s&&(u=s),i["createElement"](o["a"],Object.assign({},a,l,{ref:t}),u)}));return s.displayName="Iconfont",s}},R3nR:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n("Cg/j"),i=n("T8No"),o=Object(r["c"])("accessibilityService"),a=new i["d"]("accessibilityModeEnabled",!1)},R4Th:function(e,t,n){var r=n("ProS"),i=n("9wZj"),o=n("yO87"),a=n("Fofx"),s=n("h8O9"),l=r.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new i(o)},render:function(e,t,n){var r=e.getData(),i=this._symbolDraw;i.updateData(r),this.group.add(i.group)},updateTransform:function(e,t,n){var r=e.getData();this.group.dirty();var i=s().reset(e);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(e){var t=e.coordinateSystem;t&&t.getRoamTransform&&(this.group.transform=a.clone(t.getRoamTransform()),this.group.decomposeTransform())},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(t)},dispose:function(){}});e.exports=l},R8sh:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("Cg/j"),i="label",o=Object(r["c"])(i)},R9oj:function(e,t,n){"use strict";n("cIOH"),n("pwpV")},RBEP:function(e,t,n){for(var r=n("ProS"),i=n("VaxA"),o=function(){},a=["treemapZoomToNode","treemapRender","treemapMove"],s=0;s<a.length;s++)r.registerAction({type:a[s],update:"updateView"},o);r.registerAction({type:"treemapRootToNode",update:"updateView"},(function(e,t){function n(t,n){var r=["treemapZoomToNode","treemapRootToNode"],o=i.retrieveTargetInfo(e,r,t);if(o){var a=t.getViewRoot();a&&(e.direction=i.aboveViewRoot(a,o.node)?"rollUp":"drillDown"),t.resetViewRoot(o.node)}}t.eachComponent({mainType:"series",subType:"treemap",query:e},n)}))},RCxd:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="ExclamationCircleOutlined";t["a"]=r["forwardRef"](s)},RDYZ:function(e,t,n){var r=n("dMvE");function i(e){this._target=e.target,this._life=e.life||1e3,this._delay=e.delay||0,this._initialized=!1,this.loop=null!=e.loop&&e.loop,this.gap=e.gap||0,this.easing=e.easing||"Linear",this.onframe=e.onframe,this.ondestroy=e.ondestroy,this.onrestart=e.onrestart,this._pausedTime=0,this._paused=!1}i.prototype={constructor:i,step:function(e,t){if(this._initialized||(this._startTime=e+this._delay,this._initialized=!0),this._paused)this._pausedTime+=t;else{var n=(e-this._startTime-this._pausedTime)/this._life;if(!(n<0)){n=Math.min(n,1);var i=this.easing,o="string"===typeof i?r[i]:i,a="function"===typeof o?o(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(e),"restart"):(this._needsRemove=!0,"destroy"):null}}},restart:function(e){var t=(e-this._startTime-this._pausedTime)%this._life;this._startTime=e-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(e,t){e="on"+e,this[e]&&this[e](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var o=i;e.exports=o},RELg:function(e,t,n){var r=n("MFOe"),i=r.Global;e.exports={name:"oldIE-userDataStorage",write:u,read:c,each:d,remove:h,clearAll:f};var o="storejs",a=i.document,s=m(),l=(i.navigator?i.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function u(e,t){if(!l){var n=g(e);s((function(e){e.setAttribute(n,t),e.save(o)}))}}function c(e){if(!l){var t=g(e),n=null;return s((function(e){n=e.getAttribute(t)})),n}}function d(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];e(t.getAttribute(i.name),i.name)}}))}function h(e){var t=g(e);s((function(e){e.removeAttribute(t),e.save(o)}))}function f(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}var p=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function g(e){return e.replace(/^\d/,"___$&").replace(p,"___")}function m(){if(!a||!a.documentElement||!a.documentElement.addBehavior)return null;var e,t,n,r="script";try{t=new ActiveXObject("htmlfile"),t.open(),t.write("<"+r+">document.w=window</"+r+'><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(i){n=a.createElement("div"),e=a.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}},RPvy:function(e,t,n){var r=n("ProS"),i=n("VaxA"),o="sunburstRootToNode";r.registerAction({type:o,update:"updateView"},(function(e,t){function n(t,n){var r=i.retrieveTargetInfo(e,[o],t);if(r){var a=t.getViewRoot();a&&(e.direction=i.aboveViewRoot(a,r.node)?"rollUp":"drillDown"),t.resetViewRoot(r.node)}}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var a="sunburstHighlight";r.registerAction({type:a,update:"updateView"},(function(e,t){function n(t,n){var r=i.retrieveTargetInfo(e,[a],t);r&&(e.highlight=r.node)}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}));var s="sunburstUnhighlight";r.registerAction({type:s,update:"updateView"},(function(e,t){function n(t,n){e.unhighlight=!0}t.eachComponent({mainType:"series",subType:"sunburst",query:e},n)}))},RSch:function(e,t,n){var r=n("IwbS"),i=n("bYtY");function o(e,t,n){r.Group.call(this),this._createPolyline(e,t,n)}var a=o.prototype;a._createPolyline=function(e,t,n){var i=e.getItemLayout(t),o=new r.Polyline({shape:{points:i}});this.add(o),this._updateCommonStl(e,t,n)},a.updateData=function(e,t,n){var i=e.hostModel,o=this.childAt(0),a={shape:{points:e.getItemLayout(t)}};r.updateProps(o,a,i,t),this._updateCommonStl(e,t,n)},a._updateCommonStl=function(e,t,n){var o=this.childAt(0),a=e.getItemModel(t),s=e.getItemVisual(t,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!e.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),u=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=u,r.setHoverStyle(this)},a.updateLayout=function(e,t){var n=this.childAt(0);n.setShape("points",e.getItemLayout(t))},i.inherits(o,r.Group);var s=o;e.exports=s},RXMa:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)}});e.exports=i},RZPm:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("JgUQ")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="FileOutlined";var u=o.forwardRef(l);t.default=u},RfKB:function(e,t,n){var r=n("2faE").f,i=n("B+OT"),o=n("UWiX")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},RlCK:function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t,n){var r,o={},a="toggleSelected"===e;return n.eachComponent("legend",(function(n){a&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name));var s=n.getData();i.each(s,(function(e){var t=e.get("name");if("\n"!==t&&""!==t){var r=n.isSelected(t);o.hasOwnProperty(t)?o[t]=o[t]&&r:o[t]=r}}))})),"allSelect"===e||"inverseSelect"===e?{selected:o}:{name:t.name,selected:o}}r.registerAction("legendToggleSelect","legendselectchanged",i.curry(o,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",i.curry(o,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",i.curry(o,"inverseSelect")),r.registerAction("legendSelect","legendselected",i.curry(o,"select")),r.registerAction("legendUnSelect","legendunselected",i.curry(o,"unSelect"))},RotF:function(e,t,n){e.exports=n("LSTS")},Rx6q:function(e,t){function n(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(t,n){return e.dataToPoint(t,n)}}}}e.exports=n},"S/Yl":function(e,t,n){var r=n("Zvw2"),i=n("aX7z"),o=n("+TT/"),a=o.getLayoutRect,s=n("bYtY"),l=s.each;function u(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}u.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:u,_init:function(e,t,n){var o=this.dimension,a=new r(o,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===a.type;a.onBand=s&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),i.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=a({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.reverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}};var c=u;e.exports=c},S3by:function(e,t,n){"use strict";var r,i=n("3/fG"),o=n("N0LK");(function(e){e[e["Ignore"]=0]="Ignore",e[e["Info"]=1]="Info",e[e["Warning"]=2]="Warning",e[e["Error"]=3]="Error"})(r||(r={})),function(e){var t="error",n="warning",r="warn",a="info",s=Object.create(null);function l(i){return i?o["n"](t,i)?e.Error:o["n"](n,i)||o["n"](r,i)?e.Warning:o["n"](a,i)?e.Info:e.Ignore:e.Ignore}s[e.Error]=i["a"]("sev.error","Error"),s[e.Warning]=i["a"]("sev.warning","Warning"),s[e.Info]=i["a"]("sev.info","Info"),e.fromValue=l}(r||(r={})),t["a"]=r},"SA4+":function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("IwbS"),a=n("zYTA"),s=n("bYtY");function l(e,t,n){var r=e[1]-e[0];t=s.map(t,(function(t){return{interval:[(t.interval[0]-e[0])/r,(t.interval[1]-e[0])/r]}}));var i=t.length,o=0;return function(e){for(var r=o;r<i;r++){var a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}if(r===i)for(r=o-1;r>=0;r--){a=t[r].interval;if(a[0]<=e&&e<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}function u(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(e){return e>=t[0]&&e<=t[1]}}function c(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var d=i.extendChartView({type:"heatmap",render:function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):c(i)&&this._renderOnGeo(i,e,r,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,r){var i=t.coordinateSystem;i&&this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,r,i){var a,l,u=e.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),d=u.getAxis("y");a=c.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,f=e.getData(),p="itemStyle",g="emphasis.itemStyle",m="label",v="emphasis.label",y=e.getModel(p).getItemStyle(["color"]),b=e.getModel(g).getItemStyle(),_=e.getModel(m),w=e.getModel(v),x=u.type,C="cartesian2d"===x?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],S=n;S<r;S++){var O;if("cartesian2d"===x){if(isNaN(f.get(C[2],S)))continue;var k=u.dataToPoint([f.get(C[0],S),f.get(C[1],S)]);O=new o.Rect({shape:{x:Math.floor(Math.round(k[0])-a/2),y:Math.floor(Math.round(k[1])-l/2),width:Math.ceil(a),height:Math.ceil(l)},style:{fill:f.getItemVisual(S,"color"),opacity:f.getItemVisual(S,"opacity")}})}else{if(isNaN(f.get(C[1],S)))continue;O=new o.Rect({z2:1,shape:u.dataToRect([f.get(C[0],S)]).contentShape,style:{fill:f.getItemVisual(S,"color"),opacity:f.getItemVisual(S,"opacity")}})}var E=f.getItemModel(S);f.hasItemOption&&(y=E.getModel(p).getItemStyle(["color"]),b=E.getModel(g).getItemStyle(),_=E.getModel(m),w=E.getModel(v));var D=e.getRawValue(S),M="-";D&&null!=D[2]&&(M=D[2]),o.setLabelStyle(y,b,_,w,{labelFetcher:e,labelDataIndex:S,defaultText:M,isRectText:!0}),O.setStyle(y),o.setHoverStyle(O,f.hasItemOption?b:s.extend({},b)),O.incremental=i,i&&(O.useHoverLayer=!0),h.add(O),f.setItemGraphicEl(S,O)}},_renderOnGeo:function(e,t,n,r){var i=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,c=t.getData(),d=this._hmLayer||this._hmLayer||new a;d.blurSize=t.get("blurSize"),d.pointSize=t.get("pointSize"),d.minOpacity=t.get("minOpacity"),d.maxOpacity=t.get("maxOpacity");var h=e.getViewRect().clone(),f=e.getRoamTransform();h.applyTransform(f);var p=Math.max(h.x,0),g=Math.max(h.y,0),m=Math.min(h.width+h.x,r.getWidth()),v=Math.min(h.height+h.y,r.getHeight()),y=m-p,b=v-g,_=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],w=c.mapArray(_,(function(t,n,r){var i=e.dataToPoint([t,n]);return i[0]-=p,i[1]-=g,i.push(r),i})),x=n.getExtent(),C="visualMap.continuous"===n.type?u(x,n.option.range):l(x,n.getPieceList(),n.option.selected);d.update(w,y,b,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:s.color.getColorMapper()},C);var S=new o.Image({style:{width:y,height:b,x:p,y:g,image:d.canvas},silent:!0});this.group.add(S)},dispose:function(){}});e.exports=d},SA8n:function(e,t,n){var r=n("Sj9i"),i=n("QBsz"),o=n("U/Mo"),a=o.getSymbolSize,s=[],l=[],u=[],c=r.quadraticAt,d=i.distSquare,h=Math.abs;function f(e,t,n){for(var r,i=e[0],o=e[1],a=e[2],f=1/0,p=n*n,g=.1,m=.1;m<=.9;m+=.1){s[0]=c(i[0],o[0],a[0],m),s[1]=c(i[1],o[1],a[1],m);var v=h(d(s,t)-p);v<f&&(f=v,r=m)}for(var y=0;y<32;y++){var b=r+g;l[0]=c(i[0],o[0],a[0],r),l[1]=c(i[1],o[1],a[1],r),u[0]=c(i[0],o[0],a[0],b),u[1]=c(i[1],o[1],a[1],b);v=d(l,t)-p;if(h(v)<.01)break;var _=d(u,t)-p;g/=2,v<0?_>=0?r+=g:r-=g:_>=0?r-=g:r+=g}return r}function p(e,t){var n=[],o=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];t/=2,e.eachEdge((function(e,r){var c=e.getLayout(),d=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");c.__original||(c.__original=[i.clone(c[0]),i.clone(c[1])],c[2]&&c.__original.push(i.clone(c[2])));var p=c.__original;if(null!=c[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),d&&"none"!==d){var g=a(e.node1),m=f(s,p[0],g*t);o(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(h&&"none"!==h){g=a(e.node2),m=f(s,p[1],g*t);o(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}i.copy(c[0],s[0]),i.copy(c[1],s[2]),i.copy(c[2],s[1])}else{if(i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(u,l[1],l[0]),i.normalize(u,u),d&&"none"!==d){g=a(e.node1);i.scaleAndAdd(l[0],l[0],u,g*t)}if(h&&"none"!==h){g=a(e.node2);i.scaleAndAdd(l[1],l[1],u,-g*t)}i.copy(c[0],l[0]),i.copy(c[1],l[1])}}))}e.exports=p},SBuE:function(e,t){e.exports={}},SJMd:function(e,t){var n=!1;window["PR_SHOULD_USE_CONTINUATION"]=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],r=[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],i=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[i,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[i,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],l="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",u=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],c="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",d=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],h=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],f=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],p=[o,s,a,u,c,d,h,f],g=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,m="str",v="kwd",y="com",b="typ",_="lit",w="pun",x="pln",C="tag",S="dec",O="src",k="atn",E="atv",D="nocode",M="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function N(e){for(var t=0,n=!1,r=!1,i=0,o=e.length;i<o;++i){var a=e[i];if(a.ignoreCase)r=!0;else if(/[a-z]/i.test(a.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,r=!1;break}}var s={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return t=s[n],t||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function u(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function c(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),n=[],r="^"===t[0],i=["["];r&&i.push("^");for(var o=r?1:0,a=t.length;o<a;++o){var s=t[o];if(/\\[bdsw]/i.test(s))i.push(s);else{var c,d=l(s);o+2<a&&"-"===t[o+1]?(c=l(t[o+2]),o+=2):c=d,n.push([d,c]),c<65||d>122||(c<65||d>90||n.push([32|Math.max(65,d),32|Math.min(c,90)]),c<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(c,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var h=[],f=[];for(o=0;o<n.length;++o){var p=n[o];p[0]<=f[1]+1?f[1]=Math.max(f[1],p[1]):h.push(f=p)}for(o=0;o<h.length;++o){p=h[o];i.push(u(p[0])),p[1]>p[0]&&(p[1]+1>p[0]&&i.push("-"),i.push(u(p[1])))}return i.push("]"),i.join("")}function d(e){for(var r=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),i=r.length,o=[],a=0,s=0;a<i;++a){var l=r[a];if("("===l)++s;else if("\\"===l.charAt(0)){var d=+l.substring(1);d&&(d<=s?o[d]=-1:r[a]=u(d))}}for(a=1;a<o.length;++a)-1===o[a]&&(o[a]=++t);for(a=0,s=0;a<i;++a){l=r[a];if("("===l)++s,o[s]||(r[a]="(?:");else if("\\"===l.charAt(0)){d=+l.substring(1);d&&d<=s&&(r[a]="\\"+o[d])}}for(a=0;a<i;++a)"^"===r[a]&&"^"!==r[a+1]&&(r[a]="");if(e.ignoreCase&&n)for(a=0;a<i;++a){l=r[a];var h=l.charAt(0);l.length>=2&&"["===h?r[a]=c(l):"\\"!==h&&(r[a]=l.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var h=[];for(i=0,o=e.length;i<o;++i){a=e[i];if(a.global||a.multiline)throw new Error(""+a);h.push("(?:"+d(a)+")")}return new RegExp(h.join("|"),r?"gi":"g")}function L(e,t){var n=/(?:^|\s)nocode(?:\s|$)/,r=[],i=0,o=[],a=0;function s(e){var l=e.nodeType;if(1==l){if(n.test(e.className))return;for(var u=e.firstChild;u;u=u.nextSibling)s(u);var c=e.nodeName.toLowerCase();"br"!==c&&"li"!==c||(r[a]="\n",o[a<<1]=i++,o[a++<<1|1]=e)}else if(3==l||4==l){var d=e.nodeValue;d.length&&(d=t?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),r[a]=d,o[a<<1]=i,i+=d.length,o[a++<<1|1]=e)}}return s(e),{sourceCode:r.join("").replace(/\n$/,""),spans:o}}function I(e,t,n,r,i){if(n){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(o),i.push.apply(i,o.decorations)}}var T=/\S/;function P(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var r=n.nodeType;t=1===r?t?e:n:3===r&&T.test(n.nodeValue)?e:t}return t===e?void 0:t}function A(e,t){var n,r={};(function(){for(var i=e.concat(t),o=[],a={},s=0,l=i.length;s<l;++s){var u=i[s],c=u[3];if(c)for(var d=c.length;--d>=0;)r[c.charAt(d)]=u;var h=u[1],f=""+h;a.hasOwnProperty(f)||(o.push(h),a[f]=null)}o.push(/[\0-\uffff]/),n=N(o)})();var i=t.length,o=function(e){for(var a=e.sourceCode,s=e.basePos,l=e.sourceNode,u=[s,x],c=0,d=a.match(n)||[],h={},f=0,p=d.length;f<p;++f){var g,m=d[f],v=h[m],y=void 0;if("string"===typeof v)g=!1;else{var b=r[m.charAt(0)];if(b)y=m.match(b[1]),v=b[0];else{for(var _=0;_<i;++_)if(b=t[_],y=m.match(b[1]),y){v=b[0];break}y||(v=x)}g=v.length>=5&&"lang-"===v.substring(0,5),!g||y&&"string"===typeof y[1]||(g=!1,v=O),g||(h[m]=v)}var w=c;if(c+=m.length,g){var C=y[1],S=m.indexOf(C),k=S+C.length;y[2]&&(k=m.length-y[2].length,S=k-C.length);var E=v.substring(5);I(l,s+w,m.substring(0,S),o,u),I(l,s+w+S,C,W(E,C),u),I(l,s+w+k,m.substring(k),o,u)}else u.push(s+w,v)}e.decorations=u};return o}function R(e){var t=[],n=[];e["tripleQuotedStrings"]?t.push([m,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e["multiLineStrings"]?t.push([m,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push([m,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e["verbatimStrings"]&&n.push([m,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var r=e["hashComments"];r&&(e["cStyleComments"]?(r>1?t.push([y,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push([y,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),n.push([m,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push([y,/^#[^\r\n]*/,null,"#"])),e["cStyleComments"]&&(n.push([y,/^\/\/[^\r\n]*/,null]),n.push([y,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var i=e["regexLiterals"];if(i){var o=i>1?"":"\n\r",a=o?".":"[\\S\\s]",s="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+a+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^"+M+"("+s+")")])}var l=e["types"];l&&n.push([b,l]);var u=(""+e["keywords"]).replace(/^ | $/g,"");u.length&&n.push([v,new RegExp("^(?:"+u.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push([x,/^\s+/,null," \r\n\t\xa0"]);var c="^.[^\\s\\w.$@'\"`/\\\\]*";return e["regexLiterals"]&&(c+="(?!s*/)"),n.push([_,/^@[a-z_$][a-z_$@0-9]*/i,null],[b,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[x,/^[a-z_$][a-z_$@0-9]*/i,null],[_,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[x,/^\\[\s\S]?/,null],[w,new RegExp(c),null]),A(t,n)}var j=R({keywords:p,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function F(e,t,n){var r=/(?:^|\s)nocode(?:\s|$)/,i=/\r\n?|\n/,o=e.ownerDocument,a=o.createElement("li");while(e.firstChild)a.appendChild(e.firstChild);var s=[a];function l(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,s=a.match(i);if(s){var c=a.substring(0,s.index);e.nodeValue=c;var d=a.substring(s.index+s[0].length);if(d){var h=e.parentNode;h.insertBefore(o.createTextNode(d),e.nextSibling)}u(e),c||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)u(e),e.parentNode&&e.parentNode.removeChild(e);else for(var f=e.firstChild;f;f=f.nextSibling)l(f)}function u(e){while(!e.nextSibling)if(e=e.parentNode,!e)return;function t(e,n){var r=n?e.cloneNode(!1):e,i=e.parentNode;if(i){var o=t(i,1),a=e.nextSibling;o.appendChild(r);for(var s=a;s;s=a)a=s.nextSibling,o.appendChild(s)}return r}for(var n,r=t(e.nextSibling,0);(n=r.parentNode)&&1===n.nodeType;)r=n;s.push(r)}for(var c=0;c<s.length;++c)l(s[c]);t===(0|t)&&s[0].setAttribute("value",t);var d=o.createElement("ol");d.className="linenums";for(var h=Math.max(0,t-1|0)||0,f=(c=0,s.length);c<f;++c)a=s[c],a.className="L"+(c+h)%10,a.firstChild||a.appendChild(o.createTextNode("\xa0")),d.appendChild(a);e.appendChild(d)}function B(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,i=/\n/g,o=e.sourceCode,a=o.length,s=0,l=e.spans,u=l.length,c=0,d=e.decorations,h=d.length,f=0;for(d[h]=a,r=n=0;r<h;)d[r]!==d[r+2]?(d[n++]=d[r++],d[n++]=d[r++]):r+=2;for(h=n,r=n=0;r<h;){var p=d[r],g=d[r+1],m=r+2;while(m+2<=h&&d[m+1]===g)m+=2;d[n++]=p,d[n++]=g,r=m}h=d.length=n;var v=e.sourceNode,y="";v&&(y=v.style.display,v.style.display="none");try{while(c<u){l[c];var b,_=l[c+2]||a,w=d[f+2]||a,x=(m=Math.min(_,w),l[c+1]);if(1!==x.nodeType&&(b=o.substring(s,m))){t&&(b=b.replace(i,"\r")),x.nodeValue=b;var C=x.ownerDocument,S=C.createElement("span");S.className=d[f+1];var O=x.parentNode;O.replaceChild(S,x),S.appendChild(x),s<_&&(l[c+1]=x=C.createTextNode(o.substring(m,_)),O.insertBefore(x,S.nextSibling))}s=m,s>=_&&(c+=2),s>=w&&(f+=2)}}finally{v&&(v.style.display=y)}}var V={};function z(t,n){for(var r=n.length;--r>=0;){var i=n[r];V.hasOwnProperty(i)?e["console"]&&console["warn"]("cannot override language handler %s",i):V[i]=t}}function W(e,t){return e&&V.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),V[e]}function H(t){var n=t.langExtension;try{var r=L(t.sourceNode,t.pre),i=r.sourceCode;t.sourceCode=i,t.spans=r.spans,t.basePos=0,W(n,i)(t),B(t)}catch(o){e["console"]&&console["log"](o&&o["stack"]||o)}}function U(e,t,n){var r=n||!1,i=t||null,o=document.createElement("div");o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,r&&F(o,r,!0);var a={langExtension:i,numberLines:r,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return H(a),o.innerHTML}function K(t,n){var r=n||document.body,i=r.ownerDocument||document;function o(e){return r.getElementsByTagName(e)}for(var a=[o("pre"),o("code"),o("xmp")],s=[],l=0;l<a.length;++l)for(var u=0,c=a[l].length;u<c;++u)s.push(a[l][u]);a=null;var d=Date;d["now"]||(d={now:function(){return+new Date}});var h=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,p=/\bprettyprint\b/,g=/\bprettyprinted\b/,m=/pre|xmp/i,v=/^code$/i,y=/^(?:pre|code|xmp)$/i,b={};function _(){for(var n=e["PR_SHOULD_USE_CONTINUATION"]?d["now"]()+250:1/0;h<s.length&&d["now"]()<n;h++){for(var r=s[h],o=b,a=r;a=a.previousSibling;){var l=a.nodeType,u=(7===l||8===l)&&a.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==l||/\S/.test(a.nodeValue))break;if(u){o={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){o[t]=n}));break}}var c=r.className;if((o!==b||p.test(c))&&!g.test(c)){for(var w=!1,x=r.parentNode;x;x=x.parentNode){var C=x.tagName;if(y.test(C)&&x.className&&p.test(x.className)){w=!0;break}}if(!w){r.className+=" prettyprinted";var S,O,k=o["lang"];if(!k)k=c.match(f),!k&&(S=P(r))&&v.test(S.tagName)&&(k=S.className.match(f)),k&&(k=k[1]);if(m.test(r.tagName))O=1;else{var E=r["currentStyle"],D=i.defaultView,M=E?E["whiteSpace"]:D&&D.getComputedStyle?D.getComputedStyle(r,null).getPropertyValue("white-space"):0;O=M&&"pre"===M.substring(0,3)}var N=o["linenums"];(N="true"===N||+N)||(N=c.match(/\blinenums\b(?::(\d+))?/),N=!!N&&(!N[1]||!N[1].length||+N[1])),N&&F(r,N,O);var L={langExtension:k,sourceNode:r,numberLines:N,pre:O,sourceCode:null,basePos:null,spans:null,decorations:null};H(L)}}}h<s.length?e.setTimeout(_,250):"function"===typeof t&&t()}_()}z(j,["default-code"]),z(A([],[[x,/^[^<?]+/],[S,/^<!\w[^>]*(?:>|$)/],[y,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[w,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),z(A([[x,/^[\s]+/,null," \t\r\n"],[E,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[C,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[k,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[w,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),z(A([],[[E,/^[\s\S]+/]]),["uq.val"]),z(R({keywords:o,hashComments:!0,cStyleComments:!0,types:g}),["c","cc","cpp","cxx","cyc","m"]),z(R({keywords:"null,true,false"}),["json"]),z(R({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:g}),["cs"]),z(R({keywords:a,cStyleComments:!0}),["java"]),z(R({keywords:f,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),z(R({keywords:d,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),z(R({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),z(R({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),z(R({keywords:u,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),z(R({keywords:l,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),z(A([],[[m,/^[\s\S]+/]]),["regex"]);var G=e["PR"]={createSimpleLexer:A,registerLangHandler:z,sourceDecorator:R,PR_ATTRIB_NAME:k,PR_ATTRIB_VALUE:E,PR_COMMENT:y,PR_DECLARATION:S,PR_KEYWORD:v,PR_LITERAL:_,PR_NOCODE:D,PR_PLAIN:x,PR_PUNCTUATION:w,PR_SOURCE:O,PR_STRING:m,PR_TAG:C,PR_TYPE:b,prettyPrintOne:n?e["prettyPrintOne"]=U:U,prettyPrint:n?e["prettyPrint"]=K:K},q=e["define"];"function"===typeof q&&q["amd"]&&q("google-code-prettify",[],(function(){return G}))}()},SKnc:function(e,t,n){var r=n("bYtY"),i=n("QuXc"),o=function(e,t,n,r,o,a){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=a||!1,i.call(this,o)};o.prototype={constructor:o},r.inherits(o,i);var a=o;e.exports=a},"SKx+":function(e,t,n){var r=n("ProS"),i=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),o=i;e.exports=o},SMc4:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}r.merge(s.prototype,a);var u={offset:0};o("x",s,l,u),o("y",s,l,u);var c=s;e.exports=c},SRve:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};t.default=r},SUKs:function(e,t,n){var r=n("LPTA"),i=r.debugMode,o=function(){};1===i&&(o=console.error);var a=o;e.exports=a},Sdnv:function(e,t,n){"use strict";function r(e,t,n){return Math.min(Math.max(e,t),n)}n.d(t,"a",(function(){return r}))},SehX:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("2B6p"),a=o.updateCenterAndZoom;r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var r=t.coordinateSystem;if("geo"===r.type){var o=a(r,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(o.center),t.setZoom&&t.setZoom(o.zoom),"series"===n&&i.each(t.seriesGroup,(function(e){e.setCenter(o.center),e.setZoom(o.zoom)}))}}))}))},SfRM:function(e,t,n){var r=n("YESw");function i(){this.__data__=r?r(null):{},this.size=0}e.exports=i},SfST:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="UnorderedListOutlined";t["a"]=r["forwardRef"](s)},SgGq:function(e,t,n){var r=n("bYtY"),i=n("H6uX"),o=n("YH21"),a=n("pP6R");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=r.bind,n=t(l,this),o=t(u,this),a=t(c,this),s=t(d,this),f=t(h,this);i.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,i){this.disable(),this._opt=r.defaults(r.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",o),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",f))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",o),e.off("mouseup",a),e.off("mousewheel",s),e.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(o.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function u(e){if(this._dragging&&g("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,s=t-r,l=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(e.event),p(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:r,oldY:i,newX:t,newY:n})}}function c(e){o.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=g("zoomOnMouseWheel",e,this._opt),n=g("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),o=e.offsetX,a=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;f(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:o,originY:a})}if(n){var u=Math.abs(r),c=(r>0?1:-1)*(u>3?.4:u>1?.15:.05);f(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:c,originX:o,originY:a})}}}function h(e){if(!a.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;f(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function f(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(o.stop(r.event),p(e,t,n,r,i))}function p(e,t,n,i,o){o.isAvailableBehavior=r.bind(g,null,n,i),e.trigger(t,o)}function g(e,t,n){var i=n[e];return!e||i&&(!r.isString(i)||t.event[i+"Key"])}r.mixin(s,i);var m=s;e.exports=m},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("oOh1"),s=n("H84U"),l=n("3Nzz"),u=n("xCex");function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){return m(e)||g(e,t)||f(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function m(e){if(Array.isArray(e))return e}var v=function(e){var t,n=r["useContext"](s["b"]),i=n.getPrefixCls,h=n.direction,f=r["useContext"](l["b"]);void 0!==e.value?t=e.value:void 0!==e.defaultValue&&(t=e.defaultValue);var p=r["useState"](t),g=d(p,2),m=g[0],v=g[1],y=r["useState"](e.value),b=d(y,2),_=b[0],w=b[1];r["useEffect"]((function(){w(e.value),void 0===e.value&&_===e.value||v(e.value)}),[e.value]);var x=function(t){var n=m,r=t.target.value;"value"in e||v(r);var i=e.onChange;i&&r!==n&&i(t)},C=function(){var t,n=e.prefixCls,s=e.className,l=void 0===s?"":s,u=e.options,d=e.buttonStyle,p=e.disabled,g=e.children,v=e.size,y=e.style,b=e.id,_=e.onMouseEnter,w=e.onMouseLeave,x=i("radio",n),C="".concat(x,"-group"),S=g;u&&u.length>0&&(S=u.map((function(e){return"string"===typeof e?r["createElement"](a["a"],{key:e,prefixCls:x,disabled:p,value:e,checked:m===e},e):r["createElement"](a["a"],{key:"radio-group-value-options-".concat(e.value),prefixCls:x,disabled:e.disabled||p,value:e.value,checked:m===e.value,style:e.style},e.label)})));var O=v||f,k=o()(C,"".concat(C,"-").concat(d),(t={},c(t,"".concat(C,"-").concat(O),O),c(t,"".concat(C,"-rtl"),"rtl"===h),t),l);return r["createElement"]("div",{className:k,style:y,onMouseEnter:_,onMouseLeave:w,id:b},S)};return r["createElement"](u["a"],{value:{onChange:x,value:m,disabled:e.disabled,name:e.name}},C())};v.defaultProps={buttonStyle:"outline"},t["a"]=r["memo"](v)},Sj0X:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("XuBP")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="DownOutlined";var u=o.forwardRef(l);t.default=u},Sj9i:function(e,t,n){var r=n("QBsz"),i=r.create,o=r.distSquare,a=Math.pow,s=Math.sqrt,l=1e-8,u=1e-4,c=s(3),d=1/3,h=i(),f=i(),p=i();function g(e){return e>-l&&e<l}function m(e){return e>l||e<-l}function v(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function y(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function b(e,t,n,r,i,o){var l=r+3*(t-n)-e,u=3*(n-2*t+e),h=3*(t-e),f=e-i,p=u*u-3*l*h,m=u*h-9*l*f,v=h*h-3*u*f,y=0;if(g(p)&&g(m))if(g(u))o[0]=0;else{var b=-h/u;b>=0&&b<=1&&(o[y++]=b)}else{var _=m*m-4*p*v;if(g(_)){var w=m/p,x=(b=-u/l+w,-w/2);b>=0&&b<=1&&(o[y++]=b),x>=0&&x<=1&&(o[y++]=x)}else if(_>0){var C=s(_),S=p*u+1.5*l*(-m+C),O=p*u+1.5*l*(-m-C);S=S<0?-a(-S,d):a(S,d),O=O<0?-a(-O,d):a(O,d);b=(-u-(S+O))/(3*l);b>=0&&b<=1&&(o[y++]=b)}else{var k=(2*p*u-3*l*m)/(2*s(p*p*p)),E=Math.acos(k)/3,D=s(p),M=Math.cos(E),N=(b=(-u-2*D*M)/(3*l),x=(-u+D*(M+c*Math.sin(E)))/(3*l),(-u+D*(M-c*Math.sin(E)))/(3*l));b>=0&&b<=1&&(o[y++]=b),x>=0&&x<=1&&(o[y++]=x),N>=0&&N<=1&&(o[y++]=N)}}return y}function _(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,l=3*t-3*e,u=0;if(g(a)){if(m(o)){var c=-l/o;c>=0&&c<=1&&(i[u++]=c)}}else{var d=o*o-4*a*l;if(g(d))i[0]=-o/(2*a);else if(d>0){var h=s(d),f=(c=(-o+h)/(2*a),(-o-h)/(2*a));c>=0&&c<=1&&(i[u++]=c),f>=0&&f<=1&&(i[u++]=f)}}return u}function w(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function x(e,t,n,r,i,a,l,c,d,g,m){var y,b,_,w,x,C=.005,S=1/0;h[0]=d,h[1]=g;for(var O=0;O<1;O+=.05)f[0]=v(e,n,i,l,O),f[1]=v(t,r,a,c,O),w=o(h,f),w<S&&(y=O,S=w);S=1/0;for(var k=0;k<32;k++){if(C<u)break;b=y-C,_=y+C,f[0]=v(e,n,i,l,b),f[1]=v(t,r,a,c,b),w=o(f,h),b>=0&&w<S?(y=b,S=w):(p[0]=v(e,n,i,l,_),p[1]=v(t,r,a,c,_),x=o(p,h),_<=1&&x<S?(y=_,S=x):C*=.5)}return m&&(m[0]=v(e,n,i,l,y),m[1]=v(t,r,a,c,y)),s(S)}function C(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function S(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function O(e,t,n,r,i){var o=e-2*t+n,a=2*(t-e),l=e-r,u=0;if(g(o)){if(m(a)){var c=-l/a;c>=0&&c<=1&&(i[u++]=c)}}else{var d=a*a-4*o*l;if(g(d)){c=-a/(2*o);c>=0&&c<=1&&(i[u++]=c)}else if(d>0){var h=s(d),f=(c=(-a+h)/(2*o),(-a-h)/(2*o));c>=0&&c<=1&&(i[u++]=c),f>=0&&f<=1&&(i[u++]=f)}}return u}function k(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function E(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function D(e,t,n,r,i,a,l,c,d){var g,m=.005,v=1/0;h[0]=l,h[1]=c;for(var y=0;y<1;y+=.05){f[0]=C(e,n,i,y),f[1]=C(t,r,a,y);var b=o(h,f);b<v&&(g=y,v=b)}v=1/0;for(var _=0;_<32;_++){if(m<u)break;var w=g-m,x=g+m;f[0]=C(e,n,i,w),f[1]=C(t,r,a,w);b=o(f,h);if(w>=0&&b<v)g=w,v=b;else{p[0]=C(e,n,i,x),p[1]=C(t,r,a,x);var S=o(p,h);x<=1&&S<v?(g=x,v=S):m*=.5}}return d&&(d[0]=C(e,n,i,g),d[1]=C(t,r,a,g)),s(v)}t.cubicAt=v,t.cubicDerivativeAt=y,t.cubicRootAt=b,t.cubicExtrema=_,t.cubicSubdivide=w,t.cubicProjectPoint=x,t.quadraticAt=C,t.quadraticDerivativeAt=S,t.quadraticRootAt=O,t.quadraticExtremum=k,t.quadraticSubdivide=E,t.quadraticProjectPoint=D},Sp2Z:function(e,t,n){var r=n("3LNs"),i=n("/y7N"),o=n("AVZG"),a=n("Znkb"),s=r.extend({makeElOption:function(e,t,n,r,a){var s=n.axis,c=s.grid,d=r.get("type"),h=l(c,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(t,!0));if(d&&"none"!==d){var p=i.buildElStyle(r),g=u[d](s,f,h);g.style=p,e.graphicKey=g.type,e.pointer=g}var m=o.layout(c.model,n);i.buildCartesianSingleLabelElOption(t,e,m,n,r,a)},getHandleTransform:function(e,t,n){var r=o.layout(t.axis.grid.model,t,{labelInside:!1});return r.labelMargin=n.get("handle.margin"),{position:i.getTransformedPosition(t.axis,e,r),rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(e,t,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=l(o,i).getOtherAxis(i).getGlobalExtent(),u="x"===i.dim?0:1,c=e.position;c[u]+=t[u],c[u]=Math.min(a[1],c[u]),c[u]=Math.max(a[0],c[u]);var d=(s[1]+s[0])/2,h=[d,d];h[u]=c[u];var f=[{verticalAlign:"middle"},{align:"center"}];return{position:c,rotation:e.rotation,cursorPoint:h,tooltipOption:f[u]}}});function l(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var u={line:function(e,t,n){var r=i.makeLineShape([t,n[0]],[t,n[1]],c(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),o=n[1]-n[0];return{type:"Rect",shape:i.makeRectShape([t-r/2,n[0]],[r,o],c(e))}}};function c(e){return"x"===e.dim?0:1}a.registerAxisPointerClass("CartesianAxisPointer",s);var d=s;e.exports=d},Sq3C:function(e,t,n){var r=n("sKgW"),i=n("zoYe"),o=n("wy8a"),a=n("quyA"),s=n("Z1HP"),l=n("Em2t"),u=Math.ceil;function c(e,t){t=void 0===t?" ":i(t);var n=t.length;if(n<2)return n?r(t,e):t;var c=r(t,u(e/s(t)));return a(t)?o(l(c),0,e).join(""):c.slice(0,e)}e.exports=c},SqI9:function(e,t,n){var r=n("y+Vt"),i=n("iXp4"),o=r.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},brush:i(r.prototype.brush),buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=t.startAngle,s=t.endAngle,l=t.clockwise,u=Math.cos(a),c=Math.sin(a);e.moveTo(u*i+n,c*i+r),e.lineTo(u*o+n,c*o+r),e.arc(n,r,o,a,s,!l),e.lineTo(Math.cos(s)*i+n,Math.sin(s)*i+r),0!==i&&e.arc(n,r,i,s,a,l),e.closePath()}});e.exports=o},SrGk:function(e,t,n){var r=n("hydK"),i=r.createElement,o=n("bYtY"),a=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),u=n("P47w"),c=u.path,d=u.image,h=u.text,f="0",p="1";function g(e,t,n,r,i){this._zrId=e,this._svgRoot=t,this._tagNames="string"===typeof n?[n]:n,this._markLabel=r,this._domName=i||"_dom",this.nextId=0}g.prototype.createElement=i,g.prototype.getDefs=function(e){var t=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");return 0===n.length?e?(n=t.insertBefore(this.createElement("defs"),t.firstChild),n.contains||(n.contains=function(e){var t=n.children;if(!t)return!1;for(var r=t.length-1;r>=0;--r)if(t[r]===e)return!0;return!1}),n):null:n[0]},g.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var r=this.add(e);r&&(e[this._domName]=r)}}},g.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},g.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},g.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return o.each(this._tagNames,(function(n){var r=e.getElementsByTagName(n);t=t.concat([].slice.call(r))})),t},g.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;o.each(e,(function(e){e[t._markLabel]=f}))},g.prototype.markUsed=function(e){e&&(e[this._markLabel]=p)},g.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;o.each(t,(function(t){t[n._markLabel]!==p&&e.removeChild(t)}))}},g.prototype.getSvgProxy=function(e){return e instanceof a?c:e instanceof s?d:e instanceof l?h:c},g.prototype.getTextSvgElement=function(e){return e.__textSvgEl},g.prototype.getSvgElement=function(e){return e.__svgEl};var m=g;e.exports=m},SvYn:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return n.e(177).then(n.bind(null,"Dsrv"))}})},Swgg:function(e,t,n){var r=n("fc+c"),i=r.extend({type:"dataZoom.select"});e.exports=i},Sxd8:function(e,t,n){var r=n("ZCgT");function i(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=i},T1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("zdCA"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},T4UG:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("ItGF"),a=n("7aKB"),s=a.formatTime,l=a.encodeHTML,u=a.addCommas,c=a.getTooltipMarker,d=n("4NO4"),h=n("bLfw"),f=n("5Hur"),p=n("OKJ2"),g=n("+TT/"),m=g.getLayoutParams,v=g.mergeLayoutParam,y=n("9H2F"),b=y.createTask,_=n("D5nY"),w=_.prepareSource,x=_.getSource,C=n("KxfA"),S=C.retrieveRawValue,O=d.makeInner(),k=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,r){this.seriesIndex=this.componentIndex,this.dataTask=b({count:M,reset:N}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),w(this);var i=this.getInitialData(e,n);I(i,this),this.dataTask.context.data=i,O(this).dataBeforeProcessed=i,E(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?m(e):{},o=this.subType;h.hasClass(o)&&(o+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),d.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&v(e,r,n)},mergeOption:function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&v(this.option,e,n),w(this);var r=this.getInitialData(e,t);I(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,O(this).dataBeforeProcessed=r,E(this)},fillDataTextStyle:function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&d.defaultEmphasis(e[n],"label",t)},getInitialData:function(){},appendData:function(e){var t=this.getRawData();t.appendData(e.data)},getData:function(e){var t=P(this);if(t){var n=t.context.data;return null==e?n:n.getLinkedData(e)}return O(this).data},setData:function(e){var t=P(this);if(t){var n=t.context;n.data!==e&&t.modifyOutputEnd&&t.setOutputEnd(e.count()),n.outputData=e,t!==this.dataTask&&(n.data=e)}O(this).data=e},getSource:function(){return x(this)},getRawData:function(){return O(this).dataBeforeProcessed},getBaseAxis:function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},formatTooltip:function(e,t,n,r){var o=this;r=r||"html";var a="html"===r?"<br/>":"\n",h="richText"===r,f={},p=0;function g(n){var a=i.reduce(n,(function(e,t,n){var r=v.getDimensionInfo(n);return e|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),d=[];function g(e,n){var i=v.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var g=i.type,m="sub"+o.seriesIndex+"at"+p,y=c({color:x,type:"subItem",renderMode:r,markerId:m}),b="string"===typeof y?y:y.content,_=(a?b+l(i.displayName||"-")+": ":"")+l("ordinal"===g?e+"":"time"===g?t?"":s("yyyy/MM/dd hh:mm:ss",e):u(e));_&&d.push(_),h&&(f[m]=x,++p)}}y.length?i.each(y,(function(t){g(S(v,e,t),t)})):i.each(n,g);var m=a?h?"\n":"<br/>":"",b=m+d.join(m||", ");return{renderMode:r,content:b,style:f}}function m(e){return{renderMode:r,content:l(u(e)),style:f}}var v=this.getData(),y=v.mapDimension("defaultedTooltip",!0),b=y.length,_=this.getRawValue(e),w=i.isArray(_),x=v.getItemVisual(e,"color");i.isObject(x)&&x.colorStops&&(x=(x.colorStops[0]||{}).color),x=x||"transparent";var C=b>1||w&&!b?g(_):m(b?S(v,e,y[0]):w?_[0]:_),O=C.content,k=o.seriesIndex+"at"+p,E=c({color:x,type:"item",renderMode:r,markerId:k});f[k]=x,++p;var D=v.getName(e),M=this.name;d.isNameSpecified(this)||(M=""),M=M?l(M)+(t?": ":a):"";var N="string"===typeof E?E:E.content,L=t?N+M+O:M+N+(D?l(D)+": "+O:O);return{html:L,markers:f}},isAnimationEnabled:function(){if(o.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var r=this.ecModel,i=f.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function E(e){var t=e.name;d.isNameSpecified(e)||(e.name=D(e)||t)}function D(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function M(e){return e.model.getRawData().count()}function N(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),L}function L(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function I(e,t){i.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(T,t))}))}function T(e){var t=P(e);t&&t.setOutputEnd(this.count())}function P(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.mixin(k,p),i.mixin(k,f);var A=k;e.exports=A},T6xi:function(e,t,n){var r=n("YgsL"),i=n("nCxF");function o(e,t,n){var o=t.points,a=t.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=i(o,a,n,t.smoothConstraint);e.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],d=s[2*u+1],h=o[(u+1)%l];e.bezierCurveTo(c[0],c[1],d[0],d[1],h[0],h[1])}}else{"spline"===a&&(o=r(o,n)),e.moveTo(o[0][0],o[0][1]);u=1;for(var f=o.length;u<f;u++)e.lineTo(o[u][0],o[u][1])}n&&e.closePath()}}t.buildPath=o},T8No:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"c",(function(){return v})),n.d(t,"e",(function(){return y}));var r=n("N0LK"),i=n("Cg/j"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(){function e(){}return e.has=function(e){return l.create(e)},e.equals=function(e,t){return u.create(e,t)},e.regex=function(e,t){return h.create(e,t)},e.not=function(e){return d.create(e)},e.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return p.create(e)},e.or=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g.create(e)},e.deserialize=function(e,t){if(void 0===t&&(t=!1),e)return this._deserializeOrExpression(e,t)},e._deserializeOrExpression=function(e,t){var n=this,r=e.split("||");return g.create(r.map((function(e){return n._deserializeAndExpression(e,t)})))},e._deserializeAndExpression=function(e,t){var n=this,r=e.split("&&");return p.create(r.map((function(e){return n._deserializeOne(e,t)})))},e._deserializeOne=function(e,t){if(e=e.trim(),e.indexOf("!=")>=0){var n=e.split("!=");return c.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("==")>=0){n=e.split("==");return u.create(n[0].trim(),this._deserializeValue(n[1],t))}if(e.indexOf("=~")>=0){n=e.split("=~");return h.create(n[0].trim(),this._deserializeRegexValue(n[1],t))}return/^\!\s*/.test(e)?d.create(e.substr(1).trim()):l.create(e)},e._deserializeValue=function(e,t){if(e=e.trim(),"true"===e)return!0;if("false"===e)return!1;var n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e},e._deserializeRegexValue=function(e,t){if(Object(r["x"])(e)){if(t)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var n=e.indexOf("/"),i=e.lastIndexOf("/");if(n===i||n<0){if(t)throw new Error("bad regexp-value '"+e+"', missing /-enclosure");return console.warn("bad regexp-value '"+e+"', missing /-enclosure"),null}var o=e.slice(n+1,i),a="i"===e[i+1]?"i":"";try{return new RegExp(o,a)}catch(s){if(t)throw new Error("bad regexp-value '"+e+"', parse error: "+s);return console.warn("bad regexp-value '"+e+"', parse error: "+s),null}},e}();function s(e,t){var n=e.getType(),r=t.getType();if(n!==r)return n-r;switch(n){case 1:return e.cmp(t);case 2:return e.cmp(t);case 3:return e.cmp(t);case 4:return e.cmp(t);case 6:return e.cmp(t);case 7:return e.cmp(t);case 5:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}var l=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 1},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return d.create(this.key)},e}(),u=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"===typeof n?n?l.create(t):d.create(t):new e(t,n)},e.prototype.getType=function(){return 3},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return c.create(this.key,this.value)},e}(),c=function(){function e(e,t){this.key=e,this.value=t}return e.create=function(t,n){return"boolean"===typeof n?n?d.create(t):l.create(t):new e(t,n)},e.prototype.getType=function(){return 4},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:this.value<e.value?-1:this.value>e.value?1:0},e.prototype.equals=function(t){return t instanceof e&&(this.key===t.key&&this.value===t.value)},e.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return u.create(this.key,this.value)},e}(),d=function(){function e(e){this.key=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 2},e.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},e.prototype.equals=function(t){return t instanceof e&&this.key===t.key},e.prototype.evaluate=function(e){return!e.getValue(this.key)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return l.create(this.key)},e}(),h=function(){function e(e,t){this.key=e,this.regexp=t}return e.create=function(t,n){return new e(t,n)},e.prototype.getType=function(){return 6},e.prototype.cmp=function(e){if(this.key<e.key)return-1;if(this.key>e.key)return 1;var t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return t<n?-1:t>n?1:0},e.prototype.equals=function(t){if(t instanceof e){var n=this.regexp?this.regexp.source:"",r=t.regexp?t.regexp.source:"";return this.key===t.key&&n===r}return!1},e.prototype.evaluate=function(e){var t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)},e.prototype.keys=function(){return[this.key]},e.prototype.negate=function(){return f.create(this)},e}(),f=function(){function e(e){this._actual=e}return e.create=function(t){return new e(t)},e.prototype.getType=function(){return 7},e.prototype.cmp=function(e){return this._actual.cmp(e._actual)},e.prototype.equals=function(t){return t instanceof e&&this._actual.equals(t._actual)},e.prototype.evaluate=function(e){return!this._actual.evaluate(e)},e.prototype.keys=function(){return this._actual.keys()},e.prototype.negate=function(){return this._actual},e}(),p=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 5},e.prototype.cmp=function(e){if(this.expr.length<e.expr.length)return-1;if(this.expr.length>e.expr.length)return 1;for(var t=0,n=this.expr.length;t<n;t++){var r=s(this.expr[t],e.expr[t]);if(0!==r)return r}return 0},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,r=this.expr.length;n<r;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].evaluate(e))return!1;return!0},e._normalizeArr=function(t){var n=[];if(t){for(var r=0,i=t.length;r<i;r++){var o=t[r];if(o)if(o instanceof e)n=n.concat(o.expr);else{if(o instanceof g)throw new Error('It is not allowed to have an or expression here due to lack of parens! For example "a && (b||c)" is not supported, use "(a&&b) || (a&&c)" instead.');n.push(o)}}n.sort(s)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var r=n[t];e.push.apply(e,r.keys())}return e},e.prototype.negate=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var r=n[t];e.push(r.negate())}return g.create(e)},e}(),g=function(){function e(e){this.expr=e}return e.create=function(t){var n=e._normalizeArr(t);if(0!==n.length)return 1===n.length?n[0]:new e(n)},e.prototype.getType=function(){return 8},e.prototype.equals=function(t){if(t instanceof e){if(this.expr.length!==t.expr.length)return!1;for(var n=0,r=this.expr.length;n<r;n++)if(!this.expr[n].equals(t.expr[n]))return!1;return!0}return!1},e.prototype.evaluate=function(e){for(var t=0,n=this.expr.length;t<n;t++)if(this.expr[t].evaluate(e))return!0;return!1},e._normalizeArr=function(t){var n=[];if(t){for(var r=0,i=t.length;r<i;r++){var o=t[r];o&&(o instanceof e?n=n.concat(o.expr):n.push(o))}n.sort(s)}return n},e.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var r=n[t];e.push.apply(e,r.keys())}return e},e.prototype.negate=function(){for(var t=[],n=0,r=this.expr;n<r.length;n++){var i=r[n];t.push(i.negate())}var o=function(t){return t instanceof e?t.expr:[t]};while(t.length>1){for(var s=t.shift(),l=t.shift(),u=[],c=0,d=o(s);c<d.length;c++)for(var h=d[c],f=0,p=o(l);f<p.length;f++){var g=p[f];u.push(a.and(h,g))}t.unshift(a.or.apply(a,u))}return t[0]},e}(),m=function(e){function t(t,n){var r=e.call(this,t)||this;return r._defaultValue=n,r}return o(t,e),t.prototype.bindTo=function(e){return e.createKey(this.key,this._defaultValue)},t.prototype.getValue=function(e){return e.getContextKeyValue(this.key)},t.prototype.toNegated=function(){return a.not(this.key)},t}(l),v=Object(i["c"])("contextKeyService"),y="setContext"},TIY9:function(e,t,n){var r=n("bYtY"),i=r.each,o=n("vafp"),a=n("4NO4"),s=a.makeInner,l=n("Mgri"),u=n("F5Ls"),c=n("a9QJ"),d=n("p/La"),h=s(),f={load:function(e,t,n){var r=h(t).parsed;if(r)return r;var a,s=t.specialAreas||{},f=t.geoJSON;try{a=f?o(f,n):[]}catch(g){throw new Error("Invalid geoJson format\n"+g.message)}return l(e,a),i(a,(function(t){var n=t.name;u(e,t),c(e,t),d(e,t);var r=s[n];r&&t.transformTo(r.left,r.top,r.width,r.height)})),h(t).parsed={regions:a,boundingRect:p(a)}}};function p(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}e.exports=f},TJmX:function(e,t,n){var r=n("zM3Q"),i=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],a=["itemStyle","color"],s=["itemStyle","color0"],l={seriesType:"candlestick",plan:r(),performRawSeries:!0,reset:function(e,t){var n=e.getData();if(n.setVisual({legendSymbol:"roundRect",colorP:u(1,e),colorN:u(-1,e),borderColorP:c(1,e),borderColorN:c(-1,e)}),!t.isSeriesFiltered(e)){var r=e.pipelineContext.large;return!r&&{progress:l}}function l(e,t){var n;while(null!=(n=e.next())){var r=t.getItemModel(n),i=t.getItemLayout(n).sign;t.setItemVisual(n,{color:u(i,r),borderColor:c(i,r)})}}function u(e,t){return t.get(e>0?a:s)}function c(e,t){return t.get(e>0?i:o)}}};e.exports=l},TQUy:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));var r=n("N0LK"),i=n("4bUh"),o=n("i/Ef"),a={getInitialState:function(){return o["c"]},tokenize2:function(e,t,n){return Object(o["e"])(0,e,t,n)}};function s(e,t){return void 0===t&&(t=a),u(e,t||a)}function l(e,t,n,r,i,o,a){for(var s="<div>",l=r,u=0,c=0,d=t.getCount();c<d;c++){var h=t.getEndOffset(c);if(!(h<=r)){for(var f="";l<h&&l<i;l++){var p=e.charCodeAt(l);switch(p){case 9:var g=o-(l+u)%o;u+=g-1;while(g>0)f+=a?" ":" ",g--;break;case 60:f+="<";break;case 62:f+=">";break;case 38:f+="&";break;case 0:f+="�";break;case 65279:case 8232:f+="\ufffd";break;case 13:f+="​";break;case 32:f+=a?" ":" ";break;default:f+=String.fromCharCode(p)}}if(s+='<span style="'+t.getInlineStyle(c,n)+'">'+f+"</span>",h>i||l>=i)break}}return s+="</div>",s}function u(e,t){for(var n='<div class="monaco-tokenized-source">',o=e.split(/\r\n|\r|\n/),a=t.getInitialState(),s=0,l=o.length;s<l;s++){var u=o[s];s>0&&(n+="<br/>");var c=t.tokenize2(u,a,0);i["a"].convertToEndOffset(c.tokens,u.length);for(var d=new i["a"](c.tokens,u),h=d.inflate(),f=0,p=0,g=h.getCount();p<g;p++){var m=h.getClassName(p),v=h.getEndOffset(p);n+='<span class="'+m+'">'+r["o"](u.substring(f,v))+"</span>",f=v}a=c.endState}return n+="</div>",n}},TT2d:function(e,t,n){},TWL2:function(e,t,n){var r=n("IwbS"),i=n("bYtY"),o=n("6Ic6");function a(e,t){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.highDownOnUpdate=function(e,t){"emphasis"===t?(i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore):(i.ignore=i.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(e,t,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var o=this.childAt(0),a=e.hostModel,s=e.getItemModel(t),u=e.getItemLayout(t),c=e.getItemModel(t).get(l);c=null==c?1:c,o.useStyle({}),n?(o.setShape({points:u.points}),o.setStyle({opacity:0}),r.initProps(o,{style:{opacity:c}},a,t)):r.updateProps(o,{style:{opacity:c},shape:{points:u.points}},a,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");o.setStyle(i.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),o.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),r.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),i=this.childAt(2),o=e.hostModel,a=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,u=e.getItemVisual(t,"color");r.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},o,t),r.updateProps(i,{style:{x:l.x,y:l.y}},o,t),i.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=a.getModel("label"),d=a.getModel("emphasis.label"),h=a.getModel("labelLine"),f=a.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");r.setLabelStyle(i.style,i.hoverStyle={},c,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!d.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:u}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},i.inherits(a,r.Group);var u=o.extend({type:"funnel",render:function(e,t,n){var r=e.getData(),i=this._data,o=this.group;r.diff(i).add((function(e){var t=new a(r,e);r.setItemGraphicEl(e,t),o.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),o.add(n),r.setItemGraphicEl(e,n)})).remove((function(e){var t=i.getItemGraphicEl(e);o.remove(t)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),c=u;e.exports=c},TYVI:function(e,t,n){var r=n("5GtS"),i=n("T4UG"),o=i.extend({type:"series.gauge",getInitialData:function(e,t){return r(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),a=o;e.exports=a},Tcc1:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r=function(){function e(e,t,n){this.offset=0|e,this.type=t,this.language=n}return e.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},e}(),i=function(){function e(e,t){this.tokens=e,this.endState=t}return e}(),o=function(){function e(e,t){this.tokens=e,this.endState=t}return e}()},Tghj:function(e,t,n){(function(e){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof e&&(n=e.__DEV__),"undefined"===typeof n&&(n=!0);var r=n;t.__DEV__=r}).call(this,n("yLpj"))},ThAp:function(e,t,n){var r=n("bYtY"),i=n("5GtS"),o=n("T4UG"),a=n("7aKB"),s=a.encodeHTML,l=a.addCommas,u=n("cCMj"),c=n("KxfA"),d=c.retrieveRawAttr,h=n("W4dC"),f=n("D5nY"),p=f.makeSeriesEncodeForNameBased,g=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(p,this)}),n=t.mapDimension("value"),o=r.createHashMap(),a=[],s=[],l=0,u=t.count();l<u;l++){var c=t.getName(l);o.set(c,!0),a.push({name:c,value:t.get(n,l),selected:d(t,l,"selected")})}var f=h.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return r.each(f.regions,(function(e){var t=e.name;o.get(t)||(a.push({name:t}),s.push(t))})),this.updateSelectedMap(a),t.appendValues([],s),t},getHostGeoModel:function(){var e=this.option.geoIndex;return null!=e?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var t=this.getData();return t.get(t.mapDimension("value"),e)},getRegionModel:function(e){var t=this.getData();return t.getItemModel(t.indexOfName(e))},formatTooltip:function(e){for(var t=this.getData(),n=l(this.getRawValue(e)),r=t.getName(e),i=this.seriesGroup,o=[],a=0;a<i.length;a++){var u=i[a].originalData.indexOfName(r),c=t.mapDimension("value");isNaN(i[a].originalData.get(c,u))||o.push(s(i[a].name))}return o.join(", ")+"<br />"+s(r+" : "+n)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},nameProperty:"name"}});r.mixin(g,u);var m=g;e.exports=m},TkdX:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},a=2,s=4;function l(e,t,n){i.Group.call(this);var r=new i.Sector({z2:a});r.seriesIndex=t.seriesIndex;var o=new i.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){o.ignore=o.hoverIgnore}function u(){o.ignore=o.normalIgnore}this.add(r),this.add(o),this.updateData(!0,e,"normal",t,n),this.on("emphasis",l).on("normal",u).on("mouseover",l).on("mouseout",u)}var u=l.prototype;u.updateData=function(e,t,n,o,a){this.node=t,t.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),u=t.getLayout(),c=r.extend({},u);c.label=null;var h=d(t,o,a);p(t,o,h);var f,g=l.getModel("itemStyle").getItemStyle();if("normal"===n)f=g;else{var m=l.getModel(n+".itemStyle").getItemStyle();f=r.merge(m,g)}f=r.defaults({lineJoin:"bevel",fill:f.fill||h},f),e?(s.setShape(c),s.shape.r=u.r0,i.updateProps(s,{shape:{r:u.r}},o,t.dataIndex),s.useStyle(f)):"object"===typeof f.fill&&f.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:c},o),s.useStyle(f)):i.updateProps(s,{shape:c,style:f},o),this._updateLabel(o,h,n);var v=l.getShallow("cursor");if(v&&s.attr("cursor",v),e){var y=o.getShallow("highlightPolicy");this._initEvents(s,t,o,y)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel,i.setHoverStyle(this)},u.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):f(n,t.node,e)?n.piece.childAt(0).trigger("highlight"):e!==o.NONE&&n.piece.childAt(0).trigger("downplay"))}))},u.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},u.onHighlight=function(){this.updateData(!1,this.node,"highlight")},u.onDownplay=function(){this.updateData(!1,this.node,"downplay")},u._updateLabel=function(e,t,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),u=r.retrieve(e.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===O("show")&&(u="");var c=this.node.getLayout(),d=s.get("minAngle");null==d&&(d=a.get("minAngle")),d=d/180*Math.PI;var h=c.endAngle-c.startAngle;null!=d&&Math.abs(h)<d&&(u="");var f=this.childAt(1);i.setLabelStyle(f.style,f.hoverStyle||{},a,l,{defaultText:s.getShallow("show")?u:null,autoColor:t,useInsideStyle:!0});var p,g=(c.startAngle+c.endAngle)/2,m=Math.cos(g),v=Math.sin(g),y=O("position"),b=O("distance")||0,_=O("align");"outside"===y?(p=c.r+b,_=g>Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(p=c.r0+b,g>Math.PI/2&&(_="right")):"right"===_&&(p=c.r-b,g>Math.PI/2&&(_="left")):(p=(c.r+c.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:O("verticalAlign")||"middle",opacity:O("opacity")});var w=p*m+c.cx,x=p*v+c.cy;f.attr("position",[w,x]);var C=O("rotate"),S=0;function O(e){var t=s.get(e);return null==t?a.get(e):t}"radial"===C?(S=-g,S<-Math.PI/2&&(S+=Math.PI)):"tangential"===C?(S=Math.PI/2-g,S>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI)):"number"===typeof C&&(S=C*Math.PI/180),f.attr("rotation",S)},u._initEvents=function(e,t,n,r){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,o=function(){i.onEmphasis(r)},a=function(){i.onNormal()},s=function(){i.onDownplay()},l=function(){i.onHighlight()};n.isAnimationEnabled()&&e.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",s).on("highlight",l)},r.inherits(l,i.Group);var c=l;function d(e,t,n){var r=e.getVisual("color"),i=e.getVisual("visualMeta");i&&0!==i.length||(r=null);var o=e.getModel("itemStyle").get("color");if(o)return o;if(r)return r;if(0===e.depth)return n.option.color[0];var a=n.option.color.length;return o=n.option.color[h(e)%a],o}function h(e){var t=e;while(t.depth>1)t=t.parentNode;var n=e.getAncestors()[0];return r.indexOf(n.children,t)}function f(e,t,n){return n!==o.NONE&&(n===o.SELF?e===t:n===o.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function p(e,t,n){var r=t.getData();r.setItemVisual(e.dataIndex,"color",n)}e.exports=c},Tp9H:function(e,t,n){var r=n("ItGF"),i=n("Kagy"),o=n("IUWy"),a=i.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!r.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",o="svg"===t.getZr().painter.getType(),a=o?"svg":n.get("type",!0)||"png",s=t.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||r.browser.ie||r.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),u=l.length,c=new Uint8Array(u);while(u--)c[u]=l.charCodeAt(u);var d=new Blob([c]);window.navigator.msSaveOrOpenBlob(d,i+"."+a)}else{var h=n.get("lang"),f='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(h&&h[0]||"")+'" /></body>',p=window.open();p.document.write(f)}else{var g=document.createElement("a");g.download=i+"."+a,g.target="_blank",g.href=s;var m=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});g.dispatchEvent(m)}},o.register("saveAsImage",s);var u=s;e.exports=u},"U+KD":function(e,t,n){var r=n("B+OT"),i=n("JB68"),o=n("VVlx")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"U/Mo":function(e,t){function n(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scale,i=r&&r[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/i}function r(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=n,t.getSymbolSize=r},UADf:function(e,t,n){},UCkY:function(e,t,n){},"UNi/":function(e,t){function n(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}e.exports=n},UO39:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},UOVi:function(e,t,n){var r=n("bYtY"),i=n("7aKB"),o=["x","y","z","radius","angle","single"],a=["cartesian2d","polar","singleAxis"];function s(e){return r.indexOf(a,e)>=0}function l(e,t){e=e.slice();var n=r.map(e,i.capitalFirst);t=(t||[]).slice();var o=r.map(t,i.capitalFirst);return function(i,a){r.each(e,(function(e,r){for(var s={name:e,capital:n[r]},l=0;l<t.length;l++)s[t[l]]=e+o[l];i.call(a,s)}))}}var u=l(o,["axisIndex","axis","index","id"]);function c(e,t,n){return function(n){var r,s={nodes:[],records:{}};if(t((function(e){s.records[e.name]={}})),!n)return s;a(n,s);do{r=!1,e(l)}while(r);function l(e){!i(e,s)&&o(e,s)&&(a(e,s),r=!0)}return s};function i(e,t){return r.indexOf(t.nodes,e)>=0}function o(e,i){var o=!1;return t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]&&(o=!0)}))})),o}function a(e,i){i.nodes.push(e),t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=u,t.createLinkedNodesFinder=c},URDS:function(e,t,n){(function(e){(function(e,t){t()})(0,(function(){"use strict";function t(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}var n=setTimeout;function r(){}function i(e,t){return function(){e.apply(t,arguments)}}function o(e){if(!(this instanceof o))throw new TypeError("Promises must be constructed via new");if("function"!==typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function a(e,t){while(3===e._state)e=e._value;0!==e._state?(e._handled=!0,o._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(i){return void l(t.promise,i)}s(t.promise,r)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var n=t.then;if(t instanceof o)return e._state=3,e._value=t,void u(e);if("function"===typeof n)return void d(i(n,t),e)}e._state=1,e._value=t,u(e)}catch(r){l(e,r)}}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&o._immediateFn((function(){e._handled||o._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)a(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"===typeof e?e:null,this.onRejected="function"===typeof t?t:null,this.promise=n}function d(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(r){if(n)return;n=!0,l(t,r)}}o.prototype["catch"]=function(e){return this.then(null,e)},o.prototype.then=function(e,t){var n=new this.constructor(r);return a(this,new c(e,t,n)),n},o.prototype["finally"]=t,o.all=function(e){return new o((function(t,n){if(!e||"undefined"===typeof e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var i=r.length;function o(e,a){try{if(a&&("object"===typeof a||"function"===typeof a)){var s=a.then;if("function"===typeof s)return void s.call(a,(function(t){o(e,t)}),n)}r[e]=a,0===--i&&t(r)}catch(l){n(l)}}for(var a=0;a<r.length;a++)o(a,r[a])}))},o.resolve=function(e){return e&&"object"===typeof e&&e.constructor===o?e:new o((function(t){t(e)}))},o.reject=function(e){return new o((function(t,n){n(e)}))},o.race=function(e){return new o((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},o._immediateFn="function"===typeof setImmediate&&function(e){setImmediate(e)}||function(e){n(e,0)},o._unhandledRejectionFn=function(e){"undefined"!==typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var h=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof e)return e;throw new Error("unable to locate global object")}();"Promise"in h?h.Promise.prototype["finally"]||(h.Promise.prototype["finally"]=t):h["Promise"]=o}))}).call(this,n("yLpj"))},UWiX:function(e,t,n){var r=n("29s/")("wks"),i=n("YqAc"),o=n("5T2Y").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},Uc92:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};t.default=r},UnoB:function(e,t,n){var r=n("bYtY"),i=n("OELB");function o(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},o=n.getRect();r.rect=o;var s=e.get("boundaryGap"),l=n.getAxis();if(r.boundaryGap=s,"horizontal"===l.orient){s[0]=i.parsePercent(s[0],o.height),s[1]=i.parsePercent(s[1],o.height);var u=o.height-s[0]-s[1];a(t,e,u)}else{s[0]=i.parsePercent(s[0],o.width),s[1]=i.parsePercent(s[1],o.width);var c=o.width-s[0]-s[1];a(t,e,c)}t.setLayout("layoutInfo",r)}))}function a(e,t,n){if(e.count())for(var i,o=t.coordinateSystem,a=t.getLayerSeries(),l=e.mapDimension("single"),u=e.mapDimension("value"),c=r.map(a,(function(t){return r.map(t.indices,(function(t){var n=o.dataToPoint(e.get(l,t));return n[1]=e.get(u,t),n}))})),d=s(c),h=d.y0,f=n/d.max,p=a.length,g=a[0].indices.length,m=0;m<g;++m){i=h[m]*f,e.setItemLayout(a[0].indices[m],{layerIndex:0,x:c[0][m][0],y0:i,y:c[0][m][1]*f});for(var v=1;v<p;++v)i+=c[v-1][m][1]*f,e.setItemLayout(a[v].indices[m],{layerIndex:v,x:c[v][m][0],y0:i,y:c[v][m][1]*f})}}function s(e){for(var t=e.length,n=e[0].length,r=[],i=[],o=0,a={},s=0;s<n;++s){for(var l=0,u=0;l<t;++l)u+=e[l][s][1];u>o&&(o=u),r.push(u)}for(var c=0;c<n;++c)i[c]=(o-r[c])/2;o=0;for(var d=0;d<n;++d){var h=r[d]+i[d];h>o&&(o=h)}return a.y0=i,a.max=o,a}e.exports=o},Urep:function(e,t,n){},Uzvx:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=n("Cg/j"),i=Object(r["c"])("contextViewService"),o=Object(r["c"])("contextMenuService")},V6Ve:function(e,t,n){var r=n("kekF"),i=r(Object.keys,Object);e.exports=i},V7ic:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("digP")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="FileTwoTone";var u=o.forwardRef(l);t.default=u},VFCP:function(e,t,n){n("dBmv"),n("KamJ")},VPJY:function(e,t,n){},VPsl:function(e,t){function n(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:r,color:i})}))}e.exports=n},VR9l:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),o={getItemStyle:function(e,t){var n=i(this,e,t),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=o},VSLf:function(e,t,n){n("I+Bx"),n("F0hE"),n("bBKM")},VXYp:function(e,t,n){var r=n("bYtY"),i=n("SgGq"),o=n("iLNv"),a="\0_ec_dataZoom_roams";function s(e,t){var n=c(e),i=t.dataZoomId,a=t.coordId;r.each(n,(function(e,n){var o=e.dataZoomInfos;o[i]&&r.indexOf(t.allCoordIds,a)<0&&(delete o[i],e.count--)})),h(n);var s=n[a];s||(s=n[a]={coordId:a,dataZoomInfos:{},count:0},s.controller=d(e,s),s.dispatchAction=r.curry(f,e)),!s.dataZoomInfos[i]&&s.count++,s.dataZoomInfos[i]=t;var l=p(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),o.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var n=c(e);r.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),h(n)}function u(e){return e.type+"\0_"+e.id}function c(e){var t=e.getZr();return t[a]||(t[a]={})}function d(e,t){var n=new i(e.getZr());return r.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var i=[];r.each(t.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var o=(r.getRange||{})[e],a=o&&o(t.controller,n);!r.dataZoomModel.get("disabled",!0)&&a&&i.push({dataZoomId:r.dataZoomId,start:a[0],end:a[1]})}})),i.length&&t.dispatchAction(i)}))})),n}function h(e){r.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function f(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function p(e){var t,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0;return r.each(e,(function(e){var r=e.dataZoomModel,a=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");i[n+a]>i[n+t]&&(t=a),o&=r.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}}}t.register=s,t.unregister=l,t.generateCoordId=u},VaNO:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},VaxA:function(e,t,n){var r=n("bYtY");function i(e,t,n){if(e&&r.indexOf(t,e.type)>=0){var i=n.getData().tree.root,o=e.targetNode;if("string"===typeof o&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=e.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}}function o(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function a(e,t){var n=o(e);return r.indexOf(n,t)>=0}function s(e,t){var n=[];while(e){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}t.retrieveTargetInfo=i,t.getPathToRoot=o,t.aboveViewRoot=a,t.wrapTreePathInfo=s},Vhoy:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var r=/(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function i(e){return e.replace(r,(function(e,t){return t?e:"\\"+e}))}var o=/\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;function a(e){return e.replace(o,(function(e){return"\\"+e}))}var s=/(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;function l(e){return e.replace(s,(function(e,t,n,r,i){return t?"$("+n+")":'<span class="codicon codicon-'+r+(i?" codicon-animation-"+i:"")+'"></span>'}))}},Vi4m:function(e,t,n){var r=n("bYtY");function i(e){null!=e&&r.extend(this,e),this.otherDims={}}var o=i;e.exports=o},Vl3Y:function(e,t,n){"use strict";var r=n("q1tI"),i=n("BGR+"),o=n("TSYQ"),a=n.n(o),s=n("85Yc"),l=n("H84U"),u=r["createContext"]({labelAlign:"right",vertical:!1}),c=r["createContext"]({updateItemErrors:function(){}}),d=function(e){var t=Object(i["a"])(e,["prefixCls"]);return r["createElement"](s["b"],t)},h=n("xEkU"),f=n.n(h);function p(e){return null!=e&&"object"===typeof e&&1===e.nodeType}function g(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function m(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}}function v(e){var t=m(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}function y(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return g(n.overflowY,t)||g(n.overflowX,t)||v(e)}return!1}function b(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var _=function(e,t){var n=t.scrollMode,r=t.block,i=t.inline,o=t.boundary,a=t.skipOverflowHiddenElements,s="function"===typeof o?o:function(e){return e!==o};if(!p(e))throw new TypeError("Invalid target");var l=document.scrollingElement||document.documentElement,u=[],c=e;while(p(c)&&s(c)){if(c=c.parentNode,c===l){u.push(c);break}c===document.body&&y(c)&&!y(document.documentElement)||y(c,a)&&u.push(c)}for(var d=window.visualViewport?visualViewport.width:innerWidth,h=window.visualViewport?visualViewport.height:innerHeight,f=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,_=m.width,w=m.top,x=m.right,C=m.bottom,S=m.left,O="start"===r||"nearest"===r?w:"end"===r?C:w+v/2,k="center"===i?S+_/2:"end"===i?x:S,E=[],D=0;D<u.length;D++){var M=u[D],N=M.getBoundingClientRect(),L=N.height,I=N.width,T=N.top,P=N.right,A=N.bottom,R=N.left;if("if-needed"===n&&w>=0&&S>=0&&C<=h&&x<=d&&w>=T&&C<=A&&S>=R&&x<=P)return E;var j=getComputedStyle(M),F=parseInt(j.borderLeftWidth,10),B=parseInt(j.borderTopWidth,10),V=parseInt(j.borderRightWidth,10),z=parseInt(j.borderBottomWidth,10),W=0,H=0,U="offsetWidth"in M?M.offsetWidth-M.clientWidth-F-V:0,K="offsetHeight"in M?M.offsetHeight-M.clientHeight-B-z:0;if(l===M)W="start"===r?O:"end"===r?O-h:"nearest"===r?b(g,g+h,h,B,z,g+O,g+O+v,v):O-h/2,H="start"===i?k:"center"===i?k-d/2:"end"===i?k-d:b(f,f+d,d,F,V,f+k,f+k+_,_),W=Math.max(0,W+g),H=Math.max(0,H+f);else{W="start"===r?O-T-B:"end"===r?O-A+z+K:"nearest"===r?b(T,A,L,B,z+K,O,O+v,v):O-(T+L/2)+K/2,H="start"===i?k-R-F:"center"===i?k-(R+I/2)+U/2:"end"===i?k-P+V+U:b(R,P,I,F,V+U,k,k+_,_);var G=M.scrollLeft,q=M.scrollTop;W=Math.max(0,Math.min(q+W,M.scrollHeight-L+K)),H=Math.max(0,Math.min(G+H,M.scrollWidth-I+U)),O+=q-W,k+=G-H}E.push({el:M,top:W,left:H})}return E};function w(e){return e===Object(e)&&0!==Object.keys(e).length}function x(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}function C(e){return!1===e?{block:"end",inline:"nearest"}:w(e)?e:{block:"start",inline:"nearest"}}function S(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(w(t)&&"function"===typeof t.behavior)return t.behavior(n?[]:_(e,t));if(!n){var r=C(t);return x(_(e,r),r.behavior)}}var O=S;function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}function E(e,t){return I(e)||L(e,t)||M(e,t)||D()}function D(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,t){if(e){if("string"===typeof e)return N(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(e,t):void 0}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function L(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function I(e){if(Array.isArray(e))return e}function T(e,t,n){var i=r["useRef"]({errors:e,visible:!!e.length}),o=r["useState"]({}),a=E(o,2),s=a[1],l=function(){var n=i.current.visible,r=!!e.length,o=i.current.errors;i.current.errors=e,i.current.visible=r,n!==r?t(r):(o.length!==e.length||o.some((function(t,n){return t!==e[n]})))&&s({})};return r["useEffect"]((function(){if(!n){var e=setTimeout(l,10);return function(){return clearTimeout(e)}}}),[e]),n&&l(),[i.current.visible,i.current.errors]}function P(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function A(e,t){if(e.length){var n=e.join("_");return t?"".concat(t,"_").concat(n):n}}function R(e){var t=Object(s["e"])(),n=E(t,1),i=n[0],o=r["useMemo"]((function(){return e||k(k({},i),{__INTERNAL__:{},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=P(e),r=A(n,o.__INTERNAL__.name),i=r?document.getElementById(r):null;i&&O(i,k({scrollMode:"if-needed",block:"nearest"},t))}})}),[e,i]);return[o]}function j(e){var t=r["useState"](e),n=E(t,2),i=n[0],o=n[1],a=r["useRef"](null),s=r["useRef"]([]),l=r["useRef"](!1);function u(e){l.current||(null===a.current&&(s.current=[],a.current=f()((function(){a.current=null,o((function(e){var t=e;return s.current.forEach((function(e){t=e(t)})),t}))}))),s.current.push(e))}return r["useEffect"]((function(){return function(){l.current=!0,f.a.cancel(a.current)}}),[]),[i,u]}var F=n("3Nzz");function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}function V(e,t){return K(e)||U(e,t)||W(e,t)||z()}function z(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function W(e,t){if(e){if("string"===typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function U(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function K(e){if(Array.isArray(e))return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q=function(e,t){var n,o=r["useContext"](F["b"]),c=r["useContext"](l["b"]),d=c.getPrefixCls,h=c.direction,f=e.form,p=e.colon,g=e.name,m=e.labelAlign,v=e.labelCol,y=e.wrapperCol,b=e.prefixCls,_=e.hideRequiredMark,w=e.className,x=void 0===w?"":w,C=e.layout,S=void 0===C?"horizontal":C,O=e.size,k=void 0===O?o:O,E=e.scrollToFirstError,D=e.onFinishFailed,M=d("form",b),N=a()(M,(n={},G(n,"".concat(M,"-").concat(S),!0),G(n,"".concat(M,"-hide-required-mark"),_),G(n,"".concat(M,"-rtl"),"rtl"===h),G(n,"".concat(M,"-").concat(k),k),n),x),L=Object(i["a"])(e,["prefixCls","className","layout","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon","scrollToFirstError"]),I=R(f),T=V(I,1),P=T[0];P.__INTERNAL__.name=g;var A=r["useMemo"]((function(){return{name:g,labelAlign:m,labelCol:v,wrapperCol:y,vertical:"vertical"===S,colon:p}}),[g,m,v,y,S,p]);r["useImperativeHandle"](t,(function(){return P}));var j=function(e){D&&D(e),E&&e.errorFields.length&&P.scrollToField(e.errorFields[0].name)};return r["createElement"](F["a"],{size:k},r["createElement"](u.Provider,{value:A},r["createElement"](s["d"],B({id:g},L,{onFinishFailed:j,form:P,className:N}))))},Y=r["forwardRef"](q),X=Y,Z=n("Y+p1"),Q=n.n(Z),$=n("qrJ5"),J=n("CWQg"),ee=n("uaoM"),te=n("/kpp");function ne(){return ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ne.apply(this,arguments)}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ie=function(e){var t=e.prefixCls,n=e.label,i=e.htmlFor,o=e.labelCol,s=e.labelAlign,l=e.colon,c=e.required;return n?r["createElement"](u.Consumer,{key:"label"},(function(e){var u,d=e.vertical,h=e.labelAlign,f=e.labelCol,p=e.colon,g=o||f||{},m=s||h,v="".concat(t,"-item-label"),y=a()(v,"left"===m&&"".concat(v,"-left"),g.className),b=n,_=!0===l||!1!==p&&!1!==l,w=_&&!d;w&&"string"===typeof n&&""!==n.trim()&&(b=n.replace(/[:|\uff1a]\s*$/,""));var x=a()((u={},re(u,"".concat(t,"-item-required"),c),re(u,"".concat(t,"-item-no-colon"),!_),u));return r["createElement"](te["a"],ne({},g,{className:y}),r["createElement"]("label",{htmlFor:i,className:x,title:"string"===typeof n?n:""},b))})):null},oe=ie,ae=n("gZBC"),se=n.n(ae),le=n("kbBi"),ue=n.n(le),ce=n("J84W"),de=n.n(ce),he=n("sKbD"),fe=n.n(he),pe=n("YrtM"),ge=n("lCnp");function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}function ve(e,t){return xe(e)||we(e,t)||be(e,t)||ye()}function ye(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function be(e,t){if(e){if("string"===typeof e)return _e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_e(e,t):void 0}}function _e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function we(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function xe(e){if(Array.isArray(e))return e}var Ce={success:de.a,warning:fe.a,error:ue.a,validating:se.a},Se=function(e){var t=e.prefixCls,n=e.wrapperCol,i=e.children,o=e.help,s=e.errors,l=e.onDomErrorVisibleChange,c=e.hasFeedback,d=e.validateStatus,h=e.extra,f=r["useState"]({}),p=ve(f,2),g=p[1],m="".concat(t,"-item"),v=r["useContext"](u),y=n||v.wrapperCol||{},b=a()("".concat(m,"-control"),y.className),_=T(s,(function(e){e&&Promise.resolve().then((function(){l(!0)})),g({})}),!!o),w=ve(_,2),x=w[0],C=w[1];r["useEffect"]((function(){return function(){l(!1)}}),[]);var S=Object(pe["a"])((function(){return C}),x,(function(e,t){return t})),O=d&&Ce[d],k=c&&O?r["createElement"]("span",{className:"".concat(m,"-children-icon")},r["createElement"](O,null)):null,E=me({},v);return delete E.labelCol,delete E.wrapperCol,r["createElement"](u.Provider,{value:E},r["createElement"](te["a"],me({},y,{className:b}),r["createElement"]("div",{className:"".concat(m,"-control-input")},r["createElement"]("div",{className:"".concat(m,"-control-input-content")},i),k),r["createElement"](ge["a"],{visible:x,motionName:"show-help",onLeaveEnd:function(){l(!1)},motionAppear:!0,removeOnLeave:!0},(function(e){var t=e.className;return r["createElement"]("div",{className:a()("".concat(m,"-explain"),t),key:"help"},S.map((function(e,t){return r["createElement"]("div",{key:t},e)})))})),h&&r["createElement"]("div",{className:"".concat(m,"-extra")},h)))},Oe=Se,ke=n("0n0R");function Ee(e){return Ee="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ee(e)}function De(e){return Le(e)||Ne(e)||Re(e)||Me()}function Me(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ne(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Le(e){if(Array.isArray(e))return je(e)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(){return Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Te.apply(this,arguments)}function Pe(e,t){return Be(e)||Fe(e,t)||Re(e,t)||Ae()}function Ae(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Re(e,t){if(e){if("string"===typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?je(e,t):void 0}}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fe(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Be(e){if(Array.isArray(e))return e}var Ve=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},ze=(Object(J["a"])("success","warning","error","validating",""),r["memo"]((function(e){var t=e.children;return t}),(function(e,t){return e.value===t.value&&e.update===t.update})));function We(e){return null===e&&Object(ee["a"])(!1,"Form.Item","`null` is passed as `name` property"),!(void 0===e||null===e)}function He(e){var t=e.name,n=e.fieldKey,o=e.noStyle,d=e.dependencies,h=e.prefixCls,f=e.style,p=e.className,g=e.shouldUpdate,m=e.hasFeedback,v=e.help,y=e.rules,b=e.validateStatus,_=e.children,w=e.required,x=e.label,C=e.trigger,S=void 0===C?"onChange":C,O=e.validateTrigger,k=void 0===O?"onChange":O,E=Ve(e,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger"]),D=r["useRef"](!1),M=r["useContext"](l["b"]),N=M.getPrefixCls,L=r["useContext"](u),I=r["useContext"](c),T=I.updateItemErrors,R=r["useState"](!!v),F=Pe(R,2),B=F[0],V=F[1],z=r["useRef"](b),W=j({}),H=Pe(W,2),U=H[0],K=H[1];function G(e){D.current||V(e)}var q=L.name,Y=We(t),X=r["useRef"]([]);r["useEffect"]((function(){return function(){D.current=!0,T(X.current.join("__SPLIT__"),[])}}),[]);var Z=N("form",h),J=o?T:function(e,t){Q()(U[e],t)||K((function(n){return Te(Te({},n),Ie({},e,t))}))};function te(t,n,s,l){var u,d;if(o)return t;void 0!==v&&null!==v?d=P(v):(d=s?s.errors:[],Object.keys(U).forEach((function(e){var t=U[e]||[];t.length&&(d=[].concat(De(d),De(t)))})));var h="";void 0!==b?h=b:s&&s.validating?h="validating":!v&&d.length?h="error":s&&s.touched&&(h="success"),B&&v&&(z.current=h);var g=(u={},Ie(u,"".concat(Z,"-item"),!0),Ie(u,"".concat(Z,"-item-with-help"),B||v),Ie(u,"".concat(p),!!p),Ie(u,"".concat(Z,"-item-has-feedback"),h&&m),Ie(u,"".concat(Z,"-item-has-success"),"success"===h),Ie(u,"".concat(Z,"-item-has-warning"),"warning"===h),Ie(u,"".concat(Z,"-item-has-error"),"error"===h),Ie(u,"".concat(Z,"-item-has-error-leave"),!v&&B&&"error"===z.current),Ie(u,"".concat(Z,"-item-is-validating"),"validating"===h),u);return r["createElement"]($["a"],Te({className:a()(g),style:f,key:"row"},Object(i["a"])(E,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),r["createElement"](oe,Te({htmlFor:n,required:l},e,{prefixCls:Z})),r["createElement"](Oe,Te({},e,s,{errors:d,prefixCls:Z,onDomErrorVisibleChange:G,validateStatus:h}),r["createElement"](c.Provider,{value:{updateItemErrors:J}},t)))}var ne="function"===typeof _,re=r["useRef"](0);if(re.current+=1,!Y&&!ne&&!d)return te(_);var ie={};return"string"===typeof x&&(ie.label=x),r["createElement"](s["a"],Te({},e,{messageVariables:ie,trigger:S,validateTrigger:k,onReset:function(){G(!1)}}),(function(i,a,s){var l=a.errors,u=P(t).length&&a?a.name:[],c=A(u,q);if(o){if(X.current=De(u),n){var h=Array.isArray(n)?n:[n];X.current=[].concat(De(u.slice(-1)),De(h))}T(X.current.join("__SPLIT__"),l)}var f=void 0!==w?w:!(!y||!y.some((function(e){if(e&&"object"===Ee(e)&&e.required)return!0;if("function"===typeof e){var t=e(s);return t&&t.required}return!1}))),p=Te(Te({},i),{id:c}),m=null;if(Array.isArray(_)&&Y)Object(ee["a"])(!1,"Form.Item","`children` is array of render props cannot have `name`."),m=_;else if(!ne||g&&!Y)if(!d||ne||Y)if(Object(ke["b"])(_)){Object(ee["a"])(void 0===_.props.defaultValue,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var v=Te(Te({},_.props),p),b=new Set([].concat(De(P(S)),De(P(k))));b.forEach((function(e){v[e]=function(){for(var t,n,r,i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(r=p[e])||void 0===r||(t=r).call.apply(t,[p].concat(s)),null===(o=(i=_.props)[e])||void 0===o||(n=o).call.apply(n,[i].concat(s))}})),m=r["createElement"](ze,{value:p[e.valuePropName||"value"],update:re.current},Object(ke["a"])(_,v))}else ne&&g&&!Y?m=_(s):(Object(ee["a"])(!u.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),m=_);else Object(ee["a"])(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else Object(ee["a"])(!!g,"Form.Item","`children` of render props only work with `shouldUpdate`."),Object(ee["a"])(!Y,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");return te(m,c,a,f)}))}var Ue=He;function Ke(){return Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ke.apply(this,arguments)}var Ge=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},qe=function(e){var t=e.children,n=Ge(e,["children"]);return Object(ee["a"])(!!n.name,"Form.List","Miss `name` prop."),r["createElement"](s["c"],n,(function(e,n){return t(e.map((function(e){return Ke(Ke({},e),{fieldKey:e.key})})),n)}))},Ye=qe,Xe=X;Xe.Item=Ue,Xe.List=Ye,Xe.useForm=R,Xe.Provider=d,Xe.create=function(){Object(ee["a"])(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};t["a"]=Xe},VpOo:function(e,t){function n(e,t){var n,r,i,o,a,s=t.x,l=t.y,u=t.width,c=t.height,d=t.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>u&&(a=n+r,n*=u/a,r*=u/a),i+o>u&&(a=i+o,i*=u/a,o*=u/a),r+i>c&&(a=r+i,r*=c/a,i*=c/a),n+o>c&&(a=n+o,n*=c/a,o*=c/a),e.moveTo(s+n,l),e.lineTo(s+u-r,l),0!==r&&e.arc(s+u-r,l+r,r,-Math.PI/2,0),e.lineTo(s+u,l+c-i),0!==i&&e.arc(s+u-i,l+c-i,i,0,Math.PI/2),e.lineTo(s+o,l+c),0!==o&&e.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}t.buildPath=n},"VrN/":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),m=/Android/.test(e),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=g||/Mac/.test(t),b=/\bCrOS\b/.test(e),_=/win/i.test(t),w=d&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(d=!1,l=!0);var x=y&&(u||d&&(null==w||w<12.11)),C=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var O,k=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};function E(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function D(e,t){return E(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function N(e,t,n,r){var i=M(e,t,n,r);return i.setAttribute("role","presentation"),i}function L(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function I(){var e;try{e=document.activeElement}catch(t){e=document.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function T(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function P(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);return t}O=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(i){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var A=function(e){e.select()};function R(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function j(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function F(e,t,n,r,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}g?A=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(A=function(e){try{e.select()}catch(t){}});var B=function(){this.id=null,this.f=null,this.time=0,this.handler=R(this.onTimeout,this)};function V(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}B.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},B.prototype.set=function(e,t){this.f=t;var n=+new Date+e;(!this.id||n<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=n)};var z=50,W={toString:function(){return"CodeMirror.Pass"}},H={scroll:!1},U={origin:"*mouse"},K={origin:"+move"};function G(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}var q=[""];function Y(e){while(q.length<=e)q.push(X(q)+" ");return q[e]}function X(e){return e[e.length-1]}function Z(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Q(e,t,n){var r=0,i=n(t);while(r<e.length&&n(e[r])<=i)r++;e.splice(r,0,t)}function $(){}function J(e,t){var n;return Object.create?n=Object.create(e):($.prototype=e,n=new $),t&&j(t,n),n}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,n){while((n<0?t>0:t<e.length)&&oe(e.charAt(t)))t+=n;return t}function se(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function le(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}var ue=null;function ce(e,t,n){var r;ue=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:ue=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:ue=i)}return null!=r?r:ue}var de=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var u="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var c=e.length,d=[],h=0;h<c;++h)d.push(n(e.charCodeAt(h)));for(var f=0,p=u;f<c;++f){var g=d[f];"m"==g?d[f]=p:p=g}for(var m=0,v=u;m<c;++m){var y=d[m];"1"==y&&"r"==v?d[m]="n":o.test(y)&&(v=y,"r"==y&&(d[m]="R"))}for(var b=1,_=d[0];b<c-1;++b){var w=d[b];"+"==w&&"1"==_&&"1"==d[b+1]?d[b]="1":","!=w||_!=d[b+1]||"1"!=_&&"n"!=_||(d[b]=_),_=w}for(var x=0;x<c;++x){var C=d[x];if(","==C)d[x]="N";else if("%"==C){var S=void 0;for(S=x+1;S<c&&"%"==d[S];++S);for(var O=x&&"!"==d[x-1]||S<c&&"1"==d[S]?"1":"N",k=x;k<S;++k)d[k]=O;x=S-1}}for(var E=0,D=u;E<c;++E){var M=d[E];"L"==D&&"1"==M?d[E]="L":o.test(M)&&(D=M)}for(var N=0;N<c;++N)if(i.test(d[N])){var L=void 0;for(L=N+1;L<c&&i.test(d[L]);++L);for(var I="L"==(N?d[N-1]:u),T="L"==(L<c?d[L]:u),P=I==T?I?"L":"R":u,A=N;A<L;++A)d[A]=P;N=L-1}for(var R,j=[],F=0;F<c;)if(a.test(d[F])){var B=F;for(++F;F<c&&a.test(d[F]);++F);j.push(new l(0,B,F))}else{var V=F,z=j.length,W="rtl"==t?1:0;for(++F;F<c&&"L"!=d[F];++F);for(var H=V;H<F;)if(s.test(d[H])){V<H&&(j.splice(z,0,new l(1,V,H)),z+=W);var U=H;for(++H;H<F&&s.test(d[H]);++H);j.splice(z,0,new l(2,U,H)),z+=W,V=H}else++H;V<F&&j.splice(z,0,new l(1,V,F))}return"ltr"==t&&(1==j[0].level&&(R=e.match(/^\s+/))&&(j[0].from=R[0].length,j.unshift(new l(0,0,R[0].length))),1==X(j).level&&(R=e.match(/\s+$/))&&(X(j).to-=R[0].length,j.push(new l(0,c-R[0].length,c)))),"rtl"==t?j.reverse():j}}();function he(e,t){var n=e.order;return null==n&&(n=e.order=de(e.text,t)),n}var fe=[],pe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||fe).concat(n)}};function ge(e,t){return e._handlers&&e._handlers[t]||fe}function me(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=V(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ve(e,t){var n=ge(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function ye(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ve(e,n||t.type,e,t),Se(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==V(n,t[r])&&n.push(t[r])}function _e(e,t){return ge(e,t).length>0}function we(e){e.prototype.on=function(e,t){pe(this,e,t)},e.prototype.off=function(e,t){me(this,e,t)}}function xe(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Ce(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Se(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){xe(e),Ce(e)}function ke(e){return e.target||e.srcElement}function Ee(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var De,Me,Ne=function(){if(a&&s<9)return!1;var e=M("div");return"draggable"in e||"dragDrop"in e}();function Le(e){if(null==De){var t=M("span","\u200b");D(e,M("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(De=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=De?M("span","\u200b"):M("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ie(e){if(null!=Me)return Me;var t=D(e,document.createTextNode("A\u062eA")),n=O(t,0,1).getBoundingClientRect(),r=O(t,1,2).getBoundingClientRect();return E(e),!(!n||n.left==n.right)&&(Me=r.right-n.right<3)}var Te=3!="\n\nb".split(/\n/).length?function(e){var t=0,n=[],r=e.length;while(t<=r){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Pe=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Ae=function(){var e=M("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Re=null;function je(e){if(null!=Re)return Re;var t=D(e,M("span","x")),n=t.getBoundingClientRect(),r=O(t,0,1).getBoundingClientRect();return Re=Math.abs(n.left-r.left)>1}var Fe={},Be={};function Ve(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Fe[e]=t}function ze(e,t){Be[e]=t}function We(e){if("string"==typeof e&&Be.hasOwnProperty(e))e=Be[e];else if(e&&"string"==typeof e.name&&Be.hasOwnProperty(e.name)){var t=Be[e.name];"string"==typeof t&&(t={name:t}),e=J(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return We("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return We("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function He(e,t){t=We(t);var n=Fe[t.name];if(!n)return He(e,"text/plain");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var i=Ue[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function Ke(e,t){var n=Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={};j(t,n)}function Ge(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function qe(e,t){var n;while(e.innerMode){if(n=e.innerMode(t),!n||n.mode==e)break;t=n.state,e=n.mode}return n||{mode:e,state:t}}function Ye(e,t,n){return!e.startState||e.startState(t,n)}var Xe=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Ze(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var n=e;while(!n.lines)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function Qe(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,(function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i})),r}function $e(e,t,n){var r=[];return e.iter(t,n,(function(e){r.push(e.text)})),r}function Je(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function et(e){if(null==e.parent)return null;for(var t=e.parent,n=V(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;;++i){if(r.children[i]==t)break;n+=r.children[i].chunkSize()}return n+t.first}function tt(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function nt(e,t){return t>=e.first&&t<e.first+e.size}function rt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,n){if(void 0===n&&(n=null),!(this instanceof it))return new it(e,t,n);this.line=e,this.ch=t,this.sticky=n}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&0==ot(e,t)}function st(e){return it(e.line,e.ch)}function lt(e,t){return ot(e,t)<0?t:e}function ut(e,t){return ot(e,t)<0?e:t}function ct(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function dt(e,t){if(t.line<e.first)return it(e.first,0);var n=e.first+e.size-1;return t.line>n?it(n,Ze(e,n).text.length):ht(t,Ze(e,t.line).text.length)}function ht(e,t){var n=e.ch;return null==n||n>t?it(e.line,t):n<0?it(e.line,0):e}function ft(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=dt(e,t[r]);return n}Xe.prototype.eol=function(){return this.pos>=this.string.length},Xe.prototype.sol=function(){return this.pos==this.lineStart},Xe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Xe.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Xe.prototype.eat=function(e){var t,n=this.string.charAt(this.pos);if(t="string"==typeof e?n==e:n&&(e.test?e.test(n):e(n)),t)return++this.pos,n},Xe.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e));return this.pos>t},Xe.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},Xe.prototype.skipToEnd=function(){this.pos=this.string.length},Xe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Xe.prototype.backUp=function(e){this.pos-=e},Xe.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=F(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Xe.prototype.indentation=function(){return F(this.string,null,this.tabSize)-(this.lineStart?F(this.string,this.lineStart,this.tabSize):0)},Xe.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},Xe.prototype.current=function(){return this.string.slice(this.start,this.pos)},Xe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Xe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Xe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var pt=function(e,t){this.state=e,this.lookAhead=t},gt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function mt(e,t,n,r){var i=[e.state.modeGen],o={};Ot(e,t.text,e.doc.mode,n,(function(e,t){return i.push(e,t)}),o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,u=0;n.state=!0,Ot(e,t.text,s.mode,n,(function(e,t){var n=l;while(u<e){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}}),o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function vt(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=yt(e,et(t)),i=t.text.length>e.options.maxHighlightLength&&Ge(e.doc.mode,r.state),o=mt(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function yt(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new gt(r,!0,t);var o=kt(e,t,n),a=o>r.first&&Ze(r,o-1).stateAfter,s=a?gt.fromSaved(r,a,o):new gt(r,Ye(r.mode),o);return r.iter(o,t,(function(n){bt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()})),n&&(r.modeFrontier=s.line),s}function bt(e,t,n,r){var i=e.doc.mode,o=new Xe(t,e.options.tabSize,n);o.start=o.pos=r||0,""==t&&_t(i,n.state);while(!o.eol())wt(i,o,n.state),o.start=o.pos}function _t(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=qe(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function wt(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=qe(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}gt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},gt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gt.fromSaved=function(e,t,n){return t instanceof pt?new gt(e,Ge(e.mode,t.state),n,t.lookAhead):new gt(e,Ge(e.mode,t),n)},gt.prototype.save=function(e){var t=!1!==e?Ge(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new pt(t,this.maxLookAhead):t};var xt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Ct(e,t,n,r){var i,o=e.doc,a=o.mode;t=dt(o,t);var s,l=Ze(o,t.line),u=yt(e,t.line,n),c=new Xe(l.text,e.options.tabSize,u);r&&(s=[]);while((r||c.pos<t.ch)&&!c.eol())c.start=c.pos,i=wt(a,c,u.state),r&&s.push(new xt(c,i,Ge(o.mode,u.state)));return r?s:new xt(c,i,u.state)}function St(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|\\s)"+n[2]+"(?:$|\\s)").test(t[r])||(t[r]+=" "+n[2])}return e}function Ot(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,u=0,c=null,d=new Xe(t,e.options.tabSize,r),h=e.options.addModeClass&&[null];""==t&&St(_t(n,r.state),o);while(!d.eol()){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&bt(e,t,r,d.pos),d.pos=t.length,l=null):l=St(wt(n,d,r.state,h),o),h){var f=h[0].name;f&&(l="m-"+(l?f+" "+l:f))}if(!s||c!=l){while(u<d.start)u=Math.min(d.start,u+5e3),i(u,c);c=l}d.start=d.pos}while(u<d.pos){var p=Math.min(d.pos,u+5e3);i(p,c),u=p}}function kt(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Ze(o,s-1),u=l.stateAfter;if(u&&(!n||s+(u instanceof pt?u.lookAhead:0)<=o.modeFrontier))return s;var c=F(l.text,null,e.options.tabSize);(null==i||r>c)&&(i=s-1,r=c)}return i}function Et(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=Ze(e,r).stateAfter;if(i&&(!(i instanceof pt)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}var Dt=!1,Mt=!1;function Nt(){Dt=!0}function Lt(){Mt=!0}function It(e,t,n){this.marker=e,this.from=t,this.to=n}function Tt(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function Pt(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function At(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function Rt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new It(a,o.from,l?null:o.to))}}return r}function jt(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new It(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return r}function Ft(e,t){if(t.full)return null;var n=nt(e,t.from.line)&&Ze(e,t.from.line).markedSpans,r=nt(e,t.to.line)&&Ze(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==ot(t.from,t.to),s=Rt(n,i,a),l=jt(r,o,a),u=1==t.text.length,c=X(t.text).length+(u?i:0);if(s)for(var d=0;d<s.length;++d){var h=s[d];if(null==h.to){var f=Tt(l,h.marker);f?u&&(h.to=null==f.to?null:f.to+c):h.to=i}}if(l)for(var p=0;p<l.length;++p){var g=l[p];if(null!=g.to&&(g.to+=c),null==g.from){var m=Tt(s,g.marker);m||(g.from=c,u&&(s||(s=[])).push(g))}else g.from+=c,u&&(s||(s=[])).push(g)}s&&(s=Bt(s)),l&&l!=s&&(l=Bt(l));var v=[s];if(!u){var y,b=t.text.length-2;if(b>0&&s)for(var _=0;_<s.length;++_)null==s[_].to&&(y||(y=[])).push(new It(s[_].marker,null,null));for(var w=0;w<b;++w)v.push(y);v.push(l)}return v}function Bt(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Vt(e,t,n){var r=null;if(e.iter(t.line,n.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=V(r,n)||(r||(r=[])).push(n)}})),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var u=i[l];if(!(ot(u.to,s.from)<0||ot(u.from,s.to)>0)){var c=[l,1],d=ot(u.from,s.from),h=ot(u.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&c.push({from:u.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&c.push({from:s.to,to:u.to}),i.splice.apply(i,c),l+=c.length-3}}return i}function zt(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Wt(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function Ht(e){return e.inclusiveLeft?-1:0}function Ut(e){return e.inclusiveRight?1:0}function Kt(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=ot(r.from,i.from)||Ht(e)-Ht(t);if(o)return-o;var a=ot(r.to,i.to)||Ut(e)-Ut(t);return a||t.id-e.id}function Gt(e,t){var n,r=Mt&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)i=r[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!n||Kt(n,i.marker)<0)&&(n=i.marker);return n}function qt(e){return Gt(e,!0)}function Yt(e){return Gt(e,!1)}function Xt(e,t){var n,r=Mt&&e.markedSpans;if(r)for(var i=0;i<r.length;++i){var o=r[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!n||Kt(n,o.marker)<0)&&(n=o.marker)}return n}function Zt(e,t,n,r,i){var o=Ze(e,t),a=Mt&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var u=l.marker.find(0),c=ot(u.from,n)||Ht(l.marker)-Ht(i),d=ot(u.to,r)||Ut(l.marker)-Ut(i);if(!(c>=0&&d<=0||c<=0&&d>=0)&&(c<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.to,n)>=0:ot(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(u.from,r)<=0:ot(u.from,r)<0)))return!0}}}function Qt(e){var t;while(t=qt(e))e=t.find(-1,!0).line;return e}function $t(e){var t;while(t=Yt(e))e=t.find(1,!0).line;return e}function Jt(e){var t,n;while(t=Yt(e))e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function en(e,t){var n=Ze(e,t),r=Qt(n);return n==r?t:et(r)}function tn(e,t){if(t>e.lastLine())return t;var n,r=Ze(e,t);if(!nn(e,r))return t;while(n=Yt(r))r=n.find(1,!0).line;return et(r)+1}function nn(e,t){var n=Mt&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if(r=n[i],r.marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&rn(e,t,r))return!0}}function rn(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return rn(e,r.line,Tt(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&rn(e,t,i))return!0}function on(e){e=Qt(e);for(var t=0,n=e.parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function an(e){if(0==e.height)return 0;var t,n=e.text.length,r=e;while(t=qt(r)){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}r=e;while(t=Yt(r)){var o=t.find(0,!0);n-=r.text.length-o.from.ch,r=o.to.line,n+=r.text.length-o.to.ch}return n}function sn(e){var t=e.display,n=e.doc;t.maxLine=Ze(n,n.first),t.maxLineLength=an(t.maxLine),t.maxLineChanged=!0,n.iter((function(e){var n=an(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var ln=function(e,t,n){this.text=e,Wt(this,t),this.height=n?n(this):1};function un(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),zt(e),Wt(e,n);var i=r?r(e):1;i!=e.height&&Je(e,i)}function cn(e){e.parent=null,zt(e)}ln.prototype.lineNo=function(){return et(this)},we(ln);var dn={},hn={};function fn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?hn:dn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function pn(e,t){var n=N("span",null,null,l?"padding-right: .1px":null),r={pre:N("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;r.pos=0,r.addToken=mn,Ie(e.display.measure)&&(a=he(o,e.doc.direction))&&(r.addToken=yn(r.addToken,a)),r.map=[];var s=t!=e.display.externalMeasured&&et(o);_n(o,r,vt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=P(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=P(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Le(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var u=r.content.lastChild;(/\bcm-tab\b/.test(u.className)||u.querySelector&&u.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ve(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=P(r.pre.className,r.textClass||"")),r}function gn(e){var t=M("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function mn(e,t,n,r,i,o,l){if(t){var u,c=e.splitSpaces?vn(t,e.trailingSpace):t,d=e.cm.state.specialChars,h=!1;if(d.test(t)){u=document.createDocumentFragment();var f=0;while(1){d.lastIndex=f;var p=d.exec(t),g=p?p.index-f:t.length-f;if(g){var m=document.createTextNode(c.slice(f,f+g));a&&s<9?u.appendChild(M("span",[m])):u.appendChild(m),e.map.push(e.pos,e.pos+g,m),e.col+=g,e.pos+=g}if(!p)break;f+=g+1;var v=void 0;if("\t"==p[0]){var y=e.cm.options.tabSize,b=y-e.col%y;v=u.appendChild(M("span",Y(b),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=b}else"\r"==p[0]||"\n"==p[0]?(v=u.appendChild(M("span","\r"==p[0]?"\u240d":"\u2424","cm-invalidchar")),v.setAttribute("cm-text",p[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(p[0]),v.setAttribute("cm-text",p[0]),a&&s<9?u.appendChild(M("span",[v])):u.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||i||h||o){var _=n||"";r&&(_+=r),i&&(_+=i);var w=M("span",[u],_,o);if(l)for(var x in l)l.hasOwnProperty(x)&&"style"!=x&&"class"!=x&&w.setAttribute(x,l[x]);return e.content.appendChild(w)}e.content.appendChild(u)}}function vn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o="\xa0"),r+=o,n=" "==o}return r}function yn(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+r.length;;){for(var d=void 0,h=0;h<t.length;h++)if(d=t[h],d.to>u&&d.from<=u)break;if(d.to>=c)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-u),i,o,null,s,l),o=null,r=r.slice(d.to-u),u=d.to}}}function bn(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function _n(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(r)for(var a,s,l,u,c,d,h,f=i.length,p=0,g=1,m="",v=0;;){if(v==p){l=u=c=s="",h=null,d=null,v=1/0;for(var y=[],b=void 0,_=0;_<r.length;++_){var w=r[_],x=w.marker;if("bookmark"==x.type&&w.from==p&&x.widgetNode)y.push(x);else if(w.from<=p&&(null==w.to||w.to>p||x.collapsed&&w.to==p&&w.from==p)){if(null!=w.to&&w.to!=p&&v>w.to&&(v=w.to,u=""),x.className&&(l+=" "+x.className),x.css&&(s=(s?s+";":"")+x.css),x.startStyle&&w.from==p&&(c+=" "+x.startStyle),x.endStyle&&w.to==v&&(b||(b=[])).push(x.endStyle,w.to),x.title&&((h||(h={})).title=x.title),x.attributes)for(var C in x.attributes)(h||(h={}))[C]=x.attributes[C];x.collapsed&&(!d||Kt(d.marker,x)<0)&&(d=w)}else w.from>p&&v>w.from&&(v=w.from)}if(b)for(var S=0;S<b.length;S+=2)b[S+1]==v&&(u+=" "+b[S]);if(!d||d.from==p)for(var O=0;O<y.length;++O)bn(t,0,y[O]);if(d&&(d.from||0)==p){if(bn(t,(null==d.to?f+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=f)break;var k=Math.min(f,v);while(1){if(m){var E=p+m.length;if(!d){var D=E>k?m.slice(0,k-p):m;t.addToken(t,D,a?a+l:l,c,p+D.length==v?u:"",s,h)}if(E>=k){m=m.slice(k-p),p=k;break}p=E,c=""}m=i.slice(o,o=n[g++]),a=fn(n[g++],t.cm.options)}}else for(var M=1;M<n.length;M+=2)t.addToken(t,i.slice(o,o=n[M]),fn(n[M+1],t.cm.options))}function wn(e,t,n){this.line=t,this.rest=Jt(t),this.size=this.rest?et(X(this.rest))-n+1:1,this.node=this.text=null,this.hidden=nn(e,t)}function xn(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new wn(e.doc,Ze(e.doc,o),o);r=o+a.size,i.push(a)}return i}var Cn=null;function Sn(e){Cn?Cn.ops.push(e):e.ownsGroup=Cn={ops:[e],delayedCallbacks:[]}}function On(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}function kn(e,t){var n=e.ownsGroup;if(n)try{On(n)}finally{Cn=null,t(n)}}var En=null;function Dn(e,t){var n=ge(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);Cn?r=Cn.delayedCallbacks:En?r=En:(r=En=[],setTimeout(Mn,0));for(var o=function(e){r.push((function(){return n[e].apply(null,i)}))},a=0;a<n.length;++a)o(a)}}function Mn(){var e=En;En=null;for(var t=0;t<e.length;++t)e[t]()}function Nn(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Pn(e,t):"gutter"==o?Rn(e,t,n,r):"class"==o?An(e,t):"widget"==o&&jn(e,t,r)}t.changes=null}function Ln(e){return e.node==e.text&&(e.node=M("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function In(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=Ln(t);t.background=r.insertBefore(M("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}function Tn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):pn(e,t)}function Pn(e,t){var n=t.text.className,r=Tn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,An(e,t)):n&&(t.text.className=n)}function An(e,t){In(e,t),t.line.wrapClass?Ln(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function Rn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Ln(t);t.gutterBackground=M("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Ln(t),s=t.gutter=M("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(M("div",rt(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var u=e.display.gutterSpecs[l].className,c=o.hasOwnProperty(u)&&o[u];c&&s.appendChild(M("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[u]+"px; width: "+r.gutterWidth[u]+"px"))}}}function jn(e,t,n){t.alignable&&(t.alignable=null);for(var r=S("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,r.test(i.className)&&t.node.removeChild(i);Bn(e,t,n)}function Fn(e,t,n,r){var i=Tn(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),An(e,t),Rn(e,t,n,r),Bn(e,t,r),t.node}function Bn(e,t,n){if(Vn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)Vn(e,t.rest[r],t,n,!1)}function Vn(e,t,n,r,i){if(t.widgets)for(var o=Ln(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],u=M("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),zn(l,u,n,r),e.display.input.setUneditable(u),i&&l.above?o.insertBefore(u,n.gutter||n.text):o.appendChild(u),Dn(l,"redraw")}}function zn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function Wn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!L(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),D(t.display.measure,M("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function Hn(e,t){for(var n=ke(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function Un(e){return e.lineSpace.offsetTop}function Kn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Gn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=D(e.measure,M("pre","x","CodeMirror-line-like")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function qn(e){return z-e.display.nativeBarWidth}function Yn(e){return e.display.scroller.clientWidth-qn(e)-e.display.barWidth}function Xn(e){return e.display.scroller.clientHeight-qn(e)-e.display.barHeight}function Zn(e,t,n){var r=e.options.lineWrapping,i=r&&Yn(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],u=a[s+1];Math.abs(l.bottom-u.bottom)>2&&o.push((l.bottom+u.top)/2-n.top)}}o.push(n.bottom-n.top)}}function Qn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(et(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function $n(e,t){t=Qt(t);var n=et(t),r=e.display.externalMeasured=new wn(e.doc,t,n);r.lineN=n;var i=r.built=pn(e,r);return r.text=i.pre,D(e.display.lineMeasure,i.pre),r}function Jn(e,t,n,r){return nr(e,tr(e,t),n,r)}function er(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Ar(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function tr(e,t){var n=et(t),r=er(e,n);r&&!r.text?r=null:r&&r.changes&&(Nn(e,r,n,Nr(e)),e.curOp.forceUpdate=!0),r||(r=$n(e,t));var i=Qn(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function nr(e,t,n,r,i){t.before&&(n=-1);var o,a=n+(r||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Zn(e,t.view,t.rect),t.hasHeights=!0),o=sr(e,t,n,r),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var rr,ir={left:0,right:0,top:0,bottom:0};function or(e,t,n){for(var r,i,o,a,s,l,u=0;u<e.length;u+=3)if(s=e[u],l=e[u+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(u==e.length-3||t==l&&e[u+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(r=e[u+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)while(u&&e[u-2]==e[u-3]&&e[u-1].insertLeft)r=e[2+(u-=3)],a="left";if("right"==n&&i==l-s)while(u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft)r=e[(u+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function ar(e,t){var n=ir;if("left"==t){for(var r=0;r<e.length;r++)if((n=e[r]).left!=n.right)break}else for(var i=e.length-1;i>=0;i--)if((n=e[i]).left!=n.right)break;return n}function sr(e,t,n,r){var i,o=or(t.map,n,r),l=o.node,u=o.start,c=o.end,d=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){while(u&&oe(t.line.text.charAt(o.coverStart+u)))--u;while(o.coverStart+c<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+c)))++c;if(i=a&&s<9&&0==u&&c==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():ar(O(l,u,c).getClientRects(),r),i.left||i.right||0==u)break;c=u,u-=1,d="right"}a&&s<11&&(i=lr(e.display.measure,i))}else{var f;u>0&&(d=r="right"),i=e.options.lineWrapping&&(f=l.getClientRects()).length>1?f["right"==r?f.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!i||!i.left&&!i.right)){var p=l.parentNode.getClientRects()[0];i=p?{left:p.left,right:p.left+Mr(e.display),top:p.top,bottom:p.bottom}:ir}for(var g=i.top-t.rect.top,m=i.bottom-t.rect.top,v=(g+m)/2,y=t.view.measure.heights,b=0;b<y.length-1;b++)if(v<y[b])break;var _=b?y[b-1]:0,w=y[b],x={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:_,bottom:w};return i.left||i.right||(x.bogus=!0),e.options.singleCursorHeightPerLine||(x.rtop=g,x.rbottom=m),x}function lr(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!je(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}function ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function cr(e){e.display.externalMeasure=null,E(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)ur(e.display.view[t])}function dr(e){cr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function hr(){return c&&m?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function fr(){return c&&m?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function pr(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=Wn(e.widgets[n]));return t}function gr(e,t,n,r,i){if(!i){var o=pr(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=on(t);if("local"==r?a+=Un(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:fr());var l=s.left+("window"==r?0:hr());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function mr(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=hr(),i-=fr();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function vr(e,t,n,r,i){return r||(r=Ze(e.doc,t.line)),gr(e,r,Jn(e,r,t.ch,i),n)}function yr(e,t,n,r,i,o){function a(t,a){var s=nr(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,gr(e,r,s,n)}r=r||Ze(e.doc,t.line),i||(i=tr(e,r));var s=he(r,e.doc.direction),l=t.ch,u=t.sticky;if(l>=r.text.length?(l=r.text.length,u="before"):l<=0&&(l=0,u="after"),!s)return a("before"==u?l-1:l,"before"==u);function c(e,t,n){var r=s[t],i=1==r.level;return a(n?e-1:e,i!=n)}var d=ce(s,l,u),h=ue,f=c(l,d,"before"==u);return null!=h&&(f.other=c(l,h,"before"!=u)),f}function br(e,t){var n=0;t=dt(e.doc,t),e.options.lineWrapping||(n=Mr(e.display)*t.ch);var r=Ze(e.doc,t.line),i=on(r)+Un(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function _r(e,t,n,r,i){var o=it(e,t,n);return o.xRel=i,r&&(o.outside=r),o}function wr(e,t,n){var r=e.doc;if(n+=e.display.viewOffset,n<0)return _r(r.first,0,null,-1,-1);var i=tt(r,n),o=r.first+r.size-1;if(i>o)return _r(r.first+r.size-1,Ze(r,o).text.length,null,1,1);t<0&&(t=0);for(var a=Ze(r,i);;){var s=Or(e,a,i,t,n),l=Xt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var u=l.find(1);if(u.line==i)return u;a=Ze(r,i=u.line)}}function xr(e,t,n,r){r-=pr(t);var i=t.text.length,o=se((function(t){return nr(e,n,t-1).bottom<=r}),i,0);return i=se((function(t){return nr(e,n,t).top>r}),o,i),{begin:o,end:i}}function Cr(e,t,n,r){n||(n=tr(e,t));var i=gr(e,t,nr(e,n,r),"line").top;return xr(e,t,n,i)}function Sr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Or(e,t,n,r,i){i-=on(t);var o=tr(e,t),a=pr(t),s=0,l=t.text.length,u=!0,c=he(t,e.doc.direction);if(c){var d=(e.options.lineWrapping?Er:kr)(e,t,n,o,c,r,i);u=1!=d.level,s=u?d.from:d.to-1,l=u?d.to:d.from-1}var h,f,p=null,g=null,m=se((function(t){var n=nr(e,o,t);return n.top+=a,n.bottom+=a,!!Sr(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(p=t,g=n),!0)}),s,l),v=!1;if(g){var y=r-g.left<g.right-r,b=y==u;m=p+(b?0:1),f=b?"after":"before",h=y?g.left:g.right}else{u||m!=l&&m!=s||m++,f=0==m?"after":m==t.text.length?"before":nr(e,o,m-(u?1:0)).bottom+a<=i==u?"after":"before";var _=yr(e,it(n,m,f),"line",t,o);h=_.left,v=i<_.top?-1:i>=_.bottom?1:0}return m=ae(t.text,m,1),_r(n,m,f,v,r-h)}function kr(e,t,n,r,i,o,a){var s=se((function(s){var l=i[s],u=1!=l.level;return Sr(yr(e,it(n,u?l.to:l.from,u?"before":"after"),"line",t,r),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var u=1!=l.level,c=yr(e,it(n,u?l.from:l.to,u?"after":"before"),"line",t,r);Sr(c,o,a,!0)&&c.top>a&&(l=i[s-1])}return l}function Er(e,t,n,r,i,o,a){var s=xr(e,t,r,a),l=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,d=null,h=0;h<i.length;h++){var f=i[h];if(!(f.from>=u||f.to<=l)){var p=1!=f.level,g=nr(e,r,p?Math.min(u,f.to)-1:Math.max(l,f.from)).right,m=g<o?o-g+1e9:g-o;(!c||d>m)&&(c=f,d=m)}}return c||(c=i[i.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}function Dr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rr){rr=M("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rr.appendChild(document.createTextNode("x")),rr.appendChild(M("br"));rr.appendChild(document.createTextNode("x"))}D(e.measure,rr);var n=rr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),E(e.measure),n||1}function Mr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=M("span","xxxxxxxxxx"),n=M("pre",[t],"CodeMirror-line-like");D(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Nr(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;n[s]=o.offsetLeft+o.clientLeft+i,r[s]=o.clientWidth}return{fixedPos:Lr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Lr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Ir(e){var t=Dr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Mr(e.display)-3);return function(i){if(nn(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function Tr(e){var t=e.doc,n=Ir(e);t.iter((function(e){var t=n(e);t!=e.height&&Je(e,t)}))}function Pr(e,t,n,r){var i=e.display;if(!n&&"true"==ke(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(d){return null}var l,u=wr(e,o,a);if(r&&u.xRel>0&&(l=Ze(e.doc,u.line).text).length==u.ch){var c=F(l,l.length,e.options.tabSize)-l.length;u=it(u.line,Math.max(0,Math.round((o-Gn(e.display).left)/Mr(e.display))-c))}return u}function Ar(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if(t-=n[r].size,t<0)return r}function Rr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Mt&&en(e.doc,t)<i.viewTo&&Fr(e);else if(n<=i.viewFrom)Mt&&tn(e.doc,n+r)>i.viewFrom?Fr(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)Fr(e);else if(t<=i.viewFrom){var o=Br(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):Fr(e)}else if(n>=i.viewTo){var a=Br(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Fr(e)}else{var s=Br(e,t,t,-1),l=Br(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(xn(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):Fr(e)}var u=i.externalMeasured;u&&(n<u.lineN?u.lineN+=r:t<u.lineN+u.size&&(i.externalMeasured=null))}function jr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[Ar(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==V(a,n)&&a.push(n)}}}function Fr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Br(e,t,n,r){var i,o=Ar(e,t),a=e.display.view;if(!Mt||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}while(en(e.doc,n)!=n){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function Vr(e,t,n){var r=e.display,i=r.view;0==i.length||t>=r.viewTo||n<=r.viewFrom?(r.view=xn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=xn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(Ar(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(xn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,Ar(e,n)))),r.viewTo=n}function zr(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function Wr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Hr(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Ur(e,s.head,i),l||Gr(e,s,o)}}return r}function Ur(e,t,n){var r=yr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(M("div","\xa0","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(M("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Kr(e,t){return e.top-t.top||e.left-t.left}function Gr(e,t,n){var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=Gn(e.display),s=a.left,l=Math.max(r.sizerWidth,Yn(e)-r.sizer.offsetLeft)-a.right,u="ltr"==i.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(M("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function d(t,n,r){var o,a,d=Ze(i,t),h=d.text.length;function f(n,r){return vr(e,it(t,n),"div",d,r)}function p(t,n,r){var i=Cr(e,d,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(d.text.charAt(i.end-1))?2:1);return f(a,o)[o]}var g=he(d,i.direction);return le(g,n||0,null==r?h:r,(function(e,t,i,d){var m="ltr"==i,v=f(e,m?"left":"right"),y=f(t-1,m?"right":"left"),b=null==n&&0==e,_=null==r&&t==h,w=0==d,x=!g||d==g.length-1;if(y.top-v.top<=3){var C=(u?b:_)&&w,S=(u?_:b)&&x,O=C?s:(m?v:y).left,k=S?l:(m?y:v).right;c(O,v.top,k-O,v.bottom)}else{var E,D,M,N;m?(E=u&&b&&w?s:v.left,D=u?l:p(e,i,"before"),M=u?s:p(t,i,"after"),N=u&&_&&x?l:y.right):(E=u?p(e,i,"before"):s,D=!u&&b&&w?l:v.right,M=!u&&_&&x?s:y.left,N=u?p(t,i,"after"):l),c(E,v.top,D-E,v.bottom),v.bottom<y.top&&c(s,v.bottom,null,y.top),c(M,y.top,N-M,y.bottom)}(!o||Kr(v,o)<0)&&(o=v),Kr(y,o)<0&&(o=y),(!a||Kr(v,a)<0)&&(a=v),Kr(y,a)<0&&(a=y)})),{start:o,end:a}}var h=t.from(),f=t.to();if(h.line==f.line)d(h.line,h.ch,f.ch);else{var p=Ze(i,h.line),g=Ze(i,f.line),m=Qt(p)==Qt(g),v=d(h.line,h.ch,m?p.text.length+1:null).end,y=d(f.line,m?0:null,f.ch).start;m&&(v.top<y.top-2?(c(v.right,v.top,null,v.bottom),c(s,y.top,y.left,y.bottom)):c(v.right,v.top,y.left-v.right,v.bottom)),v.bottom<y.top&&c(s,v.bottom,null,y.top)}n.appendChild(o)}function qr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Yr(e){e.state.focused||(e.display.input.focus(),Zr(e))}function Xr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Qr(e))}),100)}function Zr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ve(e,"focus",e,t),e.state.focused=!0,T(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),qr(e))}function Qr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ve(e,"blur",e,t),e.state.focused=!1,k(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function $r(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=e.options.lineWrapping,l=void 0,u=0;if(!i.hidden){if(a&&s<8){var c=i.node.offsetTop+i.node.offsetHeight;l=c-n,n=c}else{var d=i.node.getBoundingClientRect();l=d.bottom-d.top,!o&&i.text.firstChild&&(u=i.text.firstChild.getBoundingClientRect().right-d.left-1)}var h=i.line.height-l;if((h>.005||h<-.005)&&(Je(i.line,l),Jr(i.line),i.rest))for(var f=0;f<i.rest.length;f++)Jr(i.rest[f]);if(u>e.display.sizerWidth){var p=Math.ceil(u/Mr(e.display));p>e.display.maxLineLength&&(e.display.maxLineLength=p,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Jr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function ei(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-Un(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=tt(t,r),a=tt(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=tt(t,on(Ze(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=tt(t,on(Ze(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!ye(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!p){var o=M("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Un(e.display))+"px;\n height: "+(t.bottom-t.top+qn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ni(e,t,n,r){var i;null==r&&(r=0),e.options.lineWrapping||t!=n||(t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?it(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=yr(e,t),l=n&&n!=t?yr(e,n):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var u=ii(e,i),c=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=u.scrollTop&&(di(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(fi(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}function ri(e,t){var n=ii(e,t);null!=n.scrollTop&&di(e,n.scrollTop),null!=n.scrollLeft&&fi(e,n.scrollLeft)}function ii(e,t){var n=e.display,r=Dr(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=Xn(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Kn(n),l=t.top<r,u=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var c=Math.min(t.top,(u?s:t.bottom)-o);c!=i&&(a.scrollTop=c)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,h=Yn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),f=t.right-t.left>h;return f&&(t.right=t.left+h),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(f?0:10)):t.right>h+d-3&&(a.scrollLeft=t.right+(f?0:10)-h),a}function oi(e,t){null!=t&&(ui(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ui(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,n){null==t&&null==n||ui(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function li(e,t){ui(e),e.curOp.scrollToPos=t}function ui(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=br(e,t.from),r=br(e,t.to);ci(e,n,r,t.margin)}}function ci(e,t,n,r){var i=ii(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});si(e,i.scrollLeft,i.scrollTop)}function di(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Wi(e,{top:t}),hi(e,t,!0),n&&Wi(e),Pi(e,100))}function hi(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function fi(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,Gi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function pi(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Kn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+qn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var gi=function(e,t,n){this.cm=n;var r=this.vert=M("div",[M("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=M("div",[M("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=i.tabIndex=-1,e(r),e(i),pe(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),pe(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};gi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},gi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},gi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},gi.prototype.zeroWidthHack=function(){var e=y&&!f?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new B,this.disableVert=new B},gi.prototype.enableZeroWidthBar=function(e,t,n){function r(){var i=e.getBoundingClientRect(),o="vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},gi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var mi=function(){};function vi(e,t){t||(t=pi(e));var n=e.display.barWidth,r=e.display.barHeight;yi(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&$r(e),yi(e,pi(e)),n=e.display.barWidth,r=e.display.barHeight}function yi(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}mi.prototype.update=function(){return{bottom:0,right:0}},mi.prototype.setScrollLeft=function(){},mi.prototype.setScrollTop=function(){},mi.prototype.clear=function(){};var bi={native:gi,null:mi};function _i(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),pe(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?fi(e,t):di(e,t)}),e),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)}var wi=0;function xi(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++wi},Sn(e.curOp)}function Ci(e){var t=e.curOp;t&&kn(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Si(e)}))}function Si(e){for(var t=e.ops,n=0;n<t.length;n++)Oi(t[n]);for(var r=0;r<t.length;r++)ki(t[r]);for(var i=0;i<t.length;i++)Ei(t[i]);for(var o=0;o<t.length;o++)Di(t[o]);for(var a=0;a<t.length;a++)Mi(t[a])}function Oi(e){var t=e.cm,n=t.display;ji(t),e.updateMaxLine&&sn(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Ri(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ki(e){e.updatedDisplay=e.mustUpdate&&Vi(e.cm,e.update)}function Ei(e){var t=e.cm,n=t.display;e.updatedDisplay&&$r(t),e.barMeasure=pi(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Jn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+qn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Yn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function Di(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&fi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==I();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&vi(t,e.barMeasure),e.updatedDisplay&&Ki(t,e.barMeasure),e.selectionChanged&&qr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&Yr(e.cm)}function Mi(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&zi(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&hi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&fi(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=ni(t,dt(r,e.scrollToPos.from),dt(r,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||ve(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&ve(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ve(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ni(e,t){if(e.curOp)return t();xi(e);try{return t()}finally{Ci(e)}}function Li(e,t){return function(){if(e.curOp)return t.apply(e,arguments);xi(e);try{return t.apply(e,arguments)}finally{Ci(e)}}}function Ii(e){return function(){if(this.curOp)return e.apply(this,arguments);xi(this);try{return e.apply(this,arguments)}finally{Ci(this)}}}function Ti(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);xi(t);try{return e.apply(this,arguments)}finally{Ci(t)}}}function Pi(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,R(Ai,e))}function Ai(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=yt(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?Ge(t.mode,r.state):null,l=mt(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var u=o.styleClasses,c=l.classes;c?o.styleClasses=c:u&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),h=0;!d&&h<a.length;++h)d=a[h]!=o.styles[h];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&bt(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return Pi(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&Ni(e,(function(){for(var t=0;t<i.length;t++)jr(e,i[t],"text")}))}}var Ri=function(e,t,n){var r=e.display;this.viewport=t,this.visible=ei(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Yn(e),this.force=n,this.dims=Nr(e),this.events=[]};function ji(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=qn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=qn(e)+"px",t.scrollbarsClipped=!0)}function Fi(e){if(e.hasFocus())return null;var t=I();if(!t||!L(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&L(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}function Bi(e){if(e&&e.activeElt&&e.activeElt!=I()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&L(document.body,e.anchorNode)&&L(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}function Vi(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Fr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==zr(e))return!1;qi(e)&&(Fr(e),t.dims=Nr(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),Mt&&(o=en(e.doc,o),a=tn(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Vr(e,o,a),n.viewOffset=on(Ze(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var l=zr(e);if(!s&&0==l&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=Fi(e);return l>4&&(n.lineDiv.style.display="none"),Hi(e,n.updateLineNumbers,t.dims),l>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Bi(u),E(n.cursorDiv),E(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Pi(e,400)),n.updateLineNumbers=null,!0}function zi(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Yn(e))r&&(t.visible=ei(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Kn(e.display)-Xn(e),n.top)}),t.visible=ei(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Vi(e,t))break;$r(e);var i=pi(e);Wr(e),vi(e,i),Ki(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Wi(e,t){var n=new Ri(e,t);if(Vi(e,n)){$r(e),zi(e,n);var r=pi(e);Wr(e),vi(e,r),Ki(e,r),n.finish()}}function Hi(e,t,n){var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;function s(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,d=0;d<u.length;d++){var h=u[d];if(h.hidden);else if(h.node&&h.node.parentNode==o){while(a!=h.node)a=s(a);var f=i&&null!=t&&t<=c&&h.lineNumber;h.changes&&(V(h.changes,"gutter")>-1&&(f=!1),Nn(e,h,c,n)),f&&(E(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(rt(e.options,c)))),a=h.node.nextSibling}else{var p=Fn(e,h,c,n);o.insertBefore(p,a)}c+=h.size}while(a)a=s(a)}function Ui(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Ki(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+qn(e)+"px"}function Gi(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Lr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function qi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=rt(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(M("div",[M("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",Ui(e.display),!0}return!1}function Yi(e,t){for(var n=[],r=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;r=!0}n.push({className:o,style:a})}return t&&!r&&n.push({className:"CodeMirror-linenumbers",style:null}),n}function Xi(e){var t=e.gutters,n=e.gutterSpecs;E(t),e.lineGutter=null;for(var r=0;r<n.length;++r){var i=n[r],o=i.className,a=i.style,s=t.appendChild(M("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=n.length?"":"none",Ui(e)}function Zi(e){Xi(e.display),Rr(e),Gi(e)}function Qi(e,t,r,i){var o=this;this.input=r,o.scrollbarFiller=M("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=M("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=N("div",null,"CodeMirror-code"),o.selectionDiv=M("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=M("div",null,"CodeMirror-cursors"),o.measure=M("div",null,"CodeMirror-measure"),o.lineMeasure=M("div",null,"CodeMirror-measure"),o.lineSpace=N("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var u=N("div",[o.lineSpace],"CodeMirror-lines");o.mover=M("div",[u],null,"position: relative"),o.sizer=M("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=M("div",null,null,"position: absolute; height: "+z+"px; width: 1px;"),o.gutters=M("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=M("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=M("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Yi(i.gutters,i.lineNumbers),Xi(o),r.init(o)}Ri.prototype.signal=function(e,t){_e(e,t)&&this.events.push(arguments)},Ri.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ve.apply(null,this.events[e])};var $i=0,Ji=null;function eo(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function to(e){var t=eo(e);return t.x*=Ji,t.y*=Ji,t}function no(e,t){var r=eo(t),i=r.x,o=r.y,a=e.display,s=a.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(i&&u||o&&c){if(o&&y&&l)e:for(var h=t.target,f=a.view;h!=s;h=h.parentNode)for(var p=0;p<f.length;p++)if(f[p].node==h){e.display.currentWheelTarget=h;break e}if(i&&!n&&!d&&null!=Ji)return o&&c&&di(e,Math.max(0,s.scrollTop+o*Ji)),fi(e,Math.max(0,s.scrollLeft+i*Ji)),(!o||o&&c)&&xe(t),void(a.wheelStartX=null);if(o&&null!=Ji){var g=o*Ji,m=e.doc.scrollTop,v=m+a.wrapper.clientHeight;g<0?m=Math.max(0,m+g-50):v=Math.min(e.doc.height,v+g+50),Wi(e,{top:m,bottom:v})}$i<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(Ji=(Ji*$i+n)/($i+1),++$i)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?Ji=-.53:n?Ji=15:c?Ji=-.7:h&&(Ji=-1/3);var ro=function(e,t){this.ranges=e,this.primIndex=t};ro.prototype.primary=function(){return this.ranges[this.primIndex]},ro.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!at(n.anchor,r.anchor)||!at(n.head,r.head))return!1}return!0},ro.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new io(st(this.ranges[t].anchor),st(this.ranges[t].head));return new ro(e,this.primIndex)},ro.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ro.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(ot(t,r.from())>=0&&ot(e,r.to())<=0)return n}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,n){var r=e&&e.options.selectionsMayTouch,i=t[n];t.sort((function(e,t){return ot(e.from(),t.from())})),n=V(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=ot(s.to(),a.from());if(r&&!a.empty()?l>0:l>=0){var u=ut(s.from(),a.from()),c=lt(s.to(),a.to()),d=s.empty()?a.from()==a.head:s.from()==s.head;o<=n&&--n,t.splice(--o,2,new io(d?c:u,d?u:c))}}return new ro(t,n)}function ao(e,t){return new ro([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,X(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function lo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=so(t).ch-t.to.ch),it(n,r)}function uo(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new io(lo(i.anchor,t),lo(i.head,t)))}return oo(e.cm,n,e.sel.primIndex)}function co(e,t,n){return e.line==t.line?it(n.line,e.ch-t.ch+n.ch):it(n.line+(e.line-t.line),e.ch)}function ho(e,t,n){for(var r=[],i=it(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=co(s.from,i,o),u=co(so(s),i,o);if(i=s.to,o=u,"around"==n){var c=e.sel.ranges[a],d=ot(c.head,c.anchor)<0;r[a]=new io(d?u:l,d?l:u)}else r[a]=new io(l,l)}return new ro(r,e.sel.primIndex)}function fo(e){e.doc.mode=He(e.options,e.doc.modeOption),po(e)}function po(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Pi(e,100),e.state.modeGen++,e.curOp&&Rr(e)}function go(e,t){return 0==t.from.ch&&0==t.to.ch&&""==X(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function mo(e,t,n,r){function i(e){return n?n[e]:null}function o(e,n,i){un(e,n,i,r),Dn(e,"change",e,t)}function a(e,t){for(var n=[],o=e;o<t;++o)n.push(new ln(u[o],i(o),r));return n}var s=t.from,l=t.to,u=t.text,c=Ze(e,s.line),d=Ze(e,l.line),h=X(u),f=i(u.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(go(e,t)){var g=a(0,u.length-1);o(d,d.text,f),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(c==d)if(1==u.length)o(c,c.text.slice(0,s.ch)+h+c.text.slice(l.ch),f);else{var m=a(1,u.length-1);m.push(new ln(h+c.text.slice(l.ch),f,r)),o(c,c.text.slice(0,s.ch)+u[0],i(0)),e.insert(s.line+1,m)}else if(1==u.length)o(c,c.text.slice(0,s.ch)+u[0]+d.text.slice(l.ch),i(0)),e.remove(s.line+1,p);else{o(c,c.text.slice(0,s.ch)+u[0],i(0)),o(d,h+d.text.slice(l.ch),f);var v=a(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}Dn(e,"change",e,t)}function vo(e,t,n){function r(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;n&&!l||(t(s.doc,l),r(s.doc,e,l))}}}r(e,null,!0)}function yo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Tr(e),fo(e),bo(e),e.options.lineWrapping||sn(e),e.options.mode=t.modeOption,Rr(e)}function bo(e){("rtl"==e.doc.direction?T:k)(e.display.lineDiv,"CodeMirror-rtl")}function _o(e){Ni(e,(function(){bo(e),Rr(e)}))}function wo(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function xo(e,t){var n={from:st(t.from),to:so(t),text:Qe(e,t.from,t.to)};return Mo(e,n,t.from.line,t.to.line+1),vo(e,(function(e){return Mo(e,n,t.from.line,t.to.line+1)}),!0),n}function Co(e){while(e.length){var t=X(e);if(!t.ranges)break;e.pop()}}function So(e,t){return t?(Co(e.done),X(e.done)):e.done.length&&!X(e.done).ranges?X(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),X(e.done)):void 0}function Oo(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=So(i,i.lastOp==r)))a=X(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(xo(e,t));else{var l=X(i.done);l&&l.ranges||Do(e.sel,i.done),o={changes:[xo(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||ve(e,"historyAdded")}function ko(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Eo(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||ko(e,o,X(i.done),t))?i.done[i.done.length-1]=t:Do(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&Co(i.undone)}function Do(e,t){var n=X(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Mo(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o}))}function No(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function Lo(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(No(n[i]));return r}function Io(e,t){var n=Lo(e,t),r=Ft(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],u=0;u<o.length;++u)if(o[u].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function To(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?ro.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var u=a[l],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var d in u)(c=d.match(/^spans_(\d+)$/))&&V(t,Number(c[1]))>-1&&(X(s)[d]=u[d],delete u[d])}}}return r}function Po(e,t,n,r){if(r){var i=e.anchor;if(n){var o=ot(t,i)<0;o!=ot(n,i)<0?(i=t,t=n):o!=ot(t,n)<0&&(t=n)}return new io(i,t)}return new io(n||t,t)}function Ao(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),zo(e,new ro([Po(e.sel.primary(),t,n,i)],0),r)}function Ro(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=Po(e.sel.ranges[o],t[o],null,i);var a=oo(e.cm,r,e.sel.primIndex);zo(e,a,n)}function jo(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,zo(e,oo(e.cm,i,e.sel.primIndex),r)}function Fo(e,t,n,r){zo(e,ao(t,n),r)}function Bo(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new io(dt(e,t[n].anchor),dt(e,t[n].head))},origin:n&&n.origin};return ve(e,"beforeSelectionChange",e,r),e.cm&&ve(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?oo(e.cm,r.ranges,r.ranges.length-1):t}function Vo(e,t,n){var r=e.history.done,i=X(r);i&&i.ranges?(r[r.length-1]=t,Wo(e,t,n)):zo(e,t,n)}function zo(e,t,n){Wo(e,t,n),Eo(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Wo(e,t,n){(_e(e,"beforeSelectionChange")||e.cm&&_e(e.cm,"beforeSelectionChange"))&&(t=Bo(e,t,n));var r=n&&n.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Ho(e,Ko(e,t,r,!0)),n&&!1===n.scroll||!e.cm||ai(e.cm)}function Ho(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),Dn(e,"cursorActivity",e))}function Uo(e){Ho(e,Ko(e,e.sel,null,!1))}function Ko(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=qo(e,a.anchor,s&&s.anchor,n,r),u=qo(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||u!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new io(l,u))}return i?oo(e.cm,i,t.primIndex):t}function Go(e,t,n,r,i){var o=Ze(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,u="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,c="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(u?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(c?s.to>=t.ch:s.to>t.ch))){if(i&&(ve(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var d=l.find(r<0?1:-1),h=void 0;if((r<0?c:u)&&(d=Yo(e,d,-r,d&&d.line==t.line?o:null)),d&&d.line==t.line&&(h=ot(d,n))&&(r<0?h<0:h>0))return Go(e,d,t,r,i)}var f=l.find(r<0?-1:1);return(r<0?u:c)&&(f=Yo(e,f,r,f.line==t.line?o:null)),f?Go(e,f,t,r,i):null}}return t}function qo(e,t,n,r,i){var o=r||1,a=Go(e,t,n,o,i)||!i&&Go(e,t,n,o,!0)||Go(e,t,n,-o,i)||!i&&Go(e,t,n,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Yo(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?dt(e,it(t.line-1)):null:n>0&&t.ch==(r||Ze(e,t.line)).text.length?t.line<e.first+e.size-1?it(t.line+1,0):null:new it(t.line,t.ch+n)}function Xo(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),H)}function Zo(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=dt(e,t)),n&&(r.to=dt(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),ve(e,"beforeChange",e,r),e.cm&&ve(e.cm,"beforeChange",e.cm,r),r.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:r.from,to:r.to,text:r.text,origin:r.origin}}function Qo(e,t,n){if(e.cm){if(!e.cm.curOp)return Li(e.cm,Qo)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(_e(e,"beforeChange")||e.cm&&_e(e.cm,"beforeChange"))||(t=Zo(e,t,!0),t)){var r=Dt&&!n&&Vt(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)$o(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else $o(e,t)}}function $o(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var n=uo(e,t);Oo(e,t,n,e.cm?e.cm.curOp.id:NaN),ta(e,t,n,Ft(e,t));var r=[];vo(e,(function(e,n){n||-1!=V(r,e.history)||(aa(e.history,t),r.push(e.history)),ta(e,t,null,Ft(e,t))}))}}function Jo(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,u=0;u<s.length;u++)if(i=s[u],n?i.ranges&&!i.equals(e.sel):!i.ranges)break;if(u!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(r)return void s.push(i);break}if(Do(i,l),n&&!i.equals(e.sel))return void zo(e,i,{clearRedo:!1});a=i}var c=[];Do(a,l),l.push({changes:c,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var d=_e(e,"beforeChange")||e.cm&&_e(e.cm,"beforeChange"),h=function(n){var r=i.changes[n];if(r.origin=t,d&&!Zo(e,r,!1))return s.length=0,{};c.push(xo(e,r));var o=n?uo(e,r):X(s);ta(e,r,o,Io(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:so(r)});var a=[];vo(e,(function(e,t){t||-1!=V(a,e.history)||(aa(e.history,r),a.push(e.history)),ta(e,r,null,Io(e,r))}))},f=i.changes.length-1;f>=0;--f){var p=h(f);if(p)return p.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new ro(Z(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Rr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)jr(e.cm,r,"gutter")}}function ta(e,t,n,r){if(e.cm&&!e.cm.curOp)return Li(e.cm,ta)(e,t,n,r);if(t.to.line<e.first)ea(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i),t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[X(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:it(o,Ze(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),n||(n=uo(e,t)),e.cm?na(e.cm,t,r):mo(e,t,r),Wo(e,n,H),e.cantEdit&&qo(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function na(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=et(Qt(Ze(r,o.line))),r.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&be(e),mo(r,t,n,Ir(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,(function(e){var t=an(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Et(r,o.line),Pi(e,400);var u=t.text.length-(a.line-o.line)-1;t.full?Rr(e):o.line!=a.line||1!=t.text.length||go(e.doc,t)?Rr(e,o.line,a.line+1,u):jr(e,o.line,"text");var c=_e(e,"changes"),d=_e(e,"change");if(d||c){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&Dn(e,"change",e,h),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function ra(e,t,n,r,i){var o;r||(r=n),ot(r,n)<0&&(o=[r,n],n=o[0],r=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Qo(e,{from:n,to:r,text:t,origin:i})}function ia(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function oa(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ia(o.ranges[s].anchor,t,n,r),ia(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var u=o.changes[l];if(n<u.from.line)u.from=it(u.from.line+r,u.from.ch),u.to=it(u.to.line+r,u.to.ch);else if(t<=u.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function aa(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;oa(e.done,n,r,i),oa(e.undone,n,r,i)}function sa(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=Ze(e,ct(e,t)):i=et(t),null==i?null:(r(o,i)&&e.cm&&jr(e.cm,i,n),o)}function la(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function ua(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}io.prototype.from=function(){return ut(this.anchor,this.head)},io.prototype.to=function(){return lt(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,cn(i),Dn(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},ua.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof la))){var s=[];this.collapse(s),this.children=[new la(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new la(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new ua(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=V(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var i=new ua(e.children);i.parent=e,e.children=[i,n],e=i}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ca=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function da(e,t,n){on(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oi(e,n)}function ha(e,t,n,r){var i=new ca(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),sa(e,t,"widget",(function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!nn(e,t)){var r=on(t)<e.scrollTop;Je(t,t.height+Wn(i)),r&&oi(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Dn(o,"lineWidgetAdded",o,i,"number"==typeof t?t:et(t)),i}ca.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=et(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=Wn(this);Je(n,Math.max(0,n.height-o)),e&&(Ni(e,(function(){da(e,n,-o),jr(e,r,"widget")})),Dn(e,"lineWidgetCleared",e,this,r))}},ca.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=Wn(this)-t;i&&(nn(this.doc,r)||Je(r,r.height+i),n&&Ni(n,(function(){n.curOp.forceUpdate=!0,da(n,r,i),Dn(n,"lineWidgetChanged",n,e,et(r))})))},we(ca);var fa=0,pa=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++fa};function ga(e,t,n,r,i){if(r&&r.shared)return va(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return Li(e.cm,ga)(e,t,n,r,i);var o=new pa(e,i),a=ot(t,n);if(r&&j(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=N("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Zt(e,t.line,t,n,o)||t.line!=n.line&&Zt(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");Lt()}o.addToHistory&&Oo(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,(function(e){u&&o.collapsed&&!u.options.lineWrapping&&Qt(e)==u.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Je(e,0),At(e,new It(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l})),o.collapsed&&e.iter(t.line,n.line+1,(function(t){nn(e,t)&&Je(t,0)})),o.clearOnEnter&&pe(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Nt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++fa,o.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),o.collapsed)Rr(u,t.line,n.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var c=t.line;c<=n.line;c++)jr(u,c,"text");o.atomic&&Uo(u.doc),Dn(u,"markerAdded",u,o)}return o}pa.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&xi(e),_e(this,"clear")){var n=this.find();n&&Dn(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Tt(a.markedSpans,this);e&&!this.collapsed?jr(e,et(a),"text"):e&&(null!=s.to&&(i=et(a)),null!=s.from&&(r=et(a))),a.markedSpans=Pt(a.markedSpans,s),null==s.from&&this.collapsed&&!nn(this.doc,a)&&e&&Je(a,Dr(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=Qt(this.lines[l]),c=an(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Rr(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Uo(e.doc)),e&&Dn(e,"markerCleared",e,this,r,i),t&&Ci(e),this.parent&&this.parent.clear()}},pa.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Tt(o.markedSpans,this);if(null!=a.from&&(n=it(t?o:et(o),a.from),-1==e))return n;if(null!=a.to&&(r=it(t?o:et(o),a.to),1==e))return r}return n&&{from:n,to:r}},pa.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Ni(r,(function(){var i=t.line,o=et(t.line),a=er(r,o);if(a&&(ur(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!nn(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=Wn(n)-s;l&&Je(i,i.height+l)}Dn(r,"markerChanged",r,e)}))},pa.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=V(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},pa.prototype.detachLine=function(e){if(this.lines.splice(V(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},we(pa);var ma=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function va(e,t,n,r,i){r=j(r),r.shared=!1;var o=[ga(e,t,n,r,i)],a=o[0],s=r.widgetNode;return vo(e,(function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(ga(e,dt(e,t),dt(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=X(o)})),new ma(o,a)}function ya(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),(function(e){return e.parent}))}function ba(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var s=ga(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}function _a(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];vo(n.primary.doc,(function(e){return r.push(e)}));for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==V(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}ma.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Dn(this,"clear")}},ma.prototype.find=function(e,t){return this.primary.find(e,t)},we(ma);var wa=0,xa=function(e,t,n,r,i){if(!(this instanceof xa))return new xa(e,t,n,r,i);null==n&&(n=0),ua.call(this,[new la([new ln("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=it(n,0);this.sel=ao(o),this.history=new wo(null),this.id=++wa,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),mo(this,{from:o,to:o,text:e}),zo(this,ao(o),H)};xa.prototype=J(ua.prototype,{constructor:xa,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=$e(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Ti((function(e){var t=it(this.first,0),n=this.first+this.size-1;Qo(this,{from:t,to:it(n,Ze(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&si(this.cm,0,0),zo(this,ao(t),H)})),replaceRange:function(e,t,n,r){t=dt(this,t),n=n?dt(this,n):t,ra(this,e,t,n,r)},getRange:function(e,t,n){var r=Qe(this,dt(this,e),dt(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(nt(this,e))return Ze(this,e)},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Ze(this,e)),Qt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return dt(this,e)},getCursor:function(e){var t,n=this.sel.primary();return t=null==e||"head"==e?n.head:"anchor"==e?n.anchor:"end"==e||"to"==e||!1===e?n.to():n.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ti((function(e,t,n){Fo(this,dt(this,"number"==typeof e?it(e,t||0):e),null,n)})),setSelection:Ti((function(e,t,n){Fo(this,dt(this,e),dt(this,t||e),n)})),extendSelection:Ti((function(e,t,n){Ao(this,dt(this,e),t&&dt(this,t),n)})),extendSelections:Ti((function(e,t){Ro(this,ft(this,e),t)})),extendSelectionsBy:Ti((function(e,t){var n=Z(this.sel.ranges,e);Ro(this,ft(this,n),t)})),setSelections:Ti((function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new io(dt(this,e[i].anchor),dt(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),zo(this,oo(this.cm,r,t),n)}})),addSelection:Ti((function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new io(dt(this,e),dt(this,t||e))),zo(this,oo(this.cm,r,r.length-1),n)})),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=Qe(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Ti((function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&ho(this,r,t),l=r.length-1;l>=0;l--)Qo(this,r[l]);s?Vo(this,s):this.cm&&ai(this.cm)})),undo:Ti((function(){Jo(this,"undo")})),redo:Ti((function(){Jo(this,"redo")})),undoSelection:Ti((function(){Jo(this,"undo",!0)})),redoSelection:Ti((function(){Jo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){var e=this;this.history=new wo(this.history.maxGeneration),vo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:To(this.history.done),undone:To(this.history.undone)}},setHistory:function(e){var t=this.history=new wo(this.history.maxGeneration);t.done=To(e.done.slice(0),null,!0),t.undone=To(e.undone.slice(0),null,!0)},setGutterMarker:Ti((function(e,t,n){return sa(this,e,"gutter",(function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&re(r)&&(e.gutterMarkers=null),!0}))})),clearGutter:Ti((function(e){var t=this;this.iter((function(n){n.gutterMarkers&&n.gutterMarkers[e]&&sa(t,n,"gutter",(function(){return n.gutterMarkers[e]=null,re(n.gutterMarkers)&&(n.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!nt(this,e))return null;if(t=e,e=Ze(this,e),!e)return null}else if(t=et(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Ti((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(S(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0}))})),removeLineClass:Ti((function(e,t,n){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(S(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Ti((function(e,t,n){return ha(this,e,t,n)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return ga(this,dt(this,e),dt(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=dt(this,e),ga(this,e,e,n,"bookmark")},findMarksAt:function(e){e=dt(this,e);var t=[],n=Ze(this,e.line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=dt(this,e),t=dt(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)})),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n})),dt(this,it(n,t))},indexFromPos:function(e){e=dt(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+n})),t},copy:function(e){var t=new xa($e(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new xa($e(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ba(r,ya(this)),r},unlinkDoc:function(e){if(e instanceof Rs&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var n=this.linked[t];if(n.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),_a(ya(this));break}}if(e.history==this.history){var r=[e.id];vo(e,(function(e){return r.push(e.id)}),!0),e.history=new wo(null),e.history.done=To(this.history.done,r),e.history.undone=To(this.history.undone,r)}},iterLinkedDocs:function(e){vo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Te(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Ti((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&_o(this.cm))}))}),xa.prototype.eachLine=xa.prototype.iter;var Ca=0;function Sa(e){var t=this;if(Ea(t),!ye(t,e)&&!Hn(t.display,e)){xe(e),a&&(Ca=+new Date);var n=Pr(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(){++s==i&&Li(t,(function(){n=dt(t.doc,n);var e={from:n,to:n,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Qo(t.doc,e),Vo(t.doc,ao(dt(t.doc,n),dt(t.doc,so(e))))}))()},u=function(e,n){if(t.options.allowDropFileTypes&&-1==V(t.options.allowDropFileTypes,e.type))l();else{var r=new FileReader;r.onerror=function(){return l()},r.onload=function(){var e=r.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[n]=e),l()},r.readAsText(e)}},c=0;c<r.length;c++)u(r[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Wo(t.doc,ao(n,n)),h)for(var f=0;f<h.length;++f)ra(t.doc,"",h[f].anchor,h[f].head,"drag");t.replaceSelection(d,"around","paste"),t.display.input.focus()}}catch(p){}}}}function Oa(e,t){if(a&&(!e.state.draggingText||+new Date-Ca<100))Oe(t);else if(!ye(e,t)&&!Hn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=M("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}function ka(e,t){var n=Pr(e,t);if(n){var r=document.createDocumentFragment();Ur(e,n,r),e.display.dragCursor||(e.display.dragCursor=M("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),D(e.display.dragCursor,r)}}function Ea(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Da(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),n=[],r=0;r<t.length;r++){var i=t[r].CodeMirror;i&&n.push(i)}n.length&&n[0].operation((function(){for(var t=0;t<n.length;t++)e(n[t])}))}}var Ma=!1;function Na(){Ma||(La(),Ma=!0)}function La(){var e;pe(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Da(Ia)}),100))})),pe(window,"blur",(function(){return Da(Qr)}))}function Ia(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Ta={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Pa=0;Pa<10;Pa++)Ta[Pa+48]=Ta[Pa+96]=String(Pa);for(var Aa=65;Aa<=90;Aa++)Ta[Aa]=String.fromCharCode(Aa);for(var Ra=1;Ra<=12;Ra++)Ta[Ra+111]=Ta[Ra+63235]="F"+Ra;var ja={};function Fa(e){var t,n,r,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Ba(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=Z(n.split(" "),Fa),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var u in t)e[u]=t[u];return e}function Va(e,t,n,r){t=Ua(t);var i=t.call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Va(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=Va(e,t.fallthrough[o],n,r);if(a)return a}}}function za(e){var t="string"==typeof e?e:Ta[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Wa(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(x?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(x?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Ha(e,t){if(d&&34==e.keyCode&&e["char"])return!1;var n=Ta[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wa(n,e,t))}function Ua(e){return"string"==typeof e?ja[e]:e}function Ka(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){var o=t(n[i]);while(r.length&&ot(o.from,X(r).to)<=0){var a=r.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}Ni(e,(function(){for(var t=r.length-1;t>=0;t--)ra(e.doc,"",r[t].from,r[t].to,"+delete");ai(e)}))}function Ga(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function qa(e,t,n){var r=Ga(e,t.ch,n);return null==r?null:new it(t.line,r,n<0?"after":"before")}function Ya(e,t,n,r,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=he(n,t.doc.direction);if(o){var a,s=i<0?X(o):o[0],l=i<0==(1==s.level),u=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=tr(t,n);a=i<0?n.text.length-1:0;var d=nr(t,c,a).top;a=se((function(e){return nr(t,c,e).top==d}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=Ga(n,a,1))}else a=i<0?s.to:s.from;return new it(r,a,u)}}return new it(r,i<0?n.text.length:0,i<0?"before":"after")}function Xa(e,t,n,r){var i=he(t,e.doc.direction);if(!i)return qa(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=ce(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return qa(t,n,r);var s,l=function(e,n){return Ga(t,e instanceof it?e.ch:e,n)},u=function(n){return e.options.lineWrapping?(s=s||tr(e,t),Cr(e,t,s,n)):{begin:0,end:t.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,h=l(n,d?1:-1);if(null!=h&&(d?h<=a.to&&h<=c.end:h>=a.from&&h>=c.begin)){var f=d?"before":"after";return new it(n.line,h,f)}}var p=function(e,t,r){for(var o=function(e,t){return t?new it(n.line,l(e,1),"before"):new it(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u<a.to)return o(u,s);if(u=s?a.from:l(a.to,-1),r.begin<=u&&u<r.end)return o(u,s)}},g=p(o+r,r,c);if(g)return g;var m=r>0?c.end:l(c.begin,-1);return null==m||r>0&&m==t.text.length||(g=p(r>0?0:i.length-1,r,u(m)),!g)?null:g}ja.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},ja.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},ja.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},ja.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},ja["default"]=y?ja.macDefault:ja.pcDefault;var Za={selectAll:Xo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Ka(e,(function(t){if(t.empty()){var n=Ze(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:it(t.head.line+1,0)}:{from:t.head,to:it(t.head.line,n)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ka(e,(function(t){return{from:it(t.from().line,0),to:dt(e.doc,it(t.to().line+1,0))}}))},delLineLeft:function(e){return Ka(e,(function(e){return{from:it(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return{from:r,to:t.from()}}))},delWrappedLineRight:function(e){return Ka(e,(function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Qa(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return $a(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")}),K)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")}),K)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?Ja(e,t.head):r}),K)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=F(e.getLine(o.line),o.ch,r);t.push(Y(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Ni(e,(function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=Ze(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new it(i.line,i.ch-1)),i.ch>0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Ze(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}n.push(new io(i,i))}e.setSelections(n)}))},newlineAndIndent:function(e){return Ni(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);ai(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Qa(e,t){var n=Ze(e.doc,t),r=Qt(n);return r!=n&&(t=et(r)),Ya(!0,e,r,t,1)}function $a(e,t){var n=Ze(e.doc,t),r=$t(n);return r!=n&&(t=et(r)),Ya(!0,e,n,t,-1)}function Ja(e,t){var n=Qa(e,t.line),r=Ze(e.doc,n.line),i=he(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(n.ch,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return it(n.line,a?0:o,n.sticky)}return n}function es(e,t,n){if("string"==typeof t&&(t=Za[t],!t))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=W}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function ts(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=Va(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&Va(t,e.options.extraKeys,n,e)||Va(t,e.options.keyMap,n,e)}var ns=new B;function rs(e,t,n,r){var i=e.state.keySeq;if(i){if(za(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:ns.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),is(e,i+" "+t,n,r))return!0}return is(e,t,n,r)}function is(e,t,n,r){var i=ts(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Dn(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(xe(n),qr(e)),!!i}function os(e,t){var n=Ha(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?rs(e,"Shift-"+n,t,(function(t){return es(e,t,!0)}))||rs(e,n,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return es(e,t)})):rs(e,n,t,(function(t){return es(e,t)})))}function as(e,t,n){return rs(e,"'"+n+"'",t,(function(t){return es(e,t,!0)}))}var ss=null;function ls(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&(t.curOp.focus=I(),!ye(t,e))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var r=e.keyCode;t.display.shift=16==r||e.shiftKey;var i=os(t,e);d&&(ss=i?r:null,i||88!=r||Ae||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),n&&!y&&!i&&46==r&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=r||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||us(t)}}function us(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(k(t,"CodeMirror-crosshair"),me(document,"keyup",n),me(document,"mouseover",n))}T(t,"CodeMirror-crosshair"),pe(document,"keyup",n),pe(document,"mouseover",n)}function cs(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function ds(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&!(Hn(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(d&&n==ss)return ss=null,void xe(e);if(!d||e.which&&!(e.which<10)||!os(t,e)){var i=String.fromCharCode(null==r?n:r);"\b"!=i&&(as(t,e,i)||t.display.input.onKeyPress(e))}}}var hs,fs,ps=400,gs=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ms(e,t){var n=+new Date;return fs&&fs.compare(n,e,t)?(hs=fs=null,"triple"):hs&&hs.compare(n,e,t)?(fs=new gs(n,e,t),hs=null,"double"):(hs=new gs(n,e,t),fs=null,"single")}function vs(e){var t=this,n=t.display;if(!(ye(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,Hn(n,e))l||(n.scroller.draggable=!1,setTimeout((function(){return n.scroller.draggable=!0}),100));else if(!ks(t,e)){var r=Pr(t,e),i=Ee(e),o=r?ms(r,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),r&&ys(t,i,r,o,e)||(1==i?r?_s(t,r,o,e):ke(e)==n.scroller&&xe(e):2==i?(r&&Ao(t.doc,r),setTimeout((function(){return n.input.focus()}),20)):3==i&&(C?t.display.input.onContextMenu(e):Xr(t)))}}function ys(e,t,n,r,i){var o="Click";return"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,rs(e,Wa(o,i),i,(function(t){if("string"==typeof t&&(t=Za[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=W}finally{e.state.suppressEdits=!1}return r}))}function bs(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=b?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey),null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey)),i}function _s(e,t,n,r){a?setTimeout(R(Yr,e),0):e.curOp.focus=I();var i,o=bs(e,n,r),s=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==n&&(i=s.contains(t))>-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?ws(e,r,t,o):Cs(e,r,t,o)}function ws(e,t,n,r){var i=e.display,o=!1,u=Li(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,me(i.wrapper.ownerDocument,"mouseup",u),me(i.wrapper.ownerDocument,"mousemove",c),me(i.scroller,"dragstart",d),me(i.scroller,"drop",u),o||(xe(t),r.addNew||Ao(e.doc,n,null,null,r.extend),l&&!h||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),c=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),pe(i.wrapper.ownerDocument,"mouseup",u),pe(i.wrapper.ownerDocument,"mousemove",c),pe(i.scroller,"dragstart",d),pe(i.scroller,"drop",u),Xr(e),setTimeout((function(){return i.input.focus()}),20)}function xs(e,t,n){if("char"==n)return new io(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new io(it(t.line,0),dt(e.doc,it(t.line+1,0)));var r=n(e,t);return new io(r.from,r.to)}function Cs(e,t,n,r){var i=e.display,o=e.doc;xe(t);var a,s,l=o.sel,u=l.ranges;if(r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?u[s]:new io(n,n)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new io(n,n)),n=Pr(e,t,!0,!0),s=-1;else{var c=xs(e,n,r.unit);a=r.extend?Po(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=u.length,zo(o,oo(e,u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==r.unit&&!r.extend?(zo(o,oo(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):jo(o,s,a,U):(s=0,zo(o,new ro([a],0),U),l=o.sel);var d=n;function h(t){if(0!=ot(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],u=e.options.tabSize,c=F(Ze(o,n.line).text,n.ch,u),h=F(Ze(o,t.line).text,t.ch,u),f=Math.min(c,h),p=Math.max(c,h),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=Ze(o,g).text,y=G(v,f,u);f==p?i.push(new io(it(g,y),it(g,y))):v.length>y&&i.push(new io(it(g,y),it(g,G(v,p,u))))}i.length||i.push(new io(n,n)),zo(o,oo(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,_=a,w=xs(e,t,r.unit),x=_.anchor;ot(w.anchor,x)>0?(b=w.head,x=ut(_.from(),w.anchor)):(b=w.anchor,x=lt(_.to(),w.head));var C=l.ranges.slice(0);C[s]=Ss(e,new io(dt(o,x),b)),zo(o,oo(e,C,s),U)}}var f=i.wrapper.getBoundingClientRect(),p=0;function g(t){var n=++p,a=Pr(e,t,!0,"rectangle"==r.unit);if(a)if(0!=ot(a,d)){e.curOp.focus=I(),h(a);var s=ei(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(Li(e,(function(){p==n&&g(t)})),150)}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0;l&&setTimeout(Li(e,(function(){p==n&&(i.scroller.scrollTop+=l,g(t))})),50)}}function m(t){e.state.selectingText=!1,p=1/0,t&&(xe(t),i.input.focus()),me(i.wrapper.ownerDocument,"mousemove",v),me(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var v=Li(e,(function(e){0!==e.buttons&&Ee(e)?g(e):m(e)})),y=Li(e,m);e.state.selectingText=y,pe(i.wrapper.ownerDocument,"mousemove",v),pe(i.wrapper.ownerDocument,"mouseup",y)}function Ss(e,t){var n=t.anchor,r=t.head,i=Ze(e.doc,n.line);if(0==ot(n,r)&&n.sticky==r.sticky)return t;var o=he(i);if(!o)return t;var a=ce(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==o.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=ce(o,r.ch,r.sticky),d=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?d<0:d>0}var h=o[u+(l?-1:0)],f=l==(1==h.level),p=f?h.from:h.to,g=f?"after":"before";return n.ch==p&&n.sticky==g?t:new io(new it(n.line,p,g),r)}function Os(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(h){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&xe(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!_e(e,n))return Se(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var u=a.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=i){var c=tt(e.doc,o),d=e.display.gutterSpecs[l];return ve(e,n,e,c,d.className,t),Se(t)}}}function ks(e,t){return Os(e,t,"gutterClick",!0)}function Es(e,t){Hn(e.display,t)||Ds(e,t)||ye(e,t,"contextmenu")||C||e.display.input.onContextMenu(t)}function Ds(e,t){return!!_e(e,"gutterContextMenu")&&Os(e,t,"gutterContextMenu",!1)}function Ms(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),dr(e)}gs.prototype.compare=function(e,t,n){return this.time+ps>e&&0==ot(t,this.pos)&&n==this.button};var Ns={toString:function(){return"CodeMirror.Init"}},Ls={},Is={};function Ts(e){var t=e.optionHandlers;function n(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ns&&i(e,t,n)}:i)}e.defineOption=n,e.Init=Ns,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,fo(e)}),!0),n("indentUnit",2,fo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){po(e),dr(e),Rr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(it(r,o))}r++}));for(var i=n.length-1;i>=0;i--)ra(e.doc,t,n[i],it(n[i].line,n[i].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ns&&e.refresh()})),n("specialCharPlaceholder",gn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!_),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Ms(e),Zi(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ua(t),i=n!=Ns&&Ua(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,As,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Yi(t,e.options.lineNumbers),Zi(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Lr(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return vi(e)}),!0),n("scrollbarStyle","native",(function(e){_i(e),vi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Yi(e.options.gutters,t),Zi(e)}),!0),n("firstLineNumber",1,Zi,!0),n("lineNumberFormatter",(function(e){return e}),Zi,!0),n("showCursorWhenSelecting",!1,Wr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Qr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Ps),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Wr,!0),n("singleCursorHeightPerLine",!0,Wr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,po,!0),n("addModeClass",!1,po,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,po,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Ps(e,t,n){var r=n&&n!=Ns;if(!t!=!r){var i=e.display.dragFunctions,o=t?pe:me;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function As(e){e.options.lineWrapping?(T(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(k(e.display.wrapper,"CodeMirror-wrap"),sn(e)),Tr(e),Rr(e),dr(e),setTimeout((function(){return vi(e)}),100)}function Rs(e,t){var n=this;if(!(this instanceof Rs))return new Rs(e,t);this.options=t=t?j(t):{},j(Ls,t,!1);var r=t.value;"string"==typeof r?r=new xa(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var i=new Rs.inputStyles[t.inputStyle](this),o=this.display=new Qi(e,r,i,t);for(var u in o.wrapper.CodeMirror=this,Ms(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),_i(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new B,keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),a&&s<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),js(this),Na(),xi(this),this.curOp.forceUpdate=!0,yo(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(R(Zr,this),20):Qr(this),Is)Is.hasOwnProperty(u)&&Is[u](this,t[u],Ns);qi(this),t.finishInit&&t.finishInit(this);for(var c=0;c<Fs.length;++c)Fs[c](this);Ci(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function js(e){var t=e.display;pe(t.scroller,"mousedown",Li(e,vs)),pe(t.scroller,"dblclick",a&&s<11?Li(e,(function(t){if(!ye(e,t)){var n=Pr(e,t);if(n&&!ks(e,t)&&!Hn(e.display,t)){xe(t);var r=e.findWordAt(n);Ao(e.doc,r.anchor,r.head)}}})):function(t){return ye(e,t)||xe(t)}),pe(t.scroller,"contextmenu",(function(t){return Es(e,t)})),pe(t.input.getField(),"contextmenu",(function(n){t.scroller.contains(n.target)||Es(e,n)}));var n,r={end:0};function i(){t.activeTouch&&(n=setTimeout((function(){return t.activeTouch=null}),1e3),r=t.activeTouch,r.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}pe(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!ks(e,i)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),pe(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),pe(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Hn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!r.prev||l(r,r.prev)?new io(a,a):!r.prev.prev||l(r,r.prev.prev)?e.findWordAt(a):new io(it(a.line,0),dt(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),xe(n)}i()})),pe(t.scroller,"touchcancel",i),pe(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(di(e,t.scroller.scrollTop),fi(e,t.scroller.scrollLeft,!0),ve(e,"scroll",e))})),pe(t.scroller,"mousewheel",(function(t){return no(e,t)})),pe(t.scroller,"DOMMouseScroll",(function(t){return no(e,t)})),pe(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||Oe(t)},over:function(t){ye(e,t)||(ka(e,t),Oe(t))},start:function(t){return Oa(e,t)},drop:Li(e,Sa),leave:function(t){ye(e,t)||Ea(e)}};var u=t.input.getField();pe(u,"keyup",(function(t){return cs.call(e,t)})),pe(u,"keydown",Li(e,ls)),pe(u,"keypress",Li(e,ds)),pe(u,"focus",(function(t){return Zr(e,t)})),pe(u,"blur",(function(t){return Qr(e,t)}))}Rs.defaults=Ls,Rs.optionHandlers=Is;var Fs=[];function Bs(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=yt(e,t).state:n="prev");var a=e.options.tabSize,s=Ze(o,t),l=F(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&(u=o.mode.indent(i,s.text.slice(c.length),s.text),u==W||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>o.first?F(Ze(o,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var d="",h=0;if(e.options.indentWithTabs)for(var f=Math.floor(u/a);f;--f)h+=a,d+="\t";if(h<u&&(d+=Y(u-h)),d!=c)return ra(o,d,it(t,0),it(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<o.sel.ranges.length;p++){var g=o.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var m=it(t,c.length);jo(o,p,new io(m,m));break}}}Rs.defineInitHook=function(e){return Fs.push(e)};var Vs=null;function zs(e){Vs=e}function Ws(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Te(t),u=null;if(s&&r.ranges.length>1)if(Vs&&Vs.text.join("\n")==t){if(r.ranges.length%Vs.text.length==0){u=[];for(var c=0;c<Vs.text.length;c++)u.push(o.splitLines(Vs.text[c]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(u=Z(l,(function(e){return[e]})));for(var d=e.curOp.updateInput,h=r.ranges.length-1;h>=0;h--){var f=r.ranges[h],p=f.from(),g=f.to();f.empty()&&(n&&n>0?p=it(p.line,p.ch-n):e.state.overwrite&&!s?g=it(g.line,Math.min(Ze(o,g.line).text.length,g.ch+X(l).length)):s&&Vs&&Vs.lineWise&&Vs.text.join("\n")==t&&(p=g=it(p.line,0)));var m={from:p,to:g,text:u?u[h%u.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Qo(e.doc,m),Dn(e,"inputRead",e,m)}t&&!s&&Us(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Hs(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ni(t,(function(){return Ws(t,n,0,null,"paste")})),!0}function Us(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=Bs(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Ze(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=Bs(e,i.head.line,"smart"));a&&Dn(e,"electricInput",e,i.head.line)}}}function Ks(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:it(i,0),head:it(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function Gs(e,t,n,r){e.setAttribute("autocorrect",n?"":"off"),e.setAttribute("autocapitalize",r?"":"off"),e.setAttribute("spellcheck",!!t)}function qs(){var e=M("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=M("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Gs(e),t}function Ys(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Li(this,t[e])(this,n,i),ve(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Ua(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Ii((function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");Q(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},(function(e){return e.priority})),this.state.modeGen++,Rr(this)})),removeOverlay:Ii((function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Rr(this)}})),indentLine:Ii((function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),nt(this.doc,e)&&Bs(this,e,t,n)})),indentSelection:Ii((function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(Bs(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ai(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Bs(this,l,e);var u=this.doc.sel.ranges;0==o.ch&&t.length==u.length&&u[r].from().ch>0&&jo(this.doc,r,new io(o,u[r].to()),H)}}})),getTokenAt:function(e,t){return Ct(this,e,t)},getLineTokens:function(e,t){return Ct(this,it(e),t,!0)},getTokenTypeAt:function(e){e=dt(this.doc,e);var t,n=vt(this,Ze(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var u=i._global[l];u.pred(o,this)&&-1==V(r,u.val)&&r.push(u.val)}return r},getStateAfter:function(e,t){var n=this.doc;return e=ct(n,null==e?n.first+n.size-1:e),yt(this,e+1,t).state},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?dt(this.doc,e):e?r.from():r.to(),yr(this,n,t||"page")},charCoords:function(e,t){return vr(this,dt(this.doc,e),t||"page")},coordsChar:function(e,t){return e=mr(this,e,t||"page"),wr(this,e.left,e.top)},lineAtHeight:function(e,t){return e=mr(this,{top:e,left:0},t||"page").top,tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=Ze(this.doc,e)}else r=e;return gr(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-on(r):0)},defaultTextHeight:function(){return Dr(this.display)},defaultCharWidth:function(){return Mr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display;e=yr(this,dt(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),u=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>u&&(s=u-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&ri(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Ii(ls),triggerOnKeyPress:Ii(ds),triggerOnKeyUp:cs,triggerOnMouseDown:Ii(vs),execCommand:function(e){if(Za.hasOwnProperty(e))return Za[e].call(null,this)},triggerElectric:Ii((function(e){Us(this,e)})),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=dt(this.doc,e),a=0;a<t;++a)if(o=Xs(this.doc,o,i,n,r),o.hitSide)break;return o},moveH:Ii((function(e,t){var n=this;this.extendSelectionsBy((function(r){return n.display.shift||n.doc.extend||r.empty()?Xs(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()}),K)})),deleteH:Ii((function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ka(this,(function(n){var i=Xs(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}}))})),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=dt(this.doc,e),s=0;s<t;++s){var l=yr(this,a,"div");if(null==o?o=l.left:l.left=o,a=Zs(this,l,i,n),a.hitSide)break}return a},moveV:Ii((function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=yr(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Zs(n,s,e,t);return"page"==t&&a==r.sel.primary()&&oi(n,vr(n,l,"div").top-s.top),l}),K),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=this.doc,n=Ze(t,e.line).text,r=e.ch,i=e.ch;if(n){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=n.length||!r?++i:--r;var a=n.charAt(r),s=ne(a,o)?function(e){return ne(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!ne(e)};while(r>0&&s(n.charAt(r-1)))--r;while(i<n.length&&s(n.charAt(i)))++i}return new io(it(e.line,r),it(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?T(this.display.cursorDiv,"CodeMirror-overwrite"):k(this.display.cursorDiv,"CodeMirror-overwrite"),ve(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==I()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Ii((function(e,t){si(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-qn(this)-this.display.barHeight,width:e.scrollWidth-qn(this)-this.display.barWidth,clientHeight:Xn(this),clientWidth:Yn(this)}},scrollIntoView:Ii((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:it(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?li(this,e):ci(this,e.from,e.to,e.margin)})),setSize:Ii((function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&cr(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){jr(n,i,"widget");break}++i})),this.curOp.forceUpdate=!0,ve(this,"refresh",this)})),operation:function(e){return Ni(this,e)},startOperation:function(){return xi(this)},endOperation:function(){return Ci(this)},refresh:Ii((function(){var e=this.display.cachedTextHeight;Rr(this),this.curOp.forceUpdate=!0,dr(this),si(this,this.doc.scrollLeft,this.doc.scrollTop),Ui(this.display),(null==e||Math.abs(e-Dr(this.display))>.5||this.options.lineWrapping)&&Tr(this),ve(this,"refresh",this)})),swapDoc:Ii((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),yo(this,e),dr(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Dn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},we(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}function Xs(e,t,n,r,i){var o=t,a=n,s=Ze(e,t.line),l=i&&"rtl"==e.direction?-n:n;function u(){var n=t.line+l;return!(n<e.first||n>=e.first+e.size)&&(t=new it(n,t.ch,t.sticky),s=Ze(e,n))}function c(r){var o;if(o=i?Xa(e.cm,s,t,n):qa(s,t,n),null==o){if(r||!u())return!1;t=Ya(i,e.cm,s,t.line,l)}else t=o;return!0}if("char"==r)c();else if("column"==r)c(!0);else if("word"==r||"group"==r)for(var d=null,h="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;;p=!1){if(n<0&&!c(!p))break;var g=s.text.charAt(t.ch)||"\n",m=ne(g,f)?"w":h&&"\n"==g?"n":!h||/\s/.test(g)?null:"p";if(!h||p||m||(m="s"),d&&d!=m){n<0&&(n=1,c(),t.sticky="after");break}if(m&&(d=m),n>0&&!c(!p))break}var v=qo(e,t,o,a,!0);return at(o,v)&&(v.hitSide=!0),v}function Zs(e,t,n,r){var i,o,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*Dr(e.display),3);i=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(;;){if(o=wr(e,s,i),!o.outside)break;if(n<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*n}return o}var Qs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new B,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function $s(e,t){var n=er(e,t.line);if(!n||n.hidden)return null;var r=Ze(e.doc,t.line),i=Qn(n,r,t.line),o=he(r,e.doc.direction),a="left";if(o){var s=ce(o,t.ch);a=s%2?"right":"left"}var l=or(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Js(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,n,r,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function u(e){return function(t){return t.id==e}}function c(){a&&(o+=s,l&&(o+=s),a=l=!1)}function d(e){e&&(c(),o+=e)}function h(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var o,f=t.getAttribute("cm-marker");if(f){var p=e.findMarks(it(r,0),it(i+1,0),u(+f));return void(p.length&&(o=p[0].find(0))&&d(Qe(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var g=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;g&&c();for(var m=0;m<t.childNodes.length;m++)h(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),g&&(a=!0)}else 3==t.nodeType&&d(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(h(t),t==n)break;t=t.nextSibling,l=!1}return o}function nl(e,t,n){var r;if(t==e.display.lineDiv){if(r=e.display.lineDiv.childNodes[n],!r)return el(e.clipPos(it(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return rl(o,t,n)}}function rl(e,t,n){var r=e.text.firstChild,i=!1;if(!t||!L(r,t))return el(it(et(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?X(e.rest):e.line;return el(it(et(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));while(s.parentNode!=r)s=s.parentNode;var l=e.measure,u=l.maps;function c(t,n,r){for(var i=-1;i<(u?u.length:0);i++)for(var o=i<0?l.map:u[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var c=et(i<0?e.line:e.rest[i]),d=o[a]+r;return(r<0||s!=t)&&(d=o[a+(r?1:0)]),it(c,d)}}}var d=c(a,s,n);if(d)return el(d,i);for(var h=s.nextSibling,f=a?a.nodeValue.length-n:0;h;h=h.nextSibling){if(d=c(h,h.firstChild,0),d)return el(it(d.line,d.ch-f),i);f+=h.textContent.length}for(var p=s.previousSibling,g=n;p;p=p.previousSibling){if(d=c(p,p.firstChild,-1),d)return el(it(d.line,d.ch+g),i);g+=p.textContent.length}}Qs.prototype.init=function(e){var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation((function(){r.setSelections(t.ranges,0,H),r.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Vs.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=qs(),l=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),l.value=Vs.text.join("\n");var u=document.activeElement;A(l),setTimeout((function(){r.display.lineSpace.removeChild(s),u.focus(),u==i&&n.showPrimarySelection()}),50)}}Gs(i,r.options.spellcheck,r.options.autocorrect,r.options.autocapitalize),pe(i,"paste",(function(e){!o(e)||ye(r,e)||Hs(e,r)||s<=11&&setTimeout(Li(r,(function(){return t.updateFromDOM()})),20)})),pe(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),pe(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),pe(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),pe(i,"touchstart",(function(){return n.forceCompositionEnd()})),pe(i,"input",(function(){t.composing||t.readFromDOMSoon()})),pe(i,"copy",a),pe(i,"cut",a)},Qs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Qs.prototype.prepareSelection=function(){var e=Hr(this.cm,!1);return e.focus=document.activeElement==this.div,e},Qs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Qs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Qs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=nl(t,e.anchorNode,e.anchorOffset),s=nl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=ot(ut(a,s),i)||0!=ot(lt(a,s),o)){var l=t.display.view,u=i.line>=t.display.viewFrom&&$s(t,i)||{node:l[0].measure.map[2],offset:0},c=o.line<t.display.viewTo&&$s(t,o);if(!c){var d=l[l.length-1].measure,h=d.maps?d.maps[d.maps.length-1]:d.map;c={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(u&&c){var f,p=e.rangeCount&&e.getRangeAt(0);try{f=O(u.node,u.offset,c.offset,c.node)}catch(g){}f&&(!n&&t.state.focused?(e.collapse(u.node,u.offset),f.collapsed||(e.removeAllRanges(),e.addRange(f))):(e.removeAllRanges(),e.addRange(f)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Qs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Qs.prototype.showMultipleSelections=function(e){D(this.cm.display.cursorDiv,e.cursors),D(this.cm.display.selectionDiv,e.selection)},Qs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Qs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return L(this.div,t)},Qs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Qs.prototype.blur=function(){this.div.blur()},Qs.prototype.getField=function(){return this.div},Qs.prototype.supportsTouch=function(){return!0},Qs.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Ni(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},Qs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Qs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(m&&c&&this.cm.display.gutterSpecs.length&&Js(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=nl(t,e.anchorNode,e.anchorOffset),r=nl(t,e.focusNode,e.focusOffset);n&&r&&Ni(t,(function(){zo(t.doc,ao(n,r),H),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)}))}}},Qs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,i=r.display,o=r.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>r.firstLine()&&(a=it(a.line-1,Ze(r.doc,a.line-1).length)),s.ch==Ze(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=it(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Ar(r,a.line))?(t=et(i.view[0].line),n=i.view[0].node):(t=et(i.view[e].line),n=i.view[e-1].node.nextSibling);var l,u,c=Ar(r,s.line);if(c==i.view.length-1?(l=i.viewTo-1,u=i.lineDiv.lastChild):(l=et(i.view[c+1].line)-1,u=i.view[c+1].node.previousSibling),!n)return!1;var d=r.doc.splitLines(tl(r,n,u,t,l)),h=Qe(r.doc,it(t,0),it(l,Ze(r.doc,l).text.length));while(d.length>1&&h.length>1)if(X(d)==X(h))d.pop(),h.pop(),l--;else{if(d[0]!=h[0])break;d.shift(),h.shift(),t++}var f=0,p=0,g=d[0],m=h[0],v=Math.min(g.length,m.length);while(f<v&&g.charCodeAt(f)==m.charCodeAt(f))++f;var y=X(d),b=X(h),_=Math.min(y.length-(1==d.length?f:0),b.length-(1==h.length?f:0));while(p<_&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1))++p;if(1==d.length&&1==h.length&&t==a.line)while(f&&f>a.ch&&y.charCodeAt(y.length-p-1)==b.charCodeAt(b.length-p-1))f--,p++;d[d.length-1]=y.slice(0,y.length-p).replace(/^\u200b+/,""),d[0]=d[0].slice(f).replace(/\u200b+$/,"");var w=it(t,f),x=it(l,h.length?X(h).length-p:0);return d.length>1||d[0]||ot(w,x)?(ra(r.doc,d,w,x,"+input"),!0):void 0},Qs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Qs.prototype.reset=function(){this.forceCompositionEnd()},Qs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Qs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Qs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ni(this.cm,(function(){return Rr(e.cm)}))},Qs.prototype.setUneditable=function(e){e.contentEditable="false"},Qs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Li(this.cm,Ws)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Qs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Qs.prototype.onContextMenu=function(){},Qs.prototype.resetPosition=function(){},Qs.prototype.needsContentAttribute=!0;var il=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new B,this.hasSelection=!1,this.composing=null};function ol(e,t){if(t=t?j(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=I();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var i;if(e.form&&(pe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){r(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(me(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Rs((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function al(e){e.off=me,e.on=pe,e.wheelEventPixels=to,e.Doc=xa,e.splitLines=Te,e.countColumn=F,e.findColumn=G,e.isWordChar=te,e.Pass=W,e.signal=ve,e.Line=ln,e.changeEnd=so,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=Fe,e.mimeModes=Be,e.resolveMode=We,e.getMode=He,e.modeExtensions=Ue,e.extendMode=Ke,e.copyState=Ge,e.startState=Ye,e.innerMode=qe,e.commands=Za,e.keyMap=ja,e.keyName=Ha,e.isModifierKey=za,e.lookupKey=Va,e.normalizeKeyMap=Ba,e.StringStream=Xe,e.SharedTextMarker=ma,e.TextMarker=pa,e.LineWidget=ca,e.e_preventDefault=xe,e.e_stopPropagation=Ce,e.e_stop=Oe,e.addClass=T,e.contains=L,e.rmClass=k,e.keyNames=Ta}il.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(r,e)){if(r.somethingSelected())zs({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Ks(r);zs({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,H):(n.prevInput="",i.value=t.text.join("\n"),A(i))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),pe(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),pe(i,"paste",(function(e){ye(r,e)||Hs(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),pe(i,"cut",o),pe(i,"copy",o),pe(e.scroller,"paste",(function(t){if(!Hn(e,t)&&!ye(r,t)){if(!i.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),pe(e.lineSpace,"selectstart",(function(t){Hn(e,t)||xe(t)})),pe(i,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),pe(i,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},il.prototype.createField=function(e){this.wrapper=qs(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Hr(e);if(e.options.moveInputWithCursor){var i=yr(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},il.prototype.showSelection=function(e){var t=this.cm,n=t.display;D(n.cursorDiv,e.cursors),D(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},il.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&A(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||I()!=this.textarea))try{this.textarea.focus()}catch(e){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},il.prototype.fastPoll=function(){var e=!1,t=this;function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},il.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Pe(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,u=Math.min(r.length,i.length);while(l<u&&r.charCodeAt(l)==i.charCodeAt(l))++l;return Ni(t,(function(){Ws(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Pr(n,e),u=r.scroller.scrollTop;if(o&&!d){var c=n.options.resetSelectionOnContextMenu;c&&-1==n.doc.sel.contains(o)&&Li(n,zo)(n.doc,ao(o),H);var h,f=i.style.cssText,p=t.wrapper.style.cssText,g=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-g.top-5)+"px; left: "+(e.clientX-g.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=window.scrollY),r.input.focus(),l&&window.scrollTo(null,h),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),C){Oe(e);var m=function(){me(window,"mouseup",m),setTimeout(y,20)};pe(window,"mouseup",m)}else setTimeout(y,50)}function v(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=f,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?Li(n,Xo)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}},il.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1,Ts(Rs),Ys(Rs);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in xa.prototype)xa.prototype.hasOwnProperty(ll)&&V(sl,ll)<0&&(Rs.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(xa.prototype[ll]));return we(xa),Rs.inputStyles={textarea:il,contenteditable:Qs},Rs.defineMode=function(e){Rs.defaults.mode||"null"==e||(Rs.defaults.mode=e),Ve.apply(this,arguments)},Rs.defineMIME=ze,Rs.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Rs.defineMIME("text/plain","null"),Rs.defineExtension=function(e,t){Rs.prototype[e]=t},Rs.defineDocExtension=function(e,t){xa.prototype[e]=t},Rs.fromTextArea=ol,al(Rs),Rs.version="5.55.0",Rs}))},Vtyv:function(e,t,n){},VvMK:function(e,t,n){},Vxe3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("codeEditorService")},W2nI:function(e,t,n){var r=n("IwbS"),i=n("ProS"),o=n("bYtY"),a=["itemStyle","opacity"],s=["emphasis","itemStyle","opacity"],l=["lineStyle","opacity"],u=["emphasis","lineStyle","opacity"];function c(e,t){return e.getVisual("opacity")||e.getModel().get(t)}function d(e,t,n){var r=e.getGraphicEl(),i=c(e,t);null!=n&&(null==i&&(i=1),i*=n),r.downplay&&r.downplay(),r.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",i)}))}function h(e,t){var n=c(e,t),r=e.getGraphicEl();r.traverse((function(e){"group"!==e.type&&e.setStyle("opacity",n)})),r.highlight&&r.highlight()}var f=r.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(e,t){var n=t.extent;e.moveTo(t.x1,t.y1),e.bezierCurveTo(t.cpx1,t.cpy1,t.cpx2,t.cpy2,t.x2,t.y2),"vertical"===t.orient?(e.lineTo(t.x2+n,t.y2),e.bezierCurveTo(t.cpx2+n,t.cpy2,t.cpx1+n,t.cpy1,t.x1+n,t.y1)):(e.lineTo(t.x2,t.y2+n),e.bezierCurveTo(t.cpx2,t.cpy2+n,t.cpx1,t.cpy1+n,t.x1,t.y1+n)),e.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),p=i.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(e,t,n){var i=this,o=e.getGraph(),a=this.group,s=e.layoutInfo,l=s.width,u=s.height,c=e.getData(),d=e.getData("edge"),h=e.get("orient");this._model=e,a.removeAll(),a.attr("position",[s.x,s.y]),o.eachEdge((function(t){var n=new f;n.dataIndex=t.dataIndex,n.seriesIndex=e.seriesIndex,n.dataType="edge";var i,o,s,c,p,g,m,v,y=t.getModel("lineStyle"),b=y.get("curveness"),_=t.node1.getLayout(),w=t.node1.getModel(),x=w.get("localX"),C=w.get("localY"),S=t.node2.getLayout(),O=t.node2.getModel(),k=O.get("localX"),E=O.get("localY"),D=t.getLayout();switch(n.shape.extent=Math.max(1,D.dy),n.shape.orient=h,"vertical"===h?(i=(null!=x?x*l:_.x)+D.sy,o=(null!=C?C*u:_.y)+_.dy,s=(null!=k?k*l:S.x)+D.ty,c=null!=E?E*u:S.y,p=i,g=o*(1-b)+c*b,m=s,v=o*b+c*(1-b)):(i=(null!=x?x*l:_.x)+_.dx,o=(null!=C?C*u:_.y)+D.sy,s=null!=k?k*l:S.x,c=(null!=E?E*u:S.y)+D.ty,p=i*(1-b)+s*b,g=o,m=i*b+s*(1-b),v=c),n.setShape({x1:i,y1:o,x2:s,y2:c,cpx1:p,cpy1:g,cpx2:m,cpy2:v}),n.setStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=t.node1.getVisual("color");break;case"target":n.style.fill=t.node2.getVisual("color");break}r.setHoverStyle(n,t.getModel("emphasis.lineStyle").getItemStyle()),a.add(n),d.setItemGraphicEl(t.dataIndex,n)})),o.eachNode((function(t){var n=t.getLayout(),i=t.getModel(),o=i.get("localX"),s=i.get("localY"),d=i.getModel("label"),h=i.getModel("emphasis.label"),f=new r.Rect({shape:{x:null!=o?o*l:n.x,y:null!=s?s*u:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle()}),p=t.getModel("emphasis.itemStyle").getItemStyle();r.setLabelStyle(f.style,p,d,h,{labelFetcher:e,labelDataIndex:t.dataIndex,defaultText:t.id,isRectText:!0}),f.setStyle("fill",t.getVisual("color")),r.setHoverStyle(f,p),a.add(f),c.setItemGraphicEl(t.dataIndex,f),f.dataType="node"})),c.eachItemGraphicEl((function(t,r){var o=c.getItemModel(r);o.get("draggable")&&(t.drift=function(t,o){i._focusAdjacencyDisabled=!0,this.shape.x+=t,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/l,localY:this.shape.y/u})},t.ondragend=function(){i._focusAdjacencyDisabled=!1},t.draggable=!0,t.cursor="move"),t.highlight=function(){this.trigger("emphasis")},t.downplay=function(){this.trigger("normal")},t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(n)}))})),d.eachItemGraphicEl((function(t,r){var o=d.getItemModel(r);t.focusNodeAdjHandler&&t.off("mouseover",t.focusNodeAdjHandler),t.unfocusNodeAdjHandler&&t.off("mouseout",t.unfocusNodeAdjHandler),o.get("focusNodeAdjacency")&&(t.on("mouseover",t.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex}))}),t.on("mouseout",t.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(n)}))})),!this._data&&e.get("animation")&&a.setClipPath(g(a.getBoundingRect(),e,(function(){a.removeClipPath()}))),this._data=e.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(e){var t=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){t._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:t._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,r){var i=e.getData(),c=i.graph,f=r.dataIndex,p=i.getItemModel(f),g=r.edgeDataIndex;if(null!=f||null!=g){var m=c.getNodeByIndex(f),v=c.getEdgeByIndex(g);if(c.eachNode((function(e){d(e,a,.1)})),c.eachEdge((function(e){d(e,l,.1)})),m){h(m,s);var y=p.get("focusNodeAdjacency");"outEdges"===y?o.each(m.outEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node2,s))})):"inEdges"===y?o.each(m.inEdges,(function(e){e.dataIndex<0||(h(e,u),h(e.node1,s))})):"allEdges"===y&&o.each(m.edges,(function(e){e.dataIndex<0||(h(e,u),e.node1!==m&&h(e.node1,s),e.node2!==m&&h(e.node2,s))}))}v&&(h(v,u),h(v.node1,s),h(v.node2,s))}},unfocusNodeAdjacency:function(e,t,n,r){var i=e.getGraph();i.eachNode((function(e){d(e,a)})),i.eachEdge((function(e){d(e,l)}))}});function g(e,t,n){var i=new r.Rect({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return r.initProps(i,{shape:{width:e.width+20}},t,n),i}e.exports=p},W4dC:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.each,a=i.createHashMap,s=n("7DRL"),l=n("TIY9"),u=n("yS9w"),c=n("mFDi"),d={geoJSON:l,svg:u},h={load:function(e,t,n){var r,i=[],s=a(),l=a(),u=p(e);return o(u,(function(a){var u=d[a.type].load(e,a,n);o(u.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),i.push(e),s.set(n,e),l.set(n,e.center)}));var c=u.boundingRect;c&&(r?r.union(c):r=c.clone())})),{regions:i,regionsMap:s,nameCoordMap:l,boundingRect:r||new c(0,0,0,0)}},makeGraphic:f("makeGraphic"),removeGraphic:f("removeGraphic")};function f(e){return function(t,n){var r=p(t),i=[];return o(r,(function(r){var o=d[r.type][e];o&&i.push(o(t,r,n))})),i}}function p(e){var t=s.retrieveMap(e)||[];return t}e.exports=h},W9cx:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d}));var r=n("bY76"),i=n("Cg/j"),o=n("pmY6"),a=n("N0LK"),s=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},l=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},u=Object(i["c"])("openerService"),c=Object.freeze({_serviceBrand:void 0,registerOpener:function(){return o["a"].None},registerValidator:function(){return o["a"].None},registerExternalUriResolver:function(){return o["a"].None},setExternalOpener:function(){},open:function(){return s(this,void 0,void 0,(function(){return l(this,(function(e){return[2,!1]}))}))},resolveExternalUri:function(e){return s(this,void 0,void 0,(function(){return l(this,(function(t){return[2,{resolved:e,dispose:function(){}}]}))}))}});function d(e,t){return r["a"].isUri(e)?Object(a["n"])(e.scheme,t):Object(a["N"])(e,t+":")}},WBhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("modeService")},WGYa:function(e,t,n){var r=n("7yuC"),i=r.forceLayout,o=n("HF/U"),a=o.simpleLayout,s=n("lOQZ"),l=s.circularLayout,u=n("OELB"),c=u.linearMap,d=n("QBsz"),h=n("bYtY");function f(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),o=r.data,s=r.edgeData,u=e.getModel("force"),f=u.get("initLayout");e.preservedPoints?o.each((function(e){var t=o.getId(e);o.setItemLayout(e,n[t]||[NaN,NaN])})):f&&"none"!==f?"circular"===f&&l(e,"value"):a(e);var p=o.getDataExtent("value"),g=s.getDataExtent("value"),m=u.get("repulsion"),v=u.get("edgeLength");h.isArray(m)||(m=[m,m]),h.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y=o.mapArray("value",(function(e,t){var n=o.getItemLayout(t),r=c(e,p,m);return isNaN(r)&&(r=(m[0]+m[1])/2),{w:r,rep:r,fixed:o.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),b=s.mapArray("value",(function(e,t){var n=r.getEdgeByIndex(t),i=c(e,g,v);isNaN(i)&&(i=(v[0]+v[1])/2);var o=n.getModel();return{n1:y[n.node1.dataIndex],n2:y[n.node2.dataIndex],d:i,curveness:o.get("lineStyle.curveness")||0,ignoreForceLayout:o.get("ignoreForceLayout")}})),_=(t=e.coordinateSystem,t.getBoundingRect()),w=i(y,b,{rect:_,gravity:u.get("gravity"),friction:u.get("friction")}),x=w.step;w.step=function(e){for(var t=0,i=y.length;t<i;t++)y[t].fixed&&d.copy(y[t].p,r.getNodeByIndex(t).getLayout());x((function(t,i,a){for(var s=0,l=t.length;s<l;s++)t[s].fixed||r.getNodeByIndex(s).setLayout(t[s].p),n[o.getId(s)]=t[s].p;for(s=0,l=i.length;s<l;s++){var u=i[s],c=r.getEdgeByIndex(s),h=u.n1.p,f=u.n2.p,p=c.getLayout();p=p?p.slice():[],p[0]=p[0]||[],p[1]=p[1]||[],d.copy(p[0],h),d.copy(p[1],f),+u.curveness&&(p[2]=[(h[0]+f[0])/2-(h[1]-f[1])*u.curveness,(h[1]+f[1])/2-(f[0]-h[0])*u.curveness]),c.setLayout(p)}e&&e(a)}))},e.forceLayout=w,e.preservedPoints=n,w.step()}else e.forceLayout=null}))}e.exports=f},WKfj:function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var r=n("KQm4");function i(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function o(e,t){var n=t.labelInValue,r=t.combobox;if(void 0===e||""===e&&r)return[];var i=Array.isArray(e)?e:[e];return n?i.map((function(e){var t=e.key,n=e.value;return void 0!==n?n:t})):i}function a(e,t){var n=t.optionLabelProp,r=t.labelInValue,i=t.prevValue,o=t.options,a=t.getLabeledValue,s=e;return r&&(s=s.map((function(e){return a(e,{options:o,prevValue:i,labelInValue:r,optionLabelProp:n})}))),s}function s(e,t){var n,i=Object(r["a"])(t);for(n=e.length-1;n>=0;n-=1)if(!e[n].disabled)break;var o=null;return-1!==n&&(o=i[n],i.splice(n,1)),{values:i,removedValue:o}}var l="undefined"!==typeof window&&window.document&&window.document.documentElement,u=l,c=0;function d(){var e;return u?(e=c,c+=1):e="TEST_OR_SSR",e}},"WN+l":function(e,t,n){var r=n("bYtY"),i=n("IwbS");function o(e,t,n,o){var a=n.axis;if(!a.scale.isBlank()){var s=n.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=o.coordinateSystem.getRect(),d=a.getTicksCoords({tickModel:s,clamp:!0});if(d.length){var h=u.length,f=e.__splitAreaColors,p=r.createHashMap(),g=0;if(f)for(var m=0;m<d.length;m++){var v=f.get(d[m].tickValue);if(null!=v){g=(v+(h-1)*m)%h;break}}var y=a.toGlobalCoord(d[0].coord),b=l.getAreaStyle();u=r.isArray(u)?u:[u];for(m=1;m<d.length;m++){var _,w,x,C,S=a.toGlobalCoord(d[m].coord);a.isHorizontal()?(_=y,w=c.y,x=S-_,C=c.height,y=_+x):(_=c.x,w=y,x=c.width,C=S-w,y=w+C);var O=d[m-1].tickValue;null!=O&&p.set(O,g),t.add(new i.Rect({anid:null!=O?"area_"+O:null,shape:{x:_,y:w,width:x,height:C},style:r.defaults({fill:u[g]},b),silent:!0})),g=(g+1)%h}e.__splitAreaColors=p}}}function a(e){e.__splitAreaColors=null}t.rectCoordAxisBuildSplitArea=o,t.rectCoordAxisHandleRemove=a},WXVj:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("Bqw1")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="MinusSquareOutlined";var u=o.forwardRef(l);t.default=u},WaYH:function(e,t,n){"use strict";var r=n("Ff2n"),i=n("rePB"),o=n("1OyB"),a=n("vuIU"),s=n("JX7q"),l=n("Ji7U"),u=n("md7G"),c=n("foSv"),d=n("q1tI"),h=n("TSYQ"),f=n.n(h),p=n("sboe"),g=n("OZM5"),m=function(e){var t=e.prefixCls,n=e.level,r=e.isStart,o=e.isEnd;if(!n)return null;for(var a="".concat(t,"-indent-unit"),s=[],l=0;l<n;l+=1){var u;s.push(d["createElement"]("span",{key:l,className:f()(a,(u={},Object(i["a"])(u,"".concat(a,"-start"),r[l+1]),Object(i["a"])(u,"".concat(a,"-end"),o[l+1]),u))}))}return d["createElement"]("span",{"aria-hidden":"true",className:"".concat(t,"-indent")},s)},v=m,y=n("815F");function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){Object(i["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e){var t=x();return function(){var n,r=Object(c["a"])(e);if(t){var i=Object(c["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(u["a"])(this,n)}}function x(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var C="open",S="close",O="---",k=function(e){Object(l["a"])(n,e);var t=w(n);function n(){var e;return Object(o["a"])(this,n),e=t.apply(this,arguments),e.state={dragNodeHighlight:!1},e.onSelectorClick=function(t){var n=e.props.context.onNodeClick;n(t,Object(y["b"])(e.props)),e.isSelectable()?e.onSelect(t):e.onCheck(t)},e.onSelectorDoubleClick=function(t){var n=e.props.context.onNodeDoubleClick;n(t,Object(y["b"])(e.props))},e.onSelect=function(t){if(!e.isDisabled()){var n=e.props.context.onNodeSelect;t.preventDefault(),n(t,Object(y["b"])(e.props))}},e.onCheck=function(t){if(!e.isDisabled()){var n=e.props,r=n.disableCheckbox,i=n.checked,o=e.props.context.onNodeCheck;if(e.isCheckable()&&!r){t.preventDefault();var a=!i;o(t,Object(y["b"])(e.props),a)}}},e.onMouseEnter=function(t){var n=e.props.context.onNodeMouseEnter;n(t,Object(y["b"])(e.props))},e.onMouseLeave=function(t){var n=e.props.context.onNodeMouseLeave;n(t,Object(y["b"])(e.props))},e.onContextMenu=function(t){var n=e.props.context.onNodeContextMenu;n(t,Object(y["b"])(e.props))},e.onDragStart=function(t){var n=e.props.context.onNodeDragStart;t.stopPropagation(),e.setState({dragNodeHighlight:!0}),n(t,Object(s["a"])(e));try{t.dataTransfer.setData("text/plain","")}catch(r){}},e.onDragEnter=function(t){var n=e.props.context.onNodeDragEnter;t.preventDefault(),t.stopPropagation(),n(t,Object(s["a"])(e))},e.onDragOver=function(t){var n=e.props.context.onNodeDragOver;t.preventDefault(),t.stopPropagation(),n(t,Object(s["a"])(e))},e.onDragLeave=function(t){var n=e.props.context.onNodeDragLeave;t.stopPropagation(),n(t,Object(s["a"])(e))},e.onDragEnd=function(t){var n=e.props.context.onNodeDragEnd;t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(s["a"])(e))},e.onDrop=function(t){var n=e.props.context.onNodeDrop;t.preventDefault(),t.stopPropagation(),e.setState({dragNodeHighlight:!1}),n(t,Object(s["a"])(e))},e.onExpand=function(t){var n=e.props.context.onNodeExpand;n(t,Object(y["b"])(e.props))},e.setSelectHandle=function(t){e.selectHandle=t},e.getNodeState=function(){var t=e.props.expanded;return e.isLeaf()?null:t?C:S},e.hasChildren=function(){var t=e.props.eventKey,n=e.props.context.keyEntities,r=n[t]||{},i=r.children;return!!(i||[]).length},e.isLeaf=function(){var t=e.props,n=t.isLeaf,r=t.loaded,i=e.props.context.loadData,o=e.hasChildren();return!1!==n&&(n||!i&&!o||i&&r&&!o)},e.isDisabled=function(){var t=e.props.disabled,n=e.props.context.disabled;return!(!n&&!t)},e.isCheckable=function(){var t=e.props.checkable,n=e.props.context.checkable;return!(!n||!1===t)&&n},e.syncLoadData=function(t){var n=t.expanded,r=t.loading,i=t.loaded,o=e.props.context,a=o.loadData,s=o.onNodeLoad;r||a&&n&&!e.isLeaf()&&(e.hasChildren()||i||s(Object(y["b"])(e.props)))},e.renderSwitcher=function(){var t=e.props,n=t.expanded,r=t.switcherIcon,i=e.props.context,o=i.prefixCls,a=i.switcherIcon,s=r||a;if(e.isLeaf())return d["createElement"]("span",{className:f()("".concat(o,"-switcher"),"".concat(o,"-switcher-noop"))},"function"===typeof s?s(_(_({},e.props),{},{isLeaf:!0})):s);var l=f()("".concat(o,"-switcher"),"".concat(o,"-switcher_").concat(n?C:S));return d["createElement"]("span",{onClick:e.onExpand,className:l},"function"===typeof s?s(_(_({},e.props),{},{isLeaf:!1})):s)},e.renderCheckbox=function(){var t=e.props,n=t.checked,r=t.halfChecked,i=t.disableCheckbox,o=e.props.context.prefixCls,a=e.isDisabled(),s=e.isCheckable();if(!s)return null;var l="boolean"!==typeof s?s:null;return d["createElement"]("span",{className:f()("".concat(o,"-checkbox"),n&&"".concat(o,"-checkbox-checked"),!n&&r&&"".concat(o,"-checkbox-indeterminate"),(a||i)&&"".concat(o,"-checkbox-disabled")),onClick:e.onCheck},l)},e.renderIcon=function(){var t=e.props.loading,n=e.props.context.prefixCls;return d["createElement"]("span",{className:f()("".concat(n,"-iconEle"),"".concat(n,"-icon__").concat(e.getNodeState()||"docu"),t&&"".concat(n,"-icon_loading"))})},e.renderSelector=function(){var t,n=e.state.dragNodeHighlight,r=e.props,i=r.title,o=r.selected,a=r.icon,s=r.loading,l=r.data,u=e.props.context,c=u.prefixCls,h=u.showIcon,p=u.icon,g=u.draggable,m=u.loadData,v=e.isDisabled(),y="".concat(c,"-node-content-wrapper");if(h){var b=a||p;t=b?d["createElement"]("span",{className:f()("".concat(c,"-iconEle"),"".concat(c,"-icon__customize"))},"function"===typeof b?b(e.props):b):e.renderIcon()}else m&&s&&(t=e.renderIcon());var _=d["createElement"]("span",{className:"".concat(c,"-title")},"function"===typeof i?i(l):i);return d["createElement"]("span",{ref:e.setSelectHandle,title:"string"===typeof i?i:"",className:f()("".concat(y),"".concat(y,"-").concat(e.getNodeState()||"normal"),!v&&(o||n)&&"".concat(c,"-node-selected"),!v&&g&&"draggable"),draggable:!v&&g||void 0,"aria-grabbed":!v&&g||void 0,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onContextMenu:e.onContextMenu,onClick:e.onSelectorClick,onDoubleClick:e.onSelectorDoubleClick,onDragStart:g?e.onDragStart:void 0},t,_)},e}return Object(a["a"])(n,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var e=this.props.selectable,t=this.props.context.selectable;return"boolean"===typeof e?e:t}},{key:"render",value:function(){var e,t=this.props,n=t.eventKey,o=t.className,a=t.style,s=t.dragOver,l=t.dragOverGapTop,u=t.dragOverGapBottom,c=t.isLeaf,h=t.isStart,p=t.isEnd,m=t.expanded,b=t.selected,_=t.checked,w=t.halfChecked,x=t.loading,C=t.domRef,S=t.active,O=t.onMouseMove,k=Object(r["a"])(t,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),E=this.props.context,D=E.prefixCls,M=E.filterTreeNode,N=E.draggable,L=E.keyEntities,I=this.isDisabled(),T=Object(g["f"])(k),P=L[n]||{},A=P.level;return d["createElement"]("div",Object.assign({ref:C,className:f()(o,"".concat(D,"-treenode"),(e={},Object(i["a"])(e,"".concat(D,"-treenode-disabled"),I),Object(i["a"])(e,"".concat(D,"-treenode-switcher-").concat(m?"open":"close"),!c),Object(i["a"])(e,"".concat(D,"-treenode-checkbox-checked"),_),Object(i["a"])(e,"".concat(D,"-treenode-checkbox-indeterminate"),w),Object(i["a"])(e,"".concat(D,"-treenode-selected"),b),Object(i["a"])(e,"".concat(D,"-treenode-loading"),x),Object(i["a"])(e,"".concat(D,"-treenode-active"),S),Object(i["a"])(e,"drag-over",!I&&s),Object(i["a"])(e,"drag-over-gap-top",!I&&l),Object(i["a"])(e,"drag-over-gap-bottom",!I&&u),Object(i["a"])(e,"filter-node",M&&M(Object(y["b"])(this.props))),e)),style:a,onDragEnter:N?this.onDragEnter:void 0,onDragOver:N?this.onDragOver:void 0,onDragLeave:N?this.onDragLeave:void 0,onDrop:N?this.onDrop:void 0,onDragEnd:N?this.onDragEnd:void 0,onMouseMove:O},T),d["createElement"](v,{prefixCls:D,level:A,isStart:h,isEnd:p}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),n}(d["Component"]),E=function(e){return d["createElement"](p["a"].Consumer,null,(function(t){return d["createElement"](k,Object.assign({},e,{context:t}))}))};E.displayName="TreeNode",E.defaultProps={title:O},E.isTreeNode=1;t["a"]=E},WqXY:function(e,t,n){"use strict";n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return v})),n.d(t,"a",(function(){return b}));n("yEoX");var r=n("MNsG"),i=n("3/fG"),o=n("pmY6"),a=n("8HAY"),s=n("EffR"),l=n("746U"),u=n("pg8w"),c=n("uDWl"),d=n("MI8n"),h=n("ZQ78"),f=n("D3Dy"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e){function t(t,n,r){var i=e.call(this)||this;return i.options=r,i._context=t||i,i._action=n,n instanceof a["a"]&&i._register(n.onDidChange((function(e){i.element&&i.handleActionChangeEvent(e)}))),i}return p(t,e),t.prototype.handleActionChangeEvent=function(e){void 0!==e.enabled&&this.updateEnabled(),void 0!==e.checked&&this.updateChecked(),void 0!==e.class&&this.updateClass(),void 0!==e.label&&(this.updateLabel(),this.updateTooltip()),void 0!==e.tooltip&&this.updateTooltip()},Object.defineProperty(t.prototype,"actionRunner",{get:function(){return this._actionRunner||(this._actionRunner=this._register(new a["b"])),this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),t.prototype.getAction=function(){return this._action},t.prototype.isEnabled=function(){return this._action.enabled},t.prototype.setActionContext=function(e){this._context=e},t.prototype.render=function(e){var t=this,n=this.element=e;this._register(u["b"].addTarget(e));var i=this.options&&this.options.draggable;i&&(e.draggable=!0,f["h"]&&this._register(s["i"](e,s["c"].DRAG_START,(function(e){var n;return null===(n=e.dataTransfer)||void 0===n?void 0:n.setData(h["a"].TEXT,t._action.label)})))),this._register(s["i"](n,u["a"].Tap,(function(e){return t.onClick(e)}))),this._register(s["i"](n,s["c"].MOUSE_DOWN,(function(e){i||s["b"].stop(e,!0),t._action.enabled&&0===e.button&&s["e"](n,"active")}))),this._register(s["i"](n,s["c"].CLICK,(function(e){s["b"].stop(e,!0),t.options&&t.options.isMenu?t.onClick(e):r["i"]((function(){return t.onClick(e)}))}))),this._register(s["i"](n,s["c"].DBLCLICK,(function(e){s["b"].stop(e,!0)}))),[s["c"].MOUSE_UP,s["c"].MOUSE_OUT].forEach((function(e){t._register(s["i"](n,e,(function(e){s["b"].stop(e),s["O"](n,"active")})))}))},t.prototype.onClick=function(e){var t;s["b"].stop(e,!0),l["l"](this._context)?t=e:(t=this._context,l["i"](t)&&(t.event=e)),this.actionRunner.run(this._action,t)},t.prototype.focus=function(){this.element&&(this.element.focus(),s["e"](this.element,"focused"))},t.prototype.blur=function(){this.element&&(this.element.blur(),s["O"](this.element,"focused"))},t.prototype.updateEnabled=function(){},t.prototype.updateLabel=function(){},t.prototype.updateTooltip=function(){},t.prototype.updateClass=function(){},t.prototype.updateChecked=function(){},t.prototype.dispose=function(){this.element&&(s["Q"](this.element),this.element=void 0),e.prototype.dispose.call(this)},t}(o["a"]),m=function(e){function t(n){var r=e.call(this,t.ID,n,n?"separator text":"separator")||this;return r.checked=!1,r.enabled=!1,r}return p(t,e),t.ID="vs.actions.separator",t}(a["a"]),v=function(e){function t(t,n,r){void 0===r&&(r={});var i=e.call(this,t,n,r)||this;return i.options=r,i.options.icon=void 0!==r.icon&&r.icon,i.options.label=void 0===r.label||r.label,i.cssClass="",i}return p(t,e),t.prototype.render=function(t){e.prototype.render.call(this,t),this.element&&(this.label=s["p"](this.element,s["a"]("a.action-label"))),this.label&&(this._action.id===m.ID?this.label.setAttribute("role","presentation"):this.options.isMenu?this.label.setAttribute("role","menuitem"):this.label.setAttribute("role","button")),this.options.label&&this.options.keybinding&&this.element&&(s["p"](this.element,s["a"]("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},t.prototype.focus=function(){e.prototype.focus.call(this),this.label&&this.label.focus()},t.prototype.updateLabel=function(){this.options.label&&this.label&&(this.label.textContent=this.getAction().label)},t.prototype.updateTooltip=function(){var e=null;this.getAction().tooltip?e=this.getAction().tooltip:!this.options.label&&this.getAction().label&&this.options.icon&&(e=this.getAction().label,this.options.keybinding&&(e=i["a"]({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&this.label&&(this.label.title=e)},t.prototype.updateClass=function(){this.cssClass&&this.label&&s["P"](this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,this.label&&(s["e"](this.label,"codicon"),this.cssClass&&s["f"](this.label,this.cssClass)),this.updateEnabled()):this.label&&s["O"](this.label,"codicon")},t.prototype.updateEnabled=function(){this.getAction().enabled?(this.label&&(this.label.removeAttribute("aria-disabled"),s["O"](this.label,"disabled"),this.label.tabIndex=0),this.element&&s["O"](this.element,"disabled")):(this.label&&(this.label.setAttribute("aria-disabled","true"),s["e"](this.label,"disabled"),s["R"](this.label)),this.element&&s["e"](this.element,"disabled"))},t.prototype.updateChecked=function(){this.label&&(this.getAction().checked?s["e"](this.label,"checked"):s["O"](this.label,"checked"))},t}(g),y={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},b=function(e){function t(t,n){void 0===n&&(n=y);var r,i,o=e.call(this)||this;switch(o._onDidBlur=o._register(new d["a"]),o.onDidBlur=o._onDidBlur.event,o._onDidCancel=o._register(new d["a"]),o.onDidCancel=o._onDidCancel.event,o._onDidRun=o._register(new d["a"]),o.onDidRun=o._onDidRun.event,o._onDidBeforeRun=o._register(new d["a"]),o.onDidBeforeRun=o._onDidBeforeRun.event,o.options=n,o._context=n.context,o.options.triggerKeys||(o.options.triggerKeys=y.triggerKeys),o.options.actionRunner?o._actionRunner=o.options.actionRunner:(o._actionRunner=new a["b"],o._register(o._actionRunner)),o._register(o._actionRunner.onDidRun((function(e){return o._onDidRun.fire(e)}))),o._register(o._actionRunner.onDidBeforeRun((function(e){return o._onDidBeforeRun.fire(e)}))),o.viewItems=[],o.focusedItem=void 0,o.domNode=document.createElement("div"),o.domNode.className="monaco-action-bar",!1!==n.animated&&s["e"](o.domNode,"animated"),o.options.orientation){case 0:r=15,i=17;break;case 1:r=17,i=15,o.domNode.className+=" reverse";break;case 2:r=16,i=18,o.domNode.className+=" vertical";break;case 3:r=18,i=16,o.domNode.className+=" vertical reverse";break}return o._register(s["i"](o.domNode,s["c"].KEY_DOWN,(function(e){var t=new c["a"](e),n=!0;t.equals(r)?o.focusPrevious():t.equals(i)?o.focusNext():t.equals(9)?o.cancel():o.isTriggerKeyEvent(t)?o.options.triggerKeys&&o.options.triggerKeys.keyDown&&o.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())}))),o._register(s["i"](o.domNode,s["c"].KEY_UP,(function(e){var t=new c["a"](e);o.isTriggerKeyEvent(t)?(o.options.triggerKeys&&!o.options.triggerKeys.keyDown&&o.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&o.updateFocusedItem()}))),o.focusTracker=o._register(s["Y"](o.domNode)),o._register(o.focusTracker.onDidBlur((function(){document.activeElement!==o.domNode&&s["J"](document.activeElement,o.domNode)||(o._onDidBlur.fire(),o.focusedItem=void 0)}))),o._register(o.focusTracker.onDidFocus((function(){return o.updateFocusedItem()}))),o.actionsList=document.createElement("ul"),o.actionsList.className="actions-container",o.actionsList.setAttribute("role","toolbar"),o.options.ariaLabel&&o.actionsList.setAttribute("aria-label",o.options.ariaLabel),o.domNode.appendChild(o.actionsList),t.appendChild(o.domNode),o}return p(t,e),t.prototype.isTriggerKeyEvent=function(e){var t=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach((function(n){t=t||e.equals(n)})),t},t.prototype.updateFocusedItem=function(){for(var e=0;e<this.actionsList.children.length;e++){var t=this.actionsList.children[e];if(s["J"](document.activeElement,t)){this.focusedItem=e;break}}},Object.defineProperty(t.prototype,"context",{get:function(){return this._context},set:function(e){this._context=e,this.viewItems.forEach((function(t){return t.setActionContext(e)}))},enumerable:!0,configurable:!0}),t.prototype.getContainer=function(){return this.domNode},t.prototype.push=function(e,t){var n=this;void 0===t&&(t={});var r=Array.isArray(e)?e:[e],i=l["h"](t.index)?t.index:null;r.forEach((function(e){var r,o=document.createElement("li");o.className="action-item",o.setAttribute("role","presentation"),n._register(s["i"](o,s["c"].CONTEXT_MENU,(function(e){e.preventDefault(),e.stopPropagation()}))),n.options.actionViewItemProvider&&(r=n.options.actionViewItemProvider(e)),r||(r=new v(n.context,e,t)),r.actionRunner=n._actionRunner,r.setActionContext(n.context),r.render(o),null===i||i<0||i>=n.actionsList.children.length?(n.actionsList.appendChild(o),n.viewItems.push(r)):(n.actionsList.insertBefore(o,n.actionsList.children[i]),n.viewItems.splice(i,0,r),i++)}))},t.prototype.clear=function(){this.viewItems=Object(o["f"])(this.viewItems),s["s"](this.actionsList)},t.prototype.isEmpty=function(){return 0===this.viewItems.length},t.prototype.focus=function(e){var t=!1,n=void 0;void 0===e?t=!0:"number"===typeof e?n=e:"boolean"===typeof e&&(t=e),t&&"undefined"===typeof this.focusedItem?(this.focusedItem=this.viewItems.length-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())},t.prototype.focusNext=function(){"undefined"===typeof this.focusedItem&&(this.focusedItem=this.viewItems.length-1);var e,t=this.focusedItem;do{this.focusedItem=(this.focusedItem+1)%this.viewItems.length,e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},t.prototype.focusPrevious=function(){"undefined"===typeof this.focusedItem&&(this.focusedItem=0);var e,t=this.focusedItem;do{this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.viewItems.length-1),e=this.viewItems[this.focusedItem]}while(this.focusedItem!==t&&!e.isEnabled());this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},t.prototype.updateFocus=function(e,t){"undefined"===typeof this.focusedItem&&this.actionsList.focus({preventScroll:t});for(var n=0;n<this.viewItems.length;n++){var r=this.viewItems[n],i=r;n===this.focusedItem?l["g"](i.isEnabled)&&(i.isEnabled()&&l["g"](i.focus)?i.focus(e):this.actionsList.focus({preventScroll:t})):l["g"](i.blur)&&i.blur()}},t.prototype.doTrigger=function(e){if("undefined"!==typeof this.focusedItem){var t=this.viewItems[this.focusedItem];if(t instanceof g){var n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}},t.prototype.cancel=function(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this._onDidCancel.fire()},t.prototype.run=function(e,t){return this._actionRunner.run(e,t)},t.prototype.dispose=function(){Object(o["f"])(this.viewItems),this.viewItems=[],s["Q"](this.getContainer()),e.prototype.dispose.call(this)},t}(o["a"])},Wqna:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.isObject,a=i.each,s=i.map,l=i.indexOf,u=(i.retrieve,n("+TT/")),c=u.getLayoutRect,d=n("aX7z"),h=d.createScaleByModel,f=d.ifAxisCrossZero,p=d.niceScaleExtent,g=d.estimateLabelUnionRect,m=n("y+lR"),v=n("7AJT"),y=n("IDmD"),b=n("7hqr"),_=b.getStackedDimension;function w(e,t,n){return e.getCoordSysModel()===t}function x(e,t,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(e,t,n),this.model=e}n("jtI2");var C=x.prototype;function S(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t],a=n.model,s=a.get("axisLine.onZero"),l=a.get("axisLine.onZeroAxisIndex");if(s){if(null!=l)O(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&O(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(e){return e.dim+"_"+e.index}}function O(e){return e&&"category"!==e.type&&"time"!==e.type&&f(e)}function k(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord="x"===e.dim?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord="x"===e.dim?function(e){return e-t}:function(e){return r-e+t}}C.type="grid",C.axisPointerEnabled=!0,C.getRect=function(){return this._rect},C.update=function(e,t){var n=this._axesMap;this._updateScale(e,this.model),a(n.x,(function(e){p(e.scale,e.model)})),a(n.y,(function(e){p(e.scale,e.model)}));var r={};a(n.x,(function(e){S(n,"y",e,r)})),a(n.y,(function(e){S(n,"x",e,r)})),this.resize(this.model,t)},C.resize=function(e,t,n){var r=c(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()});this._rect=r;var i=this._axesList;function o(){a(i,(function(e){var t=e.isHorizontal(),n=t?[0,r.width]:[0,r.height],i=e.inverse?1:0;e.setExtent(n[i],n[1-i]),k(e,t?r.x:r.y)}))}o(),!n&&e.get("containLabel")&&(a(i,(function(e){if(!e.model.get("axisLabel.inside")){var t=g(e);if(t){var n=e.isHorizontal()?"height":"width",i=e.model.get("axisLabel.margin");r[n]-=t[n]+i,"top"===e.position?r.y+=t.height+i:"left"===e.position&&(r.x+=t.width+i)}}})),o())},C.getAxis=function(e,t){var n=this._axesMap[e];if(null!=n){if(null==t)for(var r in n)if(n.hasOwnProperty(r))return n[r];return n[t]}},C.getAxes=function(){return this._axesList.slice()},C.getCartesian=function(e,t){if(null!=e&&null!=t){var n="x"+e+"y"+t;return this._coordsMap[n]}o(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===e||i[r].getAxis("y").index===t)return i[r]},C.getCartesians=function(){return this._coordsList.slice()},C.convertToPixel=function(e,t,n){var r=this._findConvertTarget(e,t);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},C.convertFromPixel=function(e,t,n){var r=this._findConvertTarget(e,t);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},C._findConvertTarget=function(e,t){var n,r,i=t.seriesModel,o=t.xAxisModel||i&&i.getReferringComponents("xAxis")[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis")[0],s=t.gridModel,u=this._coordsList;if(i)n=i.coordinateSystem,l(u,n)<0&&(n=null);else if(o&&a)n=this.getCartesian(o.componentIndex,a.componentIndex);else if(o)r=this.getAxis("x",o.componentIndex);else if(a)r=this.getAxis("y",a.componentIndex);else if(s){var c=s.coordinateSystem;c===this&&(n=this._coordsList[0])}return{cartesian:n,axis:r}},C.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},C._initCartesian=function(e,t,n){var r={left:!1,right:!1,top:!1,bottom:!1},i={x:{},y:{}},o={x:0,y:0};if(t.eachComponent("xAxis",s("x"),this),t.eachComponent("yAxis",s("y"),this),!o.x||!o.y)return this._axesMap={},void(this._axesList=[]);function s(n){return function(a,s){if(w(a,e,t)){var l=a.get("position");"x"===n?"top"!==l&&"bottom"!==l&&(l=r.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=r.left?"right":"left"),r[l]=!0;var u=new v(n,h(a),[0,0],a.get("type"),l),c="category"===u.type;u.onBand=c&&a.get("boundaryGap"),u.inverse=a.get("inverse"),a.axis=u,u.model=a,u.grid=this,u.index=s,this._axesList.push(u),i[n][s]=u,o[n]++}}}this._axesMap=i,a(i.x,(function(t,n){a(i.y,(function(r,i){var o="x"+n+"y"+i,a=new m(o);a.grid=this,a.model=e,this._coordsMap[o]=a,this._coordsList.push(a),a.addAxis(t),a.addAxis(r)}),this)}),this)},C._updateScale=function(e,t){function n(e,t,n){a(e.mapDimension(t.dim,!0),(function(n){t.scale.unionExtentFromData(e,_(e,n))}))}a(this._axesList,(function(e){e.scale.setExtent(1/0,-1/0)})),e.eachSeries((function(r){if(M(r)){var i=D(r,e),o=i[0],a=i[1];if(!w(o,t,e)||!w(a,t,e))return;var s=this.getCartesian(o.componentIndex,a.componentIndex),l=r.getData(),u=s.getAxis("x"),c=s.getAxis("y");"list"===l.type&&(n(l,u,r),n(l,c,r))}}),this)},C.getTooltipAxes=function(e){var t=[],n=[];return a(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis(),o=r.getOtherAxis(i);l(t,i)<0&&t.push(i),l(n,o)<0&&n.push(o)})),{baseAxes:t,otherAxes:n}};var E=["xAxis","yAxis"];function D(e,t){return s(E,(function(t){var n=e.getReferringComponents(t)[0];return n}))}function M(e){return"cartesian2d"===e.get("coordinateSystem")}x.create=function(e,t){var n=[];return e.eachComponent("grid",(function(r,i){var o=new x(r,e,t);o.name="grid_"+i,o.resize(r,t,!0),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(t){if(M(t)){var n=D(t,e),r=n[0],i=n[1],o=r.getCoordSysModel(),a=o.coordinateSystem;t.coordinateSystem=a.getCartesian(r.componentIndex,i.componentIndex)}})),n},x.dimensions=x.prototype.dimensions=m.prototype.dimensions,y.register("cartesian2d",x);var N=x;e.exports=N},"X+cX":function(e,t,n){"use strict";n.d(t,"i",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"k",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return h})),n.d(t,"e",(function(){return p})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return v}));var r=n("JQT/"),i=n("/cxE"),o=n("pmY6");function a(e){return e&&"function"===typeof e.then}function s(e){var t=new r["b"],n=e(t.token),o=new Promise((function(e,r){t.token.onCancellationRequested((function(){r(i["a"]())})),Promise.resolve(n).then((function(n){t.dispose(),e(n)}),(function(e){t.dispose(),r(e)}))}));return new(function(){function e(){}return e.prototype.cancel=function(){t.cancel()},e.prototype.then=function(e,t){return o.then(e,t)},e.prototype.catch=function(e){return this.then(void 0,e)},e.prototype.finally=function(e){return o.finally(e)},e}())}function l(e,t,n){return Promise.race([e,new Promise((function(e){return t.onCancellationRequested((function(){return e(n)}))}))])}var u=function(){function e(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}return e.prototype.trigger=function(e,t){var n=this;return void 0===t&&(t=this.defaultDelay),this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((function(e,t){n.doResolve=e,n.doReject=t})).then((function(){if(n.completionPromise=null,n.doResolve=null,n.task){var e=n.task;return n.task=null,e()}}))),this.timeout=setTimeout((function(){n.timeout=null,n.doResolve&&n.doResolve(null)}),t),this.completionPromise},e.prototype.isTriggered=function(){return null!==this.timeout},e.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(i["a"]()),this.completionPromise=null)},e.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},e.prototype.dispose=function(){this.cancelTimeout()},e}();function c(e,t){return t?new Promise((function(n,r){var o=setTimeout(n,e);t.onCancellationRequested((function(){clearTimeout(o),r(i["a"]())}))})):s((function(t){return c(e,t)}))}function d(e,t){void 0===t&&(t=0);var n=setTimeout(e,t);return Object(o["h"])((function(){return clearTimeout(n)}))}function h(e,t,n){void 0===t&&(t=function(e){return!!e}),void 0===n&&(n=null);var r=0,i=e.length,o=function(){if(r>=i)return Promise.resolve(n);var a=e[r++],s=Promise.resolve(a());return s.then((function(e){return t(e)?Promise.resolve(e):o()}))};return o()}var f,p=function(){function e(e,t){this._token=-1,"function"===typeof e&&"number"===typeof t&&this.setIfNotSet(e,t)}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout((function(){n._token=-1,e()}),t)},e.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout((function(){n._token=-1,e()}),t))},e}(),g=function(){function e(){this._token=-1}return e.prototype.dispose=function(){this.cancel()},e.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},e.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval((function(){e()}),t)},e}(),m=function(){function e(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}return e.prototype.dispose=function(){this.cancel(),this.runner=null},e.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},e.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},e.prototype.isScheduled=function(){return-1!==this.timeoutToken},e.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},e.prototype.doRun=function(){this.runner&&this.runner()},e}();(function(){if("function"!==typeof requestIdleCallback||"function"!==typeof cancelIdleCallback){var e=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});f=function(t){var n=setTimeout((function(){return t(e)})),r=!1;return{dispose:function(){r||(r=!0,clearTimeout(n))}}}}else f=function(e,t){var n=requestIdleCallback(e,"number"===typeof t?{timeout:t}:void 0),r=!1;return{dispose:function(){r||(r=!0,cancelIdleCallback(n))}}}})();var v=function(){function e(e){var t=this;this._didRun=!1,this._executor=function(){try{t._value=e()}catch(n){t._error=n}finally{t._didRun=!0}},this._handle=f((function(){return t._executor()}))}return e.prototype.dispose=function(){this._handle.dispose()},e.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value},e}()},"X+im":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("KQeH")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="DownloadOutlined";var u=o.forwardRef(l);t.default=u},"X2/X":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"};t.default=r},XAae:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("hwYd"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},XBQK:function(e,t,n){"use strict";var r=n("q1tI"),i=n("eDIo"),o=n("TSYQ"),a=n.n(o),s=n("fEPi"),l=n.n(s),u=n("cCPh"),c=n.n(u),d=n("2/Rp"),h=n("H84U");function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){return b(e)||y(e,t)||m(e,t)||g()}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function b(e){if(Array.isArray(e))return e}var _=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},w=d["a"].Group,x=function(e){var t=r["useContext"](h["b"]),n=t.getPopupContainer,i=t.getPrefixCls,o=t.direction,s=e.prefixCls,l=e.type,u=e.disabled,g=e.onClick,m=e.htmlType,v=e.children,y=e.className,b=e.overlay,x=e.trigger,C=e.align,S=e.visible,O=e.onVisibleChange,k=e.placement,E=e.getPopupContainer,D=e.href,M=e.icon,L=void 0===M?r["createElement"](c.a,null):M,I=e.title,T=e.buttonsRender,P=_(e,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title","buttonsRender"]),A=i("dropdown-button",s),R={align:C,overlay:b,disabled:u,trigger:u?[]:x,onVisibleChange:O,getPopupContainer:E||n};"visible"in e&&(R.visible=S),R.placement="placement"in e?k:"rtl"===o?"bottomLeft":"bottomRight";var j=r["createElement"](d["a"],{type:l,disabled:u,onClick:g,htmlType:m,href:D,title:I},v),F=r["createElement"](d["a"],{type:l,icon:L}),B=T([j,F]),V=p(B,2),z=V[0],W=V[1];return r["createElement"](w,f({},P,{className:a()(A,y)}),z,r["createElement"](N,R,W))};x.__ANT_BUTTON=!0,x.defaultProps={type:"default",buttonsRender:function(e){return e}};var C=x,S=n("uaoM"),O=n("CWQg"),k=n("0n0R");function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(O["a"])("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var M=function(e){var t,n=r["useContext"](h["b"]),o=n.getPopupContainer,s=n.getPrefixCls,u=n.direction,c=function(){var t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"},d=function(t){var n,i=e.overlay;n="function"===typeof i?i():i,n=r["Children"].only("string"===typeof n?r["createElement"]("span",null,"overlayNode"):n);var o=n.props;Object(S["a"])(!o.mode||"vertical"===o.mode,"Dropdown",'mode="'.concat(o.mode,"\" is not supported for Dropdown's Menu."));var a=o.selectable,s=void 0!==a&&a,u=o.focusable,c=void 0===u||u,d=r["createElement"]("span",{className:"".concat(t,"-menu-submenu-arrow")},r["createElement"](l.a,{className:"".concat(t,"-menu-submenu-arrow-icon")})),h="string"===typeof n.type?n:Object(k["a"])(n,{mode:"vertical",selectable:s,focusable:c,expandIcon:d});return h},f=function(){var t=e.placement;return void 0!==t?t:"rtl"===u?"bottomRight":"bottomLeft"},p=e.prefixCls,g=e.children,m=e.trigger,v=e.disabled,y=e.getPopupContainer,b=e.overlayClassName,_=s("dropdown",p),w=r["Children"].only(g),x=Object(k["a"])(w,{className:a()(w.props.className,"".concat(_,"-trigger"),D({},"".concat(_,"-rtl"),"rtl"===u)),disabled:v}),C=a()(b,D({},"".concat(_,"-rtl"),"rtl"===u)),O=v?[]:m;return O&&-1!==O.indexOf("contextMenu")&&(t=!0),r["createElement"](i["a"],E({alignPoint:t},e,{overlayClassName:C,prefixCls:_,getPopupContainer:y||o,transitionName:c(),trigger:O,overlay:function(){return d(_)},placement:f()}),x)};M.Button=C,M.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var N=t["a"]=M},XNtB:function(e,t,n){},XOKv:function(e,t,n){n("OXB0"),n("SA4+")},XQgg:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return n.e(209).then(n.bind(null,"/0xJ"))}})},XSiN:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var r=n("D3Dy"),i=n("51f4"),o=n("MNsG"),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(){function e(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,this.buttons=e.buttons,this.target=e.target,this.detail=e.detail||1,"dblclick"===e.type&&(this.detail=2),this.ctrlKey=e.ctrlKey,this.shiftKey=e.shiftKey,this.altKey=e.altKey,this.metaKey=e.metaKey,"number"===typeof e.pageX?(this.posx=e.pageX,this.posy=e.pageY):(this.posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop);var t=i["a"].getPositionOfChildWindowRelativeToAncestorWindow(self,e.view);this.posx-=t.left,this.posy-=t.top}return e.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}(),l=(function(e){function t(t){var n=e.call(this,t)||this;return n.dataTransfer=t.dataTransfer,n}a(t,e)}(s),function(){function e(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),this.browserEvent=e||null,this.target=e?e.target||e.targetNode||e.srcElement:null,this.deltaY=n,this.deltaX=t,e){var i=e,a=e;if("undefined"!==typeof i.wheelDeltaY)this.deltaY=i.wheelDeltaY/120;else if("undefined"!==typeof a.VERTICAL_AXIS&&a.axis===a.VERTICAL_AXIS)this.deltaY=-a.detail/3;else if("wheel"===e.type){var s=e;s.deltaMode===s.DOM_DELTA_LINE?this.deltaY=-e.deltaY:this.deltaY=-e.deltaY/40}if("undefined"!==typeof i.wheelDeltaX)r["k"]&&o["h"]?this.deltaX=-i.wheelDeltaX/120:this.deltaX=i.wheelDeltaX/120;else if("undefined"!==typeof a.HORIZONTAL_AXIS&&a.axis===a.HORIZONTAL_AXIS)this.deltaX=-e.detail/3;else if("wheel"===e.type){s=e;s.deltaMode===s.DOM_DELTA_LINE?this.deltaX=-e.deltaX:this.deltaX=-e.deltaX/40}0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e}())},XXBq:function(e,t,n){},XXUj:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("telemetryService")},Xi7e:function(e,t,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},Xmg4:function(e,t,n){var r=n("bYtY"),i=n("LPTA"),o=i.devicePixelRatio,a=n("K2GJ"),s=n("3C/r");function l(){return!1}function u(e,t,n){var i=r.createCanvas(),o=t.getWidth(),a=t.getHeight(),s=i.style;return s&&(s.position="absolute",s.left=0,s.top=0,s.width=o+"px",s.height=a+"px",i.setAttribute("data-zr-dom-id",e)),i.width=o*n,i.height=a*n,i}var c=function(e,t,n){var i;n=n||o,"string"===typeof e?i=u(e,t,n):r.isObject(e)&&(i=e,e=i.id),this.id=e,this.dom=i;var a=i.style;a&&(i.onselectstart=l,a["-webkit-user-select"]="none",a["user-select"]="none",a["-webkit-touch-callout"]="none",a["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",a["padding"]=0,a["margin"]=0,a["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=t,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};c.prototype={constructor:c,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var e=this.dpr;this.domBack=u("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},resize:function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n&&this.ctxBack.scale(n,n))},clear:function(e,t){var n,r=this.dom,i=this.ctx,o=r.width,l=r.height,u=(t=t||this.clearColor,this.motionBlur&&!e),c=this.lastFrameAlpha,d=this.dpr;(u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/d,l/d)),i.clearRect(0,0,o,l),t&&"transparent"!==t)&&(t.colorStops?(n=t.__canvasGradient||a.getGradient(i,t,{x:0,y:0,width:o,height:l}),t.__canvasGradient=n):t.image&&(n=s.prototype.getCanvasPattern.call(t,i)),i.save(),i.fillStyle=n||t,i.fillRect(0,0,o,l),i.restore());if(u){var h=this.domBack;i.save(),i.globalAlpha=c,i.drawImage(h,0,0,o,l),i.restore()}}};var d=c;e.exports=d},Xnb7:function(e,t,n){var r=n("1RvN"),i=new r(50);function o(e){if("string"===typeof e){var t=i.get(e);return t&&t.image}return e}function a(e,t,n,r,o){if(e){if("string"===typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var a=i.get(e),u={hostEl:n,cb:r,cbPayload:o};return a?(t=a.image,!l(t)&&a.pending.push(u)):(t=new Image,t.onload=t.onerror=s,i.put(e,t.__cachedImgObj={image:t,pending:[u]}),t.src=t.__zrImageSrc=e),t}return e}return t}function s(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function l(e){return e&&e.width&&e.height}t.findExistImage=o,t.createOrUpdateImage=a,t.isImageReady=l},XpcN:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("oVpE"),s=a.createSymbol,l=n("IwbS"),u=n("eRkO"),c=u.makeBackground,d=n("+TT/"),h=o.curry,f=o.each,p=l.Group,g=i.extendComponentView({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new p),this._backgroundEl,this.group.add(this._selectorGroup=new p),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(e,t,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var i=e.get("align"),a=e.get("orient");i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(i,e,t,n,s,a,l);var u=e.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},f=e.get("padding"),p=d.getLayoutRect(u,h,f),g=this.layoutInner(e,i,p,r,s,l),m=d.getLayoutRect(o.defaults({width:g.width,height:g.height},u),h,f);this.group.attr("position",[m.x-g.x,m.y-g.y]),this.group.add(this._backgroundEl=c(g,e))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(e,t,n,r,i,a,s){var l=this.getContentGroup(),u=o.createHashMap(),c=t.get("selectedMode"),d=[];n.eachRawSeries((function(e){!e.get("legendHoverLink")&&d.push(e.id)})),f(t.getData(),(function(i,o){var a=i.get("name");if(this.newlineDisabled||""!==a&&"\n"!==a){var s=n.getSeriesByName(a)[0];if(!u.get(a))if(s){var f=s.getData(),g=f.getVisual("color"),m=f.getVisual("borderColor");"function"===typeof g&&(g=g(s.getDataParams(0))),"function"===typeof m&&(m=m(s.getDataParams(0)));var _=f.getVisual("legendSymbol")||"roundRect",w=f.getVisual("symbol"),x=this._createItem(a,o,i,t,_,w,e,g,m,c);x.on("click",h(v,a,null,r,d)).on("mouseover",h(y,s.name,null,r,d)).on("mouseout",h(b,s.name,null,r,d)),u.set(a,!0)}else n.eachRawSeries((function(n){if(!u.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var l=s.indexOfName(a),f=s.getItemVisual(l,"color"),p=s.getItemVisual(l,"borderColor"),g="roundRect",m=this._createItem(a,o,i,t,g,null,e,f,p,c);m.on("click",h(v,null,a,r,d)).on("mouseover",h(y,null,a,r,d)).on("mouseout",h(b,null,a,r,d)),u.set(a,!0)}}),this)}else l.add(new p({newline:!0}))}),this),i&&this._createSelector(i,t,r,a,s)},_createSelector:function(e,t,n,r,i){var o=this.getSelectorGroup();function a(e){var r=e.type,i=new l.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i);var a=t.getModel("selectorLabel"),s=t.getModel("emphasis.selectorLabel");l.setLabelStyle(i.style,i.hoverStyle={},a,s,{defaultText:e.title,isRectText:!1}),l.setHoverStyle(i)}f(e,(function(e){a(e)}))},_createItem:function(e,t,n,r,i,a,u,c,d,h){var f=r.get("itemWidth"),g=r.get("itemHeight"),v=r.get("inactiveColor"),y=r.get("inactiveBorderColor"),b=r.get("symbolKeepAspect"),_=r.getModel("itemStyle"),w=r.isSelected(e),x=new p,C=n.getModel("textStyle"),S=n.get("icon"),O=n.getModel("tooltip"),k=O.parentModel;i=S||i;var E=s(i,0,0,f,g,w?c:v,null==b||b);if(x.add(m(E,i,_,d,y,w)),!S&&a&&(a!==i||"none"===a)){var D=.8*g;"none"===a&&(a="circle");var M=s(a,(f-D)/2,(g-D)/2,D,D,w?c:v,null==b||b);x.add(m(M,a,_,d,y,w))}var N="left"===u?f+5:-5,L=u,I=r.get("formatter"),T=e;"string"===typeof I&&I?T=I.replace("{name}",null!=e?e:""):"function"===typeof I&&(T=I(e)),x.add(new l.Text({style:l.setTextStyle({},C,{text:T,x:N,y:g/2,textFill:w?C.getTextColor():v,textAlign:L,textVerticalAlign:"middle"})}));var P=new l.Rect({shape:x.getBoundingRect(),invisible:!0,tooltip:O.get("show")?o.extend({content:e,formatter:k.get("formatter",!0)||function(){return e},formatterParams:{componentType:"legend",legendIndex:r.componentIndex,name:e,$vars:["name"]}},O.option):null});return x.add(P),x.eachChild((function(e){e.silent=!0})),P.silent=!h,this.getContentGroup().add(x),l.setHoverStyle(x),x.__legendDataIndex=t,x},layoutInner:function(e,t,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();d.box(e.get("orient"),a,e.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(i){d.box("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],f=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",m=0===p?"height":"width",v=0===p?"y":"x";"end"===o?h[p]+=l[g]+f:u[p]+=c[g]+f,h[1-p]+=l[m]/2-c[m]/2,s.attr("position",h),a.attr("position",u);var y={x:0,y:0};return y[g]=l[g]+f+c[g],y[m]=Math.max(l[m],c[m]),y[v]=Math.min(0,c[v]+h[1-p]),y}return a.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function m(e,t,n,r,i,o){var a;return"line"!==t&&t.indexOf("empty")<0?(a=n.getItemStyle(),e.style.stroke=r,o||(a.stroke=i)):a=n.getItemStyle(["borderWidth","borderColor"]),e.setStyle(a)}function v(e,t,n,r){b(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),y(e,t,n,r)}function y(e,t,n,r){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function b(e,t,n,r){var i=n.getZr().storage.getDisplayList()[0];i&&i.useHoverLayer||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}e.exports=g},XuBP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};t.default=r},XxSj:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("OELB"),a=o.linearMap,s=r.each,l=r.isObject,u=-1,c=function(e){var t=e.mappingMethod,n=e.type,i=this.option=r.clone(e);this.type=n,this.mappingMethod=t,this._normalizeData=C[t];var o=d[n];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._doMap=o._doMap[t],"piecewise"===t?(p(i),h(i)):"category"===t?i.categories?f(i):p(i,!0):(r.assert("linear"!==t||i.dataExtent),p(i))};c.prototype={constructor:c,mapValueToVisual:function(e){var t=this._normalizeData(e);return this._doMap(t,e)},getNormalizer:function(){return r.bind(this._normalizeData,this)}};var d=c.visualHandlers={color:{applyVisual:v("color"),getColorMapper:function(){var e=this.option;return r.bind("category"===e.mappingMethod?function(e,t){return!t&&(e=this._normalizeData(e)),y.call(this,e)}:function(t,n,r){var o=!!r;return!n&&(t=this._normalizeData(t)),r=i.fastLerp(t,e.parsedVisual,r),o?r:i.stringify(r,"rgba")},this)},_doMap:{linear:function(e){return i.stringify(i.fastLerp(e,this.option.parsedVisual),"rgba")},category:y,piecewise:function(e,t){var n=w.call(this,t);return null==n&&(n=i.stringify(i.fastLerp(e,this.option.parsedVisual),"rgba")),n},fixed:b}},colorHue:g((function(e,t){return i.modifyHSL(e,t)})),colorSaturation:g((function(e,t){return i.modifyHSL(e,null,t)})),colorLightness:g((function(e,t){return i.modifyHSL(e,null,null,t)})),colorAlpha:g((function(e,t){return i.modifyAlpha(e,t)})),opacity:{applyVisual:v("opacity"),_doMap:_([0,1])},liftZ:{applyVisual:v("liftZ"),_doMap:{linear:b,category:b,piecewise:b,fixed:b}},symbol:{applyVisual:function(e,t,n){var i=this.mapValueToVisual(e);if(r.isString(i))n("symbol",i);else if(l(i))for(var o in i)i.hasOwnProperty(o)&&n(o,i[o])},_doMap:{linear:m,category:y,piecewise:function(e,t){var n=w.call(this,t);return null==n&&(n=m.call(this,e)),n},fixed:b}},symbolSize:{applyVisual:v("symbolSize"),_doMap:_([0,1])}};function h(e){var t=e.pieceList;e.hasSpecialVisual=!1,r.each(t,(function(t,n){t.originIndex=n,null!=t.visual&&(e.hasSpecialVisual=!0)}))}function f(e){var t=e.categories,n=e.visual,i=e.categoryMap={};if(s(t,(function(e,t){i[e]=t})),!r.isArray(n)){var o=[];r.isObject(n)?s(n,(function(e,t){var n=i[t];o[null!=n?n:u]=e})):o[u]=n,n=x(e,o)}for(var a=t.length-1;a>=0;a--)null==n[a]&&(delete i[t[a]],t.pop())}function p(e,t){var n=e.visual,i=[];r.isObject(n)?s(n,(function(e){i.push(e)})):null!=n&&i.push(n);var o={color:1,symbol:1};t||1!==i.length||o.hasOwnProperty(e.type)||(i[1]=i[0]),x(e,i)}function g(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_doMap:_([0,1])}}function m(e){var t=this.option.visual;return t[Math.round(a(e,[0,1],[0,t.length-1],!0))]||{}}function v(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function y(e){var t=this.option.visual;return t[this.option.loop&&e!==u?e%t.length:e]}function b(){return this.option.visual[0]}function _(e){return{linear:function(t){return a(t,e,this.option.visual,!0)},category:y,piecewise:function(t,n){var r=w.call(this,n);return null==r&&(r=a(t,e,this.option.visual,!0)),r},fixed:b}}function w(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=c.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function x(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=r.map(t,(function(e){return i.parse(e)}))),t}var C={linear:function(e){return a(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=c.findPieceIndex(e,t,!0);if(null!=n)return a(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?u:t},fixed:r.noop};function S(e,t,n){return e?t<=n:t<n}c.listVisualTypes=function(){var e=[];return r.each(d,(function(t,n){e.push(n)})),e},c.addVisualHandler=function(e,t){d[e]=t},c.isValidType=function(e){return d.hasOwnProperty(e)},c.eachVisual=function(e,t,n){r.isObject(e)?r.each(e,t,n):t.call(n,e)},c.mapVisual=function(e,t,n){var i,o=r.isArray(e)?[]:r.isObject(e)?{}:(i=!0,null);return c.eachVisual(e,(function(e,r){var a=t.call(n,e,r);i?o=a:o[r]=a})),o},c.retrieveVisuals=function(e){var t,n={};return e&&s(d,(function(r,i){e.hasOwnProperty(i)&&(n[i]=e[i],t=!0)})),t?n:null},c.prepareVisualTypes=function(e){if(l(e)){var t=[];s(e,(function(e,n){t.push(n)})),e=t}else{if(!r.isArray(e))return[];e=e.slice()}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},c.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},c.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||"string"===typeof s&&s===e+"")return o;n&&d(s,o)}}for(o=0,a=t.length;o<a;o++){var l=t[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(S(c[1],e,u[1]))return o}else if(u[1]===1/0){if(S(c[0],u[0],e))return o}else if(S(c[0],u[0],e)&&S(c[1],e,u[1]))return o;n&&d(u[0],o),n&&d(u[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function d(t,n){var o=Math.abs(t-e);o<i&&(i=o,r=n)}};var O=c;e.exports=O},XzQk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("KpQ+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"Y+p1":function(e,t,n){var r=n("wF/u");function i(e,t){return r(e,t)}e.exports=i},YESw:function(e,t,n){var r=n("Cwc5"),i=r(Object,"create");e.exports=i},YH21:function(e,t,n){var r=n("H6uX");t.Dispatcher=r;var i=n("ItGF"),o=n("Ze12"),a=o.isCanvasEl,s=o.transformCoordWithViewport,l="undefined"!==typeof window&&!!window.addEventListener,u=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,c=[];function d(e,t,n,r){return n=n||{},r||!i.canvasSupported?h(e,t,n):i.browser.firefox&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):h(e,t,n),n}function h(e,t,n){if(i.domSupported&&e.getBoundingClientRect){var r=t.clientX,o=t.clientY;if(a(e)){var l=e.getBoundingClientRect();return n.zrX=r-l.left,void(n.zrY=o-l.top)}if(s(c,e,r,o))return n.zrX=c[0],void(n.zrY=c[1])}n.zrX=n.zrY=0}function f(e){return e||window.event}function p(e,t,n){if(t=f(t),null!=t.zrX)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var o="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];o&&d(e,o,t,n)}else d(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var a=t.button;return null==t.which&&void 0!==a&&u.test(t.type)&&(t.which=1&a?1:2&a?3:4&a?2:0),t}function g(e,t,n,r){l?e.addEventListener(t,n,r):e.attachEvent("on"+t,n)}function m(e,t,n,r){l?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n)}var v=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function y(e){return 2===e.which||3===e.which}function b(e){return e.which>1}t.clientToLocal=d,t.getNativeEvent=f,t.normalizeEvent=p,t.addEventListener=g,t.removeEventListener=m,t.stop=v,t.isMiddleOrRightButtonOnMouseUpDown=y,t.notLeftMouse=b},YNAk:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("QyFq")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="CaretDownFilled";var u=o.forwardRef(l);t.default=u},YNf1:function(e,t,n){var r=n("IwbS"),i=n("6Ic6"),o=.3,a=i.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,i){var o=this._dataGroup,a=e.getData(),h=this._data,f=e.coordinateSystem,p=f.dimensions,g=c(e);function m(e){var t=u(a,o,e,p,f);d(t,a,e,g)}function v(t,n){var o=h.getItemGraphicEl(n),s=l(a,t,p,f);a.setItemGraphicEl(t,o);var u=i&&!1===i.animation?null:e;r.updateProps(o,{shape:{points:s}},u,t),d(o,a,t,g)}function y(e){var t=h.getItemGraphicEl(e);o.remove(t)}if(a.diff(h).add(m).update(v).remove(y).execute(),!this._initialized){this._initialized=!0;var b=s(f,e,(function(){setTimeout((function(){o.removeClipPath()}))}));o.setClipPath(b)}this._data=a},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,o=i.dimensions,a=c(t),s=e.start;s<e.end;s++){var l=u(r,this._dataGroup,s,o,i);l.incremental=!0,d(l,r,s,a)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function s(e,t,n){var i=e.model,o=e.getRect(),a=new r.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===i.get("layout")?"width":"height";return a.setShape(s,0),r.initProps(a,{shape:{width:o.width,height:o.height}},t,n),a}function l(e,t,n,r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=e.get(e.mapDimension(a),t);h(s,r.getAxis(a).type)||i.push(r.dataToPoint(s,a))}return i}function u(e,t,n,i,o){var a=l(e,n,i,o),s=new r.Polyline({shape:{points:a},silent:!0,z2:10});return t.add(s),e.setItemGraphicEl(n,s),s}function c(e){var t=e.get("smooth",!0);return!0===t&&(t=o),{lineStyle:e.getModel("lineStyle").getLineStyle(),smooth:null!=t?t:o}}function d(e,t,n,r){var i=r.lineStyle;if(t.hasItemOption){var o=t.getItemModel(n).getModel("lineStyle");i=o.getLineStyle()}e.useStyle(i);var a=e.style;a.fill=null,a.stroke=t.getItemVisual(n,"color"),a.opacity=t.getItemVisual(n,"opacity"),r.smooth&&(e.shape.smooth=r.smooth)}function h(e,t){return"category"===t?null==e:null==e||isNaN(e)}var f=a;e.exports=f},YOMW:function(e,t,n){var r=n("bYtY"),i={get:function(e,t,n){var i=r.clone((o[e]||{})[t]);return n&&r.isArray(i)?i[i.length-1]:i}},o={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},a=i;e.exports=a},YXkt:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("Qxkt"),a=n("gPAo"),s=n("7G+c"),l=n("KxfA"),u=l.defaultDimValueGetters,c=l.DefaultDataProvider,d=n("L0Ub"),h=d.summarizeDimensions,f=n("Vi4m"),p=i.isObject,g="undefined",m=-1,v="e\0\0",y={float:typeof Float64Array===g?Array:Float64Array,int:typeof Int32Array===g?Array:Int32Array,ordinal:Array,number:Array,time:Array},b=typeof Uint32Array===g?Array:Uint32Array,_=typeof Int32Array===g?Array:Int32Array,w=typeof Uint16Array===g?Array:Uint16Array;function x(e){return e._rawCount>65535?b:w}function C(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var S=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],O=["_extent","_approximateExtent","_rawExtent"];function k(e,t){i.each(S.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,i.each(O,(function(n){e[n]=i.clone(t[n])})),e._calculationInfo=i.extend(t._calculationInfo)}var E=function(e,t){e=e||["x","y"];for(var n={},r=[],o={},a=0;a<e.length;a++){var s=e[a];i.isString(s)?s=new f({name:s}):s instanceof f||(s=new f(s));var l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0),s.otherDims=s.otherDims||{},r.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(o[l]=[])}this.dimensions=r,this._dimensionInfos=n,this.hostModel=t,this.dataType,this._indices=null,this._count=0,this._rawCount=0,this._storage={},this._nameList=[],this._idList=[],this._optionModels=[],this._visual={},this._layout={},this._itemVisuals=[],this.hasItemVisual={},this._itemLayouts=[],this._graphicEls=[],this._chunkSize=1e5,this._chunkCount=0,this._rawData,this._rawExtent={},this._extent={},this._approximateExtent={},this._dimensionsSummary=h(this),this._invertedIndicesMap=o,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},D=E.prototype;function M(e,t,n,r,i){var o=y[t.type],a=r-1,s=t.name,l=e[s][a];if(l&&l.length<n){for(var u=new o(Math.min(i-a*n,n)),c=0;c<l.length;c++)u[c]=l[c];e[s][a]=u}for(var d=r*n;d<i;d+=n)e[s].push(new o(Math.min(i-d,n)))}function N(e){var t=e._invertedIndicesMap;i.each(t,(function(n,r){var i=e._dimensionInfos[r],o=i.ordinalMeta;if(o){n=t[r]=new _(o.categories.length);for(var a=0;a<n.length;a++)n[a]=m;for(a=0;a<e._count;a++)n[e.get(r,a)]=a}}))}function L(e,t,n){var r;if(null!=t){var i=e._chunkSize,o=Math.floor(n/i),a=n%i,s=e.dimensions[t],l=e._storage[s][o];if(l){r=l[a];var u=e._dimensionInfos[s].ordinalMeta;u&&u.categories.length&&(r=u.categories[r])}}return r}function I(e){return e}function T(e){return e<this._count&&e>=0?this._indices[e]:-1}function P(e,t){var n=e._idList[t];return null==n&&(n=L(e,e._idDimIdx,t)),null==n&&(n=v+t),n}function A(e){return i.isArray(e)||(e=[e]),e}function R(e,t){var n=e.dimensions,r=new E(i.map(n,e.getDimensionInfo,e),e.hostModel);k(r,e);for(var o=r._storage={},a=e._storage,s=0;s<n.length;s++){var l=n[s];a[l]&&(i.indexOf(t,l)>=0?(o[l]=j(a[l]),r._rawExtent[l]=F(),r._extent[l]=null):o[l]=a[l])}return r}function j(e){for(var t=new Array(e.length),n=0;n<e.length;n++)t[n]=C(e[n]);return t}function F(){return[1/0,-1/0]}D.type="list",D.hasItemOption=!0,D.getDimension=function(e){return"number"!==typeof e&&(isNaN(e)||this._dimensionInfos.hasOwnProperty(e))||(e=this.dimensions[e]),e},D.getDimensionInfo=function(e){return this._dimensionInfos[this.getDimension(e)]},D.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},D.mapDimension=function(e,t){var n=this._dimensionsSummary;if(null==t)return n.encodeFirstDimNotExtra[e];var r=n.encode[e];return!0===t?(r||[]).slice():r&&r[t]},D.initData=function(e,t,n){var r=s.isInstance(e)||i.isArrayLike(e);r&&(e=new c(e,this.dimensions.length)),this._rawData=e,this._storage={},this._indices=null,this._nameList=t||[],this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=u[this._rawData.getSource().sourceFormat],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=u.arrayRows,this._rawExtent={},this._initDataFromProvider(0,e.count()),e.pure&&(this.hasItemOption=!1)},D.getProvider=function(){return this._rawData},D.appendData=function(e){var t=this._rawData,n=this.count();t.appendData(e);var r=t.count();t.persistent||(r+=n),this._initDataFromProvider(n,r)},D.appendValues=function(e,t){for(var n=this._chunkSize,r=this._storage,i=this.dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(e.length,t?t.length:0),u=this._chunkCount,c=0;c<o;c++){var d=i[c];a[d]||(a[d]=F()),r[d]||(r[d]=[]),M(r,this._dimensionInfos[d],n,u,l),this._chunkCount=r[d].length}for(var h=new Array(o),f=s;f<l;f++){for(var p=f-s,g=Math.floor(f/n),m=f%n,v=0;v<o;v++){d=i[v];var y=this._dimValueGetterArrayRows(e[p]||h,d,p,v);r[d][g][m]=y;var b=a[d];y<b[0]&&(b[0]=y),y>b[1]&&(b[1]=y)}t&&(this._nameList[f]=t[p])}this._rawCount=this._count=l,this._extent={},N(this)},D._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,r=this._chunkSize,i=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,d=this._rawExtent,h=this._nameRepeatCount={},f=this._chunkCount,p=0;p<s;p++){var g=a[p];d[g]||(d[g]=F());var m=l[g];0===m.otherDims.itemName&&(n=this._nameDimIdx=p),0===m.otherDims.itemId&&(this._idDimIdx=p),o[g]||(o[g]=[]),M(o,m,r,f,t),this._chunkCount=o[g].length}for(var v=new Array(s),y=e;y<t;y++){v=i.getItem(y,v);for(var b=Math.floor(y/r),_=y%r,w=0;w<s;w++){g=a[w];var x=o[g][b],C=this._dimValueGetter(v,g,y,w);x[_]=C;var S=d[g];C<S[0]&&(S[0]=C),C>S[1]&&(S[1]=C)}if(!i.pure){var O=u[y];if(v&&null==O)if(null!=v.name)u[y]=O=v.name;else if(null!=n){var k=a[n],E=o[k][b];if(E){O=E[_];var D=l[k].ordinalMeta;D&&D.categories.length&&(O=D.categories[O])}}var L=null==v?null:v.id;null==L&&null!=O&&(h[O]=h[O]||0,L=O,h[O]>0&&(L+="__ec__"+h[O]),h[O]++),null!=L&&(c[y]=L)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=t,this._extent={},N(this)}},D.count=function(){return this._count},D.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){i=new t(n);for(var r=0;r<n;r++)i[r]=e[r]}else i=new t(e.buffer,0,n)}else{t=x(this);var i=new t(this.count());for(r=0;r<i.length;r++)i[r]=r}return i},D.get=function(e,t){if(!(t>=0&&t<this._count))return NaN;var n=this._storage;if(!n[e])return NaN;t=this.getRawIndex(t);var r=Math.floor(t/this._chunkSize),i=t%this._chunkSize,o=n[e][r],a=o[i];return a},D.getByRawIndex=function(e,t){if(!(t>=0&&t<this._rawCount))return NaN;var n=this._storage[e];if(!n)return NaN;var r=Math.floor(t/this._chunkSize),i=t%this._chunkSize,o=n[r];return o[i]},D._getFast=function(e,t){var n=Math.floor(t/this._chunkSize),r=t%this._chunkSize,i=this._storage[e][n];return i[r]},D.getValues=function(e,t){var n=[];i.isArray(e)||(t=e,e=this.dimensions);for(var r=0,o=e.length;r<o;r++)n.push(this.get(e[r],t));return n},D.hasValue=function(e){for(var t=this._dimensionsSummary.dataDimsOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this.get(t[n],e)))return!1;return!0},D.getDataExtent=function(e){e=this.getDimension(e);var t=this._storage[e],n=F();if(!t)return n;var r,i=this.count(),o=!this._indices;if(o)return this._rawExtent[e].slice();if(r=this._extent[e],r)return r.slice();r=n;for(var a=r[0],s=r[1],l=0;l<i;l++){var u=this._getFast(e,this.getRawIndex(l));u<a&&(a=u),u>s&&(s=u)}return r=[a,s],this._extent[e]=r,r},D.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},D.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},D.getCalculationInfo=function(e){return this._calculationInfo[e]},D.setCalculationInfo=function(e,t){p(e)?i.extend(this._calculationInfo,e):this._calculationInfo[e]=t},D.getSum=function(e){var t=this._storage[e],n=0;if(t)for(var r=0,i=this.count();r<i;r++){var o=this.get(e,r);isNaN(o)||(n+=o)}return n},D.getMedian=function(e){var t=[];this.each(e,(function(e,n){isNaN(e)||t.push(e)}));var n=[].concat(t).sort((function(e,t){return e-t})),r=this.count();return 0===r?0:r%2===1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},D.rawIndexOf=function(e,t){var n=e&&this._invertedIndicesMap[e],r=n[t];return null==r||isNaN(r)?m:r},D.indexOfName=function(e){for(var t=0,n=this.count();t<n;t++)if(this.getName(t)===e)return t;return-1},D.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;var r=0,i=this._count-1;while(r<=i){var o=(r+i)/2|0;if(t[o]<e)r=o+1;else{if(!(t[o]>e))return o;i=o-1}}return-1},D.indicesOfNearest=function(e,t,n){var r=this._storage,i=r[e],o=[];if(!i)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var d=t-this.get(e,u),h=Math.abs(d);h<=n&&((h<a||h===a&&d>=0&&s<0)&&(a=h,s=d,l=0),d===s&&(o[l++]=u))}return o.length=l,o},D.getRawIndex=I,D.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n<this.dimensions.length;n++){var r=this.dimensions[n];t.push(this.get(r,e))}return t},D.getName=function(e){var t=this.getRawIndex(e);return this._nameList[t]||L(this,this._nameDimIdx,t)||""},D.getId=function(e){return P(this,this.getRawIndex(e))},D.each=function(e,t,n,r){"use strict";if(this._count){"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this,e=i.map(A(e),this.getDimension,this);for(var o=e.length,a=0;a<this.count();a++)switch(o){case 0:t.call(n,a);break;case 1:t.call(n,this.get(e[0],a),a);break;case 2:t.call(n,this.get(e[0],a),this.get(e[1],a),a);break;default:for(var s=0,l=[];s<o;s++)l[s]=this.get(e[s],a);l[s]=a,t.apply(n,l)}}},D.filterSelf=function(e,t,n,r){"use strict";if(this._count){"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this,e=i.map(A(e),this.getDimension,this);for(var o=this.count(),a=x(this),s=new a(o),l=[],u=e.length,c=0,d=e[0],h=0;h<o;h++){var f,p=this.getRawIndex(h);if(0===u)f=t.call(n,h);else if(1===u){var g=this._getFast(d,p);f=t.call(n,g,h)}else{for(var m=0;m<u;m++)l[m]=this._getFast(d,p);l[m]=h,f=t.apply(n,l)}f&&(s[c++]=p)}return c<o&&(this._indices=s),this._count=c,this._extent={},this.getRawIndex=this._indices?T:I,this}},D.selectRange=function(e){"use strict";if(this._count){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);var r=t.length;if(r){var i=this.count(),o=x(this),a=new o(i),s=0,l=t[0],u=e[l][0],c=e[l][1],d=!1;if(!this._indices){var h=0;if(1===r){for(var f=this._storage[t[0]],p=0;p<this._chunkCount;p++)for(var g=f[p],m=Math.min(this._count-p*this._chunkSize,this._chunkSize),v=0;v<m;v++){var y=g[v];(y>=u&&y<=c||isNaN(y))&&(a[s++]=h),h++}d=!0}else if(2===r){f=this._storage[l];var b=this._storage[t[1]],_=e[t[1]][0],w=e[t[1]][1];for(p=0;p<this._chunkCount;p++){g=f[p];var C=b[p];for(m=Math.min(this._count-p*this._chunkSize,this._chunkSize),v=0;v<m;v++){y=g[v];var S=C[v];(y>=u&&y<=c||isNaN(y))&&(S>=_&&S<=w||isNaN(S))&&(a[s++]=h),h++}}d=!0}}if(!d)if(1===r)for(v=0;v<i;v++){var O=this.getRawIndex(v);y=this._getFast(l,O);(y>=u&&y<=c||isNaN(y))&&(a[s++]=O)}else for(v=0;v<i;v++){var k=!0;for(O=this.getRawIndex(v),p=0;p<r;p++){var E=t[p];y=this._getFast(n,O);(y<e[E][0]||y>e[E][1])&&(k=!1)}k&&(a[s++]=this.getRawIndex(v))}return s<i&&(this._indices=a),this._count=s,this._extent={},this.getRawIndex=this._indices?T:I,this}}},D.mapArray=function(e,t,n,r){"use strict";"function"===typeof e&&(r=n,n=t,t=e,e=[]),n=n||r||this;var i=[];return this.each(e,(function(){i.push(t&&t.apply(this,arguments))}),n),i},D.map=function(e,t,n,r){"use strict";n=n||r||this,e=i.map(A(e),this.getDimension,this);var o=R(this,e);o._indices=this._indices,o.getRawIndex=o._indices?T:I;for(var a=o._storage,s=[],l=this._chunkSize,u=e.length,c=this.count(),d=[],h=o._rawExtent,f=0;f<c;f++){for(var p=0;p<u;p++)d[p]=this.get(e[p],f);d[u]=f;var g=t&&t.apply(n,d);if(null!=g){"object"!==typeof g&&(s[0]=g,g=s);for(var m=this.getRawIndex(f),v=Math.floor(m/l),y=m%l,b=0;b<g.length;b++){var _=e[b],w=g[b],x=h[_],C=a[_];C&&(C[v][y]=w),w<x[0]&&(x[0]=w),w>x[1]&&(x[1]=w)}}}return o},D.downSample=function(e,t,n,r){for(var i=R(this,[e]),o=i._storage,a=[],s=Math.floor(1/t),l=o[e],u=this.count(),c=this._chunkSize,d=i._rawExtent[e],h=new(x(this))(u),f=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var g=0;g<s;g++){var m=this.getRawIndex(p+g),v=Math.floor(m/c),y=m%c;a[g]=l[v][y]}var b=n(a),_=this.getRawIndex(Math.min(p+r(a,b)||0,u-1)),w=Math.floor(_/c),C=_%c;l[w][C]=b,b<d[0]&&(d[0]=b),b>d[1]&&(d[1]=b),h[f++]=_}return i._count=f,i._indices=h,i.getRawIndex=T,i},D.getItemModel=function(e){var t=this.hostModel;return new o(this.getRawDataItem(e),t,t&&t.ecModel)},D.diff=function(e){var t=this;return new a(e?e.getIndices():[],this.getIndices(),(function(t){return P(e,t)}),(function(e){return P(t,e)}))},D.getVisual=function(e){var t=this._visual;return t&&t[e]},D.setVisual=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},D.setLayout=function(e,t){if(p(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},D.getLayout=function(e){return this._layout[e]},D.getItemLayout=function(e){return this._itemLayouts[e]},D.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?i.extend(this._itemLayouts[e]||{},t):t},D.clearItemLayouts=function(){this._itemLayouts.length=0},D.getItemVisual=function(e,t,n){var r=this._itemVisuals[e],i=r&&r[t];return null!=i||n?i:this.getVisual(t)},D.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{},i=this.hasItemVisual;if(this._itemVisuals[e]=r,p(t))for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o],i[o]=!0);else r[t]=n,i[t]=!0},D.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var B=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};D.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(B,t)),this._graphicEls[e]=t},D.getItemGraphicEl=function(e){return this._graphicEls[e]},D.eachItemGraphicEl=function(e,t){i.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},D.cloneShallow=function(e){if(!e){var t=i.map(this.dimensions,this.getDimensionInfo,this);e=new E(t,this.hostModel)}if(e._storage=this._storage,k(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?T:I,e},D.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(i.slice(arguments)))})},D.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],D.CHANGABLE_METHODS=["filterSelf","selectRange"];var V=E;e.exports=V},YgsL:function(e,t,n){var r=n("QBsz"),i=r.distance;function o(e,t,n,r,i,o,a){var s=.5*(n-e),l=.5*(r-t);return(2*(t-n)+s+l)*a+(-3*(t-n)-2*s-l)*o+s*i+t}function a(e,t){for(var n=e.length,r=[],a=0,s=1;s<n;s++)a+=i(e[s-1],e[s]);var l=a/2;l=l<n?n:l;for(s=0;s<l;s++){var u,c,d,h=s/(l-1)*(t?n:n-1),f=Math.floor(h),p=h-f,g=e[f%n];t?(u=e[(f-1+n)%n],c=e[(f+1)%n],d=e[(f+2)%n]):(u=e[0===f?f:f-1],c=e[f>n-2?n-1:f+1],d=e[f>n-3?n-1:f+2]);var m=p*p,v=p*m;r.push([o(u[0],g[0],c[0],d[0],p,m,v),o(u[1],g[1],c[1],d[1],p,m,v)])}return r}e.exports=a},Yl7c:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=".",a="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(o),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function u(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return i.extend(n.prototype,e),n.extend=this.extend,n.superCall=h,n.superApply=f,i.inherits(n,this),n.superClass=t,n}}var c=0;function d(e){var t=["__\0is_clz",c++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function h(e,t){var n=i.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function f(e,t,n){return this.superClass.prototype[t].apply(e,n)}function p(e,t){t=t||{};var n={};function r(e){var t=n[e.main];return t&&t[a]||(t=n[e.main]={},t[a]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==a){var i=r(t);i[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,r){var i=n[e];if(i&&i[a]&&(i=t?i[t]:null),r&&!i)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=s(e);var t=[],r=n[e.main];return r&&r[a]?i.each(r,(function(e,n){n!==a&&t.push(e)})):t.push(r),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[a]},e.parseClassType=s,t.registerWhenExtend){var o=e.extend;o&&(e.extend=function(t){var n=o.call(this,t);return e.registerClass(n,t.type)})}return e}function g(e,t){}t.parseClassType=s,t.enableClassExtend=u,t.enableClassCheck=d,t.enableClassManagement=p,t.setReadOnly=g},Ynxi:function(e,t,n){var r=n("bYtY"),i=n("ProS"),o=n("IwbS"),a=n("+TT/"),s=a.getLayoutRect,l=n("7aKB"),u=l.windowOpen;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var i=this.group,a=e.getModel("textStyle"),l=e.getModel("subtextStyle"),c=e.get("textAlign"),d=r.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),h=new o.Text({style:o.setTextStyle({},a,{text:e.get("text"),textFill:a.getTextColor()},{disableBox:!0}),z2:10}),f=h.getBoundingRect(),p=e.get("subtext"),g=new o.Text({style:o.setTextStyle({},l,{text:p,textFill:l.getTextColor(),y:f.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=e.get("link"),v=e.get("sublink"),y=e.get("triggerEvent",!0);h.silent=!m&&!y,g.silent=!v&&!y,m&&h.on("click",(function(){u(m,"_"+e.get("target"))})),v&&g.on("click",(function(){u(m,"_"+e.get("subtarget"))})),h.eventData=g.eventData=y?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(h),p&&i.add(g);var b=i.getBoundingRect(),_=e.getBoxLayoutParams();_.width=b.width,_.height=b.height;var w=s(_,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));c||(c=e.get("left")||e.get("right"),"middle"===c&&(c="center"),"right"===c?w.x+=w.width:"center"===c&&(w.x+=w.width/2)),d||(d=e.get("top")||e.get("bottom"),"center"===d&&(d="middle"),"bottom"===d?w.y+=w.height:"middle"===d&&(w.y+=w.height/2),d=d||"top"),i.attr("position",[w.x,w.y]);var x={textAlign:c,textVerticalAlign:d};h.setStyle(x),g.setStyle(x),b=i.getBoundingRect();var C=w.margin,S=e.getItemStyle(["color","opacity"]);S.fill=e.get("backgroundColor");var O=new o.Rect({shape:{x:b.x-C[3],y:b.y-C[0],width:b.width+C[1]+C[3],height:b.height+C[0]+C[2],r:e.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});i.add(O)}}})},Yr1X:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("MI8n"),i=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new r["a"],this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}return e.prototype.getZoomLevel=function(){return this._zoomLevel},e.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},e}())},YrtM:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("q1tI");function i(e,t,n){var i=r["useRef"]({});return"value"in i.current&&!n(i.current.condition,t)||(i.current.value=e(),i.current.condition=t),i.current.value}},Ywus:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("DO2E")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="DeleteOutlined";var u=o.forwardRef(l);t.default=u},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},Z1HP:function(e,t,n){var r=n("ycre"),i=n("quyA"),o=n("q4HE");function a(e){return i(e)?o(e):r(e)}e.exports=a},Z1r0:function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph(),i=r.data,o=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e),r=n.getShallow("category");if(null!=r){"number"===typeof r&&(r=o[r]);for(var a=0;a<t.length;a++)if(!t[a].isSelected(r))return!1}return!0}))}),this)}e.exports=n},Z1wy:function(e,t,n){var r=n("ProS");n("ThAp"),n("pmaE"),n("SehX"),n("7uqq");var i=n("zuHt"),o=n("VPsl"),a=n("9u0u"),s=n("lELe"),l=n("d4KN");r.registerLayout(i),r.registerVisual(o),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a),r.registerPreprocessor(s),l("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(e,t,n){var r=n("MwEJ"),i=n("T4UG"),o=i.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10}});e.exports=o},Z8oC:function(e,t,n){var r=n("y1pI");function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},Z8zF:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("IwbS"),s=n("56rv"),l=s.setLabel,u=n("Qxkt"),c=n("tceW"),d=n("y+Vt"),h=n("4fz+"),f=n("iLNv"),p=f.throttle,g=n("sK/D"),m=g.createClipPath,v=n("wr5s"),y=["itemStyle","barBorderWidth"],b=[0,0];function _(e,t){var n=e.getArea&&e.getArea();if("cartesian2d"===e.type){var r=e.getBaseAxis();if("category"!==r.type||!r.onBand){var i=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}o.extend(u.prototype,c);var w=i.extendChartView({type:"bar",render:function(e,t,n){this._updateDrawMode(e);var r=e.get("coordinateSystem");return"cartesian2d"!==r&&"polar"!==r||(this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n)),this.group},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,r){this._incrementalRenderLarge(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e,t,n){var r,i=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,d=e.get("clip",!0),f=_(l,o);i.removeClipPath();var p=e.get("roundCap",!0),g=e.get("showBackground",!0),m=e.getModel("backgroundStyle"),v=m.get("barBorderRadius")||0,y=[],b=this._backgroundEls||[];o.diff(s).add((function(t){var n=o.getItemModel(t),a=D[l.type](o,t,n);if(g){var s=D[l.type](o,t),u=B(l,r,s);u.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&u.setShape("r",v),y[t]=u}if(o.hasValue(t)){if(d){var h=S[l.type](f,a);if(h)return void i.remove(b)}var b=O[l.type](t,a,r,c,!1,p);o.setItemGraphicEl(t,b),i.add(b),N(b,o,t,n,a,e,r,"polar"===l.type)}})).update((function(t,n){var u=o.getItemModel(t),h=D[l.type](o,t,u);if(g){var _=b[n];_.useStyle(m.getBarItemStyle()),"cartesian2d"===l.type&&_.setShape("r",v),y[t]=_;var w=D[l.type](o,t),x=F(r,w,l);a.updateProps(_,{shape:x},c,t)}var C=s.getItemGraphicEl(n);if(o.hasValue(t)){if(d){var k=S[l.type](f,h);if(k)return void i.remove(C)}C?a.updateProps(C,{shape:h},c,t):C=O[l.type](t,h,r,c,!0,p),o.setItemGraphicEl(t,C),i.add(C),N(C,o,t,u,h,e,r,"polar"===l.type)}else i.remove(C)})).remove((function(e){var t=s.getItemGraphicEl(e);"cartesian2d"===l.type?t&&k(e,c,t):t&&E(e,c,t)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new h);w.removeAll();for(var x=0;x<y.length;++x)w.add(y[x]);i.add(w),this._backgroundEls=y,this._data=o},_renderLarge:function(e,t,n){this._clear(),T(e,this.group);var r=e.get("clip",!0)?m(e.coordinateSystem,!1,e):null;r?this.group.setClipPath(r):this.group.removeClipPath()},_incrementalRenderLarge:function(e,t){this._removeBackground(),T(t,this.group,!0)},dispose:o.noop,remove:function(e){this._clear(e)},_clear:function(e){var t=this.group,n=this._data;e&&e.get("animation")&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){"sector"===t.type?E(t.dataIndex,e,t):k(t.dataIndex,e,t)}))):t.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),x=Math.max,C=Math.min,S={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=x(t.x,e.x),o=C(t.x+t.width,e.x+e.width),a=x(t.y,e.y),s=C(t.y+t.height,e.y+e.height);t.x=i,t.y=a,t.width=o-i,t.height=s-a;var l=t.width<0||t.height<0;return n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),l},polar:function(e){return!1}},O={cartesian2d:function(e,t,n,r,i){var s=new a.Rect({shape:o.extend({},t),z2:1});if(s.name="item",r){var l=s.shape,u=n?"height":"width",c={};l[u]=0,c[u]=t[u],a[i?"updateProps":"initProps"](s,{shape:c},r,e)}return s},polar:function(e,t,n,r,i,s){var l=t.startAngle<t.endAngle,u=!n&&s?v:a.Sector,c=new u({shape:o.defaults({clockwise:l},t),z2:1});if(c.name="item",r){var d=c.shape,h=n?"r":"endAngle",f={};d[h]=n?0:t.startAngle,f[h]=t[h],a[i?"updateProps":"initProps"](c,{shape:f},r,e)}return c}};function k(e,t,n){n.style.text=null,a.updateProps(n,{shape:{width:0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}function E(e,t,n){n.style.text=null,a.updateProps(n,{shape:{r:n.shape.r0}},t,e,(function(){n.parent&&n.parent.remove(n)}))}var D={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),i=n?L(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};function M(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function N(e,t,n,r,i,s,u,c){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),f=t.getVisual("borderColor"),p=r.getModel("itemStyle"),g=r.getModel("emphasis.itemStyle").getBarItemStyle();c||e.setShape("r",p.get("barBorderRadius")||0),e.useStyle(o.defaults({stroke:M(i)?"none":f,fill:M(i)?"none":d,opacity:h},p.getBarItemStyle()));var m=r.getShallow("cursor");m&&e.attr("cursor",m);var v=u?i.height>0?"bottom":"top":i.width>0?"left":"right";c||l(e.style,g,r,d,s,n,v),M(i)&&(g.fill=g.stroke="none"),a.setHoverStyle(e,g)}function L(e,t){var n=e.get(y)||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,r,i)}var I=d.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,r=this.__startPoint,i=this.__baseDimIdx,o=0;o<n.length;o+=2)r[i]=n[o+i],e.moveTo(r[0],r[1]),e.lineTo(n[o],n[o+1])}});function T(e,t,n){var r=e.getData(),i=[],o=r.getLayout("valueAxisHorizontal")?1:0;i[1-o]=r.getLayout("valueAxisStart");var a=r.getLayout("largeDataIndices"),s=r.getLayout("barWidth"),l=e.getModel("backgroundStyle"),u=e.get("showBackground",!0);if(u){var c=r.getLayout("largeBackgroundPoints"),d=[];d[1-o]=r.getLayout("backgroundStart");var h=new I({shape:{points:c},incremental:!!n,__startPoint:d,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s,silent:!0,z2:0});j(h,l,r),t.add(h)}var f=new I({shape:{points:r.getLayout("largePoints")},incremental:!!n,__startPoint:i,__baseDimIdx:o,__largeDataIndices:a,__barWidth:s});t.add(f),R(f,e,r),f.seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",P),f.on("mousemove",P))}var P=p((function(e){var t=this,n=A(t,e.offsetX,e.offsetY);t.dataIndex=n>=0?n:null}),30,!1);function A(e,t,n){var r=e.__baseDimIdx,i=1-r,o=e.shape.points,a=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[i];b[0]=t,b[1]=n;for(var u=b[r],c=b[1-r],d=u-s,h=u+s,f=0,p=o.length/2;f<p;f++){var g=2*f,m=o[g+r],v=o[g+i];if(m>=d&&m<=h&&(l<=v?c>=l&&c<=v:c>=v&&c<=l))return a[f]}return-1}function R(e,t,n){var r=n.getVisual("borderColor")||n.getVisual("color"),i=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function j(e,t,n){var r=t.get("borderColor")||t.get("color"),i=t.getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function F(e,t,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:e?r.r0:t.r0,r:e?r.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:r.x,y:e?r.y:t.y,width:e?t.width:r.width,height:e?r.height:t.height}}function B(e,t,n){var r="polar"===e.type?a.Sector:a.Rect;return new r({shape:F(t,n,e),silent:!0,z2:0})}e.exports=w},ZCR3:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=0;function i(){var e="$memoize"+r++,t=void 0,n=function(n,r,i){var o=null,a=null;if("function"===typeof i.value?(o="value",a=i.value,0!==a.length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"===typeof i.get&&(o="get",a=i.get),!a)throw new Error("not supported");var s=e+":"+r;i[o]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t=this,this.hasOwnProperty(s)||Object.defineProperty(this,s,{configurable:!0,enumerable:!1,writable:!0,value:a.apply(this,e)}),this[s]}};return n.clear=function(){"undefined"!==typeof t&&Object.getOwnPropertyNames(t).forEach((function(n){0===n.indexOf(e)&&delete t[n]}))},n}function o(e,t,n){return i()(e,t,n)}},ZCgT:function(e,t,n){var r=n("tLB3"),i=1/0,o=17976931348623157e292;function a(e){if(!e)return 0===e?e:0;if(e=r(e),e===i||e===-i){var t=e<0?-1:1;return t*o}return e===e?e:0}e.exports=a},ZMnZ:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("2oIt")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="UpOutlined";var u=o.forwardRef(l);t.default=u},ZQ78:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}));var r={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"},i=function(){function e(e){this.data=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.data},e}(),o={CurrentDragAndDropData:void 0}},ZTPi:function(e,t,n){"use strict";var r=n("q1tI"),i=n("ODXe"),o=n("Ff2n"),a=n("rePB"),s=n("TSYQ"),l=n.n(s),u=n("Zm9Q"),c=n("6cGi"),d=n("KQm4"),h=n("xEkU"),f=n.n(h),p=n("t23M");function g(e){var t=Object(r["useRef"])(),n=Object(r["useRef"])(!1);function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];n.current||(f.a.cancel(t.current),t.current=f()((function(){e.apply(void 0,i)})))}return Object(r["useEffect"])((function(){return function(){n.current=!0,f.a.cancel(t.current)}}),[]),i}function m(e){var t=Object(r["useRef"])([]),n=Object(r["useState"])({}),o=Object(i["a"])(n,2),a=o[1],s=Object(r["useRef"])("function"===typeof e?e():e),l=g((function(){var e=s.current;t.current.forEach((function(t){e=t(e)})),t.current=[],s.current=e,a({})}));function u(e){t.current.push(e),l()}return[s.current,u]}var v=n("4IlW");function y(e,t){var n,i=e.prefixCls,o=e.id,s=e.active,u=e.rtl,c=e.tab,d=c.key,h=c.tab,f=c.disabled,p=c.closeIcon,g=e.tabBarGutter,m=e.tabPosition,y=e.closable,b=e.renderWrapper,_=e.removeAriaLabel,w=e.editable,x=e.onClick,C=e.onRemove,S=e.onFocus,O="".concat(i,"-tab");r["useEffect"]((function(){return C}),[]);var k={};"top"===m||"bottom"===m?k[u?"marginLeft":"marginRight"]=g:k.marginBottom=g;var E=w&&!1!==y&&!f;function D(e){e.preventDefault(),e.stopPropagation(),w.onEdit("remove",{key:d,event:e})}var M=r["createElement"]("button",{key:d,ref:t,type:"button",role:"tab","aria-selected":s,id:o&&"".concat(o,"-tab-").concat(d),"aria-controls":o&&"".concat(o,"-panel-").concat(d),tabIndex:0,disabled:f,className:l()(O,(n={},Object(a["a"])(n,"".concat(O,"-with-remove"),E),Object(a["a"])(n,"".concat(O,"-active"),s),Object(a["a"])(n,"".concat(O,"-disabled"),f),n)),onClick:x,onFocus:S,style:k},h,E&&r["createElement"]("span",{role:"button","aria-label":_||"remove",tabIndex:0,className:"".concat(O,"-remove"),onClick:function(e){D(e)},onKeyDown:function(e){[v["a"].SPACE,v["a"].ENTER].includes(e.which)&&D(e)}},p||w.removeIcon||"\xd7"));return b&&(M=b(M)),M}var b=r["forwardRef"](y);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={width:0,height:0,left:0,top:0};function C(e,t,n){return Object(r["useMemo"])((function(){for(var n,r=new Map,i=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||x,o=i.left+i.width,a=0;a<e.length;a+=1){var s,l=e[a].key,u=t.get(l);if(!u)u=t.get(null===(s=e[a-1])||void 0===s?void 0:s.key)||x;var c=r.get(l)||w({},u);c.right=o-c.left-c.width,r.set(l,c)}return r}),[e.map((function(e){return e.key})).join("_"),t,n])}var S={width:0,height:0,left:0,top:0,right:0};function O(e,t,n){var i,o,a,s=n.tabs,l=n.tabPosition,u=n.rtl;["top","bottom"].includes(l)?(i="width",o=u?"right":"left",a=Math.abs(t.left)):(i="height",o="top",a=-t.top);var c=t[i];return Object(r["useMemo"])((function(){if(!s.length)return[0,0];for(var t=s.length,n=t,r=0;r<t;r+=1){var l=e.get(s[r].key)||S;if(l[o]+l[i]>a+c){n=r-1;break}}for(var u=0,d=t-1;d>=0;d-=1){var h=e.get(s[d].key)||S;if(h[o]<a){u=d+1;break}}return[u,n]}),[e,a,c,l,s.map((function(e){return e.key})).join("_"),u])}var k=n("1j5w"),E=n("eDIo");function D(e,t){var n=e.prefixCls,i=e.editable,o=e.locale,a=e.style;return i&&!1!==i.showAdd?r["createElement"]("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null===o||void 0===o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){i.onEdit("add",{event:e})}},i.addIcon||"+"):null}var M=r["forwardRef"](D);function N(e,t){var n=e.prefixCls,o=e.id,s=e.tabs,u=e.locale,c=e.mobile,d=e.moreIcon,h=void 0===d?"More":d,f=e.moreTransitionName,p=e.style,g=e.className,m=e.editable,y=e.tabBarGutter,b=e.rtl,_=e.onTabClick,w=Object(r["useState"])(!1),x=Object(i["a"])(w,2),C=x[0],S=x[1],O=Object(r["useState"])(null),D=Object(i["a"])(O,2),N=D[0],L=D[1],I="".concat(o,"-more-popup"),T="".concat(n,"-dropdown"),P=null!==N?"".concat(I,"-").concat(N):null,A=null===u||void 0===u?void 0:u.dropdownAriaLabel,R=r["createElement"](k["f"],{onClick:function(e){var t=e.key,n=e.domEvent;_(t,n),S(!1)},id:I,tabIndex:-1,role:"listbox","aria-activedescendant":P,selectedKeys:[N],"aria-label":void 0!==A?A:"expanded dropdown"},s.map((function(e){return r["createElement"](k["d"],{key:e.key,id:"".concat(I,"-").concat(e.key),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(e.key),disabled:e.disabled},e.tab)})));function j(e){for(var t=s.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===N}))||0,r=t.length,i=0;i<r;i+=1){n=(n+e+r)%r;var o=t[n];if(!o.disabled)return void L(o.key)}}function F(e){var t=e.which;if(C)switch(t){case v["a"].UP:j(-1),e.preventDefault();break;case v["a"].DOWN:j(1),e.preventDefault();break;case v["a"].ESC:S(!1);break;case v["a"].SPACE:case v["a"].ENTER:null!==N&&_(N,e);break}else[v["a"].DOWN,v["a"].SPACE,v["a"].ENTER].includes(t)&&(S(!0),e.preventDefault())}Object(r["useEffect"])((function(){var e=document.getElementById(P);e&&e.scrollIntoView&&e.scrollIntoView(!1)}),[N]),Object(r["useEffect"])((function(){C||L(null)}),[C]);var B=Object(a["a"])({},b?"marginLeft":"marginRight",y);s.length||(B.visibility="hidden",B.order=1);var V=l()(Object(a["a"])({},"".concat(T,"-rtl"),b)),z=c?null:r["createElement"](E["a"],{prefixCls:T,overlay:R,trigger:["hover"],visible:C,transitionName:f,onVisibleChange:S,overlayClassName:V},r["createElement"]("button",{type:"button",className:"".concat(n,"-nav-more"),style:B,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":I,id:"".concat(o,"-more"),"aria-expanded":C,onKeyDown:F},h));return r["createElement"]("div",{className:l()("".concat(n,"-nav-operations"),g),style:p,ref:t},z,r["createElement"](M,{prefixCls:n,locale:u,editable:m}))}var L=r["forwardRef"](N),I=Object(r["createContext"])(null),T=.1,P=.01,A=20,R=Math.pow(.995,A);function j(){var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4)))}function F(e,t){var n=Object(r["useState"])(),o=Object(i["a"])(n,2),a=o[0],s=o[1],l=Object(r["useState"])(0),u=Object(i["a"])(l,2),c=u[0],d=u[1],h=Object(r["useState"])(0),f=Object(i["a"])(h,2),p=f[0],g=f[1],m=Object(r["useState"])(),v=Object(i["a"])(m,2),y=v[0],b=v[1],_=Object(r["useRef"])();function w(e){var t=e.touches[0],n=t.screenX,r=t.screenY;s({x:n,y:r}),window.clearInterval(_.current)}function x(e){if(a){e.preventDefault();var n=e.touches[0],r=n.screenX,i=n.screenY;s({x:r,y:i});var o=r-a.x,l=i-a.y;t(o,l);var u=Date.now();d(u),g(u-c),b({x:o,y:l})}}function C(){if(a&&(s(null),b(null),y)){var e=y.x/p,n=y.y/p,r=Math.abs(e),i=Math.abs(n);if(Math.max(r,i)<T)return;var o=e,l=n;_.current=window.setInterval((function(){Math.abs(o)<P&&Math.abs(l)<P?window.clearInterval(_.current):(o*=R,l*=R,t(o*A,l*A))}),A)}}var S=Object(r["useRef"])(0),O=Object(r["useRef"])(0),k=Object(r["useRef"])(!1),E=Object(r["useRef"])();function D(e){var n=e.deltaX,r=e.deltaY,i=0,o=Math.abs(n),a=Math.abs(r);o===a?i="x"===E.current?n:r:o>a?(i=n,E.current="x"):(i=r,E.current="y");var s=Date.now(),l=Math.abs(i);(s-O.current>100||l-S.current>10)&&(k.current=!1),(t(-i,-i)||k.current)&&(e.preventDefault(),k.current=!0),O.current=s,S.current=l}var M=Object(r["useRef"])(null);M.current={onTouchStart:w,onTouchMove:x,onTouchEnd:C,onWheel:D},r["useEffect"]((function(){function t(e){M.current.onTouchStart(e)}function n(e){M.current.onTouchMove(e)}function r(e){M.current.onTouchEnd(e)}function i(e){M.current.onWheel(e)}return document.addEventListener("touchmove",n,{passive:!1}),document.addEventListener("touchend",r,{passive:!1}),e.current.addEventListener("touchstart",t,{passive:!1}),e.current.addEventListener("wheel",i),function(){document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r)}}),[])}function B(){var e=Object(r["useRef"])(new Map);function t(t){return e.current.has(t)||e.current.set(t,r["createRef"]()),e.current.get(t)}function n(t){e.current.delete(t)}return[t,n]}function V(e,t){var n=r["useRef"](e),o=r["useState"]({}),a=Object(i["a"])(o,2),s=a[1];function l(e){var r="function"===typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,s({})}return[n.current,l]}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e,t){var n,o=r["useContext"](I),s=o.prefixCls,u=o.tabs,c=e.className,h=e.style,v=e.id,y=e.animated,_=e.activeKey,w=e.rtl,x=e.extra,S=e.editable,k=e.locale,E=e.tabPosition,D=e.tabBarGutter,N=e.children,T=e.onTabClick,P=e.onTabScroll,A=Object(r["useRef"])(),R=Object(r["useRef"])(),j=Object(r["useRef"])(),z=Object(r["useRef"])(),H=B(),U=Object(i["a"])(H,2),K=U[0],G=U[1],q="top"===E||"bottom"===E,Y=V(0,(function(e,t){q&&P&&P({direction:e>t?"left":"right"})})),X=Object(i["a"])(Y,2),Z=X[0],Q=X[1],$=V(0,(function(e,t){!q&&P&&P({direction:e>t?"top":"bottom"})})),J=Object(i["a"])($,2),ee=J[0],te=J[1],ne=Object(r["useState"])(0),re=Object(i["a"])(ne,2),ie=re[0],oe=re[1],ae=Object(r["useState"])(0),se=Object(i["a"])(ae,2),le=se[0],ue=se[1],ce=Object(r["useState"])(null),de=Object(i["a"])(ce,2),he=de[0],fe=de[1],pe=Object(r["useState"])(null),ge=Object(i["a"])(pe,2),me=ge[0],ve=ge[1],ye=m(new Map),be=Object(i["a"])(ye,2),_e=be[0],we=be[1],xe=C(u,_e,ie),Ce="".concat(s,"-nav-operations-hidden"),Se=0,Oe=0;function ke(e){return e<Se?[Se,!1]:e>Oe?[Oe,!1]:[e,!0]}q?w?(Se=0,Oe=Math.max(0,ie-he)):(Se=Math.min(0,he-ie),Oe=0):(Se=Math.min(0,me-le),Oe=0);var Ee=Object(r["useRef"])(),De=Object(r["useState"])(),Me=Object(i["a"])(De,2),Ne=Me[0],Le=Me[1];function Ie(){Le(Date.now())}function Te(){window.clearTimeout(Ee.current)}function Pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=xe.get(e);if(t)if(q){var n=Z;w?t.right<Z?n=t.right:t.right+t.width>Z+he&&(n=t.right+t.width-he):t.left<-Z?n=-t.left:t.left+t.width>-Z+he&&(n=-(t.left+t.width-he)),te(0),Q(ke(n)[0])}else{var r=ee;t.top<-ee?r=-t.top:t.top+t.height>-ee+me&&(r=-(t.top+t.height-me)),Q(0),te(ke(r)[0])}}F(A,(function(e,t){var n=!1;function r(e,t){e((function(e){var r=ke(e+t),o=Object(i["a"])(r,2),a=o[0],s=o[1];return n=s,a}))}if(q){if(he>=ie)return n;r(Q,e)}else{if(me>=le)return n;r(te,t)}return Te(),Ie(),n})),Object(r["useEffect"])((function(){return Te(),Ne&&(Ee.current=window.setTimeout((function(){Le(0)}),100)),Te}),[Ne]);var Ae=O(xe,{width:he,height:me,left:Z,top:ee},W(W({},e),{},{tabs:u})),Re=Object(i["a"])(Ae,2),je=Re[0],Fe=Re[1];function Be(e){var t,n,r=(null===(t=z.current)||void 0===t?void 0:t[e])||0,i=0;return(null===(n=j.current)||void 0===n?void 0:n.className.includes(Ce))&&(i=j.current[e]),r+i}var Ve=u.map((function(e){var t=e.key;return r["createElement"](b,{id:v,prefixCls:s,key:t,rtl:w,tab:e,closable:e.closable,editable:S,active:t===_,tabPosition:E,tabBarGutter:D,renderWrapper:N,removeAriaLabel:null===k||void 0===k?void 0:k.removeAriaLabel,ref:K(t),onClick:function(e){T(t,e)},onRemove:function(){G(t)},onFocus:function(){Pe(t),Ie(),w||(A.current.scrollLeft=0),A.current.scrollTop=0}})})),ze=g((function(){var e,t,n,r,i=(null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0,o=(null===(t=A.current)||void 0===t?void 0:t.offsetHeight)||0;fe(i),ve(o),oe(((null===(n=R.current)||void 0===n?void 0:n.offsetWidth)||0)-Be("offsetWidth")),ue(((null===(r=R.current)||void 0===r?void 0:r.offsetHeight)||0)-Be("offsetHeight")),we((function(){var e=new Map;return u.forEach((function(t){var n=t.key,r=K(n).current;e.set(n,{width:r.offsetWidth,height:r.offsetHeight,left:r.offsetLeft,top:r.offsetTop})})),e}))})),We=u.slice(0,je),He=u.slice(Fe+1),Ue=[].concat(Object(d["a"])(We),Object(d["a"])(He)),Ke=Object(r["useState"])(),Ge=Object(i["a"])(Ke,2),qe=Ge[0],Ye=Ge[1],Xe=xe.get(_),Ze=Object(r["useRef"])();function Qe(){f.a.cancel(Ze.current)}Object(r["useEffect"])((function(){var e={};return Xe&&(q?(w?e.right=Xe.right:e.left=Xe.left,e.width=Xe.width):(e.top=Xe.top,e.height=Xe.height)),Qe(),Ze.current=f()((function(){Ye(e)})),Qe}),[Xe,q,w]),Object(r["useEffect"])((function(){Pe()}),[_,Xe,xe,q]),Object(r["useEffect"])((function(){ze()}),[w,D,_]);var $e,Je,et,tt,nt=!!Ue.length,rt="".concat(s,"-nav-wrap");return q?w?(Je=Z>0,$e=Z+he<ie):($e=Z<0,Je=-Z+he<ie):(et=ee<0,tt=-ee+me<le),r["createElement"]("div",{ref:t,role:"tablist",className:l()("".concat(s,"-nav"),c),style:h,onKeyDown:function(){Ie()}},r["createElement"](p["a"],{onResize:ze},r["createElement"]("div",{className:l()(rt,(n={},Object(a["a"])(n,"".concat(rt,"-ping-left"),$e),Object(a["a"])(n,"".concat(rt,"-ping-right"),Je),Object(a["a"])(n,"".concat(rt,"-ping-top"),et),Object(a["a"])(n,"".concat(rt,"-ping-bottom"),tt),n)),ref:A},r["createElement"](p["a"],{onResize:ze},r["createElement"]("div",{ref:R,className:"".concat(s,"-nav-list"),style:{transform:"translate(".concat(Z,"px, ").concat(ee,"px)"),transition:Ne?"none":void 0}},Ve,!nt&&r["createElement"](M,{ref:z,prefixCls:s,locale:k,editable:S}),r["createElement"]("div",{className:l()("".concat(s,"-ink-bar"),Object(a["a"])({},"".concat(s,"-ink-bar-animated"),y.inkBar)),style:qe}))))),r["createElement"](L,Object.assign({},e,{ref:j,prefixCls:s,tabs:Ue,className:!nt&&Ce})),x&&r["createElement"]("div",{className:"".concat(s,"-extra-content")},x))}var U=r["forwardRef"](H);function K(e){var t=e.id,n=e.activeKey,i=e.animated,o=e.tabPosition,s=e.rtl,u=e.destroyInactiveTabPane,c=r["useContext"](I),d=c.prefixCls,h=c.tabs,f=i.tabPane,p=h.findIndex((function(e){return e.key===n}));return r["createElement"]("div",{className:l()("".concat(d,"-content-holder"))},r["createElement"]("div",{className:l()("".concat(d,"-content"),"".concat(d,"-content-").concat(o),Object(a["a"])({},"".concat(d,"-content-animated"),f)),style:f?Object(a["a"])({},s?"marginRight":"marginLeft","-".concat(p,"00%")):null},h.map((function(e){return r["cloneElement"](e.node,{key:e.key,prefixCls:d,tabKey:e.key,id:t,animated:f,active:e.key===n,destroyInactiveTabPane:u})}))))}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Y(e){var t=e.prefixCls,n=e.forceRender,o=e.className,a=e.style,s=e.id,u=e.active,c=e.animated,d=e.destroyInactiveTabPane,h=e.tabKey,f=e.children,p=r["useState"](n),g=Object(i["a"])(p,2),m=g[0],v=g[1];r["useEffect"]((function(){u?v(!0):d&&v(!1)}),[u,d]);var y={};return u||(c?y.visibility="hidden":y.display="none"),r["createElement"]("div",{id:s&&"".concat(s,"-panel-").concat(h),role:"tabpanel",tabIndex:u?0:-1,"aria-labelledby":s&&"".concat(s,"-tab-").concat(h),"aria-hidden":!u,style:q(q({},y),a),className:l()("".concat(t,"-tabpane"),u&&"".concat(t,"-tabpane-active"),o)},(u||m||n)&&f)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Object(a["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Q=0;function $(e){return Object(u["a"])(e).map((function(e){if(r["isValidElement"](e)){var t=void 0!==e.key?String(e.key):void 0;return Z(Z({key:t},e.props),{},{node:e})}return null})).filter((function(e){return e}))}function J(e,t){var n,s,u=e.id,d=e.prefixCls,h=void 0===d?"rc-tabs":d,f=e.className,p=e.children,g=e.direction,m=e.activeKey,v=e.defaultActiveKey,y=e.editable,b=e.animated,_=e.tabPosition,w=void 0===_?"top":_,x=e.tabBarGutter,C=e.tabBarStyle,S=e.tabBarExtraContent,O=e.locale,k=e.moreIcon,E=e.moreTransitionName,D=e.destroyInactiveTabPane,M=e.renderTabBar,N=e.onChange,L=e.onTabClick,T=e.onTabScroll,P=Object(o["a"])(e,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),A=$(p),R="rtl"===g;s=!1===b?{inkBar:!1,tabPane:!1}:Z({inkBar:!0,tabPane:!1},!0!==b?b:null);var F=Object(r["useState"])(!1),B=Object(i["a"])(F,2),V=B[0],z=B[1];Object(r["useEffect"])((function(){z(j())}),[]);var W=Object(c["a"])((function(){var e;return null===(e=A[0])||void 0===e?void 0:e.key}),{value:m,defaultValue:v}),H=Object(i["a"])(W,2),G=H[0],q=H[1],Y=Object(r["useState"])((function(){return A.findIndex((function(e){return e.key===G}))})),X=Object(i["a"])(Y,2),J=X[0],ee=X[1];Object(r["useEffect"])((function(){var e,t=A.findIndex((function(e){return e.key===G}));-1===t&&(t=Math.max(0,Math.min(J,A.length-1)),q(null===(e=A[t])||void 0===e?void 0:e.key));ee(t)}),[A.map((function(e){return e.key})).join("_"),G,J]);var te=Object(c["a"])(null,{value:u}),ne=Object(i["a"])(te,2),re=ne[0],ie=ne[1],oe=w;function ae(e,t){null===L||void 0===L||L(e,t),q(e),null===N||void 0===N||N(e)}V&&!["left","right"].includes(w)&&(oe="top"),Object(r["useEffect"])((function(){u||(ie("rc-tabs-".concat(Q)),Q+=1)}),[]);var se,le={id:re,activeKey:G,animated:s,tabPosition:oe,rtl:R,mobile:V},ue=Z(Z({},le),{},{editable:y,locale:O,moreIcon:k,moreTransitionName:E,tabBarGutter:x,onTabClick:ae,onTabScroll:T,extra:S,style:C});return se=M?M(ue,U):r["createElement"](U,Object.assign({},ue)),r["createElement"](I.Provider,{value:{tabs:A,prefixCls:h}},r["createElement"]("div",Object.assign({ref:t,id:u,className:l()(h,"".concat(h,"-").concat(oe),(n={},Object(a["a"])(n,"".concat(h,"-mobile"),V),Object(a["a"])(n,"".concat(h,"-editable"),y),Object(a["a"])(n,"".concat(h,"-rtl"),R),n),f)},P),se,r["createElement"](K,Object.assign({destroyInactiveTabPane:D},le,{animated:s}))))}var ee=r["forwardRef"](J);ee.TabPane=Y;var te=ee,ne=te,re=n("cCPh"),ie=n.n(re),oe=n("fNCr"),ae=n.n(oe),se=n("V/uB"),le=n.n(se),ue=n("uaoM"),ce=n("H84U");function de(){return de=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},de.apply(this,arguments)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function pe(e){var t,n,i=e.type,o=e.className,a=e.size,s=e.onEdit,u=e.hideAdd,c=fe(e,["type","className","size","onEdit","hideAdd"]),d=c.prefixCls,h=r["useContext"](ce["b"]),f=h.getPrefixCls,p=h.direction,g=f("tabs",d);return"editable-card"===i&&(n={onEdit:function(e,t){var n=t.key,r=t.event;null===s||void 0===s||s("add"===e?r:n,e)},removeIcon:r["createElement"](le.a,null),addIcon:r["createElement"](ae.a,null),showAdd:!0!==u}),Object(ue["a"])(!("onPrevClick"in c)&&!("onNextClick"in c),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),r["createElement"](ne,de({direction:p},c,{moreTransitionName:"slide-up",className:l()(o,(t={},he(t,"".concat(g,"-").concat(a),a),he(t,"".concat(g,"-card"),["card","editable-card"].includes(i)),he(t,"".concat(g,"-editable-card"),"editable-card"===i),t)),editable:n,moreIcon:r["createElement"](ie.a,null),prefixCls:g}))}pe.TabPane=Y;t["a"]=pe},ZTW2:function(e,t,n){},ZWlE:function(e,t,n){var r=n("bYtY"),i=n("4NO4");function o(e){a(e),s(e)}function a(e){if(!e.parallel){var t=!1;r.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=i.normalizeToArray(e.parallelAxis);r.each(t,(function(t){if(r.isObject(t)){var n=t.parallelIndex||0,o=i.normalizeToArray(e.parallel)[n];o&&o.parallelAxisDefault&&r.merge(t,o.parallelAxisDefault,!1)}}))}e.exports=o},ZX9x:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return A}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("T1rO"),l=n.n(s),u=n("fEPi"),c=n.n(u),d=n("DFhj"),h=n.n(d),f=n("PKem"),p=n("H84U"),g=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},m=g;function v(e){return v="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function C(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function O(e){var t=D();return function(){var n,r=M(e);if(t){var i=M(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return k(this,n)}}function k(e,t){return!t||"object"!==v(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}var N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},L={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},I=r["createContext"]({}),T=function(){var e=0;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}(),P=function(e){C(n,e);var t=O(n);function n(e){var i,s,u;return _(this,n),i=t.call(this,e),i.responsiveHandler=function(e){i.setState({below:e.matches});var t=i.props.onBreakpoint;t&&t(e.matches),i.state.collapsed!==e.matches&&i.setCollapsed(e.matches,"responsive")},i.setCollapsed=function(e,t){"collapsed"in i.props||i.setState({collapsed:e});var n=i.props.onCollapse;n&&n(e,t)},i.toggle=function(){var e=!i.state.collapsed;i.setCollapsed(e,"clickTrigger")},i.renderSider=function(e){var t,n=e.getPrefixCls,s=i.props,u=s.prefixCls,d=s.className,f=s.theme,p=s.collapsible,g=s.reverseArrow,v=s.trigger,_=s.style,w=s.width,x=s.collapsedWidth,C=s.zeroWidthTriggerStyle,S=N(s,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),O=n("layout-sider",u),k=Object(a["a"])(S,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),E=i.state.collapsed?x:w,D=m(E)?"".concat(E,"px"):String(E),M=0===parseFloat(String(x||0))?r["createElement"]("span",{onClick:i.toggle,className:"".concat(O,"-zero-width-trigger ").concat(O,"-zero-width-trigger-").concat(g?"right":"left"),style:C},r["createElement"](l.a,null)):null,L={expanded:g?r["createElement"](c.a,null):r["createElement"](h.a,null),collapsed:g?r["createElement"](h.a,null):r["createElement"](c.a,null)},I=i.state.collapsed?"collapsed":"expanded",T=L[I],P=null!==v?M||r["createElement"]("div",{className:"".concat(O,"-trigger"),onClick:i.toggle,style:{width:D}},v||T):null,A=b(b({},_),{flex:"0 0 ".concat(D),maxWidth:D,minWidth:D,width:D}),R=o()(d,O,"".concat(O,"-").concat(f),(t={},y(t,"".concat(O,"-collapsed"),!!i.state.collapsed),y(t,"".concat(O,"-has-trigger"),p&&null!==v&&!M),y(t,"".concat(O,"-below"),!!i.state.below),y(t,"".concat(O,"-zero-width"),0===parseFloat(D)),t));return r["createElement"]("aside",b({className:R},k,{style:A}),r["createElement"]("div",{className:"".concat(O,"-children")},i.props.children),p||i.state.below&&M?P:null)},i.uniqueId=T("ant-sider-"),"undefined"!==typeof window&&(s=window.matchMedia),s&&e.breakpoint&&e.breakpoint in L&&(i.mql=s("(max-width: ".concat(L[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,i.state={collapsed:u,below:!1},i}return x(n,[{key:"componentDidMount",value:function(){this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),this.props.siderHook&&this.props.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){this.mql&&this.mql.removeListener(this.responsiveHandler),this.props.siderHook&&this.props.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return r["createElement"](I.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r["createElement"](p["a"],null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r["Component"]);P.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var A=function(e){C(n,e);var t=O(n);function n(){return _(this,n),t.apply(this,arguments)}return x(n,[{key:"render",value:function(){var e=this;return r["createElement"](f["a"].Consumer,null,(function(t){return r["createElement"](P,b({},t,e.props))}))}}]),n}(r["Component"])},ZYIC:function(e,t,n){var r=n("zM3Q"),i={seriesType:"lines",plan:r(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),r=e.pipelineContext.large;function i(i,o){var a=[];if(r){var s,l=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=e.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=i.start;c<i.end;c++){var f=e.getLineCoords(c,a);n&&(s[d++]=f);for(var p=0;p<f;p++)h=t.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var g=o.getItemModel(c),m=(f=e.getLineCoords(c,a),[]);if(n)for(var v=0;v<f;v++)m.push(t.dataToPoint(a[v]));else{m[0]=t.dataToPoint(a[0]),m[1]=t.dataToPoint(a[1]);var y=g.get("lineStyle.curveness");+y&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*y,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*y])}o.setItemLayout(c,m)}}return{progress:i}}};e.exports=i},Ze12:function(e,t,n){var r=n("ItGF"),i=n("hOwI"),o=i.buildTransformer,a="___zrEVENTSAVED",s=[];function l(e,t,n,r,i){return u(s,t,r,i,!0)&&u(e,n,s[0],s[1])}function u(e,t,n,i,o){if(t.getBoundingClientRect&&r.domSupported&&!h(t)){var s=t[a]||(t[a]={}),l=c(t,s),u=d(l,s,o);if(u)return u(e,n,i),!0}return!1}function c(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function d(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],a=t.srcCoords,s=!0,l=[],u=[],c=0;c<4;c++){var d=e[c].getBoundingClientRect(),h=2*c,f=d.left,p=d.top;l.push(f,p),s=s&&a&&f===a[h]&&p===a[h+1],u.push(e[c].offsetLeft,e[c].offsetTop)}return s&&i?i:(t.srcCoords=l,t[r]=n?o(u,l):o(l,u))}function h(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=l,t.transformCoordWithViewport=u,t.isCanvasEl=h},"ZkA/":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return n.e(189).then(n.bind(null,"DTUS"))}})},ZlPH:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("EffR"),i=function(){function e(e){this.domNode=e,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontFeatureSettings="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._backgroundColor="",this._layerHint=!1,this._contain="none"}return e.prototype.setMaxWidth=function(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")},e.prototype.setWidth=function(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")},e.prototype.setHeight=function(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")},e.prototype.setTop=function(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")},e.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},e.prototype.setLeft=function(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")},e.prototype.setBottom=function(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")},e.prototype.setRight=function(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")},e.prototype.setFontFamily=function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)},e.prototype.setFontWeight=function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)},e.prototype.setFontSize=function(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")},e.prototype.setFontFeatureSettings=function(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)},e.prototype.setLineHeight=function(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")},e.prototype.setLetterSpacing=function(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")},e.prototype.setClassName=function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)},e.prototype.toggleClassName=function(e,t){r["X"](this.domNode,e,t),this._className=this.domNode.className},e.prototype.setDisplay=function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)},e.prototype.setPosition=function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)},e.prototype.setVisibility=function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)},e.prototype.setBackgroundColor=function(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)},e.prototype.setLayerHinting=function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")},e.prototype.setContain=function(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)},e.prototype.setAttribute=function(e,t){this.domNode.setAttribute(e,t)},e.prototype.removeAttribute=function(e){this.domNode.removeAttribute(e)},e.prototype.appendChild=function(e){this.domNode.appendChild(e.domNode)},e.prototype.removeChild=function(e){this.domNode.removeChild(e.domNode)},e}();function o(e){return new i(e)}},Zm9Q:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("q1tI"),i=n.n(r),o=n("TOwV");function a(e){var t=[];return i.a.Children.forEach(e,(function(e){void 0!==e&&null!==e&&(Array.isArray(e)?t=t.concat(a(e)):Object(o["isFragment"])(e)&&e.props?t=t.concat(a(e.props.children)):t.push(e))})),t}},Znkb:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("zTMp"),a=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,r){this.axisPointerClass&&o.fixValue(e),a.superApply(this,"render",arguments),s(this,e,t,n,r,!0)},updateAxisPointer:function(e,t,n,r,i){s(this,e,t,n,r,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),a.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),a.superApply(this,"dispose",arguments)}});function s(e,t,n,r,i,s){var u=a.getAxisPointerClass(e.axisPointerClass);if(u){var c=o.getAxisPointerModel(t);c?(e._axisPointer||(e._axisPointer=new u)).render(t,c,r,s):l(e,r)}}function l(e,t,n){var r=e._axisPointer;r&&r.dispose(t,n),e._axisPointer=null}var u=[];a.registerAxisPointerClass=function(e,t){u[e]=t},a.getAxisPointerClass=function(e){return e&&u[e]};var c=a;e.exports=c},"Znn+":function(e,t,n){"use strict";n("cIOH"),n("9ama")},ZqQs:function(e,t,n){var r=n("bYtY");function i(e){var t=e&&e.timeline;r.isArray(t)||(t=t?[t]:[]),r.each(t,(function(e){e&&o(e)}))}function o(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),a(e),s(e,"controlPosition")){var i=e.controlStyle||(e.controlStyle={});s(i,"position")||(i.position=e.controlPosition),"none"!==i.position||s(i,"show")||(i.show=!1,delete i.position),delete e.controlPosition}r.each(e.data||[],(function(e){r.isObject(e)&&!r.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),a(e))}))}function a(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),i=e.label||e.label||{},o=i.normal||(i.normal={}),a={normal:1,emphasis:1};r.each(i,(function(e,t){a[t]||s(o,t)||(o[t]=e)})),n.label&&!s(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=i},ZvGG:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return n.e(187).then(n.bind(null,"yUwd"))}})},Zvw2:function(e,t,n){var r=n("bYtY"),i=n("hM6l"),o=function(e,t,n,r,o){i.call(this,e,t,n),this.type=r||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(o,i);var a=o;e.exports=a},Zxgi:function(e,t,n){var r=n("5T2Y"),i=n("WEpk"),o=n("uOPS"),a=n("zLkG"),s=n("2faE").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},a7Wl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"};t.default=r},a9QJ:function(e,t){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function r(e,t){if("world"===e){var r=n[t.name];if(r){var i=t.center;i[0]=r[0],i[1]=r[1]}}}e.exports=r},aCH8:function(e,t,n){(function(){var t=n("ANhw"),r=n("mmNF").utf8,i=n("BEtg"),o=n("mmNF").bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var s=t.bytesToWords(e),l=8*e.length,u=1732584193,c=-271733879,d=-1732584194,h=271733878,f=0;f<s.length;f++)s[f]=16711935&(s[f]<<8|s[f]>>>24)|4278255360&(s[f]<<24|s[f]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var p=a._ff,g=a._gg,m=a._hh,v=a._ii;for(f=0;f<s.length;f+=16){var y=u,b=c,_=d,w=h;u=p(u,c,d,h,s[f+0],7,-680876936),h=p(h,u,c,d,s[f+1],12,-389564586),d=p(d,h,u,c,s[f+2],17,606105819),c=p(c,d,h,u,s[f+3],22,-1044525330),u=p(u,c,d,h,s[f+4],7,-176418897),h=p(h,u,c,d,s[f+5],12,1200080426),d=p(d,h,u,c,s[f+6],17,-1473231341),c=p(c,d,h,u,s[f+7],22,-45705983),u=p(u,c,d,h,s[f+8],7,1770035416),h=p(h,u,c,d,s[f+9],12,-1958414417),d=p(d,h,u,c,s[f+10],17,-42063),c=p(c,d,h,u,s[f+11],22,-1990404162),u=p(u,c,d,h,s[f+12],7,1804603682),h=p(h,u,c,d,s[f+13],12,-40341101),d=p(d,h,u,c,s[f+14],17,-1502002290),c=p(c,d,h,u,s[f+15],22,1236535329),u=g(u,c,d,h,s[f+1],5,-165796510),h=g(h,u,c,d,s[f+6],9,-1069501632),d=g(d,h,u,c,s[f+11],14,643717713),c=g(c,d,h,u,s[f+0],20,-373897302),u=g(u,c,d,h,s[f+5],5,-701558691),h=g(h,u,c,d,s[f+10],9,38016083),d=g(d,h,u,c,s[f+15],14,-660478335),c=g(c,d,h,u,s[f+4],20,-405537848),u=g(u,c,d,h,s[f+9],5,568446438),h=g(h,u,c,d,s[f+14],9,-1019803690),d=g(d,h,u,c,s[f+3],14,-187363961),c=g(c,d,h,u,s[f+8],20,1163531501),u=g(u,c,d,h,s[f+13],5,-1444681467),h=g(h,u,c,d,s[f+2],9,-51403784),d=g(d,h,u,c,s[f+7],14,1735328473),c=g(c,d,h,u,s[f+12],20,-1926607734),u=m(u,c,d,h,s[f+5],4,-378558),h=m(h,u,c,d,s[f+8],11,-2022574463),d=m(d,h,u,c,s[f+11],16,1839030562),c=m(c,d,h,u,s[f+14],23,-35309556),u=m(u,c,d,h,s[f+1],4,-1530992060),h=m(h,u,c,d,s[f+4],11,1272893353),d=m(d,h,u,c,s[f+7],16,-155497632),c=m(c,d,h,u,s[f+10],23,-1094730640),u=m(u,c,d,h,s[f+13],4,681279174),h=m(h,u,c,d,s[f+0],11,-358537222),d=m(d,h,u,c,s[f+3],16,-722521979),c=m(c,d,h,u,s[f+6],23,76029189),u=m(u,c,d,h,s[f+9],4,-640364487),h=m(h,u,c,d,s[f+12],11,-421815835),d=m(d,h,u,c,s[f+15],16,530742520),c=m(c,d,h,u,s[f+2],23,-995338651),u=v(u,c,d,h,s[f+0],6,-198630844),h=v(h,u,c,d,s[f+7],10,1126891415),d=v(d,h,u,c,s[f+14],15,-1416354905),c=v(c,d,h,u,s[f+5],21,-57434055),u=v(u,c,d,h,s[f+12],6,1700485571),h=v(h,u,c,d,s[f+3],10,-1894986606),d=v(d,h,u,c,s[f+10],15,-1051523),c=v(c,d,h,u,s[f+1],21,-2054922799),u=v(u,c,d,h,s[f+8],6,1873313359),h=v(h,u,c,d,s[f+15],10,-30611744),d=v(d,h,u,c,s[f+6],15,-1560198380),c=v(c,d,h,u,s[f+13],21,1309151649),u=v(u,c,d,h,s[f+4],6,-145523070),h=v(h,u,c,d,s[f+11],10,-1120210379),d=v(d,h,u,c,s[f+2],15,718787259),c=v(c,d,h,u,s[f+9],21,-343485551),u=u+y>>>0,c=c+b>>>0,d=d+_>>>0,h=h+w>>>0}return t.endian([u,c,d,h])};a._ff=function(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._gg=function(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._hh=function(e,t,n,r,i,o,a){var s=e+(t^n^r)+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._ii=function(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+(i>>>0)+a;return(s<<o|s>>>32-o)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(a(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}})()},aHsQ:function(e,t,n){"use strict";n("cIOH"),n("6D9b")},aKvl:function(e,t,n){var r=n("Sj9i"),i=r.quadraticProjectPoint;function o(e,t,n,r,o,a,s,l,u){if(0===s)return!1;var c=s;if(u>t+c&&u>r+c&&u>a+c||u<t-c&&u<r-c&&u<a-c||l>e+c&&l>n+c&&l>o+c||l<e-c&&l<n-c&&l<o-c)return!1;var d=i(e,t,n,r,o,a,l,u,null);return d<=c/2}t.containStroke=o},aTJb:function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("dataZoom",(function(){return"slider"}))},aX58:function(e,t,n){var r=n("3gBT"),i=n("ItGF"),o=n("bYtY"),a=n("0s+r"),s=n("r6Bn"),l=n("7SHv"),u=n("MKOG"),c=n("zarK"),d=!i.canvasSupported,h={canvas:l},f={},p="4.3.1";function g(e,t){var n=new _(r(),e,t);return f[n.id]=n,n}function m(e){if(e)e.dispose();else{for(var t in f)f.hasOwnProperty(t)&&f[t].dispose();f={}}return this}function v(e){return f[e]}function y(e,t){h[e]=t}function b(e){delete f[e]}var _=function(e,t,n){n=n||{},this.dom=t,this.id=e;var r=this,l=new s,f=n.renderer;if(d){if(!h.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");f="vml"}else f&&h[f]||(f="canvas");var p=new h[f](t,l,n,e);this.storage=l,this.painter=p;var g=i.node||i.worker?null:new c(p.getViewportRoot(),p.root);this.handler=new a(l,p,g,p.root),this.animation=new u({stage:{update:o.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var m=l.delFromStorage,v=l.addToStorage;l.delFromStorage=function(e){m.call(l,e),e&&e.removeSelfFromZr(r)},l.addToStorage=function(e){v.call(l,e),e.addSelfToZr(r)}};_.prototype={constructor:_,getId:function(){return this.id},add:function(e){this.storage.addRoot(e),this._needsRefresh=!0},remove:function(e){this.storage.delRoot(e),this._needsRefresh=!0},configLayer:function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this._needsRefresh=!0},setBackgroundColor:function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var e;this._needsRefresh&&(e=!0,this.refreshImmediately()),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately()),e&&this.trigger("rendered")},addHover:function(e,t){if(this.painter.addHover){var n=this.painter.addHover(e,t);return this.refreshHover(),n}},removeHover:function(e){this.painter.removeHover&&(this.painter.removeHover(e),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(e,t){return this.painter.pathToImage(e,t)},setCursorStyle:function(e){this.handler.setCursorStyle(e)},findHover:function(e,t){return this.handler.findHover(e,t)},on:function(e,t,n){this.handler.on(e,t,n)},off:function(e,t){this.handler.off(e,t)},trigger:function(e,t){this.handler.trigger(e,t)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,b(this.id)}},t.version=p,t.init=g,t.dispose=m,t.getInstance=v,t.registerPainter=y},aX7z:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("GMDS"),a=n("ieMj"),s=n("4NgU"),l=n("OELB"),u=n("nVfU"),c=u.prepareLayoutBarSeries,d=u.makeColumnLayout,h=u.retrieveColumnLayout,f=n("mFDi");function p(e,t){var n,r,o,a=e.type,s=t.getMin(),u=t.getMax(),h=e.getExtent();"ordinal"===a?n=t.getCategories().length:(r=t.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"===typeof r[0]&&(r=[0,0]),r[0]=l.parsePercent(r[0],1),r[1]=l.parsePercent(r[1],1),o=h[1]-h[0]||Math.abs(h[0])),"dataMin"===s?s=h[0]:"function"===typeof s&&(s=s({min:h[0],max:h[1]})),"dataMax"===u?u=h[1]:"function"===typeof u&&(u=u({min:h[0],max:h[1]}));var f=null!=s,p=null!=u;null==s&&(s="ordinal"===a?n?0:NaN:h[0]-r[0]*o),null==u&&(u="ordinal"===a?n?n-1:NaN:h[1]+r[1]*o),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN),e.setBlank(i.eqNaN(s)||i.eqNaN(u)||"ordinal"===a&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(s>0&&u>0&&!f&&(s=0),s<0&&u<0&&!p&&(u=0));var m=t.ecModel;if(m&&"time"===a){var v,y=c("bar",m);if(i.each(y,(function(e){v|=e.getBaseAxis()===t.axis})),v){var b=d(y),_=g(s,u,t,b);s=_.min,u=_.max}}return{extent:[s,u],fixMin:f,fixMax:p}}function g(e,t,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(r,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;i.each(s,(function(e){l=Math.min(e.offset,l)}));var u=-1/0;i.each(s,(function(e){u=Math.max(e.offset+e.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,d=t-e,f=1-(l+u)/a,p=d/f-d;return t+=p*(u/c),e-=p*(l/c),{min:e,max:t}}function m(e,t){var n=p(e,t),r=n.extent,i=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var o=e.type;e.setExtent(r[0],r[1]),e.niceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===o||"time"===o?t.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?t.get("maxInterval"):null});var a=t.get("interval");null!=a&&e.setInterval&&e.setInterval(a)}function v(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new o(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(s.getClass(t)||a).create(e)}}function y(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function b(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}}(t),t):"function"===typeof t?function(r,i){return null!=n&&(i=r-n),t(_(e,r),i)}:function(t){return e.scale.getLabel(t)}}function _(e,t){return"category"===e.type?e.scale.getLabel(t):t}function w(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var r,i,o="category"===e.type,a=n.getExtent();o?i=n.count():(r=n.getTicks(),i=r.length);var s,l=e.getLabelModel(),u=b(e),c=1;i>40&&(c=Math.ceil(i/40));for(var d=0;d<i;d+=c){var h=r?r[d]:a[0]+d,f=u(h),p=l.getTextRect(f),g=x(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function x(e,t){var n=t*Math.PI/180,r=e.plain(),i=r.width,o=r.height,a=i*Math.cos(n)+o*Math.sin(n),s=i*Math.sin(n)+o*Math.cos(n),l=new f(r.x,r.y,a,s);return l}function C(e){var t=e.get("interval");return null==t?"auto":t}function S(e){return"category"===e.type&&0===C(e.getLabelModel())}n("IWp7"),n("jCoz"),t.getScaleExtent=p,t.niceScaleExtent=m,t.createScaleByModel=v,t.ifAxisCrossZero=y,t.makeLabelFormatter=b,t.getAxisRawValue=_,t.estimateLabelUnionRect=w,t.getOptionCategoryInterval=C,t.shouldShowAllLabels=S},adOz:function(e,t,n){n("Zxgi")("asyncIterator")},adU4:function(e,t,n){var r=n("y1pI"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,n=r(t,e);if(n<0)return!1;var i=t.length-1;return n==i?t.pop():o.call(t,n,1),--this.size,!0}e.exports=a},"af/B":function(e,t,n){var r=n("bYtY"),i=r.each,o=r.map,a=r.isFunction,s=r.createHashMap,l=r.noop,u=n("9H2F"),c=u.createTask,d=n("iRjW"),h=d.getUID,f=n("fmMI"),p=n("hD7B"),g=n("4NO4"),m=g.normalizeToArray;function v(e,t,n,r){this.ecInstance=e,this.api=t,this.unfinished;n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice();this._allHandlers=n.concat(r),this._stageTaskMap=s()}var y=v.prototype;function b(e,t,n,r,o){var a;function s(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}o=o||{},i(t,(function(t,i){if(!o.visualType||o.visualType===t.visualType){var l=e._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(e){s(o,e)&&(e.dirty(),d=!0)})),d&&c.dirty(),_(c,r);var f=e.getPerformArgs(c,o.block);h.each((function(e){e.perform(f)})),a|=c.perform(f)}else u&&u.each((function(i,l){s(o,i)&&i.dirty();var u=e.getPerformArgs(i,o.block);u.skip=!t.performRawSeries&&n.isSeriesFiltered(i.context.model),_(i,r),a|=i.perform(u)}))}})),e.unfinished|=a}y.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){var t=e.overallTask;t&&t.dirty()}))},y.getPerformArgs=function(e,t){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),r=n.context,i=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=i?n.step:null,a=r&&r.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},y.getPipeline=function(e){return this._pipelineMap.get(e)},y.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),o=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,a=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},y.restorePipelines=function(e){var t=this,n=t._pipelineMap=s();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),I(t,e,e.dataTask)}))},y.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,[]);r.reset&&w(this,r,i,t,n),r.overallReset&&x(this,r,i,t,n)}),this)},y.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,I(this,t,i)},y.performDataProcessorTasks=function(e,t){b(this,this._dataProcessorHandlers,e,t,{block:!0})},y.performVisualTasks=function(e,t,n){b(this,this._visualHandlers,e,t,n)},y.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},y.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var _=y.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function w(e,t,n,r,i){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=t.seriesType,l=t.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:E,reset:D,count:L}));s.context={model:n,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},I(e,n,s)}t.createOnAllSeries?r.eachRawSeries(u):a?r.eachRawSeriesByType(a,u):l&&l(r,i).each(u);var d=e._pipelineMap;o.each((function(e,t){d.get(t)||(e.dispose(),o.removeKey(t))}))}function x(e,t,n,r,o){var a=n.overallTask=n.overallTask||c({reset:C});a.context={ecModel:r,api:o,overallReset:t.overallReset,scheduler:e};var l=a.agentStubMap=a.agentStubMap||s(),u=t.seriesType,d=t.getTargetSeries,h=!0,f=t.modifyOutputEnd;function p(t){var n=t.uid,r=l.get(n);r||(r=l.set(n,c({reset:S,onDirty:k})),a.dirty()),r.context={model:t,overallProgress:h,modifyOutputEnd:f},r.agent=a,r.__block=h,I(e,t,r)}u?r.eachRawSeriesByType(u,p):d?d(r,o).each(p):(h=!1,i(r.getSeries(),p));var g=e._pipelineMap;l.each((function(e,t){g.get(t)||(e.dispose(),a.dirty(),l.removeKey(t))}))}function C(e){e.overallReset(e.ecModel,e.api,e.payload)}function S(e,t){return e.overallProgress&&O}function O(){this.agent.dirty(),this.getDownstream().dirty()}function k(){this.agent&&this.agent.dirty()}function E(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function D(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=m(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?o(t,(function(e,t){return N(t)})):M}var M=N(0);function N(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function L(e){return e.data.count()}function I(e,t,n){var r=t.uid,i=e._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i}function T(e){P=null;try{e(A,R)}catch(t){}return P}v.wrapStageHandler=function(e,t){return a(e)&&(e={overallReset:e,seriesType:T(e)}),e.uid=h("stageHandler"),t&&(e.visualType=t),e};var P,A={},R={};function j(e,t){for(var n in t.prototype)e[n]=l}j(A,f),j(R,p),A.eachSeriesByType=A.eachRawSeriesByType=function(e){P=e},A.eachComponent=function(e){"series"===e.mainType&&e.subType&&(P=e.subType)};var F=v;e.exports=F},ajgA:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return n.e(204).then(n.bind(null,"Fzfo"))}})},akwb:function(e,t,n){var r=n("RSch"),i=n("bYtY"),o=n("D9ME"),a=n("QBsz");function s(e,t,n){o.call(this,e,t,n),this._lastFrame=0,this._lastFramePercent=0}var l=s.prototype;l.createLine=function(e,t,n){return new r(e,t,n)},l.updateAnimationPoints=function(e,t){this._points=t;for(var n=[0],r=0,i=1;i<t.length;i++){var o=t[i-1],s=t[i];r+=a.dist(o,s),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}},l.getLineLength=function(e){return this._length},l.updateSymbolPosition=function(e){var t=e.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o=this._lastFrame;if(t<this._lastFramePercent){var s=Math.min(o+1,i-1);for(l=s;l>=0;l--)if(r[l]<=t)break;l=Math.min(l,i-2)}else{for(var l=o;l<i;l++)if(r[l]>t)break;l=Math.min(l-1,i-2)}a.lerp(e.position,n[l],n[l+1],(t-r[l])/(r[l+1]-r[l]));var u=n[l+1][0]-n[l][0],c=n[l+1][1]-n[l][1];e.rotation=-Math.atan2(c,u)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},i.inherits(s,o);var u=s;e.exports=u},aokT:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("cGHE"),i=function(){function e(e,t,n,r){e>n||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(t){return e.containsPosition(this,t)},e.containsPosition=function(e,t){return!(t.lineNumber<e.startLineNumber||t.lineNumber>e.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>e.endColumn))},e.prototype.containsRange=function(t){return e.containsRange(this,t)},e.containsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>e.endColumn)))},e.prototype.strictContainsRange=function(t){return e.strictContainsRange(this,t)},e.strictContainsRange=function(e,t){return!(t.startLineNumber<e.startLineNumber||t.endLineNumber<e.startLineNumber)&&(!(t.startLineNumber>e.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))},e.prototype.plusRange=function(t){return e.plusRange(this,t)},e.plusRange=function(t,n){var r,i,o,a;return n.startLineNumber<t.startLineNumber?(r=n.startLineNumber,i=n.startColumn):n.startLineNumber===t.startLineNumber?(r=n.startLineNumber,i=Math.min(n.startColumn,t.startColumn)):(r=t.startLineNumber,i=t.startColumn),n.endLineNumber>t.endLineNumber?(o=n.endLineNumber,a=n.endColumn):n.endLineNumber===t.endLineNumber?(o=n.endLineNumber,a=Math.max(n.endColumn,t.endColumn)):(o=t.endLineNumber,a=t.endColumn),new e(r,i,o,a)},e.prototype.intersectRanges=function(t){return e.intersectRanges(this,t)},e.intersectRanges=function(t,n){var r=t.startLineNumber,i=t.startColumn,o=t.endLineNumber,a=t.endColumn,s=n.startLineNumber,l=n.startColumn,u=n.endLineNumber,c=n.endColumn;return r<s?(r=s,i=l):r===s&&(i=Math.max(i,l)),o>u?(o=u,a=c):o===u&&(a=Math.min(a,c)),r>o||r===o&&i>a?null:new e(r,i,o,a)},e.prototype.equalsRange=function(t){return e.equalsRange(this,t)},e.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},e.prototype.getEndPosition=function(){return new r["a"](this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new r["a"](this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(t,n){return new e(this.startLineNumber,this.startColumn,t,n)},e.prototype.setStartPosition=function(t,n){return new e(t,n,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(t){return new e(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)},e.fromPositions=function(t,n){return void 0===n&&(n=t),new e(t.lineNumber,t.column,n.lineNumber,n.column)},e.lift=function(t){return t?new e(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null},e.isIRange=function(e){return e&&"number"===typeof e.startLineNumber&&"number"===typeof e.startColumn&&"number"===typeof e.endLineNumber&&"number"===typeof e.endColumn},e.areIntersectingOrTouching=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<e.startColumn)},e.areIntersecting=function(e,t){return!(e.endLineNumber<t.startLineNumber||e.endLineNumber===t.startLineNumber&&e.endColumn<=t.startColumn)&&!(t.endLineNumber<e.startLineNumber||t.endLineNumber===e.startLineNumber&&t.endColumn<=e.startColumn)},e.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,r=0|t.startLineNumber;if(n===r){var i=0|e.startColumn,o=0|t.startColumn;if(i===o){var a=0|e.endLineNumber,s=0|t.endLineNumber;if(a===s){var l=0|e.endColumn,u=0|t.endColumn;return l-u}return a-s}return i-o}return n-r}var c=e?1:0,d=t?1:0;return c-d},e.compareRangesUsingEnds=function(e,t){return e.endLineNumber===t.endLineNumber?e.endColumn===t.endColumn?e.startLineNumber===t.startLineNumber?e.startColumn-t.startColumn:e.startLineNumber-t.startLineNumber:e.endColumn-t.endColumn:e.endLineNumber-t.endLineNumber},e.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},e}()},apAg:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("bsht")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="SearchOutlined";var u=o.forwardRef(l);t.default=u},"ar/p":function(e,t,n){var r=n("5vMV"),i=n("FpHa").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},as94:function(e,t,n){var r=n("7aKB"),i=n("3LNs"),o=n("IwbS"),a=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=i.extend({makeElOption:function(e,t,n,i,o){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,u=s.polar,c=u.getOtherAxis(s),f=c.getExtent();l=s["dataTo"+r.capitalFirst(s.dim)](t);var p=i.get("type");if(p&&"none"!==p){var g=a.buildElStyle(i),m=h[p](s,u,l,f,g);m.style=g,e.graphicKey=m.type,e.pointer=m}var v=i.get("label.margin"),y=d(t,n,i,u,v);a.buildLabelElOption(e,n,i,o,y)}});function d(e,t,n,r,i){var a=t.axis,u=a.dataToCoord(e),c=r.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var d,h,f,p=r.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[r.cx,r.cy]),d=o.applyTransform([u,-i],g);var m=t.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(c,m*Math.PI/180,-1);h=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];d=r.coordToPoint([y+i,u]);var b=r.cx,_=r.cy;h=Math.abs(d[0]-b)/y<.3?"center":d[0]>b?"left":"right",f=Math.abs(d[1]-_)/y<.3?"middle":d[1]>_?"top":"bottom"}return{position:d,align:h,verticalAlign:f}}var h={line:function(e,t,n,r,i){return"angle"===e.dim?{type:"Line",shape:a.makeLineShape(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,i){var o=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,r[0],r[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(t.cx,t.cy,n-o/2,n+o/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c);var f=c;e.exports=f},b56q:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),s=n("wJg7"),l=n("c6wG"),u=Object.prototype,c=u.hasOwnProperty;function d(e,t){var n=o(e),u=!n&&i(e),d=!n&&!u&&a(e),h=!n&&!u&&!d&&l(e),f=n||u||d||h,p=f?r(e.length,String):[],g=p.length;for(var m in e)!t&&!c.call(e,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}e.exports=d},b80e:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("gKaM")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="DoubleLeftOutlined";var u=o.forwardRef(l);t.default=u},b9oc:function(e,t,n){var r=n("bYtY"),i=r.each,o="\0_ec_hist_store";function a(e,t){var n=c(e);i(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[r])break}if(i<0){var a=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var s=a.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function s(e){var t=c(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){e=t[i][n];if(e){r[n]=e;break}}})),r}function l(e){e[o]=null}function u(e){return c(e).length}function c(e){var t=e[o];return t||(t=e[o]=[{}]),t}t.push=a,t.pop=s,t.clear=l,t.count=u},bBKM:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("+rIm"),s=n("IwbS"),l=["axisLine","axisTickLabel","axisName"],u=i.extendComponentView({type:"radar",render:function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=o.map(n,(function(e){var n=new a(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));o.each(r,(function(e){o.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),a=e.getModel("splitArea"),l=i.getModel("lineStyle"),u=a.getModel("areaStyle"),c=i.get("show"),d=a.get("show"),h=l.get("color"),f=u.get("color");h=o.isArray(h)?h:[h],f=o.isArray(f)?f:[f];var p=[],g=[];if("circle"===r)for(var m=n[0].getTicksCoords(),v=t.cx,y=t.cy,b=0;b<m.length;b++){if(c){var _=D(p,h,b);p[_].push(new s.Circle({shape:{cx:v,cy:y,r:m[b].coord}}))}if(d&&b<m.length-1){_=D(g,f,b);g[_].push(new s.Ring({shape:{cx:v,cy:y,r0:m[b].coord,r:m[b+1].coord}}))}}else{var w,x=o.map(n,(function(e,n){var r=e.getTicksCoords();return w=null==w?r.length-1:Math.min(r.length-1,w),o.map(r,(function(e){return t.coordToPoint(e.coord,n)}))})),C=[];for(b=0;b<=w;b++){for(var S=[],O=0;O<n.length;O++)S.push(x[O][b]);if(S[0]&&S.push(S[0].slice()),c){_=D(p,h,b);p[_].push(new s.Polyline({shape:{points:S}}))}if(d&&C){_=D(g,f,b-1);g[_].push(new s.Polygon({shape:{points:S.concat(C)}}))}C=S.slice().reverse()}}var k=l.getLineStyle(),E=u.getAreaStyle();o.each(g,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({stroke:"none",fill:f[t%f.length]},E),silent:!0}))}),this),o.each(p,(function(e,t){this.group.add(s.mergePath(e,{style:o.defaults({fill:"none",stroke:h[t%h.length]},k),silent:!0}))}),this)}function D(e,t,n){var r=n%t.length;return e[r]=e[r]||[],r}}});e.exports=u},bBL8:function(e,t,n){var r=n("ProS");n("LPzL"),n("rfSb"),n("JVwQ");var i=n("UnoB"),o=n("cbJ4"),a=n("0/Rx");r.registerLayout(i),r.registerVisual(o),r.registerProcessor(a("themeRiver"))},bBy9:function(e,t,n){n("w2d+");for(var r=n("5T2Y"),i=n("NegM"),o=n("SBuE"),a=n("UWiX")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},bE4E:function(e,t,n){},bE4q:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("Zm9Q"),s=n("HQEm"),l=n.n(s),u=n("XBQK"),c=n("H84U");function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},f=function(e){var t,n=e.prefixCls,i=e.separator,o=e.children,a=e.overlay,s=e.dropdownProps,f=h(e,["prefixCls","separator","children","overlay","dropdownProps"]),p=r["useContext"](c["b"]),g=p.getPrefixCls,m=g("breadcrumb",n),v=function(e){return a?r["createElement"](u["a"],d({overlay:a,placement:"bottomCenter"},s),r["createElement"]("span",{className:"".concat(m,"-overlay-link")},e,r["createElement"](l.a,null))):e};return t="href"in f?r["createElement"]("a",d({className:"".concat(m,"-link")},f),o):r["createElement"]("span",d({className:"".concat(m,"-link")},f),o),t=v(t),o?r["createElement"]("span",null,t,i&&""!==i&&r["createElement"]("span",{className:"".concat(m,"-separator")},i)):null};f.__ANT_BREADCRUMB_ITEM=!0;var p=f,g=function(e){var t=e.children,n=r["useContext"](c["b"]),i=n.getPrefixCls,o=i("breadcrumb");return r["createElement"]("span",{className:"".concat(o,"-separator")},t||"/")};g.__ANT_BREADCRUMB_SEPARATOR=!0;var m=g,v=n("BvKs"),y=n("uaoM"),b=n("0n0R");function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(this,arguments)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){return k(e)||O(e)||S(e)||C()}function C(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(e,t){if(e){if("string"===typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}function O(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function k(e){if(Array.isArray(e))return E(e)}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function M(e,t){if(!e.breadcrumbName)return null;var n=Object.keys(t).join("|"),r=e.breadcrumbName.replace(new RegExp(":(".concat(n,")"),"g"),(function(e,n){return t[n]||e}));return r}function N(e,t,n,i){var o=n.indexOf(e)===n.length-1,a=M(e,t);return o?r["createElement"]("span",null,a):r["createElement"]("a",{href:"#/".concat(i.join("/"))},a)}var L=function(e,t){return e=(e||"").replace(/^\//,""),Object.keys(t).forEach((function(n){e=e.replace(":".concat(n),t[n])})),e},I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=x(e),i=L(t,n);return i&&r.push(i),r},T=function(e){var t,n=e.prefixCls,i=e.separator,s=void 0===i?"/":i,l=e.style,u=e.className,d=e.routes,h=e.children,f=e.itemRender,g=void 0===f?N:f,m=e.params,x=void 0===m?{}:m,C=D(e,["prefixCls","separator","style","className","routes","children","itemRender","params"]),S=r["useContext"](c["b"]),O=S.getPrefixCls,k=S.direction,E=O("breadcrumb",n);if(d&&d.length>0){var M=[];t=d.map((function(e){var t,n=L(e.path,x);return n&&M.push(n),e.children&&e.children.length&&(t=r["createElement"](v["a"],null,e.children.map((function(e){return r["createElement"](v["a"].Item,{key:e.path||e.breadcrumbName},g(e,x,d,I(M,e.path,x)))})))),r["createElement"](p,{overlay:t,separator:s,key:n||e.breadcrumbName},g(e,x,d,M))}))}else h&&(t=Object(a["a"])(h).map((function(e,t){return e?(Object(y["a"])(e.type&&(!0===e.type.__ANT_BREADCRUMB_ITEM||!0===e.type.__ANT_BREADCRUMB_SEPARATOR),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(b["a"])(e,{separator:s,key:t})):e})));var T=o()(u,E,w({},"".concat(E,"-rtl"),"rtl"===k));return r["createElement"]("div",_({className:T,style:l},C),t)};T.Item=p,T.Separator=m;var P=T;t["a"]=P},bKJz:function(e,t,n){},bLfw:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=n("iRjW"),a=n("Yl7c"),s=a.enableClassManagement,l=a.parseClassType,u=n("4NO4"),c=u.makeInner,d=n("+TT/"),h=n("3hzK"),f=c(),p=i.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,t,n,r){i.call(this,e,t,n,r),this.uid=o.getUID("ec_cpt_model")},init:function(e,t,n,r){this.mergeDefaultAndTheme(e,n)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,i=n?d.getLayoutParams(e):{},o=t.getTheme();r.merge(e,o.get(this.mainType)),r.merge(e,this.getDefaultOption()),n&&d.mergeLayoutParam(e,i,n)},mergeOption:function(e,t){r.merge(this.option,e,!0);var n=this.layoutMode;n&&d.mergeLayoutParam(this.option,e,n)},optionUpdated:function(e,t){},getDefaultOption:function(){var e=f(this);if(!e.defaultOption){var t=[],n=this.constructor;while(n){var i=n.prototype.defaultOption;i&&t.push(i),n=n.superClass}for(var o={},a=t.length-1;a>=0;a--)o=r.merge(o,t[a],!0);e.defaultOption=o}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function g(e){var t=[];return r.each(p.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=r.map(t,(function(e){return l(e).main})),"dataset"!==e&&r.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(p,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(p),o.enableTopologicalTravel(p,g),r.mixin(p,h);var m=p;e.exports=m},bMXI:function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("Fofx"),a=n("mFDi"),s=n("DN4a"),l=i.applyTransform;function u(){s.call(this)}function c(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u,this._center,this._zoom}function d(e,t,n,r){var i=n.seriesModel,o=i?i.coordinateSystem:null;return o===this?o[e](r):null}r.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,r){return this._rect=new a(e,t,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,r){this.transformTo(e,t,n,r),this._viewRect=new a(e,t,n,r)},transformTo:function(e,t,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new a(e,t,n,r)),o.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=i.applyTransform([],r,e),n=i.applyTransform([],n,e),t.origin=r,t.position=[n[0]-r[0],n[1]-r[1]],t.scale=[o,o],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),o.copy(this.transform||(this.transform=[]),t.transform||o.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?r.slice(e):o.create(),rawScale:r.slice(t.scale),rawPosition:r.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?l(n,e,r):i.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:r.curry(d,"dataToPoint"),convertFromPixel:r.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},r.mixin(c,s);var h=c;e.exports=h},bNin:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("FBjb"),a=n("Itpr"),s=a.radialCoordinate,l=n("ProS"),u=n("4mN7"),c=n("bMXI"),d=n("Ae+d"),h=n("SgGq"),f=n("xSat"),p=f.onIrrelevantElement,g=n("Tghj"),m=(g.__DEV__,n("OELB")),v=m.parsePercent,y=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,o=n[0],a=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(o[0],o[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=v(t.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(a[u]-i[u])*c,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(o[0],o[1]),d[l]=o[l],e.lineTo(d[0],d[1]),d[l]=a[l],e.lineTo(d[0],d[1]),e.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var f=n[h];e.moveTo(f[0],f[1]),d[l]=f[l],e.lineTo(d[0],d[1])}}}),b=l.extendChartView({type:"tree",init:function(e,t){this._oldTree,this._mainGroup=new i.Group,this._controller=new h(t.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(e,t,n,r){var i=e.getData(),o=e.layoutInfo,a=this._mainGroup,s=e.get("layout");"radial"===s?a.attr("position",[o.x+o.width/2,o.y+o.height/2]):a.attr("position",[o.x,o.y]),this._updateViewCoordSys(e,o,s),this._updateController(e,t,n);var l=this._data,u={expandAndCollapse:e.get("expandAndCollapse"),layout:s,edgeShape:e.get("edgeShape"),edgeForkPosition:e.get("edgeForkPosition"),orient:e.getOrient(),curvature:e.get("lineStyle.curveness"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverAnimation:e.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};i.diff(l).add((function(t){_(i,t)&&x(i,t,null,a,e,u)})).update((function(t,n){var r=l.getItemGraphicEl(n);_(i,t)?x(i,t,r,a,e,u):r&&S(l,n,r,a,e,u)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&S(l,t,n,a,e,u)})).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),!0===u.expandAndCollapse&&i.eachItemGraphicEl((function(t,r){t.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:r})}))})),this._data=i},_updateViewCoordSys:function(e){var t=e.getData(),n=[];t.each((function(e){var r=t.getItemLayout(e);!r||isNaN(r.x)||isNaN(r.y)||n.push([+r.x,+r.y])}));var r=[],i=[];u.fromPoints(n,r,i);var o=this._min,a=this._max;i[0]-r[0]===0&&(r[0]=o?o[0]:r[0]-1,i[0]=a?a[0]:i[0]+1),i[1]-r[1]===0&&(r[1]=o?o[1]:r[1]-1,i[1]=a?a[1]:i[1]+1);var s=e.coordinateSystem=new c;s.zoomLimit=e.get("scaleLimit"),s.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1]),s.setCenter(e.get("center")),s.setZoom(e.get("zoom")),this.group.attr({position:s.position,scale:s.scale}),this._viewCoordSys=s,this._min=r,this._max=i},_updateController:function(e,t,n){var r=this._controller,i=this._controllerHost,o=this.group;r.setPointerChecker((function(t,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!p(t,n,e)})),r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){d.updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"treeRoam",dx:t.dx,dy:t.dy})}),this).on("zoom",(function(t){d.updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(e)}),this)},_updateNodeAndLinkScale:function(e){var t=e.getData(),n=this._getNodeGlobalScale(e),r=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",r)}))},_getNodeGlobalScale:function(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=this._nodeScaleRatio,r=t.scale,i=r&&r[0]||1,o=t.getZoom(),a=(o-1)*n+1;return a/i},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function _(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)&&"none"!==e.getItemVisual(t,"symbol")}function w(e,t,n){return n.itemModel=t,n.itemStyle=t.getModel("itemStyle").getItemStyle(),n.hoverItemStyle=t.getModel("emphasis.itemStyle").getItemStyle(),n.lineStyle=t.getModel("lineStyle").getLineStyle(),n.labelModel=t.getModel("label"),n.hoverLabelModel=t.getModel("emphasis.label"),!1===e.isExpand&&0!==e.children.length?n.symbolInnerColor=n.itemStyle.fill:n.symbolInnerColor="#fff",n}function x(e,t,n,r,a,s){var l=!n,u=e.tree.getNodeByDataIndex(t),c=u.getModel(),d=(s=w(u,c,s),e.tree.root),h=u.parentNode===d?u:u.parentNode||u,f=e.getItemGraphicEl(h.dataIndex),p=h.getLayout(),g=f?{x:f.position[0],y:f.position[1],rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:p,m=u.getLayout();l?(n=new o(e,t,s),n.attr("position",[g.x,g.y])):n.updateData(e,t,s),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,r.add(n),e.setItemGraphicEl(t,n),i.updateProps(n,{position:[m.x,m.y]},a);var v=n.getSymbolPath();if("radial"===s.layout){var y,b,_=d.children[0],x=_.getLayout(),S=_.children.length;if(m.x===x.x&&!0===u.isExpand){var O={};O.x=(_.children[0].getLayout().x+_.children[S-1].getLayout().x)/2,O.y=(_.children[0].getLayout().y+_.children[S-1].getLayout().y)/2,y=Math.atan2(O.y-x.y,O.x-x.x),y<0&&(y=2*Math.PI+y),b=O.x<x.x,b&&(y-=Math.PI)}else y=Math.atan2(m.y-x.y,m.x-x.x),y<0&&(y=2*Math.PI+y),0===u.children.length||0!==u.children.length&&!1===u.isExpand?(b=m.x<x.x,b&&(y-=Math.PI)):(b=m.x>x.x,b||(y-=Math.PI));var k=b?"left":"right",E=s.labelModel.get("rotate"),D=E*(Math.PI/180);v.setStyle({textPosition:s.labelModel.get("position")||k,textRotation:null==E?-y:D,textOrigin:"center",verticalAlign:"middle"})}C(a,u,d,n,g,p,m,r,s)}function C(e,t,n,o,a,s,l,u,c){var d=c.edgeShape,h=o.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=o.__edge=new i.BezierCurve({shape:O(c,a,a),style:r.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),i.updateProps(h,{shape:O(c,s,l),style:{opacity:1}},e));else if("polyline"===d&&"orthogonal"===c.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var f=t.children,p=[],g=0;g<f.length;g++){var m=f[g].getLayout();p.push([m.x,m.y])}h||(h=o.__edge=new y({shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]],orient:c.orient,forkPosition:c.edgeForkPosition},style:r.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),i.updateProps(h,{shape:{parentPoint:[l.x,l.y],childPoints:p},style:{opacity:1}},e)}u.add(h)}function S(e,t,n,r,o,a){var s,l=e.tree.getNodeByDataIndex(t),u=e.tree.root,c=l.getModel(),d=(a=w(l,c,a),l.parentNode===u?l:l.parentNode||l),h=a.edgeShape;while(s=d.getLayout(),null==s)d=d.parentNode===u?d:d.parentNode||d;i.updateProps(n,{position:[s.x+1,s.y+1]},o,(function(){r.remove(n),e.setItemGraphicEl(t,null)})),n.fadeOut(null,{keepLabel:!0});var f=e.getItemGraphicEl(d.dataIndex),p=f.__edge,g=n.__edge||(!1===d.isExpand||1===d.children.length?p:void 0);h=a.edgeShape;g&&("curve"===h?i.updateProps(g,{shape:O(a,s,s),style:{opacity:0}},o,(function(){r.remove(g)})):"polyline"===h&&"orthogonal"===a.layout&&i.updateProps(g,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},o,(function(){r.remove(g)})))}function O(e,t,n){var r,i,o,a,l,u,c,d,h=e.orient;if("radial"===e.layout){l=t.rawX,c=t.rawY,u=n.rawX,d=n.rawY;var f=s(l,c),p=s(l,c+(d-c)*e.curvature),g=s(u,d+(c-d)*e.curvature),m=s(u,d);return{x1:f.x,y1:f.y,x2:m.x,y2:m.y,cpx1:p.x,cpy1:p.y,cpx2:g.x,cpy2:g.y}}return l=t.x,c=t.y,u=n.x,d=n.y,"LR"!==h&&"RL"!==h||(r=l+(u-l)*e.curvature,i=c,o=u+(l-u)*e.curvature,a=d),"TB"!==h&&"BT"!==h||(r=l,i=c+(d-c)*e.curvature,o=u,a=d+(c-d)*e.curvature),{x1:l,y1:c,x2:u,y2:d,cpx1:r,cpy1:i,cpx2:o,cpy2:a}}e.exports=b},bQgK:function(e,t,n){(function(t){(function(){var n,r,i,o,a,s;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n(),s=1e9*t.uptime(),a=o-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n("Q2Ig"))},bRQS:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CheckOutlined";t["a"]=r["forwardRef"](s)},bX4T:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r="accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap",i="onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError",o="".concat(r," ").concat(i).split(/[\s\n]+/),a="aria-",s="data-";function l(e,t){return 0===e.indexOf(t)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={};return Object.keys(e).forEach((function(r){l(r,a)?n[r]=e[r]:t||!o.includes(r)&&!l(r,s)||(n[r]=e[r])})),n}},bY76:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r,i=n("MNsG"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=/^\w[\w\d+.-]*$/,s=/^\//,l=/^\/\//;function u(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!s.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}function c(e,t){return e||t?e:"file"}function d(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f;break}return t}var h="",f="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,g=function(){function e(e,t,n,r,i,o){void 0===o&&(o=!1),"object"===typeof e?(this.scheme=e.scheme||h,this.authority=e.authority||h,this.path=e.path||h,this.query=e.query||h,this.fragment=e.fragment||h):(this.scheme=c(e,o),this.authority=t||h,this.path=d(this.scheme,n||h),this.query=r||h,this.fragment=i||h,u(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&("string"===typeof t.authority&&"string"===typeof t.fragment&&"string"===typeof t.path&&"string"===typeof t.query&&"string"===typeof t.scheme&&"function"===typeof t.fsPath&&"function"===typeof t.with&&"function"===typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return w(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=h),void 0===n?n=this.authority:null===n&&(n=h),void 0===r?r=this.path:null===r&&(r=h),void 0===i?i=this.query:null===i&&(i=h),void 0===o?o=this.fragment:null===o&&(o=h),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new v(t,n,r,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new v(n[2]||h,O(n[4]||h),O(n[5]||h),O(n[7]||h),O(n[9]||h),t):new v(h,h,h,h,h)},e.file=function(e){var t=h;if(i["h"]&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var n=e.indexOf(f,2);-1===n?(t=e.substring(2),e=f):(t=e.substring(2,n),e=e.substring(n)||f)}return new v("file",t,e,h,h)},e.from=function(e){return new v(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),x(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new v(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=i["h"]?1:void 0,v=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return o(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?x(this,!0):(this._formatted||(this._formatted=x(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(g),y=(r={},r[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,r=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var a=y[o];void 0!==a?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=a):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function _(e){for(var t=void 0,n=0;n<e.length;n++){var r=e.charCodeAt(n);35===r||63===r?(void 0===t&&(t=e.substr(0,n)),t+=y[r]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function w(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,i["h"]&&(t=t.replace(/\//g,"\\")),t}function x(e,t){var n=t?_:b,r="",i=e.scheme,o=e.authority,a=e.path,s=e.query,l=e.fragment;if(i&&(r+=i,r+=":"),(o||"file"===i)&&(r+=f,r+=f),o){var u=o.indexOf("@");if(-1!==u){var c=o.substr(0,u);o=o.substr(u+1),u=c.indexOf(":"),-1===u?r+=n(c,!1):(r+=n(c.substr(0,u),!1),r+=":",r+=n(c.substr(u+1),!1)),r+="@"}o=o.toLowerCase(),u=o.indexOf(":"),-1===u?r+=n(o,!1):(r+=n(o.substr(0,u),!1),r+=o.substr(u))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2)){var d=a.charCodeAt(1);d>=65&&d<=90&&(a="/"+String.fromCharCode(d+32)+":"+a.substr(3))}else if(a.length>=2&&58===a.charCodeAt(1)){d=a.charCodeAt(0);d>=65&&d<=90&&(a=String.fromCharCode(d+32)+":"+a.substr(2))}r+=n(a,!0)}return s&&(r+="?",r+=n(s,!1)),l&&(r+="#",r+=t?l:b(l,!1)),r}function C(e){try{return decodeURIComponent(e)}catch(r){return e.length>3?e.substr(0,3)+C(e.substr(3)):e}}var S=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function O(e){return e.match(S)?e.replace(S,(function(e){return C(e)})):e}},bYtY:function(e,t){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},i=Object.prototype.toString,o=Array.prototype,a=o.forEach,s=o.filter,l=o.slice,u=o.map,c=o.reduce,d={};function h(e,t){"createCanvas"===e&&(y=null),d[e]=t}function f(e){if(null==e||"object"!==typeof e)return e;var t=e,o=i.call(e);if("[object Array]"===o){if(!X(e)){t=[];for(var a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}else if(r[o]){if(!X(e)){var l=e.constructor;if(e.constructor.from)t=l.from(e);else{t=new l(e.length);for(a=0,s=e.length;a<s;a++)t[a]=f(e[a])}}}else if(!n[o]&&!X(e)&&!F(e))for(var u in t={},e)e.hasOwnProperty(u)&&(t[u]=f(e[u]));return t}function p(e,t,n){if(!A(t)||!A(e))return n?f(t):e;for(var r in t)if(t.hasOwnProperty(r)){var i=e[r],o=t[r];!A(o)||!A(i)||I(o)||I(i)||F(o)||F(i)||R(o)||R(i)||X(o)||X(i)?!n&&r in e||(e[r]=f(t[r],!0)):p(i,o,n)}return e}function g(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=p(n,e[r],t);return n}function m(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function v(e,t,n){for(var r in t)t.hasOwnProperty(r)&&(n?null!=t[r]:null==e[r])&&(e[r]=t[r]);return e}var y,b=function(){return d.createCanvas()};function _(){return y||(y=b().getContext("2d")),y}function w(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function x(e,t){var n=e.prototype;function r(){}for(var i in r.prototype=t.prototype,e.prototype=new r,n)n.hasOwnProperty(i)&&(e.prototype[i]=n[i]);e.prototype.constructor=e,e.superClass=t}function C(e,t,n){e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,v(e,t,n)}function S(e){if(e)return"string"!==typeof e&&"number"===typeof e.length}function O(e,t,n){if(e&&t)if(e.forEach&&e.forEach===a)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function k(e,t,n){if(e&&t){if(e.map&&e.map===u)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}}function E(e,t,n,r){if(e&&t){if(e.reduce&&e.reduce===c)return e.reduce(t,n,r);for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function D(e,t,n){if(e&&t){if(e.filter&&e.filter===s)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}}function M(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]}function N(e,t){var n=l.call(arguments,2);return function(){return e.apply(t,n.concat(l.call(arguments)))}}function L(e){var t=l.call(arguments,1);return function(){return e.apply(this,t.concat(l.call(arguments)))}}function I(e){return"[object Array]"===i.call(e)}function T(e){return"function"===typeof e}function P(e){return"[object String]"===i.call(e)}function A(e){var t=typeof e;return"function"===t||!!e&&"object"===t}function R(e){return!!n[i.call(e)]}function j(e){return!!r[i.call(e)]}function F(e){return"object"===typeof e&&"number"===typeof e.nodeType&&"object"===typeof e.ownerDocument}function B(e){return e!==e}function V(e){for(var t=0,n=arguments.length;t<n;t++)if(null!=arguments[t])return arguments[t]}function z(e,t){return null!=e?e:t}function W(e,t,n){return null!=e?e:null!=t?t:n}function H(){return Function.call.apply(l,arguments)}function U(e){if("number"===typeof e)return[e,e,e,e];var t=e.length;return 2===t?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function K(e,t){if(!e)throw new Error(t)}function G(e){return null==e?null:"function"===typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}d.createCanvas=function(){return document.createElement("canvas")};var q="__ec_primitive__";function Y(e){e[q]=!0}function X(e){return e[q]}function Z(e){var t=I(e);this.data={};var n=this;function r(e,r){t?n.set(e,r):n.set(r,e)}e instanceof Z?e.each(r):e&&O(e,r)}function Q(e){return new Z(e)}function $(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function J(){}Z.prototype={constructor:Z,get:function(e){return this.data.hasOwnProperty(e)?this.data[e]:null},set:function(e,t){return this.data[e]=t},each:function(e,t){for(var n in void 0!==t&&(e=N(e,t)),this.data)this.data.hasOwnProperty(n)&&e(this.data[n],n)},removeKey:function(e){delete this.data[e]}},t.$override=h,t.clone=f,t.merge=p,t.mergeAll=g,t.extend=m,t.defaults=v,t.createCanvas=b,t.getContext=_,t.indexOf=w,t.inherits=x,t.mixin=C,t.isArrayLike=S,t.each=O,t.map=k,t.reduce=E,t.filter=D,t.find=M,t.bind=N,t.curry=L,t.isArray=I,t.isFunction=T,t.isString=P,t.isObject=A,t.isBuiltInObject=R,t.isTypedArray=j,t.isDom=F,t.eqNaN=B,t.retrieve=V,t.retrieve2=z,t.retrieve3=W,t.slice=H,t.normalizeCssArray=U,t.assert=K,t.trim=G,t.setAsPrimitive=Y,t.isPrimitive=X,t.createHashMap=Q,t.concatArray=$,t.noop=J},bZqE:function(e,t){function n(e,t,n){var r,i=[e],o=[];while(r=i.pop())if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}while(r=o.pop())t(r,n)}function r(e,t){var n,r=[e];while(n=r.pop())if(t(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}t.eachAfter=n,t.eachBefore=r},baJR:function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return f}));var r=n("N0LK"),i=n("erNZ"),o=n("dBaI"),a=function(){function e(e,t){this.endIndex=e,this.type=t}return e}(),s=function(){function e(e,t){this.startOffset=e,this.endOffset=t}return e.prototype.equals=function(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset},e}(),l=function(){function e(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p,g,m,v){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=r,this.isBasicASCII=i,this.containsRTL=o,this.fauxIndentLength=a,this.lineTokens=s,this.lineDecorations=l,this.tabSize=u,this.startVisibleColumn=c,this.spaceWidth=d,this.middotWidth=h,this.stopRenderingLineAfter=f,this.renderWhitespace="all"===p?3:"boundary"===p?1:"selection"===p?2:0,this.renderControlCharacters=g,this.fontLigatures=m,this.selectionsOnLine=v&&v.sort((function(e,t){return e.startOffset<t.startOffset?-1:1}))}return e.prototype.sameSelection=function(e){if(null===this.selectionsOnLine)return null===e;if(null===e)return!1;if(e.length!==this.selectionsOnLine.length)return!1;for(var t=0;t<this.selectionsOnLine.length;t++)if(!this.selectionsOnLine[t].equals(e[t]))return!1;return!0},e.prototype.equals=function(e){return this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineContent===e.lineContent&&this.continuesWithWrappedLine===e.continuesWithWrappedLine&&this.isBasicASCII===e.isBasicASCII&&this.containsRTL===e.containsRTL&&this.fauxIndentLength===e.fauxIndentLength&&this.tabSize===e.tabSize&&this.startVisibleColumn===e.startVisibleColumn&&this.spaceWidth===e.spaceWidth&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&o["a"].equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)&&this.sameSelection(e.selectionsOnLine)},e}(),u=function(){function e(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}return e.getPartIndex=function(e){return(4294901760&e)>>>16},e.getCharIndex=function(e){return(65535&e)>>>0},e.prototype.setPartData=function(e,t,n,r){var i=(t<<16|n<<0)>>>0;this._data[e]=i,this._absoluteOffsets[e]=r+n},e.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},e.prototype.charOffsetToPartData=function(e){return 0===this.length?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]},e.prototype.partDataToCharOffset=function(t,n,r){if(0===this.length)return 0;var i=(t<<16|r<<0)>>>0,o=0,a=this.length-1;while(o+1<a){var s=o+a>>>1,l=this._data[s];if(l===i)return s;l>i?a=s:o=s}if(o===a)return o;var u=this._data[o],c=this._data[a];if(u===i)return o;if(c===i)return a;var d,h=e.getPartIndex(u),f=e.getCharIndex(u),p=e.getPartIndex(c);d=h!==p?n:e.getCharIndex(c);var g=r-f,m=d-r;return g<=m?o:a},e}(),c=function(){function e(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n}return e}();function d(e,t){if(0===e.lineContent.length){var n=0,r="<span><span>\xa0</span></span>";if(e.lineDecorations.length>0){for(var i=[],o=[],a=0,s=e.lineDecorations.length;a<s;a++){var l=e.lineDecorations[a];1===l.type&&(i.push(e.lineDecorations[a].className),n|=1),2===l.type&&(o.push(e.lineDecorations[a].className),n|=2)}if(0!==n){var d=i.length>0?'<span class="'+i.join(" ")+'"></span>':"",h=o.length>0?'<span class="'+o.join(" ")+'"></span>':"";r="<span>"+d+h+"</span>"}}return t.appendASCIIString(r),new c(new u(0,0),!1,n)}return _(g(e),t)}var h=function(){function e(e,t,n,r){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=r}return e}();function f(e){var t=Object(i["a"])(1e4),n=d(e,t);return new h(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}var p=function(){function e(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=r,this.isOverflowing=i,this.parts=o,this.containsForeignElements=a,this.fauxIndentLength=s,this.tabSize=l,this.startVisibleColumn=u,this.containsRTL=c,this.spaceWidth=d,this.middotWidth=h,this.renderWhitespace=f,this.renderControlCharacters=p}return e}();function g(e){var t,n,r=e.useMonospaceOptimizations,i=e.lineContent;-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<i.length?(t=!0,n=e.stopRenderingLineAfter):(t=!1,n=i.length);var o=m(e.lineTokens,e.fauxIndentLength,n);(3===e.renderWhitespace||1===e.renderWhitespace||2===e.renderWhitespace&&e.selectionsOnLine)&&(o=y(i,n,e.continuesWithWrappedLine,o,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,r,e.selectionsOnLine,1===e.renderWhitespace));var a=0;if(e.lineDecorations.length>0){for(var s=0,l=e.lineDecorations.length;s<l;s++){var u=e.lineDecorations[s];3===u.type||1===u.type?a|=1:2===u.type&&(a|=2)}o=b(i,n,o,e.lineDecorations)}return e.containsRTL||(o=v(i,o,!e.isBasicASCII||e.fontLigatures)),new p(r,e.canUseHalfwidthRightwardsArrow,i,n,t,o,a,e.fauxIndentLength,e.tabSize,e.startVisibleColumn,e.containsRTL,e.spaceWidth,e.middotWidth,e.renderWhitespace,e.renderControlCharacters)}function m(e,t,n){var r=[],i=0;t>0&&(r[i++]=new a(t,""));for(var o=0,s=e.getCount();o<s;o++){var l=e.getEndOffset(o);if(!(l<=t)){var u=e.getClassName(o);if(l>=n){r[i++]=new a(n,u);break}r[i++]=new a(l,u)}}return r}function v(e,t,n){var r=0,i=[],o=0;if(n)for(var s=0,l=t.length;s<l;s++){var u=t[s],c=u.endIndex;if(r+50<c){for(var d=u.type,h=-1,f=r,p=r;p<c;p++)32===e.charCodeAt(p)&&(h=p),-1!==h&&p-f>=50&&(i[o++]=new a(h+1,d),f=h+1,h=-1);f!==c&&(i[o++]=new a(c,d))}else i[o++]=u;r=c}else for(s=0,l=t.length;s<l;s++){u=t[s],c=u.endIndex;var g=c-r;if(g>50){d=u.type;var m=Math.ceil(g/50);for(p=1;p<m;p++){var v=r+50*p;i[o++]=new a(v,d)}i[o++]=new a(c,d)}else i[o++]=u;r=c}return i}function y(e,t,n,i,o,s,l,u,c,d){var h,f=[],p=0,g=0,m=i[g].type,v=i[g].endIndex,y=i.length,b=r["q"](e);-1===b?(b=t,h=t):h=r["D"](e);for(var _=!1,w=0,x=c&&c[w],C=l%s,S=o;S<t;S++){var O=e.charCodeAt(S);x&&S>=x.endOffset&&(w++,x=c&&c[w]);var k=void 0;if(S<b||S>h)k=!0;else if(9===O)k=!0;else if(32===O)if(d)if(_)k=!0;else{var E=S+1<t?e.charCodeAt(S+1):0;k=32===E||9===E}else k=!0;else k=!1;k&&c&&(k=!!x&&x.startOffset<=S&&x.endOffset>S),_?(!k||!u&&C>=s)&&(f[p++]=new a(S,"vs-whitespace"),C%=s):(S===v||k&&S>o)&&(f[p++]=new a(S,m),C%=s),9===O?C=s:r["y"](O)?C+=2:C++,_=k,S===v&&(g++,g<y&&(m=i[g].type,v=i[g].endIndex))}var D=!1;if(_)if(n&&d){var M=t>0?e.charCodeAt(t-1):0,N=t>1?e.charCodeAt(t-2):0,L=32===M&&32!==N&&9!==N;L||(D=!0)}else D=!0;return f[p++]=new a(t,D?"vs-whitespace":m),f}function b(e,t,n,r){r.sort(o["a"].compare);for(var i=o["b"].normalize(e,r),s=i.length,l=0,u=[],c=0,d=0,h=0,f=n.length;h<f;h++){var p=n[h],g=p.endIndex,m=p.type;while(l<s&&i[l].startOffset<g){var v=i[l];if(v.startOffset>d&&(d=v.startOffset,u[c++]=new a(d,m)),!(v.endOffset+1<=g)){d=g,u[c++]=new a(d,m+" "+v.className);break}d=v.endOffset+1,u[c++]=new a(d,m+" "+v.className),l++}g>d&&(d=g,u[c++]=new a(d,m))}var y=n[n.length-1].endIndex;if(l<s&&i[l].startOffset===y){var b=[];while(l<s&&i[l].startOffset===y)b.push(i[l].className),l++;u[c++]=new a(d,b.join(" "))}return u}function _(e,t){var n=e.fontIsMonospace,i=e.canUseHalfwidthRightwardsArrow,o=e.containsForeignElements,a=e.lineContent,s=e.len,l=e.isOverflowing,d=e.parts,h=e.fauxIndentLength,f=e.tabSize,p=e.startVisibleColumn,g=e.containsRTL,m=e.spaceWidth,v=e.middotWidth,y=e.renderWhitespace,b=e.renderControlCharacters,_=v>m?11825:183,w=new u(s+1,d.length),x=0,C=p,S=0,O=0,k=0;t.appendASCIIString("<span>");for(var E=0,D=d.length;E<D;E++){k+=O;var M=d[E],N=M.endIndex,L=M.type,I=0!==y&&L.indexOf("vs-whitespace")>=0;if(S=0,t.appendASCIIString('<span class="'),t.appendASCIIString(L),t.appendASCII(34),I){for(var T=0,P=x,A=C;P<N;P++){var R=a.charCodeAt(P),j=0|(9===R?f-A%f:1);T+=j,P>=h&&(A+=j)}if(!n){var F="vs-whitespace"===L;!F&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(m*T)),t.appendASCIIString('px"'))}for(t.appendASCII(62);x<N;x++){w.setPartData(x,E,S,k);R=a.charCodeAt(x),j=void 0;if(9===R){j=f-C%f|0,!i||j>1?t.write1(8594):t.write1(65515);for(var B=2;B<=j;B++)t.write1(160)}else j=1,t.write1(_);S+=j,x>=h&&(C+=j)}O=T}else{T=0;for(g&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);x<N;x++){w.setPartData(x,E,S,k);R=a.charCodeAt(x);var V=1;j=1;switch(R){case 9:V=f-C%f,j=V;for(B=1;B<=V;B++)t.write1(160);break;case 32:t.write1(160);break;case 60:t.appendASCIIString("<");break;case 62:t.appendASCIIString(">");break;case 38:t.appendASCIIString("&");break;case 0:t.appendASCIIString("�");break;case 65279:case 8232:t.write1(65533);break;default:r["y"](R)&&j++,b&&R<32?t.write1(9216+R):t.write1(R)}S+=V,T+=V,x>=h&&(C+=j)}O=T}t.appendASCIIString("</span>")}return w.setPartData(s,d.length-1,S,k),l&&t.appendASCIIString("<span>…</span>"),t.appendASCIIString("</span>"),new c(w,g,o)}},bahg:function(e,t){function n(e){return e.split("")}e.exports=n},bbsP:function(e,t,n){"use strict";n("cIOH"),n("CWI+")},bdgK:function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),a=2;function s(e,t){var n=!1,r=!1,i=0;function s(){n&&(n=!1,e()),r&&u()}function l(){o(s)}function u(){var e=Date.now();if(n){if(e-i<a)return;r=!0}else n=!0,r=!1,setTimeout(l,t);i=e}return u}var l=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=s(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=u.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},f=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||i},p=S(0,0,0,0);function g(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var r=e["border-"+n+"-width"];return t+g(r)}),0)}function v(e){for(var t=["top","right","bottom","left"],n={},r=0,i=t;r<i.length;r++){var o=i[r],a=e["padding-"+o];n[o]=g(a)}return n}function y(e){var t=e.getBBox();return S(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=f(e).getComputedStyle(e),i=v(r),o=i.left+i.right,a=i.top+i.bottom,s=g(r.width),l=g(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=m(r,"left","right")+o),Math.round(l+a)!==n&&(l-=m(r,"top","bottom")+a)),!w(e)){var u=Math.round(s+o)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return S(i.left,i.top,s,l)}var _=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===f(e).document.documentElement}function x(e){return r?_(e)?y(e):b(e):p}function C(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return h(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}function S(e,t,n,r){return{x:e,y:t,width:n,height:r}}var O=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=x(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(){function e(e,t){var n=C(t);h(this,{target:e,contentRect:n})}return e}(),E=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new O(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),D="undefined"!==typeof WeakMap?new WeakMap:new n,M=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),r=new E(t,n,this);D.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){M.prototype[e]=function(){var t;return(t=D.get(this))[e].apply(t,arguments)}}));var N=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:M}();t["default"]=N}.call(this,n("yLpj"))},bexQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("keybindingService")},bk7F:function(e,t,n){"use strict";n.r(t),n.d(t,"BracketMatchingController",(function(){return x}));n("8ATB");var r=n("3/fG"),i=n("X+cX"),o=n("pmY6"),a=n("sswD"),s=n("cGHE"),l=n("aokT"),u=n("gCVg"),c=n("wQH0"),d=n("M1Kb"),h=n("tX9W"),f=n("kYye"),p=n("MD5Z"),g=n("t9D7"),m=n("fjLI"),v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=Object(p["Rb"])("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},r["a"]("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets.")),b=function(e){function t(){return e.call(this,{id:"editor.action.jumpToBracket",label:r["a"]("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:c["a"].editorTextFocus,primary:3160,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){var n=x.get(t);n&&n.jumpToBracket()},t}(a["b"]),_=function(e){function t(){return e.call(this,{id:"editor.action.selectToBracket",label:r["a"]("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})||this}return v(t,e),t.prototype.run=function(e,t,n){var r=x.get(t);if(r){var i=!0;n&&!1===n.selectBrackets&&(i=!1),r.selectToBracket(i)}},t}(a["b"]),w=function(){function e(e,t,n){this.position=e,this.brackets=t,this.options=n}return e}(),x=function(e){function t(t){var n=e.call(this)||this;return n._editor=t,n._lastBracketsData=[],n._lastVersionId=0,n._decorations=[],n._updateBracketsSoon=n._register(new i["d"]((function(){return n._updateBrackets()}),50)),n._matchBrackets=n._editor.getOption(53),n._updateBracketsSoon.schedule(),n._register(t.onDidChangeCursorPosition((function(e){"never"!==n._matchBrackets&&n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModelContent((function(e){n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModel((function(e){n._lastBracketsData=[],n._decorations=[],n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeModelLanguageConfiguration((function(e){n._lastBracketsData=[],n._updateBracketsSoon.schedule()}))),n._register(t.onDidChangeConfiguration((function(e){e.hasChanged(53)&&(n._matchBrackets=n._editor.getOption(53),n._decorations=n._editor.deltaDecorations(n._decorations,[]),n._lastBracketsData=[],n._lastVersionId=0,n._updateBracketsSoon.schedule())}))),n}return v(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.jumpToBracket=function(){if(this._editor.hasModel()){var e=this._editor.getModel(),t=this._editor.getSelections().map((function(t){var n=t.getStartPosition(),r=e.matchBracket(n),i=null;if(r)r[0].containsPosition(n)?i=r[1].getStartPosition():r[1].containsPosition(n)&&(i=r[0].getStartPosition());else{var o=e.findEnclosingBrackets(n);if(o)i=o[0].getStartPosition();else{var a=e.findNextBracket(n);a&&a.range&&(i=a.range.getStartPosition())}}return i?new u["a"](i.lineNumber,i.column,i.lineNumber,i.column):new u["a"](n.lineNumber,n.column,n.lineNumber,n.column)}));this._editor.setSelections(t),this._editor.revealRange(t[0])}},t.prototype.selectToBracket=function(e){if(this._editor.hasModel()){var t=this._editor.getModel(),n=[];this._editor.getSelections().forEach((function(r){var i=r.getStartPosition(),o=t.matchBracket(i);if(!o&&(o=t.findEnclosingBrackets(i),!o)){var a=t.findNextBracket(i);a&&a.range&&(o=t.matchBracket(a.range.getStartPosition()))}var s=null,c=null;if(o){o.sort(l["a"].compareRangesUsingStarts);var d=o[0],h=o[1];s=e?d.getStartPosition():d.getEndPosition(),c=e?h.getEndPosition():h.getStartPosition()}s&&c&&n.push(new u["a"](s.lineNumber,s.column,c.lineNumber,c.column))})),n.length>0&&(this._editor.setSelections(n),this._editor.revealRange(n[0]))}},t.prototype._updateBrackets=function(){if("never"!==this._matchBrackets){this._recomputeBrackets();for(var e=[],t=0,n=0,r=this._lastBracketsData;n<r.length;n++){var i=r[n],o=i.brackets;o&&(e[t++]={range:o[0],options:i.options},e[t++]={range:o[1],options:i.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}},t.prototype._recomputeBrackets=function(){if(!this._editor.hasModel())return this._lastBracketsData=[],void(this._lastVersionId=0);var e=this._editor.getSelections();if(e.length>100)return this._lastBracketsData=[],void(this._lastVersionId=0);var n=this._editor.getModel(),r=n.getVersionId(),i=[];this._lastVersionId===r&&(i=this._lastBracketsData);for(var o=[],a=0,l=0,u=e.length;l<u;l++){var c=e[l];c.isEmpty()&&(o[a++]=c.getStartPosition())}o.length>1&&o.sort(s["a"].compare);var d=[],h=0,f=0,p=i.length;for(l=0,u=o.length;l<u;l++){var g=o[l];while(f<p&&i[f].position.isBefore(g))f++;if(f<p&&i[f].position.equals(g))d[h++]=i[f];else{var m=n.matchBracket(g),v=t._DECORATION_OPTIONS_WITH_OVERVIEW_RULER;m||"always"!==this._matchBrackets||(m=n.findEnclosingBrackets(g,20),v=t._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER),d[h++]=new w(g,m,v)}}this._lastBracketsData=d,this._lastVersionId=r},t.ID="editor.contrib.bracketMatchingController",t._DECORATION_OPTIONS_WITH_OVERVIEW_RULER=h["a"].register({stickiness:1,className:"bracket-match",overviewRuler:{color:Object(g["f"])(y),position:d["d"].Center}}),t._DECORATION_OPTIONS_WITHOUT_OVERVIEW_RULER=h["a"].register({stickiness:1,className:"bracket-match"}),t}(o["a"]);Object(a["h"])(x.ID,x),Object(a["f"])(_),Object(a["f"])(b),Object(g["e"])((function(e,t){var n=e.getColor(f["c"]);n&&t.addRule(".monaco-editor .bracket-match { background-color: "+n+"; }");var r=e.getColor(f["d"]);r&&t.addRule(".monaco-editor .bracket-match { border: 1px solid "+r+"; }")})),m["c"].appendMenuItem(19,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:r["a"]({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2})},bogI:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){if(!e)return null;var t="function"===typeof e;return t?e():e}},bsht:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};t.default=r},bx4M:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("H84U");function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},d=function(e){return r["createElement"](s["a"],null,(function(t){var n=t.getPrefixCls,i=e.prefixCls,a=e.className,s=e.hoverable,d=void 0===s||s,h=c(e,["prefixCls","className","hoverable"]),f=n("card",i),p=o()("".concat(f,"-grid"),a,u({},"".concat(f,"-grid-hoverable"),d));return r["createElement"]("div",l({},h,{className:p}))}))},h=d;function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},g=function(e){return r["createElement"](s["a"],null,(function(t){var n=t.getPrefixCls,i=e.prefixCls,a=e.className,s=e.avatar,l=e.title,u=e.description,c=p(e,["prefixCls","className","avatar","title","description"]),d=n("card",i),h=o()("".concat(d,"-meta"),a),g=s?r["createElement"]("div",{className:"".concat(d,"-meta-avatar")},s):null,m=l?r["createElement"]("div",{className:"".concat(d,"-meta-title")},l):null,v=u?r["createElement"]("div",{className:"".concat(d,"-meta-description")},u):null,y=m||v?r["createElement"]("div",{className:"".concat(d,"-meta-detail")},m,v):null;return r["createElement"]("div",f({},c,{className:h}),g,y)}))},m=g,v=n("ZTPi"),y=n("BMrR"),b=n("kPKH"),_=n("3Nzz");function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function S(e){var t=e.map((function(t,n){return r["createElement"]("li",{style:{width:"".concat(100/e.length,"%")},key:"action-".concat(n)},r["createElement"]("span",null,t))}));return t}var O=function(e){var t,n,i,l=r["useContext"](s["b"]),u=l.getPrefixCls,c=l.direction,d=r["useContext"](_["b"]),f=function(t){e.onTabChange&&e.onTabChange(t)},p=function(){var t;return r["Children"].forEach(e.children,(function(e){e&&e.type&&e.type===h&&(t=!0)})),t},g=e.prefixCls,m=e.className,O=e.extra,k=e.headStyle,E=void 0===k?{}:k,D=e.bodyStyle,M=void 0===D?{}:D,N=e.title,L=e.loading,I=e.bordered,T=void 0===I||I,P=e.size,A=e.type,R=e.cover,j=e.actions,F=e.tabList,B=e.children,V=e.activeTabKey,z=e.defaultActiveTabKey,W=e.tabBarExtraContent,H=e.hoverable,U=e.tabProps,K=void 0===U?{}:U,G=C(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),q=u("card",g),Y=0===M.padding||"0px"===M.padding?{padding:24}:void 0,X=r["createElement"]("div",{className:"".concat(q,"-loading-block")}),Z=r["createElement"]("div",{className:"".concat(q,"-loading-content"),style:Y},r["createElement"](y["a"],{gutter:8},r["createElement"](b["a"],{span:22},X)),r["createElement"](y["a"],{gutter:8},r["createElement"](b["a"],{span:8},X),r["createElement"](b["a"],{span:15},X)),r["createElement"](y["a"],{gutter:8},r["createElement"](b["a"],{span:6},X),r["createElement"](b["a"],{span:18},X)),r["createElement"](y["a"],{gutter:8},r["createElement"](b["a"],{span:13},X),r["createElement"](b["a"],{span:9},X)),r["createElement"](y["a"],{gutter:8},r["createElement"](b["a"],{span:4},X),r["createElement"](b["a"],{span:3},X),r["createElement"](b["a"],{span:16},X))),Q=void 0!==V,$=x(x({},K),(t={},w(t,Q?"activeKey":"defaultActiveKey",Q?V:z),w(t,"tabBarExtraContent",W),t)),J=F&&F.length?r["createElement"](v["a"],x({size:"large"},$,{className:"".concat(q,"-head-tabs"),onChange:f}),F.map((function(e){return r["createElement"](v["a"].TabPane,{tab:e.tab,disabled:e.disabled,key:e.key})}))):null;(N||O||J)&&(i=r["createElement"]("div",{className:"".concat(q,"-head"),style:E},r["createElement"]("div",{className:"".concat(q,"-head-wrapper")},N&&r["createElement"]("div",{className:"".concat(q,"-head-title")},N),O&&r["createElement"]("div",{className:"".concat(q,"-extra")},O)),J));var ee=R?r["createElement"]("div",{className:"".concat(q,"-cover")},R):null,te=r["createElement"]("div",{className:"".concat(q,"-body"),style:M},L?Z:B),ne=j&&j.length?r["createElement"]("ul",{className:"".concat(q,"-actions")},S(j)):null,re=Object(a["a"])(G,["onTabChange"]),ie=P||d,oe=o()(q,m,(n={},w(n,"".concat(q,"-loading"),L),w(n,"".concat(q,"-bordered"),T),w(n,"".concat(q,"-hoverable"),H),w(n,"".concat(q,"-contain-grid"),p()),w(n,"".concat(q,"-contain-tabs"),F&&F.length),w(n,"".concat(q,"-").concat(ie),ie),w(n,"".concat(q,"-type-").concat(A),!!A),w(n,"".concat(q,"-rtl"),"rtl"===c),n));return r["createElement"]("div",x({},re,{className:oe}),i,ee,te,ne)};O.Grid=h,O.Meta=m;t["a"]=O},"c+Xe":function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){"function"===typeof e?e(t):"object"===r(e)&&e&&"current"in e&&(e.current=t)}function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){i(t,e)}))}}function a(e){return!(e.type&&e.type.prototype&&!e.type.prototype.render)&&!("function"===typeof e&&e.prototype&&!e.prototype.render)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}))},c2dO:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return i}));n("M/lh");var r=monaco.Emitter,i=function(){function e(e,t,n){this._onDidChange=new r,this._languageId=e,this.setOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),e.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),o={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:null,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},a={format:o,suggest:{html5:!0,angular1:!0,ionic:!0}},s={format:o,suggest:{html5:!0}},l={format:o,suggest:{html5:!0,razor:!0}};function u(e){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:e===c,documentFormattingEdits:e===c,documentRangeFormattingEdits:e===c}}var c="html",d="handlebars",h="razor",f=new i(c,a,u(c)),p=new i(d,s,u(d)),g=new i(h,l,u(h));function m(){return{htmlDefaults:f,razorDefaults:g,handlebarDefaults:p}}function v(){return n.e(165).then(n.bind(null,"+lu7"))}monaco.languages.html=m(),monaco.languages.onLanguage(c,(function(){v().then((function(e){return e.setupMode(f)}))})),monaco.languages.onLanguage(d,(function(){v().then((function(e){return e.setupMode(p)}))})),monaco.languages.onLanguage(h,(function(){v().then((function(e){return e.setupMode(g)}))}))},c2i1:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("Yl7c"),a=o.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},u=l.prototype;function c(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function d(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}u.type="graph",u.isDirected=function(){return this._directed},u.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var r=new c(e,t);return r.hostGraph=this,this.nodes.push(r),n[s(e)]=r,r}},u.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},u.getNodeById=function(e){return this._nodesMap[s(e)]},u.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),c.isInstance(e)||(e=r[s(e)]),c.isInstance(t)||(t=r[s(t)]),e&&t){var o=e.id+"-"+t.id;if(!i[o]){var a=new d(e,t,n);return a.hostGraph=this,this._directed&&(e.outEdges.push(a),t.inEdges.push(a)),e.edges.push(a),e!==t&&t.edges.push(a),this.edges.push(a),i[o]=a,a}}},u.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},u.getEdge=function(e,t){c.isInstance(e)&&(e=e.id),c.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},u.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&e.call(t,n[i],i)},u.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},u.breadthFirstTraverse=function(e,t,n,r){if(c.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(r,t,null)){var a=[t];while(a.length){var l=a.shift(),u=l[i];for(o=0;o<u.length;o++){var d=u[o],h=d.node1===l?d.node2:d.node1;if(!h.__visited){if(e.call(r,h,l))return;a.push(h),h.__visited=!0}}}}}},u.update=function(){for(var e=this.data,t=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)n[e.getRawIndex(i)].dataIndex=i;t.filterSelf((function(e){var n=r[t.getRawIndex(e)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i},u.clone=function(){for(var e=new l(this._directed),t=this.nodes,n=this.edges,r=0;r<t.length;r++)e.addNode(t[r].id,t[r].dataIndex);for(r=0;r<n.length;r++){var i=n[r];e.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return e},c.prototype={constructor:c,degree:function(){return this.edges.length},inDegree:function(){return this.inEdges.length},outDegree:function(){return this.outEdges.length},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}}},d.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostGraph,n=t.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}};var h=function(e,t){return{getValue:function(n){var r=this[e][t];return r.get(r.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(c,h("hostGraph","data")),i.mixin(d,h("hostGraph","edgeData")),l.Node=c,l.Edge=d,a(c),a(d);var f=l;e.exports=f},c6wG:function(e,t,n){var r=n("dD9F"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},c8qY:function(e,t,n){var r=n("IwbS"),i=n("fls0");function o(e){this._ctor=e||i,this.group=new r.Group}var a=o.prototype;function s(e,t,n,r){var i=t.getItemLayout(n);if(h(i)){var o=new e._ctor(t,n,r);t.setItemGraphicEl(n,o),e.group.add(o)}}function l(e,t,n,r,i,o){var a=t.getItemGraphicEl(r);h(n.getItemLayout(i))?(a?a.updateData(n,i,o):a=new e._ctor(n,i,o),n.setItemGraphicEl(i,a),e.group.add(a)):e.group.remove(a)}function u(e){return e.animators&&e.animators.length>0}function c(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function d(e){return isNaN(e[0])||isNaN(e[1])}function h(e){return!d(e[0])&&!d(e[1])}a.isPersistent=function(){return!0},a.updateData=function(e){var t=this,n=t.group,r=t._lineData;t._lineData=e,r||n.removeAll();var i=c(e);e.diff(r).add((function(n){s(t,e,n,i)})).update((function(n,o){l(t,r,e,o,n,i)})).remove((function(e){n.remove(r.getItemGraphicEl(e))})).execute()},a.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},a.incrementalPrepareUpdate=function(e){this._seriesScope=c(e),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(e,t){function n(e){e.isGroup||u(e)||(e.incremental=e.useHoverLayer=!0)}for(var r=e.start;r<e.end;r++){var i=t.getItemLayout(r);if(h(i)){var o=new this._ctor(t,r,this._seriesScope);o.traverse(n),this.group.add(o),t.setItemGraphicEl(r,o)}}},a.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},a._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var f=o;e.exports=f},c9ML:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return n.e(212).then(n.bind(null,"QJnQ"))}})},cCMj:function(e,t,n){var r=n("bYtY"),i={updateSelectedMap:function(e){this._targetList=r.isArray(e)?e.slice():[],this._selectTargetMap=r.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),r.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e),r=this.get("selectedMode");"single"===r&&this._selectTargetMap.each((function(e){e.selected=!1})),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}};e.exports=i},cCPh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("jiSn"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},cGHE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e,t){this.lineNumber=e,this.column=t}return e.prototype.with=function(t,n){return void 0===t&&(t=this.lineNumber),void 0===n&&(n=this.column),t===this.lineNumber&&n===this.column?this:new e(t,n)},e.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},e.prototype.equals=function(t){return e.equals(this,t)},e.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},e.prototype.isBefore=function(t){return e.isBefore(this,t)},e.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},e.prototype.isBeforeOrEqual=function(t){return e.isBeforeOrEqual(this,t)},e.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},e.compare=function(e,t){var n=0|e.lineNumber,r=0|t.lineNumber;if(n===r){var i=0|e.column,o=0|t.column;return i-o}return n-r},e.prototype.clone=function(){return new e(this.lineNumber,this.column)},e.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},e.lift=function(t){return new e(t.lineNumber,t.column)},e.isIPosition=function(e){return e&&"number"===typeof e.lineNumber&&"number"===typeof e.column},e}()},cIJc:function(e,t,n){"use strict";n.r(t);var r=n("6OMU"),i=n("JQT/"),o=n("/kV6"),a=n("pmY6"),s=n("sswD"),l=n("Vxe3"),u=n("MXAL"),c=n("aokT"),d=n("wQH0"),h=n("twdY"),f=n("pAvP"),p=n("OBOq"),g=n("/cxE"),m=n("bY76"),v=n("vATl"),y=n("sFUC"),b=n("cGHE"),_=n("gCVg"),w=n("G2kB"),x=n("0/Sa"),C=function(){function e(){}return e._handleEolEdits=function(e,t){for(var n=void 0,r=[],i=0,o=t;i<o.length;i++){var a=o[i];"number"===typeof a.eol&&(n=a.eol),a.range&&"string"===typeof a.text&&r.push(a)}return"number"===typeof n&&e.hasModel()&&e.getModel().pushEOL(n),r},e._isFullModelReplaceEdit=function(e,t){if(!e.hasModel())return!1;var n=e.getModel(),r=n.validateRange(t.range),i=n.getFullModelRange();return i.equalsRange(r)},e.execute=function(t,n){t.pushUndoStop();var r=e._handleEolEdits(t,n);1===r.length&&e._isFullModelReplaceEdit(t,r[0])?t.executeEdits("formatEditsCommand",r.map((function(e){return x["a"].replace(c["a"].lift(e.range),e.text)}))):t.executeEdits("formatEditsCommand",r.map((function(e){return x["a"].replaceMove(c["a"].lift(e.range),e.text)}))),t.pushUndoStop()},e}(),S=n("3/fG"),O=function(){function e(e){this.value=e,this._lower=e.toLowerCase()}return e.toKey=function(e){return"string"===typeof e?e.toLowerCase():e._lower},e}(),k=n("Cg/j"),E=n("24hK"),D=n("nnTU"),M=n("746U"),N=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},L=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function I(e){if(e=e.filter((function(e){return e.range})),e.length){for(var t=e[0].range,n=1;n<e.length;n++)t=c["a"].plusRange(t,e[n].range);var r=t.startLineNumber,i=t.endLineNumber;r===i?1===e.length?Object(p["a"])(S["a"]("hint11","Made 1 formatting edit on line {0}",r)):Object(p["a"])(S["a"]("hintn1","Made {0} formatting edits on line {1}",e.length,r)):1===e.length?Object(p["a"])(S["a"]("hint1n","Made 1 formatting edit between lines {0} and {1}",r,i)):Object(p["a"])(S["a"]("hintnn","Made {0} formatting edits between lines {1} and {2}",e.length,r,i))}}function T(e){for(var t=[],n=new Set,r=h["g"].ordered(e),i=0,o=r;i<o.length;i++){var a=o[i];t.push(a),a.extensionId&&n.add(O.toKey(a.extensionId))}for(var s=h["i"].ordered(e),l=function(e){if(e.extensionId){if(n.has(O.toKey(e.extensionId)))return"continue";n.add(O.toKey(e.extensionId))}t.push({displayName:e.displayName,extensionId:e.extensionId,provideDocumentFormattingEdits:function(t,n,r){return e.provideDocumentRangeFormattingEdits(t,t.getFullModelRange(),n,r)}})},u=0,c=s;u<c.length;u++){a=c[u];l(a)}return t}var P=function(){function e(){}return e.select=function(t,n,r){return N(this,void 0,void 0,(function(){var i;return L(this,(function(o){switch(o.label){case 0:return 0===t.length?[2,void 0]:(i=e._selectors.iterator().next().value,i?[4,i(t,n,r)]:[3,2]);case 1:return[2,o.sent()];case 2:return[2,t[0]]}}))}))},e._selectors=new E["a"],e}();function A(e,t,n,r,i){return N(this,void 0,void 0,(function(){var o,a,s,l;return L(this,(function(u){switch(u.label){case 0:return o=e.get(k["a"]),a=Object(y["a"])(t)?t.getModel():t,s=h["i"].ordered(a),[4,P.select(s,a,r)];case 1:return l=u.sent(),l?[4,o.invokeFunction(R,l,t,n,i)]:[3,3];case 2:u.sent(),u.label=3;case 3:return[2]}}))}))}function R(e,t,n,r,i){return N(this,void 0,void 0,(function(){var o,a,s,l,u,d,h;return L(this,(function(p){switch(p.label){case 0:o=e.get(f["a"]),Object(y["a"])(n)?(a=n.getModel(),s=new v["b"](n,5,i)):(a=n,s=new v["d"](n,i)),p.label=1;case 1:return p.trys.push([1,,4,5]),[4,t.provideDocumentRangeFormattingEdits(a,r,a.getFormattingOptions(),s.token)];case 2:return u=p.sent(),[4,o.computeMoreMinimalEdits(a.uri,u)];case 3:return l=p.sent(),s.token.isCancellationRequested?[2,!0]:[3,5];case 4:return s.dispose(),[7];case 5:return l&&0!==l.length?(Object(y["a"])(n)?(C.execute(n,l),I(l),n.pushUndoStop(),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1)):(d=l[0].range,h=new _["a"](d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn),a.pushEditOperations([h],l.map((function(e){return{text:e.text,range:c["a"].lift(e.range),forceMoveMarkers:!0}})),(function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t].range;if(c["a"].areIntersectingOrTouching(r,h))return[new _["a"](r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn)]}return null}))),[2,!0]):[2,!1]}}))}))}function j(e,t,n,r){return N(this,void 0,void 0,(function(){var i,o,a,s;return L(this,(function(l){switch(l.label){case 0:return i=e.get(k["a"]),o=Object(y["a"])(t)?t.getModel():t,a=T(o),[4,P.select(a,o,n)];case 1:return s=l.sent(),s?[4,i.invokeFunction(F,s,t,n,r)]:[3,3];case 2:l.sent(),l.label=3;case 3:return[2]}}))}))}function F(e,t,n,r,i){return N(this,void 0,void 0,(function(){var o,a,s,l,u,d,h;return L(this,(function(p){switch(p.label){case 0:o=e.get(f["a"]),Object(y["a"])(n)?(a=n.getModel(),s=new v["b"](n,5,i)):(a=n,s=new v["d"](n,i)),p.label=1;case 1:return p.trys.push([1,,4,5]),[4,t.provideDocumentFormattingEdits(a,a.getFormattingOptions(),s.token)];case 2:return u=p.sent(),[4,o.computeMoreMinimalEdits(a.uri,u)];case 3:return l=p.sent(),s.token.isCancellationRequested?[2,!0]:[3,5];case 4:return s.dispose(),[7];case 5:return l&&0!==l.length?(Object(y["a"])(n)?(C.execute(n,l),2!==r&&(I(l),n.pushUndoStop(),n.revealPositionInCenterIfOutsideViewport(n.getPosition(),1))):(d=l[0].range,h=new _["a"](d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn),a.pushEditOperations([h],l.map((function(e){return{text:e.text,range:c["a"].lift(e.range),forceMoveMarkers:!0}})),(function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t].range;if(c["a"].areIntersectingOrTouching(r,h))return[new _["a"](r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn)]}return null}))),[2,!0]):[2,!1]}}))}))}function B(e,t,n,i,o){return N(this,void 0,void 0,(function(){var a,s,l,u,c;return L(this,(function(d){switch(d.label){case 0:a=h["i"].ordered(t),s=0,l=a,d.label=1;case 1:return s<l.length?(u=l[s],[4,Promise.resolve(u.provideDocumentRangeFormattingEdits(t,n,i,o)).catch(g["f"])]):[3,5];case 2:return c=d.sent(),Object(r["q"])(c)?[4,e.computeMoreMinimalEdits(t.uri,c)]:[3,4];case 3:return[2,d.sent()];case 4:return s++,[3,1];case 5:return[2,void 0]}}))}))}function V(e,t,n,i){return N(this,void 0,void 0,(function(){var o,a,s,l,u;return L(this,(function(c){switch(c.label){case 0:o=T(t),a=0,s=o,c.label=1;case 1:return a<s.length?(l=s[a],[4,Promise.resolve(l.provideDocumentFormattingEdits(t,n,i)).catch(g["f"])]):[3,5];case 2:return u=c.sent(),Object(r["q"])(u)?[4,e.computeMoreMinimalEdits(t.uri,u)]:[3,4];case 3:return[2,c.sent()];case 4:return a++,[3,1];case 5:return[2,void 0]}}))}))}function z(e,t,n,r,o){var a=h["s"].ordered(t);return 0===a.length||a[0].autoFormatTriggerCharacters.indexOf(r)<0?Promise.resolve(void 0):Promise.resolve(a[0].provideOnTypeFormattingEdits(t,n,r,o,i["a"].None)).catch(g["f"]).then((function(n){return e.computeMoreMinimalEdits(t.uri,n)}))}D["a"].registerCommand("_executeFormatRangeProvider",(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0],o=t[1],a=t[2];Object(M["a"])(m["a"].isUri(r)),Object(M["a"])(c["a"].isIRange(o));var s=e.get(w["a"]).getModel(r);if(!s)throw Object(g["b"])("resource");return B(e.get(f["a"]),s,c["a"].lift(o),a,i["a"].None)})),D["a"].registerCommand("_executeFormatDocumentProvider",(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0],o=t[1];Object(M["a"])(m["a"].isUri(r));var a=e.get(w["a"]).getModel(r);if(!a)throw Object(g["b"])("resource");return V(e.get(f["a"]),a,o,i["a"].None)})),D["a"].registerCommand("_executeFormatOnTypeProvider",(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];Object(M["a"])(m["a"].isUri(r)),Object(M["a"])(b["a"].isIPosition(i)),Object(M["a"])("string"===typeof o);var s=e.get(w["a"]).getModel(r);if(!s)throw Object(g["b"])("resource");return z(e.get(f["a"]),s,b["a"].lift(i),o,a)}));var W=n("T8No"),H=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),U=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},K=function(e,t){return function(n,r){t(n,r,e)}},G=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},q=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Y=function(){function e(e,t){var n=this;this._workerService=t,this._callOnDispose=new a["b"],this._callOnModel=new a["b"],this._editor=e,this._callOnDispose.add(e.onDidChangeConfiguration((function(){return n._update()}))),this._callOnDispose.add(e.onDidChangeModel((function(){return n._update()}))),this._callOnDispose.add(e.onDidChangeModelLanguage((function(){return n._update()}))),this._callOnDispose.add(h["s"].onDidChange(this._update,this))}return e.prototype.dispose=function(){this._callOnDispose.dispose(),this._callOnModel.dispose()},e.prototype._update=function(){var e=this;if(this._callOnModel.clear(),this._editor.getOption(39)&&this._editor.hasModel()){var t=this._editor.getModel(),n=h["s"].ordered(t)[0];if(n&&n.autoFormatTriggerCharacters){for(var r=new u["b"],i=0,o=n.autoFormatTriggerCharacters;i<o.length;i++){var a=o[i];r.add(a.charCodeAt(0))}this._callOnModel.add(this._editor.onDidType((function(t){var n=t.charCodeAt(t.length-1);r.has(n)&&e._trigger(String.fromCharCode(n))})))}}},e.prototype._trigger=function(e){var t=this;if(this._editor.hasModel()&&!(this._editor.getSelections().length>1)){var n=this._editor.getModel(),i=this._editor.getPosition(),o=!1,a=this._editor.onDidChangeModelContent((function(e){if(e.isFlush)return o=!0,void a.dispose();for(var t=0,n=e.changes.length;t<n;t++){var r=e.changes[t];if(r.range.endLineNumber<=i.lineNumber)return o=!0,void a.dispose()}}));z(this._workerService,n,i,e,n.getFormattingOptions()).then((function(e){a.dispose(),o||Object(r["q"])(e)&&(C.execute(t._editor,e),I(e))}),(function(e){throw a.dispose(),e}))}},e.ID="editor.contrib.autoFormat",e=U([K(1,f["a"])],e),e}(),X=function(){function e(e,t){var n=this;this.editor=e,this._instantiationService=t,this._callOnDispose=new a["b"],this._callOnModel=new a["b"],this._callOnDispose.add(e.onDidChangeConfiguration((function(){return n._update()}))),this._callOnDispose.add(e.onDidChangeModel((function(){return n._update()}))),this._callOnDispose.add(e.onDidChangeModelLanguage((function(){return n._update()}))),this._callOnDispose.add(h["i"].onDidChange(this._update,this))}return e.prototype.dispose=function(){this._callOnDispose.dispose(),this._callOnModel.dispose()},e.prototype._update=function(){var e=this;this._callOnModel.clear(),this.editor.getOption(38)&&this.editor.hasModel()&&h["i"].has(this.editor.getModel())&&this._callOnModel.add(this.editor.onDidPaste((function(t){var n=t.range;return e._trigger(n)})))},e.prototype._trigger=function(e){this.editor.hasModel()&&(this.editor.getSelections().length>1||this._instantiationService.invokeFunction(A,this.editor,e,2,i["a"].None).catch(g["e"]))},e.ID="editor.contrib.formatOnPaste",e=U([K(1,k["a"])],e),e}(),Z=function(e){function t(){return e.call(this,{id:"editor.action.formatDocument",label:S["a"]("formatDocument.label","Format Document"),alias:"Format Document",precondition:W["a"].and(d["a"].writable,d["a"].hasDocumentFormattingProvider),kbOpts:{kbExpr:W["a"].and(d["a"].editorTextFocus,d["a"].hasDocumentFormattingProvider),primary:1572,linux:{primary:3111},weight:100},contextMenuOpts:{when:d["a"].hasDocumentFormattingProvider,group:"1_modification",order:1.3}})||this}return H(t,e),t.prototype.run=function(e,t){return G(this,void 0,void 0,(function(){var n;return q(this,(function(r){switch(r.label){case 0:return t.hasModel()?(n=e.get(k["a"]),[4,n.invokeFunction(j,t,1,i["a"].None)]):[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},t}(s["b"]),Q=function(e){function t(){return e.call(this,{id:"editor.action.formatSelection",label:S["a"]("formatSelection.label","Format Selection"),alias:"Format Selection",precondition:W["a"].and(d["a"].writable,d["a"].hasDocumentSelectionFormattingProvider),kbOpts:{kbExpr:W["a"].and(d["a"].editorTextFocus,d["a"].hasDocumentSelectionFormattingProvider),primary:Object(o["a"])(2089,2084),weight:100},contextMenuOpts:{when:W["a"].and(d["a"].hasDocumentSelectionFormattingProvider,d["a"].hasNonEmptySelection),group:"1_modification",order:1.31}})||this}return H(t,e),t.prototype.run=function(e,t){return G(this,void 0,void 0,(function(){var n,r,o;return q(this,(function(a){switch(a.label){case 0:return t.hasModel()?(n=e.get(k["a"]),r=t.getModel(),o=t.getSelection(),o.isEmpty()&&(o=new c["a"](o.startLineNumber,1,o.startLineNumber,r.getLineMaxColumn(o.startLineNumber))),[4,n.invokeFunction(A,t,o,1,i["a"].None)]):[2];case 1:return a.sent(),[2]}}))}))},t}(s["b"]);Object(s["h"])(Y.ID,Y),Object(s["h"])(X.ID,X),Object(s["f"])(Z),Object(s["f"])(Q),D["a"].registerCommand("editor.action.format",(function(e){return G(void 0,void 0,void 0,(function(){var t,n;return q(this,(function(r){switch(r.label){case 0:return t=e.get(l["a"]).getFocusedCodeEditor(),t&&t.hasModel()?(n=e.get(D["b"]),t.getSelection().isEmpty()?[4,n.executeCommand("editor.action.formatDocument")]:[3,2]):[2];case 1:return r.sent(),[3,4];case 2:return[4,n.executeCommand("editor.action.formatSelection")];case 3:r.sent(),r.label=4;case 4:return[2]}}))}))}))},cMOf:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));n("undH");var r=n("pmY6"),i=n("D3Dy"),o=n("MNsG"),a=n("746U"),s=n("pg8w"),l=n("XSiN"),u=n("MI8n"),c=n("EffR"),d=n("4y0V"),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},p=!1,g=function(e){function t(t,n,a){void 0===a&&(a={});var l=e.call(this)||this;return l._state=3,l._onDidEnablementChange=l._register(new u["a"]),l.onDidEnablementChange=l._onDidEnablementChange.event,l._onDidStart=l._register(new u["a"]),l.onDidStart=l._onDidStart.event,l._onDidChange=l._register(new u["a"]),l.onDidChange=l._onDidChange.event,l._onDidReset=l._register(new u["a"]),l.onDidReset=l._onDidReset.event,l._onDidEnd=l._register(new u["a"]),l.onDidEnd=l._onDidEnd.event,l.linkedSash=void 0,l.orthogonalStartSashDisposables=l._register(new r["b"]),l.orthogonalEndSashDisposables=l._register(new r["b"]),l.el=Object(c["p"])(t,Object(c["a"])(".monaco-sash")),o["e"]&&Object(c["e"])(l.el,"mac"),l._register(Object(d["a"])(l.el,"mousedown")(l.onMouseDown,l)),l._register(Object(d["a"])(l.el,"dblclick")(l.onMouseDoubleClick,l)),l._register(s["b"].addTarget(l.el)),l._register(Object(d["a"])(l.el,s["a"].Start)(l.onTouchStart,l)),i["j"]&&Object(c["e"])(l.el,"touch"),l.setOrientation(a.orientation||0),l.hidden=!1,l.layoutProvider=n,l.orthogonalStartSash=a.orthogonalStartSash,l.orthogonalEndSash=a.orthogonalEndSash,Object(c["X"])(l.el,"debug",p),l}return h(t,e),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(Object(c["X"])(this.el,"disabled",0===e),Object(c["X"])(this.el,"minimum",1===e),Object(c["X"])(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){this.orthogonalStartSashDisposables.clear(),e?(this.orthogonalStartSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this)),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){this.orthogonalEndSashDisposables.clear(),e?(this.orthogonalEndSashDisposables.add(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this)),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),t.prototype.setOrientation=function(e){this.orientation=e,1===this.orientation?(Object(c["e"])(this.el,"horizontal"),Object(c["O"])(this.el,"vertical")):(Object(c["O"])(this.el,"horizontal"),Object(c["e"])(this.el,"vertical")),this.layoutProvider&&this.layout()},t.prototype.onMouseDown=function(e){var t=this;c["b"].stop(e,!1);var n=!1;if(!e.__orthogonalSashEvent){var i=this.getOrthogonalSash(e);i&&(n=!0,e.__orthogonalSashEvent=!0,i.onMouseDown(e))}if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),this.state){for(var a=f(Object(c["C"])("iframe"),Object(c["C"])("webview")),s=0,u=a;s<u.length;s++){var h=u[s];h.style.pointerEvents="none"}var p=new l["a"](e),g=p.posx,m=p.posy,v=p.altKey,y={startX:g,currentX:g,startY:m,currentY:m,altKey:v};Object(c["e"])(this.el,"active"),this._onDidStart.fire(y);var b=Object(c["v"])(this.el),_=function(){var e="";e=n?"all-scroll":1===t.orientation?1===t.state?"s-resize":2===t.state?"n-resize":o["e"]?"row-resize":"ns-resize":1===t.state?"e-resize":2===t.state?"w-resize":o["e"]?"col-resize":"ew-resize",b.innerHTML="* { cursor: "+e+" !important; }"},w=new r["b"];_(),n||this.onDidEnablementChange(_,null,w);var x=function(e){c["b"].stop(e,!1);var n=new l["a"](e),r={startX:g,currentX:n.posx,startY:m,currentY:n.posy,altKey:v};t._onDidChange.fire(r)},C=function(e){c["b"].stop(e,!1),t.el.removeChild(b),Object(c["O"])(t.el,"active"),t._onDidEnd.fire(),w.dispose();for(var n=0,r=a;n<r.length;n++){var i=r[n];i.style.pointerEvents="auto"}};Object(d["a"])(window,"mousemove")(x,null,w),Object(d["a"])(window,"mouseup")(C,null,w)}},t.prototype.onMouseDoubleClick=function(e){var t=this.getOrthogonalSash(e);t&&t._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()},t.prototype.onTouchStart=function(e){var t=this;c["b"].stop(e);var n=[],i=e.pageX,o=e.pageY,l=e.altKey;this._onDidStart.fire({startX:i,currentX:i,startY:o,currentY:o,altKey:l}),n.push(Object(c["i"])(this.el,s["a"].Change,(function(e){a["h"](e.pageX)&&a["h"](e.pageY)&&t._onDidChange.fire({startX:i,currentX:e.pageX,startY:o,currentY:e.pageY,altKey:l})}))),n.push(Object(c["i"])(this.el,s["a"].End,(function(e){t._onDidEnd.fire(),Object(r["f"])(n)})))},t.prototype.layout=function(){var e=i["j"]?20:4;if(0===this.orientation){var t=this.layoutProvider;this.el.style.left=t.getVerticalSashLeft(this)-e/2+"px",t.getVerticalSashTop&&(this.el.style.top=t.getVerticalSashTop(this)+"px"),t.getVerticalSashHeight&&(this.el.style.height=t.getVerticalSashHeight(this)+"px")}else{var n=this.layoutProvider;this.el.style.top=n.getHorizontalSashTop(this)-e/2+"px",n.getHorizontalSashLeft&&(this.el.style.left=n.getHorizontalSashLeft(this)+"px"),n.getHorizontalSashWidth&&(this.el.style.width=n.getHorizontalSashWidth(this)+"px")}},t.prototype.hide=function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")},t.prototype.onOrthogonalStartSashEnablementChange=function(e){Object(c["X"])(this.el,"orthogonal-start",0!==e)},t.prototype.onOrthogonalEndSashEnablementChange=function(e){Object(c["X"])(this.el,"orthogonal-end",0!==e)},t.prototype.getOrthogonalSash=function(e){if(0===this.orientation){if(e.offsetY<=4)return this.orthogonalStartSash;if(e.offsetY>=this.el.clientHeight-4)return this.orthogonalEndSash}else{if(e.offsetX<=4)return this.orthogonalStartSash;if(e.offsetX>=this.el.clientWidth-4)return this.orthogonalEndSash}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.el.remove()},t}(r["a"])},cMvZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return y}));var r=n("MI8n"),i=n("pmY6"),o=n("N0LK"),a=n("0JNc"),s=n("KDc4"),l=n("BFtn"),u=function(){function e(t){if(t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new s["b"](e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new s["b"]({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new s["b"]({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"===typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return e.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},e.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},e.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;var r=t.findTokenIndexAtOffset(n-2),i=t.getStandardTokenType(r);return e.isOK(i)},e.prototype.getSurroundingPairs=function(){return this._surroundingPairs},e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",e}(),c=n("EIAu"),d=function(){function e(e){this._richEditBrackets=e}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets;t<n.length;t++)for(var r=n[t],i=0,o=r.close;i<o.length;i++){var a=o[i],s=a.charAt(a.length-1);e.push(s)}return e=e.filter((function(e,t,n){return n.indexOf(e)===t})),e},e.prototype.onElectricCharacter=function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var r=t.findTokenIndexAtOffset(n-1);if(Object(l["b"])(t.getStandardTokenType(r)))return null;var i=this._richEditBrackets.reversedRegex,o=t.getLineContent().substring(0,n-1)+e,a=c["a"].findPrevBracketInRange(i,1,o,0,o.length);if(!a)return null;var s=o.substring(a.startColumn-1,a.endColumn-1).toLowerCase(),u=this._richEditBrackets.textIsOpenBracket[s];if(u)return null;var d=t.getActualLineContentBefore(a.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:s}:null},e}(),h=function(){function e(e){this._indentationRules=e}return e.prototype.shouldIncrease=function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))},e.prototype.shouldDecrease=function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))},e.prototype.shouldIndentNextLine=function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))},e.prototype.shouldIgnore=function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))},e.prototype.getIndentMetadata=function(e){var t=0;return this.shouldIncrease(e)&&(t+=1),this.shouldDecrease(e)&&(t+=2),this.shouldIndentNextLine(e)&&(t+=4),this.shouldIgnore(e)&&(t+=8),t},e}(),f=n("/cxE"),p=function(){function e(t){var n=this;t=t||{},t.brackets=t.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],t.brackets.forEach((function(t){var r=e._createOpenBracketRegExp(t[0]),i=e._createCloseBracketRegExp(t[1]);r&&i&&n._brackets.push({open:t[0],openRegExp:r,close:t[1],closeRegExp:i})})),this._regExpRules=t.onEnterRules||[]}return e.prototype.onEnter=function(e,t,n,r){if(e>=3)for(var i=0,o=this._regExpRules.length;i<o;i++){var a=this._regExpRules[i],l=[{reg:a.beforeText,text:n},{reg:a.afterText,text:r},{reg:a.oneLineAboveText,text:t}].every((function(e){return!e.reg||e.reg.test(e.text)}));if(l)return a.action}if(e>=2&&n.length>0&&r.length>0)for(i=0,o=this._brackets.length;i<o;i++){var u=this._brackets[i];if(u.openRegExp.test(n)&&u.closeRegExp.test(r))return{indentAction:s["a"].IndentOutdent}}if(e>=2&&n.length>0)for(i=0,o=this._brackets.length;i<o;i++){u=this._brackets[i];if(u.openRegExp.test(n))return{indentAction:s["a"].Indent}}return null},e._createOpenBracketRegExp=function(t){var n=o["p"](t);return/\B/.test(n.charAt(0))||(n="\\b"+n),n+="\\s*$",e._safeRegExp(n)},e._createCloseBracketRegExp=function(t){var n=o["p"](t);return/\B/.test(n.charAt(n.length-1))||(n+="\\b"),n="^\\s*"+n,e._safeRegExp(n)},e._safeRegExp=function(e){try{return new RegExp(e)}catch(t){return Object(f["e"])(t),null}},e}(),g=function(){function e(t,n,r){this._languageIdentifier=t,this._brackets=null,this._electricCharacter=null;var i=null;n&&(i=n._conf),this._conf=e._mergeConf(i,r),this._onEnterSupport=this._conf.brackets||this._conf.indentationRules||this._conf.onEnterRules?new p(this._conf):null,this.comments=e._handleComments(this._conf),this.characterPair=new u(this._conf),this.wordDefinition=this._conf.wordPattern||a["a"],this.indentationRules=this._conf.indentationRules,this._conf.indentationRules?this.indentRulesSupport=new h(this._conf.indentationRules):this.indentRulesSupport=null,this.foldingRules=this._conf.folding||{}}return Object.defineProperty(e.prototype,"brackets",{get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new c["b"](this._languageIdentifier,this._conf.brackets)),this._brackets},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"electricCharacter",{get:function(){return this._electricCharacter||(this._electricCharacter=new d(this.brackets)),this._electricCharacter},enumerable:!0,configurable:!0}),e.prototype.onEnter=function(e,t,n,r){return this._onEnterSupport?this._onEnterSupport.onEnter(e,t,n,r):null},e._mergeConf=function(e,t){return{comments:e?t.comments||e.comments:t.comments,brackets:e?t.brackets||e.brackets:t.brackets,wordPattern:e?t.wordPattern||e.wordPattern:t.wordPattern,indentationRules:e?t.indentationRules||e.indentationRules:t.indentationRules,onEnterRules:e?t.onEnterRules||e.onEnterRules:t.onEnterRules,autoClosingPairs:e?t.autoClosingPairs||e.autoClosingPairs:t.autoClosingPairs,surroundingPairs:e?t.surroundingPairs||e.surroundingPairs:t.surroundingPairs,autoCloseBefore:e?t.autoCloseBefore||e.autoCloseBefore:t.autoCloseBefore,folding:e?t.folding||e.folding:t.folding,__electricCharacterSupport:e?t.__electricCharacterSupport||e.__electricCharacterSupport:t.__electricCharacterSupport}},e._handleComments=function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var r=t.blockComment,i=r[0],o=r[1];n.blockCommentStartToken=i,n.blockCommentEndToken=o}return n},e}(),m=function(){function e(e){this.languageIdentifier=e}return e}(),v=function(){function e(){this._entries=new Map,this._onDidChange=new r["a"],this.onDidChange=this._onDidChange.event}return e.prototype.register=function(e,t){var n=this,r=this._getRichEditSupport(e.id),o=new g(e,r,t);return this._entries.set(e.id,o),this._onDidChange.fire(new m(e)),Object(i["h"])((function(){n._entries.get(e.id)===o&&(n._entries.set(e.id,r),n._onDidChange.fire(new m(e)))}))},e.prototype._getRichEditSupport=function(e){return this._entries.get(e)},e.prototype._getElectricCharacterSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.electricCharacter||null},e.prototype.getElectricCharacters=function(e){var t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]},e.prototype.onElectricCharacter=function(e,t,n){var r=Object(l["a"])(t,n-1),i=this._getElectricCharacterSupport(r.languageId);return i?i.onElectricCharacter(e,r,n-r.firstCharOffset):null},e.prototype.getComments=function(e){var t=this._getRichEditSupport(e);return t&&t.comments||null},e.prototype._getCharacterPairSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.characterPair||null},e.prototype.getAutoClosingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]},e.prototype.getAutoCloseBeforeSet=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():u.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED},e.prototype.getSurroundingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]},e.prototype.shouldAutoClosePair=function(e,t,n){var r=Object(l["a"])(t,n-1);return u.shouldAutoClosePair(e,r,n-r.firstCharOffset)},e.prototype.getWordDefinition=function(e){var t=this._getRichEditSupport(e);return t?Object(a["c"])(t.wordDefinition||null):Object(a["c"])(null)},e.prototype.getFoldingRules=function(e){var t=this._getRichEditSupport(e);return t?t.foldingRules:{}},e.prototype.getIndentRulesSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null},e.prototype.getPrecedingValidLine=function(e,t,n){var r=e.getLanguageIdAtPosition(t,0);if(t>1){var i=void 0,o=-1;for(i=t-1;i>=1;i--){if(e.getLanguageIdAtPosition(i,0)!==r)return o;var a=e.getLineContent(i);if(!n.shouldIgnore(a)&&!/^\s+$/.test(a)&&""!==a)return i;o=i}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n,r){if(void 0===r&&(r=!0),e<4)return null;var i=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!i)return null;if(n<=1)return{indentation:"",action:null};var a=this.getPrecedingValidLine(t,n,i);if(a<0)return null;if(a<1)return{indentation:"",action:null};var l=t.getLineContent(a);if(i.shouldIncrease(l)||i.shouldIndentNextLine(l))return{indentation:o["t"](l),action:s["a"].Indent,line:a};if(i.shouldDecrease(l))return{indentation:o["t"](l),action:null,line:a};if(1===a)return{indentation:o["t"](t.getLineContent(a)),action:null,line:a};var u=a-1,c=i.getIndentMetadata(t.getLineContent(u));if(!(3&c)&&4&c){for(var d=0,h=u-1;h>0;h--)if(!i.shouldIndentNextLine(t.getLineContent(h))){d=h;break}return{indentation:o["t"](t.getLineContent(d+1)),action:null,line:d+1}}if(r)return{indentation:o["t"](t.getLineContent(a)),action:null,line:a};for(h=a;h>0;h--){var f=t.getLineContent(h);if(i.shouldIncrease(f))return{indentation:o["t"](f),action:s["a"].Indent,line:h};if(i.shouldIndentNextLine(f)){d=0;for(var p=h-1;p>0;p--)if(!i.shouldIndentNextLine(t.getLineContent(h))){d=p;break}return{indentation:o["t"](t.getLineContent(d+1)),action:null,line:d+1}}if(i.shouldDecrease(f))return{indentation:o["t"](f),action:null,line:h}}return{indentation:o["t"](t.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,r,i){if(e<4)return null;var a=this._getRichEditSupport(n);if(!a)return null;var l=this.getIndentRulesSupport(n);if(!l)return null;var u=this.getInheritIndentForLine(e,t,r),c=t.getLineContent(r);if(u){var d=u.line;if(void 0!==d){var h=a.onEnter(e,"",t.getLineContent(d),"");if(h){var f=o["t"](t.getLineContent(d));return h.removeText&&(f=f.substring(0,f.length-h.removeText)),h.indentAction===s["a"].Indent||h.indentAction===s["a"].IndentOutdent?f=i.shiftIndent(f):h.indentAction===s["a"].Outdent&&(f=i.unshiftIndent(f)),l.shouldDecrease(c)&&(f=i.unshiftIndent(f)),h.appendText&&(f+=h.appendText),o["t"](f)}}return l.shouldDecrease(c)?u.action===s["a"].Indent?u.indentation:i.unshiftIndent(u.indentation):u.action===s["a"].Indent?i.shiftIndent(u.indentation):u.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,r){if(e<4)return null;t.forceTokenization(n.startLineNumber);var i,a,u=t.getLineTokens(n.startLineNumber),c=Object(l["a"])(u,n.startColumn-1),d=c.getLineContent(),h=!1;if(c.firstCharOffset>0&&u.getLanguageId(0)!==c.languageId?(h=!0,i=d.substr(0,n.startColumn-1-c.firstCharOffset)):i=u.getLineContent().substring(0,n.startColumn-1),n.isEmpty())a=d.substr(n.startColumn-1-c.firstCharOffset);else{var f=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);a=f.getLineContent().substr(n.endColumn-1-c.firstCharOffset)}var p=this.getIndentRulesSupport(c.languageId);if(!p)return null;var g=i,m=o["t"](i),v={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageIdentifier:function(){return t.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?g:t.getLineContent(e)}},y=o["t"](u.getLineContent()),b=this.getInheritIndentForLine(e,v,n.startLineNumber+1);if(!b){var _=h?y:m;return{beforeEnter:_,afterEnter:_}}var w=h?y:b.indentation;return b.action===s["a"].Indent&&(w=r.shiftIndent(w)),p.shouldDecrease(a)&&(w=r.unshiftIndent(w)),{beforeEnter:h?y:m,afterEnter:w}},e.prototype.getIndentActionForType=function(e,t,n,r,i){if(e<4)return null;var o=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),a=this.getIndentRulesSupport(o.languageId);if(!a)return null;var l,u=o.getLineContent(),c=u.substr(0,n.startColumn-1-o.firstCharOffset);if(n.isEmpty())l=u.substr(n.startColumn-1-o.firstCharOffset);else{var d=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);l=d.getLineContent().substr(n.endColumn-1-o.firstCharOffset)}if(!a.shouldDecrease(c+l)&&a.shouldDecrease(c+r+l)){var h=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!h)return null;var f=h.indentation;return h.action!==s["a"].Indent&&(f=i.unshiftIndent(f)),f}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype.getEnterAction=function(e,t,n){var r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),i=this._getRichEditSupport(r.languageId);if(!i)return null;var o,a=r.getLineContent(),l=a.substr(0,n.startColumn-1-r.firstCharOffset);if(n.isEmpty())o=a.substr(n.startColumn-1-r.firstCharOffset);else{var u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn);o=u.getLineContent().substr(n.endColumn-1-r.firstCharOffset)}var c="";if(n.startLineNumber>1&&0===r.firstCharOffset){var d=this.getScopedLineTokens(t,n.startLineNumber-1);d.languageId===r.languageId&&(c=d.getLineContent())}var h=i.onEnter(e,c,l,o);if(!h)return null;var f=h.indentAction,p=h.appendText,g=h.removeText||0;p||(p=f===s["a"].Indent||f===s["a"].IndentOutdent?"\t":"");var m=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return g&&(m=m.substring(0,m.length-g)),{indentAction:f,appendText:p,removeText:g,indentation:m}},e.prototype.getIndentationAtPosition=function(e,t,n){var r=e.getLineContent(t),i=o["t"](r);return i.length>n-1&&(i=i.substring(0,n-1)),i},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var r=e.getLineTokens(t),i="undefined"===typeof n?e.getLineMaxColumn(t)-1:n-1;return Object(l["a"])(r,i)},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},e}(),y=new v},cVA7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=n("MT78"),i=s(r),o=n("t3Fx"),a=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(e){l(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.echartsLib=i["default"],n}return c(t,e),t}(a["default"]);t["default"]=d},cWXX:function(e,t,n){"use strict";n("cIOH"),n("oIFs")},cYEv:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H544v152c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V544H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h152V328c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v152h152c4.4 0 8 3.6 8 8v48z"}}]},name:"plus-circle",theme:"filled"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="PlusCircleFilled";t["a"]=r["forwardRef"](s)},ca2m:function(e,t,n){var r=n("bYtY"),i={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},o={};o.categoryAxis=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),o.valueAxis=r.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},i),o.timeAxis=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},o.valueAxis),o.logAxis=r.defaults({scale:!0,logBase:10},o.valueAxis);var a=o;e.exports=a},cbJ4:function(e,t,n){var r=n("bYtY"),i=r.createHashMap;function o(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),r=e.get("color"),o=i();t.each((function(e){o.set(t.getRawIndex(e),e)})),n.each((function(i){var a=n.getName(i),s=r[(e.nameMap.get(a)-1)%r.length];n.setItemVisual(i,"color",s);var l=o.get(i);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=o},ccE7:function(e,t,n){var r=n("Ojgd"),i=n("Jes0");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},chpo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=1,i=function(){return"".concat(r++)};t["default"]=i},"ci+S":function(e,t,n){},cl4r:function(e,t,n){},cldp:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"javascript",extensions:[".js",".es6",".jsx"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return n.e(163).then(n.bind(null,"7Xl7"))}})},cpOr:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("T4UG")),o=n("YXkt"),a=n("bYtY"),s=a.concatArray,l=a.mergeAll,u=a.map,c=n("7aKB"),d=c.encodeHTML,h=(n("IDmD"),"undefined"===typeof Uint32Array?Array:Uint32Array),f="undefined"===typeof Float64Array?Array:Float64Array;function p(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=u(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),l([n,e[0],e[1]])})))}var g=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],p(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),g.superApply(this,"init",arguments)},mergeOption:function(e){if(e.data=e.data||[],p(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}g.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i<r;i++)t[i]=t[i]||[],t[i][0]=this._flatCoords[n+2*i],t[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(e);for(i=0;i<o.length;i++)t[i]=t[i]||[],t[i][0]=o[i][0],t[i][1]=o[i][1];return o.length},_processFlatCoordsArray:function(e){var t=0;if(this._flatCoords&&(t=this._flatCoords.length),"number"===typeof e[0]){for(var n=e.length,r=new h(n),i=new f(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=e[l++];r[a++]=o+t,r[a++]=u;for(var c=0;c<u;c++){var d=e[l++],p=e[l++];i[o++]=d,i[o++]=p}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new o(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var o=e.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},formatTooltip:function(e){var t=this.getData(),n=t.getItemModel(e),r=n.get("name");if(r)return r;var i=n.get("fromName"),o=n.get("toName"),a=[];return null!=i&&a.push(i),null!=o&&a.push(o),d(a.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}}}),m=g;e.exports=m},cqdO:function(e,t,n){"use strict";n.d(t,"a",(function(){return P})),n.d(t,"f",(function(){return j})),n.d(t,"e",(function(){return F})),n.d(t,"d",(function(){return W})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return J}));n("4rho");var r,i=n("3/fG"),o=n("pmY6"),a=n("746U"),s=n("6OMU"),l=n("ZCR3"),u=n("EffR"),c=n("MNsG"),d=n("pg8w"),h=n("uDWl"),f=n("MI8n"),p=n("4y0V"),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(e){e["TREE"]="tree",e["FORM"]="form"})(r||(r={}));var m=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return g(t,e),t}(Error),v=n("feEw"),y=n("zrhQ"),b=n("qj0h"),_=function(){function e(e){this.spliceables=e}return e.prototype.splice=function(e,t,n){this.spliceables.forEach((function(r){return r.splice(e,t,n)}))},e}(),w=n("Sdnv"),x=n("fpMC"),C=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},S.apply(this,arguments)},O=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},k=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},E=function(){function e(e){this.trait=e,this.renderedElements=[]}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"template:"+this.trait.trait},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var r=Object(s["k"])(this.renderedElements,(function(e){return e.templateData===n}));if(r>=0){var i=this.renderedElements[r];this.trait.unrender(n),i.index=t}else{i={index:t,templateData:n};this.renderedElements.push(i)}this.trait.renderIndex(t,n)},e.prototype.splice=function(e,t,n){for(var r=[],i=0,o=this.renderedElements;i<o.length;i++){var a=o[i];a.index<e?r.push(a):a.index>=e+t&&r.push({index:a.index+n-t,templateData:a.templateData})}this.renderedElements=r},e.prototype.renderIndexes=function(e){for(var t=0,n=this.renderedElements;t<n.length;t++){var r=n[t],i=r.index,o=r.templateData;e.indexOf(i)>-1&&this.trait.renderIndex(i,o)}},e.prototype.disposeTemplate=function(e){var t=Object(s["k"])(this.renderedElements,(function(t){return t.templateData===e}));t<0||this.renderedElements.splice(t,1)},e}(),D=function(){function e(e){this._trait=e,this.indexes=[],this.sortedIndexes=[],this._onChange=new f["a"],this.onChange=this._onChange.event}return Object.defineProperty(e.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderer",{get:function(){return new E(this)},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var r=n.length-t,i=e+t,o=k(this.sortedIndexes.filter((function(t){return t<e})),n.map((function(t,n){return t?n+e:-1})).filter((function(e){return-1!==e})),this.sortedIndexes.filter((function(e){return e>=i})).map((function(e){return e+r})));this.renderer.splice(e,t,n.length),this._set(o,o)},e.prototype.renderIndex=function(e,t){u["X"](t,this._trait,this.contains(e))},e.prototype.unrender=function(e){u["O"](e,this._trait)},e.prototype.set=function(e,t){return this._set(e,k(e).sort(X),t)},e.prototype._set=function(e,t,n){var r=this.indexes,i=this.sortedIndexes;this.indexes=e,this.sortedIndexes=t;var o=q(i,e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:n}),r},e.prototype.get=function(){return this.indexes},e.prototype.contains=function(e){return Object(s["c"])(this.sortedIndexes,e,X)>=0},e.prototype.dispose=function(){Object(o["f"])(this._onChange)},O([l["a"]],e.prototype,"renderer",null),e}(),M=function(e){function t(){return e.call(this,"focused")||this}return C(t,e),t.prototype.renderIndex=function(t,n){e.prototype.renderIndex.call(this,t,n),this.contains(t)?n.setAttribute("aria-selected","true"):n.removeAttribute("aria-selected")},t}(D),N=function(){function e(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}return e.prototype.splice=function(e,t,n){var r=this;if(!this.identityProvider)return this.trait.splice(e,t,n.map((function(){return!1})));var i=this.trait.get().map((function(e){return r.identityProvider.getId(r.view.element(e)).toString()})),o=n.map((function(e){return i.indexOf(r.identityProvider.getId(e).toString())>-1}));this.trait.splice(e,t,o)},e}();function L(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}var I,T=function(){function e(e,t,n){this.list=e,this.view=t,this.disposables=new o["b"];var r=!1!==n.multipleSelectionSupport;this.openController=n.openController||z;var i=f["b"].chain(Object(p["a"])(t.domNode,"keydown")).filter((function(e){return!L(e.target)})).map((function(e){return new h["a"](e)}));i.filter((function(e){return 3===e.keyCode})).on(this.onEnter,this,this.disposables),i.filter((function(e){return 16===e.keyCode})).on(this.onUpArrow,this,this.disposables),i.filter((function(e){return 18===e.keyCode})).on(this.onDownArrow,this,this.disposables),i.filter((function(e){return 11===e.keyCode})).on(this.onPageUpArrow,this,this.disposables),i.filter((function(e){return 12===e.keyCode})).on(this.onPageDownArrow,this,this.disposables),i.filter((function(e){return 9===e.keyCode})).on(this.onEscape,this,this.disposables),r&&i.filter((function(e){return(c["e"]?e.metaKey:e.ctrlKey)&&31===e.keyCode})).on(this.onCtrlA,this,this.disposables)}return e.prototype.onEnter=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(this.list.getFocus(),e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open(this.list.getFocus(),e.browserEvent)},e.prototype.onUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPrevious(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNext(1,!1,e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onPageDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},e.prototype.onCtrlA=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(s["u"])(this.list.length),e.browserEvent),this.view.domNode.focus()},e.prototype.onEscape=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()},e.prototype.dispose=function(){this.disposables.dispose()},e}();(function(e){e[e["Idle"]=0]="Idle",e[e["Typing"]=1]="Typing"})(I||(I={}));var P=new(function(){function e(){}return e.prototype.mightProducePrintableCharacter=function(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(e.keyCode>=31&&e.keyCode<=56||e.keyCode>=21&&e.keyCode<=30||e.keyCode>=93&&e.keyCode<=102||e.keyCode>=80&&e.keyCode<=90)},e}()),A=function(){function e(e,t,n,r){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.delegate=r,this.enabled=!1,this.state=I.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=new o["b"],this.disposables=new o["b"],this.updateOptions(e.options)}return e.prototype.updateOptions=function(e){var t="undefined"===typeof e.enableKeyboardNavigation||!!e.enableKeyboardNavigation;t?this.enable():this.disable(),"undefined"!==typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)},e.prototype.enable=function(){var e=this;if(!this.enabled){var t=f["b"].chain(Object(p["a"])(this.view.domNode,"keydown")).filter((function(e){return!L(e.target)})).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).map((function(e){return new h["a"](e)})).filter((function(t){return e.delegate.mightProducePrintableCharacter(t)})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).map((function(e){return e.browserEvent.key})).event,n=f["b"].debounce(t,(function(){return null}),800),r=f["b"].reduce(f["b"].any(t,n),(function(e,t){return null===t?null:(e||"")+t}));r(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this.enabled&&(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)},e.prototype.onInput=function(e){if(!e)return this.state=I.Idle,void(this.triggered=!1);var t=this.list.getFocus(),n=t.length>0?t[0]:0,r=this.state===I.Idle?1:0;this.state=I.Typing;for(var i=0;i<this.list.length;i++){var o=(n+i+r)%this.list.length,a=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(o)),s=a&&a.toString();if("undefined"===typeof s||Object(x["f"])(e,s))return this.list.setFocus([o]),void this.list.reveal(o)}},e.prototype.dispose=function(){this.disable(),this.enabledDisposables.dispose(),this.disposables.dispose()},e}(),R=function(){function e(e,t){this.list=e,this.view=t,this.disposables=new o["b"];var n=f["b"].chain(Object(p["a"])(t.domNode,"keydown")).filter((function(e){return!L(e.target)})).map((function(e){return new h["a"](e)}));n.filter((function(e){return 2===e.keyCode&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&!e.altKey})).on(this.onTab,this,this.disposables)}return e.prototype.onTab=function(e){if(e.target===this.view.domNode){var t=this.list.getFocus();if(0!==t.length){var n=this.view.domElement(t[0]);if(n){var r=n.querySelector("[tabIndex]");if(r&&r instanceof HTMLElement&&-1!==r.tabIndex){var i=window.getComputedStyle(r);"hidden"!==i.visibility&&"none"!==i.display&&(e.preventDefault(),e.stopPropagation(),r.focus())}}}}},e.prototype.dispose=function(){this.disposables.dispose()},e}();function j(e){return c["e"]?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function F(e){return e.browserEvent.shiftKey}function B(e){return e instanceof MouseEvent&&2===e.button}var V={isSelectionSingleChangeEvent:j,isSelectionRangeChangeEvent:F},z={shouldOpen:function(e){return!(e instanceof MouseEvent)||!B(e)}},W=function(){function e(e){this.list=e,this.disposables=new o["b"],this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||V),this.openController=e.options.openController||z,this.mouseSupport="undefined"===typeof e.options.mouseSupport||!!e.options.mouseSupport,this.mouseSupport&&(e.onMouseDown(this.onMouseDown,this,this.disposables),e.onContextMenu(this.onContextMenu,this,this.disposables),e.onMouseDblClick(this.onDoubleClick,this,this.disposables),e.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(d["b"].addTarget(e.getHTMLElement()))),e.onMouseClick(this.onPointer,this,this.disposables),e.onMouseMiddleClick(this.onPointer,this,this.disposables),e.onTap(this.onPointer,this,this.disposables)}return e.prototype.isSelectionSingleChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):c["e"]?e.browserEvent.metaKey:e.browserEvent.ctrlKey},e.prototype.isSelectionRangeChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey},e.prototype.isSelectionChangeEvent=function(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)},e.prototype.onMouseDown=function(e){document.activeElement!==e.browserEvent.target&&this.list.domFocus()},e.prototype.onContextMenu=function(e){var t="undefined"===typeof e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)},e.prototype.onPointer=function(e){if(this.mouseSupport&&!L(e.browserEvent.target)){var t=this.list.getFocus()[0],n=this.list.getSelection();t=void 0===t?n[0]:t;var r=e.index;if("undefined"===typeof r)return this.list.setFocus([],e.browserEvent),void this.list.setSelection([],e.browserEvent);if(this.multipleSelectionSupport&&this.isSelectionRangeChangeEvent(e))return this.changeSelection(e,t);if(this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))return this.changeSelection(e,t);this.list.setFocus([r],e.browserEvent),B(e.browserEvent)||(this.list.setSelection([r],e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open([r],e.browserEvent))}},e.prototype.onDoubleClick=function(e){if(!L(e.browserEvent.target)&&(!this.multipleSelectionSupport||!this.isSelectionChangeEvent(e))){var t=this.list.getFocus();this.list.setSelection(t,e.browserEvent),this.list.pin(t)}},e.prototype.changeSelection=function(e,t){var n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){var r=Math.min(t,n),i=Math.max(t,n),o=Object(s["u"])(r,i+1),a=this.list.getSelection(),l=G(q(a,[t]),t);if(0===l.length)return;var u=q(o,Y(a,l));this.list.setSelection(u,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){a=this.list.getSelection(),u=a.filter((function(e){return e!==n}));this.list.setFocus([n]),a.length===u.length?this.list.setSelection(k(u,[n]),e.browserEvent):this.list.setSelection(u,e.browserEvent)}},e.prototype.dispose=function(){this.disposables.dispose()},e}(),H=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix&&"."+this.selectorSuffix,n=[];e.listBackground&&(e.listBackground.isOpaque()?n.push(".monaco-list"+t+" .monaco-list-rows { background: "+e.listBackground+"; }"):c["e"]||console.warn("List with id '"+this.selectorSuffix+"' was styled with a non-opaque background color. This will break sub-pixel antialiasing.")),e.listFocusBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.focused { background-color: "+e.listFocusBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.focused:hover { background-color: "+e.listFocusBackground+"; }")),e.listFocusForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.focused { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&(n.push(".monaco-list"+t+":focus .monaco-list-row.selected { background-color: "+e.listActiveSelectionBackground+"; }"),n.push(".monaco-list"+t+":focus .monaco-list-row.selected:hover { background-color: "+e.listActiveSelectionBackground+"; }")),e.listActiveSelectionForeground&&n.push(".monaco-list"+t+":focus .monaco-list-row.selected { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.selected.focused { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveFocusBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.focused { background-color: "+e.listInactiveFocusBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.focused:hover { background-color: "+e.listInactiveFocusBackground+"; }")),e.listInactiveSelectionBackground&&(n.push(".monaco-list"+t+" .monaco-list-row.selected { background-color: "+e.listInactiveSelectionBackground+"; }"),n.push(".monaco-list"+t+" .monaco-list-row.selected:hover { background-color: "+e.listInactiveSelectionBackground+"; }")),e.listInactiveSelectionForeground&&n.push(".monaco-list"+t+" .monaco-list-row.selected { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-list"+t+":not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-list"+t+" .monaco-list-row:hover:not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listSelectionOutline&&n.push(".monaco-list"+t+" .monaco-list-row.selected { outline: 1px dotted "+e.listSelectionOutline+"; outline-offset: -1px; }"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-drag-image,\n\t\t\t\t.monaco-list"+t+":focus .monaco-list-row.focused { outline: 1px solid "+e.listFocusOutline+"; outline-offset: -1px; }\n\t\t\t"),e.listInactiveFocusOutline&&n.push(".monaco-list"+t+" .monaco-list-row.focused { outline: 1px dotted "+e.listInactiveFocusOutline+"; outline-offset: -1px; }"),e.listHoverOutline&&n.push(".monaco-list"+t+" .monaco-list-row:hover { outline: 1px dashed "+e.listHoverOutline+"; outline-offset: -1px; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-list"+t+".drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-rows.drop-target,\n\t\t\t\t.monaco-list"+t+" .monaco-list-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFilterWidgetBackground&&n.push(".monaco-list-type-filter { background-color: "+e.listFilterWidgetBackground+" }"),e.listFilterWidgetOutline&&n.push(".monaco-list-type-filter { border: 1px solid "+e.listFilterWidgetOutline+"; }"),e.listFilterWidgetNoMatchesOutline&&n.push(".monaco-list-type-filter.no-matches { border: 1px solid "+e.listFilterWidgetNoMatchesOutline+"; }"),e.listMatchesShadow&&n.push(".monaco-list-type-filter { box-shadow: 1px 1px 1px "+e.listMatchesShadow+"; }");var r=n.join("\n");r!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=r)},e}(),U={listFocusBackground:y["a"].fromHex("#7FB0D0"),listActiveSelectionBackground:y["a"].fromHex("#0E639C"),listActiveSelectionForeground:y["a"].fromHex("#FFFFFF"),listFocusAndSelectionBackground:y["a"].fromHex("#094771"),listFocusAndSelectionForeground:y["a"].fromHex("#FFFFFF"),listInactiveSelectionBackground:y["a"].fromHex("#3F3F46"),listHoverBackground:y["a"].fromHex("#2A2D2E"),listDropBackground:y["a"].fromHex("#383B3D"),treeIndentGuidesStroke:y["a"].fromHex("#a9a9a9")},K={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:r.TREE};function G(e,t){var n=e.indexOf(t);if(-1===n)return[];var r=[],i=n-1;while(i>=0&&e[i]===t-(n-i))r.push(e[i--]);r.reverse(),i=n;while(i<e.length&&e[i]===t+(i-n))r.push(e[i++]);return r}function q(e,t){var n=[],r=0,i=0;while(r<e.length||i<t.length)if(r>=e.length)n.push(t[i++]);else if(i>=t.length)n.push(e[r++]);else{if(e[r]===t[i]){n.push(e[r]),r++,i++;continue}e[r]<t[i]?n.push(e[r++]):n.push(t[i++])}return n}function Y(e,t){var n=[],r=0,i=0;while(r<e.length||i<t.length)if(r>=e.length)n.push(t[i++]);else if(i>=t.length)n.push(e[r++]);else{if(e[r]===t[i]){r++,i++;continue}e[r]<t[i]?n.push(e[r++]):i++}return n}var X=function(e,t){return e-t},Z=function(){function e(e,t){this._templateId=e,this.renderers=t}return Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){return this.renderers.map((function(t){return t.renderTemplate(e)}))},e.prototype.renderElement=function(e,t,n,r){for(var i=0,o=0,a=this.renderers;o<a.length;o++){var s=a[o];s.renderElement(e,t,n[i++],r)}},e.prototype.disposeElement=function(e,t,n,r){for(var i=0,o=0,a=this.renderers;o<a.length;o++){var s=a[o];s.disposeElement&&s.disposeElement(e,t,n[i],r),i+=1}},e.prototype.disposeTemplate=function(e){for(var t=0,n=0,r=this.renderers;n<r.length;n++){var i=r[n];i.disposeTemplate(e[t++])}},e}(),Q=function(){function e(e){this.accessibilityProvider=e,this.templateId="a18n"}return e.prototype.renderTemplate=function(e){return e},e.prototype.renderElement=function(e,t,n){var r=this.accessibilityProvider.getAriaLabel(e);r?n.setAttribute("aria-label",r):n.removeAttribute("aria-label");var i=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(e);"number"===typeof i?n.setAttribute("aria-level",""+i):n.removeAttribute("aria-level")},e.prototype.disposeTemplate=function(e){},e}(),$=function(){function e(e,t){this.list=e,this.dnd=t}return e.prototype.getDragElements=function(e){var t=this.list.getSelectedElements(),n=t.indexOf(e)>-1?t:[e];return n},e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e,t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)},e.prototype.onDragOver=function(e,t,n,r){return this.dnd.onDragOver(e,t,n,r)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.drop=function(e,t,n,r){this.dnd.drop(e,t,n,r)},e}(),J=function(){function e(e,t,n,a,s){void 0===s&&(s=K),this.user=e,this._options=s,this.eventBufferer=new f["c"],this.disposables=new o["b"],this._onDidOpen=new f["a"],this.onDidOpen=this._onDidOpen.event,this._onDidPin=new f["a"],this.didJustPressContextMenuKey=!1,this._onDidDispose=new f["a"],this.onDidDispose=this._onDidDispose.event,this.focus=new M,this.selection=new D("selected"),Object(b["g"])(s,U,!1);var l=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=s.accessibilityProvider,this.accessibilityProvider&&(l.push(new Q(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),a=a.map((function(e){return new Z(e.templateId,k(l,[e]))}));var c=S(S({},s),{dnd:s.dnd&&new $(this,s.dnd)});if(this.view=new v["b"](t,n,a,c),"string"!==typeof s.ariaRole?this.view.domNode.setAttribute("role",r.TREE):this.view.domNode.setAttribute("role",s.ariaRole),s.styleController)this.styleController=s.styleController(this.view.domId);else{var d=u["v"](this.view.domNode);this.styleController=new H(d,this.view.domId)}if(this.spliceable=new _([new N(this.focus,this.view,s.identityProvider),new N(this.selection,this.view,s.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.onDidFocus=f["b"].map(Object(p["a"])(this.view.domNode,"focus",!0),(function(){return null})),this.onDidBlur=f["b"].map(Object(p["a"])(this.view.domNode,"blur",!0),(function(){return null})),this.disposables.add(new R(this,this.view)),"boolean"!==typeof s.keyboardSupport||s.keyboardSupport){var h=new T(this,this.view,s);this.disposables.add(h)}if(s.keyboardNavigationLabelProvider){var g=s.keyboardNavigationDelegate||P;this.typeLabelController=new A(this,this.view,s.keyboardNavigationLabelProvider,g),this.disposables.add(this.typeLabelController)}this.disposables.add(this.createMouseController(s)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),s.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(i["a"])("aria list","{0}. Use the navigation keys to navigate.",s.ariaLabel))}return Object.defineProperty(e.prototype,"onFocusChange",{get:function(){var e=this;return f["b"].map(this.eventBufferer.wrapEvent(this.focus.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){var e=this;return f["b"].map(this.eventBufferer.wrapEvent(this.selection.onChange),(function(t){return e.toListEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"domId",{get:function(){return this.view.domId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this,t=f["b"].chain(Object(p["a"])(this.view.domNode,"keydown")).map((function(e){return new h["a"](e)})).filter((function(t){return e.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode})).filter((function(e){return e.preventDefault(),e.stopPropagation(),!1})).event,n=f["b"].chain(Object(p["a"])(this.view.domNode,"keyup")).filter((function(){var t=e.didJustPressContextMenuKey;return e.didJustPressContextMenuKey=!1,t})).filter((function(){return e.getFocus().length>0&&!!e.view.domElement(e.getFocus()[0])})).map((function(t){var n=e.getFocus()[0],r=e.view.element(n),i=e.view.domElement(n);return{index:n,element:r,anchor:i,browserEvent:t}})).event,r=f["b"].chain(this.view.onContextMenu).filter((function(){return!e.didJustPressContextMenuKey})).map((function(e){var t=e.element,n=e.index,r=e.browserEvent;return{element:t,index:n,anchor:{x:r.clientX+1,y:r.clientY},browserEvent:r}})).event;return f["b"].any(t,n,r)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return Object(p["a"])(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),e.prototype.createMouseController=function(e){return new W(this)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=S(S({},this._options),e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){var r=this;if(void 0===n&&(n=[]),e<0||e>this.view.length)throw new m(this.user,"Invalid start index: "+e);if(t<0)throw new m(this.user,"Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents((function(){return r.spliceable.splice(e,t,n)}))},e.prototype.rerender=function(){this.view.rerender()},e.prototype.element=function(e){return this.view.element(e)},Object.defineProperty(e.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(e){this.view.setScrollTop(e)},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domNode.focus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.setSelection=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i<0||i>=this.length)throw new m(this.user,"Invalid index "+i)}this.selection.set(e,t)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.getSelectedElements=function(){var e=this;return this.getSelection().map((function(t){return e.view.element(t)}))},e.prototype.setFocus=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i<0||i>=this.length)throw new m(this.user,"Invalid index "+i)}this.focus.set(e,t)},e.prototype.focusNext=function(e,t,n,r){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),o=this.findNextIndex(i.length>0?i[0]+e:0,t,r);o>-1&&this.setFocus([o],n)}},e.prototype.focusPrevious=function(e,t,n,r){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),o=this.findPreviousIndex(i.length>0?i[0]-e:0,t,r);o>-1&&this.setFocus([o],n)}},e.prototype.focusNextPage=function(e,t){var n=this,r=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);r=0===r?0:r-1;var i=this.view.element(r),o=this.getFocusedElements()[0];if(o!==i){var a=this.findPreviousIndex(r,!1,t);a>-1&&o!==this.view.element(a)?this.setFocus([a],e):this.setFocus([r],e)}else{var s=this.view.getScrollTop();this.view.setScrollTop(s+this.view.renderHeight-this.view.elementHeight(r)),this.view.getScrollTop()!==s&&setTimeout((function(){return n.focusNextPage(e,t)}),0)}},e.prototype.focusPreviousPage=function(e,t){var n,r=this,i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);var o=this.view.element(n),a=this.getFocusedElements()[0];if(a!==o){var s=this.findNextIndex(n,!1,t);s>-1&&a!==this.view.element(s)?this.setFocus([s],e):this.setFocus([n],e)}else{var l=i;this.view.setScrollTop(i-this.view.renderHeight),this.view.getScrollTop()!==l&&setTimeout((function(){return r.focusPreviousPage(e,t)}),0)}},e.prototype.focusLast=function(e,t){if(0!==this.length){var n=this.findPreviousIndex(this.length-1,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.focusFirst=function(e,t){if(0!==this.length){var n=this.findNextIndex(0,!1,t);n>-1&&this.setFocus([n],e)}},e.prototype.findNextIndex=function(e,t,n){void 0===t&&(t=!1);for(var r=0;r<this.length;r++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1},e.prototype.findPreviousIndex=function(e,t,n){void 0===t&&(t=!1);for(var r=0;r<this.length;r++){if(e<0&&!t)return-1;if(e=(this.length+e%this.length)%this.length,!n||n(this.element(e)))return e;e--}return-1},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.getFocusedElements=function(){var e=this;return this.getFocus().map((function(t){return e.view.element(t)}))},e.prototype.reveal=function(e,t){if(e<0||e>=this.length)throw new m(this.user,"Invalid index "+e);var n=this.view.getScrollTop(),r=this.view.elementTop(e),i=this.view.elementHeight(e);if(Object(a["h"])(t)){var o=i-this.view.renderHeight;this.view.setScrollTop(o*Object(w["a"])(t,0,1)+r)}else{var s=r+i,l=n+this.view.renderHeight;r<n&&s>=l||(r<n?this.view.setScrollTop(r):s>=l&&this.view.setScrollTop(s-this.view.renderHeight))}},e.prototype.getRelativeTop=function(e){if(e<0||e>=this.length)throw new m(this.user,"Invalid index "+e);var t=this.view.getScrollTop(),n=this.view.elementTop(e),r=this.view.elementHeight(e);if(n<t||n+r>t+this.view.renderHeight)return null;var i=r-this.view.renderHeight;return Math.abs((t-n)/i)},e.prototype.getHTMLElement=function(){return this.view.domNode},e.prototype.open=function(e,t){for(var n=this,r=0,i=e;r<i.length;r++){var o=i[r];if(o<0||o>=this.length)throw new m(this.user,"Invalid index "+o)}this._onDidOpen.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.pin=function(e,t){for(var n=this,r=0,i=e;r<i.length;r++){var o=i[r];if(o<0||o>=this.length)throw new m(this.user,"Invalid index "+o)}this._onDidPin.fire({indexes:e,elements:e.map((function(e){return n.view.element(e)})),browserEvent:t})},e.prototype.style=function(e){this.styleController.style(e)},e.prototype.toListEvent=function(e){var t=this,n=e.indexes,r=e.browserEvent;return{indexes:n,elements:n.map((function(e){return t.view.element(e)})),browserEvent:r}},e.prototype._onFocusChange=function(){var e=this.focus.get();u["X"](this.view.domNode,"element-focused",e.length>0),this.onDidChangeActiveDescendant()},e.prototype.onDidChangeActiveDescendant=function(){var e,t=this.focus.get();if(t.length>0){var n=void 0;(null===(e=this.accessibilityProvider)||void 0===e?void 0:e.getActiveDescendantId)&&(n=this.accessibilityProvider.getActiveDescendantId(this.view.element(t[0]))),this.view.domNode.setAttribute("aria-activedescendant",n||this.view.getElementDomId(t[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")},e.prototype._onSelectionChange=function(){var e=this.selection.get();u["X"](this.view.domNode,"selection-none",0===e.length),u["X"](this.view.domNode,"selection-single",1===e.length),u["X"](this.view.domNode,"selection-multiple",e.length>1)},e.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidOpen.dispose(),this._onDidPin.dispose(),this._onDidDispose.dispose()},O([l["a"]],e.prototype,"onFocusChange",null),O([l["a"]],e.prototype,"onSelectionChange",null),O([l["a"]],e.prototype,"onContextMenu",null),e}()},crZl:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=a.normalizeCssArray(t.get("padding")||0),r=e.getBoundingRect();e.add(new o.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){n=n||{};var r=n.forceState,o=this.visualMapModel,a={};if("symbol"===t&&(a.symbol=o.get("itemSymbol")),"color"===t){var s=o.get("contentColor");a.color=s}function u(e){return a[e]}function c(e,t){a[e]=t}var d=o.controllerVisuals[r||o.getValueState(e)],h=l.prepareVisualTypes(d);return i.each(h,(function(r){var i=d[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=d.__alphaForOpacity),l.dependsOn(r,t)&&i&&i.applyVisual(e,u,c)})),a[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:i.noop});e.exports=u},d4KN:function(e,t,n){var r=n("ProS"),i=n("bYtY");function o(e,t){i.each(t,(function(t){t.update="updateView",r.registerAction(t,(function(n,r){var i={};return r.eachComponent({mainType:"series",subType:e,query:n},(function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var r=e.getData();r.each((function(t){var n=r.getName(t);i[n]=e.isSelected(n)||!1}))})),{name:n.name,selected:i,seriesId:n.seriesId}}))}))}e.exports=o},dBaI:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s}));var r=n("N0LK"),i=function(){function e(e,t,n,r){this.startColumn=e,this.endColumn=t,this.className=n,this.type=r}return e._equals=function(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type},e.equalsArr=function(t,n){var r=t.length,i=n.length;if(r!==i)return!1;for(var o=0;o<r;o++)if(!e._equals(t[o],n[o]))return!1;return!0},e.filter=function(t,n,r,i){if(0===t.length)return[];for(var o=[],a=0,s=0,l=t.length;s<l;s++){var u=t[s],c=u.range;if(!(c.endLineNumber<n||c.startLineNumber>n)&&(!c.isEmpty()||0!==u.type&&3!==u.type)){var d=c.startLineNumber===n?c.startColumn:r,h=c.endLineNumber===n?c.endColumn:i;o[a++]=new e(d,h,u.inlineClassName,u.type)}}return o},e.compare=function(e,t){return e.startColumn===t.startColumn?e.endColumn===t.endColumn?e.className<t.className?-1:e.className>t.className?1:0:e.endColumn-t.endColumn:e.startColumn-t.startColumn},e}(),o=function(){function e(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n}return e}(),a=function(){function e(){this.stopOffsets=[],this.classNames=[],this.count=0}return e.prototype.consumeLowerThan=function(e,t,n){while(this.count>0&&this.stopOffsets[0]<e){var r=0;while(r+1<this.count&&this.stopOffsets[r]===this.stopOffsets[r+1])r++;n.push(new o(t,this.stopOffsets[r],this.classNames.join(" "))),t=this.stopOffsets[r]+1,this.stopOffsets.splice(0,r+1),this.classNames.splice(0,r+1),this.count-=r+1}return this.count>0&&t<e&&(n.push(new o(t,e-1,this.classNames.join(" "))),t=e),t},e.prototype.insert=function(e,t){if(0===this.count||this.stopOffsets[this.count-1]<=e)this.stopOffsets.push(e),this.classNames.push(t);else for(var n=0;n<this.count;n++)if(this.stopOffsets[n]>=e){this.stopOffsets.splice(n,0,e),this.classNames.splice(n,0,t);break}this.count++},e}(),s=function(){function e(){}return e.normalize=function(e,t){if(0===t.length)return[];for(var n=[],i=new a,o=0,s=0,l=t.length;s<l;s++){var u=t[s],c=u.startColumn,d=u.endColumn,h=u.className;if(c>1){var f=e.charCodeAt(c-2);r["z"](f)&&c--}if(d>1){f=e.charCodeAt(d-2);r["z"](f)&&d--}var p=c-1,g=d-2;o=i.consumeLowerThan(p,o,n),0===i.count&&(o=p),i.insert(g,h)}return i.consumeLowerThan(1073741824,o,n),n},e}()},dBmv:function(e,t,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),r.registerPreprocessor(i)},dD9F:function(e,t,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",h="[object Map]",f="[object Number]",p="[object Object]",g="[object RegExp]",m="[object Set]",v="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",O="[object Int32Array]",k="[object Uint8Array]",E="[object Uint8ClampedArray]",D="[object Uint16Array]",M="[object Uint32Array]",N={};function L(e){return o(e)&&i(e.length)&&!!N[r(e)]}N[w]=N[x]=N[C]=N[S]=N[O]=N[k]=N[E]=N[D]=N[M]=!0,N[a]=N[s]=N[b]=N[l]=N[_]=N[u]=N[c]=N[d]=N[h]=N[f]=N[p]=N[g]=N[m]=N[v]=N[y]=!1,e.exports=L},"dF/Y":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="DownloadOutlined";t["a"]=r["forwardRef"](s)},dFcq:function(e,t,n){},dMvE:function(e,t){var n={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r))},elasticOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return 0===e?0:1===e?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((t+1)*e-t)*.5:.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-n.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*n.bounceIn(2*e):.5*n.bounceOut(2*e-1)+.5}},r=n;e.exports=r},dgXF:function(e,t,n){"use strict";n.r(t),n.d(t,"FoldingController",(function(){return ne})),n.d(t,"foldBackgroundBackground",(function(){return ve}));n("CjOT");var r=n("3/fG"),i=n("746U"),o=n("N0LK"),a=n("X+cX"),s=n("/kV6"),l=n("pmY6"),u=n("sswD"),c=n("MI8n"),d=65535,h=16777215,f=4278190080,p=function(){function e(e,t,n){if(e.length!==t.length||e.length>d)throw new Error("invalid startIndexes or endIndexes size");this._startIndexes=e,this._endIndexes=t,this._collapseStates=new Uint32Array(Math.ceil(e.length/32)),this._types=n,this._parentsComputed=!1}return e.prototype.ensureParentIndices=function(){var e=this;if(!this._parentsComputed){this._parentsComputed=!0;for(var t=[],n=function(n,r){var i=t[t.length-1];return e.getStartLineNumber(i)<=n&&e.getEndLineNumber(i)>=r},r=0,i=this._startIndexes.length;r<i;r++){var o=this._startIndexes[r],a=this._endIndexes[r];if(o>h||a>h)throw new Error("startLineNumber or endLineNumber must not exceed "+h);while(t.length>0&&!n(o,a))t.pop();var s=t.length>0?t[t.length-1]:-1;t.push(r),this._startIndexes[r]=o+((255&s)<<24),this._endIndexes[r]=a+((65280&s)<<16)}}},Object.defineProperty(e.prototype,"length",{get:function(){return this._startIndexes.length},enumerable:!0,configurable:!0}),e.prototype.getStartLineNumber=function(e){return this._startIndexes[e]&h},e.prototype.getEndLineNumber=function(e){return this._endIndexes[e]&h},e.prototype.getType=function(e){return this._types?this._types[e]:void 0},e.prototype.hasTypes=function(){return!!this._types},e.prototype.isCollapsed=function(e){var t=e/32|0,n=e%32;return 0!==(this._collapseStates[t]&1<<n)},e.prototype.setCollapsed=function(e,t){var n=e/32|0,r=e%32,i=this._collapseStates[n];this._collapseStates[n]=t?i|1<<r:i&~(1<<r)},e.prototype.toRegion=function(e){return new g(this,e)},e.prototype.getParentIndex=function(e){this.ensureParentIndices();var t=((this._startIndexes[e]&f)>>>24)+((this._endIndexes[e]&f)>>>16);return t===d?-1:t},e.prototype.contains=function(e,t){return this.getStartLineNumber(e)<=t&&this.getEndLineNumber(e)>=t},e.prototype.findIndex=function(e){var t=0,n=this._startIndexes.length;if(0===n)return-1;while(t<n){var r=Math.floor((t+n)/2);e<this.getStartLineNumber(r)?n=r:t=r+1}return t-1},e.prototype.findRange=function(e){var t=this.findIndex(e);if(t>=0){var n=this.getEndLineNumber(t);if(n>=e)return t;t=this.getParentIndex(t);while(-1!==t){if(this.contains(t,e))return t;t=this.getParentIndex(t)}}return-1},e.prototype.toString=function(){for(var e=[],t=0;t<this.length;t++)e[t]="["+(this.isCollapsed(t)?"+":"-")+"] "+this.getStartLineNumber(t)+"/"+this.getEndLineNumber(t);return e.join(", ")},e}(),g=function(){function e(e,t){this.ranges=e,this.index=t}return Object.defineProperty(e.prototype,"startLineNumber",{get:function(){return this.ranges.getStartLineNumber(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endLineNumber",{get:function(){return this.ranges.getEndLineNumber(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"regionIndex",{get:function(){return this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentIndex",{get:function(){return this.ranges.getParentIndex(this.index)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCollapsed",{get:function(){return this.ranges.isCollapsed(this.index)},enumerable:!0,configurable:!0}),e.prototype.containedBy=function(e){return e.startLineNumber<=this.startLineNumber&&e.endLineNumber>=this.endLineNumber},e.prototype.containsLine=function(e){return this.startLineNumber<=e&&e<=this.endLineNumber},e}(),m=function(){function e(e,t){this._updateEventEmitter=new c["a"],this.onDidChange=this._updateEventEmitter.event,this._textModel=e,this._decorationProvider=t,this._regions=new p(new Uint32Array(0),new Uint32Array(0)),this._editorDecorationIds=[],this._isInitialized=!1}return Object.defineProperty(e.prototype,"regions",{get:function(){return this._regions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textModel",{get:function(){return this._textModel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isInitialized",{get:function(){return this._isInitialized},enumerable:!0,configurable:!0}),e.prototype.toggleCollapseState=function(e){var t=this;if(e.length){var n={};this._decorationProvider.changeDecorations((function(r){for(var i=0,o=e;i<o.length;i++){var a=o[i],s=a.regionIndex,l=t._editorDecorationIds[s];if(l&&!n[l]){n[l]=!0;var u=!t._regions.isCollapsed(s);t._regions.setCollapsed(s,u),r.changeDecorationOptions(l,t._decorationProvider.getDecorationOption(u))}}})),this._updateEventEmitter.fire({model:this,collapseStateChanged:e})}},e.prototype.update=function(e,t){var n=this;void 0===t&&(t=[]);var r=[],i=function(e,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];if(e<o&&o<=n)return!0}return!1},o=function(t,o){var a=e.getStartLineNumber(t);o&&i(a,e.getEndLineNumber(t))&&(o=!1),e.setCollapsed(t,o);var s=n._textModel.getLineMaxColumn(a),l={startLineNumber:a,startColumn:s,endLineNumber:a,endColumn:s};r.push({range:l,options:n._decorationProvider.getDecorationOption(o)})},a=0,s=function(){while(a<n._regions.length){var e=n._regions.isCollapsed(a);if(a++,e)return a-1}return-1},l=0,u=s();while(-1!==u&&l<e.length){var c=this._textModel.getDecorationRange(this._editorDecorationIds[u]);if(c){var d=c.startLineNumber;if(this._textModel.getLineMaxColumn(d)===c.startColumn)while(l<e.length){var h=e.getStartLineNumber(l);if(!(d>=h))break;o(l,d===h),l++}}u=s()}while(l<e.length)o(l,!1),l++;this._editorDecorationIds=this._decorationProvider.deltaDecorations(this._editorDecorationIds,r),this._regions=e,this._isInitialized=!0,this._updateEventEmitter.fire({model:this})},e.prototype.getMemento=function(){for(var e=[],t=0;t<this._regions.length;t++)if(this._regions.isCollapsed(t)){var n=this._textModel.getDecorationRange(this._editorDecorationIds[t]);if(n){var r=n.startLineNumber,i=n.endLineNumber+this._regions.getEndLineNumber(t)-this._regions.getStartLineNumber(t);e.push({startLineNumber:r,endLineNumber:i})}}if(e.length>0)return e},e.prototype.applyMemento=function(e){if(Array.isArray(e)){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n],o=this.getRegionAtLine(i.startLineNumber);o&&!o.isCollapsed&&t.push(o)}this.toggleCollapseState(t)}},e.prototype.dispose=function(){this._decorationProvider.deltaDecorations(this._editorDecorationIds,[])},e.prototype.getAllRegionsAtLine=function(e,t){var n=[];if(this._regions){var r=this._regions.findRange(e),i=1;while(r>=0){var o=this._regions.toRegion(r);t&&!t(o,i)||n.push(o),i++,r=o.parentIndex}}return n},e.prototype.getRegionAtLine=function(e){if(this._regions){var t=this._regions.findRange(e);if(t>=0)return this._regions.toRegion(t)}return null},e.prototype.getRegionsInside=function(e,t){var n=[],r=e?e.regionIndex+1:0,i=e?e.endLineNumber:Number.MAX_VALUE;if(t&&2===t.length)for(var o=[],a=r,s=this._regions.length;a<s;a++){var l=this._regions.toRegion(a);if(!(this._regions.getStartLineNumber(a)<i))break;while(o.length>0&&!l.containedBy(o[o.length-1]))o.pop();o.push(l),t(l,o.length)&&n.push(l)}else for(a=r,s=this._regions.length;a<s;a++){l=this._regions.toRegion(a);if(!(this._regions.getStartLineNumber(a)<i))break;t&&!t(l)||n.push(l)}return n},e}();function v(e,t,n){for(var r=[],i=function(n){var i=e.getRegionAtLine(n);if(i){var o=!i.isCollapsed;if(r.push(i),t>1){var a=e.getRegionsInside(i,(function(e,n){return e.isCollapsed!==o&&n<t}));r.push.apply(r,a)}}},o=0,a=n;o<a.length;o++){var s=a[o];i(s)}e.toggleCollapseState(r)}function y(e,t,n,r){void 0===n&&(n=Number.MAX_VALUE);var i=[];if(r&&r.length>0)for(var o=0,a=r;o<a.length;o++){var s=a[o],l=e.getRegionAtLine(s);if(l&&(l.isCollapsed!==t&&i.push(l),n>1)){var u=e.getRegionsInside(l,(function(e,r){return e.isCollapsed!==t&&r<n}));i.push.apply(i,u)}}else{u=e.getRegionsInside(null,(function(e,r){return e.isCollapsed!==t&&r<n}));i.push.apply(i,u)}e.toggleCollapseState(i)}function b(e,t,n,r){for(var i=[],o=0,a=r;o<a.length;o++){var s=a[o],l=e.getAllRegionsAtLine(s,(function(e,r){return e.isCollapsed!==t&&r<=n}));i.push.apply(i,l)}e.toggleCollapseState(i)}function _(e,t,n){for(var r=[],i=0,o=n;i<o.length;i++){var a=o[i],s=e.getAllRegionsAtLine(a,(function(e){return e.isCollapsed!==t}));s.length>0&&r.push(s[0])}e.toggleCollapseState(r)}function w(e,t,n,r){var i=function(e,i){return i===t&&e.isCollapsed!==n&&!r.some((function(t){return e.containsLine(t)}))},o=e.getRegionsInside(null,i);e.toggleCollapseState(o)}function x(e,t,n){for(var r=e.textModel,i=e.regions,o=[],a=i.length-1;a>=0;a--)if(n!==i.isCollapsed(a)){var s=i.getStartLineNumber(a);t.test(r.getLineContent(s))&&o.push(i.toRegion(a))}e.toggleCollapseState(o)}function C(e,t,n){for(var r=e.regions,i=[],o=r.length-1;o>=0;o--)n!==r.isCollapsed(o)&&t===r.getType(o)&&i.push(r.toRegion(o));e.toggleCollapseState(i)}var S=n("tX9W"),O=function(){function e(e){this.editor=e,this.autoHideFoldingControls=!0,this.showFoldingHighlights=!0}return e.prototype.getDecorationOption=function(t){return t?this.showFoldingHighlights?e.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION:e.COLLAPSED_VISUAL_DECORATION:this.autoHideFoldingControls?e.EXPANDED_AUTO_HIDE_VISUAL_DECORATION:e.EXPANDED_VISUAL_DECORATION},e.prototype.deltaDecorations=function(e,t){return this.editor.deltaDecorations(e,t)},e.prototype.changeDecorations=function(e){return this.editor.changeDecorations(e)},e.COLLAPSED_VISUAL_DECORATION=S["a"].register({stickiness:1,afterContentClassName:"inline-folded",linesDecorationsClassName:"codicon codicon-chevron-right"}),e.COLLAPSED_HIGHLIGHTED_VISUAL_DECORATION=S["a"].register({stickiness:1,afterContentClassName:"inline-folded",className:"folded-background",isWholeLine:!0,linesDecorationsClassName:"codicon codicon-chevron-right"}),e.EXPANDED_AUTO_HIDE_VISUAL_DECORATION=S["a"].register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down"}),e.EXPANDED_VISUAL_DECORATION=S["a"].register({stickiness:1,linesDecorationsClassName:"codicon codicon-chevron-down alwaysShowFoldIcons"}),e}(),k=n("wQH0"),E=n("aokT"),D=n("6OMU"),M=function(){function e(e){var t=this;this._updateEventEmitter=new c["a"],this._foldingModel=e,this._foldingModelListener=e.onDidChange((function(e){return t.updateHiddenRanges()})),this._hiddenRanges=[],e.regions.length&&this.updateHiddenRanges()}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._updateEventEmitter.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hiddenRanges",{get:function(){return this._hiddenRanges},enumerable:!0,configurable:!0}),e.prototype.updateHiddenRanges=function(){for(var e=!1,t=[],n=0,r=0,i=Number.MAX_VALUE,o=-1,a=this._foldingModel.regions;n<a.length;n++)if(a.isCollapsed(n)){var s=a.getStartLineNumber(n)+1,l=a.getEndLineNumber(n);i<=s&&l<=o||(!e&&r<this._hiddenRanges.length&&this._hiddenRanges[r].startLineNumber===s&&this._hiddenRanges[r].endLineNumber===l?(t.push(this._hiddenRanges[r]),r++):(e=!0,t.push(new E["a"](s,1,l,1))),i=s,o=l)}(e||r<this._hiddenRanges.length)&&this.applyHiddenRanges(t)},e.prototype.applyMemento=function(e){if(!Array.isArray(e)||0===e.length)return!1;for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];if(!i.startLineNumber||!i.endLineNumber)return!1;t.push(new E["a"](i.startLineNumber+1,1,i.endLineNumber,1))}return this.applyHiddenRanges(t),!0},e.prototype.getMemento=function(){return this._hiddenRanges.map((function(e){return{startLineNumber:e.startLineNumber-1,endLineNumber:e.endLineNumber}}))},e.prototype.applyHiddenRanges=function(e){this._hiddenRanges=e,this._updateEventEmitter.fire(e)},e.prototype.hasRanges=function(){return this._hiddenRanges.length>0},e.prototype.isHidden=function(e){return null!==L(this._hiddenRanges,e)},e.prototype.adjustSelections=function(e){for(var t=this,n=!1,r=this._foldingModel.textModel,i=null,o=function(e){return i&&N(e,i)||(i=L(t._hiddenRanges,e)),i?i.startLineNumber-1:null},a=0,s=e.length;a<s;a++){var l=e[a],u=o(l.startLineNumber);u&&(l=l.setStartPosition(u,r.getLineMaxColumn(u)),n=!0);var c=o(l.endLineNumber);c&&(l=l.setEndPosition(c,r.getLineMaxColumn(c)),n=!0),e[a]=l}return n},e.prototype.dispose=function(){this.hiddenRanges.length>0&&(this._hiddenRanges=[],this._updateEventEmitter.fire(this._hiddenRanges)),this._foldingModelListener&&(this._foldingModelListener.dispose(),this._foldingModelListener=null)},e}();function N(e,t){return e>=t.startLineNumber&&e<=t.endLineNumber}function L(e,t){var n=Object(D["i"])(e,(function(e){return t<e.startLineNumber}))-1;return n>=0&&e[n].endLineNumber>=t?e[n]:null}var I=n("cMvZ"),T=5e3,P="indent",A=function(){function e(e){this.editorModel=e,this.id=P}return e.prototype.dispose=function(){},e.prototype.compute=function(e){var t=I["a"].getFoldingRules(this.editorModel.getLanguageIdentifier().id),n=t&&!!t.offSide,r=t&&t.markers;return Promise.resolve(j(this.editorModel,n,r))},e}(),R=function(){function e(e){this._startIndexes=[],this._endIndexes=[],this._indentOccurrences=[],this._length=0,this._foldingRangesLimit=e}return e.prototype.insertFirst=function(e,t,n){if(!(e>h||t>h)){var r=this._length;this._startIndexes[r]=e,this._endIndexes[r]=t,this._length++,n<1e3&&(this._indentOccurrences[n]=(this._indentOccurrences[n]||0)+1)}},e.prototype.toIndentRanges=function(e){if(this._length<=this._foldingRangesLimit){for(var t=new Uint32Array(this._length),n=new Uint32Array(this._length),r=this._length-1,i=0;r>=0;r--,i++)t[i]=this._startIndexes[r],n[i]=this._endIndexes[r];return new p(t,n)}var o=0,a=this._indentOccurrences.length;for(r=0;r<this._indentOccurrences.length;r++){var s=this._indentOccurrences[r];if(s){if(s+o>this._foldingRangesLimit){a=r;break}o+=s}}var l=e.getOptions().tabSize;for(t=new Uint32Array(this._foldingRangesLimit),n=new Uint32Array(this._foldingRangesLimit),r=this._length-1,i=0;r>=0;r--){var u=this._startIndexes[r],c=e.getLineContent(u),d=S["b"].computeIndentLevel(c,l);(d<a||d===a&&o++<this._foldingRangesLimit)&&(t[i]=u,n[i]=this._endIndexes[r],i++)}return new p(t,n)},e}();function j(e,t,n,r){void 0===r&&(r=T);var i=e.getOptions().tabSize,o=new R(r),a=void 0;n&&(a=new RegExp("("+n.start.source+")|(?:"+n.end.source+")"));var s=[],l=e.getLineCount()+1;s.push({indent:-1,endAbove:l,line:l});for(var u=e.getLineCount();u>0;u--){var c=e.getLineContent(u),d=S["b"].computeIndentLevel(c,i),h=s[s.length-1];if(-1!==d){var f=void 0;if(a&&(f=c.match(a))){if(!f[1]){s.push({indent:-2,endAbove:u,line:u});continue}var p=s.length-1;while(p>0&&-2!==s[p].indent)p--;if(p>0){s.length=p+1,h=s[p],o.insertFirst(u,h.line,d),h.line=u,h.indent=d,h.endAbove=u;continue}}if(h.indent>d){do{s.pop(),h=s[s.length-1]}while(h.indent>d);var g=h.endAbove-1;g-u>=1&&o.insertFirst(u,g,d)}h.indent===d?h.endAbove=u:s.push({indent:d,endAbove:u,line:u})}else t&&(h.endAbove=u)}return o.toIndentRanges(e)}var F=n("twdY"),B=n("/cxE"),V=5e3,z={},W="syntax",H=function(){function e(e,t,n){void 0===n&&(n=V),this.editorModel=e,this.providers=t,this.limit=n,this.id=W}return e.prototype.compute=function(e){var t=this;return U(this.providers,this.editorModel,e).then((function(e){if(e){var n=G(e,t.limit);return n}return null}))},e.prototype.dispose=function(){},e}();function U(e,t,n){var r=null,i=e.map((function(e,i){return Promise.resolve(e.provideFoldingRanges(t,z,n)).then((function(e){if(!n.isCancellationRequested&&Array.isArray(e)){Array.isArray(r)||(r=[]);for(var o=t.getLineCount(),a=0,s=e;a<s.length;a++){var l=s[a];l.start>0&&l.end>l.start&&l.end<=o&&r.push({start:l.start,end:l.end,rank:i,kind:l.kind})}}}),B["f"])}));return Promise.all(i).then((function(e){return r}))}var K=function(){function e(e){this._startIndexes=[],this._endIndexes=[],this._nestingLevels=[],this._nestingLevelCounts=[],this._types=[],this._length=0,this._foldingRangesLimit=e}return e.prototype.add=function(e,t,n,r){if(!(e>h||t>h)){var i=this._length;this._startIndexes[i]=e,this._endIndexes[i]=t,this._nestingLevels[i]=r,this._types[i]=n,this._length++,r<30&&(this._nestingLevelCounts[r]=(this._nestingLevelCounts[r]||0)+1)}},e.prototype.toIndentRanges=function(){if(this._length<=this._foldingRangesLimit){for(var e=new Uint32Array(this._length),t=new Uint32Array(this._length),n=0;n<this._length;n++)e[n]=this._startIndexes[n],t[n]=this._endIndexes[n];return new p(e,t,this._types)}var r=0,i=this._nestingLevelCounts.length;for(n=0;n<this._nestingLevelCounts.length;n++){var o=this._nestingLevelCounts[n];if(o){if(o+r>this._foldingRangesLimit){i=n;break}r+=o}}e=new Uint32Array(this._foldingRangesLimit),t=new Uint32Array(this._foldingRangesLimit);for(var a=[],s=(n=0,0);n<this._length;n++){var l=this._nestingLevels[n];(l<i||l===i&&r++<this._foldingRangesLimit)&&(e[s]=this._startIndexes[n],t[s]=this._endIndexes[n],a[s]=this._types[n],s++)}return new p(e,t,a)},e}();function G(e,t){for(var n=e.sort((function(e,t){var n=e.start-t.start;return 0===n&&(n=e.rank-t.rank),n})),r=new K(t),i=void 0,o=[],a=0,s=n;a<s.length;a++){var l=s[a];if(i){if(l.start>i.start)if(l.end<=i.end)o.push(i),i=l,r.add(l.start,l.end,l.kind&&l.kind.value,o.length);else{if(l.start>i.end){do{i=o.pop()}while(i&&l.start>i.end);i&&o.push(i),i=l}r.add(l.start,l.end,l.kind&&l.kind.value,o.length)}}else i=l,r.add(l.start,l.end,l.kind&&l.kind.value,o.length)}return r.toIndentRanges()}var q="init",Y=function(){function e(e,t,n,r){if(this.editorModel=e,this.id=q,t.length){var i=function(t){return{range:{startLineNumber:t.startLineNumber,startColumn:0,endLineNumber:t.endLineNumber,endColumn:e.getLineLength(t.endLineNumber)},options:{stickiness:1}}};this.decorationIds=e.deltaDecorations([],t.map(i)),this.timeout=setTimeout(n,r)}}return e.prototype.dispose=function(){this.decorationIds&&(this.editorModel.deltaDecorations(this.decorationIds,[]),this.decorationIds=void 0),"number"===typeof this.timeout&&(clearTimeout(this.timeout),this.timeout=void 0)},e.prototype.compute=function(e){var t=[];if(this.decorationIds)for(var n=0,r=this.decorationIds;n<r.length;n++){var i=r[n],o=this.editorModel.getDecorationRange(i);o&&t.push({start:o.startLineNumber,end:o.endLineNumber,rank:1})}return Promise.resolve(G(t,Number.MAX_VALUE))},e}(),X=n("T8No"),Z=n("t9D7"),Q=n("MD5Z"),$=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ee=function(e,t){return function(n,r){t(n,r,e)}},te=new X["d"]("foldingEnabled",!1),ne=function(e){function t(t,n){var r=e.call(this)||this;r.contextKeyService=n,r.localToDispose=r._register(new l["b"]),r.editor=t;var i=r.editor.getOptions();return r._isEnabled=i.get(30),r._useFoldingProviders="indentation"!==i.get(31),r.foldingModel=null,r.hiddenRangeModel=null,r.rangeProvider=null,r.foldingRegionPromise=null,r.foldingStateMemento=null,r.foldingModelPromise=null,r.updateScheduler=null,r.cursorChangedScheduler=null,r.mouseDownInfo=null,r.foldingDecorationProvider=new O(t),r.foldingDecorationProvider.autoHideFoldingControls="mouseover"===i.get(84),r.foldingDecorationProvider.showFoldingHighlights=i.get(32),r.foldingEnabled=te.bindTo(r.contextKeyService),r.foldingEnabled.set(r._isEnabled),r._register(r.editor.onDidChangeModel((function(){return r.onModelChanged()}))),r._register(r.editor.onDidChangeConfiguration((function(e){if(e.hasChanged(30)){var t=r.editor.getOptions();r._isEnabled=t.get(30),r.foldingEnabled.set(r._isEnabled),r.onModelChanged()}if(e.hasChanged(84)||e.hasChanged(32)){var n=r.editor.getOptions();r.foldingDecorationProvider.autoHideFoldingControls="mouseover"===n.get(84),r.foldingDecorationProvider.showFoldingHighlights=n.get(32),r.onModelContentChanged()}if(e.hasChanged(31)){var i=r.editor.getOptions();r._useFoldingProviders="indentation"!==i.get(31),r.onFoldingStrategyChanged()}}))),r.onModelChanged(),r}return $(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.saveViewState=function(){var e=this.editor.getModel();if(!e||!this._isEnabled||e.isTooLargeForTokenization())return{};if(this.foldingModel){var t=this.foldingModel.isInitialized?this.foldingModel.getMemento():this.hiddenRangeModel.getMemento(),n=this.rangeProvider?this.rangeProvider.id:void 0;return{collapsedRegions:t,lineCount:e.getLineCount(),provider:n}}},t.prototype.restoreViewState=function(e){var t=this.editor.getModel();if(t&&this._isEnabled&&!t.isTooLargeForTokenization()&&this.hiddenRangeModel&&e&&e.collapsedRegions&&e.lineCount===t.getLineCount()){e.provider!==W&&e.provider!==q||(this.foldingStateMemento=e);var n=e.collapsedRegions;if(this.hiddenRangeModel.applyMemento(n)){var r=this.getFoldingModel();r&&r.then((function(e){e&&e.applyMemento(n)})).then(void 0,B["e"])}}},t.prototype.onModelChanged=function(){var e=this;this.localToDispose.clear();var t=this.editor.getModel();this._isEnabled&&t&&!t.isTooLargeForTokenization()&&(this.foldingModel=new m(t,this.foldingDecorationProvider),this.localToDispose.add(this.foldingModel),this.hiddenRangeModel=new M(this.foldingModel),this.localToDispose.add(this.hiddenRangeModel),this.localToDispose.add(this.hiddenRangeModel.onDidChange((function(t){return e.onHiddenRangesChanges(t)}))),this.updateScheduler=new a["a"](200),this.cursorChangedScheduler=new a["d"]((function(){return e.revealCursor()}),200),this.localToDispose.add(this.cursorChangedScheduler),this.localToDispose.add(F["n"].onDidChange((function(){return e.onFoldingStrategyChanged()}))),this.localToDispose.add(this.editor.onDidChangeModelLanguageConfiguration((function(){return e.onFoldingStrategyChanged()}))),this.localToDispose.add(this.editor.onDidChangeModelContent((function(){return e.onModelContentChanged()}))),this.localToDispose.add(this.editor.onDidChangeCursorPosition((function(){return e.onCursorPositionChanged()}))),this.localToDispose.add(this.editor.onMouseDown((function(t){return e.onEditorMouseDown(t)}))),this.localToDispose.add(this.editor.onMouseUp((function(t){return e.onEditorMouseUp(t)}))),this.localToDispose.add({dispose:function(){e.foldingRegionPromise&&(e.foldingRegionPromise.cancel(),e.foldingRegionPromise=null),e.updateScheduler&&e.updateScheduler.cancel(),e.updateScheduler=null,e.foldingModel=null,e.foldingModelPromise=null,e.hiddenRangeModel=null,e.cursorChangedScheduler=null,e.foldingStateMemento=null,e.rangeProvider&&e.rangeProvider.dispose(),e.rangeProvider=null}}),this.onModelContentChanged())},t.prototype.onFoldingStrategyChanged=function(){this.rangeProvider&&this.rangeProvider.dispose(),this.rangeProvider=null,this.onModelContentChanged()},t.prototype.getRangeProvider=function(e){var t=this;if(this.rangeProvider)return this.rangeProvider;if(this.rangeProvider=new A(e),this._useFoldingProviders&&this.foldingModel){var n=F["n"].ordered(this.foldingModel.textModel);if(0===n.length&&this.foldingStateMemento&&this.foldingStateMemento.collapsedRegions){var r=this.rangeProvider=new Y(e,this.foldingStateMemento.collapsedRegions,(function(){t.foldingStateMemento=null,t.onFoldingStrategyChanged()}),3e4);return r}n.length>0&&(this.rangeProvider=new H(e,n))}return this.foldingStateMemento=null,this.rangeProvider},t.prototype.getFoldingModel=function(){return this.foldingModelPromise},t.prototype.onModelContentChanged=function(){var e=this;this.updateScheduler&&(this.foldingRegionPromise&&(this.foldingRegionPromise.cancel(),this.foldingRegionPromise=null),this.foldingModelPromise=this.updateScheduler.trigger((function(){var t=e.foldingModel;if(!t)return null;var n=e.foldingRegionPromise=Object(a["f"])((function(n){return e.getRangeProvider(t.textModel).compute(n)}));return n.then((function(r){if(r&&n===e.foldingRegionPromise){var i=e.editor.getSelections(),o=i?i.map((function(e){return e.startLineNumber})):[];t.update(r,o)}return t}))})).then(void 0,(function(e){return Object(B["e"])(e),null})))},t.prototype.onHiddenRangesChanges=function(e){if(this.hiddenRangeModel&&e.length){var t=this.editor.getSelections();t&&this.hiddenRangeModel.adjustSelections(t)&&this.editor.setSelections(t)}this.editor.setHiddenAreas(e)},t.prototype.onCursorPositionChanged=function(){this.hiddenRangeModel&&this.hiddenRangeModel.hasRanges()&&this.cursorChangedScheduler.schedule()},t.prototype.revealCursor=function(){var e=this,t=this.getFoldingModel();t&&t.then((function(t){if(t){var n=e.editor.getSelections();if(n&&n.length>0){for(var r=[],i=function(n){var i=n.selectionStartLineNumber;e.hiddenRangeModel&&e.hiddenRangeModel.isHidden(i)&&r.push.apply(r,t.getAllRegionsAtLine(i,(function(e){return e.isCollapsed&&i>e.startLineNumber})))},o=0,a=n;o<a.length;o++){var s=a[o];i(s)}r.length&&(t.toggleCollapseState(r),e.reveal(n[0].getPosition()))}}})).then(void 0,B["e"])},t.prototype.onEditorMouseDown=function(e){if(this.mouseDownInfo=null,this.hiddenRangeModel&&e.target&&e.target.range&&(e.event.leftButton||e.event.middleButton)){var t=e.target.range,n=!1;switch(e.target.type){case 4:var r=e.target.detail,i=e.target.element.offsetLeft,o=r.offsetX-i;if(o<5)return;n=!0;break;case 6:if(this.hiddenRangeModel.hasRanges()){var a=this.editor.getModel();if(a&&t.startColumn===a.getLineMaxColumn(t.startLineNumber))break}return;default:return}this.mouseDownInfo={lineNumber:t.startLineNumber,iconClicked:n}}},t.prototype.onEditorMouseUp=function(e){var t=this,n=this.getFoldingModel();if(n&&this.mouseDownInfo&&e.target){var r=this.mouseDownInfo.lineNumber,i=this.mouseDownInfo.iconClicked,o=e.target.range;if(o&&o.startLineNumber===r){if(i){if(4!==e.target.type)return}else{var a=this.editor.getModel();if(!a||o.startColumn!==a.getLineMaxColumn(r))return}n.then((function(n){if(n){var o=n.getRegionAtLine(r);if(o&&o.startLineNumber===r){var a=o.isCollapsed;if(i||a){var s=[],l=e.event.middleButton||e.event.shiftKey;if(l)for(var u=0,c=n.getRegionsInside(o);u<c.length;u++){var d=c[u];d.isCollapsed===a&&s.push(d)}!a&&l&&0!==s.length||s.push(o),n.toggleCollapseState(s),t.reveal({lineNumber:r,column:1})}}}})).then(void 0,B["e"])}}},t.prototype.reveal=function(e){this.editor.revealPositionInCenterIfOutsideViewport(e,0)},t.ID="editor.contrib.folding",t=J([ee(1,X["c"])],t),t}(l["a"]),re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype.runEditorCommand=function(e,t,n){var r=this,i=ne.get(t);if(i){var o=i.getFoldingModel();return o?(this.reportTelemetry(e,t),o.then((function(e){if(e){r.invoke(i,e,t,n);var o=t.getSelection();o&&i.reveal(o.getStartPosition())}}))):void 0}},t.prototype.getSelectedLines=function(e){var t=e.getSelections();return t?t.map((function(e){return e.startLineNumber})):[]},t.prototype.getLineNumbers=function(e,t){return e&&e.selectionLines?e.selectionLines.map((function(e){return e+1})):this.getSelectedLines(t)},t.prototype.run=function(e,t){},t}(u["b"]);function ie(e){if(!i["k"](e)){if(!i["i"](e))return!1;var t=e;if(!i["k"](t.levels)&&!i["h"](t.levels))return!1;if(!i["k"](t.direction)&&!i["j"](t.direction))return!1;if(!i["k"](t.selectionLines)&&(!i["d"](t.selectionLines)||!t.selectionLines.every(i["h"])))return!1}return!0}var oe=function(e){function t(){return e.call(this,{id:"editor.unfold",label:r["a"]("unfoldAction.label","Unfold"),alias:"Unfold",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:3161,mac:{primary:2649},weight:100},description:{description:"Unfold the content in the editor",args:[{name:"Unfold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t* 'levels': Number of levels to unfold. If not set, defaults to 1.\n\t\t\t\t\t\t* 'direction': If 'up', unfold given number of levels up otherwise unfolds down.\n\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the unfold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t",constraint:ie,schema:{type:"object",properties:{levels:{type:"number",default:1},direction:{type:"string",enum:["up","down"],default:"down"},selectionLines:{type:"array",items:{type:"number"}}}}}]}})||this}return $(t,e),t.prototype.invoke=function(e,t,n,r){var i=r&&r.levels||1,o=this.getLineNumbers(r,n);r&&"up"===r.direction?b(t,!1,i,o):y(t,!1,i,o)},t}(re),ae=function(e){function t(){return e.call(this,{id:"editor.unfoldRecursively",label:r["a"]("unFoldRecursivelyAction.label","Unfold Recursively"),alias:"Unfold Recursively",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2137),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n,r){y(t,!1,Number.MAX_VALUE,this.getSelectedLines(n))},t}(re),se=function(e){function t(){return e.call(this,{id:"editor.fold",label:r["a"]("foldAction.label","Fold"),alias:"Fold",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:3159,mac:{primary:2647},weight:100},description:{description:"Fold the content in the editor",args:[{name:"Fold editor argument",description:"Property-value pairs that can be passed through this argument:\n\t\t\t\t\t\t\t* 'levels': Number of levels to fold.\n\t\t\t\t\t\t\t* 'direction': If 'up', folds given number of levels up otherwise folds down.\n\t\t\t\t\t\t\t* 'selectionLines': The start lines (0-based) of the editor selections to apply the fold action to. If not set, the active selection(s) will be used.\n\t\t\t\t\t\t\tIf no levels or direction is set, folds the region at the locations or if already collapsed, the first uncollapsed parent instead.\n\t\t\t\t\t\t",constraint:ie,schema:{type:"object",properties:{levels:{type:"number"},direction:{type:"string",enum:["up","down"]},selectionLines:{type:"array",items:{type:"number"}}}}}]}})||this}return $(t,e),t.prototype.invoke=function(e,t,n,r){var i=this.getLineNumbers(r,n),o=r&&r.levels,a=r&&r.direction;"number"!==typeof o&&"string"!==typeof a?_(t,!0,i):"up"===a?b(t,!0,o||1,i):y(t,!0,o||1,i)},t}(re),le=function(e){function t(){return e.call(this,{id:"editor.toggleFold",label:r["a"]("toggleFoldAction.label","Toggle Fold"),alias:"Toggle Fold",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2090),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){var r=this.getSelectedLines(n);v(t,1,r)},t}(re),ue=function(e){function t(){return e.call(this,{id:"editor.foldRecursively",label:r["a"]("foldRecursivelyAction.label","Fold Recursively"),alias:"Fold Recursively",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2135),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){var r=this.getSelectedLines(n);y(t,!0,Number.MAX_VALUE,r)},t}(re),ce=function(e){function t(){return e.call(this,{id:"editor.foldAllBlockComments",label:r["a"]("foldAllBlockComments.label","Fold All Block Comments"),alias:"Fold All Block Comments",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2133),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){if(t.regions.hasTypes())C(t,F["m"].Comment.value,!0);else{var r=n.getModel();if(!r)return;var i=I["a"].getComments(r.getLanguageIdentifier().id);if(i&&i.blockCommentStartToken){var a=new RegExp("^\\s*"+Object(o["p"])(i.blockCommentStartToken));x(t,a,!0)}}},t}(re),de=function(e){function t(){return e.call(this,{id:"editor.foldAllMarkerRegions",label:r["a"]("foldAllMarkerRegions.label","Fold All Regions"),alias:"Fold All Regions",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2077),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){if(t.regions.hasTypes())C(t,F["m"].Region.value,!0);else{var r=n.getModel();if(!r)return;var i=I["a"].getFoldingRules(r.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){var o=new RegExp(i.markers.start);x(t,o,!0)}}},t}(re),he=function(e){function t(){return e.call(this,{id:"editor.unfoldAllMarkerRegions",label:r["a"]("unfoldAllMarkerRegions.label","Unfold All Regions"),alias:"Unfold All Regions",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2078),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){if(t.regions.hasTypes())C(t,F["m"].Region.value,!1);else{var r=n.getModel();if(!r)return;var i=I["a"].getFoldingRules(r.getLanguageIdentifier().id);if(i&&i.markers&&i.markers.start){var o=new RegExp(i.markers.start);x(t,o,!1)}}},t}(re),fe=function(e){function t(){return e.call(this,{id:"editor.foldAll",label:r["a"]("foldAllAction.label","Fold All"),alias:"Fold All",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2069),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){y(t,!0)},t}(re),pe=function(e){function t(){return e.call(this,{id:"editor.unfoldAll",label:r["a"]("unfoldAllAction.label","Unfold All"),alias:"Unfold All",precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2088),weight:100}})||this}return $(t,e),t.prototype.invoke=function(e,t,n){y(t,!1)},t}(re),ge=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype.getFoldingLevel=function(){return parseInt(this.id.substr(t.ID_PREFIX.length))},t.prototype.invoke=function(e,t,n){w(t,this.getFoldingLevel(),!0,this.getSelectedLines(n))},t.ID_PREFIX="editor.foldLevel",t.ID=function(e){return t.ID_PREFIX+e},t}(re);Object(u["h"])(ne.ID,ne),Object(u["f"])(oe),Object(u["f"])(ae),Object(u["f"])(se),Object(u["f"])(ue),Object(u["f"])(fe),Object(u["f"])(pe),Object(u["f"])(ce),Object(u["f"])(de),Object(u["f"])(he),Object(u["f"])(le);for(var me=1;me<=7;me++)Object(u["i"])(new ge({id:ge.ID(me),label:r["a"]("foldLevelAction.label","Fold Level {0}",me),alias:"Fold Level "+me,precondition:te,kbOpts:{kbExpr:k["a"].editorTextFocus,primary:Object(s["a"])(2089,2048|21+me),weight:100}}));var ve=Object(Q["Rb"])("editor.foldBackground",{light:Object(Q["dc"])(Q["K"],.3),dark:Object(Q["dc"])(Q["K"],.3),hc:null},r["a"]("editorSelectionBackground","Color of the editor selection."));Object(Z["e"])((function(e,t){var n=e.getColor(ve);n&&t.addRule(".monaco-editor .folded-background { background-color: "+n+"; }")}))},diRs:function(e,t,n){"use strict";var r=n("q1tI"),i=n("3S7+"),o=n("H84U"),a=n("bogI");function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}var l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},u=r["forwardRef"]((function(e,t){var n=e.prefixCls,u=e.title,c=e.content,d=l(e,["prefixCls","title","content"]),h=r["useContext"](o["b"]),f=h.getPrefixCls,p=function(e){return r["createElement"](r["Fragment"],null,u&&r["createElement"]("div",{className:"".concat(e,"-title")},Object(a["a"])(u)),r["createElement"]("div",{className:"".concat(e,"-inner-content")},Object(a["a"])(c)))},g=f("popover",n);return r["createElement"](i["a"],s({},d,{prefixCls:g,ref:t,overlay:p(g)}))}));u.displayName="Popover",u.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},t["a"]=u},digP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};t.default=r},dl0q:function(e,t,n){n("Zxgi")("observable")},dmGj:function(e,t,n){var r=n("DEFe"),i=n("ProS"),o=i.extendComponentView({type:"geo",init:function(e,t){var n=new r(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var i=this._mapDraw;e.get("show")?i.draw(e,t,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=o},dnwI:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("YH21"),a=n("Kagy"),s=n("IUWy"),l=a.toolbox.dataView,u=new Array(60).join("-"),c="\t";function d(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;t[a]||(t[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[a].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function h(e){var t=[];return i.each(e,(function(e,n){var r=e.categoryAxis,o=e.valueAxis,a=o.dim,s=[" "].concat(i.map(e.series,(function(e){return e.name}))),l=[r.model.getCategories()];i.each(e.series,(function(e){l.push(e.getRawData().mapArray(a,(function(e){return e})))}));for(var u=[s.join(c)],d=0;d<l[0].length;d++){for(var h=[],f=0;f<l.length;f++)h.push(l[f][d]);u.push(h.join(c))}t.push(u.join("\n"))})),t.join("\n\n"+u+"\n\n")}function f(e){return i.map(e,(function(e){var t=e.getRawData(),n=[e.name],r=[];return t.each(t.dimensions,(function(){for(var e=arguments.length,i=arguments[e-1],o=t.getName(i),a=0;a<e-1;a++)r[a]=arguments[a];n.push((o?o+c:"")+r.join(c))})),n.join("\n")})).join("\n\n"+u+"\n\n")}function p(e){var t=d(e);return{value:i.filter([h(t.seriesGroupByCategoryAxis),f(t.other)],(function(e){return e.replace(/[\n\t\s]/g,"")})).join("\n\n"+u+"\n\n"),meta:t.meta}}function g(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function m(e){var t=e.slice(0,e.indexOf("\n"));if(t.indexOf(c)>=0)return!0}var v=new RegExp("["+c+"]+","g");function y(e){for(var t=e.split(/\n+/g),n=g(t.shift()).split(v),r=[],o=i.map(n,(function(e){return{name:e,data:[]}})),a=0;a<t.length;a++){var s=g(t[a]).split(v);r.push(s.shift());for(var l=0;l<s.length;l++)o[l]&&(o[l].data[a]=s[l])}return{series:o,categories:r}}function b(e){for(var t=e.split(/\n+/g),n=g(t.shift()),r=[],i=0;i<t.length;i++){var o,a=g(t[i]).split(v),s="",l=!1;isNaN(a[0])?(l=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},o=r[i].value):o=r[i]=[];for(var u=0;u<a.length;u++)o.push(+a[u]);1===o.length&&(l?r[i].value=o[0]:r[i]=o[0])}return{name:n,data:r}}function _(e,t){var n=e.split(new RegExp("\n*"+u+"\n*","g")),r={series:[]};return i.each(n,(function(e,n){if(m(e)){var i=y(e),o=t[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=b(e);r.series.push(i)}})),r}function w(e){this._dom=null,this.model=e}function x(e,t){return i.map(e,(function(e,n){var r=t&&t[n];return i.isObject(r)&&!i.isArray(r)?(i.isObject(e)&&!i.isArray(e)&&(e=e.value),i.defaults({value:e},r)):e}))}w.defaultOption={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:i.clone(l.title),lang:i.clone(l.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},w.prototype.onclick=function(e,t){var n=t.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var a=document.createElement("div");a.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",a.style.backgroundColor=r.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=r.get("lang")||[];s.innerHTML=l[0]||r.get("title"),s.style.cssText="margin: 10px 20px;",s.style.color=r.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="display:block;width:100%;overflow:auto;";var d=r.get("optionToContent"),h=r.get("contentToOption"),f=p(e);if("function"===typeof d){var g=d(t.getOption());"string"===typeof g?u.innerHTML=g:i.isDom(g)&&u.appendChild(g)}else u.appendChild(c),c.readOnly=r.get("readOnly"),c.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",c.style.color=r.get("textColor"),c.style.borderColor=r.get("textareaBorderColor"),c.style.backgroundColor=r.get("textareaColor"),c.value=f.value;var m=f.meta,v=document.createElement("div");v.style.cssText="position:absolute;bottom:0;left:0;right:0;";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",b=document.createElement("div"),w=document.createElement("div");y+=";background-color:"+r.get("buttonColor"),y+=";color:"+r.get("buttonTextColor");var x=this;function C(){n.removeChild(a),x._dom=null}o.addEventListener(b,"click",C),o.addEventListener(w,"click",(function(){var e;try{e="function"===typeof h?h(u,t.getOption()):_(c.value,m)}catch(n){throw C(),new Error("Data view format error "+n)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),C()})),b.innerHTML=l[1],w.innerHTML=l[2],w.style.cssText=y,b.style.cssText=y,!r.get("readOnly")&&v.appendChild(w),v.appendChild(b),a.appendChild(s),a.appendChild(u),a.appendChild(v),u.style.height=n.clientHeight-80+"px",n.appendChild(a),this._dom=a},w.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},w.prototype.dispose=function(e,t){this.remove(e,t)},s.register("dataView",w),r.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(e,t){var n=[];i.each(e.newOption.series,(function(e){var r=t.getSeriesByName(e.name)[0];if(r){var o=r.get("data");n.push({name:e.name,data:x(e.data,o)})}else n.push(i.extend({type:"scatter"},e))})),t.mergeOption(i.defaults({series:n},e.newOption))}));var C=w;e.exports=C},dqUG:function(e,t,n){var r=n("Gev7"),i=n("bYtY"),o=n("6GrX"),a=n("pzxd"),s=n("gut8"),l=s.ContextCachedBy,u=function(e){r.call(this,e)};u.prototype={constructor:u,type:"text",brush:function(e,t){var n=this.style;this.__dirty&&a.normalizeTextStyle(n,!0),n.fill=n.stroke=n.shadowBlur=n.shadowColor=n.shadowOffsetX=n.shadowOffsetY=null;var r=n.text;null!=r&&(r+=""),a.needDrawText(r,n)?(this.setTransform(e),a.renderText(this,e,r,n,null,t),this.restoreTransform(e)):e.__attrCachedBy=l.NONE},getBoundingRect:function(){var e=this.style;if(this.__dirty&&a.normalizeTextStyle(e,!0),!this._rect){var t=e.text;null!=t?t+="":t="";var n=o.getBoundingRect(e.text+"",e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich);if(n.x+=e.x||0,n.y+=e.y||0,a.getStroke(e.textStroke,e.textStrokeWidth)){var r=e.textStrokeWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect}},i.inherits(u,r);var c=u;e.exports=c},dt0z:function(e,t,n){var r=n("zoYe");function i(e){return null==e?"":r(e)}e.exports=i},e1ni:function(e,t,n){},e4Nc:function(e,t,n){var r=n("fGT3"),i=n("k+1r"),o=n("JHgL"),a=n("pSRY"),s=n("H8j4");function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},e5VY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("YNAk"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},e5cp:function(e,t,n){var r=n("fmRc"),i=n("or5M"),o=n("HDyB"),a=n("seXi"),s=n("QqLw"),l=n("Z0cm"),u=n("DSRE"),c=n("c6wG"),d=1,h="[object Arguments]",f="[object Array]",p="[object Object]",g=Object.prototype,m=g.hasOwnProperty;function v(e,t,n,g,v,y){var b=l(e),_=l(t),w=b?f:s(e),x=_?f:s(t);w=w==h?p:w,x=x==h?p:x;var C=w==p,S=x==p,O=w==x;if(O&&u(e)){if(!u(t))return!1;b=!0,C=!1}if(O&&!C)return y||(y=new r),b||c(e)?i(e,t,n,g,v,y):o(e,t,w,n,g,v,y);if(!(n&d)){var k=C&&m.call(e,"__wrapped__"),E=S&&m.call(t,"__wrapped__");if(k||E){var D=k?e.value():e,M=E?t.value():t;return y||(y=new r),v(D,M,n,g,y)}}return!!O&&(y||(y=new r),a(e,t,n,g,v,y))}e.exports=v},eC1c:function(e,t,n){},eDIo:function(e,t,n){"use strict";var r=n("rePB"),i=n("ODXe"),o=n("Ff2n"),a=n("q1tI"),s=n("uciX"),l=n("TSYQ"),u=n.n(l),c={adjustX:1,adjustY:1},d=[0,0],h={topLeft:{points:["bl","tl"],overflow:c,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:c,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:c,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:c,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:c,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:c,offset:[0,4],targetOffset:d}},f=h;function p(e,t){var n=e.arrow,l=void 0!==n&&n,c=e.prefixCls,d=void 0===c?"rc-dropdown":c,h=e.transitionName,p=e.animation,g=e.align,m=e.placement,v=void 0===m?"bottomLeft":m,y=e.placements,b=void 0===y?f:y,_=e.getPopupContainer,w=e.showAction,x=e.hideAction,C=e.overlayClassName,S=e.overlayStyle,O=e.visible,k=e.trigger,E=void 0===k?["hover"]:k,D=Object(o["a"])(e,["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"]),M=a["useState"](),N=Object(i["a"])(M,2),L=N[0],I=N[1],T="visible"in e?O:L,P=a["useRef"](null);a["useImperativeHandle"](t,(function(){return P.current}));var A=function(){var t,n=e.overlay;return t="function"===typeof n?n():n,t},R=function(t){var n=e.onOverlayClick,r=A().props;I(!1),n&&n(t),r.onClick&&r.onClick(t)},j=function(t){var n=e.onVisibleChange;I(t),"function"===typeof n&&n(t)},F=function(){var e=A(),t={prefixCls:"".concat(d,"-menu"),onClick:R};return"string"===typeof e.type&&delete t.prefixCls,a["createElement"](a["Fragment"],null,l&&a["createElement"]("div",{className:"".concat(d,"-arrow")}),a["cloneElement"](e,t))},B=function(){var t=e.overlay;return"function"===typeof t?F:F()},V=function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n},z=function(){var t=e.openClassName;return void 0!==t?t:"".concat(d,"-open")},W=function(){var t=e.children,n=t.props?t.props:{},r=u()(n.className,z());return L&&t?a["cloneElement"](t,{className:r}):t},H=x;return H||-1===E.indexOf("contextMenu")||(H=["click"]),a["createElement"](s["a"],Object.assign({},D,{prefixCls:d,ref:P,popupClassName:u()(C,Object(r["a"])({},"".concat(d,"-show-arrow"),l)),popupStyle:S,builtinPlacements:b,action:E,showAction:w,hideAction:H||[],popupPlacement:v,popupAlign:g,popupTransitionName:h,popupAnimation:p,popupVisible:T,stretch:V()?"minWidth":"",popup:B(),onPopupVisibleChange:j,getPopupContainer:_}),W())}var g=a["forwardRef"](p);t["a"]=g},eIcI:function(e,t,n){var r=n("bYtY"),i=n("hM6l");function o(e,t,n){i.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}r.inherits(o,i);var a=o;e.exports=a},eJH7:function(e,t,n){var r=n("bYtY");function i(e){var t=e.polar;if(t){r.isArray(t)||(t=[t]);var n=[];r.each(t,(function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],r.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}r.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}e.exports=i},eLzo:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l})),n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return d}));var r=n("6OMU"),i=n("Vhoy"),o=function(){function e(e,t){var n,r;void 0===e&&(e=""),void 0===t&&(t=!1),this._value=e,"boolean"===typeof t?(this._isTrusted=t,this._supportThemeIcons=!1):(this._isTrusted=null!==(n=t.isTrusted)&&void 0!==n&&n,this._supportThemeIcons=null!==(r=t.supportThemeIcons)&&void 0!==r&&r)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isTrusted",{get:function(){return this._isTrusted},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"supportThemeIcons",{get:function(){return this._supportThemeIcons},enumerable:!0,configurable:!0}),e.prototype.appendText=function(e){return this._value+=(this._supportThemeIcons?Object(i["a"])(e):e).replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&").replace("\n","\n\n"),this},e.prototype.appendMarkdown=function(e){return this._value+=e,this},e.prototype.appendCodeblock=function(e,t){return this._value+="\n```",this._value+=e,this._value+="\n",this._value+=t,this._value+="\n```\n",this},e}();function a(e){return s(e)?!e.value:!Array.isArray(e)||e.every(a)}function s(e){return e instanceof o||!(!e||"object"!==typeof e)&&("string"===typeof e.value&&("boolean"===typeof e.isTrusted||void 0===e.isTrusted)&&("boolean"===typeof e.supportThemeIcons||void 0===e.supportThemeIcons))}function l(e,t){return!e&&!t||!(!e||!t)&&(Array.isArray(e)&&Array.isArray(t)?Object(r["g"])(e,t,u):!(!s(e)||!s(t))&&u(e,t))}function u(e,t){return e===t||!(!e||!t)&&(e.value===t.value&&e.isTrusted===t.isTrusted&&e.supportThemeIcons===t.supportThemeIcons)}function c(e){return e?e.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1"):e}function d(e){var t=[],n=e.split("|").map((function(e){return e.trim()}));e=n[0];var r=n[1];if(r){var i=/height=(\d+)/.exec(r),o=/width=(\d+)/.exec(r),a=i?i[1]:"",s=o?o[1]:"",l=isFinite(parseInt(s)),u=isFinite(parseInt(a));l&&t.push('width="'+s+'"'),u&&t.push('height="'+a+'"')}return{href:e,dimensions:t}}},ePAk:function(e,t,n){var r=n("ProS");n("2fGM");var i=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=i},eRkO:function(e,t,n){var r=n("+TT/"),i=r.getLayoutRect,o=r.box,a=r.positionElement,s=n("7aKB"),l=n("IwbS");function u(e,t,n){var r=t.getBoxLayoutParams(),s=t.get("padding"),l={width:n.getWidth(),height:n.getHeight()},u=i(r,l,s);o(t.get("orient"),e,t.get("itemGap"),u.width,u.height),a(e,r,l,s)}function c(e,t){var n=s.normalizeCssArray(t.get("padding")),r=t.getItemStyle(["color","opacity"]);r.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1});return e}t.layout=u,t.makeBackground=c},eS4l:function(e,t,n){n("HM/N"),n("FNN5")},eUgh:function(e,t){function n(e,t){var n=-1,r=null==e?0:e.length,i=Array(r);while(++n<r)i[n]=t(e[n],n,e);return i}e.exports=n},ebwN:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Map");e.exports=o},eizg:function(e,t,n){},ekgI:function(e,t,n){var r=n("YESw"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=a},ep4t:function(e,t,n){"use strict";n.r(t),n.d(t,"SuggestController",(function(){return Vt})),n.d(t,"TriggerSuggestAction",(function(){return zt}));var r=n("OBOq"),i=n("6OMU"),o=n("/cxE"),a=n("/kV6"),s=n("pmY6"),l=n("sswD"),u=n("0/Sa"),c=n("aokT"),d=n("wQH0"),h=n("tXSY"),f=n("uACm"),p=n("QDVR"),g=n("A+jI"),m=n("twdY"),v=n("X+cX"),y=n("Cg/j"),b=n("+7oY"),_=n("9fML"),w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),x=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},C=function(e,t){return function(n,r){t(n,r,e)}},S=function(){function e(){}return e.prototype.select=function(e,t,n){if(0===n.length)return 0;for(var r=n[0].score[0],i=1;i<n.length;i++){var o=n[i],a=o.score,s=o.completion;if(a[0]!==r)break;if(s.preselect)return i}return 0},e}(),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return w(t,e),t.prototype.memorize=function(e,t,n){},t.prototype.toJSON=function(){},t.prototype.fromJSON=function(){},t}(S),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._cache=new p["a"](300,.66),t._seq=0,t}return w(t,e),t.prototype.memorize=function(e,t,n){var r=n.completion.label,i=e.getLanguageIdentifier().language+"/"+r;this._cache.set(i,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})},t.prototype.select=function(t,n,r){if(0===r.length)return 0;var i=t.getLineContent(n.lineNumber).substr(n.column-10,n.column-1);if(/\s$/.test(i))return e.prototype.select.call(this,t,n,r);for(var o=r[0].score[0],a=-1,s=-1,l=-1,u=0;u<r.length;u++){if(r[u].score[0]!==o)break;var c=t.getLanguageIdentifier().language+"/"+r[u].completion.label,d=this._cache.peek(c);if(d&&d.touch>l&&d.type===r[u].completion.kind&&d.insertText===r[u].completion.insertText&&(l=d.touch,s=u),r[u].completion.preselect&&-1===a)return u}return-1!==s?s:-1!==a?a:0},t.prototype.toJSON=function(){var e=[];return this._cache.forEach((function(t,n){e.push([n,t])})),e},t.prototype.fromJSON=function(e){this._cache.clear();for(var t=0,n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],a=i[1];a.touch=t,a.type="number"===typeof a.type?a.type:Object(m["B"])(a.type),this._cache.set(o,a)}this._seq=this._cache.size},t}(S),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._trie=p["c"].forStrings(),t._seq=0,t}return w(t,e),t.prototype.memorize=function(e,t,n){var r=e.getWordUntilPosition(t).word,i=e.getLanguageIdentifier().language+"/"+r;this._trie.set(i,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})},t.prototype.select=function(t,n,r){var i=t.getWordUntilPosition(n).word;if(!i)return e.prototype.select.call(this,t,n,r);var o=t.getLanguageIdentifier().language+"/"+i,a=this._trie.get(o);if(a||(a=this._trie.findSubstr(o)),a)for(var s=0;s<r.length;s++){var l=r[s].completion,u=l.kind,c=l.insertText;if(u===a.type&&c===a.insertText)return s}return e.prototype.select.call(this,t,n,r)},t.prototype.toJSON=function(){var e=[];return this._trie.forEach((function(t,n){return e.push([n,t])})),e.sort((function(e,t){return-(e[1].touch-t[1].touch)})).forEach((function(e,t){return e[1].touch=t})),e.slice(0,200)},t.prototype.fromJSON=function(e){if(this._trie.clear(),e.length>0){this._seq=e[0][1].touch+1;for(var t=0,n=e;t<n.length;t++){var r=n[t],i=r[0],o=r[1];o.type="number"===typeof o.type?o.type:Object(m["B"])(o.type),this._trie.set(i,o)}}},t}(S),D=function(e){function t(t,n){var r=e.call(this)||this;r._storageService=t,r._configService=n,r._storagePrefix="suggest/memories";var i=function(){var e=r._configService.getValue("editor.suggestSelection"),t=r._configService.getValue("editor.suggest.shareSuggestSelections");r._update(e,t,!1)};return r._persistSoon=r._register(new v["d"]((function(){return r._saveState()}),500)),r._register(t.onWillSaveState((function(e){e.reason===g["c"].SHUTDOWN&&r._saveState()}))),r._register(r._configService.onDidChangeConfiguration((function(e){(e.affectsConfiguration("editor.suggestSelection")||e.affectsConfiguration("editor.suggest.shareSuggestSelections"))&&i()}))),r._register(r._storageService.onDidChangeStorage((function(e){0===e.scope&&0===e.key.indexOf(r._storagePrefix)&&(document.hasFocus()||r._update(r._mode,r._shareMem,!0))}))),i(),r}return w(t,e),t.prototype._update=function(e,t,n){if(n||this._mode!==e||this._shareMem!==t){this._shareMem=t,this._mode=e,this._strategy="recentlyUsedByPrefix"===e?new E:"recentlyUsed"===e?new k:new O;try{var r=t?0:1,i=this._storageService.get(this._storagePrefix+"/"+this._mode,r);i&&this._strategy.fromJSON(JSON.parse(i))}catch(o){}}},t.prototype.memorize=function(e,t,n){this._strategy.memorize(e,t,n),this._persistSoon.schedule()},t.prototype.select=function(e,t,n){return this._strategy.select(e,t,n)},t.prototype._saveState=function(){var e=JSON.stringify(this._strategy),t=this._shareMem?0:1;this._storageService.store(this._storagePrefix+"/"+this._mode,e,t)},t=x([C(0,g["a"]),C(1,b["a"])],t),t}(s["a"]),M=Object(y["c"])("ISuggestMemories");Object(_["b"])(M,D,!0);var N=n("3/fG"),L=n("nnTU"),I=n("T8No"),T=n("nrhi"),P=n("QVNv"),A=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},R=function(e,t){return function(n,r){t(n,r,e)}},j=function(){function e(t,n){this._editor=t,this._index=0,this._ckOtherSuggestions=e.OtherSuggestions.bindTo(n)}return e.prototype.dispose=function(){this.reset()},e.prototype.reset=function(){this._ckOtherSuggestions.reset(),Object(s["f"])(this._listener),this._model=void 0,this._acceptNext=void 0,this._ignore=!1},e.prototype.set=function(t,n){var r=this,i=t.model,o=t.index;if(0!==i.items.length){var a=e._moveIndex(!0,i,o);a!==o?(this._acceptNext=n,this._model=i,this._index=o,this._listener=this._editor.onDidChangeCursorPosition((function(){r._ignore||r.reset()})),this._ckOtherSuggestions.set(!0)):this.reset()}else this.reset()},e._moveIndex=function(e,t,n){var r=n;while(1){if(r=(r+t.items.length+(e?1:-1))%t.items.length,r===n)break;if(!t.items[r].completion.additionalTextEdits)break}return r},e.prototype.next=function(){this._move(!0)},e.prototype.prev=function(){this._move(!1)},e.prototype._move=function(t){if(this._model)try{this._ignore=!0,this._index=e._moveIndex(t,this._model,this._index),this._acceptNext({index:this._index,item:this._model.items[this._index],model:this._model})}finally{this._ignore=!1}},e.OtherSuggestions=new I["d"]("hasOtherSuggestions",!1),e=A([R(1,I["c"])],e),e}(),F=n("MI8n"),B=n("gCVg"),V=n("fpMC"),z=n("N0LK"),W=(function(){function e(e,t){this.leadingLineContent=e,this.characterCountDelta=t}}(),function(){function e(t,n,r,i,o,a){this._snippetCompareFn=e._compareCompletionItems,this._items=t,this._column=n,this._wordDistance=i,this._options=o,this._refilterKind=1,this._lineContext=r,"top"===a?this._snippetCompareFn=e._compareCompletionItemsSnippetsUp:"bottom"===a&&(this._snippetCompareFn=e._compareCompletionItemsSnippetsDown)}return Object.defineProperty(e.prototype,"lineContext",{get:function(){return this._lineContext},set:function(e){this._lineContext.leadingLineContent===e.leadingLineContent&&this._lineContext.characterCountDelta===e.characterCountDelta||(this._refilterKind=this._lineContext.characterCountDelta<e.characterCountDelta&&this._filteredItems?2:1,this._lineContext=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){return this._ensureCachedState(),this._filteredItems},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"incomplete",{get:function(){return this._ensureCachedState(),this._isIncomplete},enumerable:!0,configurable:!0}),e.prototype.adopt=function(e){for(var t=new Array,n=0;n<this._items.length;)e.has(this._items[n].provider)?n++:(t.push(this._items[n]),this._items[n]=this._items[this._items.length-1],this._items.pop());return this._refilterKind=1,t},Object.defineProperty(e.prototype,"stats",{get:function(){return this._ensureCachedState(),this._stats},enumerable:!0,configurable:!0}),e.prototype._ensureCachedState=function(){0!==this._refilterKind&&this._createCachedState()},e.prototype._createCachedState=function(){this._isIncomplete=new Set,this._stats={suggestionCount:0,snippetCount:0,textCount:0};for(var e=this._lineContext,t=e.leadingLineContent,n=e.characterCountDelta,r="",i="",o=1===this._refilterKind?this._items:this._filteredItems,a=[],s=!this._options.filterGraceful||o.length>2e3?V["d"]:V["e"],l=0;l<o.length;l++){var u=o[l];u.container.incomplete&&this._isIncomplete.add(u.provider);var c=u.position.column-u.editStart.column,d=c+n-(u.position.column-this._column);if(r.length!==d&&(r=0===d?"":t.slice(-d),i=r.toLowerCase()),u.word=r,0===d)u.score=V["a"].Default;else{var h=0;while(h<c){var f=r.charCodeAt(h);if(32!==f&&9!==f)break;h+=1}var p="string"===typeof u.completion.label?u.completion.label:u.completion.label.name;if(h>=d)u.score=V["a"].Default;else if("string"===typeof u.completion.filterText){var g=s(r,i,h,u.completion.filterText,u.filterTextLow,0,!1);if(!g)continue;0===Object(z["f"])(u.completion.filterText,p)?u.score=g:(u.score=Object(V["b"])(r,i,h,p,u.labelLow,0),u.score[0]=g[0])}else{g=s(r,i,h,p,u.labelLow,0,!1);if(!g)continue;u.score=g}}switch(u.idx=l,u.distance=this._wordDistance.distance(u.position,u.completion),a.push(u),this._stats.suggestionCount++,u.completion.kind){case 25:this._stats.snippetCount++;break;case 18:this._stats.textCount++;break}}this._filteredItems=a.sort(this._snippetCompareFn),this._refilterKind=0},e._compareCompletionItems=function(e,t){return e.score[0]>t.score[0]?-1:e.score[0]<t.score[0]?1:e.distance<t.distance?-1:e.distance>t.distance?1:e.idx<t.idx?-1:e.idx>t.idx?1:0},e._compareCompletionItemsSnippetsDown=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return 1;if(25===n.completion.kind)return-1}return e._compareCompletionItems(t,n)},e._compareCompletionItemsSnippetsUp=function(t,n){if(t.completion.kind!==n.completion.kind){if(25===t.completion.kind)return-1;if(25===n.completion.kind)return 1}return e._compareCompletionItems(t,n)},e}()),H=n("JQT/"),U=n("cGHE"),K=n("24hK"),G=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},q=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Y=function(){function e(){}return e.prototype.provideSelectionRanges=function(t,n){return G(this,void 0,void 0,(function(){var r,i,o,a,s;return q(this,(function(l){switch(l.label){case 0:r=[],i=function(n){var i,o;return q(this,(function(a){switch(a.label){case 0:return i=[],r.push(i),o=new Map,[4,new Promise((function(r){return e._bracketsRightYield(r,0,t,n,o)}))];case 1:return a.sent(),[4,new Promise((function(r){return e._bracketsLeftYield(r,0,t,n,o,i)}))];case 2:return a.sent(),[2]}}))},o=0,a=n,l.label=1;case 1:return o<a.length?(s=a[o],[5,i(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2,r]}}))}))},e._bracketsRightYield=function(t,n,r,i,o){var a=new Map,s=Date.now();while(1){if(n>=e._maxRounds){t();break}if(!i){t();break}var l=r.findNextBracket(i);if(!l){t();break}var u=Date.now()-s;if(u>e._maxDuration){setTimeout((function(){return e._bracketsRightYield(t,n+1,r,i,o)}));break}var c=l.close[0];if(l.isOpen){var d=a.has(c)?a.get(c):0;a.set(c,d+1)}else{d=a.has(c)?a.get(c):0;if(d-=1,a.set(c,Math.max(0,d)),d<0){var h=o.get(c);h||(h=new K["a"],o.set(c,h)),h.push(l.range)}}i=l.range.getEndPosition()}},e._bracketsLeftYield=function(t,n,r,i,o,a){var s=new Map,l=Date.now();while(1){if(n>=e._maxRounds&&0===o.size){t();break}if(!i){t();break}var u=r.findPrevBracket(i);if(!u){t();break}var d=Date.now()-l;if(d>e._maxDuration){setTimeout((function(){return e._bracketsLeftYield(t,n+1,r,i,o,a)}));break}var h=u.close[0];if(u.isOpen){v=s.has(h)?s.get(h):0;if(v-=1,s.set(h,Math.max(0,v)),v<0){var f=o.get(h);if(f){var p=f.shift();0===f.size&&o.delete(h);var g=c["a"].fromPositions(u.range.getEndPosition(),p.getStartPosition()),m=c["a"].fromPositions(u.range.getStartPosition(),p.getEndPosition());a.push({range:g}),a.push({range:m}),e._addBracketLeading(r,m,a)}}}else{var v=s.has(h)?s.get(h):0;s.set(h,v+1)}i=u.range.getStartPosition()}},e._addBracketLeading=function(e,t,n){if(t.startLineNumber!==t.endLineNumber){var r=t.startLineNumber,i=e.getLineFirstNonWhitespaceColumn(r);0!==i&&i!==t.startColumn&&(n.push({range:c["a"].fromPositions(new U["a"](r,i),t.getEndPosition())}),n.push({range:c["a"].fromPositions(new U["a"](r,1),t.getEndPosition())}));var o=r-1;if(o>0){var a=e.getLineFirstNonWhitespaceColumn(o);a===t.startColumn&&a!==e.getLineLastNonWhitespaceColumn(o)&&(n.push({range:c["a"].fromPositions(new U["a"](o,a),t.getEndPosition())}),n.push({range:c["a"].fromPositions(new U["a"](o,1),t.getEndPosition())}))}}},e._maxDuration=30,e._maxRounds=2,e}(),X=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Z=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Q=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},$=function(){function e(){}return e.create=function(t,n){return Z(this,void 0,void 0,(function(){var r,o,a,s;return Q(this,(function(l){switch(l.label){case 0:return n.getOption(89).localityBonus&&n.hasModel()?(r=n.getModel(),o=n.getPosition(),t.canComputeWordRanges(r.uri)?[4,(new Y).provideSelectionRanges(r,[o])]:[2,e.None]):[2,e.None];case 1:return a=l.sent(),a&&0!==a.length&&0!==a[0].length?[4,t.computeWordRanges(r.uri,a[0][0].range)]:[2,e.None];case 2:return s=l.sent(),[2,new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.distance=function(e,t){if(!s||!o.equals(n.getPosition()))return 0;if(17===t.kind)return 2<<20;var r="string"===typeof t.label?t.label:t.label.name,l=s[r];if(Object(i["p"])(l))return 2<<20;for(var u=Object(i["c"])(l,c["a"].fromPositions(e),c["a"].compareRangesUsingStarts),d=u>=0?l[u]:l[Math.max(0,~u-1)],h=a.length,f=0,p=a[0];f<p.length;f++){var g=p[f];if(!c["a"].containsRange(g.range,d))break;h-=1}return h},t}(e))]}}))}))},e.None=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return X(t,e),t.prototype.distance=function(){return 0},t}(e)),e}(),J=function(){function e(e,t,n,r){this.leadingLineContent=e.getLineContent(t.lineNumber).substr(0,t.column-1),this.leadingWord=e.getWordUntilPosition(t),this.lineNumber=t.lineNumber,this.column=t.column,this.auto=n,this.shy=r}return e.shouldAutoTrigger=function(e){if(!e.hasModel())return!1;var t=e.getModel(),n=e.getPosition();t.tokenizeIfCheap(n.lineNumber);var r=t.getWordAtPosition(n);return!!r&&(r.endColumn===n.column&&!!isNaN(Number(r.word)))},e}(),ee=function(){function e(e,t){var n=this;this._editor=e,this._editorWorker=t,this._toDispose=new s["b"],this._quickSuggestDelay=10,this._triggerCharacterListener=new s["b"],this._triggerQuickSuggest=new v["e"],this._state=0,this._completionDisposables=new s["b"],this._onDidCancel=new F["a"],this._onDidTrigger=new F["a"],this._onDidSuggest=new F["a"],this.onDidCancel=this._onDidCancel.event,this.onDidTrigger=this._onDidTrigger.event,this.onDidSuggest=this._onDidSuggest.event,this._currentSelection=this._editor.getSelection()||new B["a"](1,1,1,1),this._toDispose.add(this._editor.onDidChangeModel((function(){n._updateTriggerCharacters(),n.cancel()}))),this._toDispose.add(this._editor.onDidChangeModelLanguage((function(){n._updateTriggerCharacters(),n.cancel()}))),this._toDispose.add(this._editor.onDidChangeConfiguration((function(){n._updateTriggerCharacters(),n._updateQuickSuggest()}))),this._toDispose.add(m["d"].onDidChange((function(){n._updateTriggerCharacters(),n._updateActiveSuggestSession()}))),this._toDispose.add(this._editor.onDidChangeCursorSelection((function(e){n._onCursorChange(e)})));var r=!1;this._toDispose.add(this._editor.onDidCompositionStart((function(){r=!0}))),this._toDispose.add(this._editor.onDidCompositionEnd((function(){r=!1,n._refilterCompletionItems()}))),this._toDispose.add(this._editor.onDidChangeModelContent((function(){r||n._refilterCompletionItems()}))),this._updateTriggerCharacters(),this._updateQuickSuggest()}return e.prototype.dispose=function(){Object(s["f"])(this._triggerCharacterListener),Object(s["f"])([this._onDidCancel,this._onDidSuggest,this._onDidTrigger,this._triggerQuickSuggest]),this._toDispose.dispose(),this._completionDisposables.dispose(),this.cancel()},e.prototype._updateQuickSuggest=function(){this._quickSuggestDelay=this._editor.getOption(67),(isNaN(this._quickSuggestDelay)||!this._quickSuggestDelay&&0!==this._quickSuggestDelay||this._quickSuggestDelay<0)&&(this._quickSuggestDelay=10)},e.prototype._updateTriggerCharacters=function(){var e=this;if(this._triggerCharacterListener.clear(),!this._editor.getOption(68)&&this._editor.hasModel()&&this._editor.getOption(92)){for(var t=new Map,n=0,r=m["d"].all(this._editor.getModel());n<r.length;n++)for(var i=r[n],o=0,a=i.triggerCharacters||[];o<a.length;o++){var s=a[o],l=t.get(s);l||(l=new Set,l.add(Object(P["c"])()),t.set(s,l)),l.add(i)}var u=function(n){if(!n){var r=e._editor.getPosition(),i=e._editor.getModel();n=i.getLineContent(r.lineNumber).substr(0,r.column-1)}var o="";Object(z["A"])(n.charCodeAt(n.length-1))?Object(z["z"])(n.charCodeAt(n.length-2))&&(o=n.substr(n.length-2)):o=n.charAt(n.length-1);var a=t.get(o);if(a){var s=e._completionModel?e._completionModel.adopt(a):void 0;e.trigger({auto:!0,shy:!1,triggerCharacter:o},Boolean(e._completionModel),a,s)}};this._triggerCharacterListener.add(this._editor.onDidType(u)),this._triggerCharacterListener.add(this._editor.onDidCompositionEnd(u))}},Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancel=function(e){void 0===e&&(e=!1),0!==this._state&&(this._triggerQuickSuggest.cancel(),this._requestToken&&(this._requestToken.cancel(),this._requestToken=void 0),this._state=0,this._completionModel=void 0,this._context=void 0,this._onDidCancel.fire({retrigger:e}))},e.prototype.clear=function(){this._completionDisposables.clear()},e.prototype._updateActiveSuggestSession=function(){0!==this._state&&(this._editor.hasModel()&&m["d"].has(this._editor.getModel())?this.trigger({auto:2===this._state,shy:!1},!0):this.cancel())},e.prototype._onCursorChange=function(e){var t=this;if(this._editor.hasModel()){var n=this._editor.getModel(),r=this._currentSelection;if(this._currentSelection=this._editor.getSelection(),!e.selection.isEmpty()||0!==e.reason||"keyboard"!==e.source&&"deleteLeft"!==e.source)this.cancel();else if(m["d"].has(n)&&0===this._state){if(!1===this._editor.getOption(66))return;if(!r.containsRange(this._currentSelection)&&!r.getEndPosition().isBeforeOrEqual(this._currentSelection.getPosition()))return;if(this._editor.getOption(89).snippetsPreventQuickSuggestions&&h["SnippetController2"].get(this._editor).isInSnippet())return;this.cancel(),this._triggerQuickSuggest.cancelAndSet((function(){if(0===t._state&&J.shouldAutoTrigger(t._editor)&&t._editor.hasModel()){var e=t._editor.getModel(),n=t._editor.getPosition(),r=t._editor.getOption(66);if(!1!==r){if(!0===r);else{e.tokenizeIfCheap(n.lineNumber);var i=e.getLineTokens(n.lineNumber),o=i.getStandardTokenType(i.findTokenIndexAtOffset(Math.max(n.column-1-1,0))),a=r.other&&0===o||r.comments&&1===o||r.strings&&2===o;if(!a)return}t.trigger({auto:!0,shy:!1})}}}),this._quickSuggestDelay)}}},e.prototype._refilterCompletionItems=function(){var e=this;Promise.resolve().then((function(){if(0!==e._state&&e._editor.hasModel()){var t=e._editor.getModel(),n=e._editor.getPosition(),r=new J(t,n,2===e._state,!1);e._onNewContext(r)}}))},e.prototype.trigger=function(t,n,r,a){var l=this;if(void 0===n&&(n=!1),this._editor.hasModel()){var u,c=this._editor.getModel(),d=t.auto,h=new J(c,this._editor.getPosition(),d,t.shy);this.cancel(n),this._state=d?2:1,this._onDidTrigger.fire({auto:d,shy:t.shy,position:this._editor.getPosition()}),this._context=h,u=t.triggerCharacter?{triggerKind:1,triggerCharacter:t.triggerCharacter}:r&&r.size>0?{triggerKind:2}:{triggerKind:0},this._requestToken=new H["b"];var f=this._editor.getOption(86),p=1;switch(f){case"top":p=0;break;case"bottom":p=2;break}var g=e._createItemKindFilter(this._editor),m=$.create(this._editorWorker,this._editor),v=Object(P["e"])(c,this._editor.getPosition(),new P["a"](p,g,r),u,this._requestToken.token);Promise.all([v,m]).then((function(e){var n=e[0],r=e[1];if(Object(s["f"])(l._requestToken),0!==l._state&&l._editor.hasModel()){var o=l._editor.getModel();if(Object(i["q"])(a)){var u=Object(P["d"])(p);n=n.concat(a).sort(u)}var c=new J(o,l._editor.getPosition(),d,t.shy);l._completionModel=new W(n,l._context.column,{leadingLineContent:c.leadingLineContent,characterCountDelta:c.column-l._context.column},r,l._editor.getOption(89),l._editor.getOption(86));for(var h=0,f=n;h<f.length;h++){var g=f[h];Object(s["g"])(g.container)&&l._completionDisposables.add(g.container)}l._onNewContext(c)}})).catch(o["e"])}},e._createItemKindFilter=function(e){var t=new Set,n=e.getOption(86);"none"===n&&t.add(25);var r=e.getOption(89);return r.showMethods||t.add(0),r.showFunctions||t.add(1),r.showConstructors||t.add(2),r.showFields||t.add(3),r.showVariables||t.add(4),r.showClasses||t.add(5),r.showStructs||t.add(6),r.showInterfaces||t.add(7),r.showModules||t.add(8),r.showProperties||t.add(9),r.showEvents||t.add(10),r.showOperators||t.add(11),r.showUnits||t.add(12),r.showValues||t.add(13),r.showConstants||t.add(14),r.showEnums||t.add(15),r.showEnumMembers||t.add(16),r.showKeywords||t.add(17),r.showWords||t.add(18),r.showColors||t.add(19),r.showFiles||t.add(20),r.showReferences||t.add(21),r.showColors||t.add(22),r.showFolders||t.add(23),r.showTypeParameters||t.add(24),r.showSnippets||t.add(25),t},e.prototype._onNewContext=function(e){if(this._context)if(e.lineNumber===this._context.lineNumber){if(e.leadingWord.startColumn<this._context.leadingWord.startColumn)this.cancel();else if(e.column<this._context.column)e.leadingWord.word?this.trigger({auto:this._context.auto,shy:!1},!0):this.cancel();else if(this._completionModel)if(e.column>this._context.column&&this._completionModel.incomplete.size>0&&0!==e.leadingWord.word.length){var t=this._completionModel.incomplete,n=this._completionModel.adopt(t);this.trigger({auto:2===this._state,shy:!1},!0,t,n)}else{var r=this._completionModel.lineContext,i=!1;if(this._completionModel.lineContext={leadingLineContent:e.leadingLineContent,characterCountDelta:e.column-this._context.column},0===this._completionModel.items.length){if(J.shouldAutoTrigger(this._editor)&&this._context.leadingWord.endColumn<e.leadingWord.startColumn)return void this.trigger({auto:this._context.auto,shy:!1},!0);if(this._context.auto)return void this.cancel();if(this._completionModel.lineContext=r,i=this._completionModel.items.length>0,i&&0===e.leadingWord.word.length)return void this.cancel()}this._onDidSuggest.fire({completionModel:this._completionModel,auto:this._context.auto,shy:this._context.shy,isFrozen:i})}}else this.cancel()},e}(),te=(n("CClx"),n("nn6Y"),n("XNtB"),n("epnl"),n("yI7H"),n("ujyM"),n("t9D7")),ne=n("MD5Z"),re=Object(ne["Rb"])("symbolIcon.arrayForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.arrayForeground","The foreground color for array symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ie=Object(ne["Rb"])("symbolIcon.booleanForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.booleanForeground","The foreground color for boolean symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),oe=Object(ne["Rb"])("symbolIcon.classForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(N["a"])("symbolIcon.classForeground","The foreground color for class symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ae=Object(ne["Rb"])("symbolIcon.colorForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.colorForeground","The foreground color for color symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),se=Object(ne["Rb"])("symbolIcon.constantForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.constantForeground","The foreground color for constant symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),le=Object(ne["Rb"])("symbolIcon.constructorForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(N["a"])("symbolIcon.constructorForeground","The foreground color for constructor symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ue=Object(ne["Rb"])("symbolIcon.enumeratorForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(N["a"])("symbolIcon.enumeratorForeground","The foreground color for enumerator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ce=Object(ne["Rb"])("symbolIcon.enumeratorMemberForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(N["a"])("symbolIcon.enumeratorMemberForeground","The foreground color for enumerator member symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),de=Object(ne["Rb"])("symbolIcon.eventForeground",{dark:"#EE9D28",light:"#D67E00",hc:"#EE9D28"},Object(N["a"])("symbolIcon.eventForeground","The foreground color for event symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),he=Object(ne["Rb"])("symbolIcon.fieldForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(N["a"])("symbolIcon.fieldForeground","The foreground color for field symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),fe=Object(ne["Rb"])("symbolIcon.fileForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.fileForeground","The foreground color for file symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),pe=Object(ne["Rb"])("symbolIcon.folderForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.folderForeground","The foreground color for folder symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ge=Object(ne["Rb"])("symbolIcon.functionForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(N["a"])("symbolIcon.functionForeground","The foreground color for function symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),me=Object(ne["Rb"])("symbolIcon.interfaceForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(N["a"])("symbolIcon.interfaceForeground","The foreground color for interface symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ve=Object(ne["Rb"])("symbolIcon.keyForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.keyForeground","The foreground color for key symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ye=Object(ne["Rb"])("symbolIcon.keywordForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.keywordForeground","The foreground color for keyword symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),be=Object(ne["Rb"])("symbolIcon.methodForeground",{dark:"#B180D7",light:"#652D90",hc:"#B180D7"},Object(N["a"])("symbolIcon.methodForeground","The foreground color for method symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),_e=Object(ne["Rb"])("symbolIcon.moduleForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.moduleForeground","The foreground color for module symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),we=Object(ne["Rb"])("symbolIcon.namespaceForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.namespaceForeground","The foreground color for namespace symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),xe=Object(ne["Rb"])("symbolIcon.nullForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.nullForeground","The foreground color for null symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ce=Object(ne["Rb"])("symbolIcon.numberForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.numberForeground","The foreground color for number symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Se=Object(ne["Rb"])("symbolIcon.objectForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.objectForeground","The foreground color for object symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Oe=Object(ne["Rb"])("symbolIcon.operatorForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.operatorForeground","The foreground color for operator symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),ke=Object(ne["Rb"])("symbolIcon.packageForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.packageForeground","The foreground color for package symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ee=Object(ne["Rb"])("symbolIcon.propertyForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.propertyForeground","The foreground color for property symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),De=Object(ne["Rb"])("symbolIcon.referenceForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.referenceForeground","The foreground color for reference symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Me=Object(ne["Rb"])("symbolIcon.snippetForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.snippetForeground","The foreground color for snippet symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ne=Object(ne["Rb"])("symbolIcon.stringForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.stringForeground","The foreground color for string symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Le=Object(ne["Rb"])("symbolIcon.structForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.structForeground","The foreground color for struct symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ie=Object(ne["Rb"])("symbolIcon.textForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.textForeground","The foreground color for text symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Te=Object(ne["Rb"])("symbolIcon.typeParameterForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.typeParameterForeground","The foreground color for type parameter symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Pe=Object(ne["Rb"])("symbolIcon.unitForeground",{dark:ne["V"],light:ne["V"],hc:ne["V"]},Object(N["a"])("symbolIcon.unitForeground","The foreground color for unit symbols. These symbols appear in the outline, breadcrumb, and suggest widget.")),Ae=Object(ne["Rb"])("symbolIcon.variableForeground",{dark:"#75BEFF",light:"#007ACC",hc:"#75BEFF"},Object(N["a"])("symbolIcon.variableForeground","The foreground color for variable symbols. These symbols appear in the outline, breadcrumb, and suggest widget."));Object(te["e"])((function(e,t){var n=e.getColor(re);n&&t.addRule(".codicon-symbol-array { color: "+n+" !important; }");var r=e.getColor(ie);r&&t.addRule(".codicon-symbol-boolean { color: "+r+" !important; }");var i=e.getColor(oe);i&&t.addRule(".codicon-symbol-class { color: "+i+" !important; }");var o=e.getColor(be);o&&t.addRule(".codicon-symbol-method { color: "+o+" !important; }");var a=e.getColor(ae);a&&t.addRule(".codicon-symbol-color { color: "+a+" !important; }");var s=e.getColor(se);s&&t.addRule(".codicon-symbol-constant { color: "+s+" !important; }");var l=e.getColor(le);l&&t.addRule(".codicon-symbol-constructor { color: "+l+" !important; }");var u=e.getColor(ue);u&&t.addRule("\n\t\t\t.codicon-symbol-value,.codicon-symbol-enum { color: "+u+" !important; }");var c=e.getColor(ce);c&&t.addRule(".codicon-symbol-enum-member { color: "+c+" !important; }");var d=e.getColor(de);d&&t.addRule(".codicon-symbol-event { color: "+d+" !important; }");var h=e.getColor(he);h&&t.addRule(".codicon-symbol-field { color: "+h+" !important; }");var f=e.getColor(fe);f&&t.addRule(".codicon-symbol-file { color: "+f+" !important; }");var p=e.getColor(pe);p&&t.addRule(".codicon-symbol-folder { color: "+p+" !important; }");var g=e.getColor(ge);g&&t.addRule(".codicon-symbol-function { color: "+g+" !important; }");var m=e.getColor(me);m&&t.addRule(".codicon-symbol-interface { color: "+m+" !important; }");var v=e.getColor(ve);v&&t.addRule(".codicon-symbol-key { color: "+v+" !important; }");var y=e.getColor(ye);y&&t.addRule(".codicon-symbol-keyword { color: "+y+" !important; }");var b=e.getColor(_e);b&&t.addRule(".codicon-symbol-module { color: "+b+" !important; }");var _=e.getColor(we);_&&t.addRule(".codicon-symbol-namespace { color: "+_+" !important; }");var w=e.getColor(xe);w&&t.addRule(".codicon-symbol-null { color: "+w+" !important; }");var x=e.getColor(Ce);x&&t.addRule(".codicon-symbol-number { color: "+x+" !important; }");var C=e.getColor(Se);C&&t.addRule(".codicon-symbol-object { color: "+C+" !important; }");var S=e.getColor(Oe);S&&t.addRule(".codicon-symbol-operator { color: "+S+" !important; }");var O=e.getColor(ke);O&&t.addRule(".codicon-symbol-package { color: "+O+" !important; }");var k=e.getColor(Ee);k&&t.addRule(".codicon-symbol-property { color: "+k+" !important; }");var E=e.getColor(De);E&&t.addRule(".codicon-symbol-reference { color: "+E+" !important; }");var D=e.getColor(Me);D&&t.addRule(".codicon-symbol-snippet { color: "+D+" !important; }");var M=e.getColor(Ne);M&&t.addRule(".codicon-symbol-string { color: "+M+" !important; }");var N=e.getColor(Le);N&&t.addRule(".codicon-symbol-struct { color: "+N+" !important; }");var L=e.getColor(Ie);L&&t.addRule(".codicon-symbol-text { color: "+L+" !important; }");var I=e.getColor(Te);I&&t.addRule(".codicon-symbol-type-parameter { color: "+I+" !important; }");var T=e.getColor(Pe);T&&t.addRule(".codicon-symbol-unit { color: "+T+" !important; }");var P=e.getColor(Ae);P&&t.addRule(".codicon-symbol-variable { color: "+P+" !important; }")}));var Re,je=n("EffR"),Fe=n("cqdO"),Be=n("GJhM"),Ve=n("bexQ"),ze=n("XXUj"),We=n("ptcw"),He=n("3qCu"),Ue=n("WBhO"),Ke=n("W9cx"),Ge=n("xONI"),qe=n("tYmi"),Ye=n("gslv"),Xe=n("MqQJ");function Ze(e,t,n,r){var i=r===Re.ROOT_FOLDER?["rootfolder-icon"]:r===Re.FOLDER?["folder-icon"]:["file-icon"];if(n){var o;if(n.scheme===qe["b"].data){var a=Ye["a"].parseMetaData(n);o=a.get(Ye["a"].META_DATA_LABEL)}else o=$e(Object(Ye["c"])(n).toLowerCase());if(r===Re.FOLDER)i.push(o+"-name-folder-icon");else{if(o){i.push(o+"-name-file-icon");for(var s=o.split("."),l=1;l<s.length;l++)i.push(s.slice(l).join(".")+"-ext-file-icon");i.push("ext-file-icon")}var u=Qe(e,t,n);u&&i.push($e(u)+"-lang-file-icon")}}return i}function Qe(e,t,n){if(!n)return null;var r=null;if(n.scheme===qe["b"].data){var i=Ye["a"].parseMetaData(n),o=i.get(Ye["a"].META_DATA_MIME);o&&(r=t.getModeId(o))}else{var a=e.getModel(n);a&&(r=a.getModeId())}return r&&r!==Xe["c"]?r:t.getModeIdByFilepathOrFirstLine(n)}function $e(e){return e.replace(/\s/g,"\\$&")}(function(e){e[e["FILE"]=0]="FILE",e[e["FOLDER"]=1]="FOLDER",e[e["ROOT_FOLDER"]=2]="ROOT_FOLDER"})(Re||(Re={}));var Je=n("G2kB"),et=n("bY76"),tt=n("eLzo"),nt=function(){return nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},nt.apply(this,arguments)},rt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},it=function(e,t){return function(n,r){t(n,r,e)}},ot=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},at=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},st=!1,lt=Object(ne["Rb"])("editorSuggestWidget.background",{dark:ne["P"],light:ne["P"],hc:ne["P"]},N["a"]("editorSuggestWidgetBackground","Background color of the suggest widget.")),ut=Object(ne["Rb"])("editorSuggestWidget.border",{dark:ne["Q"],light:ne["Q"],hc:ne["Q"]},N["a"]("editorSuggestWidgetBorder","Border color of the suggest widget.")),ct=Object(ne["Rb"])("editorSuggestWidget.foreground",{dark:ne["x"],light:ne["x"],hc:ne["x"]},N["a"]("editorSuggestWidgetForeground","Foreground color of the suggest widget.")),dt=Object(ne["Rb"])("editorSuggestWidget.selectedBackground",{dark:ne["qb"],light:ne["qb"],hc:ne["qb"]},N["a"]("editorSuggestWidgetSelectedBackground","Background color of the selected entry in the suggest widget.")),ht=Object(ne["Rb"])("editorSuggestWidget.highlightForeground",{dark:ne["sb"],light:ne["sb"],hc:ne["sb"]},N["a"]("editorSuggestWidgetHighlightForeground","Color of the match highlights in the suggest widget.")),ft=/^(#([\da-f]{3}){1,2}|(rgb|hsl)a\(\s*(\d{1,3}%?\s*,\s*){3}(1|0?\.\d+)\)|(rgb|hsl)\(\s*\d{1,3}%?(\s*,\s*\d{1,3}%?){2}\s*\))$/i;function pt(e,t){var n="string"===typeof e.completion.label?e.completion.label:e.completion.label.name;return n.match(ft)?(t[0]=n,!0):!("string"!==typeof e.completion.documentation||!e.completion.documentation.match(ft))&&(t[0]=e.completion.documentation,!0)}function gt(e){if(!e)return!1;var t=e.completion;return!!t.documentation||t.detail&&t.detail!==t.label}function mt(e){return"suggest-aria-id:"+e}var vt=function(){function e(e,t,n,r,i,o){this.widget=e,this.editor=t,this.triggerKeybindingLabel=n,this._modelService=r,this._modeService=i,this._themeService=o}return Object.defineProperty(e.prototype,"templateId",{get:function(){return"suggestion"},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){var t=this,n=Object.create(null);n.disposables=new s["b"],n.root=e,Object(je["e"])(n.root,"show-file-icons"),n.icon=Object(je["p"])(e,Object(je["a"])(".icon")),n.colorspan=Object(je["p"])(n.icon,Object(je["a"])("span.colorspan"));var r=Object(je["p"])(e,Object(je["a"])(".contents")),i=Object(je["p"])(r,Object(je["a"])(".main"));n.left=Object(je["p"])(i,Object(je["a"])("span.left")),n.right=Object(je["p"])(i,Object(je["a"])("span.right")),n.iconContainer=Object(je["p"])(n.left,Object(je["a"])(".icon-label.codicon")),n.iconLabel=new Ge["a"](n.left,{supportHighlights:!0,supportCodicons:!0}),n.disposables.add(n.iconLabel),n.signatureLabel=Object(je["p"])(n.left,Object(je["a"])("span.signature-label")),n.qualifierLabel=Object(je["p"])(n.left,Object(je["a"])("span.qualifier-label")),n.detailsLabel=Object(je["p"])(n.right,Object(je["a"])("span.details-label")),n.readMore=Object(je["p"])(n.right,Object(je["a"])("span.readMore.codicon.codicon-info")),n.readMore.title=N["a"]("readMore","Read More...{0}",this.triggerKeybindingLabel);var o=function(){var e=t.editor.getOptions(),r=e.get(34),o=r.fontFamily,a=r.fontFeatureSettings,s=e.get(90)||r.fontSize,l=e.get(91)||r.lineHeight,u=r.fontWeight,c=s+"px",d=l+"px";n.root.style.fontSize=c,n.root.style.fontWeight=u,i.style.fontFamily=o,i.style.fontFeatureSettings=a,i.style.lineHeight=d,n.icon.style.height=d,n.icon.style.width=d,n.readMore.style.height=d,n.readMore.style.width=d};return o(),n.disposables.add(F["b"].chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.hasChanged(34)||e.hasChanged(90)||e.hasChanged(91)})).on(o,null)),n},e.prototype.renderElement=function(e,t,n){var r=this,o=n,a=e.completion,s="string"===typeof a.label?a.label:a.label.name;o.root.id=mt(t),o.icon.className="icon "+Object(m["C"])(a.kind),o.colorspan.style.backgroundColor="";var l={labelEscapeNewLines:!0,matches:Object(V["c"])(e.score)},u=[];if(19===a.kind&&pt(e,u))o.icon.className="icon customcolor",o.iconContainer.className="icon hide",o.colorspan.style.backgroundColor=u[0];else if(20===a.kind&&this._themeService.getIconTheme().hasFileIcons){o.icon.className="icon hide",o.iconContainer.className="icon hide";var c=Ze(this._modelService,this._modeService,et["a"].from({scheme:"fake",path:s}),Re.FILE),d=Ze(this._modelService,this._modeService,et["a"].from({scheme:"fake",path:a.detail}),Re.FILE);l.extraClasses=c.length>d.length?c:d}else 23===a.kind&&this._themeService.getIconTheme().hasFolderIcons?(o.icon.className="icon hide",o.iconContainer.className="icon hide",l.extraClasses=Object(i["m"])([Ze(this._modelService,this._modeService,et["a"].from({scheme:"fake",path:s}),Re.FOLDER),Ze(this._modelService,this._modeService,et["a"].from({scheme:"fake",path:a.detail}),Re.FOLDER)])):(o.icon.className="icon hide",o.iconContainer.className="",Object(je["f"])(o.iconContainer,"suggest-icon codicon codicon-symbol-"+Object(m["C"])(a.kind)));a.tags&&a.tags.indexOf(1)>=0&&(l.extraClasses=(l.extraClasses||[]).concat(["deprecated"]),l.matches=[]),o.iconLabel.setLabel(s,void 0,l),"string"===typeof a.label?(o.signatureLabel.textContent="",o.qualifierLabel.textContent="",o.detailsLabel.textContent=(a.detail||"").replace(/\n.*$/m,""),Object(je["O"])(o.right,"always-show-details")):(o.signatureLabel.textContent=(a.label.signature||"").replace(/\n.*$/m,""),o.qualifierLabel.textContent=(a.label.qualifier||"").replace(/\n.*$/m,""),o.detailsLabel.textContent=(a.label.type||"").replace(/\n.*$/m,""),Object(je["e"])(o.right,"always-show-details")),gt(e)?(Object(je["e"])(o.right,"can-expand-details"),Object(je["W"])(o.readMore),o.readMore.onmousedown=function(e){e.stopPropagation(),e.preventDefault()},o.readMore.onclick=function(e){e.stopPropagation(),e.preventDefault(),r.widget.toggleDetails()}):(Object(je["O"])(o.right,"can-expand-details"),Object(je["I"])(o.readMore),o.readMore.onmousedown=null,o.readMore.onclick=null)},e.prototype.disposeTemplate=function(e){e.disposables.dispose()},e=rt([it(3,Je["a"]),it(4,Ue["a"]),it(5,te["c"])],e),e}(),yt=function(){function e(e,t,n,r,i){var o=this;this.widget=t,this.editor=n,this.markdownRenderer=r,this.kbToggleDetails=i,this.borderWidth=1,this.disposables=new s["b"],this.el=Object(je["p"])(e,Object(je["a"])(".details")),this.disposables.add(Object(s["h"])((function(){return e.removeChild(o.el)}))),this.body=Object(je["a"])(".body"),this.scrollbar=new Be["a"](this.body,{}),Object(je["p"])(this.el,this.scrollbar.getDomNode()),this.disposables.add(this.scrollbar),this.header=Object(je["p"])(this.body,Object(je["a"])(".header")),this.close=Object(je["p"])(this.header,Object(je["a"])("span.codicon.codicon-close")),this.close.title=N["a"]("readLess","Read less...{0}",this.kbToggleDetails),this.type=Object(je["p"])(this.header,Object(je["a"])("p.type")),this.docs=Object(je["p"])(this.body,Object(je["a"])("p.docs")),this.configureFont(),F["b"].chain(this.editor.onDidChangeConfiguration.bind(this.editor)).filter((function(e){return e.hasChanged(34)})).on(this.configureFont,this,this.disposables),r.onDidRenderCodeBlock((function(){return o.scrollbar.scanDomNode()}),this,this.disposables)}return Object.defineProperty(e.prototype,"element",{get:function(){return this.el},enumerable:!0,configurable:!0}),e.prototype.renderLoading=function(){this.type.textContent=N["a"]("loading","Loading..."),this.docs.textContent=""},e.prototype.renderItem=function(e,t){var n=this;this.renderDisposeable=Object(s["f"])(this.renderDisposeable);var r=e.completion,i=r.documentation,o=r.detail;if(t){var a="";a+="score: "+e.score[0]+(e.word?", compared '"+(e.completion.filterText&&e.completion.filterText+" (filterText)"||e.completion.label)+"' with '"+e.word+"'":" (no prefix)")+"\n",a+="distance: "+e.distance+", see localityBonus-setting\n",a+="index: "+e.idx+", based on "+(e.completion.sortText&&'sortText: "'+e.completion.sortText+'"'||"label")+"\n",i=(new tt["a"]).appendCodeblock("empty",a),o="Provider: "+e.provider._debugDisplayName}if(!t&&!gt(e))return this.type.textContent="",this.docs.textContent="",void Object(je["e"])(this.el,"no-docs");if(Object(je["O"])(this.el,"no-docs"),"string"===typeof i)Object(je["O"])(this.docs,"markdown-docs"),this.docs.textContent=i;else{Object(je["e"])(this.docs,"markdown-docs"),this.docs.innerHTML="";var l=this.markdownRenderer.render(i);this.renderDisposeable=l,this.docs.appendChild(l.element)}o?(this.type.innerText=o,Object(je["W"])(this.type)):(this.type.innerText="",Object(je["I"])(this.type)),this.el.style.height=this.header.offsetHeight+this.docs.offsetHeight+2*this.borderWidth+"px",this.el.style.userSelect="text",this.el.tabIndex=-1,this.close.onmousedown=function(e){e.preventDefault(),e.stopPropagation()},this.close.onclick=function(e){e.preventDefault(),e.stopPropagation(),n.widget.toggleDetails()},this.body.scrollTop=0,this.scrollbar.scanDomNode()},e.prototype.scrollDown=function(e){void 0===e&&(e=8),this.body.scrollTop+=e},e.prototype.scrollUp=function(e){void 0===e&&(e=8),this.body.scrollTop-=e},e.prototype.scrollTop=function(){this.body.scrollTop=0},e.prototype.scrollBottom=function(){this.body.scrollTop=this.body.scrollHeight},e.prototype.pageDown=function(){this.scrollDown(80)},e.prototype.pageUp=function(){this.scrollUp(80)},e.prototype.setBorderWidth=function(e){this.borderWidth=e},e.prototype.configureFont=function(){var e=this.editor.getOptions(),t=e.get(34),n=t.fontFamily,r=e.get(90)||t.fontSize,i=e.get(91)||t.lineHeight,o=t.fontWeight,a=r+"px",s=i+"px";this.el.style.fontSize=a,this.el.style.fontWeight=o,this.el.style.fontFeatureSettings=t.fontFeatureSettings,this.type.style.fontFamily=n,this.close.style.height=s,this.close.style.width=s},e.prototype.dispose=function(){this.disposables.dispose(),this.renderDisposeable=Object(s["f"])(this.renderDisposeable)},e}(),bt=function(){function e(e,t,n,r,i,o,a,l,u){var c,d,h=this;this.editor=e,this.telemetryService=t,this.keybindingService=n,this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this.state=null,this.isAuto=!1,this.loadingTimeout=s["a"].None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new v["e"],this.toDispose=new s["b"],this.onDidSelectEmitter=new F["a"],this.onDidFocusEmitter=new F["a"],this.onDidHideEmitter=new F["a"],this.onDidShowEmitter=new F["a"],this.onDidSelect=this.onDidSelectEmitter.event,this.onDidFocus=this.onDidFocusEmitter.event,this.onDidHide=this.onDidHideEmitter.event,this.onDidShow=this.onDidShowEmitter.event,this.maxWidgetWidth=660,this.listWidth=330,this.firstFocusInCurrentList=!1,this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.explainMode=!1,this._onDetailsKeydown=new F["a"],this.onDetailsKeyDown=this._onDetailsKeydown.event;var f=this.toDispose.add(new He["a"](e,a,l)),p=null!==(d=null===(c=n.lookupKeybinding("toggleSuggestionDetails"))||void 0===c?void 0:c.getLabel())&&void 0!==d?d:"";this.msgDetailsLess=N["a"]("detail.less","{0} for less...",p),this.msgDetailMore=N["a"]("detail.more","{0} for more...",p),this.isAuto=!1,this.focusedItem=null,this.storageService=o,this.element=Object(je["a"])(".editor-widget.suggest-widget"),this.toDispose.add(Object(je["i"])(this.element,"click",(function(e){e.target===h.element&&h.hideWidget()}))),this.messageElement=Object(je["p"])(this.element,Object(je["a"])(".message")),this.listElement=Object(je["p"])(this.element,Object(je["a"])(".tree"));var g=function(){return Object(je["X"])(h.element,"with-status-bar",!h.editor.getOption(89).hideStatusBar)};g(),this.statusBarElement=Object(je["p"])(this.element,Object(je["a"])(".suggest-status-bar")),this.statusBarLeftSpan=Object(je["p"])(this.statusBarElement,Object(je["a"])("span")),this.statusBarRightSpan=Object(je["p"])(this.statusBarElement,Object(je["a"])("span")),this.setStatusBarLeftText(""),this.setStatusBarRightText(""),this.details=u.createInstance(yt,this.element,this,this.editor,f,p);var m=function(){return Object(je["X"])(h.element,"no-icons",!h.editor.getOption(89).showIcons)};m();var y=u.createInstance(vt,this,this.editor,p);this.list=new Fe["c"]("SuggestWidget",this.listElement,this,[y],{useShadows:!1,openController:{shouldOpen:function(){return!1}},mouseSupport:!1,accessibilityProvider:{getAriaLabel:function(e){var t="string"===typeof e.completion.label?e.completion.label:e.completion.label.name;if(e.isResolved&&h.expandDocsSettingFromStorage()){var n=e.completion,r=n.documentation,i=n.detail,o=z["r"]("{0}{1}",i||"",r?"string"===typeof r?r:r.value:"");return N["a"]("ariaCurrenttSuggestionReadDetails","Item {0}, docs: {1}",t,o)}return t}}}),this.toDispose.add(Object(We["b"])(this.list,i,{listInactiveFocusBackground:dt,listInactiveFocusOutline:ne["b"]})),this.toDispose.add(i.onThemeChange((function(e){return h.onThemeChange(e)}))),this.toDispose.add(e.onDidLayoutChange((function(){return h.onEditorLayoutChange()}))),this.toDispose.add(this.list.onMouseDown((function(e){return h.onListMouseDownOrTap(e)}))),this.toDispose.add(this.list.onTap((function(e){return h.onListMouseDownOrTap(e)}))),this.toDispose.add(this.list.onSelectionChange((function(e){return h.onListSelection(e)}))),this.toDispose.add(this.list.onFocusChange((function(e){return h.onListFocus(e)}))),this.toDispose.add(this.editor.onDidChangeCursorSelection((function(){return h.onCursorSelectionChanged()}))),this.toDispose.add(this.editor.onDidChangeConfiguration((function(e){e.hasChanged(89)&&(g(),m())}))),this.suggestWidgetVisible=P["b"].Visible.bindTo(r),this.suggestWidgetMultipleSuggestions=P["b"].MultipleSuggestions.bindTo(r),this.editor.addContentWidget(this),this.setState(0),this.onThemeChange(i.getTheme()),this.toDispose.add(Object(je["n"])(this.details.element,"keydown",(function(e){h._onDetailsKeydown.fire(e)}))),this.toDispose.add(this.editor.onMouseDown((function(e){return h.onEditorMouseDown(e)})))}return e.prototype.onEditorMouseDown=function(e){this.details.element.contains(e.target.element)?this.details.element.focus():this.element.contains(e.target.element)&&this.editor.focus()},e.prototype.onCursorSelectionChanged=function(){0!==this.state&&this.editor.layoutContentWidget(this)},e.prototype.onEditorLayoutChange=function(){3!==this.state&&5!==this.state||!this.expandDocsSettingFromStorage()||this.expandSideOrBelow()},e.prototype.onListMouseDownOrTap=function(e){"undefined"!==typeof e.element&&"undefined"!==typeof e.index&&(e.browserEvent.preventDefault(),e.browserEvent.stopPropagation(),this.select(e.element,e.index))},e.prototype.onListSelection=function(e){e.elements.length&&this.select(e.elements[0],e.indexes[0])},e.prototype.select=function(e,t){var n=this.completionModel;n&&(this.onDidSelectEmitter.fire({item:e,index:t,model:n}),this.editor.focus())},e.prototype.onThemeChange=function(e){var t=e.getColor(lt);t&&(this.listElement.style.backgroundColor=t.toString(),this.statusBarElement.style.backgroundColor=t.toString(),this.details.element.style.backgroundColor=t.toString(),this.messageElement.style.backgroundColor=t.toString());var n=e.getColor(ut);n&&(this.listElement.style.borderColor=n.toString(),this.statusBarElement.style.borderColor=n.toString(),this.details.element.style.borderColor=n.toString(),this.messageElement.style.borderColor=n.toString(),this.detailsBorderColor=n.toString());var r=e.getColor(ne["U"]);r&&(this.detailsFocusBorderColor=r.toString()),this.details.setBorderWidth("hc"===e.type?2:1)},e.prototype.onListFocus=function(e){var t,n,r=this;if(!this.ignoreFocusEvents){if(!e.elements.length)return this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null,this.focusedItem=null),void this.editor.setAriaOptions({activeDescendant:void 0});if(this.completionModel){var i=e.elements[0],a=e.indexes[0];if(this.firstFocusInCurrentList=!this.focusedItem,i!==this.focusedItem){var s="insert"===this.editor.getOption(89).insertMode,l=null===(t=this.keybindingService.lookupKeybinding("acceptSelectedSuggestion"))||void 0===t?void 0:t.getLabel(),u=null===(n=this.keybindingService.lookupKeybinding("acceptAlternativeSelectedSuggestion"))||void 0===n?void 0:n.getLabel();U["a"].equals(i.editInsertEnd,i.editReplaceEnd)?this.setStatusBarLeftText(N["a"]("accept","{0} to accept",l)):s?this.setStatusBarLeftText(N["a"]("insert","{0} to insert, {1} to replace",l,u)):this.setStatusBarLeftText(N["a"]("replace","{0} to replace, {1} to insert",l,u)),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.focusedItem=i,this.list.reveal(a),this.currentSuggestionDetails=Object(v["f"])((function(e){return ot(r,void 0,void 0,(function(){var t,n,r=this;return at(this,(function(o){switch(o.label){case 0:return t=Object(v["g"])((function(){return r.showDetails(!0)}),250),e.onCancellationRequested((function(){return t.dispose()})),[4,i.resolve(e)];case 1:return n=o.sent(),t.dispose(),[2,n]}}))}))})),this.currentSuggestionDetails.then((function(){a>=r.list.length||i!==r.list.element(a)||(r.ignoreFocusEvents=!0,r.list.splice(a,1,[i]),r.list.setFocus([a]),r.ignoreFocusEvents=!1,r.expandDocsSettingFromStorage()?r.showDetails(!1):Object(je["O"])(r.element,"docs-side"),gt(r.focusedItem)?r.expandDocsSettingFromStorage()?r.setStatusBarRightText(r.msgDetailsLess):r.setStatusBarRightText(r.msgDetailMore):r.statusBarRightSpan.innerText="",r.editor.setAriaOptions({activeDescendant:mt(a)}))})).catch(o["e"])}this.onDidFocusEmitter.fire({item:i,index:a,model:this.completionModel})}}},e.prototype.setState=function(t){if(this.element){var n=this.state!==t;switch(this.state=t,Object(je["X"])(this.element,"frozen",4===t),t){case 0:Object(je["I"])(this.messageElement,this.details.element,this.listElement,this.statusBarElement),this.hide(),this.listHeight=0,n&&this.list.splice(0,this.list.length),this.focusedItem=null;break;case 1:this.messageElement.textContent=e.LOADING_MESSAGE,Object(je["I"])(this.listElement,this.details.element,this.statusBarElement),Object(je["W"])(this.messageElement),Object(je["O"])(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 2:this.messageElement.textContent=e.NO_SUGGESTIONS_MESSAGE,Object(je["I"])(this.listElement,this.details.element,this.statusBarElement),Object(je["W"])(this.messageElement),Object(je["O"])(this.element,"docs-side"),this.show(),this.focusedItem=null;break;case 3:Object(je["I"])(this.messageElement),Object(je["W"])(this.listElement,this.statusBarElement),this.show();break;case 4:Object(je["I"])(this.messageElement),Object(je["W"])(this.listElement),this.show();break;case 5:Object(je["I"])(this.messageElement),Object(je["W"])(this.details.element,this.listElement,this.statusBarElement),this.show();break}}},e.prototype.showTriggered=function(e,t){var n=this;0===this.state&&(this.isAuto=!!e,this.isAuto||(this.loadingTimeout=Object(v["g"])((function(){return n.setState(1)}),t)))},e.prototype.showSuggestions=function(e,t,n,r){if(this.preferDocPositionTop=!1,this.docsPositionPreviousWidgetY=null,this.loadingTimeout.dispose(),this.currentSuggestionDetails&&(this.currentSuggestionDetails.cancel(),this.currentSuggestionDetails=null),this.completionModel!==e&&(this.completionModel=e),n&&2!==this.state&&0!==this.state)this.setState(4);else{var i=this.completionModel.items.length,o=0===i;if(this.suggestWidgetMultipleSuggestions.set(i>1),o)r?this.setState(0):this.setState(2),this.completionModel=null;else{if(3!==this.state){var a=this.completionModel.stats;a["wasAutomaticallyTriggered"]=!!r,this.telemetryService.publicLog("suggestWidget",nt({},a))}this.focusedItem=null,this.list.splice(0,this.list.length,this.completionModel.items),n?this.setState(4):this.setState(3),this.list.reveal(t,0),this.list.setFocus([t]),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)}}},e.prototype.selectNextPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageDown(),!0;case 1:return!this.isAuto;default:return this.list.focusNextPage(),!0}},e.prototype.selectNext=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusNext(1,!0),!0}},e.prototype.selectLast=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollBottom(),!0;case 1:return!this.isAuto;default:return this.list.focusLast(),!0}},e.prototype.selectPreviousPage=function(){switch(this.state){case 0:return!1;case 5:return this.details.pageUp(),!0;case 1:return!this.isAuto;default:return this.list.focusPreviousPage(),!0}},e.prototype.selectPrevious=function(){switch(this.state){case 0:return!1;case 1:return!this.isAuto;default:return this.list.focusPrevious(1,!0),!1}},e.prototype.selectFirst=function(){switch(this.state){case 0:return!1;case 5:return this.details.scrollTop(),!0;case 1:return!this.isAuto;default:return this.list.focusFirst(),!0}},e.prototype.getFocusedItem=function(){if(0!==this.state&&2!==this.state&&1!==this.state&&this.completionModel)return{item:this.list.getFocusedElements()[0],index:this.list.getFocus()[0],model:this.completionModel}},e.prototype.toggleDetailsFocus=function(){5===this.state?(this.setState(3),this.detailsBorderColor&&(this.details.element.style.borderColor=this.detailsBorderColor)):3===this.state&&this.expandDocsSettingFromStorage()&&(this.setState(5),this.detailsFocusBorderColor&&(this.details.element.style.borderColor=this.detailsFocusBorderColor)),this.telemetryService.publicLog2("suggestWidget:toggleDetailsFocus")},e.prototype.toggleDetails=function(){if(gt(this.list.getFocusedElements()[0]))if(this.expandDocsSettingFromStorage())this.updateExpandDocsSetting(!1),Object(je["I"])(this.details.element),Object(je["O"])(this.element,"docs-side"),Object(je["O"])(this.element,"docs-below"),this.editor.layoutContentWidget(this),this.setStatusBarRightText(this.msgDetailMore),this.telemetryService.publicLog2("suggestWidget:collapseDetails");else{if(3!==this.state&&5!==this.state&&4!==this.state)return;this.updateExpandDocsSetting(!0),this.showDetails(!1),this.setStatusBarRightText(this.msgDetailsLess),this.telemetryService.publicLog2("suggestWidget:expandDetails")}},e.prototype.showDetails=function(e){e||this.expandSideOrBelow(),Object(je["W"])(this.details.element),this.details.element.style.maxHeight=this.maxWidgetHeight+"px",e?this.details.renderLoading():this.details.renderItem(this.list.getFocusedElements()[0],this.explainMode),this.listElement.style.marginTop="0px",this.editor.layoutContentWidget(this),this.adjustDocsPosition(),this.editor.focus()},e.prototype.toggleExplainMode=function(){this.list.getFocusedElements()[0]&&this.expandDocsSettingFromStorage()&&(this.explainMode=!this.explainMode,this.showDetails(!1))},e.prototype.show=function(){var e=this,t=this.updateListHeight();t!==this.listHeight&&(this.editor.layoutContentWidget(this),this.listHeight=t),this.suggestWidgetVisible.set(!0),this.showTimeout.cancelAndSet((function(){Object(je["e"])(e.element,"visible"),e.onDidShowEmitter.fire(e)}),100)},e.prototype.hide=function(){this.suggestWidgetVisible.reset(),this.suggestWidgetMultipleSuggestions.reset(),Object(je["O"])(this.element,"visible")},e.prototype.hideWidget=function(){this.loadingTimeout.dispose(),this.setState(0),this.onDidHideEmitter.fire(this)},e.prototype.getPosition=function(){if(0===this.state)return null;var e=[2,1];return this.preferDocPositionTop&&(e=[1]),{position:this.editor.getPosition(),preference:e}},e.prototype.getDomNode=function(){return this.element},e.prototype.getId=function(){return e.ID},e.prototype.isFrozen=function(){return 4===this.state},e.prototype.updateListHeight=function(){var e=0;if(2===this.state||1===this.state)e=this.unfocusedHeight;else{var t=this.list.contentHeight/this.unfocusedHeight,n=this.editor.getOption(89).maxVisibleSuggestions;e=Math.min(t,n)*this.unfocusedHeight}return this.element.style.lineHeight=this.unfocusedHeight+"px",this.listElement.style.height=e+"px",this.statusBarElement.style.top=e+"px",this.list.layout(e),e},e.prototype.adjustDocsPosition=function(){if(this.editor.hasModel()){var e=this.editor.getOption(49),t=this.editor.getScrolledVisiblePosition(this.editor.getPosition()),n=Object(je["B"])(this.editor.getDomNode()),r=n.left+t.left,i=n.top+t.top+t.height,o=Object(je["B"])(this.element),a=o.left,s=o.top;if(this.docsPositionPreviousWidgetY&&this.docsPositionPreviousWidgetY<s&&!this.preferDocPositionTop)return this.preferDocPositionTop=!0,void this.adjustDocsPosition();this.docsPositionPreviousWidgetY=s,a<r-this.listWidth?Object(je["e"])(this.element,"list-right"):Object(je["O"])(this.element,"list-right"),Object(je["H"])(this.element,"docs-side")&&i-e>s&&this.details.element.offsetHeight>this.listElement.offsetHeight&&(this.listElement.style.marginTop=this.details.element.offsetHeight-this.listElement.offsetHeight+"px")}},e.prototype.expandSideOrBelow=function(){if(!gt(this.focusedItem)&&this.firstFocusInCurrentList)return Object(je["O"])(this.element,"docs-side"),void Object(je["O"])(this.element,"docs-below");var e=this.element.style.maxWidth.match(/(\d+)px/);!e||Number(e[1])<this.maxWidgetWidth?(Object(je["e"])(this.element,"docs-below"),Object(je["O"])(this.element,"docs-side")):gt(this.focusedItem)&&(Object(je["e"])(this.element,"docs-side"),Object(je["O"])(this.element,"docs-below"))},Object.defineProperty(e.prototype,"maxWidgetHeight",{get:function(){return this.unfocusedHeight*this.editor.getOption(89).maxVisibleSuggestions},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unfocusedHeight",{get:function(){var e=this.editor.getOptions();return e.get(91)||e.get(34).lineHeight},enumerable:!0,configurable:!0}),e.prototype.getHeight=function(e){return this.unfocusedHeight},e.prototype.getTemplateId=function(e){return"suggestion"},e.prototype.expandDocsSettingFromStorage=function(){return this.storageService.getBoolean("expandSuggestionDocs",0,st)},e.prototype.updateExpandDocsSetting=function(e){this.storageService.store("expandSuggestionDocs",e,0)},e.prototype.setStatusBarLeftText=function(e){this.statusBarLeftSpan.innerText=e},e.prototype.setStatusBarRightText=function(e){this.statusBarRightSpan.innerText=e},e.prototype.dispose=function(){this.details.dispose(),this.list.dispose(),this.toDispose.dispose(),this.loadingTimeout.dispose(),this.showTimeout.dispose()},e.ID="editor.widget.suggestWidget",e.LOADING_MESSAGE=N["a"]("suggestWidget.loading","Loading..."),e.NO_SUGGESTIONS_MESSAGE=N["a"]("suggestWidget.noSuggestions","No suggestions."),e=rt([it(1,ze["a"]),it(2,Ve["a"]),it(3,I["c"]),it(4,te["c"]),it(5,g["a"]),it(6,Ue["a"]),it(7,Ke["a"]),it(8,y["a"])],e),e}();Object(te["e"])((function(e,t){var n=e.getColor(ht);n&&t.addRule(".monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-highlighted-label .highlight { color: "+n+"; }");var r=e.getColor(ct);r&&t.addRule(".monaco-editor .suggest-widget { color: "+r+"; }");var i=e.getColor(ne["cc"]);i&&t.addRule(".monaco-editor .suggest-widget a { color: "+i+"; }");var o=e.getColor(ne["bc"]);o&&t.addRule(".monaco-editor .suggest-widget code { background-color: "+o+"; }")}));var _t=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),wt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},xt=function(e,t){return function(n,r){t(n,r,e)}},Ct=function(e){function t(n,r){var i=e.call(this)||this;return i._editor=n,i._enabled=!1,i._ckAtEnd=t.AtEnd.bindTo(r),i._register(i._editor.onDidChangeConfiguration((function(e){return e.hasChanged(94)&&i._update()}))),i._update(),i}return _t(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),Object(s["f"])(this._selectionListener),this._ckAtEnd.reset()},t.prototype._update=function(){var e=this,t="on"===this._editor.getOption(94);if(this._enabled!==t)if(this._enabled=t,this._enabled){var n=function(){if(e._editor.hasModel()){var t=e._editor.getModel(),n=e._editor.getSelection(),r=t.getWordAtPosition(n.getStartPosition());r?e._ckAtEnd.set(r.endColumn===n.getStartPosition().column):e._ckAtEnd.set(!1)}else e._ckAtEnd.set(!1)};this._selectionListener=this._editor.onDidChangeCursorSelection(n),n()}else this._selectionListener&&(this._ckAtEnd.reset(),this._selectionListener.dispose(),this._selectionListener=void 0)},t.AtEnd=new I["d"]("atEndOfWord",!1),t=wt([xt(1,I["c"])],t),t}(s["a"]),St=n("pAvP"),Ot=n("746U"),kt=n("MXAL"),Et=function(){function e(e,t,n){var r=this;this._disposables=new s["b"],this._disposables.add(t.onDidShow((function(){return r._onItem(t.getFocusedItem())}))),this._disposables.add(t.onDidFocus(this._onItem,this)),this._disposables.add(t.onDidHide(this.reset,this)),this._disposables.add(e.onWillType((function(i){if(r._active&&!t.isFrozen()){var o=i.charCodeAt(i.length-1);r._active.acceptCharacters.has(o)&&e.getOption(0)&&n(r._active.item)}})))}return e.prototype._onItem=function(e){if(e&&Object(i["q"])(e.item.completion.commitCharacters)){if(!this._active||this._active.item.item!==e.item){for(var t=new kt["b"],n=0,r=e.item.completion.commitCharacters;n<r.length;n++){var o=r[n];o.length>0&&t.add(o.charCodeAt(0))}this._active={acceptCharacters:t,item:e}}}else this.reset()},e.prototype.reset=function(){this._active=void 0},e.prototype.dispose=function(){this._disposables.dispose()},e}(),Dt=n("MNsG"),Mt=n("4y0V"),Nt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt=function(){function e(e){var t=this;this._controller=e,this._disposables=new s["b"],this._decorations=[],this._disposables.add(e.model.onDidSuggest((function(e){if(!e.shy){var n=t._controller.widget.getValue(),r=n.getFocusedItem();r&&t._highlight(r.item),t._widgetListener||(t._widgetListener=n.onDidFocus((function(e){return t._highlight(e.item)})))}}))),this._disposables.add(e.model.onDidCancel((function(){t._reset()})))}return e.prototype.dispose=function(){this._reset(),this._disposables.dispose(),Object(s["f"])(this._widgetListener),Object(s["f"])(this._shiftKeyListener)},e.prototype._reset=function(){this._decorations=this._controller.editor.deltaDecorations(this._decorations,[]),this._shiftKeyListener&&(this._shiftKeyListener.dispose(),this._shiftKeyListener=void 0)},e.prototype._highlight=function(e){var t,n=this;this._currentItem=e;var r=this._controller.editor.getOption(89),i=[];if(r.insertHighlight){this._shiftKeyListener||(this._shiftKeyListener=It.event((function(){return n._highlight(n._currentItem)})));var o=this._controller.getOverwriteInfo(e,It.isPressed),a=this._controller.editor.getPosition();if("insert"===r.insertMode&&o.overwriteAfter>0)i=[{range:new c["a"](a.lineNumber,a.column,a.lineNumber,a.column+o.overwriteAfter),options:{inlineClassName:"suggest-insert-unexpected"}}];else if("replace"===r.insertMode&&0===o.overwriteAfter){var s=null===(t=this._controller.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(a);s&&s.endColumn>a.column&&(i=[{range:new c["a"](a.lineNumber,a.column,a.lineNumber,s.endColumn),options:{inlineClassName:"suggest-insert-unexpected"}}])}}this._decorations=this._controller.editor.deltaDecorations(this._decorations,i)},e}(),It=new(function(e){function t(){var t=e.call(this)||this;return t._subscriptions=new s["b"],t._isPressed=!1,t._subscriptions.add(Object(Mt["a"])(document.body,"keydown")((function(e){return t.isPressed=e.shiftKey}))),t._subscriptions.add(Object(Mt["a"])(document.body,"keyup")((function(){return t.isPressed=!1}))),t._subscriptions.add(Object(Mt["a"])(document.body,"mouseleave")((function(){return t.isPressed=!1}))),t._subscriptions.add(Object(Mt["a"])(document.body,"blur")((function(){return t.isPressed=!1}))),t}return Nt(t,e),Object.defineProperty(t.prototype,"isPressed",{get:function(){return this._isPressed},set:function(e){this._isPressed!==e&&(this._isPressed=e,this.fire(e))},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){this._subscriptions.dispose(),e.prototype.dispose.call(this)},t}(F["a"])),Tt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pt=function(){return Pt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Pt.apply(this,arguments)},At=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Rt=function(e,t){return function(n,r){t(n,r,e)}},jt=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Ft=!1,Bt=function(){function e(e,t){this._model=e,this._position=t;var n=e.getLineMaxColumn(t.lineNumber);if(n!==t.column){var r=e.getOffsetAt(t),i=e.getPositionAt(r+1);this._marker=e.deltaDecorations([],[{range:c["a"].fromPositions(t,i),options:{stickiness:1}}])}}return e.prototype.dispose=function(){this._marker&&!this._model.isDisposed()&&this._model.deltaDecorations(this._marker,[])},e.prototype.delta=function(e){if(this._model.isDisposed()||this._position.lineNumber!==e.lineNumber)return 0;if(this._marker){var t=this._model.getDecorationRange(this._marker[0]),n=this._model.getOffsetAt(t.getStartPosition());return n-this._model.getOffsetAt(e)}return this._model.getLineMaxColumn(e.lineNumber)-e.column},e}(),Vt=function(){function e(e,t,n,r,i,o){var l=this;this._memoryService=n,this._commandService=r,this._contextKeyService=i,this._instantiationService=o,this._lineSuffix=new s["d"],this._toDispose=new s["b"],this.editor=e,this.model=new ee(this.editor,t),this.widget=this._toDispose.add(new v["b"]((function(){var e=l._instantiationService.createInstance(bt,l.editor);l._toDispose.add(e),l._toDispose.add(e.onDidSelect((function(e){return l._insertSuggestion(e,0)}),l));var t=new Et(l.editor,e,(function(e){return l._insertSuggestion(e,2)}));l._toDispose.add(t),l._toDispose.add(l.model.onDidSuggest((function(e){0===e.completionModel.items.length&&t.reset()})));var n=P["b"].MakesTextEdit.bindTo(l._contextKeyService);return l._toDispose.add(e.onDidFocus((function(e){var t=e.item,r=l.editor.getPosition(),i=t.editStart.column,o=r.column,a=!0;if("smart"===l.editor.getOption(1)&&2===l.model.state&&!t.completion.command&&!t.completion.additionalTextEdits&&!(4&t.completion.insertTextRules)&&o-i===t.completion.insertText.length){var s=l.editor.getModel().getValueInRange({startLineNumber:r.lineNumber,startColumn:i,endLineNumber:r.lineNumber,endColumn:o});a=s!==t.completion.insertText}n.set(a)}))),l._toDispose.add(Object(s["h"])((function(){return n.reset()}))),l._toDispose.add(e.onDetailsKeyDown((function(e){e.toKeybinding().equals(new a["e"](!0,!1,!1,!1,33))||Dt["e"]&&e.toKeybinding().equals(new a["e"](!1,!1,!1,!0,33))?e.stopPropagation():e.toKeybinding().isModifierKey()||l.editor.focus()}))),e}))),this._alternatives=this._toDispose.add(new v["b"]((function(){return l._toDispose.add(new j(l.editor,l._contextKeyService))}))),this._toDispose.add(o.createInstance(Ct,e)),this._toDispose.add(this.model.onDidTrigger((function(e){l.widget.getValue().showTriggered(e.auto,e.shy?250:50),l._lineSuffix.value=new Bt(l.editor.getModel(),e.position)}))),this._toDispose.add(this.model.onDidSuggest((function(e){if(!e.shy){var t=l._memoryService.select(l.editor.getModel(),l.editor.getPosition(),e.completionModel.items);l.widget.getValue().showSuggestions(e.completionModel,t,e.isFrozen,e.auto)}}))),this._toDispose.add(this.model.onDidCancel((function(e){e.retrigger||l.widget.getValue().hideWidget()}))),this._toDispose.add(this.editor.onDidBlurEditorWidget((function(){Ft||(l.model.cancel(),l.model.clear())})));var u=P["b"].AcceptSuggestionsOnEnter.bindTo(i),c=function(){var e=l.editor.getOption(1);u.set("on"===e||"smart"===e)};this._toDispose.add(this.editor.onDidChangeConfiguration((function(){return c()}))),c(),this._toDispose.add(new Lt(this))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._alternatives.dispose(),this._toDispose.dispose(),this.widget.dispose(),this.model.dispose(),this._lineSuffix.dispose()},e.prototype._insertSuggestion=function(e,t){var n,r=this;if(!e||!e.item)return this._alternatives.getValue().reset(),this.model.cancel(),void this.model.clear();if(this.editor.hasModel()){var i=this.editor.getModel(),a=i.getAlternativeVersionId(),s=e.item,l=s.completion;1&t||this.editor.pushUndoStop();var d=this.getOverwriteInfo(s,Boolean(8&t));this._memoryService.memorize(i,this.editor.getPosition(),s),Array.isArray(l.additionalTextEdits)&&this.editor.executeEdits("suggestController.additionalTextEdits",l.additionalTextEdits.map((function(e){return u["a"].replace(c["a"].lift(e.range),e.text)})));var p=l.insertText;4&l.insertTextRules||(p=f["c"].escape(p)),h["SnippetController2"].get(this.editor).insert(p,{overwriteBefore:d.overwriteBefore,overwriteAfter:d.overwriteAfter,undoStopBefore:!1,undoStopAfter:!1,adjustWhitespace:!(1&l.insertTextRules)}),2&t||this.editor.pushUndoStop(),l.command?l.command.id===zt.id?this.model.trigger({auto:!0,shy:!1},!0):((n=this._commandService).executeCommand.apply(n,jt([l.command.id],l.command.arguments?jt(l.command.arguments):[])).catch(o["e"]).finally((function(){return r.model.clear()})),this.model.cancel()):(this.model.cancel(),this.model.clear()),4&t&&this._alternatives.getValue().set(e,(function(e){while(i.canUndo()){a!==i.getAlternativeVersionId()&&i.undo(),r._insertSuggestion(e,3|(8&t?8:0));break}})),this._alertCompletionItem(e.item)}},e.prototype.getOverwriteInfo=function(e,t){Object(Ot["a"])(this.editor.hasModel());var n="replace"===this.editor.getOption(89).insertMode;t&&(n=!n);var r=e.position.column-e.editStart.column,i=(n?e.editReplaceEnd.column:e.editInsertEnd.column)-e.position.column,o=this.editor.getPosition().column-e.position.column,a=this._lineSuffix.value?this._lineSuffix.value.delta(this.editor.getPosition()):0;return{overwriteBefore:r+o,overwriteAfter:i+a}},e.prototype._alertCompletionItem=function(e){var t=e.completion,n="string"===typeof t.label?t.label:t.label.name;if(Object(i["q"])(t.additionalTextEdits)){var o=N["a"]("arai.alert.snippet","Accepting '{0}' made {1} additional edits",n,t.additionalTextEdits.length);Object(r["a"])(o)}},e.prototype.triggerSuggest=function(e){this.editor.hasModel()&&(this.model.trigger({auto:!1,shy:!1},!1,e),this.editor.revealLine(this.editor.getPosition().lineNumber,0),this.editor.focus())},e.prototype.triggerSuggestAndAcceptBest=function(e){var t=this;if(this.editor.hasModel()){var n=this.editor.getPosition(),r=function(){n.equals(t.editor.getPosition())&&t._commandService.executeCommand(e.fallback)},i=function(e){if(4&e.completion.insertTextRules||e.completion.additionalTextEdits)return!0;var n=t.editor.getPosition(),r=e.editStart.column,i=n.column;if(i-r!==e.completion.insertText.length)return!0;var o=t.editor.getModel().getValueInRange({startLineNumber:n.lineNumber,startColumn:r,endLineNumber:n.lineNumber,endColumn:i});return o!==e.completion.insertText};F["b"].once(this.model.onDidTrigger)((function(e){var n=[];F["b"].any(t.model.onDidTrigger,t.model.onDidCancel)((function(){Object(s["f"])(n),r()}),void 0,n),t.model.onDidSuggest((function(e){var o=e.completionModel;if(Object(s["f"])(n),0!==o.items.length){var a=t._memoryService.select(t.editor.getModel(),t.editor.getPosition(),o.items),l=o.items[a];i(l)?(t.editor.pushUndoStop(),t._insertSuggestion({index:a,item:l,model:o},7)):r()}else r()}),void 0,n)})),this.model.trigger({auto:!1,shy:!0}),this.editor.revealLine(n.lineNumber,0),this.editor.focus()}},e.prototype.acceptSelectedSuggestion=function(e,t){var n=this.widget.getValue().getFocusedItem(),r=0;e&&(r|=4),t&&(r|=8),this._insertSuggestion(n,r)},e.prototype.acceptNextSuggestion=function(){this._alternatives.getValue().next()},e.prototype.acceptPrevSuggestion=function(){this._alternatives.getValue().prev()},e.prototype.cancelSuggestWidget=function(){this.model.cancel(),this.model.clear(),this.widget.getValue().hideWidget()},e.prototype.selectNextSuggestion=function(){this.widget.getValue().selectNext()},e.prototype.selectNextPageSuggestion=function(){this.widget.getValue().selectNextPage()},e.prototype.selectLastSuggestion=function(){this.widget.getValue().selectLast()},e.prototype.selectPrevSuggestion=function(){this.widget.getValue().selectPrevious()},e.prototype.selectPrevPageSuggestion=function(){this.widget.getValue().selectPreviousPage()},e.prototype.selectFirstSuggestion=function(){this.widget.getValue().selectFirst()},e.prototype.toggleSuggestionDetails=function(){this.widget.getValue().toggleDetails()},e.prototype.toggleExplainMode=function(){this.widget.getValue().toggleExplainMode()},e.prototype.toggleSuggestionFocus=function(){this.widget.getValue().toggleDetailsFocus()},e.ID="editor.contrib.suggestController",e=At([Rt(1,St["a"]),Rt(2,M),Rt(3,L["b"]),Rt(4,I["c"]),Rt(5,y["a"])],e),e}(),zt=function(e){function t(){return e.call(this,{id:t.id,label:N["a"]("suggest.trigger.label","Trigger Suggest"),alias:"Trigger Suggest",precondition:I["a"].and(d["a"].writable,d["a"].hasCompletionItemProvider),kbOpts:{kbExpr:d["a"].textInputFocus,primary:2058,mac:{primary:266,secondary:[521]},weight:100}})||this}return Tt(t,e),t.prototype.run=function(e,t){var n=Vt.get(t);n&&n.triggerSuggest()},t.id="editor.action.triggerSuggest",t}(l["b"]);Object(l["h"])(Vt.ID,Vt),Object(l["f"])(zt);var Wt=190,Ht=l["c"].bindToContribution(Vt.get);Object(l["g"])(new Ht({id:"acceptSelectedSuggestion",precondition:P["b"].Visible,handler:function(e){e.acceptSelectedSuggestion(!0,!1)}})),T["a"].registerKeybindingRule({id:"acceptSelectedSuggestion",when:I["a"].and(P["b"].Visible,d["a"].textInputFocus),primary:2,weight:Wt}),T["a"].registerKeybindingRule({id:"acceptSelectedSuggestion",when:I["a"].and(P["b"].Visible,d["a"].textInputFocus,P["b"].AcceptSuggestionsOnEnter,P["b"].MakesTextEdit),primary:3,weight:Wt}),Object(l["g"])(new Ht({id:"acceptAlternativeSelectedSuggestion",precondition:I["a"].and(P["b"].Visible,d["a"].textInputFocus),kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:1027,secondary:[1026]},handler:function(e){e.acceptSelectedSuggestion(!1,!0)}})),L["a"].registerCommandAlias("acceptSelectedSuggestionOnEnter","acceptSelectedSuggestion"),Object(l["g"])(new Ht({id:"hideSuggestWidget",precondition:P["b"].Visible,handler:function(e){return e.cancelSuggestWidget()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:9,secondary:[1033]}})),Object(l["g"])(new Ht({id:"selectNextSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectNextSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:18,secondary:[2066],mac:{primary:18,secondary:[2066,300]}}})),Object(l["g"])(new Ht({id:"selectNextPageSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectNextPageSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:12,secondary:[2060]}})),Object(l["g"])(new Ht({id:"selectLastSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectLastSuggestion()}})),Object(l["g"])(new Ht({id:"selectPrevSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectPrevSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:16,secondary:[2064],mac:{primary:16,secondary:[2064,302]}}})),Object(l["g"])(new Ht({id:"selectPrevPageSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectPrevPageSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:11,secondary:[2059]}})),Object(l["g"])(new Ht({id:"selectFirstSuggestion",precondition:I["a"].and(P["b"].Visible,P["b"].MultipleSuggestions),handler:function(e){return e.selectFirstSuggestion()}})),Object(l["g"])(new Ht({id:"toggleSuggestionDetails",precondition:P["b"].Visible,handler:function(e){return e.toggleSuggestionDetails()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:2058,mac:{primary:266}}})),Object(l["g"])(new Ht({id:"toggleExplainMode",precondition:P["b"].Visible,handler:function(e){return e.toggleExplainMode()},kbOpts:{weight:100,primary:2133}})),Object(l["g"])(new Ht({id:"toggleSuggestionFocus",precondition:P["b"].Visible,handler:function(e){return e.toggleSuggestionFocus()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:2570,mac:{primary:778}}})),Object(l["g"])(new Ht({id:"insertBestCompletion",precondition:I["a"].and(I["a"].equals("config.editor.tabCompletion","on"),Ct.AtEnd,P["b"].Visible.toNegated(),j.OtherSuggestions.toNegated(),h["SnippetController2"].InSnippetMode.toNegated()),handler:function(e,t){e.triggerSuggestAndAcceptBest(Object(Ot["i"])(t)?Pt({fallback:"tab"},t):{fallback:"tab"})},kbOpts:{weight:Wt,primary:2}})),Object(l["g"])(new Ht({id:"insertNextSuggestion",precondition:I["a"].and(I["a"].equals("config.editor.tabCompletion","on"),j.OtherSuggestions,P["b"].Visible.toNegated(),h["SnippetController2"].InSnippetMode.toNegated()),handler:function(e){return e.acceptNextSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:2}})),Object(l["g"])(new Ht({id:"insertPrevSuggestion",precondition:I["a"].and(I["a"].equals("config.editor.tabCompletion","on"),j.OtherSuggestions,P["b"].Visible.toNegated(),h["SnippetController2"].InSnippetMode.toNegated()),handler:function(e){return e.acceptPrevSuggestion()},kbOpts:{weight:Wt,kbExpr:d["a"].textInputFocus,primary:1026}}))},epnl:function(e,t,n){},eq1K:function(e,t,n){},erNZ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r,i=n("N0LK");r="undefined"!==typeof TextDecoder?function(e){return new o(e)}:function(e){return new a};var o=function(){function e(e){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}return e.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},e.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},e.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(e)},e.prototype._flushBuffer=function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e},e.prototype.write1=function(e){var t=this._capacity-this._bufferLength;t<=1&&(0===t||i["z"](e))&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCII=function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},e.prototype.appendASCIIString=function(e){var t=e.length;if(this._bufferLength+t>=this._capacity)return this._flushBuffer(),void(this._completedStrings[this._completedStrings.length]=e);for(var n=0;n<t;n++)this._buffer[this._bufferLength++]=e.charCodeAt(n)},e}(),a=function(){function e(){this._pieces=[],this._piecesLen=0}return e.prototype.reset=function(){this._pieces=[],this._piecesLen=0},e.prototype.build=function(){return this._pieces.join("")},e.prototype.write1=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCII=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},e.prototype.appendASCIIString=function(e){this._pieces[this._piecesLen++]=e},e}()},ewwo:function(e,t,n){var r=n("bMXI"),i=n("+TT/"),o=i.getLayoutRect,a=n("4mN7");function s(e,t,n){var r=e.getBoxLayoutParams();return r.aspect=n,o(r,{width:t.getWidth(),height:t.getHeight()})}function l(e,t){var n=[];return e.eachSeriesByType("graph",(function(e){var i=e.get("coordinateSystem");if(!i||"view"===i){var o=e.getData(),l=o.mapArray((function(e){var t=o.getItemModel(e);return[+t.get("x"),+t.get("y")]})),u=[],c=[];a.fromPoints(l,u,c),c[0]-u[0]===0&&(c[0]+=1,u[0]-=1),c[1]-u[1]===0&&(c[1]+=1,u[1]-=1);var d=(c[0]-u[0])/(c[1]-u[1]),h=s(e,t,d);isNaN(d)&&(u=[h.x,h.y],c=[h.x+h.width,h.y+h.height]);var f=c[0]-u[0],p=c[1]-u[1],g=h.width,m=h.height,v=e.coordinateSystem=new r;v.zoomLimit=e.get("scaleLimit"),v.setBoundingRect(u[0],u[1],f,p),v.setViewRect(h.x,h.y,g,m),v.setCenter(e.get("center")),v.setZoom(e.get("zoom")),n.push(v)}})),n}e.exports=l},f1nB:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("bYtY"),a=n("4NO4"),s=n("IwbS"),l=n("+TT/"),u=n("OELB"),c=u.parsePercent,d={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};i.registerPreprocessor((function(e){var t=e.graphic;o.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var h=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,h.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,s=[];this._flatten(r,s);var l=a.mappingToExists(i,s);a.makeIdAndName(l);var u=this._elOptionsToUpdate=[];o.each(l,(function(e,t){var n=e.option;n&&(u.push(n),v(e,n),y(i,t,n),b(i[t],n))}),this);for(var c=i.length-1;c>=0;c--)null==i[c]?i.splice(c,1):delete i[c].$action},_flatten:function(e,t,n){o.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;"group"===e.type&&r&&this._flatten(r,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function f(e,t,n,r){var i=n.type,o=d.hasOwnProperty(i)?d[i]:s.getShapeClass(i),a=new o(n);t.add(a),r.set(e,a),a.__ecGraphicId=e}function p(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){p(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function g(e){return e=o.extend({},e),o.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function m(e,t){var n;return o.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function v(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function y(e,t,n){var r=o.extend({},n),i=e[t],a=n.$action||"merge";"merge"===a?i?(o.merge(i,r,!0),l.mergeLayoutParam(i,r,{ignoreSize:!0}),l.copyLayoutParams(n,i)):e[t]=r:"replace"===a?e[t]=r:"remove"===a&&i&&(e[t]=null)}function b(e,t){e&&(e.hv=t.hv=[m(t,["left","right"]),m(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function _(e,t,n){var r=e.eventData;e.silent||e.ignore||r||(r=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=e.info)}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=o.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group;o.each(t,(function(t){var i=t.$action,o=t.id,a=n.get(o),s=t.parentId,l=null!=s?n.get(s):r,u=t.style;"text"===t.type&&u&&(t.hv&&t.hv[1]&&(u.textVerticalAlign=u.textBaseline=null),!u.hasOwnProperty("textFill")&&u.fill&&(u.textFill=u.fill),!u.hasOwnProperty("textStroke")&&u.stroke&&(u.textStroke=u.stroke));var c=g(t);i&&"merge"!==i?"replace"===i?(p(a,n),f(o,l,c,n)):"remove"===i&&p(a,n):a?a.attr(c):f(o,l,c,n);var d=n.get(o);d&&(d.__ecGraphicWidthOption=t.width,d.__ecGraphicHeightOption=t.height,_(d,e,t))}))}},_relocate:function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,o=t.getWidth(),a=t.getHeight(),s=0;s<n.length;s++){var u=n[s],d=i.get(u.id);if(d&&d.isGroup){var h=d.parent,f=h===r;d.__ecGraphicWidth=c(d.__ecGraphicWidthOption,f?o:h.__ecGraphicWidth)||0,d.__ecGraphicHeight=c(d.__ecGraphicHeightOption,f?a:h.__ecGraphicHeight)||0}}for(s=n.length-1;s>=0;s--){u=n[s],d=i.get(u.id);if(d){h=d.parent;var p=h===r?{width:o,height:a}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight};l.positionElement(d,u,p,null,{hv:u.hv,boundingMode:u.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){p(t,e)})),this._elMap=o.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(e,t,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(e,t,n){var r=n("IwbS"),i=n("QBsz"),o=r.Line.prototype,a=r.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=r.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return i.normalize(n,n)},_tangentAtCurve:a.tangentAt});e.exports=l},f5Yq:function(e,t,n){var r=n("bYtY"),i=r.isFunction;function o(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,r,o){var a=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),u=e.get("symbolKeepAspect"),c=e.get("symbolRotate"),d=i(s),h=i(l),f=i(c),p=d||h||f,g=!d&&s?s:t,m=h?null:l;if(a.setVisual({legendSymbol:n||g,symbol:g,symbolSize:m,symbolKeepAspect:u,symbolRotate:c}),!r.isSeriesFiltered(e))return{dataEach:a.hasItemOption||p?v:null};function v(t,n){if(p){var r=e.getRawValue(n),i=e.getDataParams(n);d&&t.setItemVisual(n,"symbol",s(r,i)),h&&t.setItemVisual(n,"symbolSize",l(r,i)),f&&t.setItemVisual(n,"symbolRotate",c(r,i))}if(t.hasItemOption){var o=t.getItemModel(n),a=o.getShallow("symbol",!0),u=o.getShallow("symbolSize",!0),g=o.getShallow("symbolRotate",!0),m=o.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(n,"symbol",a),null!=u&&t.setItemVisual(n,"symbolSize",u),null!=g&&t.setItemVisual(n,"symbolRotate",g),null!=m&&t.setItemVisual(n,"symbolKeepAspect",m)}}}}}e.exports=o},fAei:function(e,t,n){"use strict";n.d(t,"a",(function(){return x["a"]}));var r=n("rePB"),i=n("KQm4"),o=n("1OyB"),a=n("vuIU"),s=n("Ji7U"),l=n("md7G"),u=n("foSv"),c=n("q1tI"),d=n("4IlW"),h=n("Kwbf"),f=n("TSYQ"),p=n.n(f),g=n("sboe"),m=n("OZM5"),v=n("815F"),y=n("ODXe"),b=n("Ff2n"),_=n("+nKL"),w=n("lCnp"),x=n("WaYH"),C=function(e,t){var n=e.className,r=e.style,i=e.motion,o=e.motionNodes,a=e.motionType,s=e.onMotionEnd,l=e.active,u=e.treeNodeRequiredProps,d=Object(b["a"])(e,["className","style","motion","motionNodes","motionType","onMotionEnd","active","treeNodeRequiredProps"]),h=c["useState"](!0),f=Object(y["a"])(h,2),m=f[0],_=f[1],C=c["useContext"](g["a"]),S=C.prefixCls,O=c["useRef"](!1),k=function(){O.current||s(),O.current=!0};return c["useEffect"]((function(){o&&"hide"===a&&m&&_(!1)}),[o]),c["useEffect"]((function(){return function(){o&&k()}}),[]),o?c["createElement"](w["a"],Object.assign({ref:t,visible:m},i,{motionAppear:"show"===a,onAppearEnd:k,onLeaveEnd:k}),(function(e,t){var n=e.className,r=e.style;return c["createElement"]("div",{ref:t,className:p()("".concat(S,"-treenode-motion"),n),style:r},o.map((function(e){var t=e.data,n=t.key,r=Object(b["a"])(t,["key"]),i=e.isStart,o=e.isEnd;delete r.children;var a=Object(v["f"])(n,u);return c["createElement"](x["a"],Object.assign({},r,a,{active:l,data:e.data,key:n,isStart:i,isEnd:o}))})))})):c["createElement"](x["a"],Object.assign({domRef:t,className:n,style:r},d,{active:l}))};C.displayName="MotionTreeNode";var S=c["forwardRef"](C),O=S;function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,r=t.length;if(1!==Math.abs(n-r))return{add:!1,key:null};function i(e,t){var n=new Map;e.forEach((function(e){n.set(e,!0)}));var r=t.filter((function(e){return!n.has(e)}));return 1===r.length?r[0]:null}return n<r?{add:!0,key:i(e,t)}:{add:!1,key:i(t,e)}}function E(e,t,n){var r=e.findIndex((function(e){var t=e.data;return t.key===n})),i=e[r+1],o=t.findIndex((function(e){var t=e.data;return t.key===n}));if(i){var a=t.findIndex((function(e){var t=e.data;return t.key===i.data.key}));return t.slice(o+1,a)}return t.slice(o+1)}var D={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},M=function(){},N="RC_TREE_MOTION_".concat(Math.random()),L={key:N},I={key:N,level:0,index:0,pos:"0",node:L},T={parent:null,children:[],pos:I.pos,data:L,isStart:[],isEnd:[]};function P(e,t,n){return t?e.slice(0,Math.ceil(t/n)+1):e}function A(e){var t=e.data.key,n=e.pos;return Object(v["e"])(t,n)}function R(e){var t=String(e.data.key),n=e;while(n.parent)n=n.parent,t="".concat(n.data.key," > ").concat(t);return t}var j=function(e,t){var n=e.prefixCls,r=e.data,i=(e.selectable,e.checkable,e.expandedKeys),o=e.selectedKeys,a=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,h=e.disabled,f=e.dragging,p=e.dragOverNodeKey,g=e.dropPosition,m=e.motion,w=e.height,x=e.itemHeight,C=e.virtual,S=e.focusable,L=e.activeItem,I=e.focused,j=e.tabIndex,F=e.onKeyDown,B=e.onFocus,V=e.onBlur,z=e.onActiveChange,W=e.onListChangeStart,H=e.onListChangeEnd,U=Object(b["a"])(e,["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"]),K=c["useRef"](null);c["useImperativeHandle"](t,(function(){return{scrollTo:function(e){K.current.scrollTo(e)}}}));var G=c["useState"](!1),q=Object(y["a"])(G,2),Y=q[0],X=q[1],Z=c["useState"](i),Q=Object(y["a"])(Z,2),$=Q[0],J=Q[1],ee=c["useState"](r),te=Object(y["a"])(ee,2),ne=te[0],re=te[1],ie=c["useState"](r),oe=Object(y["a"])(ie,2),ae=oe[0],se=oe[1],le=c["useState"]([]),ue=Object(y["a"])(le,2),ce=ue[0],de=ue[1],he=c["useState"](null),fe=Object(y["a"])(he,2),pe=fe[0],ge=fe[1];function me(){re(r),se(r),de([]),ge(null),X(!1),H()}c["useEffect"]((function(){J(i);var e=k($,i);if(null!==e.key){if(e.add){var t=ne.findIndex((function(t){var n=t.data.key;return n===e.key}));m&&X(!0);var n=P(E(ne,r,e.key),w,x),o=ne.slice();o.splice(t+1,0,T),se(o),de(n),ge("show")}else{var a=r.findIndex((function(t){var n=t.data.key;return n===e.key}));m&&X(!0);var s=P(E(r,ne,e.key),w,x),l=r.slice();l.splice(a+1,0,T),se(l),de(s),ge("hide")}m&&W()}else ne!==r&&(re(r),se(r))}),[i,r]),c["useEffect"]((function(){f||me()}),[f]);var ve=m?ae:r,ye={expandedKeys:i,selectedKeys:o,loadedKeys:s,loadingKeys:l,checkedKeys:a,halfCheckedKeys:u,dragOverNodeKey:p,dropPosition:g,keyEntities:d};return c["createElement"](c["Fragment"],null,I&&L&&c["createElement"]("span",{style:D,"aria-live":"assertive"},R(L)),c["createElement"]("div",{role:"tree"},c["createElement"]("input",{style:D,disabled:!1===S||h,tabIndex:!1!==S?j:null,onKeyDown:F,onFocus:B,onBlur:V,value:"",onChange:M})),c["createElement"](_["a"],Object.assign({},U,{disabled:Y,data:ve,itemKey:A,height:w,fullHeight:!1,virtual:C,itemHeight:x,onSkipRender:me,prefixCls:"".concat(n,"-list"),ref:K}),(function(e){var t=e.pos,n=e.data,r=n.key,i=Object(b["a"])(n,["key"]),o=e.isStart,a=e.isEnd,s=Object(v["e"])(r,t);delete i.children;var l=Object(v["f"])(s,ye);return c["createElement"](O,Object.assign({},i,l,{active:L&&r===L.data.key,pos:t,data:e.data,isStart:o,isEnd:a,motion:m,motionNodes:r===N?ce:null,motionType:pe,onMotionEnd:me,treeNodeRequiredProps:ye,onMouseMove:function(){z(null)}}))})))},F=c["forwardRef"](j);F.displayName="NodeList";var B=F,V=n("NvD2");function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e){var t=U();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function U(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var K=function(e){Object(s["a"])(n,e);var t=H(n);function n(){var e;return Object(o["a"])(this,n),e=t.apply(this,arguments),e.state={keyEntities:{},selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],dragging:!1,dragNodesKeys:[],dragOverNodeKey:null,dropPosition:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null},e.listRef=c["createRef"](),e.onNodeDragStart=function(t,n){var r=e.state,i=r.expandedKeys,o=r.keyEntities,a=e.props.onDragStart,s=n.props.eventKey;e.dragNode=n;var l=Object(m["b"])(i,s);e.setState({dragging:!0,dragNodesKeys:Object(m["g"])(s,o)}),e.setExpandedKeys(l),a&&a({event:t,node:Object(v["b"])(n.props)})},e.onNodeDragEnter=function(t,n){var r=e.state,o=r.expandedKeys,a=r.keyEntities,s=r.dragNodesKeys,l=e.props.onDragEnter,u=n.props,c=u.pos,d=u.eventKey;if(e.dragNode&&-1===s.indexOf(d)){var h=Object(m["c"])(t,n);e.dragNode.props.eventKey!==d||0!==h?setTimeout((function(){e.setState({dragOverNodeKey:d,dropPosition:h}),e.delayedDragEnterLogic||(e.delayedDragEnterLogic={}),Object.keys(e.delayedDragEnterLogic).forEach((function(t){clearTimeout(e.delayedDragEnterLogic[t])})),e.delayedDragEnterLogic[c]=window.setTimeout((function(){if(e.state.dragging){var r=Object(i["a"])(o),s=a[d];s&&(s.children||[]).length&&(r=Object(m["a"])(o,d)),"expandedKeys"in e.props||e.setExpandedKeys(r),l&&l({event:t,node:Object(v["b"])(n.props),expandedKeys:r})}}),400)}),0):e.setState({dragOverNodeKey:"",dropPosition:null})}},e.onNodeDragOver=function(t,n){var r=e.state.dragNodesKeys,i=e.props.onDragOver,o=n.props.eventKey;if(-1===r.indexOf(o)){if(e.dragNode&&o===e.state.dragOverNodeKey){var a=Object(m["c"])(t,n);if(a===e.state.dropPosition)return;e.setState({dropPosition:a})}i&&i({event:t,node:Object(v["b"])(n.props)})}},e.onNodeDragLeave=function(t,n){var r=e.props.onDragLeave;e.setState({dragOverNodeKey:""}),r&&r({event:t,node:Object(v["b"])(n.props)})},e.onNodeDragEnd=function(t,n){var r=e.props.onDragEnd;e.setState({dragOverNodeKey:""}),e.cleanDragState(),r&&r({event:t,node:Object(v["b"])(n.props)}),e.dragNode=null},e.onNodeDrop=function(t,n){var r=e.state,i=r.dragNodesKeys,o=void 0===i?[]:i,a=r.dropPosition,s=e.props.onDrop,l=n.props,u=l.eventKey,c=l.pos;if(e.setState({dragOverNodeKey:""}),e.cleanDragState(),-1===o.indexOf(u)){var d=Object(m["k"])(c),f={event:t,node:Object(v["b"])(n.props),dragNode:e.dragNode?Object(v["b"])(e.dragNode.props):null,dragNodesKeys:o.slice(),dropPosition:a+Number(d[d.length-1]),dropToGap:!1};0!==a&&(f.dropToGap=!0),s&&s(f),e.dragNode=null}else Object(h["a"])(!1,"Can not drop to dragNode(include it's children node)")},e.cleanDragState=function(){var t=e.state.dragging;t&&e.setState({dragging:!1})},e.onNodeClick=function(t,n){var r=e.props.onClick;r&&r(t,n)},e.onNodeDoubleClick=function(t,n){var r=e.props.onDoubleClick;r&&r(t,n)},e.onNodeSelect=function(t,n){var r=e.state.selectedKeys,i=e.state.keyEntities,o=e.props,a=o.onSelect,s=o.multiple,l=n.selected,u=n.key,c=!l;r=c?s?Object(m["a"])(r,u):[u]:Object(m["b"])(r,u);var d=r.map((function(e){var t=i[e];return t?t.node:null})).filter((function(e){return e}));e.setUncontrolledState({selectedKeys:r}),a&&a(r,{event:"select",selected:c,node:n,selectedNodes:d,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,r){var o,a=e.state,s=a.keyEntities,l=a.checkedKeys,u=a.halfCheckedKeys,c=e.props,d=c.checkStrictly,h=c.onCheck,f=n.key,p={event:"check",node:n,checked:r,nativeEvent:t.nativeEvent};if(d){var g=r?Object(m["a"])(l,f):Object(m["b"])(l,f),v=Object(m["b"])(u,f);o={checked:g,halfChecked:v},p.checkedNodes=g.map((function(e){return s[e]})).filter((function(e){return e})).map((function(e){return e.node})),e.setUncontrolledState({checkedKeys:g})}else{var y=Object(V["a"])([].concat(Object(i["a"])(l),[f]),!0,s),b=y.checkedKeys,_=y.halfCheckedKeys;if(!r){var w=new Set(b);w.delete(f);var x=Object(V["a"])(Array.from(w),{checked:!1,halfCheckedKeys:_},s);b=x.checkedKeys,_=x.halfCheckedKeys}o=b,p.checkedNodes=[],p.checkedNodesPositions=[],p.halfCheckedKeys=_,b.forEach((function(e){var t=s[e];if(t){var n=t.node,r=t.pos;p.checkedNodes.push(n),p.checkedNodesPositions.push({node:n,pos:r})}})),e.setUncontrolledState({checkedKeys:b},!1,{halfCheckedKeys:_})}h&&h(o,p)},e.onNodeLoad=function(t){return new Promise((function(n){e.setState((function(r){var i=r.loadedKeys,o=void 0===i?[]:i,a=r.loadingKeys,s=void 0===a?[]:a,l=e.props,u=l.loadData,c=l.onLoad,d=t.key;if(!u||-1!==o.indexOf(d)||-1!==s.indexOf(d))return{};var h=u(t);return h.then((function(){var r=e.state,i=r.loadedKeys,o=r.loadingKeys,a=Object(m["a"])(i,d),s=Object(m["b"])(o,d);c&&c(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState({loadingKeys:s}),n()})),{loadingKeys:Object(m["a"])(s,d)}}))}))},e.onNodeMouseEnter=function(t,n){var r=e.props.onMouseEnter;r&&r({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var r=e.props.onMouseLeave;r&&r({event:t,node:n})},e.onNodeContextMenu=function(t,n){var r=e.props.onRightClick;r&&(t.preventDefault(),r({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0}),t&&t.apply(void 0,arguments)},e.onBlur=function(){var t=e.props.onBlur;e.setState({focused:!1}),e.onActiveChange(null),t&&t.apply(void 0,arguments)},e.getTreeNodeRequiredProps=function(){var t=e.state,n=t.expandedKeys,r=t.selectedKeys,i=t.loadedKeys,o=t.loadingKeys,a=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,c=t.keyEntities;return{expandedKeys:n||[],selectedKeys:r||[],loadedKeys:i||[],loadingKeys:o||[],checkedKeys:a||[],halfCheckedKeys:s||[],dragOverNodeKey:l,dropPosition:u,keyEntities:c}},e.setExpandedKeys=function(t){var n=e.state.treeData,r=Object(v["d"])(n,t);e.setUncontrolledState({expandedKeys:t,flattenNodes:r},!0)},e.onNodeExpand=function(t,n){var r=e.state.expandedKeys,i=e.state.listChanging,o=e.props,a=o.onExpand,s=o.loadData,l=n.key,u=n.expanded;if(!i){var c=r.indexOf(l),d=!u;if(Object(h["a"])(u&&-1!==c||!u&&-1===c,"Expand state not sync with index check"),r=d?Object(m["a"])(r,l):Object(m["b"])(r,l),e.setExpandedKeys(r),a&&a(r,{node:n,expanded:d,nativeEvent:t.nativeEvent}),d&&s){var f=e.onNodeLoad(n);f&&f.then((function(){var t=Object(v["d"])(e.state.treeData,r);e.setUncontrolledState({flattenNodes:t})}))}}},e.onListChangeStart=function(){e.setUncontrolledState({listChanging:!0})},e.onListChangeEnd=function(){setTimeout((function(){e.setUncontrolledState({listChanging:!1})}))},e.onActiveChange=function(t){var n=e.state.activeKey,r=e.props.onActiveChange;n!==t&&(e.setState({activeKey:t}),null!==t&&e.scrollTo({key:t}),r&&r(t))},e.getActiveItem=function(){var t=e.state,n=t.activeKey,r=t.flattenNodes;return null===n?null:r.find((function(e){var t=e.data.key;return t===n}))||null},e.offsetActiveKey=function(t){var n=e.state,r=n.flattenNodes,i=n.activeKey,o=r.findIndex((function(e){var t=e.data.key;return t===i}));-1===o&&t<0&&(o=r.length),o=(o+t+r.length)%r.length;var a=r[o];if(a){var s=a.data.key;e.onActiveChange(s)}else e.onActiveChange(null)},e.onKeyDown=function(t){var n=e.state,r=n.activeKey,i=n.expandedKeys,o=n.checkedKeys,a=e.props,s=a.onKeyDown,l=a.checkable,u=a.selectable;switch(t.which){case d["a"].UP:e.offsetActiveKey(-1),t.preventDefault();break;case d["a"].DOWN:e.offsetActiveKey(1),t.preventDefault();break}var c=e.getActiveItem();if(c&&c.data){var h=e.getTreeNodeRequiredProps(),f=!1===c.data.isLeaf||!!(c.data.children||[]).length,p=Object(v["b"])(W(W({},Object(v["f"])(r,h)),{},{data:c.data,active:!0}));switch(t.which){case d["a"].LEFT:f&&i.includes(r)?e.onNodeExpand({},p):c.parent&&e.onActiveChange(c.parent.data.key),t.preventDefault();break;case d["a"].RIGHT:f&&!i.includes(r)?e.onNodeExpand({},p):c.children&&c.children.length&&e.onActiveChange(c.children[0].data.key),t.preventDefault();break;case d["a"].ENTER:case d["a"].SPACE:!l||p.disabled||!1===p.checkable||p.disableCheckbox?l||!u||p.disabled||!1===p.selectable||e.onNodeSelect({},p):e.onNodeCheck({},p,!o.includes(r));break}}s&&s(t)},e.setUncontrolledState=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!1,o=!0,a={};Object.keys(t).forEach((function(n){n in e.props?o=!1:(i=!0,a[n]=t[n])})),!i||n&&!o||e.setState(W(W({},a),r))},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return Object(a["a"])(n,[{key:"render",value:function(){var e,t=this.state,n=t.focused,i=t.flattenNodes,o=t.keyEntities,a=t.dragging,s=t.activeKey,l=this.props,u=l.prefixCls,d=l.className,h=l.style,f=l.showLine,v=l.focusable,y=l.tabIndex,b=void 0===y?0:y,_=l.selectable,w=l.showIcon,x=l.icon,C=l.switcherIcon,S=l.draggable,O=l.checkable,k=l.checkStrictly,E=l.disabled,D=l.motion,M=l.loadData,N=l.filterTreeNode,L=l.height,I=l.itemHeight,T=l.virtual,P=Object(m["f"])(this.props);return c["createElement"](g["a"].Provider,{value:{prefixCls:u,selectable:_,showIcon:w,icon:x,switcherIcon:C,draggable:S,checkable:O,checkStrictly:k,disabled:E,keyEntities:o,loadData:M,filterTreeNode:N,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},c["createElement"]("div",{className:p()(u,d,(e={},Object(r["a"])(e,"".concat(u,"-show-line"),f),Object(r["a"])(e,"".concat(u,"-focused"),n),Object(r["a"])(e,"".concat(u,"-active-focused"),null!==s),e))},c["createElement"](B,Object.assign({ref:this.listRef,prefixCls:u,style:h,data:i,disabled:E,selectable:_,checkable:!!O,motion:D,dragging:a,height:L,itemHeight:I,virtual:T,focusable:v,focused:n,tabIndex:b,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd},this.getTreeNodeRequiredProps(),P))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,i=t.prevProps,o={prevProps:e};function a(t){return!i&&t in e||i&&i[t]!==e[t]}if(a("treeData")?n=e.treeData:a("children")&&(Object(h["a"])(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=Object(v["c"])(e.children)),n){o.treeData=n;var s=Object(v["a"])(n);o.keyEntities=W(Object(r["a"])({},N,I),s.keyEntities)}var l,u=o.keyEntities||t.keyEntities;if(a("expandedKeys")||i&&a("autoExpandParent"))o.expandedKeys=e.autoExpandParent||!i&&e.defaultExpandParent?Object(m["e"])(e.expandedKeys,u):e.expandedKeys;else if(!i&&e.defaultExpandAll){var c=W({},u);delete c[N],o.expandedKeys=Object.keys(c).map((function(e){return c[e].key}))}else!i&&e.defaultExpandedKeys&&(o.expandedKeys=e.autoExpandParent||e.defaultExpandParent?Object(m["e"])(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(o.expandedKeys||delete o.expandedKeys,n||o.expandedKeys){var d=Object(v["d"])(n||t.treeData,o.expandedKeys||t.expandedKeys);o.flattenNodes=d}if((e.selectable&&(a("selectedKeys")?o.selectedKeys=Object(m["d"])(e.selectedKeys,e):!i&&e.defaultSelectedKeys&&(o.selectedKeys=Object(m["d"])(e.defaultSelectedKeys,e))),e.checkable)&&(a("checkedKeys")?l=Object(m["j"])(e.checkedKeys)||{}:!i&&e.defaultCheckedKeys?l=Object(m["j"])(e.defaultCheckedKeys)||{}:n&&(l=Object(m["j"])(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),l)){var f=l,p=f.checkedKeys,g=void 0===p?[]:p,y=f.halfCheckedKeys,b=void 0===y?[]:y;if(!e.checkStrictly){var _=Object(V["a"])(g,!0,u);g=_.checkedKeys,b=_.halfCheckedKeys}o.checkedKeys=g,o.halfCheckedKeys=b}return a("loadedKeys")&&(o.loadedKeys=e.loadedKeys),o}}]),n}(c["Component"]);K.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[]},K.TreeNode=x["a"];var G=K;t["b"]=G},fE02:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var d=u.toolbox.dataZoom,h=i.each,f="\0_ec_\0toolbox-dataZoom_";function p(e,t,n){(this._brushController=new o(n.getZr())).on("brush",i.bind(this._onBrush,this)).mount(),this._isZoomActive}p.defaultOption={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:i.clone(d.title)};var g=p.prototype;g.render=function(e,t,n,r){this.model=e,this.ecModel=t,this.api=n,b(e,t,this,r,n),y(e,t)},g.onclick=function(e,t,n){m[n].call(this)},g.remove=function(e,t){this._brushController.unmount()},g.dispose=function(e,t){this._brushController.dispose()};var m={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function v(e){var t={};return i.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}function y(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}function b(e,t,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,e.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(v(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}g._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new a(v(this.model.option),r,{include:["grid"]});i.matchOutputRanges(e,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(o("x",n,t[0]),o("y",n,t[1])):o({lineX:"x",lineY:"y"}[r],n,t)}})),s.push(r,n),this._dispatchZoomAction(n)}function o(e,t,i){var o=t.getAxis(e),a=o.model,s=u(e,a,r),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(i=l(0,i.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}function u(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},g._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(i.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},c.register("dataZoom",p),r.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);i.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(e,n){if(n){var r=e+"Index",o=n[r];null==o||"all"===o||i.isArray(o)||(o=!1===o||"none"===o?[]:[o]),a(e,(function(a,s){if(null==o||"all"===o||-1!==i.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:f+e+s};l[r]=s,t.push(l)}}))}}function a(t,n){var r=e[t];i.isArray(r)||(r=r?[r]:[]),h(r,n)}}));var _=p;e.exports=_},fEPi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("9Odx"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},fGT3:function(e,t,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}e.exports=a},fNCr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("tSko"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},"fR/l":function(e,t,n){var r=n("CH3K"),i=n("Z0cm");function o(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}e.exports=o},fUL4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("r+aA"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},fW2E:function(e,t){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function r(e,t,r){return n.hasOwnProperty(t)?r*e.dpr:r}e.exports=r},"fc+c":function(e,t,n){var r=n("sS/r"),i=r.extend({type:"dataZoom",render:function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};function r(e,t,n,r){for(var i,o=0;o<n.length;o++)if(n[o].model===e){i=n[o];break}i||n.push(i={model:e,axisModels:[],coordIndex:r}),i.axisModels.push(t)}return e.eachTargetAxis((function(e,i){var o=t.getComponent(e.axis,i);if(o){var a=o.getCoordSysModel();a&&r(a,o,n[a.mainType]||(n[a.mainType]=[]),a.componentIndex)}}),this),n}});e.exports=i},feEw:function(e,t,n){"use strict";n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return N}));var r=n("qj0h"),i=n("pmY6"),o=n("pg8w"),a=n("EffR"),s=n("MI8n"),l=n("4y0V"),u=n("GJhM"),c=n("nuFA");function d(e,t){for(var n=[],r=0,i=t;r<i.length;r++){var o=i[r];if(!(e.start>=o.range.end)){if(e.end<o.range.start)break;var a=c["a"].intersect(e,o.range);c["a"].isEmpty(a)||n.push({range:a,size:o.size})}}return n}function h(e,t){var n=e.start,r=e.end;return{start:n+t,end:r+t}}function f(e){for(var t=[],n=null,r=0,i=e;r<i.length;r++){var o=i[r],a=o.range.start,s=o.range.end,l=o.size;n&&l===n.size?n.range.end=s:(n={range:{start:a,end:s},size:l},t.push(n))}return t}function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return f(e.reduce((function(e,t){return e.concat(t)}),[]))}var g=function(){function e(){this.groups=[],this._size=0}return e.prototype.splice=function(e,t,n){void 0===n&&(n=[]);var r=n.length-t,i=d({start:0,end:e},this.groups),o=d({start:e+t,end:Number.POSITIVE_INFINITY},this.groups).map((function(e){return{range:h(e.range,r),size:e.size}})),a=n.map((function(t,n){return{range:{start:e+n,end:e+n+1},size:t.size}}));this.groups=p(i,a,o),this._size=this.groups.reduce((function(e,t){return e+t.size*(t.range.end-t.range.start)}),0)},Object.defineProperty(e.prototype,"count",{get:function(){var e=this.groups.length;return e?this.groups[e-1].range.end:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.indexAt=function(e){if(e<0)return-1;for(var t=0,n=0,r=0,i=this.groups;r<i.length;r++){var o=i[r],a=o.range.end-o.range.start,s=n+a*o.size;if(e<s)return t+Math.floor((e-n)/o.size);t+=a,n=s}return t},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.count)},e.prototype.positionAt=function(e){if(e<0)return-1;for(var t=0,n=0,r=0,i=this.groups;r<i.length;r++){var o=i[r],a=o.range.end-o.range.start,s=n+a;if(e<s)return t+(e-n)*o.size;t+=a*o.size,n=s}return-1},e}();function m(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(t){}}var v=function(){function e(e){this.renderers=e,this.cache=new Map}return e.prototype.alloc=function(e){var t=this.getTemplateCache(e).pop();if(!t){var n=Object(a["a"])(".monaco-list-row"),r=this.getRenderer(e),i=r.renderTemplate(n);t={domNode:n,templateId:e,templateData:i}}return t},e.prototype.release=function(e){e&&this.releaseRow(e)},e.prototype.releaseRow=function(e){var t=e.domNode,n=e.templateId;t&&(Object(a["O"])(t,"scrolling"),m(t));var r=this.getTemplateCache(n);r.push(e)},e.prototype.getTemplateCache=function(e){var t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t},e.prototype.dispose=function(){var e=this;this.cache.forEach((function(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r],a=e.getRenderer(n);a.disposeTemplate(o.templateData),o.domNode=null,o.templateData=null}})),this.cache.clear()},e.prototype.getRenderer=function(e){var t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t},e}(),y=n("ZCR3"),b=n("6OMU"),_=n("ZQ78"),w=n("X+cX"),x=n("D3Dy"),C=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},S=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},O={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements:function(e){return[e]},getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},horizontalScrolling:!1},k=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),E=function(){function e(e){this.elements=e}return e.prototype.update=function(){},e.prototype.getData=function(){return this.elements},e}(),D=function(){function e(){this.types=[],this.files=[]}return e.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,S([0,this.types.length],e.types)),e.files){this.files.splice(0,this.files.length);for(var n=0;n<e.files.length;n++){var r=e.files.item(n);r&&(r.size||r.type)&&this.files.push(r)}}},e.prototype.getData=function(){return{types:this.types,files:this.files}},e}();function M(e,t){return Array.isArray(e)&&Array.isArray(t)?Object(b["g"])(e,t):e===t}var N=function(){function e(t,n,c,d){var h=this;if(void 0===d&&(d=O),this.virtualDelegate=n,this.domId="list_id_"+ ++e.InstanceCount,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new w["a"](50),this.splicing=!1,this.dragOverAnimationStopDisposable=i["a"].None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=i["a"].None,this.onDragLeaveTimeout=i["a"].None,this.disposables=new i["b"],this._onDidChangeContentHeight=new s["a"],d.horizontalScrolling&&d.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new g;for(var f=0,p=c;f<p.length;f++){var m=p[f];this.renderers.set(m.templateId,m)}this.cache=this.disposables.add(new v(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",a["e"](this.domNode,this.domId),this.domNode.tabIndex=0,a["X"](this.domNode,"mouse-support","boolean"!==typeof d.mouseSupport||d.mouseSupport),this.horizontalScrolling=Object(r["f"])(d,(function(e){return e.horizontalScrolling}),O.horizontalScrolling),a["X"](this.domNode,"horizontal-scrolling",this.horizontalScrolling),this.additionalScrollHeight="undefined"===typeof d.additionalScrollHeight?0:d.additionalScrollHeight,this.ariaProvider=d.ariaProvider||{getSetSize:function(e,t,n){return n},getPosInSet:function(e,t){return t+1}},this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)",this.disposables.add(o["b"].addTarget(this.rowsContainer)),this.scrollableElement=this.disposables.add(new u["b"](this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:this.horizontalScrolling?1:2,vertical:Object(r["f"])(d,(function(e){return e.verticalScrollMode}),O.verticalScrollMode),useShadows:Object(r["f"])(d,(function(e){return e.useShadows}),O.useShadows)})),this.domNode.appendChild(this.scrollableElement.getDomNode()),t.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(l["a"])(this.rowsContainer,o["a"].Change)(this.onTouchChange,this,this.disposables),Object(l["a"])(this.scrollableElement.getDomNode(),"scroll")((function(e){return e.target.scrollTop=0}),null,this.disposables),s["b"].map(Object(l["a"])(this.domNode,"dragover"),(function(e){return h.toDragEvent(e)}))(this.onDragOver,this,this.disposables),s["b"].map(Object(l["a"])(this.domNode,"drop"),(function(e){return h.toDragEvent(e)}))(this.onDrop,this,this.disposables),Object(l["a"])(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(l["a"])(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(r["f"])(d,(function(e){return e.setRowLineHeight}),O.setRowLineHeight),this.supportDynamicHeights=Object(r["f"])(d,(function(e){return e.supportDynamicHeights}),O.supportDynamicHeights),this.dnd=Object(r["f"])(d,(function(e){return e.dnd}),O.dnd),this.layout()}return Object.defineProperty(e.prototype,"contentHeight",{get:function(){return this.rangeMap.size},enumerable:!0,configurable:!0}),e.prototype.splice=function(e,t,n){if(void 0===n&&(n=[]),this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(e,t,n)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}},e.prototype._splice=function(e,t,n){var r,o=this;void 0===n&&(n=[]);for(var a=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),s={start:e,end:e+t},l=c["a"].intersect(a,s),u=l.start;u<l.end;u++)this.removeItemFromDOM(u);var d,f={start:e+t,end:this.items.length},p=c["a"].intersect(f,a),m=c["a"].relativeComplement(f,a),v=n.map((function(e){return{id:String(o.itemId++),element:e,templateId:o.virtualDelegate.getTemplateId(e),size:o.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!o.virtualDelegate.hasDynamicHeight&&o.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:i["a"].None}}));0===e&&t>=this.items.length?(this.rangeMap=new g,this.rangeMap.splice(0,0,v),this.items=v,d=[]):(this.rangeMap.splice(e,t,v),d=(r=this.items).splice.apply(r,S([e,t],v)));var y=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),_=h(p,y),w=c["a"].intersect(b,_);for(u=w.start;u<w.end;u++)this.updateItemInDOM(this.items[u],u);for(var x=c["a"].relativeComplement(_,b),C=0,O=x;C<O.length;C++){var k=O[C];for(u=k.start;u<k.end;u++)this.removeItemFromDOM(u)}for(var E=m.map((function(e){return h(e,y)})),D={start:e,end:e+n.length},M=S([D],E).map((function(e){return c["a"].intersect(b,e)})),N=this.getNextToLastElement(M),L=0,I=M;L<I.length;L++)for(k=I[L],u=k.start;u<k.end;u++)this.insertItemInDOM(u,N);return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),d.map((function(e){return e.element}))},e.prototype.eventuallyUpdateScrollDimensions=function(){var e=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=a["V"]((function(){e.scrollableElement.setScrollDimensions({scrollHeight:e.scrollHeight}),e.updateScrollWidth(),e.scrollableElementUpdateDisposable=null})))},e.prototype.eventuallyUpdateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.scrollableElementWidthDelayer.trigger((function(){return e.updateScrollWidth()}))},e.prototype.updateScrollWidth=function(){if(this.horizontalScrolling){0===this.items.length&&this.scrollableElement.setScrollDimensions({scrollWidth:0});for(var e=0,t=0,n=this.items;t<n.length;t++){var r=n[t];"undefined"!==typeof r.width&&(e=Math.max(e,r.width))}this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e+10})}},e.prototype.rerender=function(){if(this.supportDynamicHeights){for(var e=0,t=this.items;e<t.length;e++){var n=t[e];n.lastDynamicHeightWidth=void 0}this._rerender(this.lastRenderTop,this.lastRenderHeight)}},Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderHeight",{get:function(){var e=this.scrollableElement.getScrollDimensions();return e.height},enumerable:!0,configurable:!0}),e.prototype.element=function(e){return this.items[e].element},e.prototype.domElement=function(e){var t=this.items[e].row;return t&&t.domNode},e.prototype.elementHeight=function(e){return this.items[e].size},e.prototype.elementTop=function(e){return this.rangeMap.positionAt(e)},e.prototype.indexAt=function(e){return this.rangeMap.indexAt(e)},e.prototype.indexAfter=function(e){return this.rangeMap.indexAfter(e)},e.prototype.layout=function(e,t){var n={height:"number"===typeof e?e:a["z"](this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),"undefined"!==typeof t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"===typeof t?t:a["A"](this.domNode)}))},e.prototype.render=function(e,t,n,r){for(var i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),o=this.getRenderRange(e,t),a=c["a"].relativeComplement(o,i),s=c["a"].relativeComplement(i,o),l=this.getNextToLastElement(a),u=0,d=a;u<d.length;u++)for(var h=d[u],f=h.start;f<h.end;f++)this.insertItemInDOM(f,l);for(var p=0,g=s;p<g.length;p++)for(h=g[p],f=h.start;f<h.end;f++)this.removeItemFromDOM(f);this.rowsContainer.style.left="-"+n+"px",this.rowsContainer.style.top="-"+e+"px",this.horizontalScrolling&&(this.rowsContainer.style.width=Math.max(r,this.renderWidth)+"px"),this.lastRenderTop=e,this.lastRenderHeight=t},e.prototype.insertItemInDOM=function(e,t){var n=this,r=this.items[e];if(!r.row){r.row=this.cache.alloc(r.templateId);var i=this.ariaProvider.getRole?this.ariaProvider.getRole(r.element):"treeitem";r.row.domNode.setAttribute("role",i);var o=this.ariaProvider.isChecked?this.ariaProvider.isChecked(r.element):void 0;"undefined"!==typeof o&&r.row.domNode.setAttribute("aria-checked",String(o))}r.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(r.row.domNode,t):this.rowsContainer.appendChild(r.row.domNode)),this.updateItemInDOM(r,e);var a=this.renderers.get(r.templateId);if(!a)throw new Error("No renderer found for template id "+r.templateId);a&&a.renderElement(r.element,e,r.row.templateData,r.size);var s=this.dnd.getDragURI(r.element);if(r.dragStartDisposable.dispose(),r.row.domNode.draggable=!!s,s){var u=Object(l["a"])(r.row.domNode,"dragstart");r.dragStartDisposable=u((function(e){return n.onDragStart(r.element,s,e)}))}this.horizontalScrolling&&(this.measureItemWidth(r),this.eventuallyUpdateScrollWidth())},e.prototype.measureItemWidth=function(e){if(e.row&&e.row.domNode){e.row.domNode.style.width=x["h"]?"-moz-fit-content":"fit-content",e.width=a["A"](e.row.domNode);var t=window.getComputedStyle(e.row.domNode);t.paddingLeft&&(e.width+=parseFloat(t.paddingLeft)),t.paddingRight&&(e.width+=parseFloat(t.paddingRight)),e.row.domNode.style.width=""}},e.prototype.updateItemInDOM=function(e,t){e.row.domNode.style.top=this.elementTop(t)+"px",e.row.domNode.style.height=e.size+"px",this.setRowLineHeight&&(e.row.domNode.style.lineHeight=e.size+"px"),e.row.domNode.setAttribute("data-index",""+t),e.row.domNode.setAttribute("data-last-element",t===this.length-1?"true":"false"),e.row.domNode.setAttribute("aria-setsize",String(this.ariaProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.ariaProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),a["X"](e.row.domNode,"drop-target",e.dropTarget)},e.prototype.removeItemFromDOM=function(e){var t=this.items[e];t.dragStartDisposable.dispose();var n=this.renderers.get(t.templateId);n&&n.disposeElement&&n.disposeElement(t.element,e,t.row.templateData,t.size),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()},e.prototype.getScrollTop=function(){var e=this.scrollableElement.getScrollPosition();return e.scrollTop},e.prototype.setScrollTop=function(e){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:e})},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.getScrollTop()},set:function(e){this.setScrollTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollHeight",{get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseClick",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.domNode,"click"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDblClick",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.domNode,"dblclick"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseMiddleClick",{get:function(){var e=this;return s["b"].filter(s["b"].map(Object(l["a"])(this.domNode,"auxclick"),(function(t){return e.toMouseEvent(t)})),(function(e){return 1===e.browserEvent.button}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMouseDown",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.domNode,"mousedown"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onContextMenu",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.domNode,"contextmenu"),(function(t){return e.toMouseEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTouchStart",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.domNode,"touchstart"),(function(t){return e.toTouchEvent(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onTap",{get:function(){var e=this;return s["b"].map(Object(l["a"])(this.rowsContainer,o["a"].Tap),(function(t){return e.toGestureEvent(t)}))},enumerable:!0,configurable:!0}),e.prototype.toMouseEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],r=n&&n.element;return{browserEvent:e,index:t,element:r}},e.prototype.toTouchEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],r=n&&n.element;return{browserEvent:e,index:t,element:r}},e.prototype.toGestureEvent=function(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),n="undefined"===typeof t?void 0:this.items[t],r=n&&n.element;return{browserEvent:e,index:t,element:r}},e.prototype.toDragEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n="undefined"===typeof t?void 0:this.items[t],r=n&&n.element;return{browserEvent:e,index:t,element:r}},e.prototype.onScroll=function(e){try{this.render(e.scrollTop,e.height,e.scrollLeft,e.scrollWidth),this.supportDynamicHeights&&this._rerender(e.scrollTop,e.height)}catch(t){throw console.error("Got bad scroll event:",e),t}},e.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},e.prototype.onDragStart=function(e,t,n){if(n.dataTransfer){var r=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(_["a"].RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){var i=void 0;this.dnd.getDragLabel&&(i=this.dnd.getDragLabel(r,n)),"undefined"===typeof i&&(i=String(r.length));var o=a["a"](".monaco-drag-image");o.textContent=i,document.body.appendChild(o),n.dataTransfer.setDragImage(o,-10,-10),setTimeout((function(){return document.body.removeChild(o)}),0)}this.currentDragData=new k(r),_["c"].CurrentDragAndDropData=new E(r),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}},e.prototype.onDragOver=function(e){var t=this;if(e.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),_["c"].CurrentDragAndDropData&&"vscode-ui"===_["c"].CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(_["c"].CurrentDragAndDropData)this.currentDragData=_["c"].CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new D}var n,r=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"===typeof r?r:r.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;if(e.browserEvent.dataTransfer.dropEffect="boolean"!==typeof r&&0===r.effect?"copy":"move",n="boolean"!==typeof r&&r.feedback?r.feedback:"undefined"===typeof e.index?[-1]:[e.index],n=Object(b["e"])(n).filter((function(e){return e>=-1&&e<t.length})).sort((function(e,t){return e-t})),n=-1===n[0]?[-1]:n,M(this.currentDragFeedback,n))return!0;if(this.currentDragFeedback=n,this.currentDragFeedbackDisposable.dispose(),-1===n[0])a["e"](this.domNode,"drop-target"),a["e"](this.rowsContainer,"drop-target"),this.currentDragFeedbackDisposable=Object(i["h"])((function(){a["O"](t.domNode,"drop-target"),a["O"](t.rowsContainer,"drop-target")}));else{for(var o=0,s=n;o<s.length;o++){var l=s[o],u=this.items[l];u.dropTarget=!0,u.row&&u.row.domNode&&a["e"](u.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(i["h"])((function(){for(var e=0,r=n;e<r.length;e++){var i=r[e],o=t.items[i];o.dropTarget=!1,o.row&&o.row.domNode&&a["O"](o.row.domNode,"drop-target")}}))}return!0},e.prototype.onDragLeave=function(){var e=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(w["g"])((function(){return e.clearDragOverFeedback()}),100)},e.prototype.onDrop=function(e){if(this.canDrop){var t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_["c"].CurrentDragAndDropData=void 0,t&&e.browserEvent.dataTransfer&&(e.browserEvent.preventDefault(),t.update(e.browserEvent.dataTransfer),this.dnd.drop(t,e.element,e.index,e.browserEvent))}},e.prototype.onDragEnd=function(e){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,_["c"].CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e.prototype.clearDragOverFeedback=function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=i["a"].None},e.prototype.setupDragAndDropScrollTopAnimation=function(e){var t=this;if(!this.dragOverAnimationDisposable){var n=a["E"](this.domNode).top;this.dragOverAnimationDisposable=a["o"](this.animateDragAndDropScrollTop.bind(this,n))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(w["g"])((function(){t.dragOverAnimationDisposable&&(t.dragOverAnimationDisposable.dispose(),t.dragOverAnimationDisposable=void 0)}),1e3),this.dragOverMouseY=e.pageY},e.prototype.animateDragAndDropScrollTop=function(e){if(void 0!==this.dragOverMouseY){var t=this.dragOverMouseY-e,n=this.renderHeight-35;t<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(t-35))):t>n&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){var t=e;while(t instanceof HTMLElement&&t!==this.rowsContainer){var n=t.getAttribute("data-index");if(n){var r=Number(n);if(!isNaN(r))return r}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,r,i=this.getRenderRange(e,t);e===this.elementTop(i.start)?(n=i.start,r=0):i.end-i.start>1&&(n=i.start+1,r=this.elementTop(n)-e);var o=0;while(1){for(var a=this.getRenderRange(e,t),s=!1,l=a.start;l<a.end;l++){var u=this.probeDynamicHeight(l);0!==u&&this.rangeMap.splice(l,1,[this.items[l]]),o+=u,s=s||0!==u}if(!s){0!==o&&this.eventuallyUpdateScrollDimensions();for(var d=c["a"].relativeComplement(i,a),h=0,f=d;h<f.length;h++){var p=f[h];for(l=p.start;l<p.end;l++)this.items[l].row&&this.removeItemFromDOM(l)}for(var g=c["a"].relativeComplement(a,i),m=0,v=g;m<v.length;m++)for(p=v[m],l=p.start;l<p.end;l++){var y=l+1,b=y<this.items.length?this.items[y].row:null,_=b?b.domNode:null;this.insertItemInDOM(l,_)}for(l=a.start;l<a.end;l++)this.items[l].row&&this.updateItemInDOM(this.items[l],l);return"number"===typeof n&&(this.scrollTop=this.elementTop(n)-r),void this._onDidChangeContentHeight.fire(this.contentHeight)}}},e.prototype.probeDynamicHeight=function(e){var t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;var n=t.size,r=this.cache.alloc(t.templateId);r.domNode.style.height="",this.rowsContainer.appendChild(r.domNode);var i=this.renderers.get(t.templateId);return i&&(i.renderElement(t.element,e,r.templateData,void 0),i.disposeElement&&i.disposeElement(t.element,e,r.templateData,void 0)),t.size=r.domNode.offsetHeight,this.virtualDelegate.setDynamicHeight&&this.virtualDelegate.setDynamicHeight(t.element,t.size),t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(r.domNode),this.cache.release(r),t.size-n},e.prototype.getNextToLastElement=function(e){var t=e[e.length-1];if(!t)return null;var n=this.items[t.end];return n&&n.row?n.row.domNode:null},e.prototype.getElementDomId=function(e){return this.domId+"_"+e},e.prototype.dispose=function(){if(this.items){for(var e=0,t=this.items;e<t.length;e++){var n=t[e];if(n.row){var r=this.renderers.get(n.row.templateId);r&&r.disposeTemplate(n.row.templateData)}}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),Object(i["f"])(this.disposables)},e.InstanceCount=0,C([y["a"]],e.prototype,"onMouseClick",null),C([y["a"]],e.prototype,"onMouseDblClick",null),C([y["a"]],e.prototype,"onMouseMiddleClick",null),C([y["a"]],e.prototype,"onMouseDown",null),C([y["a"]],e.prototype,"onContextMenu",null),C([y["a"]],e.prototype,"onTouchStart",null),C([y["a"]],e.prototype,"onTap",null),e}()},fjKi:function(e,t,n){var r=n("ProS");n("Q7if"),n("jndi"),r.registerPreprocessor((function(e){e.markArea=e.markArea||{}}))},fjLI:function(e,t,n){"use strict";n.d(t,"e",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"b",(function(){return v}));var r=n("8HAY"),i=n("Cg/j"),o=n("T8No"),a=n("nnTU"),s=n("MI8n"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},c=function(e,t){return function(n,r){t(n,r,e)}},d=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function h(e){return void 0!==e.command}var f=Object(i["c"])("menuService"),p=new(function(){function e(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new s["a"],this.onDidChangeMenu=this._onDidChangeMenu.event}return e.prototype.addCommand=function(e){var t=this;return this._commands.set(e.id,e),this._onDidChangeMenu.fire(0),{dispose:function(){t._commands.delete(e.id)&&t._onDidChangeMenu.fire(0)}}},e.prototype.getCommand=function(e){return this._commands.get(e)},e.prototype.getCommands=function(){var e=new Map;return this._commands.forEach((function(t,n){return e.set(n,t)})),e},e.prototype.appendMenuItem=function(e,t){var n=this,r=this._menuItems.get(e);return r?r.push(t):(r=[t],this._menuItems.set(e,r)),this._onDidChangeMenu.fire(e),{dispose:function(){var i=r.indexOf(t);i>=0&&(r.splice(i,1),n._onDidChangeMenu.fire(e))}}},e.prototype.getMenuItems=function(e){var t=(this._menuItems.get(e)||[]).slice(0);return 0===e&&this._appendImplicitItems(t),t},e.prototype._appendImplicitItems=function(e){for(var t=new Set,n=e.filter((function(e){return h(e)})),r=0,i=n;r<i.length;r++){var o=i[r],a=o.command,s=o.alt;t.add(a.id),s&&t.add(s.id)}this._commands.forEach((function(n,r){t.has(r)||e.push({command:n})}))},e}()),g=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i._commandService=r,i}return l(t,e),t.prototype.run=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._commandService).executeCommand.apply(e,d([this.id],t))},t=u([c(2,a["b"])],t),t}(r["a"]),m=function(e){function t(t){var n=this;return n="string"===typeof t.title?e.call(this,"",t.title,"submenu")||this:e.call(this,"",t.title.value,"submenu")||this,n.item=t,n}return l(t,e),t}(r["a"]),v=function(e){function t(n,r,i,o,a){var s=this;return s="string"===typeof n.title?e.call(this,n.id,n.title,a)||this:e.call(this,n.id,n.title.value,a)||this,s._cssClass=void 0,s._enabled=!n.precondition||o.contextMatchesRules(n.precondition),s._checked=Boolean(n.toggled&&o.contextMatchesRules(n.toggled)),s._options=i||{},s.item=n,s.alt=r?new t(r,void 0,s._options,o,a):void 0,s}return l(t,e),t.prototype.dispose=function(){this.alt&&this.alt.dispose(),e.prototype.dispose.call(this)},t.prototype.run=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=[];return this._options.arg&&(r=d(r,[this._options.arg])),this._options.shouldForwardArgs&&(r=d(r,t)),e.prototype.run.apply(this,r)},t=u([c(3,o["c"]),c(4,a["b"])],t),t}(g)},fls0:function(e,t,n){var r=n("bYtY"),i=n("QBsz"),o=n("oVpE"),a=n("f5HG"),s=n("IwbS"),l=n("OELB"),u=l.round,c=["fromSymbol","toSymbol"];function d(e){return"_"+e+"Type"}function h(e,t,n){var i=t.getItemVisual(n,"color"),a=t.getItemVisual(n,e),s=t.getItemVisual(n,e+"Size");if(a&&"none"!==a){r.isArray(s)||(s=[s,s]);var l=o.createSymbol(a,-s[0]/2,-s[1]/2,s[0],s[1],i);return l.name=e,l}}function f(e){var t=new a({name:"line",subPixelOptimize:!0});return p(t.shape,e),t}function p(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}function g(){var e=this,t=e.childOfName("fromSymbol"),n=e.childOfName("toSymbol"),r=e.childOfName("label");if(t||n||!r.ignore){var o=1,a=this.parent;while(a)a.scale&&(o/=a.scale[0]),a=a.parent;var s=e.childOfName("line");if(this.__dirty||s.__dirty){var l=s.shape.percent,u=s.pointAt(0),c=s.pointAt(l),d=i.sub([],c,u);if(i.normalize(d,d),t){t.attr("position",u);var h=s.tangentAt(0);t.attr("rotation",Math.PI/2-Math.atan2(h[1],h[0])),t.attr("scale",[o*l,o*l])}if(n){n.attr("position",c);h=s.tangentAt(1);n.attr("rotation",-Math.PI/2-Math.atan2(h[1],h[0])),n.attr("scale",[o*l,o*l])}if(!r.ignore){var f,p,g,m;r.attr("position",c);var v=r.__labelDistance,y=v[0]*o,b=v[1]*o,_=l/2,w=(h=s.tangentAt(_),[h[1],-h[0]]),x=s.pointAt(_);w[1]>0&&(w[0]=-w[0],w[1]=-w[1]);var C,S=h[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var O=-Math.atan2(h[1],h[0]);c[0]<u[0]&&(O=Math.PI+O),r.attr("rotation",O)}switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":C=-b,g="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":C=b,g="top";break;default:C=0,g="middle"}switch(r.__position){case"end":f=[d[0]*y+c[0],d[1]*b+c[1]],p=d[0]>.8?"left":d[0]<-.8?"right":"center",g=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":f=[-d[0]*y+u[0],-d[1]*b+u[1]],p=d[0]>.8?"right":d[0]<-.8?"left":"center",g=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[y*S+u[0],u[1]+C],p=h[0]<0?"right":"left",m=[-y*S,-C];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[x[0],x[1]+C],p="center",m=[0,-C];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-y*S+c[0],c[1]+C],p=h[0]>=0?"right":"left",m=[y*S,-C];break}r.attr({style:{textVerticalAlign:r.__verticalAlign||g,textAlign:r.__textAlign||p},position:f,scale:[o,o],origin:m})}}}}function m(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var v=m.prototype;v.beforeUpdate=g,v._createLine=function(e,t,n){var i=e.hostModel,o=e.getItemLayout(t),a=f(o);a.shape.percent=0,s.initProps(a,{shape:{percent:1}},i,t),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(c,(function(n){var r=h(n,e,t);this.add(r),this[d(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},v.updateData=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),a=e.getItemLayout(t),l={shape:{}};p(l.shape,a),s.updateProps(o,l,i,t),r.each(c,(function(n){var r=e.getItemVisual(t,n),i=d(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=h(n,e,t);this.add(o)}this[i]=r}),this),this._updateCommonStl(e,t,n)},v._updateCommonStl=function(e,t,n){var i=e.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,l=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var f=e.getItemModel(t);a=f.getModel("lineStyle").getLineStyle(),l=f.getModel("emphasis.lineStyle").getLineStyle(),d=f.getModel("label"),h=f.getModel("emphasis.label")}var p=e.getItemVisual(t,"color"),g=r.retrieve3(e.getItemVisual(t,"opacity"),a.opacity,1);o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=l,r.each(c,(function(e){var t=this.childOfName(e);t&&(t.setColor(p),t.setStyle({opacity:g}))}),this);var m,v,y=d.getShallow("show"),b=h.getShallow("show"),_=this.childOfName("label");if((y||b)&&(m=p||"#000",v=i.getFormattedLabel(t,"normal",e.dataType),null==v)){var w=i.getRawValue(t);v=null==w?e.getName(t):isFinite(w)?u(w):w}var x=y?v:null,C=b?r.retrieve2(i.getFormattedLabel(t,"emphasis",e.dataType),v):null,S=_.style;if(null!=x||null!=C){s.setTextStyle(_.style,d,{text:x},{autoColor:m}),_.__textAlign=S.textAlign,_.__verticalAlign=S.textVerticalAlign,_.__position=d.get("position")||"middle";var O=d.get("distance");r.isArray(O)||(O=[O,O]),_.__labelDistance=O}_.hoverStyle=null!=C?{text:C,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!b,s.setHoverStyle(this)},v.highlight=function(){this.trigger("emphasis")},v.downplay=function(){this.trigger("normal")},v.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},v.setLinePoints=function(e){var t=this.childOfName("line");p(t.shape,e),t.dirty()},r.inherits(m,s.Group);var y=m;e.exports=y},fmMI:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.each,a=i.filter,s=i.map,l=i.isArray,u=i.indexOf,c=i.isObject,d=i.isString,h=i.createHashMap,f=i.assert,p=i.clone,g=i.merge,m=i.extend,v=i.mixin,y=n("4NO4"),b=n("Qxkt"),_=n("bLfw"),w=n("iXHM"),x=n("5Hur"),C=n("D5nY"),S=C.resetSourceDefaulter,O="\0_ec_inner",k=b.extend({init:function(e,t,n,r){n=n||{},this.option=null,this._theme=new b(n),this._optionManager=r},setOption:function(e,t){f(!(O in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var r=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(r)):M.call(this,r),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var i=n.getTimelineOption(this);i&&(this.mergeOption(i),t=!0)}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,r=[];function i(r,i){var a=y.normalizeToArray(e[r]),s=y.mappingToExists(n.get(r),a);y.makeIdAndName(s),o(s,(function(e,t){var n=e.option;c(n)&&(e.keyInfo.mainType=r,e.keyInfo.subType=L(r,n,e.exist))}));var l=N(n,i);t[r]=[],n.set(r,[]),o(s,(function(e,i){var o=e.exist,a=e.option;if(f(c(a)||o,"Empty component definition"),a){var s=_.getClass(r,e.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=e.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var u=m({dependentModels:l,componentIndex:i},e.keyInfo);o=new s(a,this,this,u),m(o,u),o.init(a,this,this,u),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(r)[i]=o,t[r][i]=o.option}),this),"series"===r&&I(this,n.get("series"))}S(this),o(e,(function(e,n){null!=e&&(_.hasClass(n)?n&&r.push(n):t[n]=null==t[n]?p(e):g(t[n],e,!0))})),_.topologicalTravel(r,_.getAllClassMainTypes(),i,this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=p(this.option);return o(e,(function(t,n){if(_.hasClass(n)){t=y.normalizeToArray(t);for(var r=t.length-1;r>=0;r--)y.isIdInner(t[r])&&t.splice(r,1);e[n]=t}})),delete e[O],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,o=e.name,c=this._componentsMap.get(t);if(!c||!c.length)return[];if(null!=r)l(r)||(r=[r]),n=a(s(r,(function(e){return c[e]})),(function(e){return!!e}));else if(null!=i){var d=l(i);n=a(c,(function(e){return d&&u(i,e.id)>=0||!d&&e.id===i}))}else if(null!=o){var h=l(o);n=a(c,(function(e){return h&&u(o,e.name)>=0||!h&&e.name===o}))}else n=c.slice();return T(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,r=o(t),i=r?this.queryComponents(r):this._componentsMap.get(n);return s(T(i,e));function o(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function s(t){return e.filter?a(t,e.filter):t}},eachComponent:function(e,t,n){var r=this._componentsMap;if("function"===typeof e)n=t,t=e,r.each((function(e,r){o(e,(function(e,i){t.call(n,r,e,i)}))}));else if(d(e))o(r.get(e),t,n);else if(c(e)){var i=this.findComponents(e);o(i,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){P(this),o(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){P(this),o(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},eachRawSeriesByType:function(e,t,n){return o(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return P(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){P(this);var n=a(this._componentsMap.get("series"),e,t);I(this,n)},restoreData:function(e){var t=this._componentsMap;I(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),_.topologicalTravel(n,_.getAllClassMainTypes(),(function(n,r){o(t.get(n),(function(t){("series"!==n||!E(t,e))&&t.restoreData()}))}))}});function E(e,t){if(t){var n=t.seiresIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function D(e,t){var n=e.color&&!e.colorLayer;o(t,(function(t,r){"colorLayer"===r&&n||_.hasClass(r)||("object"===typeof t?e[r]=e[r]?g(e[r],t,!1):p(t):null==e[r]&&(e[r]=t))}))}function M(e){e=e,this.option={},this.option[O]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,D(e,this._theme.option),g(e,w,!1),this.mergeOption(e)}function N(e,t){l(t)||(t=t?[t]:[]);var n={};return o(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function L(e,t,n){var r=t.type?t.type:n?n.subType:_.determineSubType(e,t);return r}function I(e,t){e._seriesIndicesMap=h(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function T(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}function P(e){}v(k,x);var A=k;e.exports=A},fmRc:function(e,t,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype["delete"]=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},fpC5:function(e,t,n){var r=n("2faE"),i=n("5K7Z"),o=n("w6GO");e.exports=n("jmDH")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,l=0;while(s>l)r.f(e,n=a[l++],t[n]);return e}},fpMC:function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return k})),n.d(t,"a",(function(){return M})),n.d(t,"d",(function(){return V})),n.d(t,"e",(function(){return Y}));var r=n("QDVR"),i=n("N0LK");function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n){for(var r=0,i=e.length;r<i;r++){var o=e[r](t,n);if(o)return o}return null}}var a=s.bind(void 0,!0);function s(e,t,n){return!n||n.length<t.length?null:(r=e?i["N"](n,t):0===n.indexOf(t),r?t.length>0?[{start:0,end:t.length}]:[]:null);var r}function l(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}function u(e,t){return c(e.toLowerCase(),t.toLowerCase(),0,0)}function c(e,t,n,r){if(n===e.length)return[];if(r===t.length)return null;if(e[n]===t[r]){var i=null;return(i=c(e,t,n+1,r+1))?v({start:r,end:r+1},i):null}return c(e,t,n,r+1)}function d(e){return 97<=e&&e<=122}function h(e){return 65<=e&&e<=90}function f(e){return 48<=e&&e<=57}function p(e){return 32===e||9===e||10===e||13===e}var g=new Set;function m(e){return d(e)||h(e)||f(e)}function v(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function y(e,t){for(var n=t;n<e.length;n++){var r=e.charCodeAt(n);if(h(r)||f(r)||n>0&&!m(e.charCodeAt(n-1)))return n}return e.length}function b(e,t,n,r){if(n===e.length)return[];if(r===t.length)return null;if(e[n]!==t[r].toLowerCase())return null;var i=null,o=r+1;i=b(e,t,n+1,r+1);while(!i&&(o=y(t,o))<t.length)i=b(e,t,n+1,o),o++;return null===i?null:v({start:r,end:r+1},i)}function _(e){for(var t=0,n=0,r=0,i=0,o=0,a=0;a<e.length;a++)o=e.charCodeAt(a),h(o)&&t++,d(o)&&n++,m(o)&&r++,f(o)&&i++;var s=t/e.length,l=n/e.length,u=r/e.length,c=i/e.length;return{upperPercent:s,lowerPercent:l,alphaPercent:u,numericPercent:c}}function w(e){var t=e.upperPercent,n=e.lowerPercent;return 0===n&&t>.6}function x(e){var t=e.upperPercent,n=e.lowerPercent,r=e.alphaPercent,i=e.numericPercent;return n>.2&&t<.8&&r>.6&&i<.2}function C(e){for(var t=0,n=0,r=0,i=0,o=0;o<e.length;o++)r=e.charCodeAt(o),h(r)&&t++,d(r)&&n++,p(r)&&i++;return 0!==t&&0!==n||0!==i?t<=5:e.length<=30}function S(e,t){if(!t)return null;if(t=t.trim(),0===t.length)return null;if(!C(e))return null;if(t.length>60)return null;var n=_(t);if(!x(n)){if(!w(n))return null;t=t.toLowerCase()}var r=null,i=0;e=e.toLowerCase();while(i<t.length&&null===(r=b(e,t,0,i)))i=y(t,i+1);return r}"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?".split("").forEach((function(e){return g.add(e.charCodeAt(0))}));o(a,S,l),o(a,S,u),new r["a"](1e4);function O(e,t,n,r,i,o){var a=V(e,t,0,r,i,0,!0);if(a)return a;for(var s=0,l=0,u=o,c=0;c<t.length&&c<E;++c){var d=i.indexOf(t.charAt(c),u);if(d>=0)l+=1,s+=Math.pow(2,d),u=d+1;else if(0!==s)break}return[l,s,o]}function k(e){if("undefined"===typeof e)return[];for(var t=e[1].toString(2),n=e[2],r=[],i=n;i<E;i++)if("1"===t[t.length-(i+1)]){var o=r[r.length-1];o&&o.end===i?o.end=i+1:r.push({start:i,end:i+1})}return r}var E=128;function D(){for(var e=[],t=[0],n=1;n<=E;n++)t.push(-n);for(n=0;n<=E;n++){var r=t.slice(0);r[0]=-n,e.push(r)}return e}var M,N=D(),L=D(),I=D(),T=!1;function P(e,t,n,r,i){function o(e,t,n){void 0===n&&(n=" ");while(e.length<t)e=n+e;return e}for(var a=" | |"+r.split("").map((function(e){return o(e,3)})).join("|")+"\n",s=0;s<=n;s++)a+=0===s?" |":t[s-1]+"|",a+=e[s].slice(0,i+1).map((function(e){return o(e.toString(),3)})).join("|")+"\n";return a}function A(e,t,n,r){e=e.substr(t),n=n.substr(r),console.log(P(N,e,e.length,n,n.length)),console.log(P(I,e,e.length,n,n.length)),console.log(P(L,e,e.length,n,n.length))}function R(e,t){if(t<0||t>=e.length)return!1;var n=e.charCodeAt(t);switch(n){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:return!0;default:return!1}}function j(e,t){if(t<0||t>=e.length)return!1;var n=e.charCodeAt(t);switch(n){case 32:case 9:return!0;default:return!1}}function F(e,t,n){return t[e]!==n[e]}function B(e,t,n,r,i,o){while(t<n&&i<o)e[t]===r[i]&&(t+=1),i+=1;return t===n}function V(e,t,n,r,i,o,a){var s=e.length>E?E:e.length,l=r.length>E?E:r.length;if(!(n>=s||o>=l||s-n>l-o)&&B(t,n,s,i,o,l)){var u=1,c=1,d=n,h=o;for(u=1,d=n;d<s;u++,d++)for(c=1,h=o;h<l;c++,h++){var f=z(e,t,d,n,r,i,h);L[u][c]=f;var p=N[u-1][c-1]+(f>1?1:f),g=N[u-1][c]+-1,m=N[u][c-1]+-1;m>=g?m>p?(N[u][c]=m,I[u][c]=4):m===p?(N[u][c]=m,I[u][c]=6):(N[u][c]=p,I[u][c]=2):g>p?(N[u][c]=g,I[u][c]=1):g===p?(N[u][c]=g,I[u][c]=3):(N[u][c]=p,I[u][c]=2)}if(T&&A(e,n,r,o),W=0,U=-100,K=o,G=a,q(u-1,c-1,s===l?1:0,0,!1),0!==W)return[U,H,o]}}function z(e,t,n,r,i,o,a){return t[n]!==o[a]?-1:a===n-r?e[n]===i[a]?7:5:!F(a,i,o)||0!==a&&F(a-1,i,o)?!R(o,a)||0!==a&&R(o,a-1)?R(o,a-1)||j(o,a-1)?5:1:5:e[n]===i[a]?7:5}(function(e){function t(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]}e.Default=Object.freeze([-100,0,0]),e.isDefault=t})(M||(M={}));var W=0,H=0,U=0,K=0,G=!1;function q(e,t,n,r,i){if(!(W>=10||n<-25)){var o=0;while(e>0&&t>0){var a=L[e][t],s=I[e][t];if(4===s)t-=1,i?n-=5:0!==r&&(n-=1),i=!1,o=0;else{if(!(2&s))return;if(4&s&&q(e,t-1,0!==r?n-1:n,r,i),n+=a,e-=1,t-=1,i=!0,r+=Math.pow(2,t+K),1===a){if(o+=1,0===e&&!G)return}else n+=1+o*(a-1),o=0}}n-=t>=3?9:3*t,W+=1,n>U&&(U=n,H=r)}}function Y(e,t,n,r,i,o,a){return X(e,t,n,r,i,o,!0,a)}function X(e,t,n,r,i,o,a,s){var l=V(e,t,n,r,i,o,s);if(l&&!a)return l;if(e.length>=3)for(var u=Math.min(7,e.length-1),c=n+1;c<u;c++){var d=Z(e,c);if(d){var h=V(d,d.toLowerCase(),n,r,i,o,s);h&&(h[0]-=3,(!l||h[0]>l[0])&&(l=h))}}return l}function Z(e,t){if(!(t+1>=e.length)){var n=e[t],r=e[t+1];if(n!==r)return e.slice(0,t)+r+n+e.slice(t+2)}}},ftKO:function(e,t){var n="__lodash_hash_undefined__";function r(e){return this.__data__.set(e,n),this}e.exports=r},fyUT:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("TSYQ"),a=n.n(o),s=n("4IlW"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function g(){}function m(e){e.preventDefault()}function v(e){return e.replace(/[^\w.-]+/g,"")}var y=200,b=600,_=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,w=function(e){return void 0!==e&&null!==e},x=function(e,t){return t===e||"number"===typeof t&&"number"===typeof e&&isNaN(t)&&isNaN(e)},C=function(e){function t(e){h(this,t);var n=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));S.call(n);var r=void 0;r="value"in e?e.value:e.defaultValue,n.state={focused:e.autoFocus};var i=n.getValidValue(n.toNumber(r));return n.state=l({},n.state,{inputValue:n.toPrecisionAsStep(i),value:i}),n}return p(t,e),u(t,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.onChange,i=t.max,o=t.min,a=this.state.focused;if(e){if(!x(e.value,n)||!x(e.max,i)||!x(e.min,o)){var l=a?n:this.getValidValue(n),u=void 0;u=this.pressingUpOrDown?l:this.inputting?this.rawInput:this.toPrecisionAsStep(l),this.setState({value:l,inputValue:u})}var c="value"in this.props?n:this.state.value;"max"in this.props&&e.max!==i&&"number"===typeof c&&c>i&&r&&r(i),"min"in this.props&&e.min!==o&&"number"===typeof c&&c<o&&r&&r(o)}try{if(void 0!==this.cursorStart&&this.state.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.state.value===this.props.value){if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s["a"].BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s["a"].DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}else{var d=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s["a"].BACKSPACE?d=this.cursorStart-1:this.lastKeyCode===s["a"].DELETE&&(d=this.cursorStart):d=this.input.value.length,this.fixCaret(d,d)}}catch(h){}this.lastKeyCode=null,this.pressingUpOrDown&&this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus()}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t,10))?this.state.value:this.getValidValue(t),this.toNumber(t)}},{key:"getRatio",value:function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t}},{key:"getValueFromEvent",value:function(e){var t=e.target.value.trim().replace(/\u3002/g,".");return w(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t}},{key:"getValidValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.min,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.max,r=parseFloat(e,10);return isNaN(r)?e:(r<t&&(r=t),r>n&&(r=n),r)}},{key:"setValue",value:function(e,t){var n=this.props.precision,r=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),i=this.state,o=i.value,a=void 0===o?null:o,s=i.inputValue,l=void 0===s?null:s,u="number"===typeof r?r.toFixed(n):""+r,c=r!==a||u!==""+l;return"value"in this.props?this.setState({inputValue:this.toPrecisionAsStep(this.state.value)},t):this.setState({value:r,inputValue:this.toPrecisionAsStep(e)},t),c&&this.props.onChange(r),r}},{key:"getFullNum",value:function(e){return isNaN(e)?e:/e/i.test(String(e))?Number(e).toFixed(18).replace(/\.?0+$/,""):e}},{key:"getPrecision",value:function(e){if(w(this.props.precision))return this.props.precision;var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}},{key:"getMaxPrecision",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.props,r=n.precision,i=n.step;if(w(r))return r;var o=this.getPrecision(t),a=this.getPrecision(i),s=this.getPrecision(e);return e?Math.max(s,o+a):o+a}},{key:"getPrecisionFactor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getMaxPrecision(e,t);return Math.pow(10,n)}},{key:"fixCaret",value:function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var n=this.input.selectionStart,r=this.input.selectionEnd;e===n&&t===r||this.input.setSelectionRange(e,t)}catch(i){}}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(e){return this.props.formatter?this.props.formatter(e):e}},{key:"toPrecisionAsStep",value:function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)}},{key:"isNotCompleteNumber",value:function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1}},{key:"toNumber",value:function(e){var t=this.props.precision,n=this.state.focused,r=e&&e.length>16&&n;return this.isNotCompleteNumber(e)||r?e:w(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)}},{key:"upStep",value:function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((r*e+r*n*t)/r).toFixed(i);return this.toNumber(o)}},{key:"downStep",value:function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((r*e-r*n*t)/r).toFixed(i);return this.toNumber(o)}},{key:"step",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments[3];this.stop(),t&&(t.persist(),t.preventDefault());var o=this.props;if(!o.disabled){var a=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(a)){var s=this[e+"Step"](a,r),l=s>o.max||s<o.min;s>o.max?s=o.max:s<o.min&&(s=o.min),this.setValue(s),this.setState({focused:!0},(function(){n.pressingUpOrDown=!1})),l||(this.autoStepTimer=setTimeout((function(){n[e](t,r,!0)}),i?y:b))}}}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.disabled,o=t.readOnly,s=t.useTouch,u=t.autoComplete,h=t.upHandler,f=t.downHandler,p=t.className,v=t.max,y=t.min,b=t.style,_=t.title,w=t.onMouseEnter,x=t.onMouseLeave,C=t.onMouseOver,S=t.onMouseOut,O=t.required,k=t.onClick,E=t.tabIndex,D=t.type,M=t.placeholder,N=t.id,L=t.inputMode,I=t.pattern,T=t.step,P=t.maxLength,A=t.autoFocus,R=t.name,j=d(t,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name"]),F=this.state,B=F.value,V=F.focused,z=a()(n,(e={},c(e,p,!!p),c(e,n+"-disabled",r),c(e,n+"-focused",V),e)),W={};Object.keys(j).forEach((function(e){"data-"!==e.substr(0,5)&&"aria-"!==e.substr(0,5)&&"role"!==e||(W[e]=j[e])}));var H=!o&&!r,U=this.getInputDisplayValue(),K=(B||0===B)&&(isNaN(B)||Number(B)>=v),G=(B||0===B)&&(isNaN(B)||Number(B)<=y),q=K||r||o,Y=G||r||o,X=a()(n+"-handler",n+"-handler-up",c({},n+"-handler-up-disabled",q)),Z=a()(n+"-handler",n+"-handler-down",c({},n+"-handler-down-disabled",Y)),Q=s?{onTouchStart:q?g:this.up,onTouchEnd:this.stop}:{onMouseDown:q?g:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},$=s?{onTouchStart:Y?g:this.down,onTouchEnd:this.stop}:{onMouseDown:Y?g:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return i.a.createElement("div",{className:z,style:b,title:_,onMouseEnter:w,onMouseLeave:x,onMouseOver:C,onMouseOut:S,onFocus:function(){return null},onBlur:function(){return null}},i.a.createElement("div",{className:n+"-handler-wrap"},i.a.createElement("span",l({unselectable:"unselectable"},Q,{role:"button","aria-label":"Increase Value","aria-disabled":q,className:X}),h||i.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-up-inner",onClick:m})),i.a.createElement("span",l({unselectable:"unselectable"},$,{role:"button","aria-label":"Decrease Value","aria-disabled":Y,className:Z}),f||i.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-down-inner",onClick:m}))),i.a.createElement("div",{className:n+"-input-wrap"},i.a.createElement("input",l({role:"spinbutton","aria-valuemin":y,"aria-valuemax":v,"aria-valuenow":B,required:O,type:D,placeholder:M,onClick:k,onMouseUp:this.onMouseUp,className:n+"-input",tabIndex:E,autoComplete:u,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:H?this.onKeyDown:g,onKeyUp:H?this.onKeyUp:g,autoFocus:A,maxLength:P,readOnly:o,disabled:r,max:v,min:y,step:T,name:R,title:_,id:N,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(U),pattern:I,inputMode:L},W))))}}]),t}(i.a.Component);C.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-_,step:1,style:{},onChange:g,onKeyDown:g,onPressEnter:g,onFocus:g,onBlur:g,parser:v,required:!1,autoComplete:"off"};var S=function(){var e=this;this.onKeyDown=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=e.props,a=o.onKeyDown,l=o.onPressEnter;if(t.keyCode===s["a"].UP){var u=e.getRatio(t);e.up(t,u),e.stop()}else if(t.keyCode===s["a"].DOWN){var c=e.getRatio(t);e.down(t,c),e.stop()}else t.keyCode===s["a"].ENTER&&l&&l(t);e.recordCursorPosition(),e.lastKeyCode=t.keyCode,a&&a.apply(void 0,[t].concat(r))},this.onKeyUp=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=e.props.onKeyUp;e.stop(),e.recordCursorPosition(),o&&o.apply(void 0,[t].concat(r))},this.onChange=function(t){var n=e.props.onChange;e.state.focused&&(e.inputting=!0),e.rawInput=e.props.parser(e.getValueFromEvent(t)),e.setState({inputValue:e.rawInput}),n(e.toNumber(e.rawInput))},this.onMouseUp=function(){var t=e.props.onMouseUp;e.recordCursorPosition(),t&&t.apply(void 0,arguments)},this.onFocus=function(){var t;e.setState({focused:!0}),(t=e.props).onFocus.apply(t,arguments)},this.onBlur=function(){var t=e.props.onBlur;e.inputting=!1,e.setState({focused:!1});var n=e.getCurrentValidValue(e.state.inputValue),r=e.setValue(n);if(t){var i=e.input.value,o=Number(e.getInputDisplayValue({focus:!1,value:r}));e.input.value=o,t.apply(void 0,arguments),e.input.value=i}},this.getInputDisplayValue=function(t){var n=t||e.state,r=n.focused,i=n.inputValue,o=n.value,a=void 0;a=r?i:e.toPrecisionAsStep(o),void 0!==a&&null!==a||(a="");var s=e.formatWrapper(a);return w(e.props.decimalSeparator)&&(s=s.toString().replace(".",e.props.decimalSeparator)),s},this.recordCursorPosition=function(){try{e.cursorStart=e.input.selectionStart,e.cursorEnd=e.input.selectionEnd,e.currentValue=e.input.value,e.cursorBefore=e.input.value.substring(0,e.cursorStart),e.cursorAfter=e.input.value.substring(e.cursorEnd)}catch(t){}},this.restoreByAfter=function(t){if(void 0===t)return!1;var n=e.input.value,r=n.lastIndexOf(t);if(-1===r)return!1;var i=e.cursorBefore.length;return e.lastKeyCode===s["a"].DELETE&&e.cursorBefore.charAt(i-1)===t[0]?(e.fixCaret(i,i),!0):r+t.length===n.length&&(e.fixCaret(r,r),!0)},this.partRestoreByAfter=function(t){return void 0!==t&&Array.prototype.some.call(t,(function(n,r){var i=t.substring(r);return e.restoreByAfter(i)}))},this.stop=function(){e.autoStepTimer&&clearTimeout(e.autoStepTimer)},this.down=function(t,n,r){e.pressingUpOrDown=!0,e.step("down",t,n,r)},this.up=function(t,n,r){e.pressingUpOrDown=!0,e.step("up",t,n,r)},this.saveInput=function(t){e.input=t}},O=C,k=n("FH2Y"),E=n.n(k),D=n("HQEm"),M=n.n(D),N=n("H84U"),L=n("3Nzz");function I(){return I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},A=r["forwardRef"]((function(e,t){var n=function(n){var i=n.getPrefixCls,o=n.direction,s=e.className,l=e.size,u=e.prefixCls,c=P(e,["className","size","prefixCls"]),d=i("input-number",u),h=r["createElement"](E.a,{className:"".concat(d,"-handler-up-inner")}),f=r["createElement"](M.a,{className:"".concat(d,"-handler-down-inner")});return r["createElement"](L["b"].Consumer,null,(function(e){var n,i=l||e,u=a()((n={},T(n,"".concat(d,"-lg"),"large"===i),T(n,"".concat(d,"-sm"),"small"===i),T(n,"".concat(d,"-rtl"),"rtl"===o),n),s);return r["createElement"](O,I({ref:t,className:u,upHandler:h,downHandler:f,prefixCls:d},c))}))};return r["createElement"](N["a"],null,n)}));A.defaultProps={step:1};t["a"]=A},g0SD:function(e,t,n){var r=n("bYtY"),i=n("9wZj"),o=n("OELB"),a=n("YXkt"),s=n("kj2x"),l=n("iPDy");function u(e,t,n){var r=t.coordinateSystem;e.each((function(i){var a,s=e.getItemModel(i),l=o.parsePercent(s.get("x"),n.getWidth()),u=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(t.getMarkerPosition)a=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var c=e.get(r.dimensions[0],i),d=e.get(r.dimensions[1],i);a=r.dataToPoint([c,d])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),e.setItemLayout(i,a)}))}var c=l.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markPointModel;t&&(u(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,s=e.id,l=e.getData(),c=this.markerGroupMap,h=c.get(s)||c.set(s,new i),f=d(a,e,t);t.setData(f),u(t.getData(),e,o),f.each((function(e){var n=f.getItemModel(e),i=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=r.isFunction(i),s=r.isFunction(o);if(a||s){var u=t.getRawValue(e),c=t.getDataParams(e);a&&(i=i(u,c)),s&&(o=o(u,c))}f.setItemVisual(e,{symbol:i,symbolSize:o,color:n.get("itemStyle.color")||l.getVisual("color")})})),h.updateData(f),this.group.add(h.group),f.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}});function d(e,t,n){var i;i=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var o=new a(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,t));return e&&(l=r.filter(l,r.curry(s.dataFilter,e))),o.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),o}e.exports=c},g0mS:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r,i=n("q1tI"),o=n("i8i4"),a=n("KS4O"),s=n("oHiP"),l=n("H84U");function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function g(e){var t=y();return function(){var n,r=b(e);if(t){var i=b(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function _(e){return!e||null===e.offsetParent}function w(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var x=function(e){f(n,e);var t=g(n);function n(){var e;return c(this,n),e=t.apply(this,arguments),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){if(!(!t||_(t)||t.className.indexOf("-leave")>=0)){var i=e.props.insertExtraNode;e.extraNode=document.createElement("div");var o=v(e),s=o.extraNode,l=e.context.getPrefixCls;s.className="".concat(l(""),"-click-animating-node");var u=e.getAttributeName();t.setAttribute(u,"true"),r=r||document.createElement("style"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&w(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n&&(e.csp&&e.csp.nonce&&(r.nonce=e.csp.nonce),s.style.borderColor=n,r.innerHTML="\n [".concat(l(""),"-click-animating-without-extra-node='true']::after, .").concat(l(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),document.body.contains(r)||document.body.appendChild(r)),i&&t.appendChild(s),a["a"].addStartEventListener(t,e.onTransitionStart),a["a"].addEndEventListener(t,e.onTransitionEnd)}},e.onTransitionStart=function(t){if(!e.destroyed){var n=Object(o["findDOMNode"])(v(e));t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!_(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),s["a"].cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=Object(s["a"])((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;return e.csp=n,r},e}return h(n,[{key:"componentDidMount",value:function(){var e=Object(o["findDOMNode"])(this);e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){if(e&&e!==this.extraNode&&e instanceof Element){var t=this.props.insertExtraNode,n=this.getAttributeName();e.setAttribute(n,"false"),r&&(r.innerHTML=""),t&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),a["a"].removeStartEventListener(e,this.onTransitionStart),a["a"].removeEndEventListener(e,this.onTransitionEnd)}}},{key:"render",value:function(){return i["createElement"](l["a"],null,this.renderWave)}}]),n}(i["Component"]);x.contextType=l["b"]},g7p0:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("+TT/"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,u=i.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,r){var i=a(e);u.superApply(this,"init",arguments),c(e,i)},mergeOption:function(e,t){u.superApply(this,"mergeOption",arguments),c(this.option,e)}});function c(e,t){var n=e.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var i=r.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:i})}var d=u;e.exports=d},g9YV:function(e,t,n){"use strict";n("cIOH"),n("pED+"),n("+L6B"),n("R9oj"),n("7Kak"),n("sRBo"),n("qVdP"),n("T2oS"),n("DjyN"),n("5Dmo")},gCVg:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("cGHE"),i=n("aokT"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r,i)||this;return o.selectionStartLineNumber=t,o.selectionStartColumn=n,o.positionLineNumber=r,o.positionColumn=i,o}return o(t,e),t.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},t.prototype.equalsSelection=function(e){return t.selectionsEqual(this,e)},t.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},t.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},t.prototype.setEndPosition=function(e,n){return 0===this.getDirection()?new t(this.startLineNumber,this.startColumn,e,n):new t(e,n,this.startLineNumber,this.startColumn)},t.prototype.getPosition=function(){return new r["a"](this.positionLineNumber,this.positionColumn)},t.prototype.setStartPosition=function(e,n){return 0===this.getDirection()?new t(e,n,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,n)},t.fromPositions=function(e,n){return void 0===n&&(n=e),new t(e.lineNumber,e.column,n.lineNumber,n.column)},t.liftSelection=function(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},t.selectionsArrEqual=function(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},t.isISelection=function(e){return e&&"number"===typeof e.selectionStartLineNumber&&"number"===typeof e.selectionStartColumn&&"number"===typeof e.positionLineNumber&&"number"===typeof e.positionColumn},t.createWithDirection=function(e,n,r,i,o){return 0===o?new t(e,n,r,i):new t(r,i,e,n)},t}(i["a"])},gCq4:function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},gKaM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"};t.default=r},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r["default"]}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return i["default"]}});var r=o(n("j6EG")),i=o(n("4oKn"));function o(e){return e&&e.__esModule?e:{default:e}}},gPAo:function(e,t){function n(e){return e}function r(e,t,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,this.context=o}function i(e,t,n,r,i){for(var o=0;o<e.length;o++){var a="_ec_"+i[r](e[o],o),s=t[a];null==s?(n.push(a),t[a]=o):(s.length||(t[a]=s=[s]),s.push(o))}}r.prototype={constructor:r,add:function(e){return this._add=e,this},update:function(e){return this._update=e,this},remove:function(e){return this._remove=e,this},execute:function(){var e=this._old,t=this._new,n={},r={},o=[],a=[];for(i(e,n,o,"_oldKeyGetter",this),i(t,r,a,"_newKeyGetter",this),c=0;c<e.length;c++){var s=o[c],l=r[s];if(null!=l){var u=l.length;u?(1===u&&(r[s]=null),l=l.shift()):r[s]=null,this._update&&this._update(l,c)}else this._remove&&this._remove(c)}for(var c=0;c<a.length;c++){s=a[c];if(r.hasOwnProperty(s)){l=r[s];if(null==l)continue;if(l.length){var d=0;for(u=l.length;d<u;d++)this._add&&this._add(l[d])}else this._add&&this._add(l)}}}};var o=r;e.exports=o},gRFJ:function(e,t,n){e.exports=[n("rdUC"),n("ynwM"),n("RELg"),n("DlR+"),n("CrYA"),n("PD8m")]},gaXo:function(module,exports){"object"!==typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,(function(e){var t=meta[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function str(e,t){var n,r,i,o,a,s=gap,l=t[e];switch(l&&"object"===typeof l&&"function"===typeof l.toJSON&&(l=l.toJSON(e)),"function"===typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(o=l.length,n=0;n<o;n+=1)a[n]=str(n,l)||"null";return i=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,i}if(rep&&"object"===typeof rep)for(o=rep.length,n=0;n<o;n+=1)"string"===typeof rep[n]&&(r=rep[n],i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));else for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(i=str(r,l),i&&a.push(quote(r)+(gap?": ":":")+i));return i=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,i}}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!==typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"===typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"===typeof n&&(indent=n);if(rep=t,t&&"function"!==typeof t&&("object"!==typeof t||"number"!==typeof t.length))throw new Error("JSON.stringify");return str("",{"":e})}),"function"!==typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var n,r,i=e[t];if(i&&"object"===typeof i)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),void 0!==r?i[n]=r:delete i[n]);return reviver.call(e,t,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"===typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},gawk:function(e,t,n){var r=n("+TT/"),i=n("bYtY"),o=n("4NO4"),a=o.groupData;function s(e,t,n){e.eachSeriesByType("sankey",(function(e){var n=e.get("nodeWidth"),r=e.get("nodeGap"),o=l(e,t);e.layoutInfo=o;var a=o.width,s=o.height,d=e.getGraph(),h=d.nodes,f=d.edges;c(h);var p=i.filter(h,(function(e){return 0===e.getLayout().value})),g=0!==p.length?0:e.get("layoutIterations"),m=e.get("orient"),v=e.get("nodeAlign");u(h,f,n,r,a,s,g,m,v)}))}function l(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e,t,n,r,i,o,a,s,l){d(e,t,n,i,o,s,l),m(e,t,o,i,r,a,s),M(e,s)}function c(e){i.each(e,(function(e){var t=E(e.outEdges,k),n=E(e.inEdges,k),r=e.getValue()||0,i=Math.max(t,n,r);e.setLayout({value:i},!0)}))}function d(e,t,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0,p=0;p<t.length;p++)s[p]=1;for(p=0;p<e.length;p++)l[p]=e[p].inEdges.length,0===l[p]&&u.push(e[p]);var m=-1;while(u.length){for(var v=0;v<u.length;v++){var y=u[v],b=y.hostGraph.data.getRawDataItem(y.dataIndex),_=null!=b.depth&&b.depth>=0;_&&b.depth>m&&(m=b.depth),y.setLayout({depth:_?b.depth:d},!0),"vertical"===o?y.setLayout({dy:n},!0):y.setLayout({dx:n},!0);for(var w=0;w<y.outEdges.length;w++){var x=y.outEdges[w],C=t.indexOf(x);s[C]=0;var S=x.node2,O=e.indexOf(S);0===--l[O]&&c.indexOf(S)<0&&c.push(S)}}++d,u=c,c=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var k=m>d-1?m:d-1;a&&"left"!==a&&f(e,a,o,k);h="vertical"===o?(i-n)/k:(r-n)/k;g(e,h,o)}function h(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function f(e,t,n,r){if("right"===t){var o=[],a=e,s=0;while(a.length){for(var l=0;l<a.length;l++){var u=a[l];u.setLayout({skNodeHeight:s},!0);for(var c=0;c<u.inEdges.length;c++){var d=u.inEdges[c];o.indexOf(d.node1)<0&&o.push(d.node1)}}a=o,o=[],++s}i.each(e,(function(e){h(e)||e.setLayout({depth:Math.max(0,r-e.getLayout().skNodeHeight)},!0)}))}else"justify"===t&&p(e,r)}function p(e,t){i.each(e,(function(e){h(e)||e.outEdges.length||e.setLayout({depth:t},!0)}))}function g(e,t,n){i.each(e,(function(e){var r=e.getLayout().depth*t;"vertical"===n?e.setLayout({y:r},!0):e.setLayout({x:r},!0)}))}function m(e,t,n,r,i,o,a){var s=v(e,a);y(s,t,n,r,i,a),b(s,i,n,r,a);for(var l=1;o>0;o--)l*=.99,_(s,l,a),b(s,i,n,r,a),D(s,l,a),b(s,i,n,r,a)}function v(e,t){var n=[],r="vertical"===t?"y":"x",o=a(e,(function(e){return e.getLayout()[r]}));return o.keys.sort((function(e,t){return e-t})),i.each(o.keys,(function(e){n.push(o.buckets.get(e))})),n}function y(e,t,n,r,o,a){var s=1/0;i.each(e,(function(e){var t=e.length,l=0;i.each(e,(function(e){l+=e.getLayout().value}));var u="vertical"===a?(r-(t-1)*o)/l:(n-(t-1)*o)/l;u<s&&(s=u)})),i.each(e,(function(e){i.each(e,(function(e,t){var n=e.getLayout().value*s;"vertical"===a?(e.setLayout({x:t},!0),e.setLayout({dx:n},!0)):(e.setLayout({y:t},!0),e.setLayout({dy:n},!0))}))})),i.each(t,(function(e){var t=+e.getValue()*s;e.setLayout({dy:t},!0)}))}function b(e,t,n,r,o){var a="vertical"===o?"x":"y";i.each(e,(function(e){var i,s,l;e.sort((function(e,t){return e.getLayout()[a]-t.getLayout()[a]}));for(var u=0,c=e.length,d="vertical"===o?"dx":"dy",h=0;h<c;h++)s=e[h],l=u-s.getLayout()[a],l>0&&(i=s.getLayout()[a]+l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[a]+s.getLayout()[d]+t;var f="vertical"===o?r:n;if(l=u-t-f,l>0)for(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0),u=i,h=c-2;h>=0;--h)s=e[h],l=s.getLayout()[a]+s.getLayout()[d]+t-u,l>0&&(i=s.getLayout()[a]-l,"vertical"===o?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),u=s.getLayout()[a]}))}function _(e,t,n){i.each(e.slice().reverse(),(function(e){i.each(e,(function(e){if(e.outEdges.length){var r=E(e.outEdges,w,n)/E(e.outEdges,k,n);if(isNaN(r)){var i=e.outEdges.length;r=i?E(e.outEdges,x,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-O(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-O(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function w(e,t){return O(e.node2,t)*e.getValue()}function x(e,t){return O(e.node2,t)}function C(e,t){return O(e.node1,t)*e.getValue()}function S(e,t){return O(e.node1,t)}function O(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function k(e){return e.getValue()}function E(e,t,n){var r=0,i=e.length,o=-1;while(++o<i){var a=+t.call(e,e[o],n);isNaN(a)||(r+=a)}return r}function D(e,t,n){i.each(e,(function(e){i.each(e,(function(e){if(e.inEdges.length){var r=E(e.inEdges,C,n)/E(e.inEdges,k,n);if(isNaN(r)){var i=e.inEdges.length;r=i?E(e.inEdges,S,n)/i:0}if("vertical"===n){var o=e.getLayout().x+(r-O(e,n))*t;e.setLayout({x:o},!0)}else{var a=e.getLayout().y+(r-O(e,n))*t;e.setLayout({y:a},!0)}}}))}))}function M(e,t){var n="vertical"===t?"x":"y";i.each(e,(function(e){e.outEdges.sort((function(e,t){return e.node2.getLayout()[n]-t.node2.getLayout()[n]})),e.inEdges.sort((function(e,t){return e.node1.getLayout()[n]-t.node1.getLayout()[n]}))})),i.each(e,(function(e){var t=0,n=0;i.each(e.outEdges,(function(e){e.setLayout({sy:t},!0),t+=e.getLayout().dy})),i.each(e.inEdges,(function(e){e.setLayout({ty:n},!0),n+=e.getLayout().dy}))}))}e.exports=s},"giR+":function(e,t,n){"use strict";n("cIOH"),n("QbM5")},gqHg:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return n.e(11).then(n.bind(null,"fhwZ"))}}),Object(r["a"])({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return n.e(11).then(n.bind(null,"fhwZ"))}})},gslv:function(e,t,n){"use strict";n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"d",(function(){return m})),n.d(t,"f",(function(){return v})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return _})),n.d(t,"a",(function(){return r}));var r,i=n("PTeM"),o=n("MrjW"),a=n("bY76"),s=n("N0LK"),l=n("tYmi"),u=n("MNsG"),c=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function d(e){return!e||e.scheme!==l["b"].file||!u["d"]}function h(e){return g(e)||e.authority}function f(e,t){return e===t||Object(s["n"])(e,t)}function p(e,t,n){if(void 0===n&&(n=d(e)),e===t)return!0;if(!e||!t)return!1;if(e.scheme!==t.scheme||!f(e.authority,t.authority))return!1;var r=e.path||"/",i=t.path||"/";return r===i||n&&Object(s["n"])(r||"/",i||"/")}function g(e){return o["posix"].basename(e.path)}function m(e){if(0===e.path.length)return e;if(e.scheme===l["b"].file)return a["a"].file(o["dirname"](b(e)));var t=o["posix"].dirname(e.path);return e.authority&&t.length&&47!==t.charCodeAt(0)&&(console.error('dirname("'+e.toString+")) resulted in a relative path"),t="/"),e.with({path:t})}function v(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return n=e.scheme===l["b"].file?a["a"].file(o["join"].apply(o,c([b(e)],r))).path:(t=o["posix"]).join.apply(t,c([e.path||"/"],r)),e.with({path:n})}function y(e){return e.path.length?(t=e.scheme===l["b"].file?a["a"].file(o["normalize"](b(e))).path:o["posix"].normalize(e.path),e.with({path:t})):e;var t}function b(e){var t,n=e.path;return t=e.authority&&n.length>1&&e.scheme===l["b"].file?"//"+e.authority+n:u["h"]&&47===n.charCodeAt(0)&&i["b"](n.charCodeAt(1))&&58===n.charCodeAt(2)?n.substr(1):n,u["h"]&&(t=t.replace(/\//g,"\\")),t}function _(e,t,n){if(void 0===n&&(n=d(e)),e.scheme===t.scheme&&f(e.authority,t.authority)){if(e.scheme===l["b"].file){var r=o["relative"](e.path,t.path);return u["h"]?i["c"](r):r}var a=e.path||"/",s=t.path||"/";if(n){for(var c=0,h=Math.min(a.length,s.length);c<h;c++)if(a.charCodeAt(c)!==s.charCodeAt(c)&&a.charAt(c).toLowerCase()!==s.charAt(c).toLowerCase())break;a=s.substr(0,c)+a.substr(c)}return o["posix"].relative(a,s)}}(function(e){function t(t){var n=new Map,r=t.path.substring(t.path.indexOf(";")+1,t.path.lastIndexOf(";"));r.split(";").forEach((function(e){var t=e.split(":"),r=t[0],i=t[1];r&&i&&n.set(r,i)}));var i=t.path.substring(0,t.path.indexOf(";"));return i&&n.set(e.META_DATA_MIME,i),n}e.META_DATA_LABEL="label",e.META_DATA_DESCRIPTION="description",e.META_DATA_SIZE="size",e.META_DATA_MIME="mime",e.parseMetaData=t})(r||(r={}))},gut8:function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},r=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=r},gvm7:function(e,t,n){var r=n("bYtY"),i=n("dqUG");function o(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}o.prototype={constructor:o,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var r={},o=e,a="{marker",s="|}",l=o.indexOf(a);while(l>=0){var u=o.indexOf(s),c=o.substr(l+a.length,u-l-a.length);c.indexOf("sub")>-1?r["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[c],textOffset:[3,0]}:r["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[c]},o=o.substr(u+1),l=o.indexOf("{marker")}this.el=new i({style:{rich:r,text:e,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var d=this;this.el.on("mouseover",(function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0})),this.el.on("mouseout",(function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var a=o;e.exports=a},gwTy:function(e,t,n){},h54F:function(e,t,n){var r=n("ProS"),i=n("YXkt"),o=n("bYtY"),a=n("4NO4"),s=a.defaultEmphasis,l=n("Qxkt"),u=n("7aKB"),c=u.encodeHTML,d=n("I3/A"),h=n("xKMd"),f=r.extendSeriesModel({type:"series.graph",init:function(e){f.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new h(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){f.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){f.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=this;if(r&&n)return d(r,n,this,!0,o).data;function o(e,n){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e}));var r=i.getModel("edgeLabel"),o=new l({label:r.option},r.parentModel,t),a=i.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:a.option}},a.parentModel,t);function u(e){return e=this.parsePath(e),e&&"label"===e[0]?o:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(u),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),o=r.graph.getEdgeByIndex(e),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),l=c(l.join(" > ")),i.value&&(l+=" : "+c(i.value)),l}return f.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=o.map(this.option.categories||[],(function(e){return null!=e.value?e:o.extend({value:0},e)})),t=new i(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return f.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,curveness:0,opacity:.5},emphasis:{label:{show:!0}}}}),p=f;e.exports=p},h7HQ:function(e,t,n){var r=n("y+Vt"),i=n("T6xi"),o=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){i.buildPath(e,t,!0)}});e.exports=o},h8O9:function(e,t,n){var r=n("bYtY"),i=r.map,o=n("zM3Q"),a=n("7hqr"),s=a.isDimensionStacked;function l(e){return{seriesType:e,plan:o(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,r=e.pipelineContext,o=r.large;if(n){var a=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=a.length,u=t.getCalculationInfo("stackResultDimension");return s(t,a[0])&&(a[0]=u),s(t,a[1])&&(a[1]=u),l&&{progress:c}}function c(e,t){for(var r=e.end-e.start,i=o&&new Float32Array(r*l),s=e.start,u=0,c=[],d=[];s<e.end;s++){var h;if(1===l){var f=t.get(a[0],s);h=!isNaN(f)&&n.dataToPoint(f,null,d)}else{f=c[0]=t.get(a[0],s);var p=c[1]=t.get(a[1],s);h=!isNaN(f)&&!isNaN(p)&&n.dataToPoint(c,null,d)}o?(i[u++]=h?h[0]:NaN,i[u++]=h?h[1]:NaN):t.setItemLayout(s,h&&h.slice()||[NaN,NaN])}o&&t.setLayout("symbolPoints",i)}}}}e.exports=l},hD7B:function(e,t,n){var r=n("bYtY"),i=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){r.each(i,(function(t){this[t]=r.bind(e[t],e)}),this)}var a=o;e.exports=a},hDam:function(e,t){e.exports=function(){}},hFdI:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return n.e(182).then(n.bind(null,"tpLM"))}})},hFmY:function(e,t,n){var r=n("ProS"),i={type:"axisAreaSelect",event:"axisAreaSelected"};r.registerAction(i,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),r.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},hHjc:function(e,t,n){},hJvP:function(e,t,n){var r=n("2dDv"),i=n("IDmD");function o(e,t){var n=[];return e.eachComponent("parallel",(function(i,o){var a=new r(i,e,t);a.name="parallel_"+o,a.resize(i,t),i.coordinateSystem=a,a.model=i,n.push(a)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}i.register("parallel",{create:o})},hM6l:function(e,t,n){var r=n("bYtY"),i=r.each,o=r.map,a=n("OELB"),s=a.linearMap,l=a.getPixelPrecision,u=a.round,c=n("4HMb"),d=c.createAxisTicks,h=c.createAxisLabels,f=c.calculateCategoryInterval,p=[0,1],g=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function v(e,t,n,r){var o=t.length;if(e.onBand&&!n&&o){var a,s,l=e.getExtent();if(1===o)t[0].coord=l[0],a=t[1]={coord:l[0]};else{var c=t[o-1].tickValue-t[0].tickValue,d=(t[o-1].coord-t[0].coord)/c;i(t,(function(e){e.coord-=d/2}));var h=e.scale.getExtent();s=1+h[1]-t[o-1].tickValue,a={coord:t[o-1].coord+d*s},t.push(a)}var f=l[0]>l[1];p(t[0].coord,l[0])&&(r?t[0].coord=l[0]:t.shift()),r&&p(l[0],t[0].coord)&&t.unshift({coord:l[0]}),p(l[1],a.coord)&&(r?a.coord=l[1]:t.pop()),r&&p(a.coord,l[1])&&t.push({coord:l[1]})}function p(e,t){return e=u(e),t=u(t),f?e>t:e<t}}g.prototype={constructor:g,contain:function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),m(n,r.count())),s(e,p,n,t)},coordToData:function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),m(n,r.count()));var i=s(e,n,p,t);return this.scale.scale(i)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=d(this,t),r=n.ticks,i=o(r,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),a=t.get("alignWithLabel");return v(this,i,a,e.clamp),i},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=o(n,(function(e){return o(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var y=g;e.exports=y},hNWo:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("Qxkt"),a=n("4NO4"),s=a.isNameSpecified,l=n("Kagy"),u=l.legend.selector,c={all:{type:"all",title:i.clone(u.all)},inverse:{type:"inverse",title:i.clone(u.inverse)}},d=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){d.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),i.isArray(t)&&i.each(t,(function(e,n){i.isString(e)&&(e={type:e}),t[n]=i.merge(e,c[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}!t&&this.select(e[0].get("name"))}},_updateData:function(e){var t=[],n=[];e.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider,l=a.getAllNames();e.isSeriesFiltered(r)||(n=n.concat(l)),l.length?t=t.concat(l):i=!0}else i=!0;i&&s(r)&&t.push(r.name)})),this._availableNames=n;var r=this.get("data")||t,a=i.map(r,(function(e){return"string"!==typeof e&&"number"!==typeof e||(e={name:e}),new o(e,this,this.ecModel)}),this);this._data=a},getData:function(){return this._data},select:function(e){var t=this.option.selected,n=this.get("selectedMode");if("single"===n){var r=this._data;i.each(r,(function(e){t[e.get("name")]=!1}))}t[e]=!0},unSelect:function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},toggleSelected:function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},allSelect:function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){t[e.get("name",!0)]=!0}))},inverseSelect:function(){var e=this._data,t=this.option.selected;i.each(e,(function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]}))},isSelected:function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&i.indexOf(this._availableNames,e)>=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),h=d;e.exports=h},hOwI:function(e,t){var n=Math.log(2);function r(e,t,i,o,a,s){var l=o+"-"+a,u=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var c=Math.round(Math.log((1<<u)-1&~a)/n);return e[i][c]}var d=o|1<<i,h=i+1;while(o&1<<h)h++;for(var f=0,p=0,g=0;p<u;p++){var m=1<<p;m&a||(f+=(g%2?-1:1)*e[i][p]*r(e,t-1,h,d,a|m,s),g++)}return s[l]=f,f}function i(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],i={},o=r(n,8,0,0,0,i);if(0!==o){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*r(n,7,0===s?1:0,1<<s,1<<l,i)/o*t[s];return function(e,t,n){var r=t*a[6]+n*a[7]+1;e[0]=(t*a[0]+n*a[1]+a[2])/r,e[1]=(t*a[3]+n*a[4]+a[5])/r}}}t.buildTransformer=i},hX1E:function(e,t){var n=2*Math.PI;function r(e){return e%=n,e<0&&(e+=n),e}t.normalizeRadian=r},hi0g:function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.each,a=r.isString,s=r.defaults,l=r.extend,u=r.isObject,c=r.clone,d=n("4NO4"),h=d.normalizeToArray,f=n("D5nY"),p=f.guessOrdinal,g=f.BE_ORDINAL,m=n("7G+c"),v=n("L0Ub"),y=v.OTHER_DIMENSIONS,b=n("Vi4m");function _(e,t,n){m.isInstance(t)||(t=m.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var r=(n.dimsDef||[]).slice(),d=i(),f=i(),v=[],_=w(t,e,r,n.dimCount),C=0;C<_;C++){var S=r[C]=l({},u(r[C])?r[C]:{name:r[C]}),O=S.name,k=v[C]=new b;null!=O&&null==d.get(O)&&(k.name=k.displayName=O,d.set(O,C)),null!=S.type&&(k.type=S.type),null!=S.displayName&&(k.displayName=S.displayName)}var E=n.encodeDef;!E&&n.encodeDefaulter&&(E=n.encodeDefaulter(t,_)),E=i(E),E.each((function(e,t){if(e=h(e).slice(),1===e.length&&!a(e[0])&&e[0]<0)E.set(t,!1);else{var n=E.set(t,[]);o(e,(function(e,r){a(e)&&(e=d.get(e)),null!=e&&e<_&&(n[r]=e,M(v[e],t,r))}))}}));var D=0;function M(e,t,n){null!=y.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,f.set(t,!0))}o(e,(function(e,t){var n,r,i;if(a(e))n=e,e={};else{n=e.name;var l=e.ordinalMeta;e.ordinalMeta=null,e=c(e),e.ordinalMeta=l,r=e.dimsDef,i=e.otherDims,e.name=e.coordDim=e.coordDimIndex=e.dimsDef=e.otherDims=null}var d=E.get(n);if(!1!==d){d=h(d);if(!d.length)for(var f=0;f<(r&&r.length||1);f++){while(D<v.length&&null!=v[D].coordDim)D++;D<v.length&&d.push(D++)}o(d,(function(t,o){var a=v[t];if(M(s(a,e),n,o),null==a.name&&r){var l=r[o];!u(l)&&(l={name:l}),a.name=a.displayName=l.name,a.defaultTooltip=l.defaultTooltip}i&&s(a.otherDims,i)}))}}));var N=n.generateCoord,L=n.generateCoordCount,I=null!=L;L=N?L||1:0;for(var T=N||"value",P=0;P<_;P++){k=v[P]=v[P]||new b;var A=k.coordDim;null==A&&(k.coordDim=x(T,f,I),k.coordDimIndex=0,(!N||L<=0)&&(k.isExtraCoord=!0),L--),null==k.name&&(k.name=x(k.coordDim,d)),null!=k.type||p(t,P,k.name)!==g.Must&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return v}function w(e,t,n,r){var i=Math.max(e.dimensionsDetectCount||1,t.length,n.length,r||0);return o(t,(function(e){var t=e.dimsDef;t&&(i=Math.max(i,t.length))})),i}function x(e,t,n){if(n||null!=t.get(e)){var r=0;while(null!=t.get(e+r))r++;e+=r}return t.set(e,!0),e}var C=_;e.exports=C},hw6D:function(e,t,n){var r=n("bYtY");function i(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){var s=i.getIndicatorAxes();r.each(s,(function(e,r){t.each(t.mapDimension(s[r].dim),(function(e,t){n[t]=n[t]||[];var s=i.dataToPoint(e,r);n[t][r]=o(s)?s:a(i)}))})),t.each((function(e){var s=r.find(n[e],(function(e){return o(e)}))||a(i);n[e].push(s.slice()),t.setItemLayout(e,n[e])}))}}))}function o(e){return!isNaN(e[0])&&!isNaN(e[1])}function a(e){return[e.cx,e.cy]}e.exports=i},hwYd:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("Nu4q")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="PictureTwoTone";var u=o.forwardRef(l);t.default=u},hydK:function(e,t){var n="http://www.w3.org/2000/svg";function r(e){return document.createElementNS(n,e)}t.createElement=r},hyiK:function(e,t){function n(e,t,n,r,i,o){if(o>t&&o>r||o<t&&o<r)return 0;if(r===t)return 0;var a=r<t?1:-1,s=(o-t)/(r-t);1!==s&&0!==s||(a=r<t?.5:-.5);var l=s*(n-e)+e;return l===i?1/0:l>i?a:0}e.exports=n},"i/Ef":function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return c}));var r=n("Tcc1"),i=n("twdY"),o=function(){function e(){}return e.prototype.clone=function(){return this},e.prototype.equals=function(e){return this===e},e}(),a=new o,s="vs.editor.nullMode",l=new i["q"](s,0);function u(e,t,n,i){return new r["b"]([new r["a"](i,"",e)],n)}function c(e,t,n,i){var o=new Uint32Array(2);return o[0]=i,o[1]=(16384|e<<0|2<<23)>>>0,new r["c"](o,null===n?a:n)}},"i/Rh":function(e,t,n){},i38C:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=i.createHashMap,a=(i.retrieve,i.each);function s(e){this.coordSysName=e,this.coordSysDims=[],this.axisMap=o(),this.categoryAxisMap=o(),this.firstCategoryDimIndex=null}function l(e){var t=e.get("coordinateSystem"),n=new s(t),r=u[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var u={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis")[0],o=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),c(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),c(o)&&(r.set("y",o),t.firstCategoryDimIndex,t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",i),c(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar")[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),c(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),c(a)&&(r.set("angle",a),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(e,o){var a=i.getComponent("parallelAxis",e),l=s[o];n.set(l,a),c(a)&&null==t.firstCategoryDimIndex&&(r.set(l,a),t.firstCategoryDimIndex=o)}))}};function c(e){return"category"===e.get("type")}t.getCoordSysInfoBySeries=l},i6bk:function(e,t,n){"use strict";function r(e){return null!==e&&void 0!==e&&e===e.window}function i(e,t){if("undefined"===typeof window)return 0;var n=t?"scrollTop":"scrollLeft",i=0;return r(e)?i=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?i=e.documentElement[n]:e&&(i=e[n]),e&&!r(e)&&"number"!==typeof i&&(i=(e.ownerDocument||e).documentElement[n]),i}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}))},i8CU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("Fm1+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},iCc5:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},iDAx:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return A})),n.d(t,"b",(function(){return R}));var r=n("3/fG"),i=n("MI8n"),o=n("pmY6"),a=n("qj0h"),s=n("6OMU"),l=n("/UlZ"),u=n("Yr1X"),c=n("+3Gp"),d=n("CRAX"),h=n("ic2d"),f=n("vl9R"),p=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},g.apply(this,arguments)},m=new(function(){function e(){this._tabFocus=!1,this._onDidChangeTabFocus=new i["a"],this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}return e.prototype.getTabFocusMode=function(){return this._tabFocus},e.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},e}()),v=Object.hasOwnProperty,y=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype.get=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),b=function(){function e(){this._values=[]}return e.prototype._read=function(e){return this._values[e]},e.prototype._write=function(e,t){this._values[e]=t},e}(),_=function(){function e(){}return e.readOptions=function(e){for(var t=e,n=new b,r=0,i=l["i"];r<i.length;r++){var o=i[r],a="_never_"===o.name?void 0:t[o.name];n._write(o.id,a)}return n},e.validateOptions=function(e){for(var t=new l["h"],n=0,r=l["i"];n<r.length;n++){var i=r[n];t._write(i.id,i.validate(e._read(i.id)))}return t},e.computeOptions=function(e,t){for(var n=new y,r=0,i=l["i"];r<i.length;r++){var o=i[r];n._write(o.id,o.compute(t,n,e._read(o.id)))}return n},e._deepEquals=function(t,n){if("object"!==typeof t||"object"!==typeof n)return t===n;if(Array.isArray(t)||Array.isArray(n))return!(!Array.isArray(t)||!Array.isArray(n))&&s["g"](t,n);for(var r in t)if(!e._deepEquals(t[r],n[r]))return!1;return!0},e.checkEquals=function(t,n){for(var r=[],i=!1,o=0,a=l["i"];o<a.length;o++){var s=a[o],u=!e._deepEquals(t._read(s.id),n._read(s.id));r[s.id]=u,u&&(i=!0)}return i?new l["a"](r):null},e}();function w(e){var t=e.wordWrap;!0===t?e.wordWrap="on":!1===t&&(e.wordWrap="off");var n=e.lineNumbers;!0===n?e.lineNumbers="on":!1===n&&(e.lineNumbers="off");var r=e.autoClosingBrackets;!1===r&&(e.autoClosingBrackets="never",e.autoClosingQuotes="never",e.autoSurround="never");var i=e.cursorBlinking;"visible"===i&&(e.cursorBlinking="solid");var o=e.renderWhitespace;!0===o?e.renderWhitespace="boundary":!1===o&&(e.renderWhitespace="none");var a=e.renderLineHighlight;!0===a?e.renderLineHighlight="line":!1===a&&(e.renderLineHighlight="none");var s=e.acceptSuggestionOnEnter;!0===s?e.acceptSuggestionOnEnter="on":!1===s&&(e.acceptSuggestionOnEnter="off");var l=e.tabCompletion;!1===l?e.tabCompletion="off":!0===l&&(e.tabCompletion="onlySnippets");var u=e.suggest;if(u&&"object"===typeof u.filteredTypes&&u.filteredTypes){var c={method:"showMethods",function:"showFunctions",constructor:"showConstructors",field:"showFields",variable:"showVariables",class:"showClasses",struct:"showStructs",interface:"showInterfaces",module:"showModules",property:"showProperties",event:"showEvents",operator:"showOperators",unit:"showUnits",value:"showValues",constant:"showConstants",enum:"showEnums",enumMember:"showEnumMembers",keyword:"showKeywords",text:"showWords",color:"showColors",file:"showFiles",reference:"showReferences",folder:"showFolders",typeParameter:"showTypeParameters",snippet:"showSnippets"};Object(f["b"])(c,(function(e){var t=u.filteredTypes[e.key];!1===t&&(u[e.value]=t)}))}var d=e.hover;!0===d?e.hover={enabled:!0}:!1===d&&(e.hover={enabled:!1});var h=e.parameterHints;!0===h?e.parameterHints={enabled:!0}:!1===h&&(e.parameterHints={enabled:!1});var p=e.autoIndent;!0===p?e.autoIndent="full":!1===p&&(e.autoIndent="advanced");var g=e.matchBrackets;!0===g?e.matchBrackets="always":!1===g&&(e.matchBrackets="never")}function x(e){var t=a["c"](e);return w(t),t}var C=function(e){function t(t,n){var r=e.call(this)||this;return r._onDidChange=r._register(new i["a"]),r.onDidChange=r._onDidChange.event,r.isSimpleWidget=t,r._isDominatedByLongLines=!1,r._lineNumbersDigitCount=1,r._rawOptions=x(n),r._readOptions=_.readOptions(r._rawOptions),r._validatedOptions=_.validateOptions(r._readOptions),r._register(u["a"].onDidChangeZoomLevel((function(e){return r._recomputeOptions()}))),r._register(m.onDidChangeTabFocus((function(e){return r._recomputeOptions()}))),r}return p(t,e),t.prototype.observeReferenceElement=function(e){},t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._recomputeOptions=function(){var e=this.options,t=this._computeInternalOptions();if(e){var n=_.checkEquals(e,t);if(null===n)return;this.options=t,this._onDidChange.fire(n)}else this.options=t},t.prototype.getRawOptions=function(){return this._rawOptions},t.prototype._computeInternalOptions=function(){var e=this._getEnvConfiguration(),t=c["a"].createFromValidatedSettings(this._validatedOptions,e.zoomLevel,this.isSimpleWidget),n={outerWidth:e.outerWidth,outerHeight:e.outerHeight,fontInfo:this.readConfiguration(t),extraEditorClassName:e.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:e.emptySelectionClipboard,pixelRatio:e.pixelRatio,tabFocusMode:m.getTabFocusMode(),accessibilitySupport:e.accessibilitySupport};return _.computeOptions(this._validatedOptions,n)},t._subsetEquals=function(e,t){for(var n in t)if(v.call(t,n)){var r=t[n],i=e[n];if(i===r)continue;if(Array.isArray(i)&&Array.isArray(r)){if(!s["g"](i,r))return!1;continue}if("object"===typeof i&&"object"===typeof r){if(!this._subsetEquals(i,r))return!1;continue}return!1}return!0},t.prototype.updateOptions=function(e){if("undefined"!==typeof e){var n=x(e);t._subsetEquals(this._rawOptions,n)||(this._rawOptions=a["g"](this._rawOptions,n||{}),this._readOptions=_.readOptions(this._rawOptions),this._validatedOptions=_.validateOptions(this._readOptions),this._recomputeOptions())}},t.prototype.setIsDominatedByLongLines=function(e){this._isDominatedByLongLines=e,this._recomputeOptions()},t.prototype.setMaxLineNumber=function(e){var n=t._digitCount(e);this._lineNumbersDigitCount!==n&&(this._lineNumbersDigitCount=n,this._recomputeOptions())},t._digitCount=function(e){var t=0;while(e)e=Math.floor(e/10),t++;return t||1},t}(o["a"]),S=Object.freeze({id:"editor",order:5,type:"object",title:r["a"]("editorConfigurationTitle","Editor"),scope:5}),O=h["a"].as(d["a"].Configuration),k=g(g({},S),{properties:{"editor.tabSize":{type:"number",default:l["c"].tabSize,minimum:1,markdownDescription:r["a"]("tabSize","The number of spaces a tab is equal to. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.insertSpaces":{type:"boolean",default:l["c"].insertSpaces,markdownDescription:r["a"]("insertSpaces","Insert spaces when pressing `Tab`. This setting is overridden based on the file contents when `#editor.detectIndentation#` is on.")},"editor.detectIndentation":{type:"boolean",default:l["c"].detectIndentation,markdownDescription:r["a"]("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.trimAutoWhitespace":{type:"boolean",default:l["c"].trimAutoWhitespace,description:r["a"]("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.largeFileOptimizations":{type:"boolean",default:l["c"].largeFileOptimizations,description:r["a"]("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"editor.wordBasedSuggestions":{type:"boolean",default:!0,description:r["a"]("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.semanticHighlighting.enabled":{type:"boolean",default:!1,description:r["a"]("semanticHighlighting.enabled","Controls whether the semanticHighlighting is shown for the languages that support it.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:r["a"]("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:r["a"]("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"diffEditor.maxComputationTime":{type:"number",default:5e3,description:r["a"]("maxComputationTime","Timeout in milliseconds after which diff computation is cancelled. Use 0 for no timeout.")},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:r["a"]("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:r["a"]("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:r["a"]("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}});function E(e){return"undefined"!==typeof e.type||"undefined"!==typeof e.anyOf}for(var D=0,M=l["i"];D<M.length;D++){var N=M[D],L=N.schema;if("undefined"!==typeof L)if(E(L))k.properties["editor."+N.name]=L;else for(var I in L)v.call(L,I)&&(k.properties[I]=L[I])}var T=null;function P(){return null===T&&(T=Object.create(null),Object.keys(k.properties).forEach((function(e){T[e]=!0}))),T}function A(e){var t=P();return t["editor."+e]||!1}function R(e){var t=P();return t["diffEditor."+e]||!1}O.registerConfiguration(k)},iJk1:function(e,t,n){},iLNv:function(e,t){var n="\0__throttleOriginMethod",r="\0__throttleRate",i="\0__throttleType";function o(e,t,n){var r,i,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,e.apply(o,a||[])}t=t||0;var h=function(){r=(new Date).getTime(),o=this,a=arguments;var e=s||t,h=s||n;s=null,i=r-(h?l:u)-e,clearTimeout(c),h?c=setTimeout(d,e):i>=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(e){s=e},h}function a(e,t,a,s){var l=e[t];if(l){var u=l[n]||l,c=l[i],d=l[r];if(d!==a||c!==s){if(null==a||!s)return e[t]=u;l=e[t]=o(u,a,"debounce"===s),l[n]=u,l[i]=s,l[r]=a}return l}}function s(e,t){var r=e[t];r&&r[n]&&(e[t]=r[n])}t.throttle=o,t.createOrUpdate=a,t.clear=s},iLY9:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return n.e(202).then(n.bind(null,"8ahN"))}})},iPDy:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(e,t,n){var r=this.markerGroupMap;r.each((function(e){e.__keep=!1}));var i=this.type+"Model";t.eachSeries((function(e){var r=e[i];r&&this.renderSeries(e,r,t,n)}),this),r.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=o},iQDF:function(e,t,n){"use strict";n("ZTW2"),n("+BJd"),n("+L6B")},iRjW:function(e,t,n){var r=n("bYtY"),i=n("Yl7c"),o=i.parseClassType,a=0;function s(e){return[e||"",a++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=o(e),t[e.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var a=o(n).main;e.hasSubTypes(n)&&t[a]&&(i=t[a](r))}return i},e}function u(e,t){function n(e){var n={},a=[];return r.each(e,(function(s){var l=i(n,s),u=l.originalDeps=t(s),c=o(u,e);l.entryCount=c.length,0===l.entryCount&&a.push(s),r.each(c,(function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:a}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function o(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,o){if(e.length){var a=n(t),s=a.graph,l=a.noEntryList,u={};r.each(e,(function(e){u[e]=!0}));while(l.length){var c=l.pop(),d=s[c],h=!!u[c];h&&(i.call(o,c,d.originalDeps.slice()),delete u[c]),r.each(d.successor,h?p:f)}r.each(u,(function(){throw new Error("Circle dependency may exists")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function p(e){u[e]=!0,f(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=u},iXHM:function(e,t){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=r},iXp4:function(e,t,n){var r=n("ItGF"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function o(e){return r.browser.ie&&r.browser.version>=11?function(){var t,n=this.__clipPaths,r=this.style;if(n)for(var o=0;o<n.length;o++){var a=n[o],s=a&&a.shape,l=a&&a.type;if(s&&("sector"===l&&s.startAngle===s.endAngle||"rect"===l&&(!s.width||!s.height))){for(var u=0;u<i.length;u++)i[u][2]=r[i[u][0]],r[i[u][0]]=i[u][1];t=!0;break}}if(e.apply(this,arguments),t)for(u=0;u<i.length;u++)r[i[u][0]]=i[u][2]}:e}e.exports=o},ic2d:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("746U"),i=n("FWmy"),o=function(){function e(){this.data=new Map}return e.prototype.add=function(e,t){i["a"](r["j"](e)),i["a"](r["i"](t)),i["a"](!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)},e.prototype.as=function(e){return this.data.get(e)||null},e}(),a=new o},ieMj:function(e,t,n){var r=n("OELB"),i=n("7aKB"),o=n("4NgU"),a=n("lE7J"),s=r.round,l=o.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},unionExtent:function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!t)return o;var a=1e4;n[0]<r[0]&&(e?o.push(s(r[0]-t,i)):o.push(n[0]));var l=r[0];while(l<=r[1]){if(o.push(l),l=s(l+t,i),l===o[o.length-1])break;if(o.length>a)return[]}var u=o.length?o[o.length-1]:r[1];return n[1]>u&&(e?o.push(s(u+t,i)):o.push(n[1])),o},getMinorTicks:function(e){for(var t=this.getTicks(!0),n=[],i=this.getExtent(),o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=0,u=[],c=a-s,d=c/e;while(l<e-1){var h=r.round(s+(l+1)*d);h>i[0]&&h<i[1]&&u.push(h),l++}n.push(u)}return n},getLabel:function(e,t){if(null==e)return"";var n=t&&t.precision;return null==n?n=r.getPrecisionSafe(e)||0:"auto"===n&&(n=this._intervalPrecision),e=s(e,n,!0),i.addCommas(e)},niceTicks:function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=a.intervalScaleNiceTicks(r,e,t,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},niceExtent:function(e){var t=this._extent;if(t[0]===t[1])if(0!==t[0]){var n=t[0];e.fixMax||(t[1]+=n/2),t[0]-=n/2}else t[1]=1;var r=t[1]-t[0];isFinite(r)||(t[0]=0,t[1]=1),this.niceTicks(e.splitNumber,e.minInterval,e.maxInterval);var i=this._interval;e.fixMin||(t[0]=s(Math.floor(t[0]/i)*i)),e.fixMax||(t[1]=s(Math.ceil(t[1]/i)*i))}});l.create=function(){return new l};var u=l;e.exports=u},"ij/i":function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile"],aliases:["Ruby","rb"],loader:function(){return n.e(208).then(n.bind(null,"3MdH"))}})},iuje:function(e,t,n){"use strict";function r(e){return e&&"string"===typeof e.id}n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var i={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},o={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},j2DC:function(e,t,n){"use strict";var r=n("oVml"),i=n("rr1i"),o=n("RfKB"),a={};n("NegM")(a,n("UWiX")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},j2o1:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return n.e(200).then(n.bind(null,"ppMK"))}})},j5sG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSensor=void 0;var r=i(n("NohK"));function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e){var t=void 0,n=[],i=(0,r["default"])((function(){n.forEach((function(t){t(e)}))})),o=function(){var t=new ResizeObserver(i);return t.observe(e),i(),t},a=function(e){t||(t=o()),-1===n.indexOf(e)&&n.push(e)},s=function(){t.disconnect(),n=[],t=void 0},l=function(e){var r=n.indexOf(e);-1!==r&&n.splice(r,1),0===n.length&&t&&s()};return{element:e,bind:a,destroy:s,unbind:l}};t.createSensor=o},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=u(n("M/lh")),i=s(n("17x9")),o=s(n("q1tI")),a=n("JwdM");function s(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n["default"]=e,t&&t.set(e,n),n}function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){return function(){var t,n=x(e);if(w()){var r=x(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return b(this,t)}}function b(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){m(n,e);var t=y(n);function n(e){var r;return f(this,n),r=t.call(this,e),C(_(r),"assignRef",(function(e){r.containerElement=e})),r.containerElement=void 0,r}return g(n,[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,i=t.language,o=t.theme,a=t.height,s=t.options,l=t.width,u=this.editor,c=u.getModel();null!=this.props.value&&this.props.value!==c.getValue()&&(this.__prevent_trigger_change_event=!0,this.editor.pushUndoStop(),c.pushEditOperations([],[{range:c.getFullModelRange(),text:n}]),this.editor.pushUndoStop(),this.__prevent_trigger_change_event=!1),e.language!==i&&r.editor.setModelLanguage(c,i),e.theme!==o&&r.editor.setTheme(o),!u||l===e.width&&a===e.height||u.layout(),e.options!==s&&u.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){if(this.editor){this.editor.dispose();var e=this.editor.getModel();e&&e.dispose()}this._subscription&&this._subscription.dispose()}},{key:"initMonaco",value:function(){var e=null!=this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,i=t.theme,o=t.options,a=t.overrideServices;this.containerElement&&(Object.assign(o,this.editorWillMount()),this.editor=r.editor.create(this.containerElement,h({value:e,language:n},o,{},i?{theme:i}:{}),a),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount,t=e(r);return t||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,r),this._subscription=e.onDidChangeModelContent((function(n){t.__prevent_trigger_change_event||t.props.onChange(e.getValue(),n)}))}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,r=(0,a.processSize)(t),i=(0,a.processSize)(n),s={width:r,height:i};return o["default"].createElement("div",{ref:this.assignRef,style:s,className:"react-monaco-editor-container"})}}]),n}(o["default"].Component);S.propTypes={width:i["default"].oneOfType([i["default"].string,i["default"].number]),height:i["default"].oneOfType([i["default"].string,i["default"].number]),value:i["default"].string,defaultValue:i["default"].string,language:i["default"].string,theme:i["default"].string,options:i["default"].object,overrideServices:i["default"].object,editorDidMount:i["default"].func,editorWillMount:i["default"].func,onChange:i["default"].func},S.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:a.noop,editorWillMount:a.noop,onChange:a.noop};var O=S;t["default"]=O},"jAJ/":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return h})),n.d(t,"c",(function(){return p})),n.d(t,"e",(function(){return v})),n.d(t,"b",(function(){return y}));var r=n("N0LK"),i=n("5v8Y"),o=n("cGHE"),a=n("aokT"),s=n("M1Kb"),l=999,u=function(){function e(e,t,n,r){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=r}return e.prototype.parseSearchRequest=function(){if(""===this.searchString)return null;var e;e=this.isRegex?c(this.searchString):this.searchString.indexOf("\n")>=0;var t=null;try{t=r["l"](this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(o){return null}if(!t)return null;var n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new d(t,this.wordSeparators?Object(i["a"])(this.wordSeparators):null,n?this.searchString:null)},e}();function c(e){if(!e||0===e.length)return!1;for(var t=0,n=e.length;t<n;t++){var r=e.charCodeAt(t);if(92===r){if(t++,t>=n)break;var i=e.charCodeAt(t);if(110===i||114===i||87===i||119===i)return!0}}return!1}var d=function(){function e(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}return e}();function h(e,t,n){if(!n)return new s["b"](e,null);for(var r=[],i=0,o=t.length;i<o;i++)r[i]=t[i];return new s["b"](e,r)}var f=function(){function e(e){for(var t=[],n=0,r=0,i=e.length;r<i;r++)10===e.charCodeAt(r)&&(t[n++]=r);this._lineFeedsOffsets=t}return e.prototype.findLineFeedCountBeforeOffset=function(e){var t=this._lineFeedsOffsets,n=0,r=t.length-1;if(-1===r)return 0;if(e<=t[0])return 0;while(n<r){var i=n+((r-n)/2>>0);t[i]>=e?r=i-1:t[i+1]>=e?(n=i,r=i):n=i+1}return n+1},e}(),p=function(){function e(){}return e.findMatches=function(e,t,n,r,i){var o=t.parseSearchRequest();return o?o.regex.multiline?this._doFindMatchesMultiline(e,n,new y(o.wordSeparators,o.regex),r,i):this._doFindMatchesLineByLine(e,n,o,r,i):[]},e._getMultilineMatchRange=function(e,t,n,r,i,o){var s,l,u=0;if(r?(u=r.findLineFeedCountBeforeOffset(i),s=t+i+u):s=t+i,r){var c=r.findLineFeedCountBeforeOffset(i+o.length),d=c-u;l=s+o.length+d}else l=s+o.length;var h=e.getPositionAt(s),f=e.getPositionAt(l);return new a["a"](h.lineNumber,h.column,f.lineNumber,f.column)},e._doFindMatchesMultiline=function(e,t,n,r,i){var o,a=e.getOffsetAt(t.getStartPosition()),s=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new f(s):null,u=[],c=0;n.reset(0);while(o=n.next(s))if(u[c++]=h(this._getMultilineMatchRange(e,a,s,l,o.index,o[0]),o,r),c>=i)return u;return u},e._doFindMatchesLineByLine=function(e,t,n,r,i){var o=[],a=0;if(t.startLineNumber===t.endLineNumber){var s=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return a=this._findMatchesInLine(n,s,t.startLineNumber,t.startColumn-1,a,o,r,i),o}var l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);a=this._findMatchesInLine(n,l,t.startLineNumber,t.startColumn-1,a,o,r,i);for(var u=t.startLineNumber+1;u<t.endLineNumber&&a<i;u++)a=this._findMatchesInLine(n,e.getLineContent(u),u,0,a,o,r,i);if(a<i){var c=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);a=this._findMatchesInLine(n,c,t.endLineNumber,0,a,o,r,i)}return o},e._findMatchesInLine=function(e,t,n,r,i,o,l,u){var c=e.wordSeparators;if(!l&&e.simpleSearch){var d=e.simpleSearch,f=d.length,p=t.length,g=-f;while(-1!==(g=t.indexOf(d,g+f)))if((!c||v(c,t,p,g,f))&&(o[i++]=new s["b"](new a["a"](n,g+1+r,n,g+1+f+r),null),i>=u))return i;return i}var m,b=new y(e.wordSeparators,e.regex);b.reset(0);do{if(m=b.next(t),m&&(o[i++]=h(new a["a"](n,m.index+1+r,n,m.index+1+m[0].length+r),m,l),i>=u))return i}while(m);return i},e.findNextMatch=function(e,t,n,r){var i=t.parseSearchRequest();if(!i)return null;var o=new y(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindNextMatchMultiline(e,n,o,r):this._doFindNextMatchLineByLine(e,n,o,r)},e._doFindNextMatchMultiline=function(e,t,n,r){var i=new o["a"](t.lineNumber,1),s=e.getOffsetAt(i),l=e.getLineCount(),u=e.getValueInRange(new a["a"](i.lineNumber,i.column,l,e.getLineMaxColumn(l)),1),c="\r\n"===e.getEOL()?new f(u):null;n.reset(t.column-1);var d=n.next(u);return d?h(this._getMultilineMatchRange(e,s,u,c,d.index,d[0]),d,r):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new o["a"](1,1),n,r):null},e._doFindNextMatchLineByLine=function(e,t,n,r){var i=e.getLineCount(),o=t.lineNumber,a=e.getLineContent(o),s=this._findFirstMatchInLine(n,a,o,t.column,r);if(s)return s;for(var l=1;l<=i;l++){var u=(o+l-1)%i,c=e.getLineContent(u+1),d=this._findFirstMatchInLine(n,c,u+1,1,r);if(d)return d}return null},e._findFirstMatchInLine=function(e,t,n,r,i){e.reset(r-1);var o=e.next(t);return o?h(new a["a"](n,o.index+1,n,o.index+1+o[0].length),o,i):null},e.findPreviousMatch=function(e,t,n,r){var i=t.parseSearchRequest();if(!i)return null;var o=new y(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindPreviousMatchMultiline(e,n,o,r):this._doFindPreviousMatchLineByLine(e,n,o,r)},e._doFindPreviousMatchMultiline=function(e,t,n,r){var i=this._doFindMatchesMultiline(e,new a["a"](1,1,t.lineNumber,t.column),n,r,10*l);if(i.length>0)return i[i.length-1];var s=e.getLineCount();return t.lineNumber!==s||t.column!==e.getLineMaxColumn(s)?this._doFindPreviousMatchMultiline(e,new o["a"](s,e.getLineMaxColumn(s)),n,r):null},e._doFindPreviousMatchLineByLine=function(e,t,n,r){var i=e.getLineCount(),o=t.lineNumber,a=e.getLineContent(o).substring(0,t.column-1),s=this._findLastMatchInLine(n,a,o,r);if(s)return s;for(var l=1;l<=i;l++){var u=(i+o-l-1)%i,c=e.getLineContent(u+1),d=this._findLastMatchInLine(n,c,u+1,r);if(d)return d}return null},e._findLastMatchInLine=function(e,t,n,r){var i,o=null;e.reset(0);while(i=e.next(t))o=h(new a["a"](n,i.index+1,n,i.index+1+i[0].length),i,r);return o},e}();function g(e,t,n,r,i){if(0===r)return!0;var o=t.charCodeAt(r-1);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){var a=t.charCodeAt(r);if(0!==e.get(a))return!0}return!1}function m(e,t,n,r,i){if(r+i===n)return!0;var o=t.charCodeAt(r+i);if(0!==e.get(o))return!0;if(13===o||10===o)return!0;if(i>0){var a=t.charCodeAt(r+i-1);if(0!==e.get(a))return!0}return!1}function v(e,t,n,r,i){return g(e,t,n,r,i)&&m(e,t,n,r,i)}var y=function(){function e(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}return e.prototype.reset=function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0},e.prototype.next=function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(t=this._searchRegex.exec(e),!t)return null;var r=t.index,i=t[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||v(this._wordSeparators,e,n,r,i))return t}while(t);return null},e}()},jCWc:function(e,t,n){"use strict";n("cIOH"),n("1GLa")},jCoz:function(e,t,n){var r=n("bYtY"),i=n("4NgU"),o=n("OELB"),a=n("ieMj"),s=i.prototype,l=a.prototype,u=o.getPrecisionSafe,c=o.round,d=Math.floor,h=Math.ceil,f=Math.pow,p=Math.log,g=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new a},getTicks:function(e){var t=this._originalScale,n=this._extent,i=t.getExtent();return r.map(l.getTicks.call(this,e),(function(e){var r=o.round(f(this.base,e));return r=e===n[0]&&t.__fixMin?m(r,i[0]):r,r=e===n[1]&&t.__fixMax?m(r,i[1]):r,r}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),f(this.base,e)},setExtent:function(e,t){var n=this.base;e=p(e)/p(n),t=p(t)/p(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=f(e,t[0]),t[1]=f(e,t[1]);var n=this._originalScale,r=n.getExtent();return n.__fixMin&&(t[0]=m(t[0],r[0])),n.__fixMax&&(t[1]=m(t[1],r[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=p(e[0])/p(t),e[1]=p(e[1])/p(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=o.quantity(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var a=[o.round(h(t[0]/r)*r),o.round(d(t[1]/r)*r)];this._interval=r,this._niceExtent=a}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function m(e,t){return c(e,u(t))}r.each(["contain","normalize"],(function(e){g.prototype[e]=function(t){return t=p(t)/p(this.base),s[e].call(this,t)}})),g.create=function(){return new g};var v=g;e.exports=v},jN4g:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CloseCircleFilled";t["a"]=r["forwardRef"](s)},jO45:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="CheckCircleFilled";t["a"]=r["forwardRef"](s)},jTL6:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),u=Math.sin(o);e.moveTo(l*i+n,u*i+r),e.arc(n,r,i,o,a,!s)}});e.exports=i},jVwG:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return n.e(192).then(n.bind(null,"fYNN"))}})},je13:function(e,t,n){var r=n("5nXd"),i=n("gRFJ"),o=[n("uQRt")];e.exports=r.createStore(i,o)},jett:function(e,t,n){var r=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var i=n("mOdp"),o=n("f5Yq"),a=n("hw6D"),s=n("0/Rx"),l=n("eJH7");r.registerVisual(i("radar")),r.registerVisual(o("radar","circle")),r.registerLayout(a),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},jhfD:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="ArrowLeftOutlined";t["a"]=r["forwardRef"](s)},jiSn:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("KBXm")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="EllipsisOutlined";var u=o.forwardRef(l);t.default=u},jkPA:function(e,t,n){var r=n("bYtY"),i=r.createHashMap,o=r.isObject,a=r.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,n=t.data,r=n&&a(n,c);return new s({categories:r,needCollect:!r,deduplication:!1!==t.dedplication})};var l=s.prototype;function u(e){return e._map||(e._map=i(e.categories))}function c(e){return o(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return u(this).get(e)},l.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=u(this);return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t};var d=s;e.exports=d},jndi:function(e,t,n){var r=n("bYtY"),i=n("Qe9p"),o=n("YXkt"),a=n("OELB"),s=n("IwbS"),l=n("kj2x"),u=n("iPDy"),c=function(e,t,n,i){var o=l.dataTransform(e,i[0]),a=l.dataTransform(e,i[1]),s=r.retrieve,u=o.coord,c=a.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var d=r.mergeAll([{},o,a]);return d.coord=[o.coord,a.coord],d.x0=o.x,d.y0=o.y,d.x1=a.x,d.y1=a.y,d};function d(e){return!isNaN(e)&&!isFinite(e)}function h(e,t,n,r){var i=1-e;return d(t[i])&&d(n[i])}function f(e,t){var n=t.coord[0],r=t.coord[1];return!("cartesian2d"!==e.type||!n||!r||!h(1,n,r,e)&&!h(0,n,r,e))||(l.dataFilter(e,{coord:n,x:t.x0,y:t.y0})||l.dataFilter(e,{coord:r,x:t.x1,y:t.y1}))}function p(e,t,n,r,i){var o,s=r.coordinateSystem,l=e.getItemModel(t),u=a.parsePercent(l.get(n[0]),i.getWidth()),c=a.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(n,t));else{var h=e.get(n[0],t),f=e.get(n[1],t),p=[h,f];s.clampData&&s.clampData(p,p),o=s.dataToPoint(p,!0)}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");h=e.get(n[0],t),f=e.get(n[1],t);d(h)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):d(f)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];function m(e,t,n){var i,a,s=["x0","y0","x1","y1"];e?(i=r.map(e&&e.dimensions,(function(e){var n=t.getData(),i=n.getDimensionInfo(n.mapDimension(e))||{};return r.defaults({name:e},i)})),a=new o(r.map(s,(function(e,t){return{name:e,type:i[t%2].type}})),n)):(i=[{name:"value",type:"float"}],a=new o(i,n));var l=r.map(n.get("data"),r.curry(c,t,e,n));e&&(l=r.filter(l,r.curry(f,e)));var u=e?function(e,t,n,r){return e.coord[Math.floor(r/2)][r%2]}:function(e){return e.value};return a.initData(l,null,u),a.hasItemOption=!0,a}u.extend({type:"markArea",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markAreaModel;if(t){var i=t.getData();i.each((function(t){var o=r.map(g,(function(r){return p(i,t,r,e,n)}));i.setItemLayout(t,o);var a=i.getItemGraphicEl(t);a.setShape("points",o)}))}}),this)},renderSeries:function(e,t,n,o){var a=e.coordinateSystem,l=e.id,u=e.getData(),c=this.markerGroupMap,d=c.get(l)||c.set(l,{group:new s.Group});this.group.add(d.group),d.__keep=!0;var h=m(a,e,t);t.setData(h),h.each((function(t){h.setItemLayout(t,r.map(g,(function(n){return p(h,t,n,e,o)}))),h.setItemVisual(t,{color:u.getVisual("color")})})),h.diff(d.__data).add((function(e){var t=new s.Polygon({shape:{points:h.getItemLayout(e)}});h.setItemGraphicEl(e,t),d.group.add(t)})).update((function(e,n){var r=d.__data.getItemGraphicEl(n);s.updateProps(r,{shape:{points:h.getItemLayout(e)}},t,e),d.group.add(r),h.setItemGraphicEl(e,r)})).remove((function(e){var t=d.__data.getItemGraphicEl(e);d.group.remove(t)})).execute(),h.eachItemGraphicEl((function(e,n){var o=h.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),u=h.getItemVisual(n,"color");e.useStyle(r.defaults(o.getModel("itemStyle").getItemStyle(),{fill:i.modifyAlpha(u,.4),stroke:u})),e.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(e.style,e.hoverStyle,a,l,{labelFetcher:t,labelDataIndex:n,defaultText:h.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(e,{}),e.dataModel=t})),d.__data=h,d.group.silent=t.get("silent")||e.get("silent")}})},jo6Y:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},jrbv:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return n.e(173).then(n.bind(null,"2ZXa"))}})},"jsC+":function(e,t,n){"use strict";var r=n("XBQK");t["a"]=r["a"]},"jsU+":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IUWy"),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(e,t){var n=o.get(t);n&&i.merge(e,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}}}),s=a;e.exports=s},jtI2:function(e,t,n){n("SMc4");var r=n("bLfw"),i=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=i},juDX:function(e,t,n){n("P47w");var r=n("aX58"),i=r.registerPainter,o=n("3CBa");i("svg",o)},"k+1r":function(e,t,n){var r=n("QkVE");function i(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=i},k5C7:function(e,t,n){n("0JAE"),n("g7p0"),n("7mYs")},k7mE:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return n.e(184).then(n.bind(null,"BjZ/"))}})},k9D9:function(e,t){var n="original",r="arrayRows",i="objectRows",o="keyedColumns",a="unknown",s="typedArray",l="column",u="row";t.SOURCE_FORMAT_ORIGINAL=n,t.SOURCE_FORMAT_ARRAY_ROWS=r,t.SOURCE_FORMAT_OBJECT_ROWS=i,t.SOURCE_FORMAT_KEYED_COLUMNS=o,t.SOURCE_FORMAT_UNKNOWN=a,t.SOURCE_FORMAT_TYPED_ARRAY=s,t.SERIES_LAYOUT_BY_COLUMN=l,t.SERIES_LAYOUT_BY_ROW=u},k9mg:function(e,t,n){"use strict";n.d(t,"a",(function(){return rt})),n.d(t,"b",(function(){return it})),n.d(t,"d",(function(){return st})),n.d(t,"c",(function(){return Nt}));var r=n("EffR"),i=n("cqdO"),o=n("pmY6"),a=n("3/fG"),s=n("+7oY"),l=n("CRAX"),u=n("T8No"),c=n("Cg/j"),d=n("bexQ"),h=n("ic2d"),f=n("ptcw"),p=n("t9D7"),g="inputFocus",m=(n("2V9f"),n("MI8n")),v=n("uDWl"),y=n("ZQ78"),b=n("6OMU"),_=n("feEw"),w=n("4y0V"),x=n("fpMC"),C=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(e){function t(t,n){return e.call(this,"TreeError ["+t+"] "+n)||this}return C(t,e),t}(Error),O=function(){function e(e){this.fn=e,this._map=new WeakMap}return e.prototype.map=function(e){var t=this._map.get(e);return t||(t=this.fn(e),this._map.set(e,t)),t},e}(),k=n("JYp7"),E=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function D(e){return"object"===typeof e&&"visibility"in e&&"data"in e}function M(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function N(e){return"boolean"===typeof e.collapsible}var L=function(){function e(e,t,n,r){void 0===r&&(r={}),this.user=e,this.list=t,this.rootRef=[],this.eventBufferer=new m["c"],this._onDidChangeCollapseState=new m["a"],this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new m["a"],this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new m["a"],this.onDidSplice=this._onDidSplice.event,this.collapseByDefault="undefined"!==typeof r.collapseByDefault&&r.collapseByDefault,this.filter=r.filter,this.autoExpandSingleChildren="undefined"!==typeof r.autoExpandSingleChildren&&r.autoExpandSingleChildren,this.root={parent:void 0,element:n,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visible:!0,filterData:void 0}}return e.prototype.splice=function(e,t,n,r,i){var o,a=this;if(0===e.length)throw new S(this.user,"Invalid tree location");for(var s=this.getParentNodeWithListIndex(e),l=s.parentNode,u=s.listIndex,c=s.revealed,d=s.visible,h=[],f=k["c"].map(k["c"].from(n),(function(e){return a.createTreeNode(e,l,l.visible?1:0,c,h,r)})),p=e[e.length-1],g=0,m=p;m>=0&&m<l.children.length;m--){var v=l.children[m];if(v.visible){g=v.visibleChildIndex;break}}var y=[],b=0,_=0;k["c"].forEach(f,(function(e){y.push(e),_+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+b++)}));for(var w=(o=l.children).splice.apply(o,E([p,t],y)),x=0,C=0,O=w;C<O.length;C++){v=O[C];v.visible&&x++}if(0!==x)for(m=p+y.length;m<l.children.length;m++){v=l.children[m];v.visible&&(v.visibleChildIndex-=x)}if(l.visibleChildrenCount+=b-x,c&&d){var D=w.reduce((function(e,t){return e+(t.visible?t.renderNodeCount:0)}),0);this._updateAncestorsRenderNodeCount(l,_-D),this.list.splice(u,D,h)}if(w.length>0&&i){var M=function(e){i(e),e.children.forEach(M)};w.forEach(M)}this._onDidSplice.fire({insertedNodes:y,deletedNodes:w})},e.prototype.rerender=function(e){if(0===e.length)throw new S(this.user,"Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,r=t.listIndex,i=t.revealed;i&&this.list.splice(r,1,[n])},e.prototype.has=function(e){return this.hasTreeNode(e)},e.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,r=t.visible,i=t.revealed;return r&&i?n:-1},e.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},e.prototype.isCollapsible=function(e){return this.getTreeNode(e).collapsible},e.prototype.setCollapsible=function(e,t){var n=this,r=this.getTreeNode(e);"undefined"===typeof t&&(t=!r.collapsible);var i={collapsible:t};return this.eventBufferer.bufferEvents((function(){return n._setCollapseState(e,i)}))},e.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},e.prototype.setCollapsed=function(e,t,n){var r=this,i=this.getTreeNode(e);"undefined"===typeof t&&(t=!i.collapsed);var o={collapsed:t,recursive:n||!1};return this.eventBufferer.bufferEvents((function(){return r._setCollapseState(e,o)}))},e.prototype._setCollapseState=function(e,t){var n=this.getTreeNodeWithListIndex(e),r=n.node,i=n.listIndex,o=n.revealed,a=this._setListNodeCollapseState(r,i,o,t);if(r!==this.root&&this.autoExpandSingleChildren&&a&&!N(t)&&r.collapsible&&!r.collapsed&&!t.recursive){for(var s=-1,l=0;l<r.children.length;l++){var u=r.children[l];if(u.visible){if(s>-1){s=-1;break}s=l}}s>-1&&this._setCollapseState(E(e,[s]),t)}return a},e.prototype._setListNodeCollapseState=function(e,t,n,r){var i=this._setNodeCollapseState(e,r,!1);if(!n||!e.visible||!i)return i;var o=e.renderNodeCount,a=this.updateNodeAfterCollapseChange(e),s=o-(-1===t?0:1);return this.list.splice(t+1,s,a.slice(1)),i},e.prototype._setNodeCollapseState=function(e,t,n){var r;if(e===this.root?r=!1:(N(t)?(r=e.collapsible!==t.collapsible,e.collapsible=t.collapsible):e.collapsible?(r=e.collapsed!==t.collapsed,e.collapsed=t.collapsed):r=!1,r&&this._onDidChangeCollapseState.fire({node:e,deep:n})),!N(t)&&t.recursive)for(var i=0,o=e.children;i<o.length;i++){var a=o[i];r=this._setNodeCollapseState(a,t,!0)||r}return r},e.prototype.expandTo=function(e){var t=this;this.eventBufferer.bufferEvents((function(){var n=t.getTreeNode(e);while(n.parent)n=n.parent,e=e.slice(0,e.length-1),n.collapsed&&t._setCollapseState(e,{collapsed:!1,recursive:!1})}))},e.prototype.refilter=function(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)},e.prototype.createTreeNode=function(e,t,n,r,i,o){var a=this,s={parent:t,element:e.element,children:[],depth:t.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:"boolean"===typeof e.collapsible?e.collapsible:"undefined"!==typeof e.collapsed,collapsed:"undefined"===typeof e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visible:!0,filterData:void 0},l=this._filterNode(s,n);r&&i.push(s);var u=k["c"].from(e.children),c=r&&0!==l&&!s.collapsed,d=k["c"].map(u,(function(e){return a.createTreeNode(e,s,l,c,i,o)})),h=0,f=1;return k["c"].forEach(d,(function(e){s.children.push(e),f+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++)})),s.collapsible=s.collapsible||s.children.length>0,s.visibleChildrenCount=h,s.visible=2===l?h>0:1===l,s.visible?s.collapsed||(s.renderNodeCount=f):(s.renderNodeCount=0,r&&i.pop()),o&&o(s),s},e.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,r=e.children;n<r.length;n++){var i=r[n];e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t)}return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount},e.prototype.updateNodeAfterFilterChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterFilterChange(e,e.visible?1:0,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},e.prototype._updateNodeAfterFilterChange=function(e,t,n,r){var i;if(void 0===r&&(r=!0),e!==this.root){if(i=this._filterNode(e,t),0===i)return e.visible=!1,e.renderNodeCount=0,!1;r&&n.push(e)}var o=n.length;e.renderNodeCount=e===this.root?0:1;var a=!1;if(e.collapsed&&0===i)e.visibleChildrenCount=0;else{for(var s=0,l=0,u=e.children;l<u.length;l++){var c=u[l];a=this._updateNodeAfterFilterChange(c,i,n,r&&!e.collapsed)||a,c.visible&&(c.visibleChildIndex=s++)}e.visibleChildrenCount=s}return e!==this.root&&(e.visible=2===i?a:1===i),e.visible?e.collapsed||(e.renderNodeCount+=n.length-o):(e.renderNodeCount=0,r&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible},e.prototype._updateAncestorsRenderNodeCount=function(e,t){if(0!==t)while(e)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent},e.prototype._filterNode=function(e,t){var n=this.filter?this.filter.filter(e.element,t):1;return"boolean"===typeof n?(e.filterData=void 0,n?1:0):D(n)?(e.filterData=n.data,M(n.visibility)):(e.filterData=void 0,M(n))},e.prototype.hasTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return!0;var n=e[0],r=e.slice(1);return!(n<0||n>t.children.length)&&this.hasTreeNode(r,t.children[n])},e.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var n=e[0],r=e.slice(1);if(n<0||n>t.children.length)throw new S(this.user,"Invalid tree location");return this.getTreeNode(r,t.children[n])},e.prototype.getTreeNodeWithListIndex=function(e){if(0===e.length)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};var t=this.getParentNodeWithListIndex(e),n=t.parentNode,r=t.listIndex,i=t.revealed,o=t.visible,a=e[e.length-1];if(a<0||a>n.children.length)throw new S(this.user,"Invalid tree location");var s=n.children[a];return{node:s,listIndex:r,revealed:i,visible:o&&s.visible}},e.prototype.getParentNodeWithListIndex=function(e,t,n,r,i){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===r&&(r=!0),void 0===i&&(i=!0);var o=e[0],a=e.slice(1);if(o<0||o>t.children.length)throw new S(this.user,"Invalid tree location");for(var s=0;s<o;s++)n+=t.children[s].renderNodeCount;return r=r&&!t.collapsed,i=i&&t.visible,0===a.length?{parentNode:t,listIndex:n,revealed:r,visible:i}:this.getParentNodeWithListIndex(a,t.children[o],n+1,r,i)},e.prototype.getNode=function(e){return void 0===e&&(e=[]),this.getTreeNode(e)},e.prototype.getNodeLocation=function(e){var t=[],n=e;while(n.parent)t.push(n.parent.children.indexOf(n)),n=n.parent;return t.reverse()},e.prototype.getParentNodeLocation=function(e){return 0===e.length?void 0:1===e.length?[]:Object(b["w"])(e)[0]},e}(),I=n("X+cX"),T=n("MNsG"),P=n("QDVR"),A=n("Sdnv"),R=n("vl9R"),j=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),F=function(){return F=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},F.apply(this,arguments)},B=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},V=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return j(t,e),t}(_["a"]);function z(e){return e instanceof _["a"]?new V(e):e}var W=function(){function e(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=o["a"].None}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(z(e),t)},e.prototype.onDragOver=function(e,t,n,r,i){var o=this;void 0===i&&(i=!0);var a=this.dnd.onDragOver(z(e),t&&t.element,n,r),s=this.autoExpandNode!==t;if(s&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=t),"undefined"===typeof t)return a;if(s&&"boolean"!==typeof a&&a.autoExpand&&(this.autoExpandDisposable=Object(I["g"])((function(){var e=o.modelProvider(),n=e.getNodeLocation(t);e.isCollapsed(n)&&e.setCollapsed(n,!1),o.autoExpandNode=void 0}),500)),"boolean"===typeof a||!a.accept||"undefined"===typeof a.bubble||a.feedback){if(!i){var l="boolean"===typeof a?a:a.accept,u="boolean"===typeof a?void 0:a.effect;return{accept:l,effect:u,feedback:[n]}}return a}if(1===a.bubble){var c=this.modelProvider(),d=c.getNodeLocation(t),h=c.getParentNodeLocation(d),f=c.getNode(h),p=h&&c.getListIndex(h);return this.onDragOver(e,f,p,r,!1)}var g=this.modelProvider(),m=g.getNodeLocation(t),v=g.getListIndex(m),y=g.getListRenderCount(m);return F(F({},a),{feedback:Object(b["u"])(v,v+y)})},e.prototype.drop=function(e,t,n,r){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(z(e),t&&t.element,n,r)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();function H(e,t){return t&&F(F({},t),{identityProvider:t.identityProvider&&{getId:function(e){return t.identityProvider.getId(e.element)}},dnd:t.dnd&&new W(e,t.dnd),multipleSelectionController:t.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return t.multipleSelectionController.isSelectionSingleChangeEvent(F(F({},e),{element:e.element}))},isSelectionRangeChangeEvent:function(e){return t.multipleSelectionController.isSelectionRangeChangeEvent(F(F({},e),{element:e.element}))}},accessibilityProvider:t.accessibilityProvider&&F(F({},t.accessibilityProvider),{getAriaLabel:function(e){return t.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth},getActiveDescendantId:t.accessibilityProvider.getActiveDescendantId&&function(e){return t.accessibilityProvider.getActiveDescendantId(e.element)}}),keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&F(F({},t.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(e){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:t.simpleKeyboardNavigation,ariaProvider:{getSetSize:function(t){var n=e(),r=n.getNodeLocation(t),i=n.getParentNodeLocation(r),o=n.getNode(i);return o.visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1},isChecked:t.ariaProvider&&t.ariaProvider.isChecked?function(e){return t.ariaProvider.isChecked(e.element)}:void 0,getRole:t.ariaProvider&&t.ariaProvider.getRole?function(e){return t.ariaProvider.getRole(e.element)}:void 0}})}var U,K=function(){function e(e){this.delegate=e}return e.prototype.getHeight=function(e){return this.delegate.getHeight(e.element)},e.prototype.getTemplateId=function(e){return this.delegate.getTemplateId(e.element)},e.prototype.hasDynamicHeight=function(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)},e.prototype.setDynamicHeight=function(e,t){this.delegate.setDynamicHeight&&this.delegate.setDynamicHeight(e.element,t)},e}();(function(e){e["None"]="none",e["OnHover"]="onHover",e["Always"]="always"})(U||(U={}));var G=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this._elements=t,this.onDidChange=m["b"].forEach(e,(function(e){return n._elements=e}))}return Object.defineProperty(e.prototype,"elements",{get:function(){return this._elements},enumerable:!0,configurable:!0}),e}(),q=function(){function e(t,n,r,i,a){void 0===a&&(a={}),this.renderer=t,this.modelProvider=n,this.activeNodes=i,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=e.DefaultIndent,this.hideTwistiesOfChildlessElements=!1,this.shouldRenderIndentGuides=!1,this.renderedIndentGuides=new R["a"],this.activeIndentNodes=new Set,this.indentGuidesDisposable=o["a"].None,this.disposables=new o["b"],this.templateId=t.templateId,this.updateOptions(a),m["b"].map(r,(function(e){return e.node}))(this.onDidChangeNodeTwistieState,this,this.disposables),t.onDidChangeTwistieState&&t.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}return e.prototype.updateOptions=function(e){if(void 0===e&&(e={}),"undefined"!==typeof e.indent&&(this.indent=Object(A["a"])(e.indent,0,40)),"undefined"!==typeof e.renderIndentGuides){var t=e.renderIndentGuides!==U.None;if(t!==this.shouldRenderIndentGuides&&(this.shouldRenderIndentGuides=t,this.indentGuidesDisposable.dispose(),t)){var n=new o["b"];this.activeNodes.onDidChange(this._onDidChangeActiveNodes,this,n),this.indentGuidesDisposable=n,this._onDidChangeActiveNodes(this.activeNodes.elements)}}"undefined"!==typeof e.hideTwistiesOfChildlessElements&&(this.hideTwistiesOfChildlessElements=e.hideTwistiesOfChildlessElements)},e.prototype.renderTemplate=function(e){var t=Object(r["p"])(e,Object(r["a"])(".monaco-tl-row")),n=Object(r["p"])(t,Object(r["a"])(".monaco-tl-indent")),i=Object(r["p"])(t,Object(r["a"])(".monaco-tl-twistie")),a=Object(r["p"])(t,Object(r["a"])(".monaco-tl-contents")),s=this.renderer.renderTemplate(a);return{container:e,indent:n,twistie:i,indentGuidesDisposable:o["a"].None,templateData:s}},e.prototype.renderElement=function(t,n,r,i){"number"===typeof i&&(this.renderedNodes.set(t,{templateData:r,height:i}),this.renderedElements.set(t.element,t));var o=e.DefaultIndent+(t.depth-1)*this.indent;r.twistie.style.paddingLeft=o+"px",r.indent.style.width=o+this.indent-16+"px",this.renderTwistie(t,r),"number"===typeof i&&this.renderIndentGuides(t,r),this.renderer.renderElement(t,n,r.templateData,i)},e.prototype.disposeElement=function(e,t,n,r){n.indentGuidesDisposable.dispose(),this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,r),"number"===typeof r&&(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.onDidChangeTwistieState=function(e){var t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)},e.prototype.onDidChangeNodeTwistieState=function(e){var t=this.renderedNodes.get(e);t&&(this.renderTwistie(e,t.templateData),this._onDidChangeActiveNodes(this.activeNodes.elements),this.renderIndentGuides(e,t.templateData))},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),e.collapsible&&(!this.hideTwistiesOfChildlessElements||e.visibleChildrenCount>0)?(Object(r["f"])(t.twistie,"codicon","codicon-chevron-down","collapsible"),Object(r["X"])(t.twistie,"collapsed",e.collapsed)):Object(r["P"])(t.twistie,"codicon","codicon-chevron-down","collapsible","collapsed"),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},e.prototype.renderIndentGuides=function(e,t){var n=this;if(Object(r["s"])(t.indent),t.indentGuidesDisposable.dispose(),this.shouldRenderIndentGuides){var i=new o["b"],a=this.modelProvider(),s=e,l=function(){var e=a.getNodeLocation(s),l=a.getParentNodeLocation(e);if(!l)return"break";var c=a.getNode(l),d=Object(r["a"])(".indent-guide",{style:"width: "+u.indent+"px"});u.activeIndentNodes.has(c)&&Object(r["e"])(d,"active"),0===t.indent.childElementCount?t.indent.appendChild(d):t.indent.insertBefore(d,t.indent.firstElementChild),u.renderedIndentGuides.add(c,d),i.add(Object(o["h"])((function(){return n.renderedIndentGuides.delete(c,d)}))),s=c},u=this;while(1){var c=l();if("break"===c)break}t.indentGuidesDisposable=i}},e.prototype._onDidChangeActiveNodes=function(e){var t=this;if(this.shouldRenderIndentGuides){var n=new Set,i=this.modelProvider();e.forEach((function(e){var t=i.getNodeLocation(e);try{var r=i.getParentNodeLocation(t);e.collapsible&&e.children.length>0&&!e.collapsed?n.add(e):r&&n.add(i.getNode(r))}catch(o){}})),this.activeIndentNodes.forEach((function(e){n.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(r["O"])(e,"active")}))})),n.forEach((function(e){t.activeIndentNodes.has(e)||t.renderedIndentGuides.forEach(e,(function(e){return Object(r["e"])(e,"active")}))})),this.activeIndentNodes=n}},e.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.indentGuidesDisposable.dispose(),Object(o["f"])(this.disposables)},e.DefaultIndent=8,e}(),Y=function(){function e(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this._pattern="",this._lowercasePattern="",this.disposables=new o["b"],e.onWillRefilter(this.reset,this,this.disposables)}return Object.defineProperty(e.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),e.prototype.filter=function(e,t){if(this._filter){var n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;var r=void 0;if(r="boolean"===typeof n?n?1:0:D(n)?M(n.visibility):n,0===r)return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:x["a"].Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if("undefined"===typeof o)return{data:x["a"].Default,visibility:!0};var a=Object(x["d"])(this._pattern,this._lowercasePattern,0,o,o.toLowerCase(),0,!0);return a?(this._matchCount++,{data:a,visibility:!0}):this.tree.options.filterOnType?2:{data:x["a"].Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(o["f"])(this.disposables)},e}(),X=function(){function e(e,t,n,i,s){this.tree=e,this.view=n,this.filter=i,this.keyboardNavigationDelegate=s,this._enabled=!1,this._pattern="",this._empty=!1,this._onDidChangeEmptyState=new m["a"],this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new m["a"],this.enabledDisposables=new o["b"],this.disposables=new o["b"],this.domNode=Object(r["a"])(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(w["a"])(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(r["p"])(n.getHTMLElement(),Object(r["a"])(".monaco-list-type-filter-message")),this.labelDomNode=Object(r["p"])(this.domNode,Object(r["a"])("span.label"));var l=Object(r["p"])(this.domNode,Object(r["a"])(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(r["p"])(l,Object(r["a"])("input.filter.codicon.codicon-list-selection")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(w["a"])(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(r["p"])(l,Object(r["a"])("button.clear.codicon.codicon-close")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(a["a"])("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),"undefined"!==typeof e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),"undefined"!==typeof e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},e.prototype.enable=function(){var e=this;if(!this._enabled){var t=m["b"].chain(Object(w["a"])(this.view.getHTMLElement(),"keydown")).filter((function(t){return!Z(t.target)||t.target===e.filterOnTypeDomNode})).filter((function(e){return"Dead"!==e.key&&!/^Media/.test(e.key)})).map((function(e){return new v["a"](e)})).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter((function(){return e.automaticKeyboardNavigation||e.triggered})).filter((function(t){return e.keyboardNavigationDelegate.mightProducePrintableCharacter(t)||(e.pattern.length>0||e.triggered)&&(9===t.keyCode||1===t.keyCode)&&!t.altKey&&!t.ctrlKey&&!t.metaKey||1===t.keyCode&&(T["e"]?t.altKey&&!t.metaKey:t.ctrlKey)&&!t.shiftKey})).forEach((function(e){e.stopPropagation(),e.preventDefault()})).event,n=Object(w["a"])(this.clearDomNode,"click");m["b"].chain(m["b"].any(t,n)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},e.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.clear(),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},e.prototype.onEventOrInput=function(e){"string"===typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(T["e"]?e.altKey:e.ctrlKey)?this.onInput(""):1===e.keyCode?this.onInput(0===this.pattern.length?"":this.pattern.substr(0,this.pattern.length-1)):this.onInput(this.pattern+e.browserEvent.key)},e.prototype.onInput=function(e){var t=this.view.getHTMLElement();e&&!this.domNode.parentElement?t.append(this.domNode):!e&&this.domNode.parentElement&&(this.domNode.remove(),this.tree.domFocus()),this._pattern=e,this._onDidChangePattern.fire(e),this.filter.pattern=e,this.tree.refilter(),e&&this.tree.focusNext(0,!0,void 0,(function(e){return!x["a"].isDefault(e.filterData)}));var n=this.tree.getFocus();if(n.length>0){var r=n[0];null===this.tree.getRelativeTop(r)&&this.tree.reveal(r,.5)}this.render(),e||(this.triggered=!1)},e.prototype.onDragStart=function(){var e=this,t=this.view.getHTMLElement(),n=Object(r["B"])(t).left,i=t.clientWidth,a=i/2,s=this.domNode.clientWidth,l=new o["b"],u=this.positionClassName,c=function(){switch(u){case"nw":e.domNode.style.top="4px",e.domNode.style.left="4px";break;case"ne":e.domNode.style.top="4px",e.domNode.style.left=i-s-6+"px";break}},d=function(e){e.preventDefault();var t=e.screenX-n;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),u=t<a?"nw":"ne",c()},h=function(){e.positionClassName=u,e.domNode.className="monaco-list-type-filter "+e.positionClassName,e.domNode.style.top="",e.domNode.style.left="",Object(o["f"])(l)};c(),Object(r["O"])(this.domNode,u),Object(r["e"])(this.domNode,"dragging"),l.add(Object(o["h"])((function(){return Object(r["O"])(e.domNode,"dragging")}))),Object(w["a"])(document,"dragover")(d,null,l),Object(w["a"])(this.domNode,"dragend")(h,null,l),y["c"].CurrentDragAndDropData=new y["b"]("vscode-ui"),l.add(Object(o["h"])((function(){return y["c"].CurrentDragAndDropData=void 0})))},e.prototype.onDidSpliceModel=function(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())},e.prototype.onDidChangeFilterOnType=function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitle()},e.prototype.updateFilterOnTypeTitle=function(){this.filterOnType?this.filterOnTypeDomNode.title=Object(a["a"])("disable filter on type","Disable Filter on Type"):this.filterOnTypeDomNode.title=Object(a["a"])("enable filter on type","Enable Filter on Type")},e.prototype.render=function(){var e=this.filter.totalCount>0&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(a["a"])("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(r["X"])(this.domNode,"no-matches",e),this.domNode.title=Object(a["a"])("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=this.pattern.length>16?"\u2026"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},e.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||(this.filter.totalCount>0&&this.filter.matchCount<=1||!x["a"].isDefault(e.filterData))},e.prototype.dispose=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables.dispose(),this._enabled=!1,this.triggered=!1),this._onDidChangePattern.dispose(),Object(o["f"])(this.disposables)},e}();function Z(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function Q(e){return{elements:e.elements.map((function(e){return e.element})),browserEvent:e.browserEvent}}function $(e,t){t(e),e.children.forEach((function(e){return $(e,t)}))}var J=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new m["a"],this.onDidChange=this._onDidChange.event}return Object.defineProperty(e.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),e.prototype.set=function(e,t){Object(b["g"])(this.nodes,e)||this._set(e,!1,t)},e.prototype._set=function(e,t,n){if(this.nodes=B(e),this.elements=void 0,this._nodeSet=void 0,!t){var r=this;this._onDidChange.fire({get elements(){return r.get()},browserEvent:n})}},e.prototype.get=function(){return this.elements||(this.elements=this.nodes.map((function(e){return e.element}))),B(this.elements)},e.prototype.getNodes=function(){return this.nodes},e.prototype.has=function(e){return this.nodeSet.has(e)},e.prototype.onDidModelSplice=function(e){var t=this,n=e.insertedNodes,r=e.deletedNodes;if(!this.identityProvider){var i=this.createNodeSet(),o=function(e){return i.delete(e)};return r.forEach((function(e){return $(e,o)})),void this.set(Object(P["e"])(i))}var a=new Set,s=function(e){return a.add(t.identityProvider.getId(e.element).toString())};r.forEach((function(e){return $(e,s)}));var l=new Map,u=function(e){return l.set(t.identityProvider.getId(e.element).toString(),e)};n.forEach((function(e){return $(e,u)}));for(var c=[],d=0,h=this.nodes;d<h.length;d++){var f=h[d],p=this.identityProvider.getId(f.element).toString(),g=a.has(p);if(g){var m=l.get(p);m&&c.push(m)}else c.push(f)}this._set(c,!0)},e.prototype.createNodeSet=function(){for(var e=new Set,t=0,n=this.nodes;t<n.length;t++){var r=n[t];e.add(r)}return e},e}(),ee=function(e){function t(t,n){var r=e.call(this,t)||this;return r.tree=n,r}return j(t,e),t.prototype.onPointer=function(t){if(!Z(t.browserEvent.target)){var n=t.element;if(!n)return e.prototype.onPointer.call(this,t);if(this.isSelectionRangeChangeEvent(t)||this.isSelectionSingleChangeEvent(t))return e.prototype.onPointer.call(this,t);var i=Object(r["H"])(t.browserEvent.target,"monaco-tl-twistie");if(!this.tree.openOnSingleClick&&2!==t.browserEvent.detail&&!i)return e.prototype.onPointer.call(this,t);var o=!1;if(o="function"===typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(n.element):!!this.tree.expandOnlyOnTwistieClick,o&&!i)return e.prototype.onPointer.call(this,t);if(n.collapsible){var a=this.tree.model,s=a.getNodeLocation(n),l=t.browserEvent.altKey;if(a.setCollapsed(s,void 0,l),o&&i)return}e.prototype.onPointer.call(this,t)}},t.prototype.onDoubleClick=function(t){var n=Object(r["H"])(t.browserEvent.target,"monaco-tl-twistie");n||e.prototype.onDoubleClick.call(this,t)},t}(i["d"]),te=function(e){function t(t,n,r,i,o,a,s){var l=e.call(this,t,n,r,i,s)||this;return l.focusTrait=o,l.selectionTrait=a,l}return j(t,e),t.prototype.createMouseController=function(e){return new ee(this,e.tree)},t.prototype.splice=function(t,n,r){var i=this;if(void 0===r&&(r=[]),e.prototype.splice.call(this,t,n,r),0!==r.length){var o=[],a=[];r.forEach((function(e,n){i.focusTrait.has(e)&&o.push(t+n),i.selectionTrait.has(e)&&a.push(t+n)})),o.length>0&&e.prototype.setFocus.call(this,Object(b["f"])(B(e.prototype.getFocus.call(this),o))),a.length>0&&e.prototype.setSelection.call(this,Object(b["f"])(B(e.prototype.getSelection.call(this),a)))}},t.prototype.setFocus=function(t,n,r){var i=this;void 0===r&&(r=!1),e.prototype.setFocus.call(this,t,n),r||this.focusTrait.set(t.map((function(e){return i.element(e)})),n)},t.prototype.setSelection=function(t,n,r){var i=this;void 0===r&&(r=!1),e.prototype.setSelection.call(this,t,n),r||this.selectionTrait.set(t.map((function(e){return i.element(e)})),n)},t}(i["c"]),ne=function(){function e(e,t,n,a,s){var l=this;void 0===s&&(s={}),this._options=s,this.eventBufferer=new m["c"],this.disposables=new o["b"],this._onWillRefilter=new m["a"],this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new m["a"];var u,c=new K(n),d=new m["e"],h=new m["e"],f=new G(h.event);this.renderers=a.map((function(e){return new q(e,(function(){return l.model}),d.event,f,s)}));for(var p=0,g=this.renderers;p<g.length;p++){var y=g[p];this.disposables.add(y)}s.keyboardNavigationLabelProvider&&(u=new Y(this,s.keyboardNavigationLabelProvider,s.filter),s=F(F({},s),{filter:u}),this.disposables.add(u)),this.focus=new J(s.identityProvider),this.selection=new J(s.identityProvider),this.view=new te(e,t,c,this.renderers,this.focus,this.selection,F(F({},H((function(){return l.model}),s)),{tree:this})),this.model=this.createModel(e,this.view,s),d.input=this.model.onDidChangeCollapseState;var _=m["b"].forEach(this.model.onDidSplice,(function(e){l.eventBufferer.bufferEvents((function(){l.focus.onDidModelSplice(e),l.selection.onDidModelSplice(e)}))}));if(_((function(){return null}),null,this.disposables),h.input=m["b"].chain(m["b"].any(_,this.focus.onDidChange,this.selection.onDidChange)).debounce((function(){return null}),0).map((function(){for(var e=new Set,t=0,n=l.focus.getNodes();t<n.length;t++){var r=n[t];e.add(r)}for(var i=0,o=l.selection.getNodes();i<o.length;i++){r=o[i];e.add(r)}return Object(b["n"])(e)})).event,!1!==s.keyboardSupport){var w=m["b"].chain(this.view.onKeyDown).filter((function(e){return!Z(e.target)})).map((function(e){return new v["a"](e)}));w.filter((function(e){return 15===e.keyCode})).on(this.onLeftArrow,this,this.disposables),w.filter((function(e){return 17===e.keyCode})).on(this.onRightArrow,this,this.disposables),w.filter((function(e){return 10===e.keyCode})).on(this.onSpace,this,this.disposables)}if(s.keyboardNavigationLabelProvider){var x=s.keyboardNavigationDelegate||i["a"];this.typeFilterController=new X(this,this.model,this.view,u,x),this.focusNavigationFilter=function(e){return l.typeFilterController.shouldAllowFocus(e)},this.disposables.add(this.typeFilterController)}this.styleElement=Object(r["v"])(this.view.getHTMLElement()),Object(r["X"])(this.getHTMLElement(),"always",this._options.renderIndentGuides===U.Always)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return m["b"].map(this.view.onDidOpen,Q)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return"undefined"===typeof this._options.openOnSingleClick||this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expandOnlyOnTwistieClick",{get:function(){return"undefined"!==typeof this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=F(F({},this._options),e);for(var t=0,n=this.renderers;t<n.length;t++){var i=n[t];i.updateOptions(e)}this.view.updateOptions({enableKeyboardNavigation:this._options.simpleKeyboardNavigation,automaticKeyboardNavigation:this._options.automaticKeyboardNavigation}),this.typeFilterController&&this.typeFilterController.updateOptions(this._options),this._onDidUpdateOptions.fire(this._options),Object(r["X"])(this.getHTMLElement(),"always",this._options.renderIndentGuides===U.Always)},Object.defineProperty(e.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.view.scrollTop},set:function(e){this.view.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.view.domFocus()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.style=function(e){var t="."+this.view.domId,n=[];e.treeIndentGuidesStroke&&(n.push(".monaco-list"+t+":hover .monaco-tl-indent > .indent-guide, .monaco-list"+t+".always .monaco-tl-indent > .indent-guide { border-color: "+e.treeIndentGuidesStroke.transparent(.4)+"; }"),n.push(".monaco-list"+t+" .monaco-tl-indent > .indent-guide.active { border-color: "+e.treeIndentGuidesStroke+"; }"));var r=n.join("\n");r!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=r),this.view.style(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},e.prototype.setSelection=function(e,t){var n=this,r=e.map((function(e){return n.model.getNode(e)}));this.selection.set(r,t);var i=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setSelection(i,t,!0)},e.prototype.getSelection=function(){return this.selection.get()},e.prototype.setFocus=function(e,t){var n=this,r=e.map((function(e){return n.model.getNode(e)}));this.focus.set(r,t);var i=e.map((function(e){return n.model.getListIndex(e)})).filter((function(e){return e>-1}));this.view.setFocus(i,t,!0)},e.prototype.focusNext=function(e,t,n,r){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===r&&(r=this.focusNavigationFilter),this.view.focusNext(e,t,n,r)},e.prototype.getFocus=function(){return this.focus.get()},e.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},e.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},e.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n),i=this.model.setCollapsed(r,!0);if(!i){var o=this.model.getParentNodeLocation(r);if(!o)return;var a=this.model.getListIndex(o);this.view.reveal(a),this.view.setFocus([a])}}},e.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n),i=this.model.setCollapsed(r,!1);if(!i){if(!n.children.some((function(e){return e.visible})))return;var o=this.view.getFocus()[0],a=o+1;this.view.reveal(a),this.view.setFocus([a])}}},e.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],r=this.model.getNodeLocation(n),i=e.browserEvent.altKey;this.model.setCollapsed(r,void 0,i)}},e.prototype.dispose=function(){Object(o["f"])(this.disposables),this.view.dispose()},e}(),re=function(){return re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},re.apply(this,arguments)},ie=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},oe=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.nodesByIdentity=new Map,this.model=new L(e,t,null,n),this.onDidSplice=this.model.onDidSplice,this.onDidChangeCollapseState=this.model.onDidChangeCollapseState,this.onDidChangeRenderNodeCount=this.model.onDidChangeRenderNodeCount,n.sorter&&(this.sorter={compare:function(e,t){return n.sorter.compare(e.element,t.element)}}),this.identityProvider=n.identityProvider}return e.prototype.setChildren=function(e,t,n,r){var i=this.getElementLocation(e);this._setChildren(i,this.preserveCollapseState(t),n,r)},e.prototype._setChildren=function(e,t,n,r){var i=this,o=new Set,a=new Set,s=function(e){if(o.add(e.element),i.nodes.set(e.element,e),i.identityProvider){var t=i.identityProvider.getId(e.element).toString();a.add(t),i.nodesByIdentity.set(t,e)}n&&n(e)},l=function(e){if(o.has(e.element)||i.nodes.delete(e.element),i.identityProvider){var t=i.identityProvider.getId(e.element).toString();a.has(t)||i.nodesByIdentity.delete(t)}r&&r(e)};this.model.splice(ie(e,[0]),Number.MAX_VALUE,t,s,l)},e.prototype.preserveCollapseState=function(e){var t=this,n=e?Object(k["d"])(e):k["c"].empty();return this.sorter&&(n=k["c"].fromArray(Object(b["r"])(k["c"].collect(n),this.sorter.compare.bind(this.sorter)))),k["c"].map(n,(function(e){var n=t.nodes.get(e.element);if(!n&&t.identityProvider){var r=t.identityProvider.getId(e.element).toString();n=t.nodesByIdentity.get(r)}if(!n)return re(re({},e),{children:t.preserveCollapseState(e.children)});var i="boolean"===typeof e.collapsible?e.collapsible:n.collapsible,o="undefined"!==typeof e.collapsed?e.collapsed:n.collapsed;return re(re({},e),{collapsible:i,collapsed:o,children:t.preserveCollapseState(e.children)})}))},e.prototype.rerender=function(e){var t=this.getElementLocation(e);this.model.rerender(t)},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getElementLocation(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getElementLocation(e);return this.model.getListRenderCount(t)},e.prototype.isCollapsible=function(e){var t=this.getElementLocation(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getElementLocation(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getElementLocation(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var r=this.getElementLocation(e);return this.model.setCollapsed(r,t,n)},e.prototype.expandTo=function(e){var t=this.getElementLocation(e);this.model.expandTo(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getNode=function(e){if(void 0===e&&(e=null),null===e)return this.model.getNode(this.model.rootRef);var t=this.nodes.get(e);if(!t)throw new S(this.user,"Tree element not found: "+e);return t},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){if(null===e)throw new S(this.user,"Invalid getParentNodeLocation call");var t=this.nodes.get(e);if(!t)throw new S(this.user,"Tree element not found: "+e);var n=this.model.getNodeLocation(t),r=this.model.getParentNodeLocation(n),i=this.model.getNode(r);return i.element},e.prototype.getElementLocation=function(e){if(null===e)return[];var t=this.nodes.get(e);if(!t)throw new S(this.user,"Tree element not found: "+e);return this.model.getNodeLocation(t)},e}(),ae=function(){return ae=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ae.apply(this,arguments)};function se(e){var t=[e.element],n=e.incompressible||!1;return{element:{elements:t,incompressible:n},children:k["c"].map(k["c"].from(e.children),se),collapsible:e.collapsible,collapsed:e.collapsed}}function le(e){var t,n,r=[e.element],i=e.incompressible||!1;while(1){if(t=k["c"].from(e.children),n=k["c"].collect(t,2),1!==n.length)break;if(e=n[0],e.incompressible)break;r.push(e.element)}return{element:{elements:r,incompressible:i},children:k["c"].map(k["c"].concat(k["c"].fromArray(n),t),le),collapsible:e.collapsible,collapsed:e.collapsed}}function ue(e,t){var n;return void 0===t&&(t=0),n=t<e.element.elements.length-1?k["c"].single(ue(e,t+1)):k["c"].map(k["c"].from(e.children),(function(e){return ue(e,0)})),0===t&&e.element.incompressible?{element:e.element.elements[t],children:n,incompressible:!0,collapsible:e.collapsible,collapsed:e.collapsed}:{element:e.element.elements[t],children:n,collapsible:e.collapsible,collapsed:e.collapsed}}function ce(e){return ue(e,0)}function de(e,t,n){return e.element===t?ae(ae({},e),{children:n}):ae(ae({},e),{children:k["c"].map(k["c"].from(e.children),(function(e){return de(e,t,n)}))})}var he=function(){function e(e,t,n){void 0===n&&(n={}),this.user=e,this.nodes=new Map,this.model=new oe(e,t,n),this.enabled="undefined"===typeof n.compressionEnabled||n.compressionEnabled}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){return this.model.onDidSplice},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){if(null!==e){var n=this.nodes.get(e);if(!n)throw new Error("Unknown compressed tree node");var r=this.model.getNode(n),i=this.model.getParentNodeLocation(n),o=this.model.getNode(i),a=ce(r),s=de(a,e,k["c"].from(t)),l=(this.enabled?le:se)(s),u=o.children.map((function(e){return e===r?l:e}));this._setChildren(o.element,u)}else{var c=k["c"].map(k["c"].from(t),this.enabled?le:se);this._setChildren(null,c)}},e.prototype.setCompressionEnabled=function(e){if(e!==this.enabled){this.enabled=e;var t=this.model.getNode(),n=k["c"].from(t.children),r=k["c"].map(n,ce),i=k["c"].map(r,e?le:se);this._setChildren(null,i)}},e.prototype._setChildren=function(e,t){var n=this,r=new Set,i=function(e){for(var t=0,i=e.element.elements;t<i.length;t++){var o=i[t];r.add(o),n.nodes.set(o,e.element)}},o=function(e){for(var t=0,i=e.element.elements;t<i.length;t++){var o=i[t];r.has(o)||n.nodes.delete(o)}};this.model.setChildren(e,t,i,o)},e.prototype.has=function(e){return this.nodes.has(e)},e.prototype.getListIndex=function(e){var t=this.getCompressedNode(e);return this.model.getListIndex(t)},e.prototype.getListRenderCount=function(e){var t=this.getCompressedNode(e);return this.model.getListRenderCount(t)},e.prototype.getNode=function(e){if("undefined"===typeof e)return this.model.getNode();var t=this.getCompressedNode(e);return this.model.getNode(t)},e.prototype.getNodeLocation=function(e){var t=this.model.getNodeLocation(e);return null===t?null:t.elements[t.elements.length-1]},e.prototype.getParentNodeLocation=function(e){var t=this.getCompressedNode(e),n=this.model.getParentNodeLocation(t);return null===n?null:n.elements[n.elements.length-1]},e.prototype.isCollapsible=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsible(t)},e.prototype.setCollapsible=function(e,t){var n=this.getCompressedNode(e);return this.model.setCollapsible(n,t)},e.prototype.isCollapsed=function(e){var t=this.getCompressedNode(e);return this.model.isCollapsed(t)},e.prototype.setCollapsed=function(e,t,n){var r=this.getCompressedNode(e);return this.model.setCollapsed(r,t,n)},e.prototype.expandTo=function(e){var t=this.getCompressedNode(e);this.model.expandTo(t)},e.prototype.rerender=function(e){var t=this.getCompressedNode(e);this.model.rerender(t)},e.prototype.refilter=function(){this.model.refilter()},e.prototype.getCompressedNode=function(e){if(null===e)return null;var t=this.nodes.get(e);if(!t)throw new S(this.user,"Tree element not found: "+e);return t},e}(),fe=function(e){return e[e.length-1]},pe=function(){function e(e,t){this.unwrapper=e,this.node=t}return Object.defineProperty(e.prototype,"element",{get:function(){return null===this.node.element?null:this.unwrapper(this.node.element)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var t=this;return this.node.children.map((function(n){return new e(t.unwrapper,n)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}();function ge(e,t){return{splice:function(n,r,i){t.splice(n,r,i.map((function(t){return e.map(t)})))}}}function me(e,t){return ae(ae({},t),{sorter:t.sorter&&{compare:function(e,n){return t.sorter.compare(e.elements[0],n.elements[0])}},identityProvider:t.identityProvider&&{getId:function(n){return t.identityProvider.getId(e(n))}},filter:t.filter&&{filter:function(n,r){return t.filter.filter(e(n),r)}}})}var ve=function(){function e(e,t,n){var r=this;void 0===n&&(n={}),this.elementMapper=n.elementMapper||fe;var i=function(e){return r.elementMapper(e.elements)};this.nodeMapper=new O((function(e){return new pe(i,e)})),this.model=new he(e,ge(this.nodeMapper,t),me(i,n))}return Object.defineProperty(e.prototype,"onDidSplice",{get:function(){var e=this;return m["b"].map(this.model.onDidSplice,(function(t){var n=t.insertedNodes,r=t.deletedNodes;return{insertedNodes:n.map((function(t){return e.nodeMapper.map(t)})),deletedNodes:r.map((function(t){return e.nodeMapper.map(t)}))}}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeCollapseState",{get:function(){var e=this;return m["b"].map(this.model.onDidChangeCollapseState,(function(t){var n=t.node,r=t.deep;return{node:e.nodeMapper.map(n),deep:r}}))},enumerable:!0,configurable:!0}),e.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},e.prototype.setCompressionEnabled=function(e){this.model.setCompressionEnabled(e)},e.prototype.has=function(e){return this.model.has(e)},e.prototype.getListIndex=function(e){return this.model.getListIndex(e)},e.prototype.getListRenderCount=function(e){return this.model.getListRenderCount(e)},e.prototype.getNode=function(e){return this.nodeMapper.map(this.model.getNode(e))},e.prototype.getNodeLocation=function(e){return e.element},e.prototype.getParentNodeLocation=function(e){return this.model.getParentNodeLocation(e)},e.prototype.isCollapsible=function(e){return this.model.isCollapsible(e)},e.prototype.setCollapsible=function(e,t){return this.model.setCollapsible(e,t)},e.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},e.prototype.setCollapsed=function(e,t,n){return this.model.setCollapsed(e,t,n)},e.prototype.expandTo=function(e){return this.model.expandTo(e)},e.prototype.rerender=function(e){return this.model.rerender(e)},e.prototype.refilter=function(){return this.model.refilter()},e.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getNode(e)},e}(),ye=n("ZCR3"),be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_e=function(){return _e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},_e.apply(this,arguments)},we=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},xe=function(e){function t(t,n,r,i,o){return void 0===o&&(o={}),e.call(this,t,n,r,i,o)||this}return be(t,e),Object.defineProperty(t.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.rerender=function(e){void 0!==e?this.model.rerender(e):this.view.rerender()},t.prototype.hasElement=function(e){return this.model.has(e)},t.prototype.createModel=function(e,t,n){return new oe(e,t,n)},t}(ne),Ce=function(){function e(e,t){this._compressedTreeNodeProvider=e,this.renderer=t,this.templateId=t.templateId,t.onDidChangeTwistieState&&(this.onDidChangeTwistieState=t.onDidChangeTwistieState)}return Object.defineProperty(e.prototype,"compressedTreeNodeProvider",{get:function(){return this._compressedTreeNodeProvider()},enumerable:!0,configurable:!0}),e.prototype.renderTemplate=function(e){var t=this.renderer.renderTemplate(e);return{compressedTreeNode:void 0,data:t}},e.prototype.renderElement=function(e,t,n,r){var i=this.compressedTreeNodeProvider.getCompressedTreeNode(e.element);1===i.element.elements.length?(n.compressedTreeNode=void 0,this.renderer.renderElement(e,t,n.data,r)):(n.compressedTreeNode=i,this.renderer.renderCompressedElements(i,t,n.data,r))},e.prototype.disposeElement=function(e,t,n,r){n.compressedTreeNode?this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(n.compressedTreeNode,t,n.data,r):this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.data,r)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.data)},e.prototype.renderTwistie=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e,t)},we([ye["a"]],e.prototype,"compressedTreeNodeProvider",null),e}();function Se(e,t){return t&&_e(_e({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(n){var r;try{r=e().getCompressedTreeNode(n)}catch(i){return t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n)}return 1===r.element.elements.length?t.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(n):t.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(r.element.elements)}}})}var Oe=function(e){function t(t,n,r,i,o){void 0===o&&(o={});var a=this,s=function(){return a},l=i.map((function(e){return new Ce(s,e)}));return a=e.call(this,t,n,r,l,Se(s,o))||this,a}return be(t,e),t.prototype.setChildren=function(e,t){this.model.setChildren(e,t)},t.prototype.createModel=function(e,t,n){return new ve(e,t,n)},t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),"undefined"!==typeof t.compressionEnabled&&this.model.setCompressionEnabled(t.compressionEnabled)},t.prototype.getCompressedTreeNode=function(e){return void 0===e&&(e=null),this.model.getCompressedTreeNode(e)},t}(xe),ke=n("/cxE"),Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),De=function(){return De=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},De.apply(this,arguments)},Me=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Ne=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Le=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function Ie(e){return De(De({},e),{children:[],refreshPromise:void 0,stale:!0,slow:!1,collapsedByDefault:void 0})}function Te(e,t){return!!t.parent&&(t.parent===e||Te(e,t.parent))}function Pe(e,t){return e===t||Te(e,t)||Te(t,e)}var Ae=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this.node.element.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),Re=function(){function e(e,t,n){this.renderer=e,this.nodeMapper=t,this.onDidChangeTwistieState=n,this.renderedNodes=new Map,this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){var t=this.renderer.renderTemplate(e);return{templateData:t}},e.prototype.renderElement=function(e,t,n,r){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,r)},e.prototype.renderTwistie=function(e,t){return Object(r["X"])(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,r){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,r)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear()},e}();function je(e){return{browserEvent:e.browserEvent,elements:e.elements.map((function(e){return e.element}))}}var Fe=function(e){function t(t){var n=e.call(this,t.elements.map((function(e){return e.element})))||this;return n.data=t,n}return Ee(t,e),t}(_["a"]);function Be(e){return e instanceof _["a"]?new Fe(e):e}var Ve=function(){function e(e){this.dnd=e}return e.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},e.prototype.getDragLabel=function(e,t){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map((function(e){return e.element})),t)},e.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(Be(e),t)},e.prototype.onDragOver=function(e,t,n,r,i){return void 0===i&&(i=!0),this.dnd.onDragOver(Be(e),t&&t.element,n,r)},e.prototype.drop=function(e,t,n,r){this.dnd.drop(Be(e),t&&t.element,n,r)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();function ze(e){return e&&De(De({},e),{collapseByDefault:!0,identityProvider:e.identityProvider&&{getId:function(t){return e.identityProvider.getId(t.element)}},dnd:e.dnd&&new Ve(e.dnd),multipleSelectionController:e.multipleSelectionController&&{isSelectionSingleChangeEvent:function(t){return e.multipleSelectionController.isSelectionSingleChangeEvent(De(De({},t),{element:t.element}))},isSelectionRangeChangeEvent:function(t){return e.multipleSelectionController.isSelectionRangeChangeEvent(De(De({},t),{element:t.element}))}},accessibilityProvider:e.accessibilityProvider&&De(De({},e.accessibilityProvider),{getAriaLabel:function(t){return e.accessibilityProvider.getAriaLabel(t.element)},getAriaLevel:e.accessibilityProvider.getAriaLevel&&function(t){return e.accessibilityProvider.getAriaLevel(t.element)},getActiveDescendantId:e.accessibilityProvider.getActiveDescendantId&&function(t){return e.accessibilityProvider.getActiveDescendantId(t.element)}}),filter:e.filter&&{filter:function(t,n){return e.filter.filter(t.element,n)}},keyboardNavigationLabelProvider:e.keyboardNavigationLabelProvider&&De(De({},e.keyboardNavigationLabelProvider),{getKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(t.element)}}),sorter:void 0,expandOnlyOnTwistieClick:"undefined"===typeof e.expandOnlyOnTwistieClick?void 0:"function"!==typeof e.expandOnlyOnTwistieClick?e.expandOnlyOnTwistieClick:function(t){return e.expandOnlyOnTwistieClick(t.element)},ariaProvider:e.ariaProvider&&{getPosInSet:function(t,n){return e.ariaProvider.getPosInSet(t.element,n)},getSetSize:function(t,n,r){return e.ariaProvider.getSetSize(t.element,n,r)},getRole:e.ariaProvider.getRole?function(t){return e.ariaProvider.getRole(t.element)}:void 0,isChecked:e.ariaProvider.isChecked?function(t){var n;return(null===(n=e.ariaProvider)||void 0===n?void 0:n.isChecked)(t.element)}:void 0},additionalScrollHeight:e.additionalScrollHeight})}function We(e,t){t(e),e.children.forEach((function(e){return We(e,t)}))}var He=function(){function e(e,t,n,r,i,a){void 0===a&&(a={}),this.user=e,this.dataSource=i,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new m["a"],this._onDidChangeNodeSlowState=new m["a"],this.nodeMapper=new O((function(e){return new Ae(e)})),this.disposables=new o["b"],this.identityProvider=a.identityProvider,this.autoExpandSingleChildren="undefined"!==typeof a.autoExpandSingleChildren&&a.autoExpandSingleChildren,this.sorter=a.sorter,this.collapseByDefault=a.collapseByDefault,this.tree=this.createTree(e,t,n,r,a),this.root=Ie({element:void 0,parent:null,hasChildren:!0}),this.identityProvider&&(this.root=De(De({},this.root),{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}return Object.defineProperty(e.prototype,"onDidChangeFocus",{get:function(){return m["b"].map(this.tree.onDidChangeFocus,je)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return m["b"].map(this.tree.onDidChangeSelection,je)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return m["b"].map(this.tree.onDidOpen,je)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.tree.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidDispose",{get:function(){return this.tree.onDidDispose},enumerable:!0,configurable:!0}),e.prototype.createTree=function(e,t,n,r,i){var o=this,a=new K(n),s=r.map((function(e){return new Re(e,o.nodeMapper,o._onDidChangeNodeSlowState.event)})),l=ze(i)||{};return new xe(e,t,a,s,l)},e.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},e.prototype.getHTMLElement=function(){return this.tree.getHTMLElement()},Object.defineProperty(e.prototype,"scrollTop",{get:function(){return this.tree.scrollTop},set:function(e){this.tree.scrollTop=e},enumerable:!0,configurable:!0}),e.prototype.domFocus=function(){this.tree.domFocus()},e.prototype.layout=function(e,t){this.tree.layout(e,t)},e.prototype.style=function(e){this.tree.style(e)},e.prototype.getInput=function(){return this.root.element},e.prototype.setInput=function(e,t){return Me(this,void 0,void 0,(function(){var n;return Ne(this,(function(r){switch(r.label){case 0:return this.refreshPromises.forEach((function(e){return e.cancel()})),this.refreshPromises.clear(),this.root.element=e,n=t&&{viewState:t,focus:[],selection:[]},[4,this._updateChildren(e,!0,!1,n)];case 1:return r.sent(),n&&(this.tree.setFocus(n.focus),this.tree.setSelection(n.selection)),t&&"number"===typeof t.scrollTop&&(this.scrollTop=t.scrollTop),[2]}}))}))},e.prototype._updateChildren=function(e,t,n,r){return void 0===e&&(e=this.root.element),void 0===t&&(t=!0),void 0===n&&(n=!1),Me(this,void 0,void 0,(function(){var i;return Ne(this,(function(o){switch(o.label){case 0:if("undefined"===typeof this.root.element)throw new S(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return o.sent(),[4,m["b"].toPromise(this._onDidRender.event)];case 2:o.sent(),o.label=3;case 3:return i=this.getDataNode(e),[4,this.refreshAndRenderNode(i,t,r)];case 4:if(o.sent(),n)try{this.tree.rerender(i)}catch(a){}return[2]}}))}))},e.prototype.rerender=function(e){if(void 0!==e&&e!==this.root.element){var t=this.getDataNode(e);this.tree.rerender(t)}else this.tree.rerender()},e.prototype.collapse=function(e,t){void 0===t&&(t=!1);var n=this.getDataNode(e);return this.tree.collapse(n===this.root?null:n,t)},e.prototype.expand=function(e,t){return void 0===t&&(t=!1),Me(this,void 0,void 0,(function(){var n,r;return Ne(this,(function(i){switch(i.label){case 0:if("undefined"===typeof this.root.element)throw new S(this.user,"Tree input not set");return this.root.refreshPromise?[4,this.root.refreshPromise]:[3,3];case 1:return i.sent(),[4,m["b"].toPromise(this._onDidRender.event)];case 2:i.sent(),i.label=3;case 3:return n=this.getDataNode(e),this.tree.hasElement(n)&&!this.tree.isCollapsible(n)?[2,!1]:n.refreshPromise?[4,this.root.refreshPromise]:[3,6];case 4:return i.sent(),[4,m["b"].toPromise(this._onDidRender.event)];case 5:i.sent(),i.label=6;case 6:return n===this.root||n.refreshPromise||this.tree.isCollapsed(n)?(r=this.tree.expand(n===this.root?null:n,t),n.refreshPromise?[4,this.root.refreshPromise]:[3,9]):[2,!1];case 7:return i.sent(),[4,m["b"].toPromise(this._onDidRender.event)];case 8:i.sent(),i.label=9;case 9:return[2,r]}}))}))},e.prototype.setSelection=function(e,t){var n=this,r=e.map((function(e){return n.getDataNode(e)}));this.tree.setSelection(r,t)},e.prototype.getSelection=function(){var e=this.tree.getSelection();return e.map((function(e){return e.element}))},e.prototype.setFocus=function(e,t){var n=this,r=e.map((function(e){return n.getDataNode(e)}));this.tree.setFocus(r,t)},e.prototype.getFocus=function(){var e=this.tree.getFocus();return e.map((function(e){return e.element}))},e.prototype.reveal=function(e,t){this.tree.reveal(this.getDataNode(e),t)},e.prototype.getDataNode=function(e){var t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new S(this.user,"Data tree node not found: "+e);return t},e.prototype.refreshAndRenderNode=function(e,t,n){return Me(this,void 0,void 0,(function(){return Ne(this,(function(r){switch(r.label){case 0:return[4,this.refreshNode(e,t,n)];case 1:return r.sent(),this.render(e,n),[2]}}))}))},e.prototype.refreshNode=function(e,t,n){return Me(this,void 0,void 0,(function(){var r,i=this;return Ne(this,(function(o){return this.subTreeRefreshPromises.forEach((function(o,a){!r&&Pe(a,e)&&(r=o.then((function(){return i.refreshNode(e,t,n)})))})),r?[2,r]:[2,this.doRefreshSubTree(e,t,n)]}))}))},e.prototype.doRefreshSubTree=function(e,t,n){return Me(this,void 0,void 0,(function(){var r,i,o=this;return Ne(this,(function(a){switch(a.label){case 0:e.refreshPromise=new Promise((function(e){return r=e})),this.subTreeRefreshPromises.set(e,e.refreshPromise),e.refreshPromise.finally((function(){e.refreshPromise=void 0,o.subTreeRefreshPromises.delete(e)})),a.label=1;case 1:return a.trys.push([1,,4,5]),[4,this.doRefreshNode(e,t,n)];case 2:return i=a.sent(),e.stale=!1,[4,Promise.all(i.map((function(e){return o.doRefreshSubTree(e,t,n)})))];case 3:return a.sent(),[3,5];case 4:return r(),[7];case 5:return[2]}}))}))},e.prototype.doRefreshNode=function(e,t,n){return Me(this,void 0,void 0,(function(){var r,i,o,a,s=this;return Ne(this,(function(l){switch(l.label){case 0:e.hasChildren=!!this.dataSource.hasChildren(e.element),e.hasChildren?(i=Object(I["k"])(800),i.then((function(){e.slow=!0,s._onDidChangeNodeSlowState.fire(e)}),(function(e){return null})),r=this.doGetChildren(e).finally((function(){return i.cancel()}))):r=Promise.resolve([]),l.label=1;case 1:return l.trys.push([1,3,4,5]),[4,r];case 2:return o=l.sent(),[2,this.setChildren(e,o,t,n)];case 3:if(a=l.sent(),e!==this.root&&this.tree.collapse(e===this.root?null:e),Object(ke["d"])(a))return[2,[]];throw a;case 4:return e.slow&&(e.slow=!1,this._onDidChangeNodeSlowState.fire(e)),[7];case 5:return[2]}}))}))},e.prototype.doGetChildren=function(e){var t=this,n=this.refreshPromises.get(e);return n||(n=Object(I["f"])((function(){return Me(t,void 0,void 0,(function(){var t;return Ne(this,(function(n){switch(n.label){case 0:return[4,this.dataSource.getChildren(e.element)];case 1:return t=n.sent(),[2,this.processChildren(t)]}}))}))})),this.refreshPromises.set(e,n),n.finally((function(){return t.refreshPromises.delete(e)})))},e.prototype._onDidChangeCollapseState=function(e){var t=e.node,n=e.deep;!t.collapsed&&t.element.stale&&(n?this.collapse(t.element.element):this.refreshAndRenderNode(t.element,!1).catch(ke["e"]))},e.prototype.setChildren=function(e,t,n,r){var i,o=this;if(0===e.children.length&&0===t.length)return[];for(var a=new Map,s=new Map,l=0,u=e.children;l<u.length;l++){var c=u[l];if(a.set(c.element,c),this.identityProvider){var d=this.tree.isCollapsed(c);s.set(c.id,{node:c,collapsed:d})}}for(var h=[],f=t.map((function(t){var i=!!o.dataSource.hasChildren(t);if(!o.identityProvider){var l=Ie({element:t,parent:e,hasChildren:i});return i&&o.collapseByDefault&&!o.collapseByDefault(t)&&(l.collapsedByDefault=!1,h.push(l)),l}var u=o.identityProvider.getId(t).toString(),c=s.get(u);if(c){l=c.node;return a.delete(l.element),o.nodes.delete(l.element),o.nodes.set(t,l),l.element=t,l.hasChildren=i,n?c.collapsed?(l.children.forEach((function(e){return We(e,(function(e){return o.nodes.delete(e.element)}))})),l.children.splice(0,l.children.length),l.stale=!0):h.push(l):i&&o.collapseByDefault&&!o.collapseByDefault(t)&&(l.collapsedByDefault=!1,h.push(l)),l}var d=Ie({element:t,parent:e,id:u,hasChildren:i});return r&&r.viewState.focus&&r.viewState.focus.indexOf(u)>-1&&r.focus.push(d),r&&r.viewState.selection&&r.viewState.selection.indexOf(u)>-1&&r.selection.push(d),r&&r.viewState.expanded&&r.viewState.expanded.indexOf(u)>-1?h.push(d):i&&o.collapseByDefault&&!o.collapseByDefault(t)&&(d.collapsedByDefault=!1,h.push(d)),d})),p=0,g=Object(P["e"])(a);p<g.length;p++){var m=g[p];We(m,(function(e){return o.nodes.delete(e.element)}))}for(var v=0,y=f;v<y.length;v++){c=y[v];this.nodes.set(c.element,c)}return(i=e.children).splice.apply(i,Le([0,e.children.length],f)),e!==this.root&&this.autoExpandSingleChildren&&1===f.length&&0===h.length&&(f[0].collapsedByDefault=!1,h.push(f[0])),h},e.prototype.render=function(e,t){var n=this,r=e.children.map((function(e){return n.asTreeElement(e,t)}));this.tree.setChildren(e===this.root?null:e,r),e!==this.root&&this.tree.setCollapsible(e,e.hasChildren),this._onDidRender.fire()},e.prototype.asTreeElement=function(e,t){var n,r=this;return e.stale?{element:e,collapsible:e.hasChildren,collapsed:!0}:(n=!(t&&t.viewState.expanded&&e.id&&t.viewState.expanded.indexOf(e.id)>-1)&&e.collapsedByDefault,e.collapsedByDefault=void 0,{element:e,children:e.hasChildren?k["c"].map(k["c"].fromArray(e.children),(function(e){return r.asTreeElement(e,t)})):[],collapsible:e.hasChildren,collapsed:n})},e.prototype.processChildren=function(e){return this.sorter&&e.sort(this.sorter.compare.bind(this.sorter)),e},e.prototype.dispose=function(){this.disposables.dispose()},e}(),Ue=function(){function e(e){this.node=e}return Object.defineProperty(e.prototype,"element",{get:function(){return{elements:this.node.element.elements.map((function(e){return e.element})),incompressible:this.node.element.incompressible}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this.node.children.map((function(t){return new e(t)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),e}(),Ke=function(){function e(e,t,n,r){this.renderer=e,this.nodeMapper=t,this.compressibleNodeMapperProvider=n,this.onDidChangeTwistieState=r,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}return e.prototype.renderTemplate=function(e){var t=this.renderer.renderTemplate(e);return{templateData:t}},e.prototype.renderElement=function(e,t,n,r){this.renderer.renderElement(this.nodeMapper.map(e),t,n.templateData,r)},e.prototype.renderCompressedElements=function(e,t,n,r){this.renderer.renderCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,r)},e.prototype.renderTwistie=function(e,t){return Object(r["X"])(t,"codicon-loading",e.slow),!1},e.prototype.disposeElement=function(e,t,n,r){this.renderer.disposeElement&&this.renderer.disposeElement(this.nodeMapper.map(e),t,n.templateData,r)},e.prototype.disposeCompressedElements=function(e,t,n,r){this.renderer.disposeCompressedElements&&this.renderer.disposeCompressedElements(this.compressibleNodeMapperProvider().map(e),t,n.templateData,r)},e.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},e.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(o["f"])(this.disposables)},e}();function Ge(e){var t=e&&ze(e);return t&&De(De({},t),{keyboardNavigationLabelProvider:t.keyboardNavigationLabelProvider&&De(De({},t.keyboardNavigationLabelProvider),{getCompressedNodeKeyboardNavigationLabel:function(t){return e.keyboardNavigationLabelProvider.getCompressedNodeKeyboardNavigationLabel(t.map((function(e){return e.element})))}})})}var qe=function(e){function t(t,n,r,i,o,a,s){void 0===s&&(s={});var l=e.call(this,t,n,r,o,a,s)||this;return l.compressionDelegate=i,l.compressibleNodeMapper=new O((function(e){return new Ue(e)})),l.filter=s.filter,l}return Ee(t,e),t.prototype.createTree=function(e,t,n,r,i){var o=this,a=new K(n),s=r.map((function(e){return new Ke(e,o.nodeMapper,(function(){return o.compressibleNodeMapper}),o._onDidChangeNodeSlowState.event)})),l=Ge(i)||{};return new Oe(e,t,a,s,l)},t.prototype.asTreeElement=function(t,n){return De({incompressible:this.compressionDelegate.isIncompressible(t.element)},e.prototype.asTreeElement.call(this,t,n))},t.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},t.prototype.render=function(t,n){var r=this;if(!this.identityProvider)return e.prototype.render.call(this,t,n);var i=function(e){return r.identityProvider.getId(e).toString()},o=function(e){for(var t=new Set,n=0,o=e;n<o.length;n++){var a=o[n],s=r.tree.getCompressedTreeNode(a===r.root?null:a);if(s.element)for(var l=0,u=s.element.elements;l<u.length;l++){var c=u[l];t.add(i(c.element))}}return t},a=o(this.tree.getSelection()),s=o(this.tree.getFocus());e.prototype.render.call(this,t,n);var l=this.getSelection(),u=!1,c=this.getFocus(),d=!1,h=function(e){var t=e.element;if(t)for(var n=0;n<t.elements.length;n++){var r=i(t.elements[n].element),o=t.elements[t.elements.length-1].element;a.has(r)&&-1===l.indexOf(o)&&(l.push(o),u=!0),s.has(r)&&-1===c.indexOf(o)&&(c.push(o),d=!0)}e.children.forEach(h)};h(this.tree.getCompressedTreeNode(t===this.root?null:t)),u&&this.setSelection(l),d&&this.setFocus(c)},t.prototype.processChildren=function(t){var n=this;return this.filter&&(t=t.filter((function(e){var t=n.filter.filter(e,1),r=Ye(t);if(2===r)throw new Error("Recursive tree visibility not supported in async data compressed trees");return 1===r}))),e.prototype.processChildren.call(this,t)},t}(He);function Ye(e){return"boolean"===typeof e?e?1:0:D(e)?M(e.visibility):M(e)}var Xe,Ze=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qe=function(e){function t(t,n,r,i,o,a){void 0===a&&(a={});var s=e.call(this,t,n,r,i,a)||this;return s.user=t,s.dataSource=o,s.identityProvider=a.identityProvider,s}return Ze(t,e),t.prototype.createModel=function(e,t,n){return new oe(e,t,n)},t}(ne),$e=n("R3nR"),Je=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),et=function(){return et=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},et.apply(this,arguments)},tt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},nt=function(e,t){return function(n,r){t(n,r,e)}},rt=Object(c["c"])("listService"),it=function(){function e(e){this._themeService=e,this.disposables=new o["b"],this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}return Object.defineProperty(e.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this;if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;var a=new i["b"](Object(r["v"])(),"");this.disposables.add(Object(f["b"])(a,this._themeService))}if(this.lists.some((function(t){return t.widget===e})))throw new Error("Cannot register the same widget multiple times");var s={widget:e,extraContextKeys:t};return this.lists.push(s),e.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=e),Object(o["e"])(e.onDidFocus((function(){return n._lastFocusedWidget=e})),Object(o["h"])((function(){return n.lists.splice(n.lists.indexOf(s),1)})),e.onDidDispose((function(){n.lists=n.lists.filter((function(e){return e!==s})),n._lastFocusedWidget===e&&(n._lastFocusedWidget=void 0)})))},e.prototype.dispose=function(){this.disposables.dispose()},e=tt([nt(0,p["c"])],e),e}(),ot=new u["d"]("listFocus",!0),at=new u["d"]("listSupportsMultiselect",!0),st=u["a"].and(ot,u["a"].not(g)),lt=new u["d"]("listHasSelectionOrFocus",!1),ut=new u["d"]("listDoubleSelection",!1),ct=new u["d"]("listMultiSelection",!1),dt=new u["d"]("listSupportsKeyboardNavigation",!0),ht="listAutomaticKeyboardNavigation",ft=new u["d"](ht,!0),pt=!1;function gt(e,t){var n=e.createScoped(t.getHTMLElement());return ot.bindTo(n),n}var mt="workbench.list.multiSelectModifier",vt="workbench.list.openMode",yt="workbench.list.horizontalScrolling",bt="workbench.list.keyboardNavigation",_t="workbench.list.automaticKeyboardNavigation",wt="workbench.tree.indent",xt="workbench.tree.renderIndentGuides";function Ct(e){return Object(s["f"])(e,yt,"workbench.tree.horizontalScrolling")}function St(e){return"alt"===e.getValue(mt)}function Ot(e){return"doubleClick"!==e.getValue(vt)}var kt=function(e){function t(t){var n=e.call(this)||this;return n.configurationService=t,n.useAltAsMultipleSelectionModifier=St(t),n.registerListeners(),n}return Je(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration(mt)&&(e.useAltAsMultipleSelectionModifier=St(e.configurationService))})))},t.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(i["f"])(e)},t.prototype.isSelectionRangeChangeEvent=function(e){return Object(i["e"])(e)},t}(o["a"]),Et=function(e){function t(t,n){var r=e.call(this)||this;return r.configurationService=t,r.existingOpenController=n,r.openOnSingleClick=Ot(t),r.registerListeners(),r}return Je(t,e),t.prototype.registerListeners=function(){var e=this;this._register(this.configurationService.onDidChangeConfiguration((function(t){t.affectsConfiguration(vt)&&(e.openOnSingleClick=Ot(e.configurationService))})))},t.prototype.shouldOpen=function(e){if(e instanceof MouseEvent){var t=0===e.button,n=2===e.detail;return!(t&&!this.openOnSingleClick&&!n)&&(!(!t&&1!==e.button)&&(!this.existingOpenController||this.existingOpenController.shouldOpen(e)))}return!this.existingOpenController||this.existingOpenController.shouldOpen(e)},t}(o["a"]);function Dt(e,t,n){var r=new o["b"],i=et({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var a=new kt(t);i.multipleSelectionController=a,r.add(a)}var s=new Et(t,e.openController);return i.openController=s,r.add(s),i.keyboardNavigationDelegate={mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}},[i,r]}function Mt(e,t){var n=!1;return function(r){if(n)return n=!1,!1;var i=t.softDispatch(r,e);return i&&i.enterChord?(n=!0,!1):(n=!1,!0)}}(function(e){function t(t,n,r,i,o,a,s,l,u,c,d){var h=this,f=Lt(n,o,a,u,c,d),p=f.options,g=f.getAutomaticKeyboardNavigation,m=f.disposable;return h=e.call(this,t,n,r,i,p)||this,h.disposables.add(m),h.internals=new It(h,p,g,o.overrideStyles,a,s,l,u,d),h.disposables.add(h.internals),h}Je(t,e),t=tt([nt(5,u["c"]),nt(6,rt),nt(7,p["c"]),nt(8,s["a"]),nt(9,d["a"]),nt(10,$e["b"])],t)})(xe),function(e){function t(t,n,r,i,o,a,s,l,u,c,d,h){var f=this,p=Lt(n,a,s,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return f=e.call(this,t,n,r,i,o,g)||this,f.disposables.add(v),f.internals=new It(f,g,m,a.overrideStyles,s,l,u,c,h),f.disposables.add(f.internals),f}Je(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=tt([nt(6,u["c"]),nt(7,rt),nt(8,p["c"]),nt(9,s["a"]),nt(10,d["a"]),nt(11,$e["b"])],t)}(Qe);var Nt=function(e){function t(t,n,r,i,o,a,s,l,u,c,d,h){var f=this,p=Lt(n,a,s,c,d,h),g=p.options,m=p.getAutomaticKeyboardNavigation,v=p.disposable;return f=e.call(this,t,n,r,i,o,g)||this,f.disposables.add(v),f.internals=new It(f,g,m,a.overrideStyles,s,l,u,c,h),f.disposables.add(f.internals),f}return Je(t,e),t.prototype.updateOptions=function(t){void 0===t&&(t={}),e.prototype.updateOptions.call(this,t),t.overrideStyles&&this.internals.updateStyleOverrides(t.overrideStyles)},t=tt([nt(6,u["c"]),nt(7,rt),nt(8,p["c"]),nt(9,s["a"]),nt(10,d["a"]),nt(11,$e["b"])],t),t}(He);(function(e){function t(t,n,r,i,o,a,s,l,u,c,d,h,f){var p=this,g=Lt(n,s,l,d,h,f),m=g.options,v=g.getAutomaticKeyboardNavigation,y=g.disposable;return p=e.call(this,t,n,r,i,o,a,m)||this,p.disposables.add(y),p.internals=new It(p,m,v,s.overrideStyles,l,u,c,d,f),p.disposables.add(p.internals),p}Je(t,e),t=tt([nt(7,u["c"]),nt(8,rt),nt(9,p["c"]),nt(10,s["a"]),nt(11,d["a"]),nt(12,$e["b"])],t)})(qe);function Lt(e,t,n,r,i,o){dt.bindTo(n),pt||(ft.bindTo(n),pt=!0);var a=function(){var e=n.getContextKeyValue(ht);return e&&(e=r.getValue(_t)),e},s=o.isScreenReaderOptimized(),l=s?"simple":r.getValue(bt),u="undefined"!==typeof t.horizontalScrolling?t.horizontalScrolling:Ct(r),c=Ot(r),d=Dt(t,r,i),h=d[0],f=d[1],p=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:a,disposable:f,options:et(et({keyboardSupport:!1},h),{indent:r.getValue(wt),renderIndentGuides:r.getValue(xt),automaticKeyboardNavigation:a(),simpleKeyboardNavigation:"simple"===l,filterOnType:"filter"===l,horizontalScrolling:u,openOnSingleClick:c,keyboardNavigationEventFilter:Mt(e,i),additionalScrollHeight:p,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements})}}var It=function(){function e(e,t,n,r,i,o,a,s,l){var u=this;this.tree=e,this.themeService=a,this.disposables=[],this.contextKeyService=gt(i,e);var c=at.bindTo(this.contextKeyService);c.set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=lt.bindTo(this.contextKeyService),this.hasDoubleSelection=ut.bindTo(this.contextKeyService),this.hasMultiSelection=ct.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=St(s);var d=new Set;d.add(ht);var h=function(){var t=l.isScreenReaderOptimized(),n=t?"simple":s.getValue(bt);e.updateOptions({simpleKeyboardNavigation:"simple"===n,filterOnType:"filter"===n})};this.updateStyleOverrides(r),this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection((function(){var t=e.getSelection(),n=e.getFocus();u.hasSelectionOrFocus.set(t.length>0||n.length>0),u.hasMultiSelection.set(t.length>1),u.hasDoubleSelection.set(2===t.length)})),e.onDidChangeFocus((function(){var t=e.getSelection(),n=e.getFocus();u.hasSelectionOrFocus.set(t.length>0||n.length>0)})),s.onDidChangeConfiguration((function(t){if(t.affectsConfiguration(vt)&&e.updateOptions({openOnSingleClick:Ot(s)}),t.affectsConfiguration(mt)&&(u._useAltAsMultipleSelectionModifier=St(s)),t.affectsConfiguration(wt)){var r=s.getValue(wt);e.updateOptions({indent:r})}if(t.affectsConfiguration(xt)){var i=s.getValue(xt);e.updateOptions({renderIndentGuides:i})}t.affectsConfiguration(bt)&&h(),t.affectsConfiguration(_t)&&e.updateOptions({automaticKeyboardNavigation:n()})})),this.contextKeyService.onDidChangeContext((function(t){t.affectsSome(d)&&e.updateOptions({automaticKeyboardNavigation:n()})})),l.onDidChangeScreenReaderOptimized((function(){return h()})))}return e.prototype.updateStyleOverrides=function(e){Object(o["f"])(this.styler),this.styler=e?Object(f["b"])(this.tree,this.themeService,e):o["a"].None},e.prototype.dispose=function(){this.disposables=Object(o["f"])(this.disposables),this.styler=Object(o["f"])(this.styler)},e=tt([nt(4,u["c"]),nt(5,rt),nt(6,p["c"]),nt(7,s["a"]),nt(8,$e["b"])],e),e}(),Tt=h["a"].as(l["a"].Configuration);Tt.registerConfiguration({id:"workbench",order:7,title:Object(a["a"])("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Xe={},Xe[mt]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(a["a"])("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(a["a"])("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(a["a"])({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},Xe[vt]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(a["a"])({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). For parents with children in trees, this setting will control if a single click expands the parent or a double click. Note that some trees and lists might choose to ignore this setting if it is not applicable. ")},Xe[yt]={type:"boolean",default:!1,description:Object(a["a"])("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Xe["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(a["a"])("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(a["a"])("deprecated","This setting is deprecated, please use '{0}' instead.",yt)},Xe[wt]={type:"number",default:8,minimum:0,maximum:40,description:Object(a["a"])("tree indent setting","Controls tree indentation in pixels.")},Xe[xt]={type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(a["a"])("render tree indent guides","Controls whether the tree should render indent guides.")},Xe[bt]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(a["a"])("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(a["a"])("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(a["a"])("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(a["a"])("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},Xe[_t]={type:"boolean",default:!0,markdownDescription:Object(a["a"])("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},Xe)})},kAMH:function(e,t,n){var r=n("a0xu");e.exports=Array.isArray||function(e){return"Array"==r(e)}},kDyi:function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}e.exports=n},kLXV:function(e,t,n){"use strict";var r=n("q1tI"),i=n("QbLZ"),o=n.n(i),a=n("iCc5"),s=n.n(a),l=n("FYw3"),u=n.n(l),c=n("mRg0"),d=n.n(c),h=n("i8i4"),f=n("4IlW"),p=n("l4aY"),g=n("MFj2"),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&(n[r[i]]=e[r[i]])}return n},v=function(e){function t(){return s()(this,t),u()(this,e.apply(this,arguments))}return d()(t,e),t.prototype.shouldComponentUpdate=function(e){return!!e.forceRender||(!!e.hiddenClassName||!!e.visible)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.hiddenClassName,i=e.visible,a=(e.forceRender,m(e,["className","hiddenClassName","visible","forceRender"])),s=t;return n&&!i&&(s+=" "+n),r["createElement"]("div",o()({},a,{className:s}))},t}(r["Component"]),y=v,b=0;function _(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!==typeof n){var i=e.document;n=i.documentElement[r],"number"!==typeof n&&(n=i.body[r])}return n}function w(e,t){var n=e.style;["Webkit","Moz","Ms","ms"].forEach((function(e){n[e+"TransformOrigin"]=t})),n["transformOrigin"]=t}function x(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=_(i),n.top+=_(i,!0),n}var C=function(e){function t(n){s()(this,t);var i=u()(this,e.call(this,n));return i.inTransition=!1,i.onAnimateLeave=function(){var e=i.props,t=e.afterClose,n=e.getOpenCount;i.wrap&&(i.wrap.style.display="none"),i.inTransition=!1,n()||i.switchScrollingEffect(),t&&t()},i.onDialogMouseDown=function(){i.dialogMouseDown=!0},i.onMaskMouseUp=function(){i.dialogMouseDown&&(i.timeoutId=setTimeout((function(){i.dialogMouseDown=!1}),0))},i.onMaskClick=function(e){Date.now()-i.openTime<300||e.target!==e.currentTarget||i.dialogMouseDown||i.close(e)},i.onKeyDown=function(e){var t=i.props;if(t.keyboard&&e.keyCode===f["a"].ESC)return e.stopPropagation(),void i.close(e);if(t.visible&&e.keyCode===f["a"].TAB){var n=document.activeElement,r=i.sentinelStart;e.shiftKey?n===r&&i.sentinelEnd.focus():n===i.sentinelEnd&&r.focus()}},i.getDialogElement=function(){var e=i.props,t=e.closable,n=e.prefixCls,a={};void 0!==e.width&&(a.width=e.width),void 0!==e.height&&(a.height=e.height);var s=void 0;e.footer&&(s=r["createElement"]("div",{className:n+"-footer",ref:i.saveRef("footer")},e.footer));var l=void 0;e.title&&(l=r["createElement"]("div",{className:n+"-header",ref:i.saveRef("header")},r["createElement"]("div",{className:n+"-title",id:i.titleId},e.title)));var u=void 0;t&&(u=r["createElement"]("button",{type:"button",onClick:i.close,"aria-label":"Close",className:n+"-close"},e.closeIcon||r["createElement"]("span",{className:n+"-close-x"})));var c=o()({},e.style,a),d={width:0,height:0,overflow:"hidden",outline:"none"},h=i.getTransitionName(),f=r["createElement"](y,{key:"dialog-element",role:"document",ref:i.saveRef("dialog"),style:c,className:n+" "+(e.className||""),visible:e.visible,forceRender:e.forceRender,onMouseDown:i.onDialogMouseDown},r["createElement"]("div",{tabIndex:0,ref:i.saveRef("sentinelStart"),style:d,"aria-hidden":"true"}),r["createElement"]("div",{className:n+"-content"},u,l,r["createElement"]("div",o()({className:n+"-body",style:e.bodyStyle,ref:i.saveRef("body")},e.bodyProps),e.children),s),r["createElement"]("div",{tabIndex:0,ref:i.saveRef("sentinelEnd"),style:d,"aria-hidden":"true"}));return r["createElement"](g["a"],{key:"dialog",showProp:"visible",onLeave:i.onAnimateLeave,transitionName:h,component:"",transitionAppear:!0},e.visible||!e.destroyOnClose?f:null)},i.getZIndexStyle=function(){var e={},t=i.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},i.getWrapStyle=function(){return o()({},i.getZIndexStyle(),i.props.wrapStyle)},i.getMaskStyle=function(){return o()({},i.getZIndexStyle(),i.props.maskStyle)},i.getMaskElement=function(){var e=i.props,t=void 0;if(e.mask){var n=i.getMaskTransitionName();t=r["createElement"](y,o()({style:i.getMaskStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible},e.maskProps)),n&&(t=r["createElement"](g["a"],{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},i.getMaskTransitionName=function(){var e=i.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},i.getTransitionName=function(){var e=i.props,t=e.transitionName,n=e.animation;return!t&&n&&(t=e.prefixCls+"-"+n),t},i.close=function(e){var t=i.props.onClose;t&&t(e)},i.saveRef=function(e){return function(t){i[e]=t}},i.titleId="rcDialogTitle"+b++,i.switchScrollingEffect=n.switchScrollingEffect||function(){},i}return d()(t,e),t.prototype.componentDidMount=function(){this.componentDidUpdate({}),(this.props.forceRender||!1===this.props.getContainer&&!this.props.visible)&&this.wrap&&(this.wrap.style.display="none")},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.visible,r=t.mask,i=t.focusTriggerAfterClose,o=this.props.mousePosition;if(n){if(!e.visible){this.openTime=Date.now(),this.switchScrollingEffect(),this.tryFocus();var a=h["findDOMNode"](this.dialog);if(o){var s=x(a);w(a,o.x-s.left+"px "+(o.y-s.top)+"px")}else w(a,"")}}else if(e.visible&&(this.inTransition=!0,r&&this.lastOutSideFocusNode&&i)){try{this.lastOutSideFocusNode.focus()}catch(l){this.lastOutSideFocusNode=null}this.lastOutSideFocusNode=null}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visible,n=e.getOpenCount;!t&&!this.inTransition||n()||this.switchScrollingEffect(),clearTimeout(this.timeoutId)},t.prototype.tryFocus=function(){Object(p["a"])(this.wrap,document.activeElement)||(this.lastOutSideFocusNode=document.activeElement,this.sentinelStart.focus())},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.maskClosable,i=this.getWrapStyle();return e.visible&&(i.display=null),r["createElement"]("div",{className:t+"-root"},this.getMaskElement(),r["createElement"]("div",o()({tabIndex:-1,onKeyDown:this.onKeyDown,className:t+"-wrap "+(e.wrapClassName||""),ref:this.saveRef("wrap"),onClick:n?this.onMaskClick:null,onMouseUp:n?this.onMaskMouseUp:null,role:"dialog","aria-labelledby":e.title?this.titleId:null,style:i},e.wrapProps),this.getDialogElement()))},t}(r["Component"]),S=C;C.defaultProps={className:"",mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",focusTriggerAfterClose:!0};var O=n("1W/9"),k=function(e){var t=e.visible,n=e.getContainer,i=e.forceRender;return!1===n?r["createElement"](S,o()({},e,{getOpenCount:function(){return 2}})):r["createElement"](O["a"],{visible:t,forceRender:i,getContainer:n},(function(t){return r["createElement"](S,o()({},e,t))}))},E=n("TSYQ"),D=n.n(E),M=n("zT1h"),N=n("V/uB"),L=n.n(N);function I(e){return A(e)||P(e)||F(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function P(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function A(e){if(Array.isArray(e))return B(e)}function R(e,t){return z(e)||V(e,t)||F(e,t)||j()}function j(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function F(e,t){if(e){if("string"===typeof e)return B(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function z(e){if(Array.isArray(e))return e}function W(){var e=r["useState"]([]),t=R(e,2),n=t[0],i=t[1];function o(e){return i((function(t){return[].concat(I(t),[e])})),function(){i((function(t){return t.filter((function(t){return t!==e}))}))}}return[n,o]}var H=n("2/Rp"),U=n("zvFY");function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K.apply(this,arguments)}function G(e,t){return Q(e)||Z(e,t)||Y(e,t)||q()}function q(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(e,t){if(e){if("string"===typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X(e,t):void 0}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Q(e){if(Array.isArray(e))return e}var $=function(e){var t=r["useRef"](!1),n=r["useRef"](),i=r["useState"](!1),o=G(i,2),a=o[0],s=o[1];r["useEffect"]((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var l=function(n){var r=e.closeModal;n&&n.then&&(s(!0),n.then((function(){r.apply(void 0,arguments)}),(function(e){console.error(e),s(!1),t.current=!1})))},u=function(){var n=e.actionFn,r=e.closeModal;if(!t.current)if(t.current=!0,n){var i;if(n.length)i=n(r),t.current=!1;else if(i=n(),!i)return void r();l(i)}else r()},c=e.type,d=e.children,h=e.buttonProps;return r["createElement"](H["a"],K({},Object(U["a"])(c),{onClick:u,loading:a},h,{ref:n}),d)},J=$,ee=n("uaoM");function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ne=function(e){var t=e.icon,n=e.onCancel,i=e.onOk,o=e.close,a=e.zIndex,s=e.afterClose,l=e.visible,u=e.keyboard,c=e.centered,d=e.getContainer,h=e.maskStyle,f=e.okText,p=e.okButtonProps,g=e.cancelText,m=e.cancelButtonProps,v=e.direction;Object(ee["a"])(!("string"===typeof t&&t.length>2),"Modal","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(t,"` at https://ant.design/components/icon"));var y=e.okType||"primary",b=e.prefixCls||"ant-modal",_="".concat(b,"-confirm"),w=!("okCancel"in e)||e.okCancel,x=e.width||416,C=e.style||{},S=void 0===e.mask||e.mask,O=void 0!==e.maskClosable&&e.maskClosable,k=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),E=e.transitionName||"zoom",M=e.maskTransitionName||"fade",N=D()(_,"".concat(_,"-").concat(e.type),te({},"".concat(_,"-rtl"),"rtl"===v),e.className),L=w&&r["createElement"](J,{actionFn:n,closeModal:o,autoFocus:"cancel"===k,buttonProps:m},g);return r["createElement"](Ye,{prefixCls:b,className:N,wrapClassName:D()(te({},"".concat(_,"-centered"),!!e.centered)),onCancel:function(){return o({triggerCancel:!0})},visible:l,title:"",transitionName:E,footer:"",maskTransitionName:M,mask:S,maskClosable:O,maskStyle:h,style:C,width:x,zIndex:a,afterClose:s,keyboard:u,centered:c,getContainer:d},r["createElement"]("div",{className:"".concat(_,"-body-wrapper")},r["createElement"]("div",{className:"".concat(_,"-body")},t,void 0===e.title?null:r["createElement"]("span",{className:"".concat(_,"-title")},e.title),r["createElement"]("div",{className:"".concat(_,"-content")},e.content)),r["createElement"]("div",{className:"".concat(_,"-btns")},L,r["createElement"](J,{type:y,actionFn:i,closeModal:o,autoFocus:"ok"===k,buttonProps:p},f))))},re=ne,ie=n("ZvpZ"),oe=n("YMnH"),ae=n("H84U");function se(){return se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},se.apply(this,arguments)}function le(e,t){return fe(e)||he(e,t)||ce(e,t)||ue()}function ue(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ce(e,t){if(e){if("string"===typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?de(e,t):void 0}}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function he(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function fe(e){if(Array.isArray(e))return e}var pe=function(e,t){var n=e.afterClose,i=e.config,o=r["useState"](!0),a=le(o,2),s=a[0],l=a[1],u=r["useState"](i),c=le(u,2),d=c[0],h=c[1],f=r["useContext"](ae["b"]),p=f.direction;function g(){l(!1)}return r["useImperativeHandle"](t,(function(){return{destroy:g,update:function(e){h((function(t){return se(se({},t),e)}))}}})),r["createElement"](oe["a"],{componentName:"Modal",defaultLocale:ie["a"].Modal},(function(e){return r["createElement"](re,se({},d,{close:g,visible:s,afterClose:n,okText:d.okText||(d.okCancel?e.okText:e.justOkText),direction:p,cancelText:d.cancelText||e.cancelText}))}))},ge=r["forwardRef"](pe),me=n("ESPI"),ve=n.n(me),ye=n("0G8d"),be=n.n(ye),_e=n("Z/ur"),we=n.n(_e),xe=n("xddM"),Ce=n.n(xe),Se=n("ul5b");function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oe.apply(this,arguments)}var ke=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n};function Ee(e){var t=document.createElement("div");document.body.appendChild(t);var n=Oe(Oe({},e),{close:a,visible:!0});function i(){var n=h["unmountComponentAtNode"](t);n&&t.parentNode&&t.parentNode.removeChild(t);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=i.some((function(e){return e&&e.triggerCancel}));e.onCancel&&s&&e.onCancel.apply(e,i);for(var l=0;l<Ke.length;l++){var u=Ke[l];if(u===a){Ke.splice(l,1);break}}}function o(e){var n=e.okText,i=e.cancelText,o=ke(e,["okText","cancelText"]);setTimeout((function(){var e=Object(Se["b"])();h["render"](r["createElement"](re,Oe({},o,{okText:n||(o.okCancel?e.okText:e.justOkText),cancelText:i||e.cancelText})),t)}))}function a(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n=Oe(Oe({},n),{visible:!1,afterClose:i.bind.apply(i,[this].concat(t))}),o(n)}function s(e){n=Oe(Oe({},n),e),o(n)}return o(n),Ke.push(a),{destroy:a,update:s}}function De(e){return Oe({type:"warning",icon:r["createElement"](Ce.a,null),okCancel:!1},e)}function Me(e){return Oe({type:"info",icon:r["createElement"](ve.a,null),okCancel:!1},e)}function Ne(e){return Oe({type:"success",icon:r["createElement"](be.a,null),okCancel:!1},e)}function Le(e){return Oe({type:"error",icon:r["createElement"](we.a,null),okCancel:!1},e)}function Ie(e){return Oe({type:"confirm",okCancel:!0},e)}function Te(e,t){return Fe(e)||je(e,t)||Ae(e,t)||Pe()}function Pe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ae(e,t){if(e){if("string"===typeof e)return Re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Re(e,t):void 0}}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function je(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Fe(e){if(Array.isArray(e))return e}var Be=0;function Ve(){var e=W(),t=Te(e,2),n=t[0],i=t[1];function o(e){return function(t){Be+=1;var n,o=r["createRef"](),a=r["createElement"](ge,{key:"modal-".concat(Be),config:e(t),ref:o,afterClose:function(){n()}});return n=i(a),{destroy:function(){o.current&&o.current.destroy()},update:function(e){o.current&&o.current.update(e)}}}}return[{info:o(Me),success:o(Ne),error:o(Le),warning:o(De),confirm:o(Ie)},r["createElement"](r["Fragment"],null,n)]}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(){return We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}var He,Ue=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},Ke=[],Ge=function(e){He={x:e.pageX,y:e.pageY},setTimeout((function(){return He=null}),100)};"undefined"!==typeof window&&window.document&&window.document.documentElement&&Object(M["a"])(document.documentElement,"click",Ge);var qe=function(e){var t,n=r["useContext"](ae["b"]),i=n.getPopupContainer,o=n.getPrefixCls,a=n.direction,s=function(t){var n=e.onCancel;n&&n(t)},l=function(t){var n=e.onOk;n&&n(t)},u=function(t){var n=e.okText,i=e.okType,o=e.cancelText,a=e.confirmLoading;return r["createElement"](r["Fragment"],null,r["createElement"](H["a"],We({onClick:s},e.cancelButtonProps),o||t.cancelText),r["createElement"](H["a"],We({},Object(U["a"])(i),{loading:a,onClick:l},e.okButtonProps),n||t.okText))},c=e.prefixCls,d=e.footer,h=e.visible,f=e.wrapClassName,p=e.centered,g=e.getContainer,m=e.closeIcon,v=Ue(e,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon"]),y=o("modal",c),b=r["createElement"](oe["a"],{componentName:"Modal",defaultLocale:Object(Se["b"])()},u),_=r["createElement"]("span",{className:"".concat(y,"-close-x")},m||r["createElement"](L.a,{className:"".concat(y,"-close-icon")})),w=D()(f,(t={},ze(t,"".concat(y,"-centered"),!!p),ze(t,"".concat(y,"-wrap-rtl"),"rtl"===a),t));return r["createElement"](k,We({},v,{getContainer:void 0===g?i:g,prefixCls:y,wrapClassName:w,footer:void 0===d?b:d,visible:h,mousePosition:He,onClose:s,closeIcon:_}))};qe.useModal=Ve,qe.defaultProps={width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"};var Ye=qe;function Xe(e){return Ee(De(e))}var Ze=Ye;Ze.info=function(e){return Ee(Me(e))},Ze.success=function(e){return Ee(Ne(e))},Ze.error=function(e){return Ee(Le(e))},Ze.warning=Xe,Ze.warn=Xe,Ze.confirm=function(e){return Ee(Ie(e))},Ze.destroyAll=function(){while(Ke.length){var e=Ke.pop();e&&e()}};t["a"]=Ze},kMLO:function(e,t,n){var r=n("XxSj"),i=n("Qe9p"),o=n("bYtY"),a=o.isArray,s="itemStyle",l={seriesType:"treemap",reset:function(e,t,n,r){var i=e.getData().tree,a=i.root,l=e.getModel(s);if(!a.isRemoved()){var c=o.map(i.levelModels,(function(e){return e?e.get(s):null}));u(a,{},c,l,e.getViewRoot().getAncestors(),e)}}};function u(e,t,n,r,i,a){var l=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var g,v=e.getModel(s),y=n[e.depth],b=c(v,t,y,r),_=v.get("borderColor"),w=v.get("borderColorSaturation");null!=w&&(g=d(b,e),_=h(w,g)),e.setVisual("borderColor",_);var x=e.viewChildren;if(x&&x.length){var C=p(e,l,f,v,b,x);o.each(x,(function(e,t){if(e.depth>=i.length||e===i[e.depth]){var o=m(l,b,e,t,C,a);u(e,o,n,r,i,a)}}))}else g=d(b,e),e.setVisual("color",g)}}function c(e,t,n,r){var i=o.extend({},t);return o.each(["color","colorAlpha","colorSaturation"],(function(o){var a=e.get(o,!0);null==a&&n&&(a=n[o]),null==a&&(a=t[o]),null==a&&(a=r.get(o)),null!=a&&(i[o]=a)})),i}function d(e){var t=f(e,"color");if(t){var n=f(e,"colorAlpha"),r=f(e,"colorSaturation");return r&&(t=i.modifyHSL(t,null,null,r)),n&&(t=i.modifyAlpha(t,n)),t}}function h(e,t){return null!=t?i.modifyHSL(t,null,null,e):null}function f(e,t){var n=e[t];if(null!=n&&"none"!==n)return n}function p(e,t,n,i,o,a){if(a&&a.length){var s=g(t,"color")||null!=o.color&&"none"!==o.color&&(g(t,"colorAlpha")||g(t,"colorSaturation"));if(s){var l=t.get("visualMin"),u=t.get("visualMax"),c=n.dataExtent.slice();null!=l&&l<c[0]&&(c[0]=l),null!=u&&u>c[1]&&(c[1]=u);var d=t.get("colorMappingBy"),h={type:s.name,dataExtent:c,visual:s.range};"color"!==h.type||"index"!==d&&"id"!==d?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var f=new r(h);return f.__drColorMappingBy=d,f}}}function g(e,t){var n=e.get(t);return a(n)&&n.length?{name:t,range:n}:null}function m(e,t,n,r,i,a){var s=o.extend({},t);if(i){var l=i.type,u="color"===l&&i.__drColorMappingBy,c="index"===u?r:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));s[l]=i.mapValueToVisual(c)}return s}e.exports=l},kPKH:function(e,t,n){"use strict";var r=n("/kpp");t["a"]=r["a"]},kTiW:function(e,t,n){e.exports=n("NegM")},kYye:function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"i",(function(){return l})),n.d(t,"f",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"a",(function(){return v})),n.d(t,"j",(function(){return y})),n.d(t,"b",(function(){return _})),n.d(t,"l",(function(){return w})),n.d(t,"c",(function(){return x})),n.d(t,"d",(function(){return C})),n.d(t,"k",(function(){return S})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return E})),n.d(t,"o",(function(){return D})),n.d(t,"q",(function(){return M})),n.d(t,"p",(function(){return N}));var r=n("3/fG"),i=n("zrhQ"),o=n("MD5Z"),a=n("t9D7"),s=Object(o["Rb"])("editor.lineHighlightBackground",{dark:null,light:null,hc:null},r["a"]("lineHighlight","Background color for the highlight of line at the cursor position.")),l=Object(o["Rb"])("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},r["a"]("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),u=Object(o["Rb"])("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},r["a"]("rangeHighlight","Background color of highlighted ranges, like by quick open and find features. The color must not be opaque so as not to hide underlying decorations."),!0),c=Object(o["Rb"])("editor.rangeHighlightBorder",{dark:null,light:null,hc:o["b"]},r["a"]("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),d=Object(o["Rb"])("editor.symbolHighlightBackground",{dark:o["t"],light:o["t"],hc:null},r["a"]("symbolHighlight","Background color of highlighted symbol, like for go to definition or go next/previous symbol. The color must not be opaque so as not to hide underlying decorations."),!0),h=Object(o["Rb"])("editor.symbolHighlightBorder",{dark:null,light:null,hc:o["b"]},r["a"]("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),f=Object(o["Rb"])("editorCursor.foreground",{dark:"#AEAFAD",light:i["a"].black,hc:i["a"].white},r["a"]("caret","Color of the editor cursor.")),p=Object(o["Rb"])("editorCursor.background",null,r["a"]("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),g=Object(o["Rb"])("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},r["a"]("editorWhitespaces","Color of whitespace characters in the editor.")),m=Object(o["Rb"])("editorIndentGuide.background",{dark:g,light:g,hc:g},r["a"]("editorIndentGuides","Color of the editor indentation guides.")),v=Object(o["Rb"])("editorIndentGuide.activeBackground",{dark:g,light:g,hc:g},r["a"]("editorActiveIndentGuide","Color of the active editor indentation guides.")),y=Object(o["Rb"])("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:i["a"].white},r["a"]("editorLineNumbers","Color of editor line numbers.")),b=Object(o["Rb"])("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:o["b"]},r["a"]("editorActiveLineNumber","Color of editor active line number"),!1,r["a"]("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),_=Object(o["Rb"])("editorLineNumber.activeForeground",{dark:b,light:b,hc:b},r["a"]("editorActiveLineNumber","Color of editor active line number")),w=Object(o["Rb"])("editorRuler.foreground",{dark:"#5A5A5A",light:i["a"].lightgrey,hc:i["a"].white},r["a"]("editorRuler","Color of the editor rulers.")),x=(Object(o["Rb"])("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},r["a"]("editorCodeLensForeground","Foreground color of editor code lenses")),Object(o["Rb"])("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},r["a"]("editorBracketMatchBackground","Background color behind matching brackets"))),C=Object(o["Rb"])("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:o["e"]},r["a"]("editorBracketMatchBorder","Color for matching brackets boxes")),S=Object(o["Rb"])("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},r["a"]("editorOverviewRulerBorder","Color of the overview ruler border.")),O=Object(o["Rb"])("editorGutter.background",{dark:o["o"],light:o["o"],hc:o["o"]},r["a"]("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),k=Object(o["Rb"])("editorUnnecessaryCode.border",{dark:null,light:null,hc:i["a"].fromHex("#fff").transparent(.8)},r["a"]("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),E=Object(o["Rb"])("editorUnnecessaryCode.opacity",{dark:i["a"].fromHex("#000a"),light:i["a"].fromHex("#0007"),hc:null},r["a"]("unnecessaryCodeOpacity","Opacity of unnecessary (unused) source code in the editor. For example, \"#000000c0\" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.")),D=Object(o["Rb"])("editorOverviewRuler.errorForeground",{dark:new i["a"](new i["c"](255,18,18,.7)),light:new i["a"](new i["c"](255,18,18,.7)),hc:new i["a"](new i["c"](255,50,50,1))},r["a"]("overviewRuleError","Overview ruler marker color for errors.")),M=Object(o["Rb"])("editorOverviewRuler.warningForeground",{dark:o["O"],light:o["O"],hc:o["N"]},r["a"]("overviewRuleWarning","Overview ruler marker color for warnings.")),N=Object(o["Rb"])("editorOverviewRuler.infoForeground",{dark:o["H"],light:o["H"],hc:o["G"]},r["a"]("overviewRuleInfo","Overview ruler marker color for infos."));Object(a["e"])((function(e,t){var n=e.getColor(o["o"]);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var r=e.getColor(o["x"]);r&&t.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+r+"; }");var i=e.getColor(O);i&&t.addRule(".monaco-editor .margin { background-color: "+i+"; }");var a=e.getColor(u);a&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+a+"; }");var s=e.getColor(c);s&&t.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+s+"; }");var l=e.getColor(d);l&&t.addRule(".monaco-editor .symbolHighlight { background-color: "+l+"; }");var f=e.getColor(h);f&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+f+"; }");var p=e.getColor(g);p&&t.addRule(".vs-whitespace { color: "+p+" !important; }")}))},kaz8:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("x1Ya"),s=n("BGR+"),l=n("H84U");function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){return m(e)||g(e)||p(e)||f()}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function g(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function m(e){if(Array.isArray(e))return v(e)}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e}function w(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}function x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function C(e){var t=k();return function(){var n,r=E(e);if(t){var i=E(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},M=r["createContext"](null),N=function(e){w(n,e);var t=C(n);function n(e){var i;return y(this,n),i=t.call(this,e),i.cancelValue=function(e){i.setState((function(t){var n=t.registeredValues;return{registeredValues:n.filter((function(t){return t!==e}))}}))},i.registerValue=function(e){i.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(h(n),[e])}}))},i.toggleOption=function(e){var t=i.state.registeredValues,n=i.state.value.indexOf(e.value),r=h(i.state.value);-1===n?r.push(e.value):r.splice(n,1),"value"in i.props||i.setState({value:r});var o=i.props.onChange;if(o){var a=i.getOptions();o(r.filter((function(e){return-1!==t.indexOf(e)})).sort((function(e,t){var n=a.findIndex((function(t){return t.value===e})),r=a.findIndex((function(e){return e.value===t}));return n-r})))}},i.renderGroup=function(e){var t=e.getPrefixCls,n=e.direction,a=O(i),l=a.props,u=a.state,h=l.prefixCls,f=l.className,p=l.style,g=l.options,m=D(l,["prefixCls","className","style","options"]),v=t("checkbox",h),y="".concat(v,"-group"),b=Object(s["a"])(m,["children","defaultValue","value","onChange","disabled"]),_=l.children;g&&g.length>0&&(_=i.getOptions().map((function(e){return r["createElement"](Y,{prefixCls:v,key:e.value.toString(),disabled:"disabled"in e?e.disabled:l.disabled,value:e.value,checked:-1!==u.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item"),style:e.style},e.label)})));var w={toggleOption:i.toggleOption,value:i.state.value,disabled:i.props.disabled,name:i.props.name,registerValue:i.registerValue,cancelValue:i.cancelValue},x=o()(y,f,d({},"".concat(y,"-rtl"),"rtl"===n));return r["createElement"]("div",c({className:x,style:p},b),r["createElement"](M.Provider,{value:w},_))},i.state={value:e.value||e.defaultValue||[],registeredValues:[]},i}return _(n,[{key:"getOptions",value:function(){var e=this.props.options;return e.map((function(e){return"string"===typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r["createElement"](l["a"],null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}]),n}(r["PureComponent"]);N.defaultProps={options:[]};var L=N,I=n("uaoM");function T(e){return T="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function A(){return A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(this,arguments)}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e,t,n){return t&&j(e.prototype,t),n&&j(e,n),e}function B(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function z(e){var t=U();return function(){var n,r=K(e);if(t){var i=K(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return W(this,n)}}function W(e,t){return!t||"object"!==T(t)&&"function"!==typeof t?H(e):t}function H(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(e)}var G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},q=function(e){B(n,e);var t=z(n);function n(){var e;return R(this,n),e=t.apply(this,arguments),e.saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,i=t.getPrefixCls,s=t.direction,l=H(e),u=l.props,c=l.context,d=u.prefixCls,h=u.className,f=u.children,p=u.indeterminate,g=u.style,m=u.onMouseEnter,v=u.onMouseLeave,y=G(u,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),b=c,_=i("checkbox",d),w=A({},y);b&&(w.onChange=function(){y.onChange&&y.onChange.apply(y,arguments),b.toggleOption({label:f,value:u.value})},w.name=b.name,w.checked=-1!==b.value.indexOf(u.value),w.disabled=u.disabled||b.disabled);var x=o()(h,(n={},P(n,"".concat(_,"-wrapper"),!0),P(n,"".concat(_,"-rtl"),"rtl"===s),P(n,"".concat(_,"-wrapper-checked"),w.checked),P(n,"".concat(_,"-wrapper-disabled"),w.disabled),n)),C=o()(P({},"".concat(_,"-indeterminate"),p));return r["createElement"]("label",{className:x,style:g,onMouseEnter:m,onMouseLeave:v},r["createElement"](a["a"],A({},w,{prefixCls:_,className:C,ref:e.saveCheckbox})),void 0!==f&&r["createElement"]("span",null,f))},e}return F(n,[{key:"componentDidMount",value:function(){var e,t=this.props.value;null===(e=this.context)||void 0===e||e.registerValue(t),Object(I["a"])("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(e){var t,n,r=e.value,i=this.props.value;i!==r&&(null===(t=this.context)||void 0===t||t.cancelValue(r),null===(n=this.context)||void 0===n||n.registerValue(i))}},{key:"componentWillUnmount",value:function(){var e,t=this.props.value;null===(e=this.context)||void 0===e||e.cancelValue(t)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r["createElement"](l["a"],null,this.renderCheckbox)}}]),n}(r["PureComponent"]);q.__ANT_CHECKBOX=!0,q.defaultProps={indeterminate:!1},q.contextType=M;var Y=q;Y.Group=L;t["a"]=Y},kdPm:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return n.e(171).then(n.bind(null,"3VBA"))}})},kekF:function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},kj2x:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("7hqr"),a=o.isDimensionStacked,s=r.indexOf;function l(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function u(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function c(e,t,n,r,o,s){var l=[],u=a(t,r),c=u?t.getCalculationInfo("stackResultDimension"):r,d=y(t,c,e),h=t.indicesOfNearest(c,d)[0];l[o]=t.get(n,h),l[s]=t.get(c,h);var f=t.get(r,h),p=i.getPrecision(t.get(r,h));return p=Math.min(p,20),p>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var d=r.curry,h={min:d(c,"min"),max:d(c,"max"),average:d(c,"average")};function f(e,t){var n=e.getData(),i=e.coordinateSystem;if(t&&!u(t)&&!r.isArray(t.coord)&&i){var o=i.dimensions,a=p(t,n,i,e);if(t=r.clone(t),t.type&&h[t.type]&&a.baseAxis&&a.valueAxis){var l=s(o,a.baseAxis.dim),c=s(o,a.valueAxis.dim),d=h[t.type](n,a.baseDataDim,a.valueDataDim,l,c);t.coord=d[0],t.value=d[1]}else{for(var f=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis],g=0;g<2;g++)h[f[g]]&&(f[g]=y(n,n.mapDimension(o[g]),f[g]));t.coord=f}}return t}function p(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(g(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function g(e,t){var n=e.getData(),r=n.dimensions;t=n.getDimension(t);for(var i=0;i<r.length;i++){var o=n.getDimensionInfo(r[i]);if(o.name===t)return o.coordDim}}function m(e,t){return!(e&&e.containData&&t.coord&&!l(t))||e.containData(t.coord)}function v(e,t,n,r){return r<2?e.coord&&e.coord[r]:e.value}function y(e,t,n){if("average"===n){var r=0,i=0;return e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i}return"median"===n?e.getMedian(t):e.getDataExtent(t,!0)["max"===n?1:0]}t.dataTransform=f,t.getAxisInfo=p,t.dataFilter=m,t.dimValueGetter=v,t.numCalculate=y},knOB:function(e,t,n){var r=n("bYtY"),i=n("hM6l");function o(e,t){i.call(this,"radius",e,t),this.type="category"}o.prototype={constructor:o,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToRadius:i.prototype.dataToCoord,radiusToData:i.prototype.coordToData},r.inherits(o,i);var a=o;e.exports=a},ko1b:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("Bsck"),a=n("Qxkt"),s=n("7aKB"),l=s.encodeHTML,u=s.addCommas,c=n("VaxA"),d=c.wrapTreePathInfo,h=i.extend({type:"series.treemap",layoutMode:"box",dependencies:["grid","polar"],preventUsingHoverLayer:!0,_viewRoot:null,defaultOption:{progressive:0,left:"center",top:"middle",right:null,bottom:null,width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"\u25b6",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",borderColor:"rgba(255,255,255,0.7)",borderWidth:1,shadowColor:"rgba(150,150,150,1)",shadowBlur:3,shadowOffsetX:0,shadowOffsetY:0,textStyle:{color:"#fff"}},emphasis:{textStyle:{}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",ellipsis:!0},upperLabel:{show:!1,position:[0,"50%"],height:20,color:"#fff",ellipsis:!0,verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],color:"#fff",ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},getInitialData:function(e,t){var n={name:e.name,children:e.data};f(n);var i=e.levels||[];i=e.levels=p(i,t);var s=r.map(i||[],(function(e){return new a(e,this,t)}),this),l=o.createTree(n,this,null,u);function u(e){e.wrapMethod("getItemModel",(function(e,t){var n=l.getNodeByDataIndex(t),r=s[n.depth];return r&&(e.parentModel=r),e}))}return l.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(e){var t=this.getData(),n=this.getRawValue(e),i=r.isArray(n)?u(n[0]):u(n),o=t.getName(e);return l(o+": "+i)},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=d(n,this),t},setLayoutInfo:function(e){this.layoutInfo=this.layoutInfo||{},r.extend(this.layoutInfo,e)},mapIdToIndex:function(e){var t=this._idIndexMap;t||(t=this._idIndexMap=r.createHashMap(),this._idIndexMapCount=0);var n=t.get(e);return null==n&&t.set(e,n=this._idIndexMapCount++),n},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function f(e){var t=0;r.each(e.children,(function(e){f(e);var n=e.value;r.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;r.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),r.isArray(e.value)?e.value[0]=n:e.value=n}function p(e,t){var n=t.get("color");if(n){var i;if(e=e||[],r.each(e,(function(e){var t=new a(e),n=t.get("color");(t.get("itemStyle.color")||n&&"none"!==n)&&(i=!0)})),!i){var o=e[0]||(e[0]={});o.color=n.slice()}return e}}e.exports=h},"kw+w":function(e,t,n){},kzFp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.pick=function(e,t){var n={};return t.forEach((function(t){n[t]=e[t]})),n}},kzvK:function(e,t,n){var r=n("sS/r"),i=r.extend({type:"timeline"});e.exports=i},"l+S1":function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="SearchOutlined";t["a"]=r["forwardRef"](s)},l2gE:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r=n("6OMU"),i=n("N0LK"),o=n("PTeM"),a=n("MrjW"),s=n("QDVR"),l=n("X+cX"),u="**",c="/",d="[/\\\\]",h="[^/\\\\]",f=/\//g;function p(e){switch(e){case 0:return"";case 1:return h+"*?";default:return"(?:"+d+"|"+h+"+"+d+"|"+d+h+"+)*?"}}function g(e,t){if(!e)return[];for(var n=[],r=!1,i=!1,o="",a=0,s=e;a<s.length;a++){var l=s[a];switch(l){case t:if(!r&&!i){n.push(o),o="";continue}break;case"{":r=!0;break;case"}":r=!1;break;case"[":i=!0;break;case"]":i=!1;break}o+=l}return o&&n.push(o),n}function m(e){if(!e)return"";var t="",n=g(e,c);if(n.every((function(e){return e===u})))t=".*";else{var r=!1;n.forEach((function(e,o){if(e!==u){for(var a=!1,s="",l=!1,f="",v=0,y=e;v<y.length;v++){var b=y[v];if("}"!==b&&a)s+=b;else if(!l||"]"===b&&f)switch(b){case"{":a=!0;continue;case"[":l=!0;continue;case"}":var _=g(s,","),w="(?:"+_.map((function(e){return m(e)})).join("|")+")";t+=w,a=!1,s="";break;case"]":t+="["+f+"]",l=!1,f="";break;case"?":t+=h;continue;case"*":t+=p(1);continue;default:t+=i["p"](b)}else{var x=void 0;x="-"===b?b:"^"!==b&&"!"!==b||f?b===c?"":i["p"](b):"^",f+=x}}o<n.length-1&&(n[o+1]!==u||o+2<n.length)&&(t+=d),r=!1}else r||(t+=p(2),r=!0)}))}return t}var v=/^\*\*\/\*\.[\w\.-]+$/,y=/^\*\*\/([\w\.-]+)\/?$/,b=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,_=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,w=/^\*\*((\/[\w\.-]+)+)\/?$/,x=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,C=new s["a"](1e4),S=function(){return!1},O=function(){return null};function k(e,t){if(!e)return O;var n;n="string"!==typeof e?e.pattern:e,n=n.trim();var r,o=n+"_"+!!t.trimForExclusions,a=C.get(o);if(a)return E(a,e);if(v.test(n)){var s=n.substr(4);a=function(e,t){return"string"===typeof e&&i["m"](e,s)?n:null}}else a=(r=y.exec(D(n,t)))?M(r[1],n):(t.trimForExclusions?_:b).test(n)?N(n,t):(r=w.exec(D(n,t)))?L(r[1].substr(1),n,!0):(r=x.exec(D(n,t)))?L(r[1],n,!1):I(n);return C.set(o,a),E(a,e)}function E(e,t){return"string"===typeof t?e:function(n,r){return o["a"](n,t.base)?e(a["relative"](t.base,n),r):null}}function D(e,t){return t.trimForExclusions&&i["m"](e,"/**")?e.substr(0,e.length-2):e}function M(e,t){var n="/"+e,r="\\"+e,o=function(o,a){return"string"!==typeof o?null:a?a===e?t:null:o===e||i["m"](o,n)||i["m"](o,r)?t:null},a=[e];return o.basenames=a,o.patterns=[t],o.allBasenames=a,o}function N(e,t){var n=F(e.slice(1,-1).split(",").map((function(e){return k(e,t)})).filter((function(e){return e!==O})),e),i=n.length;if(!i)return O;if(1===i)return n[0];var o=function(t,r){for(var i=0,o=n.length;i<o;i++)if(n[i](t,r))return e;return null},a=r["j"](n,(function(e){return!!e.allBasenames}));a&&(o.allBasenames=a.allBasenames);var s=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);return s.length&&(o.allPaths=s),o}function L(e,t,n){var r=a["sep"]!==a["posix"].sep?e.replace(f,a["sep"]):e,o=a["sep"]+r,s=n?function(e,n){return"string"!==typeof e||e!==r&&!i["m"](e,o)?null:t}:function(e,n){return"string"===typeof e&&e===r?t:null};return s.allPaths=[(n?"*/":"./")+e],s}function I(e){try{var t=new RegExp("^"+m(e)+"$");return function(n,r){return t.lastIndex=0,"string"===typeof n&&t.test(n)?e:null}}catch(n){return O}}function T(e,t,n){return!(!e||"string"!==typeof t)&&P(e)(t,void 0,n)}function P(e,t){if(void 0===t&&(t={}),!e)return S;if("string"===typeof e||A(e)){var n=k(e,t);if(n===O)return S;var r=function(e,t){return!!n(e,t)};return n.allBasenames&&(r.allBasenames=n.allBasenames),n.allPaths&&(r.allPaths=n.allPaths),r}return R(e,t)}function A(e){var t=e;return t&&"string"===typeof t.base&&"string"===typeof t.pattern}function R(e,t){var n=F(Object.getOwnPropertyNames(e).map((function(n){return j(n,e[n],t)})).filter((function(e){return e!==O}))),i=n.length;if(!i)return O;if(!n.some((function(e){return!!e.requiresSiblings}))){if(1===i)return n[0];var o=function(e,t){for(var r=0,i=n.length;r<i;r++){var o=n[r](e,t);if(o)return o}return null},s=r["j"](n,(function(e){return!!e.allBasenames}));s&&(o.allBasenames=s.allBasenames);var l=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);return l.length&&(o.allPaths=l),o}var u=function(e,t,r){for(var i=void 0,o=0,s=n.length;o<s;o++){var l=n[o];l.requiresSiblings&&r&&(t||(t=a["basename"](e)),i||(i=t.substr(0,t.length-a["extname"](e).length)));var u=l(e,t,i,r);if(u)return u}return null},c=r["j"](n,(function(e){return!!e.allBasenames}));c&&(u.allBasenames=c.allBasenames);var d=n.reduce((function(e,t){return t.allPaths?e.concat(t.allPaths):e}),[]);return d.length&&(u.allPaths=d),u}function j(e,t,n){if(!1===t)return O;var r=k(e,n);if(r===O)return O;if("boolean"===typeof t)return r;if(t){var i=t.when;if("string"===typeof i){var o=function(t,n,o,a){if(!a||!r(t,n))return null;var s=i.replace("$(basename)",o),u=a(s);return Object(l["i"])(u)?u.then((function(t){return t?e:null})):u?e:null};return o.requiresSiblings=!0,o}}return r}function F(e,t){var n=e.filter((function(e){return!!e.basenames}));if(n.length<2)return e;var r,i=n.reduce((function(e,t){var n=t.basenames;return n?e.concat(n):e}),[]);if(t){r=[];for(var o=0,a=i.length;o<a;o++)r.push(t)}else r=n.reduce((function(e,t){var n=t.patterns;return n?e.concat(n):e}),[]);var s=function(e,t){if("string"!==typeof e)return null;if(!t){var n=void 0;for(n=e.length;n>0;n--){var o=e.charCodeAt(n-1);if(47===o||92===o)break}t=e.substr(n)}var a=i.indexOf(t);return-1!==a?r[a]:null};s.basenames=i,s.patterns=r,s.allBasenames=i;var l=e.filter((function(e){return!e.basenames}));return l.push(s),l}},l4aY:function(e,t,n){"use strict";function r(e,t){var n=t;while(n){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,"a",(function(){return r}))},lCc8:function(e,t,n){var r=n("Y7ZC");r(r.S,"Object",{create:n("oVml")})},lCnp:function(e,t,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("m+aA"),a=n("TSYQ"),s=n.n(a),l=n("xEkU"),u=n.n(l),c=n("0F8K"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v="none",y="appear",b="enter",_="leave";function w(e){var t=e,n=!!i.a.forwardRef;function r(e){return!(!e.motionName||!t)}"object"===typeof e&&(t=e.transitionSupport,n="forwardRef"in e?e.forwardRef:n);var a=function(e){function t(){p(this,t);var e=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.onDomUpdate=function(){var t=e.state,n=t.status,i=t.newStatus,o=e.props,a=o.onAppearStart,s=o.onEnterStart,l=o.onLeaveStart,u=o.onAppearActive,c=o.onEnterActive,d=o.onLeaveActive,h=o.motionAppear,f=o.motionEnter,p=o.motionLeave;if(r(e.props)){var g=e.getElement();e.$cacheEle!==g&&(e.removeEventListener(e.$cacheEle),e.addEventListener(g),e.$cacheEle=g),i&&n===y&&h?e.updateStatus(a,null,null,(function(){e.updateActiveStatus(u,y)})):i&&n===b&&f?e.updateStatus(s,null,null,(function(){e.updateActiveStatus(c,b)})):i&&n===_&&p&&e.updateStatus(l,null,null,(function(){e.updateActiveStatus(d,_)}))}},e.onMotionEnd=function(t){var n=e.state,r=n.status,i=n.statusActive,o=e.props,a=o.onAppearEnd,s=o.onEnterEnd,l=o.onLeaveEnd;r===y&&i?e.updateStatus(a,{status:v},t):r===b&&i?e.updateStatus(s,{status:v},t):r===_&&i&&e.updateStatus(l,{status:v},t)},e.setNodeRef=function(t){var n=e.props.internalRef;e.node=t,"function"===typeof n?n(t):n&&"current"in n&&(n.current=t)},e.getElement=function(){try{return Object(o["a"])(e.node||e)}catch(t){return e.$cacheEle}},e.addEventListener=function(t){t&&(t.addEventListener(c["d"],e.onMotionEnd),t.addEventListener(c["a"],e.onMotionEnd))},e.removeEventListener=function(t){t&&(t.removeEventListener(c["d"],e.onMotionEnd),t.removeEventListener(c["a"],e.onMotionEnd))},e.updateStatus=function(t,n,r,i){var o=t?t(e.getElement(),r):null;if(!1!==o&&!e._destroyed){var a=void 0;i&&(a=function(){e.nextFrame(i)}),e.setState(d({statusStyle:"object"===typeof o?o:null,newStatus:!1},n),a)}},e.updateActiveStatus=function(t,n){e.nextFrame((function(){var r=e.state.status;if(r===n){var i=e.props.motionDeadline;e.updateStatus(t,{statusActive:!0}),i>0&&setTimeout((function(){e.onMotionEnd({deadline:!0})}),i)}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=u()(t)},e.cancelNextFrame=function(){e.raf&&(u.a.cancel(e.raf),e.raf=null)},e.state={status:v,statusActive:!1,newStatus:!1,statusStyle:null},e.$cacheEle=null,e.node=null,e.raf=null,e}return m(t,e),h(t,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this._destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame()}},{key:"render",value:function(){var e,t=this.state,n=t.status,i=t.statusActive,o=t.statusStyle,a=this.props,l=a.children,u=a.motionName,h=a.visible,p=a.removeOnLeave,g=a.leavedClassName,m=a.eventProps;return l?n!==v&&r(this.props)?l(d({},m,{className:s()((e={},f(e,Object(c["b"])(u,n),n!==v),f(e,Object(c["b"])(u,n+"-active"),n!==v&&i),f(e,u,"string"===typeof u),e)),style:o}),this.setNodeRef):h?l(d({},m),this.setNodeRef):p?null:l(d({},m,{className:g}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.status;if(!r(e))return{};var o=e.visible,a=e.motionAppear,s=e.motionEnter,l=e.motionLeave,u=e.motionLeaveImmediately,c={prevProps:e};return(i===y&&!a||i===b&&!s||i===_&&!l)&&(c.status=v,c.statusActive=!1,c.newStatus=!1),!n&&o&&a&&(c.status=y,c.statusActive=!1,c.newStatus=!0),n&&!n.visible&&o&&s&&(c.status=b,c.statusActive=!1,c.newStatus=!0),(n&&n.visible&&!o&&l||!n&&u&&!o&&l)&&(c.status=_,c.statusActive=!1,c.newStatus=!0),c}}]),t}(i.a.Component);return a.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?i.a.forwardRef((function(e,t){return i.a.createElement(a,d({internalRef:t},e))})):a}t["a"]=w(c["c"])},lE7J:function(e,t,n){var r=n("OELB"),i=r.round;function o(e,t,n,o){var s={},u=e[1]-e[0],c=s.interval=r.nice(u/t,!0);null!=n&&c<n&&(c=s.interval=n),null!=o&&c>o&&(c=s.interval=o);var d=s.intervalPrecision=a(c),h=s.niceTickExtent=[i(Math.ceil(e[0]/c)*c,d),i(Math.floor(e[1]/c)*c,d)];return l(h,e),s}function a(e){return r.getPrecisionSafe(e)+2}function s(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function l(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),s(e,0,t),s(e,1,t),e[0]>e[1]&&(e[0]=e[1])}t.intervalScaleNiceTicks=o,t.getIntervalPrecision=a,t.fixExtent=l},lELe:function(e,t,n){var r=n("bYtY");function i(e){var t=[];r.each(e.series,(function(e){e&&"map"===e.type&&(t.push(e),e.map=e.map||e.mapType,r.defaults(e,e.mapLocation))}))}e.exports=i},lKfe:function(e,t,n){},lLGD:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("nVfU"),a=o.layout,s=o.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,i.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),r.registerVisual({seriesType:"bar",reset:function(e){e.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(e,t,n){var r=n("QBsz"),i=n("U/Mo"),o=i.getSymbolSize,a=i.getNodeGlobalScale,s=Math.PI,l=[];function u(e,t){var n=e.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),o=e.getData(),a=o.graph,s=i.width/2+i.x,l=i.height/2+i.y,u=Math.min(i.width,i.height)/2,d=o.count();o.setLayout({cx:s,cy:l}),d&&(c[t](e,n,a,o,u,s,l,d),a.eachEdge((function(e){var t,n=e.getModel().get("lineStyle.curveness")||0,i=r.clone(e.node1.getLayout()),o=r.clone(e.node2.getLayout()),a=(i[0]+o[0])/2,u=(i[1]+o[1])/2;+n&&(n*=3,t=[s*n+a*(1-n),l*n+u*(1-n)]),e.setLayout([i,o,t])})))}}var c={value:function(e,t,n,r,i,o,a,s){var l=0,u=r.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(e){var t=e.getValue("value"),n=c*(u?t:1)/2;l+=n,e.setLayout([i*Math.cos(l)+o,i*Math.sin(l)+a]),l+=n}))},symbolSize:function(e,t,n,r,i,u,c,d){var h=0;l.length=d;var f=a(e);n.eachNode((function(e){var t=o(e);isNaN(t)&&(t=2),t<0&&(t=0),t*=f;var n=Math.asin(t/2/i);isNaN(n)&&(n=s/2),l[e.dataIndex]=n,h+=2*n}));var p=(2*s-h)/d/2,g=0;n.eachNode((function(e){var t=p+l[e.dataIndex];g+=t,e.setLayout([i*Math.cos(g)+u,i*Math.sin(g)+c]),g+=t}))}};t.circularLayout=u},lSCD:function(e,t,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==l}e.exports=u},lUTK:function(e,t,n){"use strict";n("cIOH"),n("x54q"),n("5Dmo")},lZu9:function(e,t,n){(function(e){e(n("VrN/"),n("1eCo"),n("8EBN"))})((function(e){"use strict";e.defineMode("markdown",(function(t,n){var r=e.getMode(t,"text/html"),i="null"==r.name;function o(n){if(e.findModeByName){var r=e.findModeByName(n);r&&(n=r.mime||r.mimes[0])}var i=e.getMode(t,n);return"null"==i.name?null:i}void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.fencedCodeBlockDefaultMode&&(n.fencedCodeBlockDefaultMode="text/plain"),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in a)a.hasOwnProperty(s)&&n.tokenTypeOverrides[s]&&(a[s]=n.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,u=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,d=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,f=/^[^#!\[\]*_\\<>` "'(~:]+/,p=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,g=/^\s*\[[^\]]+?\]:.*$/,m=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(e,t,n){return t.f=t.inline=n,n(e,t)}function b(e,t,n){return t.f=t.block=n,n(e,t)}function _(e){return!e||!/\S/.test(e.string)}function w(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==C){var n=i;if(!n){var o=e.innerMode(r,t.htmlState);n="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}n&&(t.f=E,t.block=x,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function x(t,r){var i=t.column()===r.indentation,s=_(r.prevLine.stream),f=r.indentedCode,m=r.prevLine.hr,v=!1!==r.list,b=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var w=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,v)){r.list=null;while(w<r.listStack[r.listStack.length-1])r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=w-r.listStack[r.listStack.length-1])}var x=!s&&!m&&!r.prevLine.header&&(!v||!f)&&!r.prevLine.fencedCodeEnd,C=(!1===r.list||m||s)&&r.indentation<=b&&t.match(l),k=null;if(r.indentationDiff>=4&&(f||r.prevLine.fencedCodeEnd||r.prevLine.header||s))return t.skipToEnd(),r.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&r.indentation<=b&&(k=t.match(d))&&k[1].length<=6)return r.quote=0,r.header=k[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,O(r);if(r.indentation<=b&&t.eat(">"))return r.quote=i?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),t.eatSpace(),O(r);if(!C&&!r.setext&&i&&r.indentation<=b&&(k=t.match(u))){var E=k[1]?"ol":"ul";return r.indentation=w+t.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,n.taskLists&&t.match(c,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+E]),O(r)}return i&&r.indentation<=b&&(k=t.match(p,!0))?(r.quote=0,r.fencedEndRE=new RegExp(k[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&o(k[2]||n.fencedCodeBlockDefaultMode),r.localMode&&(r.localState=e.startState(r.localMode)),r.f=r.block=S,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,O(r)):r.setext||!(x&&v||r.quote||!1!==r.list||r.code||C||g.test(t.string))&&(k=t.lookAhead(1))&&(k=k.match(h))?(r.setext?(r.header=r.setext,r.setext=0,t.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==k[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,O(r)):C?(t.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===t.peek()?y(t,r,I):y(t,r,r.inline)}function C(t,n){var o=r.token(t,n.htmlState);if(!i){var a=e.innerMode(r,n.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||n.md_inside&&t.current().indexOf(">")>-1)&&(n.f=E,n.block=x,n.htmlState=null)}return o}function S(e,t){var r,i=t.listStack[t.listStack.length-1]||0,o=t.indentation<i,s=i+3;return t.fencedEndRE&&t.indentation<=s&&(o||e.match(t.fencedEndRE))?(n.highlightFormatting&&(t.formatting="code-block"),o||(r=O(t)),t.localMode=t.localState=null,t.block=x,t.f=E,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,o?b(e,t,t.block):r):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),a.code)}function O(e){var t=[];if(e.formatting){t.push(a.formatting),"string"===typeof e.formatting&&(e.formatting=[e.formatting]);for(var r=0;r<e.formatting.length;r++)t.push(a.formatting+"-"+e.formatting[r]),"header"===e.formatting[r]&&t.push(a.formatting+"-"+e.formatting[r]+"-"+e.header),"quote"===e.formatting[r]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.formatting+"-"+e.formatting[r]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(a.linkHref,"url"):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,"link"),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+"-"+e.header),e.quote&&(t.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=e.quote?t.push(a.quote+"-"+e.quote):t.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function k(e,t){if(e.match(f,!0))return O(t)}function E(t,i){var o=i.text(t,i);if("undefined"!==typeof o)return o;if(i.list)return i.list=null,O(i);if(i.taskList){var s=" "===t.match(c,!0)[1];return s?i.taskOpen=!0:i.taskClosed=!0,n.highlightFormatting&&(i.formatting="task"),i.taskList=!1,O(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return n.highlightFormatting&&(i.formatting="header"),O(i);var l=t.next();if(i.linkTitle){i.linkTitle=!1;var u=l;"("===l&&(u=")"),u=(u+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var d="^\\s*(?:[^"+u+"\\\\]+|\\\\\\\\|\\\\.)"+u;if(t.match(new RegExp(d),!0))return a.linkHref}if("`"===l){var h=i.formatting;n.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var f=t.current().length;if(0!=i.code||i.quote&&1!=f){if(f==i.code){var p=O(i);return i.code=0,p}return i.formatting=h,O(i)}return i.code=f,O(i)}if(i.code)return O(i);if("\\"===l&&(t.next(),n.highlightFormatting)){var g=O(i),v=a.formatting+"-escape";return g?g+" "+v:v}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,n.highlightFormatting&&(i.formatting="image"),O(i);if("["===l&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,n.highlightFormatting&&(i.formatting="image"),O(i);if("]"===l&&i.imageAltText){n.highlightFormatting&&(i.formatting="image");g=O(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=M,g}if("["===l&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,n.highlightFormatting&&(i.formatting="link")),O(i);if("]"===l&&i.linkText){n.highlightFormatting&&(i.formatting="link");g=O(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?M:E,g}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=D,n.highlightFormatting&&(i.formatting="link");g=O(i);return g?g+=" ":g="",g+a.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=D,n.highlightFormatting&&(i.formatting="link");g=O(i);return g?g+=" ":g="",g+a.linkEmail}if(n.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var _=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(_)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(r),b(t,i,C)}if(n.xml&&"<"===l&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){var w=1,x=1==t.pos?" ":t.string.charAt(t.pos-2);while(w<3&&t.eat(l))w++;var S=t.peek()||" ",k=!/\s/.test(S)&&(!m.test(S)||/\s/.test(x)||m.test(x)),N=!/\s/.test(x)&&(!m.test(x)||/\s/.test(S)||m.test(S)),L=null,I=null;if(w%2&&(i.em||!k||"*"!==l&&N&&!m.test(x)?i.em!=l||!N||"*"!==l&&k&&!m.test(S)||(L=!1):L=!0),w>1&&(i.strong||!k||"*"!==l&&N&&!m.test(x)?i.strong!=l||!N||"*"!==l&&k&&!m.test(S)||(I=!1):I=!0),null!=I||null!=L){n.highlightFormatting&&(i.formatting=null==L?"strong":null==I?"em":"strong em"),!0===L&&(i.em=l),!0===I&&(i.strong=l);p=O(i);return!1===L&&(i.em=!1),!1===I&&(i.strong=!1),p}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return O(i);t.backUp(1)}if(n.strikethrough)if("~"===l&&t.eatWhile(l)){if(i.strikethrough){n.highlightFormatting&&(i.formatting="strikethrough");p=O(i);return i.strikethrough=!1,p}if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,n.highlightFormatting&&(i.formatting="strikethrough"),O(i)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return O(i);t.backUp(2)}if(n.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,n.highlightFormatting&&(i.formatting="emoji");var T=O(i);return i.emoji=!1,T}return" "===l&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),O(i)}function D(e,t){var r=e.next();if(">"===r){t.f=t.inline=E,n.highlightFormatting&&(t.formatting="link");var i=O(t);return i?i+=" ":i="",i+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function M(e,t){if(e.eatSpace())return null;var r=e.next();return"("===r||"["===r?(t.f=t.inline=L("("===r?")":"]"),n.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,O(t)):"error"}var N={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function L(e){return function(t,r){var i=t.next();if(i===e){r.f=r.inline=E,n.highlightFormatting&&(r.formatting="link-string");var o=O(r);return r.linkHref=!1,o}return t.match(N[e]),r.linkHref=!0,O(r)}}function I(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=T,e.next(),n.highlightFormatting&&(t.formatting="link"),t.linkText=!0,O(t)):y(e,t,E)}function T(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=P,n.highlightFormatting&&(t.formatting="link");var r=O(t);return t.linkText=!1,r}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function P(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=E,a.linkHref+" url")}var A={startState:function(){return{f:x,prevLine:{stream:null},thisLine:{stream:null},block:x,htmlState:null,indentation:0,inline:E,text:k,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(r,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return w(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=C)){var n=e.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(t.indentation=n,t.indentationDiff=null,n>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==C?{state:e.htmlState,mode:r}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:A}},indent:function(t,n,i){return t.block==C&&r.indent?r.indent(t.htmlState,n,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,n,i):e.Pass},blankLine:w,getType:O,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return A}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}))},laiN:function(e,t,n){var r=n("ProS");n("GVMX"),n("MH26"),r.registerPreprocessor((function(e){e.markLine=e.markLine||{}}))},li8W:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return n.e(170).then(n.bind(null,"7s2V"))}})},ljhN:function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},lnY3:function(e,t,n){},loD1:function(e,t){function n(e,t,n,r,i,o,a){if(0===i)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||a<t-s&&a<r-s||o>e+s&&o>n+s||o<e-s&&o<n-s)return!1;if(e===n)return Math.abs(o-e)<=s/2;l=(t-r)/(e-n),u=(e*r-n*t)/(e-n);var c=l*o-a+u,d=c*c/(l*l+1);return d<=s/2*s/2}t.containStroke=n},lrIw:function(e,t,n){"use strict";var r=n("q1tI"),i=n("Zm9Q"),o=n("TSYQ"),a=n.n(o),s=n("BGR+"),l=n("2fM7"),u=n("H84U"),c=n("uaoM"),d=n("0n0R");function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function f(e){return f="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}var p=l["a"].Option,g=l["a"];function m(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var v=function(e,t){var n,o=e.prefixCls,v=e.className,y=e.children,b=e.dataSource,_=Object(i["a"])(y),w=r["useRef"]();r["useImperativeHandle"](t,(function(){return w.current})),1===_.length&&Object(d["b"])(_[0])&&!m(_[0])&&(n=_[0]);var x,C=function(){return n};return x=_.length&&m(_[0])?y:b?b.map((function(e){if(Object(d["b"])(e))return e;switch(f(e)){case"string":return r["createElement"](p,{key:e,value:e},e);case"object":var t=e.value;return r["createElement"](p,{key:t,value:t},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r["useEffect"]((function(){Object(c["a"])(!("dataSource"in e),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(c["a"])(!n||!("size"in e),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")}),[]),r["createElement"](u["a"],null,(function(t){var n=t.getPrefixCls,i=n("select",o);return r["createElement"](g,h({ref:w},Object(s["a"])(e,["dataSource"]),{prefixCls:i,className:a()(v,"".concat(i,"-auto-complete")),mode:l["a"].SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:C}),x)}))},y=r["forwardRef"](v);y.Option=p,t["a"]=y},lrmC:function(e,t,n){},lwQL:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("9wZj"),a=n("c8qY"),s=n("SgGq"),l=n("Ae+d"),u=n("xSat"),c=u.onIrrelevantElement,d=n("IwbS"),h=n("SA8n"),f=n("U/Mo"),p=f.getNodeGlobalScale,g="__focusNodeAdjacency",m="__unfocusNodeAdjacency",v=["itemStyle","opacity"],y=["lineStyle","opacity"];function b(e,t){var n=e.getVisual("opacity");return null!=n?n:e.getModel().get(t)}function _(e,t,n){var r=e.getGraphicEl(),i=b(e,t);null!=n&&(null==i&&(i=1),i*=n),r.downplay&&r.downplay(),r.traverse((function(e){if(!e.isGroup){var t=e.lineLabelOriginalOpacity;null!=t&&null==n||(t=i),e.setStyle("opacity",t)}}))}function w(e,t){var n=b(e,t),r=e.getGraphicEl();r.traverse((function(e){!e.isGroup&&e.setStyle("opacity",n)})),r.highlight&&r.highlight()}var x=r.extendChartView({type:"graph",init:function(e,t){var n=new o,r=new a,i=this.group;this._controller=new s(t.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},render:function(e,t,n){var r=this,i=e.coordinateSystem;this._model=e;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if("view"===i.type){var l={position:i.position,scale:i.scale};this._firstRender?s.attr(l):d.updateProps(s,l,e)}h(e.getGraph(),p(e));var u=e.getData();o.updateData(u);var c=e.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(e,t,n),clearTimeout(this._layoutTimeout);var f=e.forceLayout,v=e.get("force.layoutAnimation");f&&this._startForceLayoutIteration(f,v),u.eachItemGraphicEl((function(t,i){var o=u.getItemModel(i);t.off("drag").off("dragend");var a=o.get("draggable");a&&t.on("drag",(function(){f&&(f.warmUp(),!this._layouting&&this._startForceLayoutIteration(f,v),f.setFixed(i),u.setItemLayout(i,t.position))}),this).on("dragend",(function(){f&&f.setUnfixed(i)}),this),t.setDraggable(a&&f),t[g]&&t.off("mouseover",t[g]),t[m]&&t.off("mouseout",t[m]),o.get("focusNodeAdjacency")&&(t.on("mouseover",t[g]=function(){r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,dataIndex:t.dataIndex})}),t.on("mouseout",t[m]=function(){r._dispatchUnfocus(n)}))}),this),u.graph.eachEdge((function(t){var i=t.getGraphicEl();i[g]&&i.off("mouseover",i[g]),i[m]&&i.off("mouseout",i[m]),t.getModel().get("focusNodeAdjacency")&&(i.on("mouseover",i[g]=function(){r._clearTimer(),n.dispatchAction({type:"focusNodeAdjacency",seriesId:e.id,edgeDataIndex:t.dataIndex})}),i.on("mouseout",i[m]=function(){r._dispatchUnfocus(n)}))}));var y="circular"===e.get("layout")&&e.get("circular.rotateLabel"),b=u.getLayout("cx"),_=u.getLayout("cy");u.eachItemGraphicEl((function(e,t){var n=u.getItemModel(t),r=n.get("label.rotate")||0,i=e.getSymbolPath();if(y){var o=u.getItemLayout(t),a=Math.atan2(o[1]-_,o[0]-b);a<0&&(a=2*Math.PI+a);var s=o[0]<b;s&&(a-=Math.PI);var l=s?"left":"right";d.modifyLabelStyle(i,{textRotation:-a,textPosition:l,textOrigin:"center"},{textPosition:l})}else d.modifyLabelStyle(i,{textRotation:r*=Math.PI/180})})),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(e,t){var n=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout((function(){n._unfocusDelayTimer=null,e.dispatchAction({type:"unfocusNodeAdjacency",seriesId:n._model.id})}),500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(e,t,n,r){var o=e.getData(),a=o.graph,s=r.dataIndex,l=r.edgeDataIndex,u=a.getNodeByIndex(s),c=a.getEdgeByIndex(l);(u||c)&&(a.eachNode((function(e){_(e,v,.1)})),a.eachEdge((function(e){_(e,y,.1)})),u&&(w(u,v),i.each(u.edges,(function(e){e.dataIndex<0||(w(e,y),w(e.node1,v),w(e.node2,v))}))),c&&(w(c,y),w(c.node1,v),w(c.node2,v)))},unfocusNodeAdjacency:function(e,t,n,r){var i=e.getData().graph;i.eachNode((function(e){_(e,v)})),i.eachEdge((function(e){_(e,y)}))},_startForceLayoutIteration:function(e,t){var n=this;(function r(){e.step((function(e){n.updateLayout(n._model),(n._layouting=!e)&&(t?n._layoutTimeout=setTimeout(r,16):r())}))})()},_updateController:function(e,t,n){var r=this._controller,i=this._controllerHost,o=this.group;r.setPointerChecker((function(t,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!c(t,n,e)})),"view"===e.coordinateSystem.type?(r.enable(e.get("roam")),i.zoomLimit=e.get("scaleLimit"),i.zoom=e.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(t){l.updateViewOnPan(i,t.dx,t.dy),n.dispatchAction({seriesId:e.id,type:"graphRoam",dx:t.dx,dy:t.dy})})).on("zoom",(function(t){l.updateViewOnZoom(i,t.scale,t.originX,t.originY),n.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:t.scale,originX:t.originX,originY:t.originY}),this._updateNodeAndLinkScale(),h(e.getGraph(),p(e)),this._lineDraw.updateLayout()}),this)):r.disable()},_updateNodeAndLinkScale:function(){var e=this._model,t=e.getData(),n=p(e),r=[n,n];t.eachItemGraphicEl((function(e,t){e.attr("scale",r)}))},updateLayout:function(e){h(e.getGraph(),p(e)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});e.exports=x},"m+aA":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("i8i4"),i=n.n(r);function o(e){return e instanceof HTMLElement?e:i.a.findDOMNode(e)}},m9t5:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),o={getAreaStyle:function(e,t){return i(this,e,t)}};e.exports=o},mFDi:function(e,t,n){var r=n("QBsz"),i=n("Fofx"),o=r.applyTransform,a=Math.min,s=Math.max;function l(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}l.prototype={constructor:l,union:function(e){var t=a(e.x,this.x),n=a(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],r=[];return function(i){if(i){e[0]=n[0]=this.x,e[1]=r[1]=this.y,t[0]=r[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,o(e,e,i),o(t,t,i),o(n,n,i),o(r,r,i),this.x=a(e[0],t[0],n[0],r[0]),this.y=a(e[1],t[1],n[1],r[1]);var l=s(e[0],t[0],n[0],r[0]),u=s(e[1],t[1],n[1],r[1]);this.width=l-this.x,this.height=u-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,r=e.height/t.height,o=i.create();return i.translate(o,o,[-t.x,-t.y]),i.scale(o,o,[n,r]),i.translate(o,o,[e.x,e.y]),o},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,r=t.x+t.width,i=t.y,o=t.y+t.height,a=e.x,s=e.x+e.width,u=e.y,c=e.y+e.height;return!(r<a||s<n||o<u||c<i)},contain:function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var u=l;e.exports=u},mLcG:function(e,t){var n="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){setTimeout(e,16)};e.exports=n},"mO/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("I9Y+"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},mOdp:function(e,t,n){var r=n("bYtY"),i=r.createHashMap;function o(e){return{getTargetSeries:function(t){var n={},r=i();return t.eachSeriesByType(e,(function(e){e.__paletteScope=n,r.set(e.uid,e)})),r},reset:function(e,t){var n=e.getRawData(),r={},i=e.getData();i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(t){var o,a=r[t],s=null!=a&&i.getItemVisual(a,"color",!0),l=null!=a&&i.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(t)),!s){var u=o.get("itemStyle.color")||e.getColorFromPalette(n.getName(t)||t+"",e.__paletteScope,n.count());null!=a&&i.setItemVisual(a,"color",u)}if(!l){var c=o.get("itemStyle.borderColor");null!=a&&i.setItemVisual(a,"borderColor",c)}}))}}}e.exports=o},mRg0:function(e,t,n){"use strict";t.__esModule=!0;var r=n("s3Ml"),i=u(r),o=n("AyUB"),a=u(o),s=n("EJiy"),l=u(s);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,a.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},mYwL:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("6GrX"),a=Math.PI;function s(e,t){t=t||{},r.defaults(t,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new i.Group,s=new i.Rect({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(s);var l=t.fontSize+" sans-serif",u=new i.Rect({style:{fill:"none",text:t.text,font:l,textPosition:"right",textDistance:10,textFill:t.textColor},zlevel:t.zlevel,z:10001});if(n.add(u),t.showSpinner){var c=new i.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001});c.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),c.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut"),n.add(c)}return n.resize=function(){var n=o.getWidth(t.text,l),r=t.showSpinner?t.spinnerRadius:0,i=(e.getWidth()-2*r-(t.showSpinner&&n?10:0)-n)/2-(t.showSpinner?0:n/2),a=e.getHeight()/2;t.showSpinner&&c.setShape({cx:i,cy:a}),u.setShape({x:i-r,y:a-r,width:2*r,height:2*r}),s.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}e.exports=s},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&r.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=l}).call(this,n("YuTi")(e))},mmNF:function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},mr32:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("V/uB"),l=n.n(s),u=n("H84U");function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},f=function(e){var t,n=r["useContext"](u["b"]),i=n.getPrefixCls,a=function(t){var n=e.checked,r=e.onChange,i=e.onClick;r&&r(!n),i&&i(t)},s=e.prefixCls,l=e.className,f=e.checked,p=h(e,["prefixCls","className","checked"]),g=i("tag",s),m=o()(g,(t={},d(t,"".concat(g,"-checkable"),!0),d(t,"".concat(g,"-checkable-checked"),f),t),l);return delete p.onChange,r["createElement"]("span",c({},p,{className:m,onClick:a}))},p=f,g=n("09Wf"),m=n("g0mS");function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}function b(e,t){return S(e)||C(e,t)||w(e,t)||_()}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(e,t){if(e){if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function S(e){if(Array.isArray(e))return e}var O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},k=new RegExp("^(".concat(g["a"].join("|"),")(-inverse)?$")),E=new RegExp("^(".concat(g["b"].join("|"),")$")),D=function(e,t){var n,i=e.prefixCls,s=e.className,c=e.style,d=e.children,h=e.icon,f=e.color,p=e.onClose,g=e.closable,_=void 0!==g&&g,w=O(e,["prefixCls","className","style","children","icon","color","onClose","closable"]),x=r["useContext"](u["b"]),C=x.getPrefixCls,S=x.direction,D=r["useState"](!0),M=b(D,2),N=M[0],L=M[1];r["useEffect"]((function(){"visible"in w&&L(w.visible)}),[w.visible]);var I=function(){return!!f&&(k.test(f)||E.test(f))},T=y({backgroundColor:f&&!I()?f:void 0},c),P=I(),A=C("tag",i),R=o()(A,(n={},v(n,"".concat(A,"-").concat(f),P),v(n,"".concat(A,"-has-color"),f&&!P),v(n,"".concat(A,"-hidden"),!N),v(n,"".concat(A,"-rtl"),"rtl"===S),n),s),j=function(e){e.stopPropagation(),p&&p(e),e.defaultPrevented||"visible"in w||L(!1)},F=function(){return _?r["createElement"](l.a,{onClick:j}):null},B="onClick"in w||d&&"a"===d.type,V=Object(a["a"])(w,["visible"]),z=h||null,W=z?r["createElement"](r["Fragment"],null,z,r["createElement"]("span",null,d)):d,H=r["createElement"]("span",y({},V,{ref:t,className:R,style:T}),W,F());return B?r["createElement"](m["a"],null,H):H},M=r["forwardRef"](D);M.displayName="Tag",M.CheckableTag=p;t["a"]=M},n01l:function(e,t,n){"use strict";n.r(t);var r=n("3/fG"),i=n("/kV6"),o=n("sswD"),a=n("wQH0"),s=n("0/Sa"),l=n("cGHE"),u=n("aokT"),c=n("gCVg"),d=n("cMvZ"),h=function(){function e(e,t){this._selection=e,this._insertSpace=t,this._usedEndToken=null}return e._haystackHasNeedleAtOffset=function(e,t,n){if(n<0)return!1;var r=t.length,i=e.length;if(n+r>i)return!1;for(var o=0;o<r;o++){var a=e.charCodeAt(n+o),s=t.charCodeAt(o);if(a!==s&&(!(a>=65&&a<=90&&a+32===s)&&!(s>=65&&s<=90&&s+32===a)))return!1}return!0},e.prototype._createOperationsForBlockComment=function(t,n,r,i,o,a){var s,l=t.startLineNumber,c=t.startColumn,d=t.endLineNumber,h=t.endColumn,f=o.getLineContent(l),p=o.getLineContent(d),g=f.lastIndexOf(n,c-1+n.length),m=p.indexOf(r,h-1-r.length);if(-1!==g&&-1!==m)if(l===d){var v=f.substring(g+n.length,m);v.indexOf(r)>=0&&(g=-1,m=-1)}else{var y=f.substring(g+n.length),b=p.substring(0,m);(y.indexOf(r)>=0||b.indexOf(r)>=0)&&(g=-1,m=-1)}-1!==g&&-1!==m?(i&&g+n.length<f.length&&32===f.charCodeAt(g+n.length)&&(n+=" "),i&&m>0&&32===p.charCodeAt(m-1)&&(r=" "+r,m-=1),s=e._createRemoveBlockCommentOperations(new u["a"](l,g+n.length+1,d,m+1),n,r)):(s=e._createAddBlockCommentOperations(t,n,r,this._insertSpace),this._usedEndToken=1===s.length?r:null);for(var _=0,w=s;_<w.length;_++){var x=w[_];a.addTrackedEditOperation(x.range,x.text)}},e._createRemoveBlockCommentOperations=function(e,t,n){var r=[];return u["a"].isEmpty(e)?r.push(s["a"].delete(new u["a"](e.startLineNumber,e.startColumn-t.length,e.endLineNumber,e.endColumn+n.length))):(r.push(s["a"].delete(new u["a"](e.startLineNumber,e.startColumn-t.length,e.startLineNumber,e.startColumn))),r.push(s["a"].delete(new u["a"](e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn+n.length)))),r},e._createAddBlockCommentOperations=function(e,t,n,r){var i=[];return u["a"].isEmpty(e)?i.push(s["a"].replace(new u["a"](e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),t+" "+n)):(i.push(s["a"].insert(new l["a"](e.startLineNumber,e.startColumn),t+(r?" ":""))),i.push(s["a"].insert(new l["a"](e.endLineNumber,e.endColumn),(r?" ":"")+n))),i},e.prototype.getEditOperations=function(e,t){var n=this._selection.startLineNumber,r=this._selection.startColumn;e.tokenizeIfCheap(n);var i=e.getLanguageIdAtPosition(n,r),o=d["a"].getComments(i);o&&o.blockCommentStartToken&&o.blockCommentEndToken&&this._createOperationsForBlockComment(this._selection,o.blockCommentStartToken,o.blockCommentEndToken,this._insertSpace,e,t)},e.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations();if(2===n.length){var r=n[0],i=n[1];return new c["a"](r.range.endLineNumber,r.range.endColumn,i.range.startLineNumber,i.range.startColumn)}var o=n[0].range,a=this._usedEndToken?-this._usedEndToken.length-1:0;return new c["a"](o.endLineNumber,o.endColumn+a,o.endLineNumber,o.endColumn+a)},e}(),f=n("N0LK"),p=function(){function e(e,t,n,r){this._selection=e,this._tabSize=t,this._type=n,this._insertSpace=r,this._selectionId=null,this._deltaColumn=0,this._moveEndPositionDown=!1}return e._gatherPreflightCommentStrings=function(e,t,n){e.tokenizeIfCheap(t);var r=e.getLanguageIdAtPosition(t,1),i=d["a"].getComments(r),o=i?i.lineCommentToken:null;if(!o)return null;for(var a=[],s=0,l=n-t+1;s<l;s++)a[s]={ignore:!1,commentStr:o,commentStrOffset:0,commentStrLength:o.length};return a},e._analyzeLines=function(e,t,n,r,i){var o,a=!0;o=0===e||1!==e;for(var s=0,l=r.length;s<l;s++){var u=r[s],c=i+s,d=n.getLineContent(c),p=f["q"](d);if(-1!==p){if(a=!1,u.ignore=!1,u.commentStrOffset=p,o&&!h._haystackHasNeedleAtOffset(d,u.commentStr,p)&&(0===e?o=!1:1===e||(u.ignore=!0)),o&&t){var g=p+u.commentStrLength;g<d.length&&32===d.charCodeAt(g)&&(u.commentStrLength+=1)}}else u.ignore=!0,u.commentStrOffset=d.length}if(0===e&&a){o=!1;for(s=0,l=r.length;s<l;s++)r[s].ignore=!1}return{supported:!0,shouldRemoveComments:o,lines:r}},e._gatherPreflightData=function(t,n,r,i,o){var a=e._gatherPreflightCommentStrings(r,i,o);return null===a?{supported:!1}:e._analyzeLines(t,n,r,a,i)},e.prototype._executeLineComments=function(t,n,r,i){var o;r.shouldRemoveComments?o=e._createRemoveLineCommentsOperations(r.lines,i.startLineNumber):(e._normalizeInsertionPoint(t,r.lines,i.startLineNumber,this._tabSize),o=this._createAddLineCommentsOperations(r.lines,i.startLineNumber));for(var a=new l["a"](i.positionLineNumber,i.positionColumn),s=0,u=o.length;s<u;s++)if(n.addEditOperation(o[s].range,o[s].text),o[s].range.isEmpty()&&o[s].range.getStartPosition().equals(a)){var c=t.getLineContent(a.lineNumber);c.length+1===a.column&&(this._deltaColumn=(o[s].text||"").length)}this._selectionId=n.trackSelection(i)},e.prototype._attemptRemoveBlockComment=function(e,t,n,r){var i=t.startLineNumber,o=t.endLineNumber,a=r.length+Math.max(e.getLineFirstNonWhitespaceColumn(t.startLineNumber),t.startColumn),s=e.getLineContent(i).lastIndexOf(n,a-1),l=e.getLineContent(o).indexOf(r,t.endColumn-1-n.length);return-1!==s&&-1===l&&(l=e.getLineContent(i).indexOf(r,s+n.length),o=i),-1===s&&-1!==l&&(s=e.getLineContent(o).lastIndexOf(n,l),i=o),!t.isEmpty()||-1!==s&&-1!==l||(s=e.getLineContent(i).indexOf(n),-1!==s&&(l=e.getLineContent(i).indexOf(r,s+n.length))),-1!==s&&32===e.getLineContent(i).charCodeAt(s+n.length)&&(n+=" "),-1!==l&&32===e.getLineContent(o).charCodeAt(l-1)&&(r=" "+r,l-=1),-1!==s&&-1!==l?h._createRemoveBlockCommentOperations(new u["a"](i,s+n.length+1,o,l+1),n,r):null},e.prototype._executeBlockComment=function(e,t,n){e.tokenizeIfCheap(n.startLineNumber);var r=e.getLanguageIdAtPosition(n.startLineNumber,1),i=d["a"].getComments(r);if(i&&i.blockCommentStartToken&&i.blockCommentEndToken){var o=i.blockCommentStartToken,a=i.blockCommentEndToken,s=this._attemptRemoveBlockComment(e,n,o,a);if(!s){if(n.isEmpty()){var l=e.getLineContent(n.startLineNumber),c=f["q"](l);-1===c&&(c=l.length),s=h._createAddBlockCommentOperations(new u["a"](n.startLineNumber,c+1,n.startLineNumber,l.length+1),o,a,this._insertSpace)}else s=h._createAddBlockCommentOperations(new u["a"](n.startLineNumber,e.getLineFirstNonWhitespaceColumn(n.startLineNumber),n.endLineNumber,e.getLineMaxColumn(n.endLineNumber)),o,a,this._insertSpace);1===s.length&&(this._deltaColumn=o.length+1)}this._selectionId=t.trackSelection(n);for(var p=0,g=s;p<g.length;p++){var m=g[p];t.addEditOperation(m.range,m.text)}}},e.prototype.getEditOperations=function(t,n){var r=this._selection;this._moveEndPositionDown=!1,r.startLineNumber<r.endLineNumber&&1===r.endColumn&&(this._moveEndPositionDown=!0,r=r.setEndPosition(r.endLineNumber-1,t.getLineMaxColumn(r.endLineNumber-1)));var i=e._gatherPreflightData(this._type,this._insertSpace,t,r.startLineNumber,r.endLineNumber);return i.supported?this._executeLineComments(t,n,i,r):this._executeBlockComment(t,n,r)},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),new c["a"](n.selectionStartLineNumber,n.selectionStartColumn+this._deltaColumn,n.positionLineNumber,n.positionColumn+this._deltaColumn)},e._createRemoveLineCommentsOperations=function(e,t){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];o.ignore||n.push(s["a"].delete(new u["a"](t+r,o.commentStrOffset+1,t+r,o.commentStrOffset+o.commentStrLength+1)))}return n},e.prototype._createAddLineCommentsOperations=function(e,t){for(var n=[],r=this._insertSpace?" ":"",i=0,o=e.length;i<o;i++){var a=e[i];a.ignore||n.push(s["a"].insert(new l["a"](t+i,a.commentStrOffset+1),a.commentStr+r))}return n},e.nextVisibleColumn=function(e,t,n,r){return n?e+(t-e%t):e+r},e._normalizeInsertionPoint=function(t,n,r,i){for(var o,a,s=1073741824,l=0,u=n.length;l<u;l++)if(!n[l].ignore){for(var c=t.getLineContent(r+l),d=0,h=0,f=n[l].commentStrOffset;d<s&&h<f;h++)d=e.nextVisibleColumn(d,i,9===c.charCodeAt(h),1);d<s&&(s=d)}s=Math.floor(s/i)*i;for(l=0,u=n.length;l<u;l++)if(!n[l].ignore){c=t.getLineContent(r+l),d=0;for(o=0,a=n[l].commentStrOffset;d<s&&o<a;o++)d=e.nextVisibleColumn(d,i,9===c.charCodeAt(o),1);n[l].commentStrOffset=d>s?o-1:o}},e}(),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(e){function t(t,n){var r=e.call(this,n)||this;return r._type=t,r}return g(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getModel(),r=[],i=t.getSelections(),o=n.getOptions(),a=t.getOption(13),s=0,l=i;s<l.length;s++){var u=l[s];r.push(new p(u,o.tabSize,this._type,a.insertSpace))}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}},t}(o["b"]),v=function(e){function t(){return e.call(this,0,{id:"editor.action.commentLine",label:r["a"]("comment.line","Toggle Line Comment"),alias:"Toggle Line Comment",precondition:a["a"].writable,kbOpts:{kbExpr:a["a"].editorTextFocus,primary:2133,weight:100},menuOpts:{menuId:17,group:"5_insert",title:r["a"]({key:"miToggleLineComment",comment:["&& denotes a mnemonic"]},"&&Toggle Line Comment"),order:1}})||this}return g(t,e),t}(m),y=function(e){function t(){return e.call(this,1,{id:"editor.action.addCommentLine",label:r["a"]("comment.line.add","Add Line Comment"),alias:"Add Line Comment",precondition:a["a"].writable,kbOpts:{kbExpr:a["a"].editorTextFocus,primary:Object(i["a"])(2089,2081),weight:100}})||this}return g(t,e),t}(m),b=function(e){function t(){return e.call(this,2,{id:"editor.action.removeCommentLine",label:r["a"]("comment.line.remove","Remove Line Comment"),alias:"Remove Line Comment",precondition:a["a"].writable,kbOpts:{kbExpr:a["a"].editorTextFocus,primary:Object(i["a"])(2089,2099),weight:100}})||this}return g(t,e),t}(m),_=function(e){function t(){return e.call(this,{id:"editor.action.blockComment",label:r["a"]("comment.block","Toggle Block Comment"),alias:"Toggle Block Comment",precondition:a["a"].writable,kbOpts:{kbExpr:a["a"].editorTextFocus,primary:1567,linux:{primary:3103},weight:100},menuOpts:{menuId:17,group:"5_insert",title:r["a"]({key:"miToggleBlockComment",comment:["&& denotes a mnemonic"]},"Toggle &&Block Comment"),order:2}})||this}return g(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getOption(13),r=[],i=t.getSelections(),o=0,a=i;o<a.length;o++){var s=a[o];r.push(new h(s,n.insertSpace))}t.pushUndoStop(),t.executeCommands(this.id,r),t.pushUndoStop()}},t}(o["b"]);Object(o["f"])(v),Object(o["f"])(y),Object(o["f"])(b),Object(o["f"])(_)},n18v:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return n.e(220).then(n.bind(null,"nNVF"))}})},n1HI:function(e,t,n){var r=n("hX1E"),i=r.normalizeRadian,o=2*Math.PI;function a(e,t,n,r,a,s,l,u,c){if(0===l)return!1;var d=l;u-=e,c-=t;var h=Math.sqrt(u*u+c*c);if(h-d>n||h+d<n)return!1;if(Math.abs(r-a)%o<1e-4)return!0;if(s){var f=r;r=i(a),a=i(f)}else r=i(r),a=i(a);r>a&&(a+=o);var p=Math.atan2(c,u);return p<0&&(p+=o),p>=r&&p<=a||p+o>=r&&p+o<=a}t.containStroke=a},n4Lv:function(e,t,n){var r=n("7hqr"),i=r.isDimensionStacked,o=n("bYtY"),a=o.map;function s(e,t,n){var r,o=e.getBaseAxis(),s=e.getOtherAxis(o),u=l(s,n),c=o.dim,d=s.dim,h=t.mapDimension(d),f=t.mapDimension(c),p="x"===d||"radius"===d?1:0,g=a(e.dimensions,(function(e){return t.mapDimension(e)})),m=t.getCalculationInfo("stackResultDimension");return(r|=i(t,g[0]))&&(g[0]=m),(r|=i(t,g[1]))&&(g[1]=m),{dataDimsForPoint:g,valueStart:u,valueAxisDim:d,baseAxisDim:c,stacked:!!r,valueDim:h,baseDim:f,baseDataOffset:p,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function l(e,t){var n=0,r=e.scale.getExtent();return"start"===t?n=r[0]:"end"===t?n=r[1]:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function u(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}t.prepareDataCoordInfo=s,t.getStackedOnPoint=u},n6Mw:function(e,t,n){var r=n("SrGk"),i=n("bYtY"),o=n("Fofx");function a(e,t){r.call(this,e,t,"clipPath","__clippath_in_use__")}i.inherits(a,r),a.prototype.update=function(e){var t=this.getSvgElement(e);t&&this.updateDom(t,e.__clipPaths,!1);var n=this.getTextSvgElement(e);n&&this.updateDom(n,e.__clipPaths,!0),this.markUsed(e)},a.prototype.updateDom=function(e,t,n){if(t&&t.length>0){var r,i,a=this.getDefs(!0),s=t[0],l=n?"_textDom":"_dom";s[l]?(i=s[l].getAttribute("id"),r=s[l],a.contains(r)||a.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",i),a.appendChild(r),s[l]=r);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var d=this.getSvgElement(s);r.innerHTML="",r.appendChild(d.cloneNode()),e.setAttribute("clip-path","url(#"+i+")"),t.length>1&&this.updateDom(r,t.slice(1),n)}else e&&e.setAttribute("clip-path","none")},a.prototype.markUsed=function(e){var t=this;e.__clipPaths&&i.each(e.__clipPaths,(function(e){e._dom&&r.prototype.markUsed.call(t,e._dom),e._textDom&&r.prototype.markUsed.call(t,e._textDom)}))};var s=a;e.exports=s},nB0o:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ri}));n("lrmC");var r=n("3/fG"),i=n("EffR"),o=n("/cxE"),a=n("MI8n"),s=n("pmY6"),l=n("tYmi"),u=n("HdwC"),c=n("sswD"),d=n("Vxe3"),h=n("ZlPH"),f=n("MNsG"),p=n("pg8w"),g=n("D3Dy"),m=n("XSiN"),v=n("X+cX"),y=n("AKMP"),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.toClientCoordinates=function(){return new w(this.x-i["d"].scrollX,this.y-i["d"].scrollY)},e}(),w=function(){function e(e,t){this.clientX=e,this.clientY=t}return e.prototype.toPageCoordinates=function(){return new _(this.clientX+i["d"].scrollX,this.clientY+i["d"].scrollY)},e}(),x=function(){function e(e,t,n,r){this.x=e,this.y=t,this.width=n,this.height=r}return e}();function C(e){var t=i["B"](e);return new x(t.left,t.top,t.width,t.height)}var S=function(e){function t(t,n){var r=e.call(this,t)||this;return r.pos=new _(r.posx,r.posy),r.editorPos=C(n),r}return b(t,e),t}(m["a"]),O=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new S(e,this._editorViewDomNode)},e.prototype.onContextMenu=function(e,t){var n=this;return i["i"](e,"contextmenu",(function(e){t(n._create(e))}))},e.prototype.onMouseUp=function(e,t){var n=this;return i["i"](e,"mouseup",(function(e){t(n._create(e))}))},e.prototype.onMouseDown=function(e,t){var n=this;return i["i"](e,"mousedown",(function(e){t(n._create(e))}))},e.prototype.onMouseLeave=function(e,t){var n=this;return i["j"](e,(function(e){t(n._create(e))}))},e.prototype.onMouseMoveThrottled=function(e,t,n,r){var o=this,a=function(e,t){return n(e,o._create(t))};return i["l"](e,"mousemove",t,a,r)},e}(),k=function(){function e(e){this._editorViewDomNode=e}return e.prototype._create=function(e){return new S(e,this._editorViewDomNode)},e.prototype.onPointerUp=function(e,t){var n=this;return i["i"](e,"pointerup",(function(e){t(n._create(e))}))},e.prototype.onPointerDown=function(e,t){var n=this;return i["i"](e,"pointerdown",(function(e){t(n._create(e))}))},e.prototype.onPointerLeave=function(e,t){var n=this;return i["k"](e,(function(e){t(n._create(e))}))},e.prototype.onPointerMoveThrottled=function(e,t,n,r){var o=this,a=function(e,t){return n(e,o._create(t))};return i["l"](e,"pointermove",t,a,r)},e}(),E=function(e){function t(t){var n=e.call(this)||this;return n._editorViewDomNode=t,n._globalMouseMoveMonitor=n._register(new y["a"]),n._keydownListener=null,n}return b(t,e),t.prototype.startMonitoring=function(e,t,n,r,o){var a=this;this._keydownListener=i["n"](document,"keydown",(function(e){var t=e.toKeybinding();t.isModifierKey()||a._globalMouseMoveMonitor.stopMonitoring(!0)}),!0);var s=function(e,t){return n(e,new S(t,a._editorViewDomNode))};this._globalMouseMoveMonitor.startMonitoring(e,t,s,r,(function(){a._keydownListener.dispose(),o()}))},t}(s["a"]),D=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(e){function t(){var t=e.call(this)||this;return t._shouldRender=!0,t}return D(t,e),t.prototype.shouldRender=function(){return this._shouldRender},t.prototype.forceShouldRender=function(){this._shouldRender=!0},t.prototype.setShouldRender=function(){this._shouldRender=!0},t.prototype.onDidRender=function(){this._shouldRender=!1},t.prototype.onConfigurationChanged=function(e){return!1},t.prototype.onContentSizeChanged=function(e){return!1},t.prototype.onCursorStateChanged=function(e){return!1},t.prototype.onDecorationsChanged=function(e){return!1},t.prototype.onFlushed=function(e){return!1},t.prototype.onFocusChanged=function(e){return!1},t.prototype.onLanguageConfigurationChanged=function(e){return!1},t.prototype.onLineMappingChanged=function(e){return!1},t.prototype.onLinesChanged=function(e){return!1},t.prototype.onLinesDeleted=function(e){return!1},t.prototype.onLinesInserted=function(e){return!1},t.prototype.onRevealRangeRequest=function(e){return!1},t.prototype.onScrollChanged=function(e){return!1},t.prototype.onThemeChanged=function(e){return!1},t.prototype.onTokensChanged=function(e){return!1},t.prototype.onTokensColorsChanged=function(e){return!1},t.prototype.onZonesChanged=function(e){return!1},t.prototype.handleEvents=function(e){for(var t=!1,n=0,r=e.length;n<r;n++){var i=e[n];switch(i.type){case 1:this.onConfigurationChanged(i)&&(t=!0);break;case 2:this.onContentSizeChanged(i)&&(t=!0);break;case 3:this.onCursorStateChanged(i)&&(t=!0);break;case 4:this.onDecorationsChanged(i)&&(t=!0);break;case 5:this.onFlushed(i)&&(t=!0);break;case 6:this.onFocusChanged(i)&&(t=!0);break;case 7:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 8:this.onLineMappingChanged(i)&&(t=!0);break;case 9:this.onLinesChanged(i)&&(t=!0);break;case 10:this.onLinesDeleted(i)&&(t=!0);break;case 11:this.onLinesInserted(i)&&(t=!0);break;case 12:this.onRevealRangeRequest(i)&&(t=!0);break;case 13:this.onScrollChanged(i)&&(t=!0);break;case 15:this.onTokensChanged(i)&&(t=!0);break;case 14:this.onThemeChanged(i)&&(t=!0);break;case 16:this.onTokensColorsChanged(i)&&(t=!0);break;case 17:this.onZonesChanged(i)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(i)}}t&&(this._shouldRender=!0)},t}(s["a"]),N=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),L=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._context.addEventHandler(n),n}return N(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t}(M),I=function(){function e(){}return e.write=function(e,t){h["a"],e.setAttribute("data-mprt",String(t))},e.read=function(e){var t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)},e.collect=function(e,t){var n=[],r=0;while(e&&e!==document.body){if(e===t)break;e.nodeType===e.ELEMENT_NODE&&(n[r++]=this.read(e)),e=e.parentElement}for(var i=new Uint8Array(r),o=0;o<r;o++)i[o]=n[r-o-1];return i},e}(),T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),P=function(){function e(e,t){this._viewLayout=e,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;var n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}return e.prototype.getScrolledTopFromAbsoluteTop=function(e){return e-this.scrollTop},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.getDecorationsInViewport=function(){return this.viewportData.getDecorationsInViewport()},e}(),A=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i._viewLines=r,i}return T(t,e),t.prototype.linesVisibleRangesForRange=function(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)},t.prototype.visibleRangeForPosition=function(e){return this._viewLines.visibleRangeForPosition(e)},t}(P),R=function(){function e(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n}return e}(),j=function(){function e(e,t){this.left=Math.round(e),this.width=Math.round(t)}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e}(),F=function(){function e(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)}return e}(),B=function(){function e(e,t){this.outsideRenderedLine=e,this.ranges=t}return e}(),V=function(){function e(e,t){this.left=e,this.width=t}return e.prototype.toString=function(){return"["+this.left+","+this.width+"]"},e.compare=function(e,t){return e.left-t.left},e}(),z=function(){function e(){}return e._createRange=function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange},e._detachRange=function(e,t){e.selectNodeContents(t)},e._readClientRects=function(e,t,n,r,i){var o=this._createRange();try{return o.setStart(e,t),o.setEnd(n,r),o.getClientRects()}catch(a){return null}finally{this._detachRange(o,i)}},e._mergeAdjacentRanges=function(e){if(1===e.length)return[new j(e[0].left,e[0].width)];e.sort(V.compare);for(var t=[],n=0,r=e[0].left,i=e[0].width,o=1,a=e.length;o<a;o++){var s=e[o],l=s.left,u=s.width;r+i+.9>=l?i=Math.max(i,l+u-r):(t[n++]=new j(r,i),r=l,i=u)}return t[n++]=new j(r,i),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];n[r]=new V(Math.max(0,o.left-t),o.width)}return this._mergeAdjacentRanges(n)},e.readHorizontalRanges=function(e,t,n,r,i,o,a){var s=0,l=e.children.length-1;if(s>l)return null;t=Math.min(l,Math.max(s,t)),r=Math.min(l,Math.max(s,r)),t!==r&&r>0&&0===i&&(r--,i=1073741824);var u=e.children[t].firstChild,c=e.children[r].firstChild;if(u&&c||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!c&&0===i&&r>0&&(c=e.children[r-1].firstChild,i=1073741824)),!u||!c)return null;n=Math.min(u.textContent.length,Math.max(0,n)),i=Math.min(c.textContent.length,Math.max(0,i));var d=this._readClientRects(u,n,c,i,a);return this._createHorizontalRangesFromClientRects(d,o)},e}(),W=n("dBaI"),H=n("baJR"),U=n("t9D7"),K=n("/UlZ"),G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),q=function(){return!!f["f"]||!(f["d"]||g["h"]||g["k"])}(),Y=g["f"],X=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),Z=function(){function e(e,t){this.themeType=t;var n=e.options,r=n.get(34);this.renderWhitespace=n.get(74),this.renderControlCharacters=n.get(69),this.spaceWidth=r.spaceWidth,this.middotWidth=r.middotWidth,this.useMonospaceOptimizations=r.isMonospace&&!n.get(23),this.canUseHalfwidthRightwardsArrow=r.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(49),this.stopRenderingLineAfter=n.get(88),this.fontLigatures=n.get(35)}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),Q=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(h["b"])(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!Y&&this._options.themeType!==U["b"]&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,r,i){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var o=r.getViewLineRenderingData(t),a=this._options,s=W["a"].filter(o.inlineDecorations,t,o.minColumn,o.maxColumn),l=null;if(Y||a.themeType===U["b"]||"selection"===this._options.renderWhitespace)for(var u=r.selections,c=0,d=u;c<d.length;c++){var h=d[c];if(!(h.endLineNumber<t||h.startLineNumber>t)){var f=h.startLineNumber===t?h.startColumn:o.minColumn,p=h.endLineNumber===t?h.endColumn:o.maxColumn;f<p&&("selection"!==this._options.renderWhitespace?s.push(new W["a"](f,p,"inline-selected-text",0)):(l||(l=[]),l.push(new H["b"](f-1,p-1))))}}var g=new H["c"](a.useMonospaceOptimizations,a.canUseHalfwidthRightwardsArrow,o.content,o.continuesWithWrappedLine,o.isBasicASCII,o.containsRTL,o.minColumn-1,o.tokens,s,o.tabSize,o.startVisibleColumn,a.spaceWidth,a.middotWidth,a.stopRenderingLineAfter,a.renderWhitespace,a.renderControlCharacters,a.fontLigatures!==K["d"].OFF,l);if(this._renderedViewLine&&this._renderedViewLine.input.equals(g))return!1;i.appendASCIIString('<div style="top:'),i.appendASCIIString(String(n)),i.appendASCIIString("px;height:"),i.appendASCIIString(String(this._options.lineHeight)),i.appendASCIIString('px;" class="'),i.appendASCIIString(e.CLASS_NAME),i.appendASCIIString('">');var m=Object(H["d"])(g,i);i.appendASCIIString("</div>");var v=null;return q&&o.isBasicASCII&&a.useMonospaceOptimizations&&0===m.containsForeignElements&&o.content.length<300&&g.lineTokens.getCount()<100&&(v=new $(this._renderedViewLine?this._renderedViewLine.domNode:null,g,m.characterMapping)),v||(v=te(this._renderedViewLine?this._renderedViewLine.domNode:null,g,m.characterMapping,m.containsRTL,m.containsForeignElements)),this._renderedViewLine=v,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var r=0|this._renderedViewLine.input.stopRenderingLineAfter,i=!1;-1!==r&&e>r+1&&t>r+1&&(i=!0),-1!==r&&e>r+1&&(e=r+1),-1!==r&&t>r+1&&(t=r+1);var o=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return o&&o.length>0?new B(i,o):null},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),$=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var r=this._getCharPosition(e),i=this._getCharPosition(t);return[new j(r,i-r)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){var r=t.textContent.length,i=-1;while(t)t=t.previousSibling,i++;var o=this._characterMapping.partDataToCharOffset(i,r,n);return o+1},e}(),J=function(){function e(e,t,n,r,i){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=i,this._cachedWidth=-1,this._pixelOffsetCache=null,!r||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var o=0,a=this._characterMapping.length;o<=a;o++)this._pixelOffsetCache[o]=-1}}return e.prototype._getReadingTarget=function(e){return e.domNode.firstChild},e.prototype.getWidth=function(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){var r=this._readPixelOffset(this.domNode,e,n);if(-1===r)return null;var i=this._readPixelOffset(this.domNode,t,n);return-1===i?null:[new j(r,i-r)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n,r){if(t===n){var i=this._readPixelOffset(e,t,r);return-1===i?null:[new j(i,0)]}return this._readRawVisibleRangesForRange(e,t,n,r)},e.prototype._readPixelOffset=function(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();var r=this._getReadingTarget(e);return r.firstChild?r.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){var i=this._pixelOffsetCache[t];if(-1!==i)return i;var o=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=o,o}return this._actualReadPixelOffset(e,t,n)},e.prototype._actualReadPixelOffset=function(e,t,n){if(0===this._characterMapping.length){var r=z.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return r&&0!==r.length?r[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var i=this._characterMapping.charOffsetToPartData(t-1),o=H["a"].getPartIndex(i),a=H["a"].getCharIndex(i),s=z.readHorizontalRanges(this._getReadingTarget(e),o,a,o,a,n.clientRectDeltaLeft,n.endNode);return s&&0!==s.length?s[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n,r){if(1===t&&n===this._characterMapping.length)return[new j(0,this.getWidth())];var i=this._characterMapping.charOffsetToPartData(t-1),o=H["a"].getPartIndex(i),a=H["a"].getCharIndex(i),s=this._characterMapping.charOffsetToPartData(n-1),l=H["a"].getPartIndex(s),u=H["a"].getCharIndex(s);return z.readHorizontalRanges(this._getReadingTarget(e),o,a,l,u,r.clientRectDeltaLeft,r.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){var r=t.textContent.length,i=-1;while(t)t=t.previousSibling,i++;var o=this._characterMapping.partDataToCharOffset(i,r,n);return o+1},e}(),ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return G(t,e),t.prototype._readVisibleRangesForRange=function(t,n,r,i){var o=e.prototype._readVisibleRangesForRange.call(this,t,n,r,i);if(!o||0===o.length||n===r||1===n&&r===this._characterMapping.length)return o;if(!this.input.containsRTL){var a=this._readPixelOffset(t,r,i);if(-1!==a){var s=o[o.length-1];s.left<a&&(s.width=a-s.left)}}return o},t}(J),te=function(){return g["m"]?ne:re}();function ne(e,t,n,r,i){return new ee(e,t,n,r,i)}function re(e,t,n,r,i){return new J(e,t,n,r,i)}var ie=n("cGHE"),oe=n("aokT"),ae=n("Ll0s"),se=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),le=function(){function e(e,t){this.lastViewCursorsRenderData=e,this.lastTextareaPosition=t}return e}(),ue=function(){function e(e,t,n,r,i,o){void 0===n&&(n=0),void 0===r&&(r=null),void 0===i&&(i=null),void 0===o&&(o=null),this.element=e,this.type=t,this.mouseColumn=n,this.position=r,!i&&r&&(i=new oe["a"](r.lineNumber,r.column,r.lineNumber,r.column)),this.range=i,this.detail=o}return e._typeToString=function(e){return 1===e?"TEXTAREA":2===e?"GUTTER_GLYPH_MARGIN":3===e?"GUTTER_LINE_NUMBERS":4===e?"GUTTER_LINE_DECORATIONS":5===e?"GUTTER_VIEW_ZONE":6===e?"CONTENT_TEXT":7===e?"CONTENT_EMPTY":8===e?"CONTENT_VIEW_ZONE":9===e?"CONTENT_WIDGET":10===e?"OVERVIEW_RULER":11===e?"SCROLLBAR":12===e?"OVERLAY_WIDGET":"UNKNOWN"},e.toString=function(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail},e.prototype.toString=function(){return e.toString(this)},e}(),ce=function(){function e(){}return e.isTextArea=function(e){return 2===e.length&&3===e[0]&&6===e[1]},e.isChildOfViewLines=function(e){return e.length>=4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),de=function(){function e(e,t,n){this.model=e.model;var r=e.configuration.options;this.layoutInfo=r.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=r.get(49),this.typicalHalfwidthCharacterWidth=r.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var r=n.verticalOffset+n.height/2,i=e.model.getLineCount(),o=null,a=void 0,s=null;return n.afterLineNumber!==i&&(s=new ie["a"](n.afterLineNumber+1,1)),n.afterLineNumber>0&&(o=new ie["a"](n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),a=null===s?o:null===o?s:t<r?o:s,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:o,positionAfter:s,position:a}}return null},e.prototype.getFullLineRangeAtCoord=function(e){if(this._context.viewLayout.isAfterLines(e)){var t=this._context.model.getLineCount(),n=this._context.model.getLineMaxColumn(t);return{range:new oe["a"](t,n,t,n),isAfterLines:!0}}var r=this._context.viewLayout.getLineNumberAtVerticalOffset(e),i=this._context.model.getLineMaxColumn(r);return{range:new oe["a"](r,1,r,i),isAfterLines:!1}},e.prototype.getLineNumberAtVerticalOffset=function(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)},e.prototype.isAfterLines=function(e){return this._context.viewLayout.isAfterLines(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)},e.prototype.findAttribute=function(t,n){return e._findAttribute(t,n,this._viewHelper.viewDomNode)},e._findAttribute=function(e,t,n){while(e&&e!==document.body){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null},e.prototype.getLineWidth=function(e){return this._viewHelper.getLineWidth(e)},e.prototype.visibleRangeForPosition=function(e,t){return this._viewHelper.visibleRangeForPosition(e,t)},e.prototype.getPositionFromDOMInfo=function(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)},e.prototype.getCurrentScrollTop=function(){return this._context.viewLayout.getCurrentScrollTop()},e.prototype.getCurrentScrollLeft=function(){return this._context.viewLayout.getCurrentScrollLeft()},e}(),he=function(){function e(e,t,n){this.editorPos=t,this.pos=n,this.mouseVerticalOffset=Math.max(0,e.getCurrentScrollTop()+n.y-t.y),this.mouseContentHorizontalOffset=e.getCurrentScrollLeft()+n.x-t.x-e.layoutInfo.contentLeft,this.isInMarginArea=n.x-t.x<e.layoutInfo.contentLeft&&n.x-t.x>=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,me._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}return e}(),fe=function(e){function t(t,n,r,i){var o=e.call(this,t,n,r)||this;return o._ctx=t,i?(o.target=i,o.targetPath=I.collect(i,t.viewDomNode)):(o.target=null,o.targetPath=new Uint8Array(0)),o}return se(t,e),t.prototype.toString=function(){return"pos("+this.pos.x+","+this.pos.y+"), editorPos("+this.editorPos.x+","+this.editorPos.y+"), mouseVerticalOffset: "+this.mouseVerticalOffset+", mouseContentHorizontalOffset: "+this.mouseContentHorizontalOffset+"\n\ttarget: "+(this.target?this.target.outerHTML:null)},t.prototype.fulfill=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var i=this.mouseColumn;return t&&t.column<this._ctx.model.getLineMaxColumn(t.lineNumber)&&(i=ae["a"].visibleColumnFromColumn(this._ctx.model.getLineContent(t.lineNumber),t.column,this._ctx.model.getOptions().tabSize)+1),new ue(this.target,e,i,t,n,r)},t.prototype.withTarget=function(e){return new t(this._ctx,this.editorPos,this.pos,e)},t}(he),pe={isAfterLines:!0};function ge(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var me=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=I.collect(t,this._viewHelper.viewDomNode);return!(!ce.isChildOfContentWidgets(n)&&!ce.isChildOfOverflowingContentWidgets(n))||!!ce.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,r,i){var o=new de(this._context,this._viewHelper,t),a=new fe(o,n,r,i);try{var s=e._createMouseTarget(o,a,!1);return s}catch(l){return a.fulfill(0)}},e._createMouseTarget=function(t,n,r){if(null===n.target){if(r)return n.fulfill(0);var i=e._doHitTest(t,n);return i.position?e.createMouseTargetFromHitTestPosition(t,n,i.position.lineNumber,i.position.column):this._createMouseTarget(t,n.withTarget(i.hitTarget),!0)}var o=n,a=null;return a=a||e._hitTestContentWidget(t,o),a=a||e._hitTestOverlayWidget(t,o),a=a||e._hitTestMinimap(t,o),a=a||e._hitTestScrollbarSlider(t,o),a=a||e._hitTestViewZone(t,o),a=a||e._hitTestMargin(t,o),a=a||e._hitTestViewCursor(t,o),a=a||e._hitTestTextArea(t,o),a=a||e._hitTestViewLines(t,o,r),a=a||e._hitTestScrollbar(t,o),a||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(ce.isChildOfContentWidgets(t.targetPath)||ce.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(ce.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=e.lastRenderData.lastViewCursorsRenderData,r=0,i=n;r<i.length;r++){var o=i[r];if(t.target===o.domNode)return t.fulfill(6,o.position)}if(t.isInContentArea){n=e.lastRenderData.lastViewCursorsRenderData;for(var a=t.mouseContentHorizontalOffset,s=t.mouseVerticalOffset,l=0,u=n;l<u.length;l++){o=u[l];if(!(a<o.contentLeft)&&!(a>o.contentLeft+o.width)){var c=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(c<=s&&s<=c+o.height)return t.fulfill(6,o.position)}}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var r=t.isInContentArea?8:5;return t.fulfill(r,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return ce.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),r=n.range.getStartPosition(),i=Math.abs(t.pos.x-t.editorPos.x),o={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:i};return i-=e.layoutInfo.glyphMarginLeft,i<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,r,n.range,o):(i-=e.layoutInfo.glyphMarginWidth,i<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,r,n.range,o):(i-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,r,n.range,o)))}return null},e._hitTestViewLines=function(t,n,r){if(!ce.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var i=t.model.getLineCount(),o=t.model.getLineMaxColumn(i);return n.fulfill(7,new ie["a"](i,o),void 0,pe)}if(r){if(ce.isStrictChildOfViewLines(n.targetPath)){var a=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(a)){var s=t.getLineWidth(a),l=ge(n.mouseContentHorizontalOffset-s);return n.fulfill(7,new ie["a"](a,1),void 0,l)}var u=t.getLineWidth(a);if(n.mouseContentHorizontalOffset>=u){l=ge(n.mouseContentHorizontalOffset-u);var c=new ie["a"](a,t.model.getLineMaxColumn(a));return n.fulfill(7,c,void 0,l)}}return n.fulfill(0)}var d=e._doHitTest(t,n);return d.position?e.createMouseTargetFromHitTestPosition(t,n,d.position.lineNumber,d.position.column):this._createMouseTarget(t,n.withTarget(d.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(ce.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),r=e.model.getLineMaxColumn(n);return t.fulfill(11,new ie["a"](n,r))}return null},e._hitTestScrollbarSlider=function(e,t){if(ce.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var r=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(r);return t.fulfill(11,new ie["a"](r,i))}}return null},e._hitTestScrollbar=function(e,t){if(ce.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),r=e.model.getLineMaxColumn(n);return t.fulfill(11,new ie["a"](n,r))}return null},e.prototype.getMouseColumn=function(t,n){var r=this._context.configuration.options,i=r.get(107),o=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-i.contentLeft;return e._getMouseColumn(o,r.get(34).typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){if(e<0)return 1;var n=Math.round(e/t);return n+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,r){var i=new ie["a"](n,r),o=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>o){if(g["e"]&&1===i.column){var a=ge(t.mouseContentHorizontalOffset-o);return t.fulfill(7,new ie["a"](n,e.model.getLineMaxColumn(n)),void 0,a)}var s=ge(t.mouseContentHorizontalOffset-o);return t.fulfill(7,i,void 0,s)}var l=e.visibleRangeForPosition(n,r);if(!l)return t.fulfill(0,i);var u=l.left;if(t.mouseContentHorizontalOffset===u)return t.fulfill(6,i);var c=[];if(c.push({offset:l.left,column:r}),r>1){var d=e.visibleRangeForPosition(n,r-1);d&&c.push({offset:d.left,column:r-1})}var h=e.model.getLineMaxColumn(n);if(r<h){var f=e.visibleRangeForPosition(n,r+1);f&&c.push({offset:f.left,column:r+1})}c.sort((function(e,t){return e.offset-t.offset}));for(var p=1;p<c.length;p++){var m=c[p-1],v=c[p];if(m.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=v.offset){var y=new oe["a"](n,m.column,n,v.column);return t.fulfill(6,i,y)}}return t.fulfill(6,i)},e._doHitTestWithCaretRangeFromPoint=function(e,t){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),r=e.getVerticalOffsetForLineNumber(n),i=r+Math.floor(e.lineHeight/2),o=t.pos.y+(i-t.mouseVerticalOffset);o<=t.editorPos.y&&(o=t.editorPos.y+1),o>=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var a=new _(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,a.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n,r=i["D"](e.viewDomNode);if(n=r?"undefined"===typeof r.caretRangeFromPoint?ve(r,t.clientX,t.clientY):r.caretRangeFromPoint(t.clientX,t.clientY):document.caretRangeFromPoint(t.clientX,t.clientY),!n||!n.startContainer)return{position:null,hitTarget:null};var o=n.startContainer,a=null;if(o.nodeType===o.TEXT_NODE){var s=o.parentNode,l=s?s.parentNode:null,u=l?l.parentNode:null,c=u&&u.nodeType===u.ELEMENT_NODE?u.className:null;if(c===Q.CLASS_NAME){var d=e.getPositionFromDOMInfo(s,n.startOffset);return{position:d,hitTarget:null}}a=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){s=o.parentNode,l=s?s.parentNode:null;var h=l&&l.nodeType===l.ELEMENT_NODE?l.className:null;if(h===Q.CLASS_NAME){d=e.getPositionFromDOMInfo(o,o.textContent.length);return{position:d,hitTarget:null}}a=o}return{position:null,hitTarget:a}},e._doHitTestWithCaretPositionFromPoint=function(e,t){var n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType===n.offsetNode.TEXT_NODE){var r=n.offsetNode.parentNode,i=r?r.parentNode:null,o=i?i.parentNode:null,a=o&&o.nodeType===o.ELEMENT_NODE?o.className:null;if(a===Q.CLASS_NAME){var s=e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset);return{position:s,hitTarget:null}}return{position:null,hitTarget:n.offsetNode.parentNode}}return{position:null,hitTarget:n.offsetNode}},e._doHitTestWithMoveToPoint=function(e,t){var n=null,r=null,i=document.body.createTextRange();try{i.moveToPoint(t.clientX,t.clientY)}catch(c){return{position:null,hitTarget:null}}i.collapse(!0);var o=i?i.parentElement():null,a=o?o.parentNode:null,s=a?a.parentNode:null,l=s&&s.nodeType===s.ELEMENT_NODE?s.className:"";if(l===Q.CLASS_NAME){var u=i.duplicate();u.moveToElementText(o),u.setEndPoint("EndToStart",i),n=e.getPositionFromDOMInfo(o,u.text.length),u.moveToElementText(e.viewDomNode)}else r=o;return i.moveToElementText(e.viewDomNode),{position:n,hitTarget:r}},e._doHitTest=function(e,t){return"function"===typeof document.caretRangeFromPoint?this._doHitTestWithCaretRangeFromPoint(e,t):document.caretPositionFromPoint?this._doHitTestWithCaretPositionFromPoint(e,t.pos.toClientCoordinates()):document.body.createTextRange?this._doHitTestWithMoveToPoint(e,t.pos.toClientCoordinates()):{position:null,hitTarget:null}},e}();function ve(e,t,n){var r=document.createRange(),i=e.elementFromPoint(t,n);if(null!==i){while(i&&i.firstChild&&i.firstChild.nodeType!==i.firstChild.TEXT_NODE)i=i.lastChild;var o=i.getBoundingClientRect(),a=window.getComputedStyle(i,null).getPropertyValue("font"),s=i.innerText,l=o.left,u=0,c=void 0;if(t>o.left+o.width)u=s.length;else for(var d=ye.getInstance(),h=0;h<s.length+1;h++){if(c=d.getCharWidth(s.charAt(h),a)/2,l+=c,t<l){u=h;break}l+=c}r.setStart(i.firstChild,u),r.setEnd(i.firstChild,u)}return r}var ye=function(){function e(){this._cache={},this._canvas=document.createElement("canvas")}return e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getCharWidth=function(e,t){var n=e+t;if(this._cache[n])return this._cache[n];var r=this._canvas.getContext("2d");r.font=t;var i=r.measureText(e),o=i.width;return this._cache[n]=o,o},e._INSTANCE=null,e}(),be=n("Yr1X"),_e=n("gCVg"),we=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function xe(e){return function(t,n){var r=!1;return e&&(r=e.mouseTargetIsWidget(n)),r||n.preventDefault(),n}}var Ce=function(e){function t(n,r,o){var a=e.call(this)||this;a._isFocused=!1,a._context=n,a.viewController=r,a.viewHelper=o,a.mouseTargetFactory=new me(a._context,o),a._mouseDownOperation=a._register(new Se(a._context,a.viewController,a.viewHelper,(function(e,t){return a._createMouseTarget(e,t)}),(function(e){return a._getMouseColumn(e)}))),a._asyncFocus=a._register(new v["d"]((function(){return a.viewHelper.focusTextArea()}),0)),a.lastMouseLeaveTime=-1;var s=new O(a.viewHelper.viewDomNode);a._register(s.onContextMenu(a.viewHelper.viewDomNode,(function(e){return a._onContextMenu(e,!0)}))),a._register(s.onMouseMoveThrottled(a.viewHelper.viewDomNode,(function(e){return a._onMouseMove(e)}),xe(a.mouseTargetFactory),t.MOUSE_MOVE_MINIMUM_TIME)),a._register(s.onMouseUp(a.viewHelper.viewDomNode,(function(e){return a._onMouseUp(e)}))),a._register(s.onMouseLeave(a.viewHelper.viewDomNode,(function(e){return a._onMouseLeave(e)}))),a._register(s.onMouseDown(a.viewHelper.viewDomNode,(function(e){return a._onMouseDown(e)})));var l=function(e){if(a.viewController.emitMouseWheel(e),a._context.configuration.options.get(57)){var t=new m["b"](e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var n=be["a"].getZoomLevel(),r=t.deltaY>0?1:-1;be["a"].setZoomLevel(n+r),t.preventDefault(),t.stopPropagation()}}};return a._register(i["i"](a.viewHelper.viewDomNode,g["f"]?"mousewheel":"wheel",l,{capture:!0,passive:!1})),a._context.addEventHandler(a),a}return we(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new w(e,t),r=n.toPageCoordinates(),i=C(this.viewHelper.viewDomNode);return r.y<i.y||r.y>i.y+i.height||r.x<i.x||r.x>i.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,r,null)},t.prototype._createMouseTarget=function(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){if(!this._mouseDownOperation.isActive()){var t=e.timestamp;t<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})}},t.prototype._onMouseLeave=function(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})},t.prototype._onMouseUp=function(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})},t.prototype._onMouseDown=function(e){var t=this,n=this._createMouseTarget(e,!0),r=6===n.type||7===n.type,i=2===n.type||3===n.type||4===n.type,o=3===n.type,a=this._context.configuration.options.get(83),s=8===n.type||5===n.type,l=9===n.type,u=e.leftButton||e.middleButton;f["e"]&&e.leftButton&&e.ctrlKey&&(u=!1);var c=function(){g["i"]&&!t._isFocused?t._asyncFocus.schedule():(e.preventDefault(),t.viewHelper.focusTextArea())};if(u&&(r||o&&a))c(),this._mouseDownOperation.start(n.type,e);else if(i)e.preventDefault();else if(s){var d=n.detail;this.viewHelper.shouldSuppressMouseDownOnViewZone(d.viewZoneId)&&(c(),this._mouseDownOperation.start(n.type,e),e.preventDefault())}else l&&this.viewHelper.shouldSuppressMouseDownOnWidget(n.detail)&&(c(),e.preventDefault());this.viewController.emitMouseDown({event:e,target:n})},t.MOUSE_MOVE_MINIMUM_TIME=100,t}(M),Se=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._context=t,a._viewController=n,a._viewHelper=r,a._createMouseTarget=i,a._getMouseColumn=o,a._mouseMoveMonitor=a._register(new E(a._viewHelper.viewDomNode)),a._onScrollTimeout=a._register(new v["e"]),a._mouseState=new Oe,a._currentSelection=new _e["a"](1,1,1,1),a._isActive=!1,a._lastMouseEvent=null,a}return we(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.isActive=function(){return this._isActive},t.prototype._onMouseDownThenMove=function(e){this._lastMouseEvent=e,this._mouseState.setModifiers(e);var t=this._findMousePosition(e,!0);t&&(this._mouseState.isDragAndDrop?this._viewController.emitMouseDrag({event:e,target:t}):this._dispatchMouse(t,!0))},t.prototype.start=function(e,t){var n=this;this._lastMouseEvent=t,this._mouseState.setStartedOnLineNumbers(3===e),this._mouseState.setStartButtons(t),this._mouseState.setModifiers(t);var r=this._findMousePosition(t,!0);if(r&&r.position){this._mouseState.trySetCount(t.detail,r.position),t.detail=this._mouseState.count;var i=this._context.configuration.options;if(!i.get(68)&&i.get(24)&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===r.type&&r.position&&this._currentSelection.containsPosition(r.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,xe(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){var e=n._findMousePosition(n._lastMouseEvent,!0);n._viewController.emitMouseDrop({event:n._lastMouseEvent,target:e?n._createMouseTarget(n._lastMouseEvent,!0):null}),n._stop()}));this._mouseState.isDragAndDrop=!1,this._dispatchMouse(r,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(t.target,t.buttons,xe(null),(function(e){return n._onMouseDownThenMove(e)}),(function(){return n._stop()})))}},t.prototype._stop=function(){this._isActive=!1,this._onScrollTimeout.cancel()},t.prototype.onScrollChanged=function(){var e=this;this._isActive&&this._onScrollTimeout.setIfNotSet((function(){if(e._lastMouseEvent){var t=e._findMousePosition(e._lastMouseEvent,!1);t&&(e._mouseState.isDragAndDrop||e._dispatchMouse(t,!0))}}),10)},t.prototype.onCursorStateChanged=function(e){this._currentSelection=e.selections[0]},t.prototype._getPositionOutsideEditor=function(e){var t=e.editorPos,n=this._context.model,r=this._context.viewLayout,i=this._getMouseColumn(e);if(e.posy<t.y){var o=Math.max(r.getCurrentScrollTop()-(t.y-e.posy),0),a=de.getZoneAtCoord(this._context,o);if(a){var s=this._helpPositionJumpOverViewZone(a);if(s)return new ue(null,13,i,s)}var l=r.getLineNumberAtVerticalOffset(o);return new ue(null,13,i,new ie["a"](l,1))}if(e.posy>t.y+t.height){o=r.getCurrentScrollTop()+(e.posy-t.y),a=de.getZoneAtCoord(this._context,o);if(a){s=this._helpPositionJumpOverViewZone(a);if(s)return new ue(null,13,i,s)}var u=r.getLineNumberAtVerticalOffset(o);return new ue(null,13,i,new ie["a"](u,n.getLineMaxColumn(u)))}var c=r.getLineNumberAtVerticalOffset(r.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new ue(null,13,i,new ie["a"](c,1)):e.posx>t.x+t.width?new ue(null,13,i,new ie["a"](c,n.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var r=this._createMouseTarget(e,t),i=r.position;if(!i)return null;if(8===r.type||5===r.type){var o=this._helpPositionJumpOverViewZone(r.detail);if(o)return new ue(r.element,r.type,r.mouseColumn,o,null,r.detail)}return r},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new ie["a"](this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,r=e.positionAfter;return n&&r?n.isBefore(t)?n:r:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(s["a"]),Oe=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var r=(new Date).getTime();r-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=r,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),ke=n("CjF5"),Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function De(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var Me=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.viewHelper.linesContentDomNode.style.msTouchAction="none",o.viewHelper.linesContentDomNode.style.msContentZooming="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var r=n.pointerType;r!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?r===(n.MSPOINTER_TYPE_TOUCH||"touch")?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(i["l"](o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),De)),o._register(i["i"](o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return Ee(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new S(e,this.viewHelper.viewDomNode),r=this._createMouseTarget(n,!1);r.position&&this.viewController.moveTo(r.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(Ce),Ne=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.viewHelper.linesContentDomNode.style.touchAction="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var r=n.pointerType;"mouse"!==r?"touch"===r?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(i["l"](o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),De)),o._register(i["i"](o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return Ee(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new S(e,this.viewHelper.viewDomNode),r=this._createMouseTarget(n,!1);r.position&&this.viewController.moveTo(r.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(Ce),Le=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;o._register(p["b"].addTarget(o.viewHelper.linesContentDomNode)),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Tap,(function(e){return o.onTap(e)}))),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Change,(function(e){return o.onChange(e)}))),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Contextmenu,(function(e){return o._onContextMenu(new S(e,o.viewHelper.viewDomNode),!1)}))),o._lastPointerType="mouse",o._register(i["i"](o.viewHelper.linesContentDomNode,"pointerdown",(function(e){var t=e.pointerType;o._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));var a=new k(o.viewHelper.viewDomNode);return o._register(a.onPointerMoveThrottled(o.viewHelper.viewDomNode,(function(e){return o._onMouseMove(e)}),xe(o.mouseTargetFactory),Ce.MOUSE_MOVE_MINIMUM_TIME)),o._register(a.onPointerUp(o.viewHelper.viewDomNode,(function(e){return o._onMouseUp(e)}))),o._register(a.onPointerLeave(o.viewHelper.viewDomNode,(function(e){return o._onMouseLeave(e)}))),o._register(a.onPointerDown(o.viewHelper.viewDomNode,(function(e){return o._onMouseDown(e)}))),o}return Ee(t,e),t.prototype.onTap=function(e){if(e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}},t.prototype.onChange=function(e){"touch"===this._lastPointerType&&this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype._onMouseDown=function(t){t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&"touch"===this._lastPointerType||e.prototype._onMouseDown.call(this,t)},t}(Ce),Ie=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o._register(p["b"].addTarget(o.viewHelper.linesContentDomNode)),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Tap,(function(e){return o.onTap(e)}))),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Change,(function(e){return o.onChange(e)}))),o._register(i["i"](o.viewHelper.linesContentDomNode,p["a"].Contextmenu,(function(e){return o._onContextMenu(new S(e,o.viewHelper.viewDomNode),!1)}))),o}return Ee(t,e),t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new S(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(Ce),Te=function(e){function t(t,n,r){var i=e.call(this)||this;return window.navigator.msPointerEnabled?i.handler=i._register(new Me(t,n,r)):f["c"]&&ke["a"].pointerEvents?i.handler=i._register(new Le(t,n,r)):window.TouchEvent?i.handler=i._register(new Ie(t,n,r)):window.navigator.pointerEnabled||window.PointerEvent?i.handler=i._register(new Ne(t,n,r)):i.handler=i._register(new Ce(t,n,r)),i}return Ee(t,e),t.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},t}(s["a"]),Pe=(n("VvMK"),n("N0LK")),Ae=n("5TxY"),Re=n("Comh"),je=(n("Krc3"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return je(t,e),t}(M),Be=n("kYye"),Ve=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ze=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new ie["a"](1,1),n._renderResult=null,n._context.addEventHandler(n),n}return Ve(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.options;this._lineHeight=e.get(49);var t=e.get(50);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(71);var n=e.get(107);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](e,1));if(1!==t.column)return"";var n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var r=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===r?'<span class="relative-current-line-number">'+n+"</span>":String(r)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10===0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=f["d"]?this._lineHeight%2===0?" lh-even":" lh-odd":"",r=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o='<div class="'+t.CLASS_NAME+n+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',a=this._context.model.getLineCount(),s=[],l=r;l<=i;l++){var u=l-r;if(this._renderFinalNewline||l!==a||0!==this._context.model.getLineLength(l)){var c=this._getLineRenderLineNumber(l);s[u]=c?o+c+"</div>":""}else s[u]=""}this._renderResult=s}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.CLASS_NAME="line-numbers",t}(Fe);Object(U["e"])((function(e,t){var n=e.getColor(Be["j"]);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var r=e.getColor(Be["b"]);r&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+r+"; }")}));var We=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),He=function(e){function t(n){var r=e.call(this,n)||this,i=r._context.configuration.options,o=i.get(107);return r._canUseLayerHinting=!i.get(22),r._contentLeft=o.contentLeft,r._glyphMarginLeft=o.glyphMarginLeft,r._glyphMarginWidth=o.glyphMarginWidth,r._domNode=Object(h["b"])(document.createElement("div")),r._domNode.setClassName(t.OUTER_CLASS_NAME),r._domNode.setPosition("absolute"),r._domNode.setAttribute("role","presentation"),r._domNode.setAttribute("aria-hidden","true"),r._glyphMarginBackgroundDomNode=Object(h["b"])(document.createElement("div")),r._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),r._domNode.appendChild(r._glyphMarginBackgroundDomNode),r}return We(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._canUseLayerHinting=!t.get(22),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(L),Ue=n("5v8Y"),Ke=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ge=function(){function e(e){this.type=1,this._source=e}return e.prototype.hasChanged=function(e){return this._source.hasChanged(e)},e}(),qe=function(){function e(e){this.type=2,this.contentWidth=e.contentWidth,this.contentHeight=e.contentHeight,this.contentWidthChanged=e.contentWidthChanged,this.contentHeightChanged=e.contentHeightChanged}return e}(),Ye=function(){function e(e,t){this.type=3,this.selections=e,this.modelSelections=t}return e}(),Xe=function(){function e(){this.type=4}return e}(),Ze=function(){function e(){this.type=5}return e}(),Qe=function(){function e(e){this.type=6,this.isFocused=e}return e}(),$e=function(){function e(){this.type=7}return e}(),Je=function(){function e(){this.type=8}return e}(),et=function(){function e(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t}return e}(),tt=function(){function e(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t}return e}(),nt=function(){function e(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t}return e}(),rt=function(){function e(e,t,n,r,i){this.type=12,this.source=e,this.range=t,this.verticalType=n,this.revealHorizontal=r,this.scrollType=i}return e}(),it=function(){function e(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged}return e}(),ot=function(){function e(){this.type=14}return e}(),at=function(){function e(e){this.type=15,this.ranges=e}return e}(),st=function(){function e(){this.type=16}return e}(),lt=function(){function e(){this.type=17}return e}(),ut=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return Ke(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new ct),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,r=t.length;n<r;n++)dt(t[n],e)},t.prototype.addEventListener=function(e){var t=this;return this._listeners.push(e),Object(s["h"])((function(){for(var n=t._listeners,r=0,i=n.length;r<i;r++)if(n[r]===e){n.splice(r,1);break}}))},t}(s["a"]),ct=function(){function e(){this._eventsLen=0,this._events=[],this._eventsLen=0}return e.prototype.emit=function(e){this._events[this._eventsLen++]=e},e.prototype.finalize=function(){var e=this._events;return this._events=[],e},e}();function dt(e,t){try{e(t)}catch(n){o["e"](n)}}var ht=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ft=function(){function e(e,t,n){this.top=e,this.left=t,this.width=n}return e.prototype.setWidth=function(t){return new e(this.top,this.left,t)},e}(),pt=g["f"]||g["h"],gt=function(e){function t(t,n,r){var i=e.call(this,t)||this;i._primaryCursorPosition=new ie["a"](1,1),i._primaryCursorVisibleRange=null,i._viewController=n,i._viewHelper=r,i._scrollLeft=0,i._scrollTop=0;var o=i._context.configuration.options,a=o.get(107);i._setAccessibilityOptions(o),i._contentLeft=a.contentLeft,i._contentWidth=a.contentWidth,i._contentHeight=a.height,i._fontInfo=o.get(34),i._lineHeight=o.get(49),i._emptySelectionClipboard=o.get(25),i._copyWithSyntaxHighlighting=o.get(15),i._visibleTextArea=null,i._selections=[new _e["a"](1,1,1,1)],i._modelSelections=[new _e["a"](1,1,1,1)],i._lastRenderPosition=null,i.textArea=Object(h["b"])(document.createElement("textarea")),I.write(i.textArea,6),i.textArea.setClassName("inputarea"),i.textArea.setAttribute("wrap","off"),i.textArea.setAttribute("autocorrect","off"),i.textArea.setAttribute("autocapitalize","off"),i.textArea.setAttribute("autocomplete","off"),i.textArea.setAttribute("spellcheck","false"),i.textArea.setAttribute("aria-label",i._getAriaLabel(o)),i.textArea.setAttribute("role","textbox"),i.textArea.setAttribute("aria-multiline","true"),i.textArea.setAttribute("aria-haspopup","false"),i.textArea.setAttribute("aria-autocomplete","both"),f["g"]&&o.get(68)&&i.textArea.setAttribute("readonly","true"),i.textAreaCover=Object(h["b"])(document.createElement("div")),i.textAreaCover.setPosition("absolute");var s={getLineCount:function(){return i._context.model.getLineCount()},getLineMaxColumn:function(e){return i._context.model.getLineMaxColumn(e)},getValueInRange:function(e,t){return i._context.model.getValueInRange(e,t)}},l={getDataToCopy:function(e){var t=i._context.model.getPlainTextToCopy(i._modelSelections,i._emptySelectionClipboard,f["h"]),n=i._context.model.getEOL(),r=i._emptySelectionClipboard&&1===i._modelSelections.length&&i._modelSelections[0].isEmpty(),o=Array.isArray(t)?t:null,a=Array.isArray(t)?t.join(n):t,s=void 0,l=null;if(e&&(Ae["a"].forceCopyWithSyntaxHighlighting||i._copyWithSyntaxHighlighting&&a.length<65536)){var u=i._context.model.getRichTextToCopy(i._modelSelections,i._emptySelectionClipboard);u&&(s=u.html,l=u.mode)}return{isFromEmptySelection:r,multicursorText:o,text:a,html:s,mode:l}},getScreenReaderContent:function(e){if(g["j"])return Re["b"].EMPTY;if(1===i._accessibilitySupport){if(f["e"]){var t=i._selections[0];if(t.isEmpty()){var n=t.getStartPosition(),r=i._getWordBeforePosition(n);if(0===r.length&&(r=i._getCharacterBeforePosition(n)),r.length>0)return new Re["b"](r,r.length,r.length,n,n)}}return Re["b"].EMPTY}return Re["a"].fromEditorSelection(e,s,i._selections[0],i._accessibilityPageSize,0===i._accessibilitySupport)},deduceModelPosition:function(e,t,n){return i._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return i._textAreaInput=i._register(new Ae["b"](l,i.textArea)),i._register(i._textAreaInput.onKeyDown((function(e){i._viewController.emitKeyDown(e)}))),i._register(i._textAreaInput.onKeyUp((function(e){i._viewController.emitKeyUp(e)}))),i._register(i._textAreaInput.onPaste((function(e){var t=!1,n=null,r=null;e.metadata&&(t=i._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n="undefined"!==typeof e.metadata.multicursorText?e.metadata.multicursorText:null,r=e.metadata.mode),i._viewController.paste("keyboard",e.text,t,n,r)}))),i._register(i._textAreaInput.onCut((function(){i._viewController.cut("keyboard")}))),i._register(i._textAreaInput.onType((function(e){e.replaceCharCnt?i._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):i._viewController.type("keyboard",e.text)}))),i._register(i._textAreaInput.onSelectionChangeRequest((function(e){i._viewController.setSelection("keyboard",e)}))),i._register(i._textAreaInput.onCompositionStart((function(){var e=i._selections[0].startLineNumber,t=i._selections[0].startColumn;i._context.privateViewEventBus.emit(new rt("keyboard",new oe["a"](e,t,e,t),0,!0,1));var n=i._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(i._visibleTextArea=new ft(i._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,pt?0:1),i._render()),i.textArea.setClassName("inputarea ime-input"),i._viewController.compositionStart("keyboard")}))),i._register(i._textAreaInput.onCompositionUpdate((function(e){g["f"]?i._visibleTextArea=i._visibleTextArea.setWidth(0):i._visibleTextArea=i._visibleTextArea.setWidth(mt(e.data,i._fontInfo)),i._render()}))),i._register(i._textAreaInput.onCompositionEnd((function(){i._visibleTextArea=null,i._render(),i.textArea.setClassName("inputarea"),i._viewController.compositionEnd("keyboard")}))),i._register(i._textAreaInput.onFocus((function(){i._context.privateViewEventBus.emit(new Qe(!0))}))),i._register(i._textAreaInput.onBlur((function(){i._context.privateViewEventBus.emit(new Qe(!1))}))),i}return ht(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){var t=this._context.model.getLineContent(e.lineNumber),n=Object(Ue["a"])(this._context.configuration.options.get(96)),r=e.column,i=0;while(r>1){var o=t.charCodeAt(r-2),a=n.get(o);if(0!==a||i>50)return t.substring(r-1,e.column-1);i++,r--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber),n=t.charAt(e.column-2);if(!Pe["z"](n.charCodeAt(0)))return n}return""},t.prototype._getAriaLabel=function(e){var t=e.get(2);return 1===t?r["a"]("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.get(4)},t.prototype._setAccessibilityOptions=function(e){this._accessibilitySupport=e.get(2);var t=e.get(3);2===this._accessibilitySupport&&t===K["e"].accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=t},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(34),this._lineHeight=t.get(49),this._emptySelectionClipboard=t.get(25),this._copyWithSyntaxHighlighting=t.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),f["g"]&&e.hasChanged(68)&&(t.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.getLastRenderData=function(){return this._lastRenderPosition},t.prototype.setAriaOptions=function(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},t.prototype.prepareRender=function(e){this._primaryCursorPosition=new ie["a"](this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(e<this._contentLeft||e>this._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():f["e"]?this._renderInsideEditor(this._primaryCursorPosition,t,e,pt?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,pt?0:1,pt?0:1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,r,i){this._lastRenderPosition=e;var o=this.textArea,a=this.textAreaCover;u["a"].applyFontInfo(o,this._fontInfo),o.setTop(t),o.setLeft(n),o.setWidth(r),o.setHeight(i),a.setTop(0),a.setLeft(0),a.setWidth(0),a.setHeight(0)},t.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var e=this.textArea,t=this.textAreaCover;if(u["a"].applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),pt)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);var n=this._context.configuration.options;n.get(40)?t.setClassName("monaco-editor-background textAreaCover "+He.OUTER_CLASS_NAME):0!==n.get(50).renderType?t.setClassName("monaco-editor-background textAreaCover "+ze.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(L);function mt(e,t){var n=document.createElement("canvas"),r=n.getContext("2d");r.font=vt(t);var i=r.measureText(e);return g["h"]?i.width+2:i.width}function vt(e){return yt("normal",e.fontWeight,e.fontSize,e.lineHeight,e.fontFamily)}function yt(e,t,n,r,i){return e+" normal "+t+" "+n+"px / "+r+"px "+i}var bt=n("1YUG"),_t=function(){function e(e,t,n,r){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=r}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,r,i){this.commandDelegate.paste(e,t,n,r,i)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(bt["CoreNavigationCommands"].SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new ie["a"](e.lineNumber,t):e},e.prototype._hasMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey}return!1},e.prototype._hasNonMulticursorModifier=function(e){switch(this.configuration.options.get(59)){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey}return!1},e.prototype.dispatchMouse=function(e){var t=f["d"]&&this.configuration.options.get(81);e.middleButton&&!t?this._columnSelect(e.position,e.mouseColumn,e.inSelectionMode):e.startedOnLineNumbers?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelect(e.position):this._createCursor(e.position,!0):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):e.mouseDownCount>=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(bt["CoreNavigationCommands"].ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(bt["CoreNavigationCommands"].CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(bt["CoreNavigationCommands"].LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(bt["CoreNavigationCommands"].SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),wt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xt=function(e){function t(t){var n=e.call(this)||this;return n.onDidContentSizeChange=null,n.onDidScroll=null,n.onDidGainFocus=null,n.onDidLoseFocus=null,n.onKeyDown=null,n.onKeyUp=null,n.onContextMenu=null,n.onMouseMove=null,n.onMouseLeave=null,n.onMouseUp=null,n.onMouseDown=null,n.onMouseDrag=null,n.onMouseDrop=null,n.onMouseWheel=null,n._viewModel=t,n}return wt(t,e),t.prototype.emitContentSizeChange=function(e){this.onDidContentSizeChange&&this.onDidContentSizeChange(e)},t.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},t.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},t.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},t.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},t.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},t.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseWheel=function(e){this.onMouseWheel&&this.onMouseWheel(e)},t.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},t.prototype._convertViewToModelMouseTarget=function(e){return t.convertViewToModelMouseTarget(e,this._viewModel.coordinatesConverter)},t.convertViewToModelMouseTarget=function(e,t){return new Ct(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)},t}(s["a"]),Ct=function(){function e(e,t,n,r,i,o){this.element=e,this.type=t,this.mouseColumn=n,this.position=r,this.range=i,this.detail=o}return e.prototype.toString=function(){return ue.toString(this)},e}(),St=n("erNZ"),Ot=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),r=this.getEndLineNumber();if(t<n){var i=t-e+1;return this._rendLineNumberStart-=i,null}if(e>r)return null;for(var o=0,a=0,s=n;s<=r;s++){var l=s-this._rendLineNumberStart;e<=s&&s<=t&&(0===a?(o=l,a=1):a++)}if(e<n){var u=0;u=t<n?t-e+1:n-e,this._rendLineNumberStart-=u}var c=this._lines.splice(o,a);return c},e.prototype.onLinesChanged=function(e,t){if(0===this.getCount())return!1;for(var n=this.getStartLineNumber(),r=this.getEndLineNumber(),i=!1,o=e;o<=t;o++)o>=n&&o<=r&&(this._lines[o-this._rendLineNumberStart].onContentChanged(),i=!0);return i},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,r=this.getStartLineNumber(),i=this.getEndLineNumber();if(e<=r)return this._rendLineNumberStart+=n,null;if(e>i)return null;if(n+e>i){var o=this._lines.splice(e-this._rendLineNumberStart,i-e+1);return o}for(var a=[],s=0;s<n;s++)a[s]=this._createLine();var l=e-this._rendLineNumberStart,u=this._lines.slice(0,l),c=this._lines.slice(l,this._lines.length-n),d=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=u.concat(a).concat(c),d},e.prototype.onTokensChanged=function(e){if(0===this.getCount())return!1;for(var t=this.getStartLineNumber(),n=this.getEndLineNumber(),r=!1,i=0,o=e.length;i<o;i++){var a=e[i];if(!(a.toLineNumber<t||a.fromLineNumber>n))for(var s=Math.max(t,a.fromLineNumber),l=Math.min(n,a.toLineNumber),u=s;u<=l;u++){var c=u-this._rendLineNumberStart;this._lines[c].onTokensChanged(),r=!0}}return r},e}(),kt=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new Ot((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(h["b"])(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return!!e.hasChanged(107)},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,r=t.length;n<r;n++){var i=t[n].getDomNode();i&&this.domNode.domNode.removeChild(i)}return!0},e.prototype.onLinesInserted=function(e){var t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,r=t.length;n<r;n++){var i=t[n].getDomNode();i&&this.domNode.domNode.removeChild(i)}return!0},e.prototype.onScrollChanged=function(e){return e.scrollTopChanged},e.prototype.onTokensChanged=function(e){return this._linesCollection.onTokensChanged(e.ranges)},e.prototype.onZonesChanged=function(e){return!0},e.prototype.getStartLineNumber=function(){return this._linesCollection.getStartLineNumber()},e.prototype.getEndLineNumber=function(){return this._linesCollection.getEndLineNumber()},e.prototype.getVisibleLine=function(e){return this._linesCollection.getLine(e)},e.prototype.renderLines=function(e){var t=this._linesCollection._get(),n=new Et(this.domNode.domNode,this._host,e),r={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},i=n.render(r,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(i.rendLineNumberStart,i.lines)},e}(),Et=function(){function e(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}return e.prototype.render=function(e,t,n,r){var i={rendLineNumberStart:e.rendLineNumberStart,lines:e.lines.slice(0),linesLength:e.linesLength};if(i.rendLineNumberStart+i.linesLength-1<t||n<i.rendLineNumberStart){i.rendLineNumberStart=t,i.linesLength=n-t+1,i.lines=[];for(var o=t;o<=n;o++)i.lines[o-t]=this.host.createVisibleLine();return this._finishRendering(i,!0,r),i}if(this._renderUntouchedLines(i,Math.max(t-i.rendLineNumberStart,0),Math.min(n-i.rendLineNumberStart,i.linesLength-1),r,t),i.rendLineNumberStart>t){var a=t,s=Math.min(n,i.rendLineNumberStart-1);a<=s&&(this._insertLinesBefore(i,a,s,r,t),i.linesLength+=s-a+1)}else if(i.rendLineNumberStart<t){var l=Math.min(i.linesLength,t-i.rendLineNumberStart);l>0&&(this._removeLinesBefore(i,l),i.linesLength-=l)}if(i.rendLineNumberStart=t,i.rendLineNumberStart+i.linesLength-1<n){a=i.rendLineNumberStart+i.linesLength,s=n;a<=s&&(this._insertLinesAfter(i,a,s,r,t),i.linesLength+=s-a+1)}else if(i.rendLineNumberStart+i.linesLength-1>n){a=Math.max(0,n-i.rendLineNumberStart+1),s=i.linesLength-1,l=s-a+1;l>0&&(this._removeLinesAfter(i,l),i.linesLength-=l)}return this._finishRendering(i,!1,r),i},e.prototype._renderUntouchedLines=function(e,t,n,r,i){for(var o=e.rendLineNumberStart,a=e.lines,s=t;s<=n;s++){var l=o+s;a[s].layoutLine(l,r[l-i])}},e.prototype._insertLinesBefore=function(e,t,n,r,i){for(var o=[],a=0,s=t;s<=n;s++)o[a++]=this.host.createVisibleLine();e.lines=o.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n<t;n++){var r=e.lines[n].getDomNode();r&&this.domNode.removeChild(r)}e.lines.splice(0,t)},e.prototype._insertLinesAfter=function(e,t,n,r,i){for(var o=[],a=0,s=t;s<=n;s++)o[a++]=this.host.createVisibleLine();e.lines=e.lines.concat(o)},e.prototype._removeLinesAfter=function(e,t){for(var n=e.linesLength-t,r=0;r<t;r++){var i=e.lines[n+r].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(n,t)},e.prototype._finishRenderingNewLines=function(e,t,n,r){var i=this.domNode.lastChild;t||!i?this.domNode.innerHTML=n:i.insertAdjacentHTML("afterend",n);for(var o=this.domNode.lastChild,a=e.linesLength-1;a>=0;a--){var s=e.lines[a];r[a]&&(s.setDomNode(o),o=o.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var r=document.createElement("div");r.innerHTML=t;for(var i=0;i<e.linesLength;i++){var o=e.lines[i];if(n[i]){var a=r.firstChild,s=o.getDomNode();s.parentNode.replaceChild(a,s),o.setDomNode(a)}}},e.prototype._finishRendering=function(t,n,r){var i=e._sb,o=t.linesLength,a=t.lines,s=t.rendLineNumberStart,l=[];i.reset();for(var u=!1,c=0;c<o;c++){var d=a[c];l[c]=!1;var h=d.getDomNode();if(!h){var f=d.renderLine(c+s,r[c],this.viewportData,i);f&&(l[c]=!0,u=!0)}}u&&this._finishRenderingNewLines(t,n,i.build(),l),i.reset();var p=!1,g=[];for(c=0;c<o;c++){d=a[c];if(g[c]=!1,!l[c]){f=d.renderLine(c+s,r[c],this.viewportData,i);f&&(g[c]=!0,p=!0)}}p&&this._finishRenderingInvalidLines(t,i.build(),g)},e._sb=Object(St["a"])(1e5),e}(),Dt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mt=function(e){function t(t){var n=e.call(this,t)||this;return n._visibleLines=new kt(n),n.domNode=n._visibleLines.domNode,n._dynamicOverlays=[],n._isFocused=!1,n.domNode.setClassName("view-overlays"),n}return Dt(t,e),t.prototype.shouldRender=function(){if(e.prototype.shouldRender.call(this))return!0;for(var t=0,n=this._dynamicOverlays.length;t<n;t++){var r=this._dynamicOverlays[t];if(r.shouldRender())return!0}return!1},t.prototype.dispose=function(){e.prototype.dispose.call(this);for(var t=0,n=this._dynamicOverlays.length;t<n;t++){var r=this._dynamicOverlays[t];r.dispose()}this._dynamicOverlays=[]},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Nt(this._context.configuration,this._dynamicOverlays)},t.prototype.addDynamicOverlay=function(e){this._dynamicOverlays.push(e)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e);for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=t;r<=n;r++){var i=this._visibleLines.getVisibleLine(r);i.onConfigurationChanged(e)}return!0},t.prototype.onFlushed=function(e){return this._visibleLines.onFlushed(e)},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!0},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onScrollChanged=function(e){return this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._visibleLines.onZonesChanged(e)},t.prototype.prepareRender=function(e){for(var t=this._dynamicOverlays.filter((function(e){return e.shouldRender()})),n=0,r=t.length;n<r;n++){var i=t[n];i.prepareRender(e),i.onDidRender()}},t.prototype.render=function(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)},t.prototype._viewOverlaysRender=function(e){this._visibleLines.renderLines(e.viewportData)},t}(L),Nt=function(){function e(e,t){this._configuration=e,this._lineHeight=this._configuration.options.get(49),this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}return e.prototype.getDomNode=function(){return this._domNode?this._domNode.domNode:null},e.prototype.setDomNode=function(e){this._domNode=Object(h["b"])(e)},e.prototype.onContentChanged=function(){},e.prototype.onTokensChanged=function(){},e.prototype.onConfigurationChanged=function(e){this._lineHeight=this._configuration.options.get(49)},e.prototype.renderLine=function(e,t,n,r){for(var i="",o=0,a=this._dynamicOverlays.length;o<a;o++){var s=this._dynamicOverlays[o];i+=s.render(n.startLineNumber,e)}return this._renderedContent!==i&&(this._renderedContent=i,r.appendASCIIString('<div style="position:absolute;top:'),r.appendASCIIString(String(t)),r.appendASCIIString("px;width:100%;height:"),r.appendASCIIString(String(this._lineHeight)),r.appendASCIIString('px;">'),r.appendASCIIString(i),r.appendASCIIString("</div>"),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),Lt=function(e){function t(t){var n=e.call(this,t)||this,r=n._context.configuration.options,i=r.get(107);return n._contentWidth=i.contentWidth,n.domNode.setHeight(0),n}return Dt(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options,r=n.get(107);return this._contentWidth=r.contentWidth,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(Mt),It=function(e){function t(t){var n=e.call(this,t)||this,r=n._context.configuration.options,i=r.get(107);return n._contentLeft=i.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),u["a"].applyFontInfo(n.domNode,r.get(34)),n}return Dt(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options;u["a"].applyFontInfo(this.domNode,n.get(34));var r=n.get(107);return this._contentLeft=r.contentLeft,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(Mt),Tt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pt=function(){function e(e,t){this.top=e,this.left=t}return e}(),At=function(e){function t(t,n){var r=e.call(this,t)||this;return r._viewDomNode=n,r._widgets={},r.domNode=Object(h["b"])(document.createElement("div")),I.write(r.domNode,1),r.domNode.setClassName("contentWidgets"),r.domNode.setPosition("absolute"),r.domNode.setTop(0),r.overflowingContentWidgetsDomNode=Object(h["b"])(document.createElement("div")),I.write(r.overflowingContentWidgetsDomNode,2),r.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),r}return Tt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=Object.keys(this._widgets),n=0,r=t;n<r.length;n++){var i=r[n];this._widgets[i].onConfigurationChanged(e)}return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLineMappingChanged=function(e){for(var t=Object.keys(this._widgets),n=0,r=t;n<r.length;n++){var i=r[n];this._widgets[i].onLineMappingChanged(e)}return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.addWidget=function(e){var t=new Rt(this._context,this._viewDomNode,e);this._widgets[t.id]=t,t.allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t,n){var r=this._widgets[e.getId()];r.setPosition(t,n),this.setShouldRender()},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t];delete this._widgets[t];var r=n.domNode.domNode;r.parentNode.removeChild(r),r.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}},t.prototype.shouldSuppressMouseDownOnWidget=function(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown},t.prototype.onBeforeRender=function(e){for(var t=Object.keys(this._widgets),n=0,r=t;n<r.length;n++){var i=r[n];this._widgets[i].onBeforeRender(e)}},t.prototype.prepareRender=function(e){for(var t=Object.keys(this._widgets),n=0,r=t;n<r.length;n++){var i=r[n];this._widgets[i].prepareRender(e)}},t.prototype.render=function(e){for(var t=Object.keys(this._widgets),n=0,r=t;n<r.length;n++){var i=r[n];this._widgets[i].render(e)}},t}(L),Rt=function(){function e(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(h["b"])(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1;var r=this._context.configuration.options,i=r.get(107);this._fixedOverflowWidgets=r.get(29),this._contentWidth=i.contentWidth,this._contentLeft=i.contentLeft,this._lineHeight=r.get(49),this._range=null,this._viewRange=null,this._preference=[],this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1,this._maxWidth=this._getMaxWidth(),this._isVisible=!1,this._renderData=null,this.domNode.setPosition(this._fixedOverflowWidgets&&this.allowEditorOverflow?"fixed":"absolute"),this.domNode.setVisibility("hidden"),this.domNode.setAttribute("widgetId",this.id),this.domNode.setMaxWidth(this._maxWidth)}return e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;if(this._lineHeight=t.get(49),e.hasChanged(107)){var n=t.get(107);this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._maxWidth=this._getMaxWidth()}},e.prototype.onLineMappingChanged=function(e){this._setPosition(this._range)},e.prototype._setPosition=function(e){if(this._range=e,this._viewRange=null,this._range){var t=this._context.model.validateModelRange(this._range);(this._context.model.coordinatesConverter.modelPositionIsVisible(t.getStartPosition())||this._context.model.coordinatesConverter.modelPositionIsVisible(t.getEndPosition()))&&(this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(t))}},e.prototype._getMaxWidth=function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth},e.prototype.setPosition=function(e,t){this._setPosition(e),this._preference=t,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1},e.prototype._layoutBoxInViewport=function(e,t,n,r,i){var o=e.top,a=o,s=t.top+this._lineHeight,l=i.viewportHeight-s,u=o-r,c=a>=r,d=s,h=l>=r,f=e.left,p=t.left;return f+n>i.scrollLeft+i.viewportWidth&&(f=i.scrollLeft+i.viewportWidth-n),p+n>i.scrollLeft+i.viewportWidth&&(p=i.scrollLeft+i.viewportWidth-n),f<i.scrollLeft&&(f=i.scrollLeft),p<i.scrollLeft&&(p=i.scrollLeft),{fitsAbove:c,aboveTop:u,aboveLeft:f,fitsBelow:h,belowTop:d,belowLeft:p}},e.prototype._layoutHorizontalSegmentInPage=function(e,t,n,r){var o=Math.max(0,t.left-r),a=Math.min(t.left+t.width+r,e.width),s=t.left+n-i["d"].scrollX;if(s+r>a){var l=s-(a-r);s-=l,n-=l}if(s<o){l=s-o;s-=l,n-=l}return[n,s]},e.prototype._layoutBoxInPage=function(e,t,n,r,o){var a=e.top-r,s=t.top+this._lineHeight,l=i["B"](this._viewDomNode.domNode),u=l.top+a-i["d"].scrollY,c=l.top+s-i["d"].scrollY,d=i["x"](document.body),h=this._layoutHorizontalSegmentInPage(d,l,e.left-o.scrollLeft+this._contentLeft,n),f=h[0],p=h[1],g=this._layoutHorizontalSegmentInPage(d,l,t.left-o.scrollLeft+this._contentLeft,n),m=g[0],v=g[1],y=22,b=22,_=u>=y,w=c+r<=d.height-b;return this._fixedOverflowWidgets?{fitsAbove:_,aboveTop:Math.max(u,y),aboveLeft:p,fitsBelow:w,belowTop:c,belowLeft:v}:{fitsAbove:_,aboveTop:Math.max(a,y),aboveLeft:f,fitsBelow:w,belowTop:s,belowLeft:m}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new Pt(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewRange)return[null,null];var t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];for(var n=t[0],r=t[0],i=0,o=t;i<o.length;i++){var a=o[i];a.lineNumber<n.lineNumber&&(n=a),a.lineNumber>r.lineNumber&&(r=a)}for(var s=1073741824,l=0,u=n.ranges;l<u.length;l++){var c=u[l];c.left<s&&(s=c.left)}for(var d=1073741824,h=0,f=r.ranges;h<f.length;h++){c=f[h];c.left<d&&(d=c.left)}var p=e.getVerticalOffsetForLineNumber(n.lineNumber)-e.scrollTop,g=new Pt(p,s),m=e.getVerticalOffsetForLineNumber(r.lineNumber)-e.scrollTop,v=new Pt(m,d);return[g,v]},e.prototype._prepareRenderWidget=function(e){var t,n=this._getTopAndBottomLeft(e),r=n[0],i=n[1];if(!r||!i)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){var o=this.domNode.domNode;this._cachedDomNodeClientWidth=o.clientWidth,this._cachedDomNodeClientHeight=o.clientHeight}if(t=this.allowEditorOverflow?this._layoutBoxInPage(r,i,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(r,i,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e),this._preference)for(var a=1;a<=2;a++)for(var s=0,l=this._preference;s<l.length;s++){var u=l[s];if(1===u){if(!t)return null;if(2===a||t.fitsAbove)return new Pt(t.aboveTop,t.aboveLeft)}else{if(2!==u)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(r):r;if(!t)return null;if(2===a||t.fitsBelow)return new Pt(t.belowTop,t.belowLeft)}}return null},e.prototype.onBeforeRender=function(e){this._viewRange&&this._preference&&(this._viewRange.endLineNumber<e.startLineNumber||this._viewRange.startLineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),jt=(n("kw+w"),n("6OMU")),Ft=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Bt=!0,Vt=function(e){function t(t){var n=e.call(this)||this;n._context=t;var r=n._context.configuration.options,i=r.get(107);return n._lineHeight=r.get(49),n._renderLineHighlight=r.get(72),n._contentLeft=i.contentLeft,n._contentWidth=i.contentWidth,n._selectionIsEmpty=!0,n._cursorLineNumbers=[],n._selections=[],n._renderData=null,n._context.addEventHandler(n),n}return Ft(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype._readFromSelections=function(){var e=!1,t=Bt?this._selections.slice(0,1):this._selections,n=t.map((function(e){return e.positionLineNumber}));n.sort((function(e,t){return e-t})),jt["g"](this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);var r=t.every((function(e){return e.isEmpty()}));return this._selectionIsEmpty!==r&&(this._selectionIsEmpty=r,e=!0),e},t.prototype.onThemeChanged=function(e){return this._readFromSelections()},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._renderLineHighlight=t.get(72),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._readFromSelections()},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged||e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._shouldRenderThis()){for(var t=this._renderOne(e),n=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,i=this._cursorLineNumbers.length,o=0,a=[],s=n;s<=r;s++){var l=s-n;while(o<i&&this._cursorLineNumbers[o]<s)o++;o<i&&this._cursorLineNumbers[o]===s?a[l]=t:a[l]=""}this._renderData=a}else this._renderData=null},t.prototype.render=function(e,t){if(!this._renderData)return"";var n=t-e;return n>=this._renderData.length?"":this._renderData[n]},t}(Fe),zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ft(t,e),t.prototype._renderOne=function(e){var t="current-line"+(this._shouldRenderOther()?" current-line-both":"");return'<div class="'+t+'" style="width:'+Math.max(e.scrollWidth,this._contentWidth)+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._shouldRenderOther=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(Vt),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ft(t,e),t.prototype._renderOne=function(e){var t="current-line current-line-margin"+(this._shouldRenderOther()?" current-line-margin-both":"");return'<div class="'+t+'" style="width:'+this._contentLeft+"px; height:"+this._lineHeight+'px;"></div>'},t.prototype._shouldRenderThis=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._shouldRenderOther=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(Vt);Object(U["e"])((function(e,t){Bt=!1;var n=e.getColor(Be["h"]);if(n&&(t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }")),!n||n.isTransparent()||e.defines(Be["i"])){var r=e.getColor(Be["i"]);r&&(Bt=!0,t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+r+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+r+"; }"),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));n("Vtyv");var Ht=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ut=function(e){function t(t){var n=e.call(this)||this;n._context=t;var r=n._context.configuration.options;return n._lineHeight=r.get(49),n._typicalHalfwidthCharacterWidth=r.get(34).typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Ht(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i];a.options.className&&(n[r++]=a)}n=n.sort((function(e,t){if(e.options.zIndex<t.options.zIndex)return-1;if(e.options.zIndex>t.options.zIndex)return 1;var n=e.options.className,r=t.options.className;return n<r?-1:n>r?1:oe["a"].compareRangesUsingStarts(e.range,t.range)}));for(var s=e.visibleRange.startLineNumber,l=e.visibleRange.endLineNumber,u=[],c=s;c<=l;c++){var d=c-s;u[d]=""}this._renderWholeLineDecorations(e,n,u),this._renderNormalDecorations(e,n,u),this._renderResult=u},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var r=String(this._lineHeight),i=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,a=0,s=t.length;a<s;a++){var l=t[a];if(l.options.isWholeLine)for(var u='<div class="cdr '+l.options.className+'" style="left:0;width:100%;height:'+r+'px;"></div>',c=Math.max(l.range.startLineNumber,i),d=Math.min(l.range.endLineNumber,o),h=c;h<=d;h++){var f=h-i;n[f]+=u}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var r=String(this._lineHeight),i=e.visibleRange.startLineNumber,o=null,a=!1,s=null,l=0,u=t.length;l<u;l++){var c=t[l];if(!c.options.isWholeLine){var d=c.options.className,h=Boolean(c.options.showIfCollapsed),f=c.range;h&&1===f.endColumn&&f.endLineNumber!==f.startLineNumber&&(f=new oe["a"](f.startLineNumber,f.startColumn,f.endLineNumber-1,this._context.model.getLineMaxColumn(f.endLineNumber-1))),o===d&&a===h&&oe["a"].areIntersectingOrTouching(s,f)?s=oe["a"].plusRange(s,f):(null!==o&&this._renderNormalDecoration(e,s,o,a,r,i,n),o=d,a=h,s=f)}}null!==o&&this._renderNormalDecoration(e,s,o,a,r,i,n)},t.prototype._renderNormalDecoration=function(e,t,n,r,i,o,a){var s=e.linesVisibleRangesForRange(t,"findMatch"===n);if(s)for(var l=0,u=s.length;l<u;l++){var c=s[l];if(!c.outsideRenderedLine){var d=c.lineNumber-o;if(r&&1===c.ranges.length){var h=c.ranges[0];0===h.width&&(c.ranges[0]=new j(h.left,this._typicalHalfwidthCharacterWidth))}for(var f=0,p=c.ranges.length;f<p;f++){var g=c.ranges[f],m='<div class="cdr '+n+'" style="left:'+String(g.left)+"px;width:"+String(g.width)+"px;height:"+i+'px;"></div>';a[d]+=m}}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Fe),Kt=n("GJhM"),Gt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qt=function(e){function t(t,n,r,o){var a=e.call(this,t)||this,s=a._context.configuration.options,l=s.get(78),u=s.get(56),c=s.get(27),d={listenOnDomNode:r.domNode,className:"editor-scrollable "+Object(U["d"])(t.theme.type),useShadows:!1,lazyRender:!0,vertical:l.vertical,horizontal:l.horizontal,verticalHasArrows:l.verticalHasArrows,horizontalHasArrows:l.horizontalHasArrows,verticalScrollbarSize:l.verticalScrollbarSize,verticalSliderSize:l.verticalSliderSize,horizontalScrollbarSize:l.horizontalScrollbarSize,horizontalSliderSize:l.horizontalSliderSize,handleMouseWheel:l.handleMouseWheel,alwaysConsumeMouseWheel:l.alwaysConsumeMouseWheel,arrowSize:l.arrowSize,mouseWheelScrollSensitivity:u,fastScrollSensitivity:c};a.scrollbar=a._register(new Kt["c"](n.domNode,d,a._context.viewLayout.getScrollable())),I.write(a.scrollbar.getDomNode(),5),a.scrollbarDomNode=Object(h["b"])(a.scrollbar.getDomNode()),a.scrollbarDomNode.setPosition("absolute"),a._setLayout();var f=function(e,t,n){var r={};if(t){var i=e.scrollTop;i&&(r.scrollTop=a._context.viewLayout.getCurrentScrollTop()+i,e.scrollTop=0)}if(n){var o=e.scrollLeft;o&&(r.scrollLeft=a._context.viewLayout.getCurrentScrollLeft()+o,e.scrollLeft=0)}a._context.viewLayout.setScrollPositionNow(r)};return a._register(i["i"](r.domNode,"scroll",(function(e){return f(r.domNode,!0,!0)}))),a._register(i["i"](n.domNode,"scroll",(function(e){return f(n.domNode,!0,!1)}))),a._register(i["i"](o.domNode,"scroll",(function(e){return f(o.domNode,!0,!1)}))),a._register(i["i"](a.scrollbarDomNode.domNode,"scroll",(function(e){return f(a.scrollbarDomNode.domNode,!0,!1)}))),a}return Gt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.scrollbarDomNode.setLeft(t.contentLeft);var n=e.get(54),r=n.side;"right"===r?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.hasChanged(78)||e.hasChanged(56)||e.hasChanged(27)){var t=this._context.configuration.options,n=t.get(78),r=t.get(56),i=t.get(27),o={handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:r,fastScrollSensitivity:i};this.scrollbar.updateOptions(o)}return e.hasChanged(107)&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(U["d"])(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(L),Yt=(n("hHjc"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Xt=function(){function e(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)}return e}(),Zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Yt(t,e),t.prototype._render=function(e,t,n){for(var r=[],i=e;i<=t;i++){var o=i-e;r[o]=[]}if(0===n.length)return r;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className<t.className?-1:1}));for(var a=null,s=0,l=0,u=n.length;l<u;l++){var c=n[l],d=c.className,h=Math.max(c.startLineNumber,e)-e,f=Math.min(c.endLineNumber,t)-e;a===d?(h=Math.max(s+1,h),s=Math.max(s,f)):(a=d,s=f);for(var p=h;p<=s;p++)r[p].push(a)}return r},t}(Fe),Qt=function(e){function t(t){var n=e.call(this)||this;n._context=t;var r=n._context.configuration.options,i=r.get(107);return n._lineHeight=r.get(49),n._glyphMargin=r.get(40),n._glyphMarginLeft=i.glyphMarginLeft,n._glyphMarginWidth=i.glyphMarginWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Yt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._glyphMargin=t.get(40),this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i],s=a.options.glyphMarginClassName;s&&(n[r++]=new Xt(a.range.startLineNumber,a.range.endLineNumber,s))}return n},t.prototype.prepareRender=function(e){if(this._glyphMargin){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._render(t,n,this._getDecorations(e)),i=this._lineHeight.toString(),o=this._glyphMarginLeft.toString(),a=this._glyphMarginWidth.toString(),s='" style="left:'+o+"px;width:"+a+"px;height:"+i+'px;"></div>',l=[],u=t;u<=n;u++){var c=u-t,d=r[c];0===d.length?l[c]="":l[c]='<div class="cgmr codicon '+d.join(" ")+s}this._renderResult=l}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Zt),$t=(n("C6rC"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Jt=function(e){function t(t){var n=e.call(this)||this;n._context=t,n._primaryLineNumber=0;var r=n._context.configuration.options,i=r.get(108),o=r.get(34);return n._lineHeight=r.get(49),n._spaceWidth=o.spaceWidth,n._enabled=r.get(70),n._activeIndentEnabled=r.get(43),n._maxIndentLeft=-1===i.wrappingColumn?-1:i.wrappingColumn*o.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return $t(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(108),r=t.get(34);return this._lineHeight=t.get(49),this._spaceWidth=r.spaceWidth,this._enabled=t.get(70),this._activeIndentEnabled=t.get(43),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*r.typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._context.model.getOptions().indentSize,i=r*this._spaceWidth,o=e.scrollWidth,a=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),l=0,u=0,c=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var d=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);l=d.startLineNumber,u=d.endLineNumber,c=d.indent}for(var h=[],f=t;f<=n;f++){var p=l<=f&&f<=u,g=f-t,m=s[g],v="";if(m>=1)for(var y=e.visibleRangeForPosition(new ie["a"](f,1)),b=y?y.left:0,_=1;_<=m;_++){var w=p&&_===c?"cigra":"cigr";if(v+='<div class="'+w+'" style="left:'+b+"px;height:"+a+"px;width:"+i+'px"></div>',b+=i,b>o||this._maxIndentLeft>0&&b>this._maxIndentLeft)break}h[g]=v}this._renderResult=h}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Fe);Object(U["e"])((function(e,t){var n=e.getColor(Be["g"]);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var r=e.getColor(Be["a"])||n;r&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+r+" inset; }")}));n("OKK6");var en=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),tn=function(){function e(){this._currentVisibleRange=new oe["a"](1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),nn=function(){function e(e,t,n,r,i,o){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=r,this.stopScrollTop=i,this.scrollType=o}return e}(),rn=function(e){function t(t,n){var r=e.call(this,t)||this;r._linesContent=n,r._textRangeRestingSpot=document.createElement("div"),r._visibleLines=new kt(r),r.domNode=r._visibleLines.domNode;var i=r._context.configuration,o=r._context.configuration.options,a=o.get(34),s=o.get(108);return r._lineHeight=o.get(49),r._typicalHalfwidthCharacterWidth=a.typicalHalfwidthCharacterWidth,r._isViewportWrapping=s.isViewportWrapping,r._revealHorizontalRightPadding=o.get(75),r._cursorSurroundingLines=o.get(19),r._cursorSurroundingLinesStyle=o.get(20),r._canUseLayerHinting=!o.get(22),r._viewLineOptions=new Z(i,r._context.theme.type),I.write(r.domNode,7),r.domNode.setClassName("view-lines"),u["a"].applyFontInfo(r.domNode,a),r._maxLineWidth=0,r._asyncUpdateLineWidths=new v["d"]((function(){r._updateLineWidthsSlow()}),200),r._lastRenderedData=new tn,r._horizontalRevealRequest=null,r}return en(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Q(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(108)&&(this._maxLineWidth=0);var t=this._context.configuration.options,n=t.get(34),r=t.get(108);return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=r.isViewportWrapping,this._revealHorizontalRightPadding=t.get(75),this._cursorSurroundingLines=t.get(19),this._cursorSurroundingLinesStyle=t.get(20),this._canUseLayerHinting=!t.get(22),u["a"].applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(107)&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new Z(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber(),i=n;i<=r;i++){var o=this._visibleLines.getVisibleLine(i);o.onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=!1,i=t;i<=n;i++)r=this._visibleLines.getVisibleLine(i).onSelectionChanged()||r;return r},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=t;r<=n;r++)this._visibleLines.getVisibleLine(r).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new nn(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var r=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&r>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTop<t||e.scrollTop>n)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var r=this._getLineNumberFor(n);if(-1===r)return null;if(r<1||r>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(r))return new ie["a"](r,1);var i=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber();if(r<i||r>o)return null;var a=this._visibleLines.getVisibleLine(r).getColumnOfNodeOffset(r,e,t),s=this._context.model.getLineMinColumn(r);return a<s&&(a=s),new ie["a"](r,a)},t.prototype._getViewLineDomNode=function(e){while(e&&1===e.nodeType){if(e.className===Q.CLASS_NAME)return e;e=e.parentElement}return null},t.prototype._getLineNumberFor=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=t;r<=n;r++){var i=this._visibleLines.getVisibleLine(r);if(e===i.getDomNode())return r}return-1},t.prototype.getLineWidth=function(e){var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||e>n?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,r=oe["a"].intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!r)return null;var i=[],o=0,a=new X(this.domNode.domNode,this._textRangeRestingSpot),s=0;t&&(s=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](r.startLineNumber,1)).lineNumber);for(var l=this._visibleLines.getStartLineNumber(),u=this._visibleLines.getEndLineNumber(),c=r.startLineNumber;c<=r.endLineNumber;c++)if(!(c<l||c>u)){var d=c===r.startLineNumber?r.startColumn:1,h=c===r.endLineNumber?r.endColumn:this._context.model.getLineMaxColumn(c),f=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,a);if(f){if(t&&c<n){var p=s;s=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](c+1,1)).lineNumber,p!==s&&(f.ranges[f.ranges.length-1].width+=this._typicalHalfwidthCharacterWidth)}i[o++]=new R(f.outsideRenderedLine,c,f.ranges)}}return 0===o?null:i},t.prototype._visibleRangesForLineRange=function(e,t,n){return this.shouldRender()||e<this._visibleLines.getStartLineNumber()||e>this._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new X(this.domNode.domNode,this._textRangeRestingSpot))},t.prototype.visibleRangeForPosition=function(e){var t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new F(t.outsideRenderedLine,t.ranges[0].left):null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),r=1,i=!0,o=t;o<=n;o++){var a=this._visibleLines.getVisibleLine(o);!e||a.getWidthIsFast()?r=Math.max(r,a.getWidth()):i=!1}return i&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(r),i},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,r=this._horizontalRevealRequest.endColumn,i=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var o=this._computeScrollLeftToRevealRange(t,n,r),a=this._isViewportWrapping;a||this._ensureMaxLineWidth(o.maxHorizontalOffset),0===i?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:o.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:o.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth))},t.prototype._computeScrollTopToRevealRange=function(e,t,n,r){var i,o,a=e.top,s=e.height,l=a+s;i=this._context.viewLayout.getVerticalOffsetForLineNumber(n.startLineNumber),o=this._context.viewLayout.getVerticalOffsetForLineNumber(n.endLineNumber)+this._lineHeight;var u,c="mouse"===t&&"default"===this._cursorSurroundingLinesStyle;if(!c){var d=Math.min(s/this._lineHeight/2,this._cursorSurroundingLines);i-=d*this._lineHeight,o+=Math.max(0,d-1)*this._lineHeight}if(0!==r&&4!==r||(o+=this._lineHeight),o-i>s)u=i;else if(1===r||2===r)if(2===r&&a<=i&&o<=l)u=a;else{var h=(i+o)/2;u=Math.max(0,h-s/2)}else u=this._computeMinimumScrolling(a,l,i,o,3===r,4===r);return u},t.prototype._computeScrollLeftToRevealRange=function(e,n,r){var i=0,o=this._context.viewLayout.getCurrentViewport(),a=o.left,s=a+o.width,l=this._visibleRangesForLineRange(e,n,r),u=1073741824,c=0;if(!l)return{scrollLeft:a,maxHorizontalOffset:i};for(var d=0,h=l.ranges;d<h.length;d++){var f=h[d];f.left<u&&(u=f.left),f.left+f.width>c&&(c=f.left+f.width)}i=c,u=Math.max(0,u-t.HORIZONTAL_EXTRA_PX),c+=this._revealHorizontalRightPadding;var p=this._computeMinimumScrolling(a,s,u,c);return{scrollLeft:p,maxHorizontalOffset:i}},t.prototype._computeMinimumScrolling=function(e,t,n,r,i,o){e|=0,t|=0,n|=0,r|=0,i=!!i,o=!!o;var a=t-e,s=r-n;return s<a?i?n:o?Math.max(0,r-a):n<e?n:r>t?Math.max(0,r-a):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(L),on=(n("J+ZK"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),an=function(e){function t(t){var n=e.call(this)||this;n._context=t;var r=n._context.configuration.options,i=r.get(107);return n._decorationsLeft=i.decorationsLeft,n._decorationsWidth=i.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return on(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._decorationsLeft=n.decorationsLeft,this._decorationsWidth=n.decorationsWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i],s=a.options.linesDecorationsClassName;s&&(n[r++]=new Xt(a.range.startLineNumber,a.range.endLineNumber,s))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._render(t,n,this._getDecorations(e)),i=this._decorationsLeft.toString(),o=this._decorationsWidth.toString(),a='" style="left:'+i+"px;width:"+o+'px;"></div>',s=[],l=t;l<=n;l++){for(var u=l-t,c=r[u],d="",h=0,f=c.length;h<f;h++)d+='<div class="cldr '+c[h]+a;s[u]=d}this._renderResult=s},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(Zt),sn=(n("XXBq"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),ln=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._renderResult=null,n._context.addEventHandler(n),n}return sn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],r=0,i=0,o=t.length;i<o;i++){var a=t[i],s=a.options.marginClassName;s&&(n[r++]=new Xt(a.range.startLineNumber,a.range.endLineNumber,s))}return n},t.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,r=this._render(t,n,this._getDecorations(e)),i=[],o=t;o<=n;o++){for(var a=o-t,s=r[a],l="",u=0,c=s.length;u<c;u++)l+='<div class="cmdr '+s[u]+'" style=""></div>';i[a]=l}this._renderResult=i},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(Zt),un=(n("8gvo"),function(){function e(t,n,r,i){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(r),this.a=e._clamp(i)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),cn=n("twdY"),dn=function(){function e(){var e=this;this._onDidChange=new a["a"],this.onDidChange=this._onDidChange.event,this._updateColorMap(),cn["y"].onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=cn["y"].getColorMap();if(!e)return this._colors=[un.Empty],void(this._backgroundIsLight=!0);this._colors=[un.Empty];for(var t=1;t<e.length;t++){var n=e[t].rgba;this._colors[t]=new un(n.r,n.g,n.b,Math.round(255*n.a))}var r=e[2].getRelativeLuminance();this._backgroundIsLight=r>=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),hn=n("MD5Z"),fn=function(){for(var e=[],t=32;t<=126;t++)e.push(t);return e.push(65533),e}(),pn=function(e,t){return e-=32,e<0||e>96?t<=2?(e+96)%96:95:e},gn=function(){function e(t,n){this.scale=n,this.charDataNormal=e.soften(t,.8),this.charDataLight=e.soften(t,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),r=0,i=e.length;r<i;r++)n[r]=e[r]*t;return n},e.prototype.renderChar=function(e,t,n,r,i,o,a,s){var l=1*this.scale,u=2*this.scale;if(t+l>e.width||n+u>e.height)console.warn("bad render request outside image data");else for(var c=s?this.charDataLight:this.charDataNormal,d=pn(r,a),h=4*e.width,f=o.r,p=o.g,g=o.b,m=i.r-f,v=i.g-p,y=i.b-g,b=e.data,_=d*l*u,w=n*h+4*t,x=0;x<u;x++){for(var C=w,S=0;S<l;S++){var O=c[_++]/255;b[C++]=f+m*O,b[C++]=p+v*O,b[C++]=g+y*O,C++}w+=h}},e.prototype.blockRenderChar=function(e,t,n,r,i,o){var a=1*this.scale,s=2*this.scale;if(t+a>e.width||n+s>e.height)console.warn("bad render request outside image data");else for(var l=4*e.width,u=.5,c=i.r,d=i.g,h=i.b,f=r.r-c,p=r.g-d,g=r.b-h,m=c+f*u,v=d+p*u,y=h+g*u,b=e.data,_=n*l+4*t,w=0;w<s;w++){for(var x=_,C=0;C<a;C++)b[x++]=m,b[x++]=v,b[x++]=y,x++;_+=l}},e}(),mn=n("C/vA"),vn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15},yn=function(e){for(var t=new Uint8ClampedArray(e.length/2),n=0;n<e.length;n+=2)t[n>>1]=vn[e[n]]<<4|15&vn[e[n+1]];return t},bn={1:Object(mn["a"])((function(){return yn("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(mn["a"])((function(){return yn("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},_n=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(r=bn[t]?new gn(bn[t](),t):e.createFromSampleData(e.createSampleData(n).data,t),this.lastFontFamily=n,this.lastCreated=r,r);var r},e.createSampleData=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";for(var r=0,i=0,o=fn;i<o.length;i++){var a=o[i];n.fillText(String.fromCharCode(a),r,8),r+=10}return n.getImageData(0,0,960,16)},e.createFromSampleData=function(t,n){var r=61440;if(t.length!==r)throw new Error("Unexpected source in MinimapCharRenderer");var i=e._downsample(t,n);return new gn(i,n)},e._downsampleChar=function(e,t,n,r,i){for(var o=1*i,a=2*i,s=r,l=0,u=0;u<a;u++)for(var c=u/a*16,d=(u+1)/a*16,h=0;h<o;h++){for(var f=h/o*10,p=(h+1)/o*10,g=0,m=0,v=c;v<d;v++)for(var y=t+3840*Math.floor(v),b=1-(v-Math.floor(v)),_=f;_<p;_++){var w=1-(_-Math.floor(_)),x=y+4*Math.floor(_),C=w*b;m+=C,g+=e[x]*e[x+3]/255*C}var S=g/m;l=Math.max(l,S),n[s++]=S}return l},e._downsample=function(e,t){for(var n=2*t*1*t,r=96*n,i=new Uint8ClampedArray(r),o=0,a=0,s=0,l=0;l<96;l++)s=Math.max(s,this._downsampleChar(e,a,i,o,t)),o+=n,a+=40;if(s>0)for(var u=255/s,c=0;c<r;c++)i[c]*=u;return i},e}(),wn=n("M1Kb"),xn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Cn(e,t){return 1===e?2*t:3*t}function Sn(e,t){return 1*t}var On=140,kn=2,En=function(){function e(e){var t=this,n=e.options,r=n.get(105),i=n.get(107),o=n.get(34);this.renderMinimap=0|i.renderMinimap,this.scrollBeyondLastLine=n.get(80);var a=n.get(54);this.showSlider=a.showSlider,this.fontScale=Math.round(a.scale*r),this.charRenderer=Object(mn["a"])((function(){return _n.create(t.fontScale,o.fontFamily)})),this.pixelRatio=r,this.typicalHalfwidthCharacterWidth=o.typicalHalfwidthCharacterWidth,this.lineHeight=n.get(49),this.minimapLeft=i.minimapLeft,this.minimapWidth=i.minimapWidth,this.minimapHeight=i.height,this.canvasInnerWidth=Math.floor(r*this.minimapWidth),this.canvasInnerHeight=Math.floor(r*this.minimapHeight),this.canvasOuterWidth=this.canvasInnerWidth/r,this.canvasOuterHeight=this.canvasInnerHeight/r}return e.prototype.equals=function(e){return this.renderMinimap===e.renderMinimap&&this.scrollBeyondLastLine===e.scrollBeyondLastLine&&this.showSlider===e.showSlider&&this.pixelRatio===e.pixelRatio&&this.typicalHalfwidthCharacterWidth===e.typicalHalfwidthCharacterWidth&&this.lineHeight===e.lineHeight&&this.fontScale===e.fontScale&&this.minimapLeft===e.minimapLeft&&this.minimapWidth===e.minimapWidth&&this.minimapHeight===e.minimapHeight&&this.canvasInnerWidth===e.canvasInnerWidth&&this.canvasInnerHeight===e.canvasInnerHeight&&this.canvasOuterWidth===e.canvasOuterWidth&&this.canvasOuterHeight===e.canvasOuterHeight},e}(),Dn=function(){function e(e,t,n,r,i,o,a){this.scrollTop=e,this.scrollHeight=t,this._computedSliderRatio=n,this.sliderTop=r,this.sliderHeight=i,this.startLineNumber=o,this.endLineNumber=a}return e.prototype.getDesiredScrollTopFromDelta=function(e){var t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)},e.prototype.getDesiredScrollTopFromTouchLocation=function(e){return Math.round((e-this.sliderHeight/2)/this._computedSliderRatio)},e.create=function(t,n,r,i,o,a,s,l,u){var c,d,h=t.pixelRatio,f=Cn(t.renderMinimap,t.fontScale),p=Math.floor(t.canvasInnerHeight/f),g=t.lineHeight;if(o&&r!==a){var m=r-n+1;c=Math.floor(m*f/h)}else{var v=i/g;c=Math.floor(v*f/h)}d=t.scrollBeyondLastLine?(a-1)*f/h:Math.max(0,a*f/h-c),d=Math.min(t.minimapHeight-c,d);var y=d/(l-i),b=s*y,_=0;if(t.scrollBeyondLastLine){v=i/g;_=v}if(p>=a+_){var w=1,x=a;return new e(s,l,y,b,c,w,x)}w=Math.max(1,Math.floor(n-b*h/f));u&&u.scrollHeight===l&&(u.scrollTop>s&&(w=Math.min(w,u.startLineNumber)),u.scrollTop<s&&(w=Math.max(w,u.startLineNumber)));x=Math.min(a,w+p-1);return new e(s,l,y,b,c,w,x)},e}(),Mn=function(){function e(e){this.dy=e}return e.prototype.onContentChanged=function(){this.dy=-1},e.prototype.onTokensChanged=function(){this.dy=-1},e.INVALID=new e(-1),e}(),Nn=function(){function e(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Ot((function(){return Mn.INVALID})),this._renderedLines._set(e.startLineNumber,n)}return e.prototype.linesEquals=function(e){if(!this.scrollEquals(e))return!1;for(var t=this._renderedLines._get(),n=t.lines,r=0,i=n.length;r<i;r++)if(-1===n[r].dy)return!1;return!0},e.prototype.scrollEquals=function(e){return this.renderedLayout.startLineNumber===e.startLineNumber&&this.renderedLayout.endLineNumber===e.endLineNumber},e.prototype._get=function(){var e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}},e.prototype.onLinesChanged=function(e){return this._renderedLines.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){this._renderedLines.onLinesDeleted(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesInserted=function(e){this._renderedLines.onLinesInserted(e.fromLineNumber,e.toLineNumber)},e.prototype.onTokensChanged=function(e){return this._renderedLines.onTokensChanged(e.ranges)},e}(),Ln=function(){function e(t,n,r,i){this._backgroundFillData=e._createBackgroundFillData(n,r,i),this._buffers=[t.createImageData(n,r),t.createImageData(n,r)],this._lastUsedBuffer=0}return e.prototype.getBuffer=function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e},e._createBackgroundFillData=function(e,t,n){for(var r=n.r,i=n.g,o=n.b,a=new Uint8ClampedArray(e*t*4),s=0,l=0;l<t;l++)for(var u=0;u<e;u++)a[s]=r,a[s+1]=i,a[s+2]=o,a[s+3]=255,s+=4;return a},e}(),In=function(e){function t(t){var n=e.call(this,t)||this;return n._selections=[],n._renderDecorations=!1,n._gestureInProgress=!1,n._options=new En(n._context.configuration),n._lastRenderData=null,n._buffers=null,n._selectionColor=n._context.theme.getColor(hn["Hb"]),n._domNode=Object(h["b"])(document.createElement("div")),I.write(n._domNode,8),n._domNode.setClassName(n._getMinimapDomNodeClassName()),n._domNode.setPosition("absolute"),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._shadow=Object(h["b"])(document.createElement("div")),n._shadow.setClassName("minimap-shadow-hidden"),n._domNode.appendChild(n._shadow),n._canvas=Object(h["b"])(document.createElement("canvas")),n._canvas.setPosition("absolute"),n._canvas.setLeft(0),n._domNode.appendChild(n._canvas),n._decorationsCanvas=Object(h["b"])(document.createElement("canvas")),n._decorationsCanvas.setPosition("absolute"),n._decorationsCanvas.setClassName("minimap-decorations-layer"),n._decorationsCanvas.setLeft(0),n._domNode.appendChild(n._decorationsCanvas),n._slider=Object(h["b"])(document.createElement("div")),n._slider.setPosition("absolute"),n._slider.setClassName("minimap-slider"),n._slider.setLayerHinting(!0),n._slider.setContain("strict"),n._domNode.appendChild(n._slider),n._sliderHorizontal=Object(h["b"])(document.createElement("div")),n._sliderHorizontal.setPosition("absolute"),n._sliderHorizontal.setClassName("minimap-slider-horizontal"),n._slider.appendChild(n._sliderHorizontal),n._tokensColorTracker=dn.getInstance(),n._applyLayout(),n._mouseDownListener=i["n"](n._domNode.domNode,"mousedown",(function(e){e.preventDefault();var t=n._options.renderMinimap;if(0!==t&&n._lastRenderData){var r=Cn(t,n._options.fontScale),i=n._options.pixelRatio*e.browserEvent.offsetY,o=Math.floor(i/r),a=o+n._lastRenderData.renderedLayout.startLineNumber;a=Math.min(a,n._context.model.getLineCount()),n._context.privateViewEventBus.emit(new rt("mouse",new oe["a"](a,1,a,1),1,!1,0))}})),n._sliderMouseMoveMonitor=new y["a"],n._sliderMouseDownListener=i["n"](n._slider.domNode,"mousedown",(function(e){if(e.preventDefault(),e.stopPropagation(),e.leftButton&&n._lastRenderData){var t=e.posy,r=e.posx,i=n._lastRenderData.renderedLayout;n._slider.toggleClassName("active",!0),n._sliderMouseMoveMonitor.startMonitoring(e.target,e.buttons,y["b"],(function(e){var o=Math.abs(e.posx-r);if(f["h"]&&o>On)n._context.viewLayout.setScrollPositionNow({scrollTop:i.scrollTop});else{var a=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:i.getDesiredScrollTopFromDelta(a)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n._gestureDisposable=p["b"].addTarget(n._domNode.domNode),n._sliderTouchStartListener=i["i"](n._domNode.domNode,p["a"].Start,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&(n._slider.toggleClassName("active",!0),n._gestureInProgress=!0,n.scrollDueToTouchEvent(e))})),n._sliderTouchMoveListener=i["n"](n._domNode.domNode,p["a"].Change,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&n._gestureInProgress&&n.scrollDueToTouchEvent(e)})),n._sliderTouchEndListener=i["n"](n._domNode.domNode,p["a"].End,(function(e){e.preventDefault(),e.stopPropagation(),n._gestureInProgress=!1,n._slider.toggleClassName("active",!1)})),n}return xn(t,e),t.prototype.scrollDueToTouchEvent=function(e){var t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._context.viewLayout.setScrollPositionNow({scrollTop:n})},t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new Ln(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},t.prototype._onOptionsMaybeChanged=function(){var e=new En(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._renderDecorations=!0,!0},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.onDecorationsChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(hn["Hb"]),this._renderDecorations=!0,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){var t=this._options.renderMinimap;if(0===t)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var n=Dn.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(n.sliderTop),this._slider.setHeight(n.sliderHeight);var r=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,i=Math.min(this._options.minimapWidth,Math.round(r*Sn(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(n.sliderHeight),this.renderDecorations(n),this._lastRenderData=this.renderLines(n)},t.prototype.renderDecorations=function(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._context.model.getDecorationsInViewport(new oe["a"](e.startLineNumber,1,e.endLineNumber,this._context.model.getLineMaxColumn(e.endLineNumber))),n=this._options,r=n.renderMinimap,i=n.canvasInnerWidth,o=n.canvasInnerHeight,a=Cn(r,this._options.fontScale),s=Sn(r,this._options.fontScale),l=this._context.model.getOptions().tabSize,u=this._decorationsCanvas.domNode.getContext("2d");u.clearRect(0,0,i,o);for(var c=new Map,d=0;d<this._selections.length;d++)for(var h=this._selections[d],f=h.startLineNumber;f<=h.endLineNumber;f++)this.renderDecorationOnLine(u,c,h,this._selectionColor,e,f,a,a,l,s);for(d=0;d<t.length;d++){var p=t[d];if(p.options.minimap){var g=p.options.minimap.getColor(this._context.theme);for(f=p.range.startLineNumber;f<=p.range.endLineNumber;f++)switch(p.options.minimap.position){case wn["c"].Inline:this.renderDecorationOnLine(u,c,p.range,g,e,f,a,a,l,s);continue;case wn["c"].Gutter:var m=(f-e.startLineNumber)*a,v=2;this.renderDecoration(u,g,v,m,kn,a);continue}}}}},t.prototype.renderDecorationOnLine=function(e,t,n,r,i,o,a,s,l,u){var c=(o-i.startLineNumber)*s;if(!(c+a<0||c>this._options.canvasInnerHeight)){var d=t.get(o),h=!d;if(!d){var f=this._context.model.getLineContent(o);d=[K["f"]];for(var p=1;p<f.length+1;p++){var g=f.charCodeAt(p-1),m=9===g?l*u:Pe["y"](g)?2*u:u;d[p]=d[p-1]+m}t.set(o,d)}var v=n.startColumn,y=n.endColumn,b=n.startLineNumber,_=n.endLineNumber,w=b===o?d[v-1]:K["f"],x=_>o?d.length-1:y-1;if(x>0){var C=d[x]-w||2;this.renderDecoration(e,r,w,c,C,a)}h&&this.renderLineHighlight(e,r,c,a)}},t.prototype.renderLineHighlight=function(e,t,n,r){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(K["f"],n,e.canvas.width,r)},t.prototype.renderDecoration=function(e,t,n,r,i,o){e.fillStyle=t&&t.toString()||"",e.fillRect(n,r,i,o)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,r=this._options.charRenderer(),i=e.startLineNumber,o=e.endLineNumber,a=Cn(n,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var s=this._lastRenderData._get();return new Nn(e,s.imageData,s.lines)}var l=this._getBuffer();if(!l)return null;for(var u=t._renderUntouchedLines(l,i,o,a,this._lastRenderData),c=u[0],d=u[1],h=u[2],f=this._context.model.getMinimapLinesRenderingData(i,o,h),p=f.tabSize,g=this._tokensColorTracker.getColor(2),m=this._tokensColorTracker.backgroundIsLight(),v=0,y=[],b=0,_=o-i+1;b<_;b++)h[b]&&t._renderLine(l,g,m,n,this._tokensColorTracker,r,v,p,f.data[b],this._options.fontScale),y[b]=new Mn(v),v+=a;var w=-1===c?0:c,x=-1===d?l.height:d,C=x-w,S=this._canvas.domNode.getContext("2d");return S.putImageData(l,0,0,0,w,l.width,C),new Nn(e,l,y)},t._renderUntouchedLines=function(e,t,n,r,i){var o=[];if(!i){for(var a=0,s=n-t+1;a<s;a++)o[a]=!0;return[-1,-1,o]}for(var l=i._get(),u=l.imageData.data,c=l.rendLineNumberStart,d=l.lines,h=d.length,f=e.width,p=e.data,g=(n-t+1)*r*f*4,m=-1,v=-1,y=-1,b=-1,_=-1,w=-1,x=0,C=t;C<=n;C++){var S=C-t,O=C-c,k=O>=0&&O<h?d[O].dy:-1;if(-1!==k){var E=k*f*4,D=(k+r)*f*4,M=x*f*4,N=(x+r)*f*4;b===E&&w===M?(b=D,w=N):(-1!==y&&(p.set(u.subarray(y,b),_),-1===m&&0===y&&y===_&&(m=b),-1===v&&b===g&&y===_&&(v=y)),y=E,b=D,_=M,w=N),o[S]=!1,x+=r}else o[S]=!0,x+=r}-1!==y&&(p.set(u.subarray(y,b),_),-1===m&&0===y&&y===_&&(m=b),-1===v&&b===g&&y===_&&(v=y));var L=-1===m?-1:m/(4*f),I=-1===v?-1:v/(4*f);return[L,I,o]},t._renderLine=function(e,t,n,r,i,o,a,s,l,u){for(var c=l.content,d=l.tokens,h=Sn(r,u),f=e.width-h,p=K["f"],g=0,m=0,v=0,y=d.getCount();v<y;v++)for(var b=d.getEndOffset(v),_=d.getForeground(v),w=i.getColor(_);g<b;g++){if(p>f)return;var x=c.charCodeAt(g);if(9===x){var C=s-(g+m)%s;m+=C-1,p+=C*h}else if(32===x)p+=h;else for(var S=Pe["y"](x)?2:1,O=0;O<S;O++)if(2===r?o.blockRenderChar(e,p,a,w,t,n):o.renderChar(e,p,a,x,w,t,u,n),p+=h,p>f)return}},t}(L);Object(U["e"])((function(e,t){var n=e.getColor(hn["Vb"]);if(n){var r=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+r+"; }")}var i=e.getColor(hn["Wb"]);if(i){var o=i.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+o+"; }")}var a=e.getColor(hn["Ub"]);if(a){var s=a.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+s+"; }")}var l=e.getColor(hn["Tb"]);l&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+l+" -6px 0 6px -6px inset; }")}));n("cl4r");var Tn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pn=function(e){function t(t){var n=e.call(this,t)||this,r=n._context.configuration.options,i=r.get(107);return n._widgets={},n._verticalScrollbarWidth=i.verticalScrollbarWidth,n._minimapWidth=i.minimapWidth,n._horizontalScrollbarHeight=i.horizontalScrollbarHeight,n._editorHeight=i.height,n._editorWidth=i.width,n._domNode=Object(h["b"])(document.createElement("div")),I.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return Tn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._verticalScrollbarWidth=n.verticalScrollbarWidth,this._minimapWidth=n.minimapWidth,this._horizontalScrollbarHeight=n.horizontalScrollbarHeight,this._editorHeight=n.height,this._editorWidth=n.width,!0},t.prototype.addWidget=function(e){var t=Object(h["b"])(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t],r=n.domNode.domNode;delete this._widgets[t],r.parentNode.removeChild(r),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,r=t.length;n<r;n++){var i=t[n];this._renderWidget(this._widgets[i])}},t}(L),An=n("zrhQ"),Rn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jn=function(){function e(e,t){var n=e.options;this.lineHeight=n.get(49),this.pixelRatio=n.get(105),this.overviewRulerLanes=n.get(63),this.renderBorder=n.get(62);var r=t.getColor(Be["k"]);this.borderColor=r?r.toString():null,this.hideCursor=n.get(42);var i=t.getColor(Be["f"]);this.cursorColor=i?i.transparent(.7).toString():null,this.themeType=t.type;var o=n.get(54),a=o.enabled,s=o.side,l=a?cn["y"].getDefaultBackground():null;this.backgroundColor=null===l||"left"===s?null:An["a"].Format.CSS.formatHex(l);var u=n.get(107),c=u.overviewRuler;this.top=c.top,this.right=c.right,this.domWidth=c.width,this.domHeight=c.height,0===this.overviewRulerLanes?(this.canvasWidth=0,this.canvasHeight=0):(this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0);var d=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),h=d[0],f=d[1];this.x=h,this.w=f}return e.prototype._initLanes=function(e,t,n){var r=t-e;if(n>=3){var i=Math.floor(r/3),o=Math.floor(r/3),a=r-i-o,s=e,l=s+i,u=s+i+a;return[[0,s,l,s,u,s,l,s],[0,i,a,i+a,o,i+a+o,a+o,i+a+o]]}if(2===n){i=Math.floor(r/2),o=r-i,s=e,u=s+i;return[[0,s,s,s,u,s,s,s],[0,i,i,i,o,i+o,i+o,i+o]]}var c=e,d=r;return[[0,c,c,c,c,c,c,c],[0,d,d,d,d,d,d,d]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),Fn=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(h["b"])(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setContain("strict"),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=cn["y"].onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return Rn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new jn(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;t<n;t++)this._cursorPositions[t]=e.selections[t].getPosition();return this._cursorPositions.sort(ie["a"].compare),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._render()},t.prototype._render=function(){if(0!==this._settings.overviewRulerLanes){var e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,r=this._context.viewLayout,i=this._context.viewLayout.getScrollHeight(),o=t/i,a=this._context.model.getAllOverviewRulerDecorations(this._context.theme),s=6*this._settings.pixelRatio|0,l=s/2|0,u=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?u.clearRect(0,0,e,t):(u.fillStyle=this._settings.backgroundColor,u.fillRect(0,0,e,t));var c=this._settings.x,d=this._settings.w,h=Object.keys(a);h.sort();for(var f=0,p=h.length;f<p;f++){var g=h[f],m=a[g];u.fillStyle=g;for(var v=0,y=0,b=0,_=0,w=m.length;_<w;_++){var x=m[3*_],C=m[3*_+1],S=m[3*_+2],O=r.getVerticalOffsetForLineNumber(C)*o|0,k=(r.getVerticalOffsetForLineNumber(S)+n)*o|0,E=k-O;if(E<s){var D=(O+k)/2|0;D<l?D=l:D+l>t&&(D=t-l),O=D-l,k=D+l}O>b+1||x!==v?(0!==_&&u.fillRect(c[v],y,d[v],b-y),v=x,y=O,b=k):k>b&&(b=k)}u.fillRect(c[v],y,d[v],b-y)}if(!this._settings.hideCursor&&this._settings.cursorColor){var M=2*this._settings.pixelRatio|0,N=M/2|0,L=this._settings.x[7],I=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(y=-100,b=-100,_=0,w=this._cursorPositions.length;_<w;_++){var T=this._cursorPositions[_];D=r.getVerticalOffsetForLineNumber(T.lineNumber)*o|0;D<N?D=N:D+N>t&&(D=t-N);O=D-N,k=O+M;O>b+1?(0!==_&&u.fillRect(L,y,I,b-y),y=O,b=k):k>b&&(b=k)}u.fillRect(L,y,I,b-y)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())}else this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"")},t}(L),Bn=n("MvK1"),Vn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zn=function(e){function t(t,n){var r=e.call(this)||this;r._context=t;var i=r._context.configuration.options;return r._domNode=Object(h["b"])(document.createElement("canvas")),r._domNode.setClassName(n),r._domNode.setPosition("absolute"),r._domNode.setLayerHinting(!0),r._domNode.setContain("strict"),r._zoneManager=new Bn["b"]((function(e){return r._context.viewLayout.getVerticalOffsetForLineNumber(e)})),r._zoneManager.setDOMWidth(0),r._zoneManager.setDOMHeight(0),r._zoneManager.setOuterHeight(r._context.viewLayout.getScrollHeight()),r._zoneManager.setLineHeight(i.get(49)),r._zoneManager.setPixelRatio(i.get(105)),r._context.addEventHandler(r),r}return Vn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return e.hasChanged(49)&&(this._zoneManager.setLineHeight(t.get(49)),this._render()),e.hasChanged(105)&&(this._zoneManager.setPixelRatio(t.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,t=this._zoneManager.setDOMHeight(e.height)||t,t&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),r=this._zoneManager.getId2Color(),i=this._domNode.domNode.getContext("2d");return i.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(i,n,r,e),!0},t.prototype._renderOneLane=function(e,t,n,r){for(var i=0,o=0,a=0,s=0,l=t;s<l.length;s++){var u=l[s],c=u.colorId,d=u.from,h=u.to;c!==i?(e.fillRect(0,o,r,a-o),i=c,e.fillStyle=n[i],o=d,a=h):a>=d?a=Math.max(a,h):(e.fillRect(0,o,r,a-o),o=d,a=h)}e.fillRect(0,o,r,a-o)},t}(M),Wn=(n("7zd4"),function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),Hn=function(e){function t(t){var n=e.call(this,t)||this;n.domNode=Object(h["b"])(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[];var r=n._context.configuration.options;return n._rulers=r.get(77),n._typicalHalfwidthCharacterWidth=r.get(34).typicalHalfwidthCharacterWidth,n}return Wn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._rulers=t.get(77),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e<t){var n=this._context.model.getOptions().tabSize,r=n,i=t-e;while(i>0){var o=Object(h["b"])(document.createElement("div"));o.setClassName("view-ruler"),o.setWidth(r),this.domNode.appendChild(o),this._renderedRulers.push(o),i--}}else{var a=e-t;while(a>0){o=this._renderedRulers.pop();this.domNode.removeChild(o),a--}}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t<n;t++){var r=this._renderedRulers[t];r.setHeight(Math.min(e.scrollHeight,1e6)),r.setLeft(this._rulers[t]*this._typicalHalfwidthCharacterWidth)}},t}(L);Object(U["e"])((function(e,t){var n=e.getColor(Be["l"]);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")}));n("2MPD");var Un=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kn=function(e){function t(t){var n=e.call(this,t)||this;n._scrollTop=0,n._width=0,n._updateWidth(),n._shouldShow=!1;var r=n._context.configuration.options,i=r.get(78);return n._useShadows=i.useShadows,n._domNode=Object(h["b"])(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n}return Un(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._updateShouldShow=function(){var e=this._useShadows&&this._scrollTop>0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.options,t=e.get(107);0===t.renderMinimap||t.minimapWidth>0&&0===t.minimapLeft?this._width=t.width:this._width=t.width-t.minimapWidth-t.verticalScrollbarWidth},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(78);return this._useShadows=n.useShadows,this._updateWidth(),this._updateShouldShow(),!0},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(L);Object(U["e"])((function(e,t){var n=e.getColor(hn["Tb"]);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("eC1c");var Gn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qn=function(){function e(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null}return e}(),Yn=function(){function e(e,t){this.lineNumber=e,this.ranges=t}return e}();function Xn(e){return new qn(e)}function Zn(e){return new Yn(e.lineNumber,e.ranges.map(Xn))}var Qn=g["f"],$n=function(e){function t(t){var n=e.call(this)||this;n._previousFrameVisibleRangesWithStyle=[],n._context=t;var r=n._context.configuration.options;return n._lineHeight=r.get(49),n._roundedSelection=r.get(76),n._typicalHalfwidthCharacterWidth=r.get(34).typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return Gn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._roundedSelection=t.get(76),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];if(r.ranges.length>1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var r=this._typicalHalfwidthCharacterWidth/4,i=null,o=null;if(n&&n.length>0&&t.length>0){var a=t[0].lineNumber;if(a===e.startLineNumber)for(var s=0;!i&&s<n.length;s++)n[s].lineNumber===a&&(i=n[s].ranges[0]);var l=t[t.length-1].lineNumber;if(l===e.endLineNumber)for(s=n.length-1;!o&&s>=0;s--)n[s].lineNumber===l&&(o=n[s].ranges[0]);i&&!i.startStyle&&(i=null),o&&!o.startStyle&&(o=null)}s=0;for(var u=t.length;s<u;s++){var c=t[s].ranges[0],d=c.left,h=c.left+c.width,f={top:0,bottom:0},p={top:0,bottom:0};if(s>0){var g=t[s-1].ranges[0].left,m=t[s-1].ranges[0].left+t[s-1].ranges[0].width;Jn(d-g)<r?f.top=2:d>g&&(f.top=1),Jn(h-m)<r?p.top=2:g<h&&h<m&&(p.top=1)}else i&&(f.top=i.startStyle.top,p.top=i.endStyle.top);if(s+1<u){var v=t[s+1].ranges[0].left,y=t[s+1].ranges[0].left+t[s+1].ranges[0].width;Jn(d-v)<r?f.bottom=2:v<d&&d<y&&(f.bottom=1),Jn(h-y)<r?p.bottom=2:h<y&&(p.bottom=1)}else o&&(f.bottom=o.startStyle.bottom,p.bottom=o.endStyle.bottom);c.startStyle=f,c.endStyle=p}},t.prototype._getVisibleRangesWithStyle=function(e,t,n){var r=t.linesVisibleRangesForRange(e,!0)||[],i=r.map(Zn),o=this._visibleRangesHaveGaps(i);return Qn||o||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,i,n),i},t.prototype._createSelectionPiece=function(e,t,n,r,i){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+r.toString()+"px;width:"+i.toString()+"px;height:"+t+'px;"></div>'},t.prototype._actualRenderOneSelection=function(e,n,r,i){if(0!==i.length)for(var o=!!i[0].ranges[0].startStyle,a=this._lineHeight.toString(),s=(this._lineHeight-1).toString(),l=i[0].lineNumber,u=i[i.length-1].lineNumber,c=0,d=i.length;c<d;c++){for(var h=i[c],f=h.lineNumber,p=f-n,g=r&&(f===u||f===l)?s:a,m=r&&f===l?1:0,v="",y="",b=0,_=h.ranges.length;b<_;b++){var w=h.ranges[b];if(o){var x=w.startStyle,C=w.endStyle;if(1===x.top||1===x.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,w.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH);var S=t.EDITOR_BACKGROUND_CLASS_NAME;1===x.top&&(S+=" "+t.SELECTION_TOP_RIGHT),1===x.bottom&&(S+=" "+t.SELECTION_BOTTOM_RIGHT),v+=this._createSelectionPiece(m,g,S,w.left-t.ROUNDED_PIECE_WIDTH,t.ROUNDED_PIECE_WIDTH)}if(1===C.top||1===C.bottom){v+=this._createSelectionPiece(m,g,t.SELECTION_CLASS_NAME,w.left+w.width,t.ROUNDED_PIECE_WIDTH);var O=t.EDITOR_BACKGROUND_CLASS_NAME;1===C.top&&(O+=" "+t.SELECTION_TOP_LEFT),1===C.bottom&&(O+=" "+t.SELECTION_BOTTOM_LEFT),v+=this._createSelectionPiece(m,g,O,w.left+w.width,t.ROUNDED_PIECE_WIDTH)}}var k=t.SELECTION_CLASS_NAME;if(o){x=w.startStyle,C=w.endStyle;0===x.top&&(k+=" "+t.SELECTION_TOP_LEFT),0===x.bottom&&(k+=" "+t.SELECTION_BOTTOM_LEFT),0===C.top&&(k+=" "+t.SELECTION_TOP_RIGHT),0===C.bottom&&(k+=" "+t.SELECTION_BOTTOM_RIGHT)}y+=this._createSelectionPiece(m,g,k,w.left,w.width)}e[p][0]+=v,e[p][1]+=y}},t.prototype.prepareRender=function(e){for(var t=[],n=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,i=n;i<=r;i++){var o=i-n;t[o]=["",""]}for(var a=[],s=0,l=this._selections.length;s<l;s++){var u=this._selections[s];if(u.isEmpty())a[s]=null;else{var c=this._getVisibleRangesWithStyle(u,e,this._previousFrameVisibleRangesWithStyle[s]);a[s]=c,this._actualRenderOneSelection(t,n,this._selections.length>1,c)}}this._previousFrameVisibleRangesWithStyle=a,this._renderResult=t.map((function(e){var t=e[0],n=e[1];return t+n}))},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(Fe);function Jn(e){return e<0?-e:e}Object(U["e"])((function(e,t){var n=e.getColor(hn["K"]);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var r=e.getColor(hn["F"]);r&&t.addRule(".monaco-editor .selected-text { background-color: "+r+"; }");var i=e.getColor(hn["L"]);i&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+i+"; }")}));n("2Tsy");var er=function(){function e(e,t,n,r,i,o){this.top=e,this.left=t,this.width=n,this.height=r,this.textContent=i,this.textContentClassName=o}return e}(),tr=function(){function e(e){this._context=e;var t=this._context.configuration.options,n=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(h["b"])(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),u["a"].applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new ie["a"](1,1),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),u["a"].applyFontInfo(this._domNode,n),!0},e.prototype.onCursorPositionChanged=function(e){return this._position=e,!0},e.prototype._prepareRender=function(e){var t="";if(this._cursorStyle===K["g"].Line||this._cursorStyle===K["g"].LineThin){var n,r=e.visibleRangeForPosition(this._position);if(!r||r.outsideRenderedLine)return null;if(this._cursorStyle===K["g"].Line){if(n=i["t"](this._lineCursorWidth>0?this._lineCursorWidth:2),n>2){var o=this._context.model.getLineContent(this._position.lineNumber),a=Pe["E"](o,this._position.column-1);t=o.substr(this._position.column-1,a)}}else n=i["t"](1);var s=r.left;n>=2&&s>=1&&(s-=1);var l=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new er(l,s,n,this._lineHeight,t,"")}var u=this._context.model.getLineContent(this._position.lineNumber),c=Pe["E"](u,this._position.column-1),d=e.linesVisibleRangesForRange(new oe["a"](this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+c),!1);if(!d||0===d.length)return null;var h=d[0];if(h.outsideRenderedLine||0===h.ranges.length)return null;var f=h.ranges[0],p=f.width<1?this._typicalHalfwidthCharacterWidth:f.width,g="";if(this._cursorStyle===K["g"].Block){var m=this._context.model.getViewLineData(this._position.lineNumber);t=u.substr(this._position.column-1,c);var v=m.tokens.findTokenIndexAtOffset(this._position.column-1);g=m.tokens.getClassName(v)}var y=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,b=this._lineHeight;return this._cursorStyle!==K["g"].Underline&&this._cursorStyle!==K["g"].UnderlineThin||(y+=this._lineHeight-2,b=2),new er(y,f.left,p,b,t,g)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},e}(),nr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rr=function(e){function t(t){var n=e.call(this,t)||this,r=n._context.configuration.options;return n._readOnly=r.get(68),n._cursorBlinking=r.get(16),n._cursorStyle=r.get(18),n._cursorSmoothCaretAnimation=r.get(17),n._selectionIsEmpty=!0,n._isVisible=!1,n._primaryCursor=new tr(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(h["b"])(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new v["e"],n._cursorFlatBlinkInterval=new v["c"],n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return nr(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;this._readOnly=t.get(68),this._cursorBlinking=t.get(16),this._cursorStyle=t.get(18),this._cursorSmoothCaretAnimation=t.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(var n=0,r=this._secondaryCursors.length;n<r;n++)this._secondaryCursors[n].onConfigurationChanged(e);return!0},t.prototype._onCursorPositionChanged=function(e,t){if(this._primaryCursor.onCursorPositionChanged(e),this._updateBlinking(),this._secondaryCursors.length<t.length)for(var n=t.length-this._secondaryCursors.length,r=0;r<n;r++){var i=new tr(this._context);this._domNode.domNode.insertBefore(i.getDomNode().domNode,this._primaryCursor.getDomNode().domNode.nextSibling),this._secondaryCursors.push(i)}else if(this._secondaryCursors.length>t.length){var o=this._secondaryCursors.length-t.length;for(r=0;r<o;r++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(r=0;r<t.length;r++)this._secondaryCursors[r].onCursorPositionChanged(t[r])},t.prototype.onCursorStateChanged=function(e){for(var t=[],n=0,r=e.selections.length;n<r;n++)t[n]=e.selections[n].getPosition();this._onCursorPositionChanged(t[0],t.slice(1));var i=e.selections[0].isEmpty();return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,this._updateDomClassName()),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onFocusChanged=function(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onTokensChanged=function(e){var t=function(t){for(var n=0,r=e.ranges.length;n<r;n++)if(e.ranges[n].fromLineNumber<=t.lineNumber&&t.lineNumber<=e.ranges[n].toLineNumber)return!0;return!1};if(t(this._primaryCursor.getPosition()))return!0;for(var n=0,r=this._secondaryCursors;n<r.length;n++){var i=r[n];if(t(i.getPosition()))return!0}return!1},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getCursorBlinking=function(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0},t.prototype._updateBlinking=function(){var e=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var n=this._getCursorBlinking(),r=0===n,i=5===n;r?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),r||i||(1===n?this._cursorFlatBlinkInterval.cancelAndSet((function(){e._isVisible?e._hide():e._show()}),t.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet((function(){e._blinkingEnabled=!0,e._updateDomClassName()}),t.BLINK_INTERVAL))},t.prototype._updateDomClassName=function(){this._domNode.setClassName(this._getClassName())},t.prototype._getClassName=function(){var e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case K["g"].Line:e+=" cursor-line-style";break;case K["g"].Block:e+=" cursor-block-style";break;case K["g"].Underline:e+=" cursor-underline-style";break;case K["g"].LineThin:e+=" cursor-line-thin-style";break;case K["g"].BlockOutline:e+=" cursor-block-outline-style";break;case K["g"].UnderlineThin:e+=" cursor-underline-thin-style";break;default:e+=" cursor-line-style"}if(this._blinkingEnabled)switch(this._getCursorBlinking()){case 1:e+=" cursor-blink";break;case 2:e+=" cursor-smooth";break;case 3:e+=" cursor-phase";break;case 4:e+=" cursor-expand";break;case 5:e+=" cursor-solid";break;default:e+=" cursor-solid"}else e+=" cursor-solid";return this._cursorSmoothCaretAnimation&&(e+=" cursor-smooth-caret-animation"),e},t.prototype._show=function(){this._primaryCursor.show();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0},t.prototype._hide=function(){this._primaryCursor.hide();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1},t.prototype.prepareRender=function(e){this._primaryCursor.prepareRender(e);for(var t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)},t.prototype.render=function(e){var t=[],n=0,r=this._primaryCursor.render(e);r&&(t[n++]=r);for(var i=0,o=this._secondaryCursors.length;i<o;i++){var a=this._secondaryCursors[i].render(e);a&&(t[n++]=a)}this._renderData=t},t.prototype.getLastRenderData=function(){return this._renderData},t.BLINK_INTERVAL=500,t}(L);Object(U["e"])((function(e,t){var n=e.getColor(Be["f"]);if(n){var r=e.getColor(Be["e"]);r||(r=n.opposite()),t.addRule(".monaco-editor .cursor { background-color: "+n+"; border-color: "+n+"; color: "+r+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid "+r+"; border-right: 1px solid "+r+"; }")}}));var ir=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),or=function(){throw new Error("Invalid change accessor")},ar=function(e){function t(t){var n=e.call(this,t)||this,r=n._context.configuration.options,i=r.get(107);return n._lineHeight=r.get(49),n._contentWidth=i.contentWidth,n._contentLeft=i.contentLeft,n.domNode=Object(h["b"])(document.createElement("div")),n.domNode.setClassName("view-zones"),n.domNode.setPosition("absolute"),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.marginDomNode=Object(h["b"])(document.createElement("div")),n.marginDomNode.setClassName("margin-view-zones"),n.marginDomNode.setPosition("absolute"),n.marginDomNode.setAttribute("role","presentation"),n.marginDomNode.setAttribute("aria-hidden","true"),n._zones={},n}return ir(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._zones={}},t.prototype._recomputeWhitespacesProps=function(){for(var e=this,t=this._context.viewLayout.getWhitespaces(),n=new Map,r=0,i=t;r<i.length;r++){var o=i[r];n.set(o.id,o)}return this._context.viewLayout.changeWhitespace((function(t){for(var r=!1,i=Object.keys(e._zones),o=0,a=i.length;o<a;o++){var s=i[o],l=e._zones[s],u=e._computeWhitespaceProps(l.delegate),c=n.get(s);!c||c.afterLineNumber===u.afterViewLineNumber&&c.height===u.heightInPx||(t.changeOneWhitespace(s,u.afterViewLineNumber,u.heightInPx),e._safeCallOnComputedHeight(l.delegate,u.heightInPx),r=!0)}return r}))},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._contentWidth=n.contentWidth,this._contentLeft=n.contentLeft,e.hasChanged(49)&&this._recomputeWhitespacesProps(),!0},t.prototype.onLineMappingChanged=function(e){var t=this._recomputeWhitespacesProps();return t&&this._context.viewLayout.onHeightMaybeChanged(),t},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype._getZoneOrdinal=function(e){return"undefined"!==typeof e.afterColumn?e.afterColumn:1e4},t.prototype._computeWhitespaceProps=function(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};var t,n;if("undefined"!==typeof e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{var r=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new ie["a"](r,this._context.model.getModelLineMaxColumn(r))}n=t.column===this._context.model.getModelLineMaxColumn(t.lineNumber)?this._context.model.validateModelPosition({lineNumber:t.lineNumber+1,column:1}):this._context.model.validateModelPosition({lineNumber:t.lineNumber,column:t.column+1});var i=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(t),o=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:o?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}},t.prototype.changeViewZones=function(e){var t=this;return this._context.viewLayout.changeWhitespace((function(n){var r=!1,i={addZone:function(e){return r=!0,t._addZone(n,e)},removeZone:function(e){e&&(r=t._removeZone(n,e)||r)},layoutZone:function(e){e&&(r=t._layoutZone(n,e)||r)}};return sr(e,i),i.addZone=or,i.removeZone=or,i.layoutZone=or,r}))},t.prototype._addZone=function(e,t){var n=this._computeWhitespaceProps(t),r=e.insertWhitespace(n.afterViewLineNumber,this._getZoneOrdinal(t),n.heightInPx,n.minWidthInPx),i={whitespaceId:r,delegate:t,isVisible:!1,domNode:Object(h["b"])(t.domNode),marginDomNode:t.marginDomNode?Object(h["b"])(t.marginDomNode):null};return this._safeCallOnComputedHeight(i.delegate,n.heightInPx),i.domNode.setPosition("absolute"),i.domNode.domNode.style.width="100%",i.domNode.setDisplay("none"),i.domNode.setAttribute("monaco-view-zone",i.whitespaceId),this.domNode.appendChild(i.domNode),i.marginDomNode&&(i.marginDomNode.setPosition("absolute"),i.marginDomNode.domNode.style.width="100%",i.marginDomNode.setDisplay("none"),i.marginDomNode.setAttribute("monaco-view-zone",i.whitespaceId),this.marginDomNode.appendChild(i.marginDomNode)),this._zones[i.whitespaceId]=i,this.setShouldRender(),i.whitespaceId},t.prototype._removeZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t];return delete this._zones[t],e.removeWhitespace(n.whitespaceId),n.domNode.removeAttribute("monaco-visible-view-zone"),n.domNode.removeAttribute("monaco-view-zone"),n.domNode.domNode.parentNode.removeChild(n.domNode.domNode),n.marginDomNode&&(n.marginDomNode.removeAttribute("monaco-visible-view-zone"),n.marginDomNode.removeAttribute("monaco-view-zone"),n.marginDomNode.domNode.parentNode.removeChild(n.marginDomNode.domNode)),this.setShouldRender(),!0}return!1},t.prototype._layoutZone=function(e,t){if(this._zones.hasOwnProperty(t)){var n=this._zones[t],r=this._computeWhitespaceProps(n.delegate);return e.changeOneWhitespace(n.whitespaceId,r.afterViewLineNumber,r.heightInPx),this._safeCallOnComputedHeight(n.delegate,r.heightInPx),this.setShouldRender(),!0}return!1},t.prototype.shouldSuppressMouseDownOnViewZone=function(e){if(this._zones.hasOwnProperty(e)){var t=this._zones[e];return Boolean(t.delegate.suppressMouseDown)}return!1},t.prototype._heightInPixels=function(e){return"number"===typeof e.heightInPx?e.heightInPx:"number"===typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight},t.prototype._minWidthInPixels=function(e){return"number"===typeof e.minWidthInPx?e.minWidthInPx:0},t.prototype._safeCallOnComputedHeight=function(e,t){if("function"===typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(n){Object(o["e"])(n)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"===typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(n){Object(o["e"])(n)}},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){for(var t=e.viewportData.whitespaceViewportData,n={},r=!1,i=0,o=t.length;i<o;i++)n[t[i].id]=t[i],r=!0;var a=Object.keys(this._zones);for(i=0,o=a.length;i<o;i++){var s=a[i],l=this._zones[s],u=0,c=0,d="none";n.hasOwnProperty(s)?(u=n[s].verticalOffset-e.bigNumbersDelta,c=n[s].height,d="block",l.isVisible||(l.domNode.setAttribute("monaco-visible-view-zone","true"),l.isVisible=!0),this._safeCallOnDomNodeTop(l.delegate,e.getScrolledTopFromAbsoluteTop(n[s].verticalOffset))):(l.isVisible&&(l.domNode.removeAttribute("monaco-visible-view-zone"),l.isVisible=!1),this._safeCallOnDomNodeTop(l.delegate,e.getScrolledTopFromAbsoluteTop(-1e6))),l.domNode.setTop(u),l.domNode.setHeight(c),l.domNode.setDisplay(d),l.marginDomNode&&(l.marginDomNode.setTop(u),l.marginDomNode.setHeight(c),l.marginDomNode.setDisplay(d))}r&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))},t}(L);function sr(e,t){try{return e(t)}catch(n){Object(o["e"])(n)}}var lr=function(){function e(e,t,n,r){this.configuration=e,this.theme=t,this.model=n,this.viewLayout=n.viewLayout,this.privateViewEventBus=r}return e.prototype.addEventHandler=function(e){this.privateViewEventBus.addEventHandler(e)},e.prototype.removeEventHandler=function(e){this.privateViewEventBus.removeEventHandler(e)},e}(),ur=function(){function e(e){this._eventHandlerGateKeeper=e,this._eventHandlers=[],this._eventQueue=null,this._isConsumingQueue=!1}return e.prototype.addEventHandler=function(e){for(var t=0,n=this._eventHandlers.length;t<n;t++)this._eventHandlers[t]===e&&console.warn("Detected duplicate listener in ViewEventDispatcher",e);this._eventHandlers.push(e)},e.prototype.removeEventHandler=function(e){for(var t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}},e.prototype.emit=function(e){this._eventQueue?this._eventQueue.push(e):this._eventQueue=[e],this._isConsumingQueue||this.consumeQueue()},e.prototype.emitMany=function(e){this._eventQueue?this._eventQueue=this._eventQueue.concat(e):this._eventQueue=e,this._isConsumingQueue||this.consumeQueue()},e.prototype.consumeQueue=function(){var e=this;this._eventHandlerGateKeeper((function(){try{e._isConsumingQueue=!0,e._doConsumeQueue()}finally{e._isConsumingQueue=!1}}))},e.prototype._doConsumeQueue=function(){while(this._eventQueue){var e=this._eventQueue;this._eventQueue=null;for(var t=this._eventHandlers.slice(0),n=0,r=t.length;n<r;n++)t[n].handleEvents(e)}},e}(),cr=function(){function e(e,t,n,r){this.selections=e,this.startLineNumber=0|t.startLineNumber,this.endLineNumber=0|t.endLineNumber,this.relativeVerticalOffset=t.relativeVerticalOffset,this.bigNumbersDelta=0|t.bigNumbersDelta,this.whitespaceViewportData=n,this._model=r,this.visibleRange=new oe["a"](t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}return e.prototype.getViewLineRenderingData=function(e){return this._model.getViewLineRenderingData(this.visibleRange,e)},e.prototype.getDecorationsInViewport=function(){return this._model.getDecorationsInViewport(this.visibleRange)},e}(),dr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),hr=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;s._cursor=o,s._renderAnimationFrame=null,s.outgoingEvents=a;var l=new _t(n,i,s.outgoingEvents,t);s.eventDispatcher=new ur((function(e){return s._renderOnce(e)})),s.eventDispatcher.addEventHandler(s),s._context=new lr(n,r.getTheme(),i,s.eventDispatcher),s._register(r.onThemeChange((function(e){s._context.theme=e,s.eventDispatcher.emit(new ot),s.render(!0,!1)}))),s.viewParts=[],s._textAreaHandler=new gt(s._context,l,s.createTextAreaHandlerHelper()),s.viewParts.push(s._textAreaHandler),s.linesContent=Object(h["b"])(document.createElement("div")),s.linesContent.setClassName("lines-content monaco-editor-background"),s.linesContent.setPosition("absolute"),s.domNode=Object(h["b"])(document.createElement("div")),s.domNode.setClassName(s.getEditorClassName()),s.overflowGuardContainer=Object(h["b"])(document.createElement("div")),I.write(s.overflowGuardContainer,3),s.overflowGuardContainer.setClassName("overflow-guard"),s._scrollbar=new qt(s._context,s.linesContent,s.domNode,s.overflowGuardContainer),s.viewParts.push(s._scrollbar),s.viewLines=new rn(s._context,s.linesContent),s.viewZones=new ar(s._context),s.viewParts.push(s.viewZones);var u=new Fn(s._context);s.viewParts.push(u);var c=new Kn(s._context);s.viewParts.push(c);var d=new Lt(s._context);s.viewParts.push(d),d.addDynamicOverlay(new zt(s._context)),d.addDynamicOverlay(new $n(s._context)),d.addDynamicOverlay(new Jt(s._context)),d.addDynamicOverlay(new Ut(s._context));var f=new It(s._context);s.viewParts.push(f),f.addDynamicOverlay(new Wt(s._context)),f.addDynamicOverlay(new Qt(s._context)),f.addDynamicOverlay(new ln(s._context)),f.addDynamicOverlay(new an(s._context)),f.addDynamicOverlay(new ze(s._context));var p=new He(s._context);p.getDomNode().appendChild(s.viewZones.marginDomNode),p.getDomNode().appendChild(f.getDomNode()),s.viewParts.push(p),s.contentWidgets=new At(s._context,s.domNode),s.viewParts.push(s.contentWidgets),s.viewCursors=new rr(s._context),s.viewParts.push(s.viewCursors),s.overlayWidgets=new Pn(s._context),s.viewParts.push(s.overlayWidgets);var g=new Hn(s._context);s.viewParts.push(g);var m=new In(s._context);if(s.viewParts.push(m),u){var v=s._scrollbar.getOverviewRulerLayoutInfo();v.parent.insertBefore(u.getDomNode(),v.insertBefore)}return s.linesContent.appendChild(d.getDomNode()),s.linesContent.appendChild(g.domNode),s.linesContent.appendChild(s.viewZones.domNode),s.linesContent.appendChild(s.viewLines.getDomNode()),s.linesContent.appendChild(s.contentWidgets.domNode),s.linesContent.appendChild(s.viewCursors.getDomNode()),s.overflowGuardContainer.appendChild(p.getDomNode()),s.overflowGuardContainer.appendChild(s._scrollbar.getDomNode()),s.overflowGuardContainer.appendChild(c.getDomNode()),s.overflowGuardContainer.appendChild(s._textAreaHandler.textArea),s.overflowGuardContainer.appendChild(s._textAreaHandler.textAreaCover),s.overflowGuardContainer.appendChild(s.overlayWidgets.getDomNode()),s.overflowGuardContainer.appendChild(m.getDomNode()),s.domNode.appendChild(s.overflowGuardContainer),s.domNode.appendChild(s.contentWidgets.overflowingContentWidgetsDomNode),s._applyLayout(),s.pointerHandler=s._register(new Te(s._context,l,s.createPointerHandlerHelper())),s._register(i.addEventListener((function(e){s.eventDispatcher.emitMany(e)}))),s._register(s._cursor.addEventListener((function(e){s.eventDispatcher.emitMany(e)}))),s}return dr(t,e),t.prototype._flushAccumulatedAndRenderNow=function(){this._renderNow()},t.prototype.createPointerHandlerHelper=function(){var e=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this.linesContent.domNode,focusTextArea:function(){e.focus()},getLastRenderData:function(){var t=e.viewCursors.getLastRenderData()||[],n=e._textAreaHandler.getLastRenderData();return new le(t,n)},shouldSuppressMouseDownOnViewZone:function(t){return e.viewZones.shouldSuppressMouseDownOnViewZone(t)},shouldSuppressMouseDownOnWidget:function(t){return e.contentWidgets.shouldSuppressMouseDownOnWidget(t)},getPositionFromDOMInfo:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.getPositionFromDOMInfo(t,n)},visibleRangeForPosition:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new ie["a"](t,n))},getLineWidth:function(t){return e._flushAccumulatedAndRenderNow(),e.viewLines.getLineWidth(t)}}},t.prototype.createTextAreaHandlerHelper=function(){var e=this;return{visibleRangeForPositionRelativeToEditor:function(t,n){return e._flushAccumulatedAndRenderNow(),e.viewLines.visibleRangeForPosition(new ie["a"](t,n))}}},t.prototype._applyLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.domNode.setWidth(t.width),this.domNode.setHeight(t.height),this.overflowGuardContainer.setWidth(t.width),this.overflowGuardContainer.setHeight(t.height),this.linesContent.setWidth(1e6),this.linesContent.setHeight(1e6)},t.prototype.getEditorClassName=function(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.options.get(104)+" "+Object(U["d"])(this._context.theme.type)+e},t.prototype.onConfigurationChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._applyLayout(),!1},t.prototype.onContentSizeChanged=function(e){return this.outgoingEvents.emitContentSizeChange(e),!1},t.prototype.onFocusChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),this._context.model.setHasFocus(e.isFocused),e.isFocused?this.outgoingEvents.emitViewFocusGained():this.outgoingEvents.emitViewFocusLost(),!1},t.prototype.onScrollChanged=function(e){return this.outgoingEvents.emitScrollChanged(e),!1},t.prototype.onThemeChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),!1},t.prototype.dispose=function(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this.eventDispatcher.removeEventHandler(this),this.outgoingEvents.dispose(),this.viewLines.dispose();for(var t=0,n=this.viewParts.length;t<n;t++)this.viewParts[t].dispose();this.viewParts=[],e.prototype.dispose.call(this)},t.prototype._renderOnce=function(e){var t=fr(e);return this._scheduleRender(),t},t.prototype._scheduleRender=function(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=i["T"](this._onRenderScheduled.bind(this),100))},t.prototype._onRenderScheduled=function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()},t.prototype._renderNow=function(){var e=this;fr((function(){return e._actualRender()}))},t.prototype._getViewPartsToRender=function(){for(var e=[],t=0,n=0,r=this.viewParts.length;n<r;n++){var i=this.viewParts[n];i.shouldRender()&&(e[t++]=i)}return e},t.prototype._actualRender=function(){if(i["L"](this.domNode.domNode)){var e=this._getViewPartsToRender();if(this.viewLines.shouldRender()||0!==e.length){var t=this._context.viewLayout.getLinesViewportData();this._context.model.setViewport(t.startLineNumber,t.endLineNumber,t.centeredLineNumber);var n=new cr(this._cursor.getViewSelections(),t,this._context.viewLayout.getWhitespaceViewportData(),this._context.model);this.contentWidgets.shouldRender()&&this.contentWidgets.onBeforeRender(n),this.viewLines.shouldRender()&&(this.viewLines.renderText(n),this.viewLines.onDidRender(),e=this._getViewPartsToRender());for(var r=new A(this._context.viewLayout,n,this.viewLines),o=0,a=e.length;o<a;o++){var s=e[o];s.prepareRender(r)}for(o=0,a=e.length;o<a;o++){s=e[o];s.render(r),s.onDidRender()}}}},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.restoreState=function(e){this._context.viewLayout.setScrollPositionNow({scrollTop:e.scrollTop}),this._context.model.tokenizeViewport(),this._renderNow(),this.viewLines.updateLineWidths(),this._context.viewLayout.setScrollPositionNow({scrollLeft:e.scrollLeft})},t.prototype.getOffsetForColumn=function(e,t){var n=this._context.model.validateModelPosition({lineNumber:e,column:t}),r=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();var i=this.viewLines.visibleRangeForPosition(new ie["a"](r.lineNumber,r.column));return i?i.left:-1},t.prototype.getTargetAtClientPoint=function(e,t){var n=this.pointerHandler.getTargetAtClientPoint(e,t);return n?xt.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null},t.prototype.createOverviewRuler=function(e){return new zn(this._context,e)},t.prototype.change=function(e){var t=this;return this._renderOnce((function(){var n=t.viewZones.changeViewZones(e);return n&&(t._context.viewLayout.onHeightMaybeChanged(),t._context.privateViewEventBus.emit(new lt)),n}))},t.prototype.render=function(e,t){if(t){this.viewLines.forceShouldRender();for(var n=0,r=this.viewParts.length;n<r;n++){var i=this.viewParts[n];i.forceShouldRender()}}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()},t.prototype.focus=function(){this._textAreaHandler.focusTextArea()},t.prototype.isFocused=function(){return this._textAreaHandler.isFocused()},t.prototype.setAriaOptions=function(e){this._textAreaHandler.setAriaOptions(e)},t.prototype.addContentWidget=function(e){this.contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()},t.prototype.layoutContentWidget=function(e){var t=e.position&&e.position.range||null;if(null===t){var n=e.position?e.position.position:null;null!==n&&(t=new oe["a"](n.lineNumber,n.column,n.lineNumber,n.column))}var r=e.position?e.position.preference:null;this.contentWidgets.setWidgetPosition(e.widget,t,r),this._scheduleRender()},t.prototype.removeContentWidget=function(e){this.contentWidgets.removeWidget(e.widget),this._scheduleRender()},t.prototype.addOverlayWidget=function(e){this.overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()},t.prototype.layoutOverlayWidget=function(e){var t=e.position?e.position.preference:null,n=this.overlayWidgets.setWidgetPosition(e.widget,t);n&&this._scheduleRender()},t.prototype.removeOverlayWidget=function(e){this.overlayWidgets.removeWidget(e.widget),this._scheduleRender()},t}(M);function fr(e){try{return e()}catch(t){Object(o["e"])(t)}}var pr=function(){function e(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new ae["f"](new oe["a"](1,1,1,1),0,new ie["a"](1,1),0),new ae["f"](new oe["a"](1,1,1,1),0,new ie["a"](1,1),0))}return e.prototype.dispose=function(e){this._removeTrackedRange(e)},e.prototype.startTrackingSelection=function(e){this._trackSelection=!0,this._updateTrackedRange(e)},e.prototype.stopTrackingSelection=function(e){this._trackSelection=!1,this._removeTrackedRange(e)},e.prototype._updateTrackedRange=function(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))},e.prototype._removeTrackedRange=function(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)},e.prototype.asCursorState=function(){return new ae["d"](this.modelState,this.viewState)},e.prototype.readSelectionFromMarkers=function(e){var t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new _e["a"](t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new _e["a"](t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)},e.prototype.ensureValidState=function(e){this._setState(e,this.modelState,this.viewState)},e.prototype.setState=function(e,t,n){this._setState(e,t,n)},e.prototype._setState=function(e,t,n){if(t){o=e.model.validateRange(t.selectionStart);var r=t.selectionStart.equalsRange(o)?t.selectionStartLeftoverVisibleColumns:0,i=(a=e.model.validatePosition(t.position),t.position.equals(a)?t.leftoverVisibleColumns:0);t=new ae["f"](o,r,a,i)}else{if(!n)return;var o=e.model.validateRange(e.convertViewRangeToModelRange(n.selectionStart)),a=e.model.validatePosition(e.convertViewPositionToModelPosition(n.position.lineNumber,n.position.column));t=new ae["f"](o,n.selectionStartLeftoverVisibleColumns,a,n.leftoverVisibleColumns)}if(n){u=e.validateViewRange(n.selectionStart,t.selectionStart),c=e.validateViewPosition(n.position,t.position);n=new ae["f"](u,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}else{var s=e.convertModelPositionToViewPosition(new ie["a"](t.selectionStart.startLineNumber,t.selectionStart.startColumn)),l=e.convertModelPositionToViewPosition(new ie["a"](t.selectionStart.endLineNumber,t.selectionStart.endColumn)),u=new oe["a"](s.lineNumber,s.column,l.lineNumber,l.column),c=e.convertModelPositionToViewPosition(t.position);n=new ae["f"](u,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)},e}(),gr=function(){function e(e){this.context=e,this.primaryCursor=new pr(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}return e.prototype.dispose=function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()},e.prototype.startTrackingSelections=function(){this.primaryCursor.startTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].startTrackingSelection(this.context)},e.prototype.stopTrackingSelections=function(){this.primaryCursor.stopTrackingSelection(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].stopTrackingSelection(this.context)},e.prototype.updateContext=function(e){this.context=e},e.prototype.ensureValidState=function(){this.primaryCursor.ensureValidState(this.context);for(var e=0,t=this.secondaryCursors.length;e<t;e++)this.secondaryCursors[e].ensureValidState(this.context)},e.prototype.readSelectionFromMarkers=function(){var e=[];e[0]=this.primaryCursor.readSelectionFromMarkers(this.context);for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].readSelectionFromMarkers(this.context);return e},e.prototype.getAll=function(){var e=[];e[0]=this.primaryCursor.asCursorState();for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].asCursorState();return e},e.prototype.getViewPositions=function(){var e=[];e[0]=this.primaryCursor.viewState.position;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.position;return e},e.prototype.getSelections=function(){var e=[];e[0]=this.primaryCursor.modelState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].modelState.selection;return e},e.prototype.getViewSelections=function(){var e=[];e[0]=this.primaryCursor.viewState.selection;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t].viewState.selection;return e},e.prototype.setSelections=function(e){this.setStates(ae["d"].fromModelSelections(e))},e.prototype.getPrimaryCursor=function(){return this.primaryCursor.asCursorState()},e.prototype.setStates=function(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))},e.prototype._setSecondaryStates=function(e){var t=this.secondaryCursors.length,n=e.length;if(t<n)for(var r=n-t,i=0;i<r;i++)this._addSecondaryCursor();else if(t>n){var o=t-n;for(i=0;i<o;i++)this._removeSecondaryCursor(this.secondaryCursors.length-1)}for(i=0;i<n;i++)this.secondaryCursors[i].setState(this.context,e[i].modelState,e[i].viewState)},e.prototype.killSecondaryCursors=function(){this._setSecondaryStates([])},e.prototype._addSecondaryCursor=function(){this.secondaryCursors.push(new pr(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length},e.prototype.getLastAddedCursorIndex=function(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex},e.prototype._removeSecondaryCursor=function(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;t<n;t++)e[t+1]=this.secondaryCursors[t];return e},e.prototype.normalize=function(){if(0!==this.secondaryCursors.length){for(var e=this._getAll(),t=[],n=0,r=e.length;n<r;n++)t.push({index:n,selection:e[n].modelState.selection});t.sort((function(e,t){return e.selection.startLineNumber===t.selection.startLineNumber?e.selection.startColumn-t.selection.startColumn:e.selection.startLineNumber-t.selection.startLineNumber}));for(var i=0;i<t.length-1;i++){var o=t[i],a=t[i+1],s=o.selection,l=a.selection;if(this.context.config.multiCursorMergeOverlapping){var u=void 0;if(u=l.isEmpty()||s.isEmpty()?l.getStartPosition().isBeforeOrEqual(s.getEndPosition()):l.getStartPosition().isBefore(s.getEndPosition()),u){var c=o.index<a.index?i:i+1,d=o.index<a.index?i+1:i,h=t[d].index,f=t[c].index,p=t[d].selection,g=t[c].selection;if(!p.equalsSelection(g)){var m=p.plusRange(g),v=p.selectionStartLineNumber===p.startLineNumber&&p.selectionStartColumn===p.startColumn,y=g.selectionStartLineNumber===g.startLineNumber&&g.selectionStartColumn===g.startColumn,b=void 0;h===this.lastAddedCursorIndex?(b=v,this.lastAddedCursorIndex=f):b=y;var _=void 0;_=b?new _e["a"](m.startLineNumber,m.startColumn,m.endLineNumber,m.endColumn):new _e["a"](m.endLineNumber,m.endColumn,m.startLineNumber,m.startColumn),t[c].selection=_;var w=ae["d"].fromModelSelection(_);e[f].setState(this.context,w.modelState,w.viewState)}for(var x=0,C=t;x<C.length;x++){var S=C[x];S.index>h&&S.index--}e.splice(h,1),t.splice(d,1),this._removeSecondaryCursor(h-1),i--}}}}},e}(),mr=n("snIX"),vr=n("GR/f"),yr=n("iuje"),br=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function _r(e){for(var t=0,n=e.length;t<n;t++)if(8===e[t].type)return!0;return!1}var wr=function(){function e(e,t,n,r,i,o){this.selections=e,this.modelVersionId=t,this.oldSelections=n,this.oldModelVersionId=r,this.source=i,this.reason=o}return e}(),xr=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;t<n;t++)if(!this.cursorState[t].equals(e.cursorState[t]))return!1;return!0},e}(),Cr=function(){function e(e,t,n){this._model=e,this._autoClosedCharactersDecorations=t,this._autoClosedEnclosingDecorations=n}return e.getAllAutoClosedCharacters=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];t=t.concat(i.getAutoClosedCharactersRanges())}return t},e.prototype.dispose=function(){this._autoClosedCharactersDecorations=this._model.deltaDecorations(this._autoClosedCharactersDecorations,[]),this._autoClosedEnclosingDecorations=this._model.deltaDecorations(this._autoClosedEnclosingDecorations,[])},e.prototype.getAutoClosedCharactersRanges=function(){for(var e=[],t=0;t<this._autoClosedCharactersDecorations.length;t++){var n=this._model.getDecorationRange(this._autoClosedCharactersDecorations[t]);n&&e.push(n)}return e},e.prototype.isValid=function(e){for(var t=[],n=0;n<this._autoClosedEnclosingDecorations.length;n++){var r=this._model.getDecorationRange(this._autoClosedEnclosingDecorations[n]);if(r&&(t.push(r),r.startLineNumber!==r.endLineNumber))return!1}t.sort(oe["a"].compareRangesUsingStarts),e.sort(oe["a"].compareRangesUsingStarts);for(n=0;n<e.length;n++){if(n>=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0},e}(),Sr=function(e){function t(t,n,r){var i=e.call(this)||this;i._onDidReachMaxCursorCount=i._register(new a["a"]),i.onDidReachMaxCursorCount=i._onDidReachMaxCursorCount.event,i._onDidAttemptReadOnlyEdit=i._register(new a["a"]),i.onDidAttemptReadOnlyEdit=i._onDidAttemptReadOnlyEdit.event,i._onDidChange=i._register(new a["a"]),i.onDidChange=i._onDidChange.event,i._configuration=t,i._model=n,i._knownModelVersionId=i._model.getVersionId(),i._viewModel=r,i.context=new ae["c"](i._configuration,i._model,i._viewModel),i._cursors=new gr(i.context),i._isHandling=!1,i._isDoingComposition=!1,i._selectionsWhenCompositionStarted=null,i._columnSelectData=null,i._autoClosedActions=[],i._prevEditOperationType=0,i._register(i._model.onDidChangeRawContent((function(e){if(i._knownModelVersionId=e.versionId,!i._isHandling){var t=e.containsEvent(1);i._onModelContentChanged(t)}}))),i._register(r.addEventListener((function(e){_r(e)&&i._knownModelVersionId===i._model.getVersionId()&&i.setStates("viewModel",0,i.getAll())})));var o=function(){i.context=new ae["c"](i._configuration,i._model,i._viewModel),i._cursors.updateContext(i.context)};return i._register(i._model.onDidChangeLanguage((function(e){o()}))),i._register(i._model.onDidChangeLanguageConfiguration((function(){o()}))),i._register(i._model.onDidChangeOptions((function(){o()}))),i._register(i._configuration.onDidChange((function(e){ae["b"].shouldRecreate(e)&&o()}))),i}return br(t,e),t.prototype.dispose=function(){this._cursors.dispose(),this._autoClosedActions=Object(s["f"])(this._autoClosedActions),e.prototype.dispose.call(this)},t.prototype._validateAutoClosedActions=function(){if(this._autoClosedActions.length>0)for(var e=this._cursors.getSelections(),t=0;t<this._autoClosedActions.length;t++){var n=this._autoClosedActions[t];n.isValid(e)||(n.dispose(),this._autoClosedActions.splice(t,1),t--)}},t.prototype.getPrimaryCursor=function(){return this._cursors.getPrimaryCursor()},t.prototype.getLastAddedCursorIndex=function(){return this._cursors.getLastAddedCursorIndex()},t.prototype.getAll=function(){return this._cursors.getAll()},t.prototype.setStates=function(e,n,r){null!==r&&r.length>t.MAX_CURSOR_COUNT&&(r=r.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var i=new xr(this._model,this);this._cursors.setStates(r),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,n,i)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n,r){this._revealRange(e,n,0,t,r)},t.prototype.revealRange=function(e,t,n,r,i){this.emitCursorRevealRange(e,n,r,t,i)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,r=t.length;n<r;n++){var i=t[n];e.push({inSelectionMode:!i.isEmpty(),selectionStart:{lineNumber:i.selectionStartLineNumber,column:i.selectionStartColumn},position:{lineNumber:i.positionLineNumber,column:i.positionColumn}})}return e},t.prototype.restoreState=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n],o=1,a=1;i.position&&i.position.lineNumber&&(o=i.position.lineNumber),i.position&&i.position.column&&(a=i.position.column);var s=o,l=a;i.selectionStart&&i.selectionStart.lineNumber&&(s=i.selectionStart.lineNumber),i.selectionStart&&i.selectionStart.column&&(l=i.selectionStart.column),t.push({selectionStartLineNumber:s,selectionStartColumn:l,positionLineNumber:o,positionColumn:a})}this.setStates("restoreState",0,ae["d"].fromModelSelections(t)),this.reveal("restoreState",!0,0,1)},t.prototype._onModelContentChanged=function(e){if(this._prevEditOperationType=0,e)this._cursors.dispose(),this._cursors=new gr(this.context),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary("model",1,null);else{var t=this._cursors.readSelectionFromMarkers();this.setStates("modelChange",2,ae["d"].fromModelSelections(t))}},t.prototype.getSelection=function(){return this._cursors.getPrimaryCursor().modelState.selection},t.prototype.getColumnSelectData=function(){if(this._columnSelectData)return this._columnSelectData;var e=this._cursors.getPrimaryCursor(),t=e.viewState.selectionStart.getStartPosition(),n=t.lineNumber,r=ae["a"].visibleColumnFromColumn2(this.context.config,this.context.viewModel,t);return{isReal:!1,fromViewLineNumber:n,fromViewVisualColumn:r,toViewLineNumber:n,toViewVisualColumn:r}},t.prototype.getSelections=function(){return this._cursors.getSelections()},t.prototype.getViewSelections=function(){return this._cursors.getViewSelections()},t.prototype.getPosition=function(){return this._cursors.getPrimaryCursor().modelState.position},t.prototype.setSelections=function(e,t){this.setStates(e,0,ae["d"].fromModelSelections(t))},t.prototype.getPrevEditOperationType=function(){return this._prevEditOperationType},t.prototype.setPrevEditOperationType=function(e){this._prevEditOperationType=e},t.prototype._pushAutoClosedAction=function(e,t){for(var n=[],r=[],i=0,o=e.length;i<o;i++)n.push({range:e[i],options:{inlineClassName:"auto-closed-character",stickiness:1}}),r.push({range:t[i],options:{stickiness:1}});var a=this._model.deltaDecorations([],n),s=this._model.deltaDecorations([],r);this._autoClosedActions.push(new Cr(this._model,a,s))},t.prototype._executeEditOperation=function(e){if(e){e.shouldPushStackElementBefore&&this._model.pushStackElement();var t=Or.executeCommands(this._model,this._cursors.getSelections(),e.commands);if(t){this._interpretCommandResult(t);for(var n=[],r=[],i=0;i<e.commands.length;i++){var o=e.commands[i];o instanceof vr["b"]&&o.enclosingRange&&o.closeCharacterRange&&(n.push(o.closeCharacterRange),r.push(o.enclosingRange))}n.length>0&&this._pushAutoClosedAction(n,r),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,n){var r=new xr(this._model,this);if(r.equals(n))return!1;var i=this._cursors.getSelections(),o=this._cursors.getViewSelections();try{var a=this._beginEmit();a.emit(new Ye(o,i))}finally{this._endEmit()}if(!n||n.cursorState.length!==r.cursorState.length||r.cursorState.some((function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)}))){var s=n?n.cursorState.map((function(e){return e.modelState.selection})):null,l=n?n.modelVersionId:0;this._onDidChange.fire(new wr(i,r.modelVersionId,s,l,e||"keyboard",t))}return!0},t.prototype._revealRange=function(e,t,n,r,i){var o=this._cursors.getViewPositions(),a=o[0];if(1===t)for(var s=1;s<o.length;s++)o[s].isBefore(a)&&(a=o[s]);else if(2===t)for(s=1;s<o.length;s++)a.isBeforeOrEqual(o[s])&&(a=o[s]);else if(o.length>1)return;var l=new oe["a"](a.lineNumber,a.column,a.lineNumber,a.column);this.emitCursorRevealRange(e,l,n,r,i)},t.prototype.emitCursorRevealRange=function(e,t,n,r,i){try{var o=this._beginEmit();o.emit(new rt(e,t,n,r,i))}finally{this._endEmit()}},t.prototype._findAutoClosingPairs=function(e){if(!e.length)return null;for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];if(!i.text||i.text.indexOf("\n")>=0)return null;var o=i.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!o)return null;var a=o[1],s=this.context.config.autoClosingPairsClose2.get(a);if(!s||1!==s.length)return null;var l=s[0].open,u=i.text.length-o[2].length-1,c=i.text.lastIndexOf(l,u-1);if(-1===c)return null;t.push([c,u])}return t},t.prototype.executeEdits=function(e,t,n){var r=this,i=null;"snippet"===e&&(i=this._findAutoClosingPairs(t)),i&&(t[0]._isTracked=!0);var o=[],a=[],s=this._model.pushEditOperations(this.getSelections(),t,(function(e){if(i)for(var t=0,s=i.length;t<s;t++){var l=i[t],u=l[0],c=l[1],d=e[t],h=d.range.startLineNumber,f=d.range.startColumn-1+u,p=d.range.startColumn-1+c;o.push(new oe["a"](h,p+1,h,p+2)),a.push(new oe["a"](h,f+1,h,p+2))}var g=n(e);return g&&(r._isHandling=!0),g}));s&&(this._isHandling=!1,this.setSelections(e,s)),o.length>0&&this._pushAutoClosedAction(o,a)},t.prototype.trigger=function(e,t,n){var r=yr["b"];if(t===r.CompositionStart)return this._isDoingComposition=!0,void(this._selectionsWhenCompositionStarted=this.getSelections().slice(0));if(t===r.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68))this._onDidAttemptReadOnlyEdit.fire(void 0);else{var i=new xr(this._model,this),a=0;t!==r.Undo&&t!==r.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case r.Type:this._type(e,n.text);break;case r.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case r.Paste:a=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText||[]);break;case r.Cut:this._cut();break;case r.Undo:a=5,this._interpretCommandResult(this._model.undo());break;case r.Redo:a=6,this._interpretCommandResult(this._model.redo());break;case r.ExecuteCommand:this._externalExecuteCommand(n);break;case r.ExecuteCommands:this._externalExecuteCommands(n);break;case r.CompositionEnd:this._interpretCompositionEnd(e);break}}catch(s){Object(o["e"])(s)}this._isHandling=!1,t!==r.Undo&&t!==r.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,a,i)&&this._revealRange(e,0,0,!0,0)}},t.prototype._interpretCompositionEnd=function(e){if(!this._isDoingComposition&&"keyboard"===e){var t=Cr.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(vr["a"].compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),t)),this._selectionsWhenCompositionStarted=null}},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(vr["a"].typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else{var n=t.length,r=0;while(r<n){var i=Pe["E"](t,r),o=t.substr(r,i),a=Cr.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(vr["a"].typeWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),a,o)),r+=i}}},t.prototype._replacePreviousChar=function(e,t){this._executeEditOperation(vr["a"].replacePreviousChar(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),e,t))},t.prototype._paste=function(e,t,n){this._executeEditOperation(vr["a"].paste(this.context.config,this.context.model,this.getSelections(),e,t,n))},t.prototype._cut=function(){this._executeEditOperation(mr["a"].cut(this.context.config,this.context.model,this.getSelections()))},t.prototype._externalExecuteCommand=function(e){this._cursors.killSecondaryCursors(),this._executeEditOperation(new ae["e"](0,[e],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.prototype._externalExecuteCommands=function(e){this._executeEditOperation(new ae["e"](0,e,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},t.MAX_CURSOR_COUNT=1e4,t}(ut),Or=function(){function e(){}return e.executeCommands=function(e,t,n){for(var r={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},i=this._innerExecuteCommands(r,n),o=0,a=r.trackedRanges.length;o<a;o++)r.model._setTrackedRange(r.trackedRanges[o],null,0);return i},e._innerExecuteCommands=function(e,t){if(this._arrayIsEmpty(t))return null;var n=this._getEditOperations(e,t);if(0===n.operations.length)return null;var r=n.operations,i=this._getLoserCursorMap(r);if(i.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var o=[],a=0,s=r.length;a<s;a++)i.hasOwnProperty(r[a].identifier.major.toString())||o.push(r[a]);n.hadTrackedEditOperation&&o.length>0&&(o[0]._isTracked=!0);var l=e.model.pushEditOperations(e.selectionsBefore,o,(function(n){for(var r=[],i=0;i<e.selectionsBefore.length;i++)r[i]=[];for(var o=0,a=n;o<a.length;o++){var s=a[o];s.identifier&&r[s.identifier.major].push(s)}var l=function(e,t){return e.identifier.minor-t.identifier.minor},u=[],c=function(n){r[n].length>0?(r[n].sort(l),u[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return r[n]},getTrackedSelection:function(t){var n=parseInt(t,10),r=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new _e["a"](r.startLineNumber,r.startColumn,r.endLineNumber,r.endColumn):new _e["a"](r.endLineNumber,r.endColumn,r.startLineNumber,r.startColumn)}})):u[n]=e.selectionsBefore[n]};for(i=0;i<e.selectionsBefore.length;i++)c(i);return u}));l||(l=e.selectionsBefore);var u=[];for(var c in i)i.hasOwnProperty(c)&&u.push(parseInt(c,10));u.sort((function(e,t){return t-e}));for(var d=0,h=u;d<h.length;d++){var f=h[d];l.splice(f,1)}return l},e._arrayIsEmpty=function(e){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0},e._getEditOperations=function(e,t){for(var n=[],r=!1,i=0,o=t.length;i<o;i++){var a=t[i];if(a){var s=this._getEditOperationsFromCommand(e,i,a);n=n.concat(s.operations),r=r||s.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:r}},e._getEditOperationsFromCommand=function(e,t,n){var r=[],i=0,a=function(e,o,a){void 0===a&&(a=!1),e.isEmpty()&&""===o||r.push({identifier:{major:t,minor:i++},range:e,text:o,forceMoveMarkers:a,isAutoWhitespaceEdit:n.insertsAutoWhitespace})},s=!1,l=function(e,t,n){s=!0,a(e,t,n)},u=function(t,n){var r;if(t.isEmpty())if("boolean"===typeof n)r=n?2:3;else{var i=e.model.getLineMaxColumn(t.startLineNumber);r=t.startColumn===i?2:3}else r=1;var o=e.trackedRanges.length,a=e.model._setTrackedRange(null,t,r);return e.trackedRanges[o]=a,e.trackedRangesDirection[o]=t.getDirection(),o.toString()},c={addEditOperation:a,addTrackedEditOperation:l,trackSelection:u};try{n.getEditOperations(e.model,c)}catch(d){return Object(o["e"])(d),{operations:[],hadTrackedEditOperation:!1}}return{operations:r,hadTrackedEditOperation:s}},e._getLoserCursorMap=function(e){e=e.slice(0),e.sort((function(e,t){return-oe["a"].compareRangesUsingEnds(e.range,t.range)}));for(var t={},n=1;n<e.length;n++){var r=e[n-1],i=e[n];if(r.range.getStartPosition().isBefore(i.range.getEndPosition())){var o=void 0;o=r.identifier.major>i.identifier.major?r.identifier.major:i.identifier.major,t[o.toString()]=!0;for(var a=0;a<e.length;a++)e[a].identifier.major===o&&(e.splice(a,1),a<n&&n--,a--);n>0&&n--}}return t},e}(),kr=n("9Y+e"),Er=n("wQH0"),Dr=n("TQUy"),Mr=n("QuOb"),Nr=function(){function e(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return e.prototype.insert=function(e){this._hasPending=!0,this._inserts.push(e)},e.prototype.change=function(e){this._hasPending=!0,this._changes.push(e)},e.prototype.remove=function(e){this._hasPending=!0,this._removes.push(e)},e.prototype.mustCommit=function(){return this._hasPending},e.prototype.commit=function(e){if(this._hasPending){var t=this._inserts,n=this._changes,r=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,r)}},e}(),Lr=function(){function e(e,t,n,r,i){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=r,this.minWidth=i,this.prefixSum=0}return e}(),Ir=function(){function e(t,n){this._instanceId=Pe["L"](++e.INSTANCE_COUNT),this._pendingChanges=new Nr,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=t,this._lineHeight=n}return e.findInsertionIndex=function(e,t,n){var r=0,i=e.length;while(r<i){var o=r+i>>>1;t===e[o].afterLineNumber?n<e[o].ordinal?i=o:r=o+1:t<e[o].afterLineNumber?i=o:r=o+1}return r},e.prototype.setLineHeight=function(e){this._checkPendingChanges(),this._lineHeight=e},e.prototype.onFlushed=function(e){this._checkPendingChanges(),this._lineCount=e},e.prototype.changeWhitespace=function(e){var t=this;try{var n={insertWhitespace:function(e,n,r,i){e|=0,n|=0,r|=0,i|=0;var o=t._instanceId+ ++t._lastWhitespaceId;return t._pendingChanges.insert(new Lr(o,e,n,r,i)),o},changeOneWhitespace:function(e,n,r){n|=0,r|=0,t._pendingChanges.change({id:e,newAfterLineNumber:n,newHeight:r})},removeWhitespace:function(e){t._pendingChanges.remove({id:e})}};return e(n)}finally{this._pendingChanges.commit(this)}},e.prototype._commitPendingChanges=function(e,t,n){if((e.length>0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(var r=0,i=e;r<i.length;r++){var o=i[r];this._insertWhitespace(o)}for(var a=0,s=t;a<s.length;a++){var l=s[a];this._changeOneWhitespace(l.id,l.newAfterLineNumber,l.newHeight)}for(var u=0,c=n;u<c.length;u++){var d=c[u],h=this._findWhitespaceIndex(d.id);-1!==h&&this._removeWhitespace(h)}}else{for(var f=new Set,p=0,g=n;p<g.length;p++){d=g[p];f.add(d.id)}for(var m=new Map,v=0,y=t;v<y.length;v++){l=y[v];m.set(l.id,l)}var b=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var i=r[n];if(!f.has(i.id)){if(m.has(i.id)){var o=m.get(i.id);i.afterLineNumber=o.newAfterLineNumber,i.height=o.newHeight}t.push(i)}}return t},_=b(this._arr).concat(b(e));_.sort((function(e,t){return e.afterLineNumber===t.afterLineNumber?e.ordinal-t.ordinal:e.afterLineNumber-t.afterLineNumber})),this._arr=_,this._prefixSumValidIndex=-1}},e.prototype._checkPendingChanges=function(){this._pendingChanges.mustCommit()&&this._pendingChanges.commit(this)},e.prototype._insertWhitespace=function(t){var n=e.findInsertionIndex(this._arr,t.afterLineNumber,t.ordinal);this._arr.splice(n,0,t),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,n-1)},e.prototype._findWhitespaceIndex=function(e){for(var t=this._arr,n=0,r=t.length;n<r;n++)if(t[n].id===e)return n;return-1},e.prototype._changeOneWhitespace=function(e,t,n){var r=this._findWhitespaceIndex(e);if(-1!==r&&(this._arr[r].height!==n&&(this._arr[r].height=n,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,r-1)),this._arr[r].afterLineNumber!==t)){var i=this._arr[r];this._removeWhitespace(r),i.afterLineNumber=t,this._insertWhitespace(i)}},e.prototype._removeWhitespace=function(e){this._arr.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1)},e.prototype.onLinesDeleted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount-=t-e+1;for(var n=0,r=this._arr.length;n<r;n++){var i=this._arr[n].afterLineNumber;e<=i&&i<=t?this._arr[n].afterLineNumber=e-1:i>t&&(this._arr[n].afterLineNumber-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(var n=0,r=this._arr.length;n<r;n++){var i=this._arr[n].afterLineNumber;e<=i&&(this._arr[n].afterLineNumber+=t-e+1)}},e.prototype.getWhitespacesTotalHeight=function(){return this._checkPendingChanges(),0===this._arr.length?0:this.getWhitespacesAccumulatedHeight(this._arr.length-1)},e.prototype.getWhitespacesAccumulatedHeight=function(e){this._checkPendingChanges(),e|=0;var t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._arr[0].prefixSum=this._arr[0].height,t++);for(var n=t;n<=e;n++)this._arr[n].prefixSum=this._arr[n-1].prefixSum+this._arr[n].height;return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._arr[e].prefixSum},e.prototype.getLinesTotalHeight=function(){this._checkPendingChanges();var e=this._lineHeight*this._lineCount,t=this.getWhitespacesTotalHeight();return e+t},e.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){this._checkPendingChanges(),e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getWhitespacesAccumulatedHeight(t)},e.prototype._findLastWhitespaceBeforeLineNumber=function(e){e|=0;var t=this._arr,n=0,r=t.length-1;while(n<=r){var i=r-n|0,o=i/2|0,a=n+o|0;if(t[a].afterLineNumber<e){if(a+1>=t.length||t[a+1].afterLineNumber>=e)return a;n=a+1|0}else r=a-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e),n=t+1;return n<this._arr.length?n:-1},e.prototype.getFirstWhitespaceIndexAfterLineNumber=function(e){return this._checkPendingChanges(),e|=0,this._findFirstWhitespaceAfterLineNumber(e)},e.prototype.getVerticalOffsetForLineNumber=function(e){var t;this._checkPendingChanges(),e|=0,t=e>1?this._lineHeight*(e-1):0;var n=this.getWhitespaceAccumulatedHeightBeforeLineNumber(e);return t+n},e.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),-1===this._minWidth){for(var e=0,t=0,n=this._arr.length;t<n;t++)e=Math.max(e,this._arr[t].minWidth);this._minWidth=e}return this._minWidth},e.prototype.isAfterLines=function(e){this._checkPendingChanges();var t=this.getLinesTotalHeight();return e>t},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(this._checkPendingChanges(),e|=0,e<0)return 1;var t=0|this._lineCount,n=this._lineHeight,r=1,i=t;while(r<i){var o=(r+i)/2|0,a=0|this.getVerticalOffsetForLineNumber(o);if(e>=a+n)r=o+1;else{if(e>=a)return o;i=o}}return r>t?t:r},e.prototype.getLinesViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n,r,i=this._lineHeight,o=0|this.getLineNumberAtOrAfterVerticalOffset(e),a=0|this.getVerticalOffsetForLineNumber(o),s=0|this._lineCount,l=0|this.getFirstWhitespaceIndexAfterLineNumber(o),u=0|this.getWhitespacesCount();-1===l?(l=u,r=s+1,n=0):(r=0|this.getAfterLineNumberForWhitespaceIndex(l),n=0|this.getHeightForWhitespaceIndex(l));var c=a,d=c,h=5e5,f=0;a>=h&&(f=Math.floor(a/h)*h,f=Math.floor(f/i)*i,d-=f);for(var p=[],g=e+(t-e)/2,m=-1,v=o;v<=s;v++){if(-1===m){var y=c,b=c+i;(y<=g&&g<b||y>g)&&(m=v)}c+=i,p[v-o]=d,d+=i;while(r===v)d+=n,c+=n,l++,l>=u?r=s+1:(r=0|this.getAfterLineNumberForWhitespaceIndex(l),n=0|this.getHeightForWhitespaceIndex(l));if(c>=t){s=v;break}}-1===m&&(m=s);var _=0|this.getVerticalOffsetForLineNumber(s),w=o,x=s;return w<x&&a<e&&w++,w<x&&_+i>t&&x--,{bigNumbersDelta:f,startLineNumber:o,endLineNumber:s,relativeVerticalOffset:p,centeredLineNumber:m,completelyVisibleStartLineNumber:w,completelyVisibleEndLineNumber:x}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){this._checkPendingChanges(),e|=0;var t,n,r=this.getAfterLineNumberForWhitespaceIndex(e);return t=r>=1?this._lineHeight*r:0,n=e>0?this.getWhitespacesAccumulatedHeight(e-1):0,t+n},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){this._checkPendingChanges(),e|=0;var t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;var r=this.getVerticalOffsetForWhitespaceIndex(n),i=this.getHeightForWhitespaceIndex(n);if(e>=r+i)return-1;while(t<n){var o=Math.floor((t+n)/2),a=this.getVerticalOffsetForWhitespaceIndex(o),s=this.getHeightForWhitespaceIndex(o);if(e>=a+s)t=o+1;else{if(e>=a)return o;n=o}}return t},e.prototype.getWhitespaceAtVerticalOffset=function(e){this._checkPendingChanges(),e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var r=this.getHeightForWhitespaceIndex(t),i=this.getIdForWhitespaceIndex(t),o=this.getAfterLineNumberForWhitespaceIndex(t);return{id:i,afterLineNumber:o,verticalOffset:n,height:r}},e.prototype.getWhitespaceViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),r=this.getWhitespacesCount()-1;if(n<0)return[];for(var i=[],o=n;o<=r;o++){var a=this.getVerticalOffsetForWhitespaceIndex(o),s=this.getHeightForWhitespaceIndex(o);if(a>=t)break;i.push({id:this.getIdForWhitespaceIndex(o),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(o),verticalOffset:a,height:s})}return i},e.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},e.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},e.prototype.getIdForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].id},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber},e.prototype.getHeightForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].height},e.INSTANCE_COUNT=0,e}(),Tr=n("qNAo"),Pr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ar=125,Rr=function(){function e(e,t,n,r){e|=0,t|=0,n|=0,r|=0,e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),r<0&&(r=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=r,this.scrollHeight=Math.max(n,r)}return e.prototype.equals=function(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight},e}(),jr=function(e){function t(t,n){var r=e.call(this)||this;return r._onDidContentSizeChange=r._register(new a["a"]),r.onDidContentSizeChange=r._onDidContentSizeChange.event,r._dimensions=new Rr(0,0,0,0),r._scrollable=r._register(new Mr["a"](t,n)),r.onDidScroll=r._scrollable.onScroll,r}return Pr(t,e),t.prototype.getScrollable=function(){return this._scrollable},t.prototype.setSmoothScrollDuration=function(e){this._scrollable.setSmoothScrollDuration(e)},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._dimensions},t.prototype.setScrollDimensions=function(e){if(!this._dimensions.equals(e)){var t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight});var n=t.contentWidth!==e.contentWidth,r=t.contentHeight!==e.contentHeight;(n||r)&&this._onDidContentSizeChange.fire({contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentWidthChanged:n,contentHeightChanged:r})}},t.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},t.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t}(s["a"]),Fr=function(e){function t(t,n,r){var i=e.call(this)||this;i._configuration=t;var o=i._configuration.options,a=o.get(107);return i._linesLayout=new Ir(n,o.get(49)),i._scrollable=i._register(new jr(0,r)),i._configureSmoothScrollDuration(),i._scrollable.setScrollDimensions(new Rr(a.contentWidth,0,a.height,0)),i.onDidScroll=i._scrollable.onDidScroll,i.onDidContentSizeChange=i._scrollable.onDidContentSizeChange,i._updateHeight(),i}return Pr(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getScrollable=function(){return this._scrollable.getScrollable()},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?Ar:0)},t.prototype.onConfigurationChanged=function(e){var t=this._configuration.options;if(e.hasChanged(49)&&this._linesLayout.setLineHeight(t.get(49)),e.hasChanged(107)){var n=t.get(107),r=n.contentWidth,i=n.height,o=this._scrollable.getScrollDimensions(),a=o.scrollWidth;this._scrollable.setScrollDimensions(new Rr(r,o.contentWidth,i,this._getContentHeight(r,i,a)))}else this._updateHeight();e.hasChanged(87)&&this._configureSmoothScrollDuration()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e,t){var n=this._configuration.options,r=n.get(78);return 2===r.horizontal||e>=t?0:r.horizontalScrollbarSize},t.prototype._getContentHeight=function(e,t,n){var r=this._configuration.options,i=this._linesLayout.getLinesTotalHeight();return r.get(80)?i+=t-r.get(49):i+=this._getHorizontalScrollbarHeight(e,n),i},t.prototype._updateHeight=function(){var e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,r=e.scrollWidth;this._scrollable.setScrollDimensions(new Rr(t,e.contentWidth,n,this._getContentHeight(t,n,r)))},t.prototype.getCurrentViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new Tr["f"](t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new Tr["f"](t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeContentWidth=function(e){var t=this._configuration.options,n=t.get(108),r=t.get(34);if(n.isViewportWrapping){var i=t.get(107),o=t.get(54);return e>i.contentWidth+r.typicalHalfwidthCharacterWidth&&o.enabled&&"right"===o.side?e+i.verticalScrollbarWidth:e}var a=t.get(79)*r.typicalHalfwidthCharacterWidth,s=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+a,s)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Rr(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()},t.prototype.saveState=function(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t),r=this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n);return{scrollTop:t,scrollTopWithoutViewZones:t-r,scrollLeft:e.scrollLeft}},t.prototype.changeWhitespace=function(e){return this._linesLayout.changeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getContentWidth=function(){var e=this._scrollable.getScrollDimensions();return e.contentWidth},t.prototype.getScrollWidth=function(){var e=this._scrollable.getScrollDimensions();return e.scrollWidth},t.prototype.getContentHeight=function(){var e=this._scrollable.getScrollDimensions();return e.contentHeight},t.prototype.getScrollHeight=function(){var e=this._scrollable.getScrollDimensions();return e.scrollHeight},t.prototype.getCurrentScrollLeft=function(){var e=this._scrollable.getCurrentScrollPosition();return e.scrollLeft},t.prototype.getCurrentScrollTop=function(){var e=this._scrollable.getCurrentScrollPosition();return e.scrollTop},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(s["a"]),Br=n("tX9W"),Vr=n("LeU+"),zr=function(){function e(e,t){this.outputLineIndex=e,this.outputOffset=t}return e}(),Wr=function(){function e(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}return e.getInputOffsetOfOutputPosition=function(e,t,n){return 0===t?n:e[t-1]+n},e.getOutputPositionOfInputOffset=function(e,t){var n=0,r=e.length-1,i=0,o=0;while(n<=r){i=n+(r-n)/2|0;var a=e[i];if(o=i>0?e[i-1]:0,t<o)r=i-1;else{if(!(t>=a))break;n=i+1}}return new zr(i,t-o)},e}(),Hr=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){return this._lines.convertViewRangeToModelRange(e)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){return this._lines.validateViewRange(e,t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){return this._lines.convertModelRangeToViewRange(e)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),Ur=function(){function e(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return e.prototype._invalidate=function(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)},e.prototype._ensureValid=function(){if(!this._isValid){for(var e=this._validEndIndex+1,t=this._counts.length;e<t;e++){var n=this._counts[e],r=e>0?this._modelToView[e-1]:0;this._modelToView[e]=r+n;for(var i=0;i<n;i++)this._viewToModel[r+i]=e}this._modelToView.length=this._counts.length,this._viewToModel.length=this._modelToView[this._modelToView.length-1],this._isValid=!0,this._validEndIndex=this._counts.length-1}},e.prototype.changeValue=function(e,t){this._counts[e]!==t&&(this._counts[e]=t,this._invalidate(e))},e.prototype.removeValues=function(e,t){this._counts.splice(e,t),this._invalidate(e)},e.prototype.insertValues=function(e,t){this._counts=jt["a"](this._counts,e,t),this._invalidate(e)},e.prototype.getTotalValue=function(){return this._ensureValid(),this._viewToModel.length},e.prototype.getAccumulatedValue=function(e){return this._ensureValid(),this._modelToView[e]},e.prototype.getIndexOf=function(e){this._ensureValid();var t=this._viewToModel[e],n=t>0?this._modelToView[t-1]:0;return new Vr["b"](t,e-n)},e}(),Kr=function(){function e(e,t,n,r,i,o,a,s){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=r,this.tabSize=i,this.wrappingStrategy=o,this.wrappingColumn=a,this.wrappingIndent=s,this._constructLines(!0,null)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new Hr(this)},e.prototype._constructLines=function(e,t){var n=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var r=this.model.getLinesContent(),i=r.length,o=this.createLineBreaksComputer(),a=0;a<i;a++)o.addRequest(r[a],t?t[a]:null);var s=o.finalize(),l=[],u=this.hiddenAreasIds.map((function(e){return n.model.getDecorationRange(e)})).sort(oe["a"].compareRangesUsingStarts),c=1,d=0,h=-1,f=h+1<u.length?d+1:i+2;for(a=0;a<i;a++){var p=a+1;p===f&&(h++,c=u[h].startLineNumber,d=u[h].endLineNumber,f=h+1<u.length?d+1:i+2);var g=p>=c&&p<=d,m=$r(s[a],!g);l[a]=m.getViewLineCount(),this.lines[a]=m}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Ur(l)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(oe["a"].compareRangesUsingStarts),r=[],i=n[0].startLineNumber,o=n[0].endLineNumber,a=1,s=n.length;a<s;a++){var l=n[a];l.startLineNumber>o+1?(r.push(new oe["a"](i,1,o,1)),i=l.startLineNumber,o=l.endLineNumber):l.endLineNumber>o&&(o=l.endLineNumber)}return r.push(new oe["a"](i,1,o,1)),r},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),r=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(oe["a"].compareRangesUsingStarts);if(n.length===r.length){for(var i=!1,o=0;o<n.length;o++)if(!n[o].equalsRange(r[o])){i=!0;break}if(!i)return!1}for(var a=[],s=0,l=n;s<l.length;s++){var u=l[s];a.push({range:u,options:Br["a"].EMPTY})}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,a);var c=n,d=1,h=0,f=-1,p=f+1<c.length?h+1:this.lines.length+2,g=!1;for(o=0;o<this.lines.length;o++){var m=o+1;m===p&&(f++,d=c[f].startLineNumber,h=c[f].endLineNumber,p=f+1<c.length?h+1:this.lines.length+2);var v=!1;if(m>=d&&m<=h?this.lines[o].isVisible()&&(this.lines[o]=this.lines[o].setVisible(!1),v=!0):(g=!0,this.lines[o].isVisible()||(this.lines[o]=this.lines[o].setVisible(!0),v=!0)),v){var y=this.lines[o].getViewLineCount();this.prefixSumComputer.changeValue(o,y)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)},e.prototype.setWrappingSettings=function(e,t,n,r){var i=this.fontInfo.equals(e),o=this.wrappingStrategy===t,a=this.wrappingColumn===n,s=this.wrappingIndent===r;if(i&&o&&a&&s)return!1;var l=i&&o&&!a&&s;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=r;var u=null;if(l){u=[];for(var c=0,d=this.lines.length;c<d;c++)u[c]=this.lines[c].getLineBreakData()}return this._constructLines(!1,u),!0},e.prototype.createLineBreaksComputer=function(){var e="advanced"===this.wrappingStrategy?this._domLineBreaksComputerFactory:this._monospaceLineBreaksComputerFactory;return e.createLineBreaksComputer(this.fontInfo,this.tabSize,this.wrappingColumn,this.wrappingIndent)},e.prototype.onModelFlushed=function(){this._constructLines(!0,null)},e.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var r=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,i=this.prefixSumComputer.getAccumulatedValue(n-1);return this.lines.splice(t-1,n-t+1),this.prefixSumComputer.removeValues(t-1,n-t+1),new tt(r,i)},e.prototype.onModelLinesInserted=function(e,t,n,r){if(e<=this._validModelVersionId)return null;for(var i=this.getHiddenAreas(),o=!1,a=new ie["a"](t,1),s=0,l=i;s<l.length;s++){var u=l[s];if(u.containsPosition(a)){o=!0;break}}for(var c=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,d=0,h=[],f=[],p=0,g=r.length;p<g;p++){var m=$r(r[p],!o);h.push(m);var v=m.getViewLineCount();d+=v,f[p]=v}return this.lines=this.lines.slice(0,t-1).concat(h).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,f),new nt(c,c+d-1)},e.prototype.onModelLineChanged=function(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];var r=t-1,i=this.lines[r].getViewLineCount(),o=this.lines[r].isVisible(),a=$r(n,o);this.lines[r]=a;var s=this.lines[r].getViewLineCount(),l=!1,u=0,c=-1,d=0,h=-1,f=0,p=-1;i>s?(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=u+s-1,f=c+1,p=f+(i-s)-1,l=!0):i<s?(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=u+i-1,d=c+1,h=d+(s-i)-1,l=!0):(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=u+s-1),this.prefixSumComputer.changeValue(r,s);var g=u<=c?new et(u,c):null,m=d<=h?new nt(d,h):null,v=f<=p?new tt(f,p):null;return[l,g,m,v]},e.prototype.acceptVersionId=function(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])},e.prototype.getViewLineCount=function(){return this.prefixSumComputer.getTotalValue()},e.prototype._toValidViewLineNumber=function(e){if(e<1)return 1;var t=this.getViewLineCount();return e>t?t:0|e},e.prototype.getActiveIndentGuide=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var r=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),o=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),a=this.model.getActiveIndentGuide(r.lineNumber,i.lineNumber,o.lineNumber),s=this.convertModelPositionToViewPosition(a.startLineNumber,1),l=this.convertModelPositionToViewPosition(a.endLineNumber,this.model.getLineMaxColumn(a.endLineNumber));return{startLineNumber:s.lineNumber,endLineNumber:l.lineNumber,indent:a.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),r=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),i=[],o=[],a=[],s=n.lineNumber-1,l=r.lineNumber-1,u=null,c=s;c<=l;c++){var d=this.lines[c];if(d.isVisible()){var h=d.getViewLineNumberOfModelPosition(0,c===s?n.column:1),f=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),p=f-h+1,g=0;p>1&&1===d.getViewLineMinColumn(this.model,c+1,f)&&(g=0===h?1:2),o.push(p),a.push(g),null===u&&(u=new ie["a"](c+1,0))}else null!==u&&(i=i.concat(this.model.getLinesIndentGuides(u.lineNumber,c)),u=null)}null!==u&&(i=i.concat(this.model.getLinesIndentGuides(u.lineNumber,r.lineNumber)),u=null);for(var m=t-e+1,v=new Array(m),y=0,b=0,_=i.length;b<_;b++){var w=i[b],x=(p=Math.min(m-y,o[b]),g=a[b],void 0);x=2===g?0:1===g?1:p;for(var C=0;C<p;C++)C===x&&(w=0),v[y++]=w}return v},e.prototype.getViewLineContent=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,r=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,r)},e.prototype.getViewLineLength=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,r=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,r)},e.prototype.getViewLineMinColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,r=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,r)},e.prototype.getViewLineMaxColumn=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,r=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,r)},e.prototype.getViewLineData=function(e){e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,r=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,r)},e.prototype.getViewLinesData=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var r=this.prefixSumComputer.getIndexOf(e-1),i=e,o=r.index,a=r.remainder,s=[],l=o,u=this.model.getLineCount();l<u;l++){var c=this.lines[l];if(c.isVisible()){var d=l===o?a:0,h=c.getViewLineCount()-d,f=!1;i+h>t&&(f=!0,h=t-i+1);var p=d+h;if(c.getViewLinesData(this.model,l+1,d,p,i-e,n,s),i+=h,f)break}}return s},e.prototype.validateViewPosition=function(e,t,n){e=this._toValidViewLineNumber(e);var r=this.prefixSumComputer.getIndexOf(e-1),i=r.index,o=r.remainder,a=this.lines[i],s=a.getViewLineMinColumn(this.model,i+1,o),l=a.getViewLineMaxColumn(this.model,i+1,o);t<s&&(t=s),t>l&&(t=l);var u=a.getModelColumnOfViewPosition(o,t),c=this.model.validatePosition(new ie["a"](i+1,u));return c.equals(n)?new ie["a"](e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.validateViewRange=function(e,t){var n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),r=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new oe["a"](n.lineNumber,n.column,r.lineNumber,r.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),r=n.index,i=n.remainder,o=this.lines[r].getModelColumnOfViewPosition(i,t);return this.model.validatePosition(new ie["a"](r+1,o))},e.prototype.convertViewRangeToModelRange=function(e){var t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new oe["a"](t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e,t){var n=this.model.validatePosition(new ie["a"](e,t)),r=n.lineNumber,i=n.column,o=r-1,a=!1;while(o>0&&!this.lines[o].isVisible())o--,a=!0;if(0===o&&!this.lines[o].isVisible())return new ie["a"](1,1);var s,l=1+(0===o?0:this.prefixSumComputer.getAccumulatedValue(o-1));return s=a?this.lines[o].getViewPositionOfModelPosition(l,this.model.getLineMaxColumn(o+1)):this.lines[r-1].getViewPositionOfModelPosition(l,i),s},e.prototype.convertModelRangeToViewRange=function(e){var t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new oe["a"](t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new oe["a"](t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var r=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(r,t)}while(n>0&&!this.lines[n].isVisible())n--;if(0===n&&!this.lines[n].isVisible())return 1;var i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var r=this.model.getOverviewRulerDecorations(e,t),i=new ti,o=0,a=r;o<a.length;o++){var s=a[o],l=s.options.overviewRuler,u=l?l.position:0;if(0!==u){var c=l.getColor(n),d=this._getViewLineNumberForModelPosition(s.range.startLineNumber,s.range.startColumn),h=this._getViewLineNumberForModelPosition(s.range.endLineNumber,s.range.endColumn);i.accept(c,d,h,u)}}return i.result},e.prototype.getDecorationsInRange=function(e,t,n){var r=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(i.lineNumber-r.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new oe["a"](r.lineNumber,1,i.lineNumber,i.column),t,n);for(var o=[],a=r.lineNumber-1,s=i.lineNumber-1,l=null,u=a;u<=s;u++){var c=this.lines[u];if(c.isVisible())null===l&&(l=new ie["a"](u+1,u===a?r.column:1));else if(null!==l){var d=this.model.getLineMaxColumn(u);o=o.concat(this.model.getDecorationsInRange(new oe["a"](l.lineNumber,l.column,u,d),t,n)),l=null}}null!==l&&(o=o.concat(this.model.getDecorationsInRange(new oe["a"](l.lineNumber,l.column,i.lineNumber,i.column),t,n)),l=null),o.sort((function(e,t){var n=oe["a"].compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n}));for(var h=[],f=0,p=null,g=0,m=o;g<m.length;g++){var v=m[g],y=v.id;p!==y&&(p=y,h[f++]=v)}return h},e}(),Gr=function(){function e(){}return e.prototype.isVisible=function(){return!0},e.prototype.setVisible=function(e){return e?this:qr.INSTANCE},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 1},e.prototype.getViewLineContent=function(e,t,n){return e.getLineContent(t)},e.prototype.getViewLineLength=function(e,t,n){return e.getLineLength(t)},e.prototype.getViewLineMinColumn=function(e,t,n){return e.getLineMinColumn(t)},e.prototype.getViewLineMaxColumn=function(e,t,n){return e.getLineMaxColumn(t)},e.prototype.getViewLineData=function(e,t,n){var r=e.getLineTokens(t),i=r.getLineContent();return new Tr["c"](i,!1,1,i.length+1,0,r.inflate())},e.prototype.getViewLinesData=function(e,t,n,r,i,o,a){o[i]?a[i]=this.getViewLineData(e,t,0):a[i]=null},e.prototype.getModelColumnOfViewPosition=function(e,t){return t},e.prototype.getViewPositionOfModelPosition=function(e,t){return new ie["a"](e,t)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){return e},e.INSTANCE=new e,e}(),qr=function(){function e(){}return e.prototype.isVisible=function(){return!1},e.prototype.setVisible=function(e){return e?Gr.INSTANCE:this},e.prototype.getLineBreakData=function(){return null},e.prototype.getViewLineCount=function(){return 0},e.prototype.getViewLineContent=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineLength=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMinColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineMaxColumn=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLineData=function(e,t,n){throw new Error("Not supported")},e.prototype.getViewLinesData=function(e,t,n,r,i,o,a){throw new Error("Not supported")},e.prototype.getModelColumnOfViewPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewPositionOfModelPosition=function(e,t){throw new Error("Not supported")},e.prototype.getViewLineNumberOfModelPosition=function(e,t){throw new Error("Not supported")},e.INSTANCE=new e,e}(),Yr=function(){function e(e,t){this._lineBreakData=e,this._isVisible=t}return e.prototype.isVisible=function(){return this._isVisible},e.prototype.setVisible=function(e){return this._isVisible=e,this},e.prototype.getLineBreakData=function(){return this._lineBreakData},e.prototype.getViewLineCount=function(){return this._isVisible?this._lineBreakData.breakOffsets.length:0},e.prototype.getInputStartOffsetOfOutputLineIndex=function(e){return Wr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,0)},e.prototype.getInputEndOffsetOfOutputLineIndex=function(e,t,n){return n+1===this._lineBreakData.breakOffsets.length?e.getLineMaxColumn(t)-1:Wr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,n+1,0)},e.prototype.getViewLineContent=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var r=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n),o=e.getValueInRange({startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+1});return n>0&&(o=Zr(this._lineBreakData.wrappedTextIndentLength)+o),o},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var r=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n),o=i-r;return n>0&&(o=this._lineBreakData.wrappedTextIndentLength+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var r=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n),o=e.getValueInRange({startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+1});n>0&&(o=Zr(this._lineBreakData.wrappedTextIndentLength)+o);var a=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,s=o.length+1,l=n+1<this.getViewLineCount(),u=0;n>0&&(u=this._lineBreakData.wrappedTextIndentLength);var c=e.getLineTokens(t),d=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new Tr["c"](o,l,a,s,d,c.sliceAndInflate(r,i,u))},e.prototype.getViewLinesData=function(e,t,n,r,i,o,a){if(!this._isVisible)throw new Error("Not supported");for(var s=n;s<r;s++){var l=i+s-n;o[l]?a[l]=this.getViewLineData(e,t,s):a[l]=null}},e.prototype.getModelColumnOfViewPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=t-1;return e>0&&(n<this._lineBreakData.wrappedTextIndentLength?n=0:n-=this._lineBreakData.wrappedTextIndentLength),Wr.getInputOffsetOfOutputPosition(this._lineBreakData.breakOffsets,e,n)+1},e.prototype.getViewPositionOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=Wr.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1),r=n.outputLineIndex,i=n.outputOffset+1;return r>0&&(i+=this._lineBreakData.wrappedTextIndentLength),new ie["a"](e+r,i)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=Wr.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1);return e+n.outputLineIndex},e}(),Xr=[""];function Zr(e){if(e>=Xr.length)for(var t=1;t<=e;t++)Xr[t]=Qr(t);return Xr[e]}function Qr(e){return new Array(e+1).join(" ")}function $r(e,t){return null===e?t?Gr.INSTANCE:qr.INSTANCE:new Yr(e,t)}var Jr=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),ei=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Jr(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n,r){return!1},e.prototype.createLineBreaksComputer=function(){var e=[];return{addRequest:function(t,n){e.push(null)},finalize:function(){return e}}},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new tt(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,r){return new nt(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new et(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,r=new Array(n),i=0;i<n;i++)r[i]=0;return r},e.prototype.getViewLineContent=function(e){return this.model.getLineContent(e)},e.prototype.getViewLineLength=function(e){return this.model.getLineLength(e)},e.prototype.getViewLineMinColumn=function(e){return this.model.getLineMinColumn(e)},e.prototype.getViewLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},e.prototype.getViewLineData=function(e){var t=this.model.getLineTokens(e),n=t.getLineContent();return new Tr["c"](n,!1,1,n.length+1,0,t.inflate())},e.prototype.getViewLinesData=function(e,t,n){var r=this.model.getLineCount();e=Math.min(Math.max(1,e),r),t=Math.min(Math.max(1,t),r);for(var i=[],o=e;o<=t;o++){var a=o-e;n[a]||(i[a]=null),i[a]=this.getViewLineData(o)}return i},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var r=this.model.getOverviewRulerDecorations(e,t),i=new ti,o=0,a=r;o<a.length;o++){var s=a[o],l=s.options.overviewRuler,u=l?l.position:0;if(0!==u){var c=l.getColor(n),d=s.range.startLineNumber,h=s.range.endLineNumber;i.accept(c,d,h,u)}}return i.result},e.prototype.getDecorationsInRange=function(e,t,n){return this.model.getDecorationsInRange(e,t,n)},e}(),ti=function(){function e(){this.result=Object.create(null)}return e.prototype.accept=function(e,t,n,r){var i=this.result[e];if(i){var o=i[i.length-3],a=i[i.length-1];if(o===r&&a+1>=t)return void(n>a&&(i[i.length-1]=n));i.push(r,t,n)}else this.result[e]=[r,t,n]},e}(),ni=function(){function e(e,t,n,r,i){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=r,this._coordinatesConverter=i,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var r=e.range,i=e.options,o=void 0;if(i.isWholeLine){var a=this._coordinatesConverter.convertModelPositionToViewPosition(new ie["a"](r.startLineNumber,1)),s=this._coordinatesConverter.convertModelPositionToViewPosition(new ie["a"](r.endLineNumber,this.model.getLineMaxColumn(r.endLineNumber)));o=new oe["a"](a.lineNumber,a.column,s.lineNumber,s.column)}else o=this._coordinatesConverter.convertModelRangeToViewRange(r);n=new Tr["e"](o,i),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange),t||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(K["j"])(this.configuration.options)),n=e.startLineNumber,r=e.endLineNumber,i=[],o=0,a=[],s=n;s<=r;s++)a[s-n]=[];for(var l=0,u=t.length;l<u;l++){var c=t[l],d=c.options,h=this._getOrCreateViewModelDecoration(c),f=h.range;if(i[o++]=h,d.inlineClassName){var p=new Tr["a"](f,d.inlineClassName,d.inlineClassNameAffectsLetterSpacing?3:0),g=Math.max(n,f.startLineNumber),m=Math.min(r,f.endLineNumber);for(s=g;s<=m;s++)a[s-n].push(p)}if(d.beforeContentClassName&&n<=f.startLineNumber&&f.startLineNumber<=r){p=new Tr["a"](new oe["a"](f.startLineNumber,f.startColumn,f.startLineNumber,f.startColumn),d.beforeContentClassName,1);a[f.startLineNumber-n].push(p)}if(d.afterContentClassName&&n<=f.endLineNumber&&f.endLineNumber<=r){p=new Tr["a"](new oe["a"](f.endLineNumber,f.endColumn,f.endLineNumber,f.endColumn),d.afterContentClassName,2);a[f.endLineNumber-n].push(p)}}return{decorations:i,inlineDecorations:a}},e}(),ri=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ii=!0,oi=function(e){function t(t,n,r,i,o,a){var s=e.call(this)||this;if(s.editorId=t,s.configuration=n,s.model=r,s._tokenizeViewportSoon=s._register(new v["d"]((function(){return s.tokenizeViewport()}),50)),s.hasFocus=!1,s.viewportStartLine=-1,s.viewportStartLineTrackedRange=null,s.viewportStartLineDelta=0,ii&&s.model.isTooLargeForTokenization())s.lines=new ei(s.model);else{var l=s.configuration.options,u=l.get(34),c=l.get(103),d=l.get(108),h=l.get(102);s.lines=new Kr(s.model,i,o,u,s.model.getOptions().tabSize,c,d.wrappingColumn,h)}return s.coordinatesConverter=s.lines.createCoordinatesConverter(),s.viewLayout=s._register(new Fr(s.configuration,s.getLineCount(),a)),s._register(s.viewLayout.onDidScroll((function(e){e.scrollTopChanged&&s._tokenizeViewportSoon.schedule();try{var t=s._beginEmit();t.emit(new it(e))}finally{s._endEmit()}}))),s._register(s.viewLayout.onDidContentSizeChange((function(e){try{var t=s._beginEmit();t.emit(new qe(e))}finally{s._endEmit()}}))),s.decorations=new ni(s.editorId,s.model,s.configuration,s.lines,s.coordinatesConverter),s._registerModelEvents(),s._register(s.configuration.onDidChange((function(e){try{var t=s._beginEmit();s._onConfigurationChanged(t,e)}finally{s._endEmit()}}))),s._register(dn.getInstance().onDidChange((function(){try{var e=s._beginEmit();e.emit(new st)}finally{s._endEmit()}}))),s}return ri(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.decorations.dispose(),this.lines.dispose(),this.invalidateMinimapColorCache(),this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,null,1)},t.prototype.tokenizeViewport=function(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)},t.prototype.setHasFocus=function(e){this.hasFocus=e},t.prototype._onConfigurationChanged=function(e,t){var n=null;if(-1!==this.viewportStartLine){var r=new ie["a"](this.viewportStartLine,this.getLineMinColumn(this.viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(r)}var i=!1,o=this.configuration.options,a=o.get(34),s=o.get(103),l=o.get(108),u=o.get(102);if(this.lines.setWrappingSettings(a,s,l.wrappingColumn,u)&&(e.emit(new Ze),e.emit(new Je),e.emit(new Xe),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0)),t.hasChanged(68)&&(this.decorations.reset(),e.emit(new Xe)),e.emit(new Ge(t)),this.viewLayout.onConfigurationChanged(t),i&&n){var c=this.coordinatesConverter.convertModelPositionToViewPosition(n),d=this.viewLayout.getVerticalOffsetForLineNumber(c.lineNumber);this.viewLayout.setScrollPositionNow({scrollTop:d+this.viewportStartLineDelta})}},t.prototype._registerModelEvents=function(){var e=this;this._register(this.model.onDidChangeRawContentFast((function(t){try{for(var n=e._beginEmit(),r=!1,i=!1,o=t.changes,a=t.versionId,s=e.lines.createLineBreaksComputer(),l=0,u=o;l<u.length;l++){var c=u[l];switch(c.changeType){case 4:for(var d=0,h=c.detail;d<h.length;d++){var f=h[d];s.addRequest(f,null)}break;case 2:s.addRequest(c.detail,null);break}}for(var p=s.finalize(),g=0,m=0,v=o;m<v.length;m++){c=v[m];switch(c.changeType){case 1:e.lines.onModelFlushed(),n.emit(new Ze),e.decorations.reset(),e.viewLayout.onFlushed(e.getLineCount()),r=!0;break;case 3:var y=e.lines.onModelLinesDeleted(a,c.fromLineNumber,c.toLineNumber);null!==y&&(n.emit(y),e.viewLayout.onLinesDeleted(y.fromLineNumber,y.toLineNumber)),r=!0;break;case 4:var b=p.slice(g,g+c.detail.length);g+=c.detail.length;var _=e.lines.onModelLinesInserted(a,c.fromLineNumber,c.toLineNumber,b);null!==_&&(n.emit(_),e.viewLayout.onLinesInserted(_.fromLineNumber,_.toLineNumber)),r=!0;break;case 2:var w=p[g];g++;var x=e.lines.onModelLineChanged(a,c.lineNumber,w),C=x[0],S=x[1];_=x[2],y=x[3];i=C,S&&n.emit(S),_&&(n.emit(_),e.viewLayout.onLinesInserted(_.fromLineNumber,_.toLineNumber)),y&&(n.emit(y),e.viewLayout.onLinesDeleted(y.fromLineNumber,y.toLineNumber));break;case 5:break}}e.lines.acceptVersionId(a),e.viewLayout.onHeightMaybeChanged(),!r&&i&&(n.emit(new Je),n.emit(new Xe),e.decorations.onLineMappingChanged())}finally{e._endEmit()}if(e.viewportStartLine=-1,e.configuration.setMaxLineNumber(e.model.getLineCount()),!e.hasFocus&&e.model.getAttachedEditorCount()>=2&&e.viewportStartLineTrackedRange){var O=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(O){var k=e.coordinatesConverter.convertModelPositionToViewPosition(O.getStartPosition()),E=e.viewLayout.getVerticalOffsetForLineNumber(k.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:E+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],r=0,i=t.ranges.length;r<i;r++){var o=t.ranges[r],a=e.coordinatesConverter.convertModelPositionToViewPosition(new ie["a"](o.fromLineNumber,1)).lineNumber,s=e.coordinatesConverter.convertModelPositionToViewPosition(new ie["a"](o.toLineNumber,e.model.getLineMaxColumn(o.toLineNumber))).lineNumber;n[r]={fromLineNumber:a,toLineNumber:s}}try{var l=e._beginEmit();l.emit(new at(n))}finally{e._endEmit()}t.tokenizationSupportChanged&&e._tokenizeViewportSoon.schedule()}))),this._register(this.model.onDidChangeLanguageConfiguration((function(t){try{var n=e._beginEmit();n.emit(new $e)}finally{e._endEmit()}}))),this._register(this.model.onDidChangeOptions((function(t){if(e.lines.setTabSize(e.model.getOptions().tabSize)){e.decorations.onLineMappingChanged(),e.viewLayout.onFlushed(e.getLineCount());try{var n=e._beginEmit();n.emit(new Ze),n.emit(new Je),n.emit(new Xe)}finally{e._endEmit()}}}))),this._register(this.model.onDidChangeDecorations((function(t){e.decorations.onModelDecorationsChanged();try{var n=e._beginEmit();n.emit(new Xe)}finally{e._endEmit()}})))},t.prototype.setHiddenAreas=function(e){try{var t=this._beginEmit(),n=this.lines.setHiddenAreas(e);n&&(t.emit(new Ze),t.emit(new Je),t.emit(new Xe),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._endEmit()}},t.prototype.getVisibleRanges=function(){var e=this.getCompletelyVisibleViewRange(),t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this.lines.getHiddenAreas();if(0===n.length)return[t];for(var r=[],i=0,o=t.startLineNumber,a=t.startColumn,s=t.endLineNumber,l=t.endColumn,u=0,c=n.length;u<c;u++){var d=n[u].startLineNumber,h=n[u].endLineNumber;h<o||(d>s||(o<d&&(r[i++]=new oe["a"](o,a,d-1,this.model.getLineMaxColumn(d-1))),o=h+1,a=1))}return(o<s||o===s&&a<l)&&(r[i++]=new oe["a"](o,a,s,l)),r},t.prototype.getCompletelyVisibleViewRange=function(){var e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new oe["a"](t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))},t.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){var t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,r=t.completelyVisibleEndLineNumber;return new oe["a"](n,this.getLineMinColumn(n),r,this.getLineMaxColumn(r))},t.prototype.saveState=function(){var e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),r=this.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](n,this.getLineMinColumn(n))),i=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:r,firstPositionDeltaTop:i}},t.prototype.reduceRestoreState=function(e){if("undefined"===typeof e.firstPosition)return this._reduceRestoreStateCompatibility(e);var t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),r=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:r}},t.prototype._reduceRestoreStateCompatibility=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}},t.prototype.getTabSize=function(){return this.model.getOptions().tabSize},t.prototype.getOptions=function(){return this.model.getOptions()},t.prototype.getLineCount=function(){return this.lines.getViewLineCount()},t.prototype.setViewport=function(e,t,n){this.viewportStartLine=e;var r=this.coordinatesConverter.convertViewPositionToModelPosition(new ie["a"](e,this.getLineMinColumn(e)));this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,new oe["a"](r.lineNumber,r.column,r.lineNumber,r.column),1);var i=this.viewLayout.getVerticalOffsetForLineNumber(e),o=this.viewLayout.getCurrentScrollTop();this.viewportStartLineDelta=o-i},t.prototype.getActiveIndentGuide=function(e,t,n){return this.lines.getActiveIndentGuide(e,t,n)},t.prototype.getLinesIndentGuides=function(e,t){return this.lines.getViewLinesIndentGuides(e,t)},t.prototype.getLineContent=function(e){return this.lines.getViewLineContent(e)},t.prototype.getLineLength=function(e){return this.lines.getViewLineLength(e)},t.prototype.getLineMinColumn=function(e){return this.lines.getViewLineMinColumn(e)},t.prototype.getLineMaxColumn=function(e){return this.lines.getViewLineMaxColumn(e)},t.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=Pe["q"](this.getLineContent(e));return-1===t?0:t+1},t.prototype.getLineLastNonWhitespaceColumn=function(e){var t=Pe["D"](this.getLineContent(e));return-1===t?0:t+2},t.prototype.getDecorationsInViewport=function(e){return this.decorations.getDecorationsViewportData(e).decorations},t.prototype.getViewLineRenderingData=function(e,t){var n=this.model.mightContainRTL(),r=this.model.mightContainNonBasicASCII(),i=this.getTabSize(),o=this.lines.getViewLineData(t),a=this.decorations.getDecorationsViewportData(e).inlineDecorations,s=a[t-e.startLineNumber];return new Tr["d"](o.minColumn,o.maxColumn,o.content,o.continuesWithWrappedLine,n,r,o.tokens,s,i,o.startVisibleColumn)},t.prototype.getViewLineData=function(e){return this.lines.getViewLineData(e)},t.prototype.getMinimapLinesRenderingData=function(e,t,n){var r=this.lines.getViewLinesData(e,t,n);return new Tr["b"](this.getTabSize(),r)},t.prototype.getAllOverviewRulerDecorations=function(e){return this.lines.getAllOverviewRulerDecorations(this.editorId,Object(K["j"])(this.configuration.options),e)},t.prototype.invalidateOverviewRulerColorCache=function(){for(var e=this.model.getOverviewRulerDecorations(),t=0,n=e;t<n.length;t++){var r=n[t],i=r.options.overviewRuler;i&&i.invalidateCachedColor()}},t.prototype.invalidateMinimapColorCache=function(){for(var e=this.model.getAllDecorations(),t=0,n=e;t<n.length;t++){var r=n[t],i=r.options.minimap;i&&i.invalidateCachedColor()}},t.prototype.getValueInRange=function(e,t){var n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)},t.prototype.getModelLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},t.prototype.validateModelPosition=function(e){return this.model.validatePosition(e)},t.prototype.validateModelRange=function(e){return this.model.validateRange(e)},t.prototype.deduceModelPositionRelativeToViewPosition=function(e,t,n){var r=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);var i=this.model.getOffsetAt(r),o=i+t;return this.model.getPositionAt(o)},t.prototype.getEOL=function(){return this.model.getEOL()},t.prototype.getPlainTextToCopy=function(e,t,n){var r=n?"\r\n":this.model.getEOL();e=e.slice(0),e.sort(oe["a"].compareRangesUsingStarts);for(var i=!1,o=!1,a=0,s=e;a<s.length;a++){var l=s[a];l.isEmpty()?i=!0:o=!0}if(!o){if(!t)return"";for(var u=e.map((function(e){return e.startLineNumber})),c="",d=0;d<u.length;d++)d>0&&u[d-1]===u[d]||(c+=this.model.getLineContent(u[d])+r);return c}if(i&&t){for(var h=[],f=0,p=0,g=e;p<g.length;p++){var m=g[p],v=m.startLineNumber;m.isEmpty()?v!==f&&h.push(this.model.getLineContent(v)):h.push(this.model.getValueInRange(m,n?2:0)),f=v}return 1===h.length?h[0]:h}for(var y=[],b=0,_=e;b<_.length;b++){m=_[b];m.isEmpty()||y.push(this.model.getValueInRange(m,n?2:0))}return 1===y.length?y[0]:y},t.prototype.getRichTextToCopy=function(e,t){var n=this.model.getLanguageIdentifier();if(1===n.id)return null;if(1!==e.length)return null;var r=e[0];if(r.isEmpty()){if(!t)return null;var i=r.startLineNumber;r=new oe["a"](i,this.model.getLineMinColumn(i),i,this.model.getLineMaxColumn(i))}var o=this.configuration.options.get(34),a=this._getColorMap(),s=o.fontFamily===K["b"].fontFamily?o.fontFamily:"'"+o.fontFamily+"', "+K["b"].fontFamily;return{mode:n.language,html:'<div style="color: '+a[1]+";background-color: "+a[2]+";font-family: "+s+";font-weight: "+o.fontWeight+";font-size: "+o.fontSize+"px;line-height: "+o.lineHeight+'px;white-space: pre;">'+this._getHTMLToCopy(r,a)+"</div>"}},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn,a=this.getTabSize(),s="",l=n;l<=i;l++){var u=this.model.getLineTokens(l),c=u.getLineContent(),d=l===n?r-1:0,h=l===i?o-1:c.length;s+=""===c?"<br>":Object(Dr["a"])(c,u.inflate(),t,d,h,a,f["h"])}return s},t.prototype._getColorMap=function(){var e=cn["y"].getColorMap(),t=["#000000"];if(e)for(var n=1,r=e.length;n<r;n++)t[n]=An["a"].Format.CSS.formatHex(e[n]);return t},t}(ut),ai=n("nnTU"),si=n("T8No"),li=n("Cg/j"),ui=n("8HsV"),ci=n("sM1p"),di=n("R3nR"),hi=n("746U"),fi=n("MXAL"),pi=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gi=function(e){function t(t,n){for(var r=e.call(this,0)||this,i=0;i<t.length;i++)r.set(t.charCodeAt(i),1);for(i=0;i<n.length;i++)r.set(n.charCodeAt(i),2);return r}return pi(t,e),t.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue},t}(fi["a"]),mi=[],vi=[],yi=function(){function e(e,t){this.classifier=new gi(e,t)}return e.create=function(t){return new e(t.get(99),t.get(98))},e.prototype.createLineBreaksComputer=function(e,t,n,r){var i=this;t|=0,n=+n;var o=[],a=[];return{addRequest:function(e,t){o.push(e),a.push(t)},finalize:function(){for(var s=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,l=[],u=0,c=o.length;u<c;u++){var d=a[u];l[u]=d?bi(i.classifier,d,o[u],t,n,s,r):_i(i.classifier,o[u],t,n,s,r)}return mi.length=0,vi.length=0,l}}},e}();function bi(e,t,n,r,i,o,a){if(-1===i)return null;var s=n.length;if(s<=1)return null;var l=t.breakOffsets,u=t.breakOffsetsVisibleColumn,c=Si(n,r,i,o,a),d=i-c,h=mi,f=vi,p=0,g=i,m=l.length,v=0;if(v>=0){var y=Math.abs(u[v]-g);while(v+1<m){var b=Math.abs(u[v+1]-g);if(b>=y)break;y=b,v++}}while(v<m){var _=v<0?0:l[v],w=v<0?0:u[v],x=0,C=0,S=0,O=0;if(w<=g){for(var k=w,E=n.charCodeAt(_-1),D=e.get(E),M=!0,N=_;N<s;N++){var L=N,I=n.charCodeAt(N),T=void 0,P=void 0;if(Pe["z"](I)?(N++,T=0,P=2):(T=e.get(I),P=wi(I,k,r,o)),Ci(E,D,I,T)&&(x=L,C=k),k+=P,k>g){S=L,O=k-P,k-C>d&&(x=0),M=!1;break}E=I,D=T}if(M){p>0&&(h[p]=l[l.length-1],f[p]=u[l.length-1],p++);break}}if(0===x){k=w,I=n.charCodeAt(_),T=e.get(I);var A=!1;for(N=_-1;N>=0;N--){L=N+1,E=n.charCodeAt(N);if(9===E){A=!0;break}D=void 0;var R=void 0;if(Pe["A"](E)?(N--,D=0,R=2):(D=e.get(E),R=Pe["y"](E)?o:1),k<=g){if(0===S&&(S=L,O=k),k<=g-d)break;if(Ci(E,D,I,T)){x=L,C=k;break}}k-=R,I=E,T=D}if(0!==x){var j=d-(O-C);if(j<=r){var F=n.charCodeAt(S);P=void 0;P=Pe["z"](F)?2:wi(F,O,r,o),j-P<0&&(x=0)}}if(A){v--;continue}}0===x&&(x=S,C=O),h[p]=x,f[p]=C,p++,g=C+d;while(v<0||v<m&&u[v]<C)v++;y=Math.abs(u[v]-g);while(v+1<m){b=Math.abs(u[v+1]-g);if(b>=y)break;y=b,v++}}return 0===p?null:(h.length=p,f.length=p,mi=t.breakOffsets,vi=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=f,t.wrappedTextIndentLength=c,t)}function _i(e,t,n,r,i,o){if(-1===r)return null;var a=t.length;if(a<=1)return null;var s=Si(t,n,r,i,o),l=r-s,u=[],c=[],d=0,h=0,f=0,p=r,g=t.charCodeAt(0),m=e.get(g),v=wi(g,0,n,i),y=1;Pe["z"](g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),y++);for(var b=y;b<a;b++){var _=b,w=t.charCodeAt(b),x=void 0,C=void 0;Pe["z"](w)?(b++,x=0,C=2):(x=e.get(w),C=wi(w,v,n,i)),Ci(g,m,w,x)&&(h=_,f=v),v+=C,v>p&&((0===h||v-f>l)&&(h=_,f=v-C),u[d]=h,c[d]=f,d++,p=f+l,h=0),g=w,m=x}return 0===d?null:(u[d]=a,c[d]=v,new Wr(u,c,s))}function wi(e,t,n,r){return 9===e?n-t%n:Pe["y"](e)?r:1}function xi(e,t){return t-e%t}function Ci(e,t,n,r){return 32!==n&&(2===t||3===t&&2!==r||1===r||3===r&&1!==t)}function Si(e,t,n,r,i){var o=0;if(0!==i){var a=Pe["q"](e);if(-1!==a){for(var s=0;s<a;s++){var l=9===e.charCodeAt(s)?xi(o,t):1;o+=l}var u=3===i?2:2===i?1:0;for(s=0;s<u;s++){l=xi(o,t);o+=l}o+r>n&&(o=0)}}return o}var Oi=function(){function e(){}return e.create=function(){return new e},e.prototype.createLineBreaksComputer=function(e,t,n,r){t|=0,n=+n;var i=[];return{addRequest:function(e,t){i.push(e)},finalize:function(){return ki(i,e,t,n,r)}}},e}();function ki(e,t,n,r,i){if(-1===r){for(var o=[],a=0,s=e.length;a<s;a++)o[a]=null;return o}var l=Math.round(r*t.typicalHalfwidthCharacterWidth);2!==i&&3!==i||(i=1);var c=document.createElement("div");u["a"].applyFontInfoSlow(c,t);var d=Object(St["a"])(1e4),h=[],f=[],p=[],g=[],m=[];for(a=0;a<e.length;a++){var v=e[a],y=0,b=0,_=l;if(0!==i)if(y=Pe["q"](v),-1===y)y=0;else{for(var w=0;w<y;w++){var x=9===v.charCodeAt(w)?n-b%n:1;b+=x}var C=Math.ceil(t.spaceWidth*b);C+t.typicalFullwidthCharacterWidth>l?(y=0,b=0):_=l-C}var S=v.substr(y),O=Ei(S,b,n,_,d);h[a]=y,f[a]=b,p[a]=S,g[a]=O[0],m[a]=O[1]}c.innerHTML=d.build(),c.style.position="absolute",c.style.top="10000",c.style.wordWrap="break-word",document.body.appendChild(c);var k=document.createRange(),E=Array.prototype.slice.call(c.children,0),D=[];for(a=0;a<e.length;a++){var M=E[a],N=Di(k,M,p[a],g[a]);if(null!==N){y=h[a],b=f[a];var L=m[a],I=[],T=0;for(s=N.length;T<s;T++)I[T]=L[N[T]];if(0!==y)for(T=0,s=N.length;T<s;T++)N[T]+=y;D[a]=new Wr(N,I,b)}else D[a]=null}return document.body.removeChild(c),D}function Ei(e,t,n,r,i){i.appendASCIIString('<div style="width:'),i.appendASCIIString(String(r)),i.appendASCIIString('px;">');for(var o=e.length,a=t,s=0,l=[],u=[],c=0<o?e.charCodeAt(0):0,d=0;d<o;d++){l[d]=s,u[d]=a;var h=c;c=d+1<o?e.charCodeAt(d+1):0;var f=1,p=1;switch(h){case 9:f=n-a%n,p=f;for(var g=1;g<=f;g++)g<f?i.write1(160):i.appendASCII(32);break;case 32:32===c?i.write1(160):i.appendASCII(32);break;case 60:i.appendASCIIString("<");break;case 62:i.appendASCIIString(">");break;case 38:i.appendASCIIString("&");break;case 0:i.appendASCIIString("�");break;case 65279:case 8232:i.write1(65533);break;default:Pe["y"](h)&&p++,i.write1(h)}s+=f,a+=p}return l[e.length]=s,u[e.length]=a,i.appendASCIIString("</div>"),[l,u]}function Di(e,t,n,r){if(n.length<=1)return null;var i=t.firstChild,o=[];return Mi(e,i,r,0,null,n.length-1,null,o),0===o.length?null:(o.push(n.length),o)}function Mi(e,t,n,r,i,o,a,s){if(r!==o&&(i=i||Ni(e,t,n[r],n[r+1]),a=a||Ni(e,t,n[o],n[o+1]),!(Math.abs(i[0].top-a[0].top)<=.1)))if(r+1!==o){var l=r+(o-r)/2|0,u=Ni(e,t,n[l],n[l+1]);Mi(e,t,n,r,i,l,u,s),Mi(e,t,n,l,u,o,a,s)}else s.push(o)}function Ni(e,t,n,r){return e.setStart(t,n),e.setEnd(t,r),e.getClientRects()}var Li=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ii=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Ti=function(e,t){return function(n,r){t(n,r,e)}},Pi=0,Ai=function(){function e(e,t,n,r,i,o){this.model=e,this.viewModel=t,this.cursor=n,this.view=r,this.hasRealView=i,this.listenersToRemove=o}return e.prototype.dispose=function(){Object(s["f"])(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),Ri=function(e){function t(t,n,r,i,s,l,u,d,h,f){var p,g=e.call(this)||this;g._onDidDispose=g._register(new a["a"]),g.onDidDispose=g._onDidDispose.event,g._onDidChangeModelContent=g._register(new a["a"]),g.onDidChangeModelContent=g._onDidChangeModelContent.event,g._onDidChangeModelLanguage=g._register(new a["a"]),g.onDidChangeModelLanguage=g._onDidChangeModelLanguage.event,g._onDidChangeModelLanguageConfiguration=g._register(new a["a"]),g.onDidChangeModelLanguageConfiguration=g._onDidChangeModelLanguageConfiguration.event,g._onDidChangeModelOptions=g._register(new a["a"]),g.onDidChangeModelOptions=g._onDidChangeModelOptions.event,g._onDidChangeModelDecorations=g._register(new a["a"]),g.onDidChangeModelDecorations=g._onDidChangeModelDecorations.event,g._onDidChangeConfiguration=g._register(new a["a"]),g.onDidChangeConfiguration=g._onDidChangeConfiguration.event,g._onDidChangeModel=g._register(new a["a"]),g.onDidChangeModel=g._onDidChangeModel.event,g._onDidChangeCursorPosition=g._register(new a["a"]),g.onDidChangeCursorPosition=g._onDidChangeCursorPosition.event,g._onDidChangeCursorSelection=g._register(new a["a"]),g.onDidChangeCursorSelection=g._onDidChangeCursorSelection.event,g._onDidAttemptReadOnlyEdit=g._register(new a["a"]),g.onDidAttemptReadOnlyEdit=g._onDidAttemptReadOnlyEdit.event,g._onDidLayoutChange=g._register(new a["a"]),g.onDidLayoutChange=g._onDidLayoutChange.event,g._editorTextFocus=g._register(new ji),g.onDidFocusEditorText=g._editorTextFocus.onDidChangeToTrue,g.onDidBlurEditorText=g._editorTextFocus.onDidChangeToFalse,g._editorWidgetFocus=g._register(new ji),g.onDidFocusEditorWidget=g._editorWidgetFocus.onDidChangeToTrue,g.onDidBlurEditorWidget=g._editorWidgetFocus.onDidChangeToFalse,g._onWillType=g._register(new a["a"]),g.onWillType=g._onWillType.event,g._onDidType=g._register(new a["a"]),g.onDidType=g._onDidType.event,g._onDidCompositionStart=g._register(new a["a"]),g.onDidCompositionStart=g._onDidCompositionStart.event,g._onDidCompositionEnd=g._register(new a["a"]),g.onDidCompositionEnd=g._onDidCompositionEnd.event,g._onDidPaste=g._register(new a["a"]),g.onDidPaste=g._onDidPaste.event,g._onMouseUp=g._register(new a["a"]),g.onMouseUp=g._onMouseUp.event,g._onMouseDown=g._register(new a["a"]),g.onMouseDown=g._onMouseDown.event,g._onMouseDrag=g._register(new a["a"]),g.onMouseDrag=g._onMouseDrag.event,g._onMouseDrop=g._register(new a["a"]),g.onMouseDrop=g._onMouseDrop.event,g._onContextMenu=g._register(new a["a"]),g.onContextMenu=g._onContextMenu.event,g._onMouseMove=g._register(new a["a"]),g.onMouseMove=g._onMouseMove.event,g._onMouseLeave=g._register(new a["a"]),g.onMouseLeave=g._onMouseLeave.event,g._onMouseWheel=g._register(new a["a"]),g.onMouseWheel=g._onMouseWheel.event,g._onKeyUp=g._register(new a["a"]),g.onKeyUp=g._onKeyUp.event,g._onKeyDown=g._register(new a["a"]),g.onKeyDown=g._onKeyDown.event,g._onDidContentSizeChange=g._register(new a["a"]),g.onDidContentSizeChange=g._onDidContentSizeChange.event,g._onDidScrollChange=g._register(new a["a"]),g.onDidScrollChange=g._onDidScrollChange.event,g._onDidChangeViewZones=g._register(new a["a"]),g.onDidChangeViewZones=g._onDidChangeViewZones.event,g._domElement=t,g._id=++Pi,g._decorationTypeKeysToIds={},g._decorationTypeSubtypes={},g.isSimpleWidget=r.isSimpleWidget||!1,g._telemetryData=r.telemetryData,n=n||{},g._configuration=g._register(g._createConfiguration(n,f)),g._register(g._configuration.onDidChange((function(e){g._onDidChangeConfiguration.fire(e);var t=g._configuration.options;if(e.hasChanged(107)){var n=t.get(107);g._onDidLayoutChange.fire(n)}}))),g._contextKeyService=g._register(u.createScoped(g._domElement)),g._notificationService=h,g._codeEditorService=s,g._commandService=l,g._themeService=d,g._register(new Fi(g,g._contextKeyService)),g._register(new Bi(g,g._contextKeyService)),g._instantiationService=i.createChild(new ui["a"]([si["c"],g._contextKeyService])),g._modelData=null,g._contributions={},g._actions={},g._focusTracker=new Vi(t),g._focusTracker.onChange((function(){g._editorWidgetFocus.setValue(g._focusTracker.hasFocus())})),g._contentWidgets={},g._overlayWidgets={},p=Array.isArray(r.contributions)?r.contributions:c["d"].getEditorContributions();for(var m=0,v=p;m<v.length;m++){var y=v[m];try{var b=g._instantiationService.createInstance(y.ctor,g);g._contributions[y.id]=b}catch(_){Object(o["e"])(_)}}return c["d"].getEditorActions().forEach((function(e){var t=new kr["a"](e.id,e.label,e.alias,Object(hi["n"])(e.precondition),(function(){return g._instantiationService.invokeFunction((function(t){return Promise.resolve(e.runEditorCommand(t,g,null))}))}),g._contextKeyService);g._actions[t.id]=t})),g._codeEditorService.addCodeEditor(g),g}return Li(t,e),t.prototype._createConfiguration=function(e,t){return new u["a"](this.isSimpleWidget,e,this._domElement,t)},t.prototype.getId=function(){return this.getEditorType()+":"+this._id},t.prototype.getEditorType=function(){return yr["a"].ICodeEditor},t.prototype.dispose=function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var t=Object.keys(this._contributions),n=0,r=t.length;n<r;n++){var i=t[n];this._contributions[i].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),e.prototype.dispose.call(this)},t.prototype.invokeWithinContext=function(e){return this._instantiationService.invokeFunction(e)},t.prototype.updateOptions=function(e){this._configuration.updateOptions(e)},t.prototype.getOptions=function(){return this._configuration.options},t.prototype.getOption=function(e){return this._configuration.options.get(e)},t.prototype.getRawOptions=function(){return this._configuration.getRawOptions()},t.prototype.getValue=function(e){if(void 0===e&&(e=null),!this._modelData)return"";var t=!(!e||!e.preserveBOM),n=0;return e&&e.lineEnding&&"\n"===e.lineEnding?n=1:e&&e.lineEnding&&"\r\n"===e.lineEnding&&(n=2),this._modelData.model.getValue(n,t)},t.prototype.setValue=function(e){this._modelData&&this._modelData.model.setValue(e)},t.prototype.getModel=function(){return this._modelData?this._modelData.model:null},t.prototype.setModel=function(e){void 0===e&&(e=null);var t=e;if((null!==this._modelData||null!==t)&&(!this._modelData||this._modelData.model!==t)){var n=this.hasTextFocus(),r=this._detachModel();this._attachModel(t),n&&this.hasModel()&&this.focus();var i={oldModelUrl:r?r.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(i),this._postDetachModelCleanup(r)}},t.prototype._removeDecorationTypes=function(){if(this._decorationTypeKeysToIds={},this._decorationTypeSubtypes){for(var e in this._decorationTypeSubtypes){var t=this._decorationTypeSubtypes[e];for(var n in t)this._removeDecorationType(e+"-"+n)}this._decorationTypeSubtypes={}}},t.prototype.getVisibleRanges=function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]},t.prototype.getWhitespaces=function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]},t._getVerticalOffsetForPosition=function(e,t,n){var r=e.model.validatePosition({lineNumber:t,column:n}),i=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(r);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(i.lineNumber)},t.prototype.getTopForLineNumber=function(e){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,1):-1},t.prototype.getTopForPosition=function(e,n){return this._modelData?t._getVerticalOffsetForPosition(this._modelData,e,n):-1},t.prototype.setHiddenAreas=function(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map((function(e){return oe["a"].lift(e)})))},t.prototype.getVisibleColumnFromPosition=function(e){if(!this._modelData)return e.column;var t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return ae["a"].visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1},t.prototype.getPosition=function(){return this._modelData?this._modelData.cursor.getPosition():null},t.prototype.setPosition=function(e){if(this._modelData){if(!ie["a"].isIPosition(e))throw new Error("Invalid arguments");this._modelData.cursor.setSelections("api",[{selectionStartLineNumber:e.lineNumber,selectionStartColumn:e.column,positionLineNumber:e.lineNumber,positionColumn:e.column}])}},t.prototype._sendRevealRange=function(e,t,n,r){if(this._modelData){if(!oe["a"].isIRange(e))throw new Error("Invalid arguments");var i=this._modelData.model.validateRange(e),o=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(i);this._modelData.cursor.emitCursorRevealRange("api",o,t,n,r)}},t.prototype.revealLine=function(e,t){void 0===t&&(t=0),this._revealLine(e,0,t)},t.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this._revealLine(e,1,t)},t.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealLine(e,2,t)},t.prototype._revealLine=function(e,t,n){if("number"!==typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new oe["a"](e,1,e,1),t,!1,n)},t.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this._revealPosition(e,0,!0,t)},t.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this._revealPosition(e,1,!0,t)},t.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealPosition(e,2,!0,t)},t.prototype._revealPosition=function(e,t,n,r){if(!ie["a"].isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new oe["a"](e.lineNumber,e.column,e.lineNumber,e.column),t,n,r)},t.prototype.getSelection=function(){return this._modelData?this._modelData.cursor.getSelection():null},t.prototype.getSelections=function(){return this._modelData?this._modelData.cursor.getSelections():null},t.prototype.setSelection=function(e){var t=_e["a"].isISelection(e),n=oe["a"].isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){var r={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(r)}},t.prototype._setSelectionImpl=function(e){if(this._modelData){var t=new _e["a"](e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.cursor.setSelections("api",[t])}},t.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,0,n)},t.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,1,n)},t.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,2,n)},t.prototype._revealLines=function(e,t,n,r){if("number"!==typeof e||"number"!==typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new oe["a"](e,1,t,1),n,!1,r)},t.prototype.revealRange=function(e,t,n,r){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===r&&(r=!0),this._revealRange(e,n?1:0,r,t)},t.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this._revealRange(e,1,!0,t)},t.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealRange(e,2,!0,t)},t.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this._revealRange(e,3,!0,t)},t.prototype._revealRange=function(e,t,n,r){if(!oe["a"].isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(oe["a"].lift(e),t,n,r)},t.prototype.setSelections=function(e,t){if(void 0===t&&(t="api"),this._modelData){if(!e||0===e.length)throw new Error("Invalid arguments");for(var n=0,r=e.length;n<r;n++)if(!_e["a"].isISelection(e[n]))throw new Error("Invalid arguments");this._modelData.cursor.setSelections(t,e)}},t.prototype.getContentWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentWidth():-1},t.prototype.getScrollWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1},t.prototype.getScrollLeft=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1},t.prototype.getContentHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getContentHeight():-1},t.prototype.getScrollHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1},t.prototype.getScrollTop=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1},t.prototype.setScrollLeft=function(e){if(this._modelData){if("number"!==typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollLeft:e})}},t.prototype.setScrollTop=function(e){if(this._modelData){if("number"!==typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollTop:e})}},t.prototype.setScrollPosition=function(e){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPositionNow(e)},t.prototype.saveViewState=function(){if(!this._modelData)return null;for(var e={},t=Object.keys(this._contributions),n=0,r=t;n<r.length;n++){var i=r[n],o=this._contributions[i];"function"===typeof o.saveViewState&&(e[i]=o.saveViewState())}var a=this._modelData.cursor.saveState(),s=this._modelData.viewModel.saveState();return{cursorState:a,viewState:s,contributionsState:e}},t.prototype.restoreViewState=function(e){if(this._modelData&&this._modelData.hasRealView){var t=e;if(t&&t.cursorState&&t.viewState){var n=t.cursorState;Array.isArray(n)?this._modelData.cursor.restoreState(n):this._modelData.cursor.restoreState([n]);for(var r=t.contributionsState||{},i=Object.keys(this._contributions),o=0,a=i.length;o<a;o++){var s=i[o],l=this._contributions[s];"function"===typeof l.restoreViewState&&l.restoreViewState(r[s])}var u=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(u)}}},t.prototype.getContribution=function(e){return this._contributions[e]||null},t.prototype.getActions=function(){for(var e=[],t=Object.keys(this._actions),n=0,r=t.length;n<r;n++){var i=t[n];e.push(this._actions[i])}return e},t.prototype.getSupportedActions=function(){var e=this.getActions();return e=e.filter((function(e){return e.isSupported()})),e},t.prototype.getAction=function(e){return this._actions[e]||null},t.prototype.trigger=function(e,t,n){if(n=n||{},t===yr["b"].Type){if(!this._modelData||"string"!==typeof n.text||0===n.text.length)return;return"keyboard"===e&&this._onWillType.fire(n.text),this._modelData.cursor.trigger(e,t,n),void("keyboard"===e&&this._onDidType.fire(n.text))}if(t!==yr["b"].Paste){var r=this.getAction(t);r?Promise.resolve(r.run()).then(void 0,o["e"]):this._modelData&&(this._triggerEditorCommand(e,t,n)||(this._modelData.cursor.trigger(e,t,n),t===yr["b"].CompositionStart&&this._onDidCompositionStart.fire(),t===yr["b"].CompositionEnd&&this._onDidCompositionEnd.fire()))}else{if(!this._modelData||"string"!==typeof n.text||0===n.text.length)return;var i=this._modelData.cursor.getSelection().getStartPosition();this._modelData.cursor.trigger(e,t,n);var a=this._modelData.cursor.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire({range:new oe["a"](i.lineNumber,i.column,a.lineNumber,a.column),mode:n.mode})}},t.prototype._triggerEditorCommand=function(e,t,n){var r=this,i=c["d"].getEditorCommand(t);return!!i&&(n=n||{},n.source=e,this._instantiationService.invokeFunction((function(e){Promise.resolve(i.runEditorCommand(e,r,n)).then(void 0,o["e"])})),!0)},t.prototype._getCursors=function(){return this._modelData?this._modelData.cursor:null},t.prototype.pushUndoStop=function(){return!!this._modelData&&(!this._configuration.options.get(68)&&(this._modelData.model.pushStackElement(),!0))},t.prototype.executeEdits=function(e,t,n){return!!this._modelData&&(!this._configuration.options.get(68)&&(r=n?Array.isArray(n)?function(){return n}:n:function(){return null},this._modelData.cursor.executeEdits(e,t,r),!0));var r},t.prototype.executeCommand=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,yr["b"].ExecuteCommand,t)},t.prototype.executeCommands=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,yr["b"].ExecuteCommands,t)},t.prototype.changeDecorations=function(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null},t.prototype.getLineDecorations=function(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,Object(K["j"])(this._configuration.options)):null},t.prototype.deltaDecorations=function(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]},t.prototype.removeDecorations=function(e){var t=this._decorationTypeKeysToIds[e];t&&this.deltaDecorations(t,[]),this._decorationTypeKeysToIds.hasOwnProperty(e)&&delete this._decorationTypeKeysToIds[e],this._decorationTypeSubtypes.hasOwnProperty(e)&&delete this._decorationTypeSubtypes[e]},t.prototype.getLayoutInfo=function(){var e=this._configuration.options,t=e.get(107);return t},t.prototype.createOverviewRuler=function(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null},t.prototype.getContainerDomNode=function(){return this._domElement},t.prototype.getDomNode=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)},t.prototype.layout=function(e){this._configuration.observeReferenceElement(e),this.render()},t.prototype.focus=function(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()},t.prototype.hasTextFocus=function(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()},t.prototype.hasWidgetFocus=function(){return this._focusTracker&&this._focusTracker.hasFocus()},t.prototype.addContentWidget=function(e){var t={widget:e,position:e.getPosition()};this._contentWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting a content widget with the same id."),this._contentWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addContentWidget(t)},t.prototype.layoutContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutContentWidget(n)}},t.prototype.removeContentWidget=function(e){var t=e.getId();if(this._contentWidgets.hasOwnProperty(t)){var n=this._contentWidgets[t];delete this._contentWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeContentWidget(n)}},t.prototype.addOverlayWidget=function(e){var t={widget:e,position:e.getPosition()};this._overlayWidgets.hasOwnProperty(e.getId())&&console.warn("Overwriting an overlay widget with the same id."),this._overlayWidgets[e.getId()]=t,this._modelData&&this._modelData.hasRealView&&this._modelData.view.addOverlayWidget(t)},t.prototype.layoutOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];n.position=e.getPosition(),this._modelData&&this._modelData.hasRealView&&this._modelData.view.layoutOverlayWidget(n)}},t.prototype.removeOverlayWidget=function(e){var t=e.getId();if(this._overlayWidgets.hasOwnProperty(t)){var n=this._overlayWidgets[t];delete this._overlayWidgets[t],this._modelData&&this._modelData.hasRealView&&this._modelData.view.removeOverlayWidget(n)}},t.prototype.changeViewZones=function(e){if(this._modelData&&this._modelData.hasRealView){var t=this._modelData.view.change(e);t&&this._onDidChangeViewZones.fire()}},t.prototype.getTargetAtClientPoint=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null},t.prototype.getScrolledVisiblePosition=function(e){if(!this._modelData||!this._modelData.hasRealView)return null;var n=this._modelData.model.validatePosition(e),r=this._configuration.options,i=r.get(107),o=t._getVerticalOffsetForPosition(this._modelData,n.lineNumber,n.column)-this.getScrollTop(),a=this._modelData.view.getOffsetForColumn(n.lineNumber,n.column)+i.glyphMarginWidth+i.lineNumbersWidth+i.decorationsWidth-this.getScrollLeft();return{top:o,left:a,height:r.get(49)}},t.prototype.getOffsetForColumn=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1},t.prototype.render=function(e){void 0===e&&(e=!1),this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)},t.prototype.setAriaOptions=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.setAriaOptions(e)},t.prototype.applyFontInfo=function(e){u["a"].applyFontInfoSlow(e,this._configuration.options.get(34))},t.prototype._attachModel=function(e){var t=this;if(e){var n=[];this._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(e.isDominatedByLongLines()),this._configuration.setMaxLineNumber(e.getLineCount()),e.onBeforeAttached();var o=new oi(this._id,this._configuration,e,Oi.create(),yi.create(this._configuration.options),(function(e){return i["V"](e)}));n.push(e.onDidChangeDecorations((function(e){return t._onDidChangeModelDecorations.fire(e)}))),n.push(e.onDidChangeLanguage((function(n){t._domElement.setAttribute("data-mode-id",e.getLanguageIdentifier().language),t._onDidChangeModelLanguage.fire(n)}))),n.push(e.onDidChangeLanguageConfiguration((function(e){return t._onDidChangeModelLanguageConfiguration.fire(e)}))),n.push(e.onDidChangeContent((function(e){return t._onDidChangeModelContent.fire(e)}))),n.push(e.onDidChangeOptions((function(e){return t._onDidChangeModelOptions.fire(e)}))),n.push(e.onWillDispose((function(){return t.setModel(null)})));var a=new Sr(this._configuration,e,o);n.push(a.onDidReachMaxCursorCount((function(){t._notificationService.warn(r["a"]("cursors.maximum","The number of cursors has been limited to {0}.",Sr.MAX_CURSOR_COUNT))}))),n.push(a.onDidAttemptReadOnlyEdit((function(){t._onDidAttemptReadOnlyEdit.fire(void 0)}))),n.push(a.onDidChange((function(e){for(var n=[],r=0,i=e.selections.length;r<i;r++)n[r]=e.selections[r].getPosition();var o={position:n[0],secondaryPositions:n.slice(1),reason:e.reason,source:e.source};t._onDidChangeCursorPosition.fire(o);var a={selection:e.selections[0],secondarySelections:e.selections.slice(1),modelVersionId:e.modelVersionId,oldSelections:e.oldSelections,oldModelVersionId:e.oldModelVersionId,source:e.source,reason:e.reason};t._onDidChangeCursorSelection.fire(a)})));var s=this._createView(o,a),l=s[0],u=s[1];if(u){this._domElement.appendChild(l.domNode.domNode);for(var c=Object.keys(this._contentWidgets),d=0,h=c.length;d<h;d++){var f=c[d];l.addContentWidget(this._contentWidgets[f])}c=Object.keys(this._overlayWidgets);for(d=0,h=c.length;d<h;d++){f=c[d];l.addOverlayWidget(this._overlayWidgets[f])}l.render(!1,!0),l.domNode.domNode.setAttribute("data-uri",e.uri.toString())}this._modelData=new Ai(e,o,a,l,u,n)}else this._modelData=null},t.prototype._createView=function(e,t){var n,r=this;n=this.isSimpleWidget?{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,i,o){r.trigger(e,yr["b"].Paste,{text:t,pasteOnNewLine:n,multicursorText:i,mode:o})},type:function(e,t){r.trigger(e,yr["b"].Type,{text:t})},replacePreviousChar:function(e,t,n){r.trigger(e,yr["b"].ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){r.trigger(e,yr["b"].CompositionStart,void 0)},compositionEnd:function(e){r.trigger(e,yr["b"].CompositionEnd,void 0)},cut:function(e){r.trigger(e,yr["b"].Cut,void 0)}}:{executeEditorCommand:function(e,n){e.runCoreEditorCommand(t,n)},paste:function(e,t,n,i,o){r._commandService.executeCommand(yr["b"].Paste,{text:t,pasteOnNewLine:n,multicursorText:i,mode:o})},type:function(e,t){r._commandService.executeCommand(yr["b"].Type,{text:t})},replacePreviousChar:function(e,t,n){r._commandService.executeCommand(yr["b"].ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){r._commandService.executeCommand(yr["b"].CompositionStart,{})},compositionEnd:function(e){r._commandService.executeCommand(yr["b"].CompositionEnd,{})},cut:function(e){r._commandService.executeCommand(yr["b"].Cut,{})}};var i=new xt(e);i.onDidContentSizeChange=function(e){return r._onDidContentSizeChange.fire(e)},i.onDidScroll=function(e){return r._onDidScrollChange.fire(e)},i.onDidGainFocus=function(){return r._editorTextFocus.setValue(!0)},i.onDidLoseFocus=function(){return r._editorTextFocus.setValue(!1)},i.onContextMenu=function(e){return r._onContextMenu.fire(e)},i.onMouseDown=function(e){return r._onMouseDown.fire(e)},i.onMouseUp=function(e){return r._onMouseUp.fire(e)},i.onMouseDrag=function(e){return r._onMouseDrag.fire(e)},i.onMouseDrop=function(e){return r._onMouseDrop.fire(e)},i.onKeyUp=function(e){return r._onKeyUp.fire(e)},i.onMouseMove=function(e){return r._onMouseMove.fire(e)},i.onMouseLeave=function(e){return r._onMouseLeave.fire(e)},i.onMouseWheel=function(e){return r._onMouseWheel.fire(e)},i.onKeyDown=function(e){return r._onKeyDown.fire(e)};var o=new hr(n,this._configuration,this._themeService,e,t,i);return[o,!0]},t.prototype._postDetachModelCleanup=function(e){e&&e.removeAllDecorationsWithOwnerId(this._id)},t.prototype._detachModel=function(){if(!this._modelData)return null;var e=this._modelData.model,t=this._modelData.hasRealView?this._modelData.view.domNode.domNode:null;return this._modelData.dispose(),this._modelData=null,this._domElement.removeAttribute("data-mode-id"),t&&this._domElement.removeChild(t),e},t.prototype._removeDecorationType=function(e){this._codeEditorService.removeDecorationType(e)},t.prototype.hasModel=function(){return null!==this._modelData},t=Ii([Ti(3,li["a"]),Ti(4,d["a"]),Ti(5,ai["b"]),Ti(6,si["c"]),Ti(7,U["c"]),Ti(8,ci["a"]),Ti(9,di["b"])],t),t}(s["a"]),ji=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new a["a"]),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new a["a"]),t.onDidChangeToFalse=t._onDidChangeToFalse.event,t._value=0,t}return Li(t,e),t.prototype.setValue=function(e){var t=e?2:1;this._value!==t&&(this._value=t,2===this._value?this._onDidChangeToTrue.fire():1===this._value&&this._onDidChangeToFalse.fire())},t}(s["a"]),Fi=function(e){function t(t,n){var r=e.call(this)||this;return r._editor=t,n.createKey("editorId",t.getId()),r._editorSimpleInput=Er["a"].editorSimpleInput.bindTo(n),r._editorFocus=Er["a"].focus.bindTo(n),r._textInputFocus=Er["a"].textInputFocus.bindTo(n),r._editorTextFocus=Er["a"].editorTextFocus.bindTo(n),r._editorTabMovesFocus=Er["a"].tabMovesFocus.bindTo(n),r._editorReadonly=Er["a"].readOnly.bindTo(n),r._hasMultipleSelections=Er["a"].hasMultipleSelections.bindTo(n),r._hasNonEmptySelection=Er["a"].hasNonEmptySelection.bindTo(n),r._canUndo=Er["a"].canUndo.bindTo(n),r._canRedo=Er["a"].canRedo.bindTo(n),r._register(r._editor.onDidChangeConfiguration((function(){return r._updateFromConfig()}))),r._register(r._editor.onDidChangeCursorSelection((function(){return r._updateFromSelection()}))),r._register(r._editor.onDidFocusEditorWidget((function(){return r._updateFromFocus()}))),r._register(r._editor.onDidBlurEditorWidget((function(){return r._updateFromFocus()}))),r._register(r._editor.onDidFocusEditorText((function(){return r._updateFromFocus()}))),r._register(r._editor.onDidBlurEditorText((function(){return r._updateFromFocus()}))),r._register(r._editor.onDidChangeModel((function(){return r._updateFromModel()}))),r._register(r._editor.onDidChangeConfiguration((function(){return r._updateFromModel()}))),r._updateFromConfig(),r._updateFromSelection(),r._updateFromFocus(),r._updateFromModel(),r._editorSimpleInput.set(r._editor.isSimpleWidget),r}return Li(t,e),t.prototype._updateFromConfig=function(){var e=this._editor.getOptions();this._editorTabMovesFocus.set(e.get(106)),this._editorReadonly.set(e.get(68))},t.prototype._updateFromSelection=function(){var e=this._editor.getSelections();e?(this._hasMultipleSelections.set(e.length>1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(s["a"]),Bi=function(e){function t(t,n){var r=e.call(this)||this;r._editor=t,r._contextKeyService=n,r._langId=Er["a"].languageId.bindTo(n),r._hasCompletionItemProvider=Er["a"].hasCompletionItemProvider.bindTo(n),r._hasCodeActionsProvider=Er["a"].hasCodeActionsProvider.bindTo(n),r._hasCodeLensProvider=Er["a"].hasCodeLensProvider.bindTo(n),r._hasDefinitionProvider=Er["a"].hasDefinitionProvider.bindTo(n),r._hasDeclarationProvider=Er["a"].hasDeclarationProvider.bindTo(n),r._hasImplementationProvider=Er["a"].hasImplementationProvider.bindTo(n),r._hasTypeDefinitionProvider=Er["a"].hasTypeDefinitionProvider.bindTo(n),r._hasHoverProvider=Er["a"].hasHoverProvider.bindTo(n),r._hasDocumentHighlightProvider=Er["a"].hasDocumentHighlightProvider.bindTo(n),r._hasDocumentSymbolProvider=Er["a"].hasDocumentSymbolProvider.bindTo(n),r._hasReferenceProvider=Er["a"].hasReferenceProvider.bindTo(n),r._hasRenameProvider=Er["a"].hasRenameProvider.bindTo(n),r._hasSignatureHelpProvider=Er["a"].hasSignatureHelpProvider.bindTo(n),r._hasDocumentFormattingProvider=Er["a"].hasDocumentFormattingProvider.bindTo(n),r._hasDocumentSelectionFormattingProvider=Er["a"].hasDocumentSelectionFormattingProvider.bindTo(n),r._hasMultipleDocumentFormattingProvider=Er["a"].hasMultipleDocumentFormattingProvider.bindTo(n),r._hasMultipleDocumentSelectionFormattingProvider=Er["a"].hasMultipleDocumentSelectionFormattingProvider.bindTo(n),r._isInWalkThrough=Er["a"].isInEmbeddedEditor.bindTo(n);var i=function(){return r._update()};return r._register(t.onDidChangeModel(i)),r._register(t.onDidChangeModelLanguage(i)),r._register(cn["d"].onDidChange(i)),r._register(cn["a"].onDidChange(i)),r._register(cn["b"].onDidChange(i)),r._register(cn["f"].onDidChange(i)),r._register(cn["e"].onDidChange(i)),r._register(cn["p"].onDidChange(i)),r._register(cn["z"].onDidChange(i)),r._register(cn["o"].onDidChange(i)),r._register(cn["h"].onDidChange(i)),r._register(cn["l"].onDidChange(i)),r._register(cn["t"].onDidChange(i)),r._register(cn["u"].onDidChange(i)),r._register(cn["g"].onDidChange(i)),r._register(cn["i"].onDidChange(i)),r._register(cn["w"].onDidChange(i)),i(),r}return Li(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(cn["d"].has(t)),e._hasCodeActionsProvider.set(cn["a"].has(t)),e._hasCodeLensProvider.set(cn["b"].has(t)),e._hasDefinitionProvider.set(cn["f"].has(t)),e._hasDeclarationProvider.set(cn["e"].has(t)),e._hasImplementationProvider.set(cn["p"].has(t)),e._hasTypeDefinitionProvider.set(cn["z"].has(t)),e._hasHoverProvider.set(cn["o"].has(t)),e._hasDocumentHighlightProvider.set(cn["h"].has(t)),e._hasDocumentSymbolProvider.set(cn["l"].has(t)),e._hasReferenceProvider.set(cn["t"].has(t)),e._hasRenameProvider.set(cn["u"].has(t)),e._hasSignatureHelpProvider.set(cn["w"].has(t)),e._hasDocumentFormattingProvider.set(cn["g"].has(t)||cn["i"].has(t)),e._hasDocumentSelectionFormattingProvider.set(cn["i"].has(t)),e._hasMultipleDocumentFormattingProvider.set(cn["g"].all(t).length+cn["i"].all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(cn["i"].all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===l["b"].walkThroughSnippet)})):this.reset()},t}(s["a"]),Vi=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new a["a"]),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(i["Y"](t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return Li(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(s["a"]),zi=encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 3' enable-background='new 0 0 6 3' height='3' width='6'><g fill='"),Wi=encodeURIComponent("'><polygon points='5.5,0 2.5,3 1.1,3 4.1,0'/><polygon points='4,0 6,2 6,0.6 5.4,0'/><polygon points='0,2 1,3 2.4,3 0,0.6'/></g></svg>");function Hi(e){return zi+encodeURIComponent(e.toString())+Wi}var Ui=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Ki=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');function Gi(e){return Ui+encodeURIComponent(e.toString())+Ki}Object(U["e"])((function(e,t){var n=e.getColor(hn["p"]);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var r=e.getColor(hn["q"]);r&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Hi(r)+'") repeat-x bottom left; }');var i=e.getColor(hn["N"]);i&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+i+"; }");var o=e.getColor(hn["O"]);o&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Hi(o)+'") repeat-x bottom left; }');var a=e.getColor(hn["G"]);a&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+a+"; }");var s=e.getColor(hn["H"]);s&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Hi(s)+'") repeat-x bottom left; }');var l=e.getColor(hn["y"]);l&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+l+"; }");var u=e.getColor(hn["z"]);u&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+Gi(u)+'") no-repeat bottom left; }');var c=e.getColor(Be["n"]);c&&t.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(Be["m"]);d&&t.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }");var h=e.getColor(hn["x"])||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}))},nCxF:function(e,t,n){var r=n("QBsz"),i=r.min,o=r.max,a=r.scale,s=r.distance,l=r.add,u=r.clone,c=r.sub;function d(e,t,n,r){var d,h,f,p,g=[],m=[],v=[],y=[];if(r){f=[1/0,1/0],p=[-1/0,-1/0];for(var b=0,_=e.length;b<_;b++)i(f,f,e[b]),o(p,p,e[b]);i(f,f,r[0]),o(p,p,r[1])}for(b=0,_=e.length;b<_;b++){var w=e[b];if(n)d=e[b?b-1:_-1],h=e[(b+1)%_];else{if(0===b||b===_-1){g.push(u(e[b]));continue}d=e[b-1],h=e[b+1]}c(m,h,d),a(m,m,t);var x=s(w,d),C=s(w,h),S=x+C;0!==S&&(x/=S,C/=S),a(v,m,-x),a(y,m,C);var O=l([],w,v),k=l([],w,y);r&&(o(O,O,f),i(O,O,p),o(k,k,f),i(k,k,p)),g.push(O),g.push(k)}return n&&g.push(g.shift()),g}e.exports=d},nD70:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r=function(){function e(e){this._prefix=e,this._lastId=0}return e.prototype.nextId=function(){return this._prefix+ ++this._lastId},e}(),i=new r("id#")},nKiI:function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("+TT/"),u=n("VaxA"),c=Math.max,d=Math.min,h=r.retrieve,f=r.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"],y={seriesType:"treemap",reset:function(e,t,n,o){var s=n.getWidth(),c=n.getHeight(),d=e.option,p=l.getLayoutRect(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),g=d.size||[],m=a(h(p.width,g[0]),s),v=a(h(p.height,g[1]),c),y=o&&o.type,_=["treemapZoomToNode","treemapRootToNode"],w=u.retrieveTargetInfo(o,_,e),x="treemapRender"===y||"treemapMove"===y?o.rootRect:null,C=e.getViewRoot(),S=u.getPathToRoot(C);if("treemapMove"!==y){var O="treemapZoomToNode"===y?k(e,w,C,m,v):x?[x.width,x.height]:[m,v],M=d.sort;M&&"asc"!==M&&"desc"!==M&&(M="desc");var N={squareRatio:d.squareRatio,sort:M,leafDepth:d.leafDepth};C.hostTree.clearLayouts();var L={x:0,y:0,width:O[0],height:O[1],area:O[0]*O[1]};C.setLayout(L),b(C,N,!1,0);L=C.getLayout();f(S,(function(e,t){var n=(S[t+1]||C).getValue();e.setLayout(r.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},L))}))}var I=e.getData().tree.root;I.setLayout(E(p,x,w),!0),e.setLayoutInfo(p),D(I,new i(-p.x,-p.y,s,c),S,C,0)}};function b(e,t,n,r){var i,o;if(!e.isRemoved()){var a=e.getLayout();i=a.width,o=a.height;var s=e.getModel(),l=s.get(p),u=s.get(g)/2,h=M(s),f=Math.max(l,h),m=l-u,v=f-u;s=e.getModel();e.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:h},!0),i=c(i-2*m,0),o=c(o-m-v,0);var y=i*o,w=_(e,s,y,t,n,r);if(w.length){var x={x:m,y:v,width:i,height:o},C=d(i,o),k=1/0,E=[];E.area=0;for(var D=0,N=w.length;D<N;){var L=w[D];E.push(L),E.area+=L.getLayout().area;var I=S(E,C,t.squareRatio);I<=k?(D++,k=I):(E.area-=E.pop().getLayout().area,O(E,C,x,u,!1),C=d(x.width,x.height),E.length=E.area=0,k=1/0)}if(E.length&&O(E,C,x,u,!0),!n){var T=s.get("childrenVisibleMin");null!=T&&y<T&&(n=!0)}for(D=0,N=w.length;D<N;D++)b(w[D],t,n,r+1)}}}function _(e,t,n,i,o,a){var s=e.children||[],l=i.sort;"asc"!==l&&"desc"!==l&&(l=null);var u=null!=i.leafDepth&&i.leafDepth<=a;if(o&&!u)return e.viewChildren=[];s=r.filter(s,(function(e){return!e.isRemoved()})),x(s,l);var c=C(t,s,l);if(0===c.sum)return e.viewChildren=[];if(c.sum=w(t,n,c.sum,l,s),0===c.sum)return e.viewChildren=[];for(var d=0,h=s.length;d<h;d++){var f=s[d].getValue()/c.sum*n;s[d].setLayout({area:f})}return u&&(s.length&&e.setLayout({isLeafRoot:!0},!0),s.length=0),e.viewChildren=s,e.setLayout({dataExtent:c.dataExtent},!0),s}function w(e,t,n,r,i){if(!r)return n;for(var o=e.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*t<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}function x(e,t){return t&&e.sort((function(e,n){var r="asc"===t?e.getValue()-n.getValue():n.getValue()-e.getValue();return 0===r?"asc"===t?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:r})),e}function C(e,t,n){for(var r=0,i=0,o=t.length;i<o;i++)r+=t[i].getValue();var a=e.get("visualDimension");if(t&&t.length)if("value"===a&&n)s=[t[t.length-1].getValue(),t[0].getValue()],"asc"===n&&s.reverse();else{var s=[1/0,-1/0];f(t,(function(e){var t=e.getValue(a);t<s[0]&&(s[0]=t),t>s[1]&&(s[1]=t)}))}else s=[NaN,NaN];return{sum:r,dataExtent:s}}function S(e,t,n){for(var r,i=0,o=1/0,a=0,s=e.length;a<s;a++)r=e[a].getLayout().area,r&&(r<o&&(o=r),r>i&&(i=r));var l=e.area*e.area,u=t*t*n;return l?c(u*i/l,l/(u*o)):1/0}function O(e,t,n,r,i){var o=t===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=t?e.area/t:0;(i||h>n[l[a]])&&(h=n[l[a]]);for(var f=0,p=e.length;f<p;f++){var g=e[f],m={},v=h?g.getLayout().area/h:0,y=m[l[a]]=c(h-2*r,0),b=n[s[o]]+n[l[o]]-u,_=f===p-1||b<v?b:v,w=m[l[o]]=c(_-2*r,0);m[s[a]]=n[s[a]]+d(r,y/2),m[s[o]]=u+d(r,w/2),u+=_,g.setLayout(m,!0)}n[s[a]]+=h,n[l[a]]-=h}function k(e,t,n,r,i){var o,a=(t||{}).node,l=[r,i];if(!a||a===n)return l;var u=r*i,c=u*e.option.zoomToNodeRatio;while(o=a.parentNode){for(var d=0,h=o.children,f=0,g=h.length;f<g;f++)d+=h[f].getValue();var m=a.getValue();if(0===m)return l;c*=d/m;var v=o.getModel(),y=v.get(p),b=Math.max(y,M(v,y));c+=4*y*y+(3*y+b)*Math.pow(c,.5),c>s&&(c=s),a=o}c<u&&(c=u);var _=Math.pow(c/u,.5);return[r*_,i*_]}function E(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;var a=[o.width/2,o.height/2],s=i;while(s){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:e.width/2-a[0],y:e.height/2-a[1]}}function D(e,t,n,r,o){var a=e.getLayout(),s=n[o],l=s&&s===e;if(!(s&&!l||o===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(a),isAboveViewRoot:l},!0);var u=new i(t.x-a.x,t.y-a.y,t.width,t.height);f(e.viewChildren||[],(function(e){D(e,u,n,r,o+1)}))}}function M(e){return e.get(m)?e.get(v):0}e.exports=y},nPnh:function(e,t){var n=Math.round;function r(e,t,r){if(t){var i=t.x1,a=t.x2,s=t.y1,l=t.y2;e.x1=i,e.x2=a,e.y1=s,e.y2=l;var u=r&&r.lineWidth;u&&(n(2*i)===n(2*a)&&(e.x1=e.x2=o(i,u,!0)),n(2*s)===n(2*l)&&(e.y1=e.y2=o(s,u,!0)))}}function i(e,t,n){if(t){var r=t.x,i=t.y,a=t.width,s=t.height;e.x=r,e.y=i,e.width=a,e.height=s;var l=n&&n.lineWidth;l&&(e.x=o(r,l,!0),e.y=o(i,l,!0),e.width=Math.max(o(r+a,l,!1)-e.x,0===a?0:1),e.height=Math.max(o(i+s,l,!1)-e.y,0===s?0:1))}}function o(e,t,r){if(!t)return e;var i=n(2*e);return(i+n(t))%2===0?i/2:(i+(r?1:-1))/2}t.subPixelOptimizeLine=r,t.subPixelOptimizeRect=i,t.subPixelOptimize=o},nRaC:function(e,t,n){"use strict";n("cIOH"),n("0fbx"),n("OaEy"),n("R9oj")},nVfU:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=i.parsePercent,a=n("7hqr"),s=a.isDimensionStacked,l=n("zM3Q"),u="__ec_stack_",c=.5,d="undefined"!==typeof Float32Array?Float32Array:Array;function h(e){return e.get("stack")||u+e.seriesIndex}function f(e){return e.dim+e.index}function p(e){var t=[],n=e.axis,i="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<e.count;a++)t.push(r.defaults({bandWidth:o,axisKey:i,stackId:u+a},e));var s=y(t),l=[];for(a=0;a<e.count;a++){var c=s[i][u+a];c.offsetCenter=c.offset+c.width/2,l.push(c)}return l}}function g(e,t){var n=[];return t.eachSeriesByType(e,(function(e){x(e)&&!C(e)&&n.push(e)})),n}function m(e){var t={};r.each(e,(function(e){var n=e.coordinateSystem,r=n.getBaseAxis();if("time"===r.type||"value"===r.type)for(var i=e.getData(),o=r.dim+"_"+r.index,a=i.mapDimension(r.dim),s=0,l=i.count();s<l;++s){var u=i.get(a,s);t[o]?t[o].push(u):t[o]=[u]}}));var n=[];for(var i in t)if(t.hasOwnProperty(i)){var o=t[i];if(o){o.sort((function(e,t){return e-t}));for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}function v(e){var t=m(e),n=[];return r.each(e,(function(e){var r,i=e.coordinateSystem,a=i.getBaseAxis(),s=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var l=a.dim+"_"+a.index,u=t[l],c=Math.abs(s[1]-s[0]),d=a.scale.getExtent(),p=Math.abs(d[1]-d[0]);r=u?c/p*u:c}else{var g=e.getData();r=Math.abs(s[1]-s[0])/g.count()}var m=o(e.get("barWidth"),r),v=o(e.get("barMaxWidth"),r),y=o(e.get("barMinWidth")||1,r),b=e.get("barGap"),_=e.get("barCategoryGap");n.push({bandWidth:r,barWidth:m,barMaxWidth:v,barMinWidth:y,barGap:b,barCategoryGap:_,axisKey:f(a),stackId:h(e)})})),y(n)}function y(e){var t={};r.each(e,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;t[r]=o;var s=e.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=e.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=e.barMaxWidth;u&&(a[s].maxWidth=u);var c=e.barMinWidth;c&&(a[s].minWidth=c);var d=e.barGap;null!=d&&(o.gap=d);var h=e.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return r.each(t,(function(e,t){n[t]={};var i=e.stacks,a=e.bandWidth,s=o(e.categoryGap,a),l=o(e.gap,1),u=e.remainedWidth,c=e.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),r.each(i,(function(e){var t=e.maxWidth,n=e.minWidth;if(e.width){r=e.width;t&&(r=Math.min(r,t)),n&&(r=Math.max(r,n)),e.width=r,u-=r+l*r,c--}else{var r=d;t&&t<r&&(r=Math.min(t,u)),n&&n>r&&(r=n),r!==d&&(e.width=r,u-=r+l*r,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;r.each(i,(function(e,t){e.width||(e.width=d),h=e,f+=e.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;r.each(i,(function(e,r){n[t][r]=n[t][r]||{bandWidth:a,offset:p,width:e.width},p+=e.width*(1+l)}))})),n}function b(e,t,n){if(e&&t){var r=e[f(t)];return null!=r&&null!=n&&(r=r[h(n)]),r}}function _(e,t){var n=g(e,t),i=v(n),o={},a={};r.each(n,(function(e){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),l=h(e),u=i[f(r)][l],c=u.offset,d=u.width,p=n.getOtherAxis(r),g=e.get("barMinHeight")||0;o[l]=o[l]||[],a[l]=a[l]||[],t.setLayout({bandWidth:u.bandWidth,offset:c,size:d});for(var m=t.mapDimension(p.dim),v=t.mapDimension(r.dim),y=s(t,m),b=p.isHorizontal(),_=S(r,p,y),w=0,x=t.count();w<x;w++){var C,O,k,E,D=t.get(m,w),M=t.get(v,w),N=D>=0?"p":"n",L=_;if(y&&(o[l][M]||(o[l][M]={p:_,n:_}),L=o[l][M][N]),b){var I=n.dataToPoint([D,M]);C=L,O=I[1]+c,k=I[0]-_,E=d,Math.abs(k)<g&&(k=(k<0?-1:1)*g),isNaN(k)||y&&(o[l][M][N]+=k)}else{I=n.dataToPoint([M,D]);C=I[0]+c,O=L,k=d,E=I[1]-_,Math.abs(E)<g&&(E=(E<=0?-1:1)*g),isNaN(E)||y&&(o[l][M][N]+=E)}t.setItemLayout(w,{x:C,y:O,width:k,height:E})}}),this)}var w={seriesType:"bar",plan:l(),reset:function(e){if(x(e)&&C(e)){var t=e.getData(),n=e.coordinateSystem,r=n.grid.getRect(),i=n.getBaseAxis(),o=n.getOtherAxis(i),a=t.mapDimension(o.dim),s=t.mapDimension(i.dim),l=o.isHorizontal(),u=l?0:1,h=b(v([e]),i,e).width;return h>c||(h=c),{progress:f}}function f(e,t){var c,f=e.count,p=new d(2*f),g=new d(2*f),m=new d(f),v=[],y=[],b=0,_=0;while(null!=(c=e.next()))y[u]=t.get(a,c),y[1-u]=t.get(s,c),v=n.dataToPoint(y,null,v),g[b]=l?r.x+r.width:v[0],p[b++]=v[0],g[b]=l?v[1]:r.y+r.height,p[b++]=v[1],m[_++]=c;t.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:g,barWidth:h,valueAxisStart:S(i,o,!1),backgroundStart:l?r.x:r.y,valueAxisHorizontal:l})}}};function x(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function C(e){return e.pipelineContext&&e.pipelineContext.large}function S(e,t,n){return t.toGlobalCoord(t.dataToCoord("log"===t.type?1:0))}t.getLayoutOnAxis=p,t.prepareLayoutBarSeries=g,t.makeColumnLayout=v,t.retrieveColumnLayout=b,t.layout=_,t.largeLayout=w},ngQI:function(e,t,n){"use strict";n.d(t,"a",(function(){return ga})),n.d(t,"b",(function(){return ws})),n.d(t,"c",(function(){return Ms}));var r=n("q1tI"),i=n.n(r),o=n("dI71"),a=n("wx14"),s=n("ANjH"),l=n("/MKj");function u(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function c(e,t){var n=Object(r["useState"])((function(){return{inputs:t,result:e()}}))[0],i=Object(r["useRef"])(n),o=Boolean(t&&i.current.inputs&&u(t,i.current.inputs)),a=o?i.current:{inputs:t,result:e()};return Object(r["useEffect"])((function(){i.current=a}),[a]),a.result}function d(e,t){return c((function(){return e}),t)}var h=c,f=d,p=n("9R94"),g=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left,o=n-i,a=r-t,s={top:t,right:n,bottom:r,left:i,width:o,height:a,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}};return s},m=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},v=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},y=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},b={top:0,right:0,bottom:0,left:0},_=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?b:n,i=e.border,o=void 0===i?b:i,a=e.padding,s=void 0===a?b:a,l=g(m(t,r)),u=g(v(t,o)),c=g(v(u,s));return{marginBox:l,borderBox:g(t),paddingBox:u,contentBox:c,margin:r,border:o,padding:s}},w=function(e){var t=e.slice(0,-2),n=e.slice(-2);if("px"!==n)return 0;var r=Number(t);return isNaN(r)&&Object(p["a"])(!1),r},x=function(){return{x:window.pageXOffset,y:window.pageYOffset}},C=function(e,t){var n=e.borderBox,r=e.border,i=e.margin,o=e.padding,a=y(n,t);return _({borderBox:a,border:r,margin:i,padding:o})},S=function(e,t){return void 0===t&&(t=x()),C(e,t)},O=function(e,t){var n={top:w(t.marginTop),right:w(t.marginRight),bottom:w(t.marginBottom),left:w(t.marginLeft)},r={top:w(t.paddingTop),right:w(t.paddingRight),bottom:w(t.paddingBottom),left:w(t.paddingLeft)},i={top:w(t.borderTopWidth),right:w(t.borderRightWidth),bottom:w(t.borderBottomWidth),left:w(t.borderLeftWidth)};return _({borderBox:e,margin:n,padding:r,border:i})},k=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return O(t,n)};function E(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function D(e,t){var n;void 0===t&&(t=E);var r,i=[],o=!1;function a(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}return a}var M=D,N=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t=i,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r},L=N,I=n("i8i4"),T=n.n(I),P=!0,A=/[ \t]{2,}/g,R=/^[ \t]*/gm,j=function(e){return e.replace(A," ").replace(R,"").trim()},F=function(e){return j("\n %creact-beautiful-dnd\n\n %c"+j(e)+"\n\n %c\ud83d\udc77\u200d This is a development only message. It will be removed in production builds.\n")},B=function(e){return[F(e),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},V="__react-beautiful-dnd-disable-dev-warnings";function z(e,t){var n;P||"undefined"!==typeof window&&window[V]||(n=console)[e].apply(n,B(t))}z.bind(null,"warn");var W=z.bind(null,"error");function H(){}function U(e,t){return Object(a["a"])({},e,{},t)}function K(e,t,n){var r=t.map((function(t){var r=U(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}var G=!0,q="Invariant failed";function Y(e){this.message=e}function X(e,t){if(!e)throw new Y(G?q:q+": "+(t||""))}Y.prototype.toString=function(){return this.message};var Z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.callbacks=null,t.unbind=H,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort();var r=e.error;r instanceof Y&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Object(o["a"])(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=K(window,[{eventName:"error",fn:this.onWindowError}])},n.componentWillUnmount=function(){this.unbind()},n.componentDidCatch=function(e){if(!(e instanceof Y))throw e;this.setState({})},n.render=function(){return this.props.children(this.setCallbacks)},t}(i.a.Component),Q="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",$=function(e){return e+1},J=function(e){return"\n You have lifted an item in position "+$(e.source.index)+"\n"},ee=function(e,t){var n=e.droppableId===t.droppableId,r=$(e.index),i=$(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+i+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+i+"\n "},te=function(e,t,n){var r=t.droppableId===n.droppableId;return r?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},ne=function(e){var t=e.destination;if(t)return ee(e.source,t);var n=e.combine;return n?te(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},re=function(e){return"\n The item has returned to its starting position\n of "+$(e.index)+"\n"},ie=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+re(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+ee(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+te(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+re(e.source)+"\n "},oe={dragHandleUsageInstructions:Q,onDragStart:J,onDragUpdate:ne,onDragEnd:ie},ae={x:0,y:0},se=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},le=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},ue=function(e,t){return e.x===t.x&&e.y===t.y},ce=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},de=function(e,t,n){var r;return void 0===n&&(n=0),r={},r[e]=t,r["x"===e?"y":"x"]=n,r},he=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},fe=function(e,t){return Math.min.apply(Math,t.map((function(t){return he(e,t)})))},pe=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},ge=function(e,t){var n=g({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n},me=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ve=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},ye={top:0,right:0,bottom:0,left:0},be=function(e,t){return t?me(e,t.scroll.diff.displacement):e},_e=function(e,t,n){var r;return n&&n.increasedBy?Object(a["a"])({},e,(r={},r[t.end]=e[t.end]+n.increasedBy[t.line],r)):e},we=function(e,t){return t&&t.shouldClipSubject?ge(t.pageMarginBox,e):g(e)},xe=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=be(t.marginBox,i),a=_e(o,r,n),s=we(a,i);return{page:t,withPlaceholder:n,active:s}},Ce=function(e,t){e.frame||X(!1);var n=e.frame,r=le(t,n.scroll.initial),i=ce(r),o=Object(a["a"])({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}}),s=xe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),l=Object(a["a"])({},e,{frame:o,subject:s});return l};function Se(e){return Number.isInteger?Number.isInteger(e):"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}function Oe(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function ke(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Ee(e,t){if(e.find)return e.find(t);var n=ke(e,t);return-1!==n?e[n]:void 0}function De(e){return Array.prototype.slice.call(e)}var Me=M((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Ne=M((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Le=M((function(e){return Oe(e)})),Ie=M((function(e){return Oe(e)})),Te=M((function(e,t){var n=Ie(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function Pe(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function Ae(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Re=M((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),je=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;var s=Pe(o);if(!s)return null;function l(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Object(a["a"])({},o,{at:t})}var u=o.displaced.all,c=u.length?u[0]:null;if(t)return c?l(c):null;var d=Re(n,i);if(!c){if(!d.length)return null;var h=d[d.length-1];return l(h.descriptor.id)}var f=ke(d,(function(e){return e.descriptor.id===c}));-1===f&&X(!1);var p=f-1;if(p<0)return null;var g=d[p];return l(g.descriptor.id)},Fe=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Be={point:ae,value:0},Ve={invisible:{},visible:{},all:[]},ze={displaced:Ve,displacedBy:Be,at:null},We=function(e,t){return function(n){return e<=n&&n<=t}},He=function(e){var t=We(e.top,e.bottom),n=We(e.left,e.right);return function(r){var i=t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right);if(i)return!0;var o=t(r.top)||t(r.bottom),a=n(r.left)||n(r.right),s=o&&a;if(s)return!0;var l=r.top<e.top&&r.bottom>e.bottom,u=r.left<e.left&&r.right>e.right,c=l&&u;if(c)return!0;var d=l&&a||u&&o;return d}},Ue=function(e){var t=We(e.top,e.bottom),n=We(e.left,e.right);return function(e){var r=t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right);return r}},Ke={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ge={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},qe=function(e){return function(t){var n=We(t.top,t.bottom),r=We(t.left,t.right);return function(t){return e===Ke?n(t.top)&&n(t.bottom):r(t.left)&&r(t.right)}}},Ye=function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:ae;return me(e,n)},Xe=function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)},Ze=function(e,t,n){return n(t)(e)},Qe=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?Ye(t,n):t;return Xe(a,n,o)&&Ze(a,r,o)},$e=function(e){return Qe(Object(a["a"])({},e,{isVisibleThroughFrameFn:He}))},Je=function(e){return Qe(Object(a["a"])({},e,{isVisibleThroughFrameFn:Ue}))},et=function(e){return Qe(Object(a["a"])({},e,{isVisibleThroughFrameFn:qe(e.destination.axis)}))},tt=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,i=t.visible;if(r[e])return!1;var o=i[e];return!o||o.shouldAnimate};function nt(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return g(m(n,r))}function rt(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=nt(t,r),l=t.descriptor.id;e.all.push(l);var u=$e({target:s,destination:n,viewport:i,withDroppableDisplacement:!0});if(!u)return e.invisible[t.descriptor.id]=!0,e;var c=tt(l,a,o),d={draggableId:l,shouldAnimate:c};return e.visible[l]=d,e}),{all:[],visible:{},invisible:{}})}function it(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}function ot(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,i=e.destination,o=it(t,{inHomeList:n});return{displaced:Ve,displacedBy:r,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function at(e){var t=e.draggable,n=e.insideDestination,r=e.destination,i=e.viewport,o=e.displacedBy,a=e.last,s=e.index,l=e.forceShouldAnimate,u=Fe(t,r);if(null==s)return ot({insideDestination:n,inHomeList:u,displacedBy:o,destination:r});var c=Ee(n,(function(e){return e.descriptor.index===s}));if(!c)return ot({insideDestination:n,inHomeList:u,displacedBy:o,destination:r});var d=Re(t,n),h=n.indexOf(c),f=d.slice(h),p=rt({afterDragging:f,destination:r,displacedBy:o,last:a,viewport:i.frame,forceShouldAnimate:l});return{displaced:p,displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function st(e,t){return Boolean(t.effected[e])}var lt=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,i=e.combine,o=e.afterCritical;if(!n.isCombineEnabled)return null;var a=i.draggableId,s=r[a],l=s.descriptor.index,u=st(a,o);return u?t?l:l-1:t?l+1:l},ut=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,i=e.location;if(!r.length)return null;var o=i.index,a=t?o+1:o-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index,u=n?l:l+1;return a<s||a>u?null:a},ct=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.viewport,u=e.afterCritical,c=s.at;if(c||X(!1),"REORDER"===c.type){var d=ut({isMovingForward:t,isInHomeList:n,location:c.destination,insideDestination:a});return null==d?null:at({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var h=lt({isMovingForward:t,destination:o,displaced:s.displaced,draggables:i,combine:c.combine,afterCritical:u});return null==h?null:at({draggable:r,insideDestination:a,destination:o,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})},dt=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,i=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return st(r,n)?o?ae:ce(i.point):o?i.point:ae},ht=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,i=Ae(n);i||X(!1);var o=i.draggableId,a=r[o].page.borderBox.center,s=dt({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return se(a,s)},ft=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},pt=function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2},gt=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},mt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return de(t.line,n.marginBox[t.end]+ft(t,r),gt(t,n.marginBox,r))},vt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return de(t.line,n.marginBox[t.start]-pt(t,r),gt(t,n.marginBox,r))},yt=function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return de(t.line,n.contentBox[t.start]+ft(t,r),gt(t,n.contentBox,r))},bt=function(e){var t=e.impact,n=e.draggable,r=e.draggables,i=e.droppable,o=e.afterCritical,a=Te(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return yt({axis:l,moveInto:i.page,isMoving:s});var u=t.displaced,c=t.displacedBy,d=u.all[0];if(d){var h=r[d];if(st(d,o))return vt({axis:l,moveRelativeTo:h.page,isMoving:s});var f=C(h.page,c.point);return vt({axis:l,moveRelativeTo:f,isMoving:s})}var p=a[a.length-1];if(p.descriptor.id===n.descriptor.id)return s.borderBox.center;if(st(p.descriptor.id,o)){var g=C(p.page,ce(o.displacedBy.point));return mt({axis:l,moveRelativeTo:g,isMoving:s})}return mt({axis:l,moveRelativeTo:p.page,isMoving:s})},_t=function(e,t){var n=e.frame;return n?se(t,n.scroll.diff.displacement):t},wt=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.afterCritical,a=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?bt({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:o}):ht({impact:t,draggables:i,afterCritical:o}):a},xt=function(e){var t=wt(e),n=e.droppable,r=n?_t(n,t):t;return r},Ct=function(e,t){var n=le(t,e.scroll.initial),r=ce(n),i=g({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}};return o};function St(e,t){return e.map((function(e){return t[e]}))}function Ot(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}var kt=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,s=Ct(n,se(n.scroll.current,o)),l=r.frame?Ce(r,se(r.frame.scroll.current,o)):r,u=t.displaced,c=rt({afterDragging:St(u.all,i),destination:r,displacedBy:t.displacedBy,viewport:s.frame,last:u,forceShouldAnimate:!1}),d=rt({afterDragging:St(u.all,i),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:u,forceShouldAnimate:!1}),h={},f={},p=[u,c,d];u.all.forEach((function(e){var t=Ot(e,p);t?f[e]=t:h[e]=!0}));var g=Object(a["a"])({},t,{displaced:{all:u.all,invisible:h,visible:f}});return g},Et=function(e,t){return se(e.scroll.diff.displacement,t)},Dt=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=e.viewport,i=Et(r,t),o=le(i,n.page.borderBox.center);return se(n.client.borderBox.center,o)},Mt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=le(r,t.page.borderBox.center),u=me(t.page.borderBox,l),c={target:u,destination:n,withDroppableDisplacement:o,viewport:i};return s?et(c):Je(c)},Nt=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!r.isEnabled)return null;var c=Te(r.descriptor.id,i),d=Fe(n,r),h=je({isMovingForward:t,draggable:n,destination:r,insideDestination:c,previousImpact:o})||ct({isMovingForward:t,isInHomeList:d,draggable:n,draggables:i,destination:r,insideDestination:c,previousImpact:o,viewport:a,afterCritical:u});if(!h)return null;var f=xt({impact:h,draggable:n,droppable:r,draggables:i,afterCritical:u}),p=Mt({draggable:n,destination:r,newPageBorderBoxCenter:f,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(p){var g=Dt({pageBorderBoxCenter:f,draggable:n,viewport:a});return{clientSelection:g,impact:h,scrollJumpRequest:null}}var m=le(f,s),v=kt({impact:h,viewport:a,destination:r,draggables:i,maxScrollChange:m});return{clientSelection:l,impact:v,scrollJumpRequest:m}},Lt=function(e){var t=e.subject.active;return t||X(!1),t},It=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,o=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=We(a[s.start],a[s.end]),u=Le(i).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return He(o.frame)(Lt(e))})).filter((function(e){var n=Lt(e);return t?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(e){var t=Lt(e),n=We(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(e,n){var r=Lt(e)[s.crossAxisStart],i=Lt(n)[s.crossAxisStart];return t?r-i:i-r})).filter((function(e,t,n){return Lt(e)[s.crossAxisStart]===Lt(n[0])[s.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var c=u.filter((function(e){var t=We(Lt(e)[s.start],Lt(e)[s.end]);return t(n[s.line])}));return 1===c.length?c[0]:c.length>1?c.sort((function(e,t){return Lt(e)[s.start]-Lt(t)[s.start]}))[0]:u.sort((function(e,t){var r=fe(n,ve(Lt(e))),i=fe(n,ve(Lt(t)));return r!==i?r-i:Lt(e)[s.start]-Lt(t)[s.start]}))[0]},Tt=function(e,t){var n=e.page.borderBox.center;return st(e.descriptor.id,t)?le(n,t.displacedBy.point):n},Pt=function(e,t){var n=e.page.borderBox;return st(e.descriptor.id,t)?me(n,ce(t.displacedBy.point)):n},At=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.insideDestination,o=e.afterCritical,a=i.filter((function(e){return Je({target:Pt(e,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var i=he(t,_t(r,Tt(e,o))),a=he(t,_t(r,Tt(n,o)));return i<a?-1:a<i?1:e.descriptor.index-n.descriptor.index}));return a[0]||null},Rt=M((function(e,t){var n=t[e.line];return{value:n,point:de(e.line,n)}})),jt=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return de(r.line,t[r.line]);var i=e.subject.page.contentBox[r.size],o=Te(e.descriptor.id,n),a=o.reduce((function(e,t){return e+t.client.marginBox[r.size]}),0),s=a+t[r.line],l=s-i;return l<=0?null:de(r.line,l)},Ft=function(e,t){return Object(a["a"])({},e,{scroll:Object(a["a"])({},e.scroll,{max:t})})},Bt=function(e,t,n){var r=e.frame;Fe(t,e)&&X(!1),e.subject.withPlaceholder&&X(!1);var i=Rt(e.axis,t.displaceBy).point,o=jt(e,i,n),s={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var l=xe({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:e.frame});return Object(a["a"])({},e,{subject:l})}var u=o?se(r.scroll.max,o):r.scroll.max,c=Ft(r,u),d=xe({page:e.subject.page,withPlaceholder:s,axis:e.axis,frame:c});return Object(a["a"])({},e,{subject:d,frame:c})},Vt=function(e){var t=e.subject.withPlaceholder;t||X(!1);var n=e.frame;if(!n){var r=xe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return Object(a["a"])({},e,{subject:r})}var i=t.oldFrameMaxScroll;i||X(!1);var o=Ft(n,i),s=xe({page:e.subject.page,axis:e.axis,frame:o,withPlaceholder:null});return Object(a["a"])({},e,{subject:s,frame:o})},zt=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var u={displaced:Ve,displacedBy:Be,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},c=xt({impact:u,draggable:i,droppable:a,draggables:o,afterCritical:l}),d=Fe(i,a)?a:Bt(a,i,o),h=Mt({draggable:i,destination:d,newPageBorderBoxCenter:c,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return h?u:null}var f=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),p=function(){var e=n.descriptor.index;return n.descriptor.id===i.descriptor.id||f?e:e+1}(),g=Rt(a.axis,i.displaceBy);return at({draggable:i,insideDestination:r,destination:a,viewport:s,displacedBy:g,last:Ve,index:p})},Wt=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,s=e.viewport,l=e.afterCritical,u=It({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:s});if(!u)return null;var c=Te(u.descriptor.id,o),d=At({pageBorderBoxCenter:n,viewport:s,destination:u,insideDestination:c,afterCritical:l}),h=zt({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:o,moveRelativeTo:d,insideDestination:c,viewport:s,afterCritical:l});if(!h)return null;var f=xt({impact:h,draggable:r,droppable:u,draggables:o,afterCritical:l}),p=Dt({pageBorderBoxCenter:f,draggable:r,viewport:s});return{clientSelection:p,impact:h,scrollJumpRequest:null}},Ht=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Ut=function(e,t){var n=Ht(e);return n?t[n]:null},Kt=function(e){var t=e.state,n=e.type,r=Ut(t.impact,t.dimensions.droppables),i=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],a=r||o,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!i)return null;var u="MOVE_DOWN"===n||"MOVE_RIGHT"===n,c=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,h=t.dimensions,f=h.draggables,p=h.droppables;return l?Nt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:c,destination:a,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):Wt({isMovingForward:u,previousPageBorderBoxCenter:d,draggable:c,isOver:a,draggables:f,droppables:p,viewport:t.viewport,afterCritical:t.afterCritical})};function Gt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function qt(e){var t=We(e.top,e.bottom),n=We(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Yt(e,t){return e.left<t.right&&e.right>t.left&&e.top<t.bottom&&e.bottom>t.top}function Xt(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,i=n.page.borderBox.center,o=r.map((function(e){var n=e.axis,r=de(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:he(i,r)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}function Zt(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,i=Le(r).filter((function(e){if(!e.isEnabled)return!1;var n=e.subject.active;if(!n)return!1;if(!Yt(t,n))return!1;if(qt(n)(t.center))return!0;var r=e.axis,i=n.center[r.crossAxisLine],o=t[r.crossAxisStart],a=t[r.crossAxisEnd],s=We(n[r.crossAxisStart],n[r.crossAxisEnd]),l=s(o),u=s(a);return!l&&!u||(l?o<i:a>i)}));return i.length?1===i.length?i[0].descriptor.id:Xt({pageBorderBox:t,draggable:n,candidates:i}):null}var Qt=function(e,t){return g(me(e,t))},$t=function(e,t){var n=e.frame;return n?Qt(t,n.scroll.diff.value):t};function Jt(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}function en(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}var tn=function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,i=e.insideDestination,o=e.last,a=e.viewport,s=e.afterCritical,l=r.axis,u=Rt(r.axis,n.displaceBy),c=u.value,d=t[l.start],h=t[l.end],f=Re(n,i),p=Ee(f,(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=st(t,s),i=Jt({displaced:o,id:t});return r?i?h<=n:d<n-c:i?h<=n+c:d<n})),g=en({draggable:n,closest:p,inHomeList:Fe(n,r)});return at({draggable:n,insideDestination:i,destination:r,viewport:a,last:o,displacedBy:u,index:g})},nn=4,rn=function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,i=e.destination,o=e.insideDestination,a=e.afterCritical;if(!i.isCombineEnabled)return null;var s=i.axis,l=Rt(i.axis,t.displaceBy),u=l.value,c=n[s.start],d=n[s.end],h=Re(t,o),f=Ee(h,(function(e){var t=e.descriptor.id,n=e.page.borderBox,i=n[s.size],o=i/nn,l=st(t,a),h=Jt({displaced:r.displaced,id:t});return l?h?d>n[s.start]+o&&d<n[s.end]-o:c>n[s.start]-u+o&&c<n[s.end]-u-o:h?d>n[s.start]+u+o&&d<n[s.end]+u-o:c>n[s.start]+o&&c<n[s.end]-o}));if(!f)return null;var p={displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:i.descriptor.id}}};return p},on=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,s=e.afterCritical,l=Qt(n.page.borderBox,t),u=Zt({pageBorderBox:l,draggable:n,droppables:i});if(!u)return ze;var c=i[u],d=Te(c.descriptor.id,r),h=$t(c,l);return rn({pageBorderBoxWithDroppableScroll:h,draggable:n,previousImpact:o,destination:c,insideDestination:d,afterCritical:s})||tn({pageBorderBoxWithDroppableScroll:h,draggable:n,destination:c,insideDestination:d,last:o.displaced,viewport:a,afterCritical:s})},an=function(e,t){var n;return Object(a["a"])({},e,(n={},n[t.descriptor.id]=t,n))},sn=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,i=Ht(t),o=Ht(n);if(!i)return r;if(i===o)return r;var a=r[i];if(!a.subject.withPlaceholder)return r;var s=Vt(a);return an(r,s)},ln=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.previousImpact,o=e.impact,a=sn({previousImpact:i,impact:o,droppables:r}),s=Ht(o);if(!s)return a;var l=r[s];if(Fe(t,l))return a;if(l.subject.withPlaceholder)return a;var u=Bt(l,t,n);return an(a,u)},un=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,s=e.scrollJumpRequest,l=i||t.viewport,u=r||t.dimensions,c=n||t.current.client.selection,d=le(c,t.initial.client.selection),h={offset:d,selection:c,borderBoxCenter:se(t.initial.client.borderBoxCenter,d)},f={selection:se(h.selection,l.scroll.current),borderBoxCenter:se(h.borderBoxCenter,l.scroll.current),offset:se(h.offset,l.scroll.diff.value)},p={client:h,page:f};if("COLLECTING"===t.phase)return Object(a["a"])({phase:"COLLECTING"},t,{dimensions:u,viewport:l,current:p});var g=u.draggables[t.critical.draggable.id],m=o||on({pageOffset:f.offset,draggable:g,draggables:u.draggables,droppables:u.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),v=ln({draggable:g,impact:m,previousImpact:t.impact,draggables:u.draggables,droppables:u.droppables}),y=Object(a["a"])({},t,{current:p,dimensions:{draggables:u.draggables,droppables:v},impact:m,viewport:l,scrollJumpRequest:s||null,forceShouldAnimate:!s&&null});return y};function cn(e,t){return e.map((function(e){return t[e]}))}var dn=function(e){var t=e.impact,n=e.viewport,r=e.draggables,i=e.destination,o=e.forceShouldAnimate,s=t.displaced,l=cn(s.all,r),u=rt({afterDragging:l,destination:i,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:s});return Object(a["a"])({},t,{displaced:u})},hn=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.viewport,a=e.afterCritical,s=xt({impact:t,draggable:n,draggables:i,droppable:r,afterCritical:a});return Dt({pageBorderBoxCenter:s,draggable:n,viewport:o})},fn=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&X(!1);var i=t.impact,o=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,u=s[t.critical.draggable.id],c=Ht(i);c||X(!1);var d=l[c],h=dn({impact:i,viewport:o,destination:d,draggables:s}),f=hn({impact:h,draggable:u,droppable:d,draggables:s,viewport:o,afterCritical:t.afterCritical});return un({impact:h,clientSelection:f,state:t,dimensions:a,viewport:o})},pn=function(e){return{index:e.index,droppableId:e.droppableId}},gn=function(e){var t=e.draggable,n=e.home,r=e.draggables,i=e.viewport,o=Rt(n.axis,t.displaceBy),a=Te(n.descriptor.id,r),s=a.indexOf(t);-1===s&&X(!1);var l=a.slice(s+1),u=l.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),c={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:o,effected:u},d=rt({afterDragging:l,destination:n,displacedBy:o,last:null,viewport:i.frame,forceShouldAnimate:!1}),h={displaced:d,displacedBy:o,at:{type:"REORDER",destination:pn(t.descriptor)}};return{impact:h,afterCritical:c}},mn=function(e,t){return{draggables:e.draggables,droppables:an(e.droppables,t)}},vn=function(e){0},yn=function(e){0},bn=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=C(t.client,n),o=S(i,r),s=Object(a["a"])({},t,{placeholder:Object(a["a"])({},t.placeholder,{client:i}),client:i,page:o});return s},_n=function(e){var t=e.frame;return t||X(!1),t},wn=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=n[t],a=_n(o),s=a.scroll.diff.value,l=se(i,s),u=bn({draggable:e,offset:l,initialWindowScroll:r.scroll.initial});return u}))},xn=function(e){var t=e.state,n=e.published;vn();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId],r=Ce(n,e.scroll);return r})),i=Object(a["a"])({},t.dimensions.droppables,{},Me(r)),o=Ne(wn({additions:n.additions,updatedDroppables:i,viewport:t.viewport})),s=Object(a["a"])({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete s[e]}));var l={droppables:i,draggables:s},u=Ht(t.impact),c=u?l.droppables[u]:null,d=l.draggables[t.critical.draggable.id],h=l.droppables[t.critical.droppable.id],f=gn({draggable:d,home:h,draggables:s,viewport:t.viewport}),p=f.impact,g=f.afterCritical,m=c&&c.isCombineEnabled?t.impact:p,v=on({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:m,viewport:t.viewport,afterCritical:g});yn();var y=Object(a["a"])({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:p,dimensions:l,afterCritical:g,forceShouldAnimate:!1});if("COLLECTING"===t.phase)return y;var b=Object(a["a"])({phase:"DROP_PENDING"},y,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1});return b},Cn=function(e){return"SNAP"===e.movementMode},Sn=function(e,t,n){var r=mn(e.dimensions,t);return!Cn(e)||n?un({state:e,dimensions:r}):fn({state:e,dimensions:r})};function On(e){return e.isDragging&&"SNAP"===e.movementMode?Object(a["a"])({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var kn={phase:"IDLE",completed:null,shouldFlush:!1},En=function(e,t){if(void 0===e&&(e=kn),"FLUSH"===t.type)return Object(a["a"])({},kn,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&X(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,s=n.dimensions,l=n.movementMode,u=s.draggables[r.draggable.id],c=s.droppables[r.droppable.id],d={selection:i,borderBoxCenter:u.client.borderBox.center,offset:ae},h={client:d,page:{selection:se(d.selection,o.scroll.initial),borderBoxCenter:se(d.selection,o.scroll.initial),offset:se(d.selection,o.scroll.diff.value)}},f=Le(s.droppables).every((function(e){return!e.isFixedOnPage})),p=gn({draggable:u,home:c,draggables:s.draggables,viewport:o}),g=p.impact,m=p.afterCritical,v={phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:s,initial:h,current:h,isWindowScrollAllowed:f,impact:g,afterCritical:m,onLiftImpact:g,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null};return v}if("COLLECTION_STARTING"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&X(!1);var y=Object(a["a"])({phase:"COLLECTING"},e,{phase:"COLLECTING"});return y}if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&X(!1),xn({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Gt(e)||X(!1);var b=t.payload.client;return ue(b,e.current.client.selection)?e:un({state:e,clientSelection:b,impact:Cn(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return On(e);if("COLLECTING"===e.phase)return On(e);Gt(e)||X(!1);var _=t.payload,w=_.id,x=_.newScroll,C=e.dimensions.droppables[w];if(!C)return e;var S=Ce(C,x);return Sn(e,S,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Gt(e)||X(!1);var O=t.payload,k=O.id,E=O.isEnabled,D=e.dimensions.droppables[k];D||X(!1),D.isEnabled===E&&X(!1);var M=Object(a["a"])({},D,{isEnabled:E});return Sn(e,M,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Gt(e)||X(!1);var N=t.payload,L=N.id,I=N.isCombineEnabled,T=e.dimensions.droppables[L];T||X(!1),T.isCombineEnabled===I&&X(!1);var P=Object(a["a"])({},T,{isCombineEnabled:I});return Sn(e,P,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Gt(e)||X(!1),e.isWindowScrollAllowed||X(!1);var A=t.payload.newScroll;if(ue(e.viewport.scroll.current,A))return On(e);var R=Ct(e.viewport,A);return Cn(e)?fn({state:e,viewport:R}):un({state:e,viewport:R})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Gt(e))return e;var j=t.payload.maxScroll;if(ue(j,e.viewport.scroll.max))return e;var F=Object(a["a"])({},e.viewport,{scroll:Object(a["a"])({},e.viewport.scroll,{max:j})});return Object(a["a"])({phase:"DRAGGING"},e,{viewport:F})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&X(!1);var B=Kt({state:e,type:t.type});return B?un({state:e,impact:B.impact,clientSelection:B.clientSelection,scrollJumpRequest:B.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var V=t.payload.reason;"COLLECTING"!==e.phase&&X(!1);var z=Object(a["a"])({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:V});return z}if("DROP_ANIMATE"===t.type){var W=t.payload,H=W.completed,U=W.dropDuration,K=W.newHomeClientOffset;"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&X(!1);var G={phase:"DROP_ANIMATING",completed:H,dropDuration:U,newHomeClientOffset:K,dimensions:e.dimensions};return G}if("DROP_COMPLETE"===t.type){var q=t.payload.completed;return{phase:"IDLE",completed:q,shouldFlush:!1}}return e},Dn=function(e){return{type:"BEFORE_INITIAL_CAPTURE",payload:e}},Mn=function(e){return{type:"LIFT",payload:e}},Nn=function(e){return{type:"INITIAL_PUBLISH",payload:e}},Ln=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},In=function(){return{type:"COLLECTION_STARTING",payload:null}},Tn=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Pn=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},An=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Rn=function(e){return{type:"MOVE",payload:e}},jn=function(e){return{type:"MOVE_BY_WINDOW_SCROLL",payload:e}},Fn=function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}},Bn=function(){return{type:"MOVE_UP",payload:null}},Vn=function(){return{type:"MOVE_DOWN",payload:null}},zn=function(){return{type:"MOVE_RIGHT",payload:null}},Wn=function(){return{type:"MOVE_LEFT",payload:null}},Hn=function(){return{type:"FLUSH",payload:null}},Un=function(e){return{type:"DROP_ANIMATE",payload:e}},Kn=function(e){return{type:"DROP_COMPLETE",payload:e}},Gn=function(e){return{type:"DROP",payload:e}},qn=function(e){return{type:"DROP_PENDING",payload:e}},Yn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Xn(e,t){}var Zn=function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,s=o.clientSelection,l=o.movementMode,u=n();"DROP_ANIMATING"===u.phase&&r(Kn({completed:u.completed})),"IDLE"!==n().phase&&X(!1),r(Hn()),r(Dn({draggableId:a,movementMode:l}));var c={shouldPublishImmediately:"SNAP"===l},d={draggableId:a,scrollOptions:c},h=e.startPublishing(d),f=h.critical,p=h.dimensions,g=h.viewport;Xn(f,p),r(Nn({critical:f,dimensions:p,clientSelection:s,movementMode:l,viewport:g}))}else t(i)}}}},Qn=function(e){return function(){return function(t){return function(n){"INITIAL_PUBLISH"===n.type&&e.dragging(),"DROP_ANIMATE"===n.type&&e.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||e.resting(),t(n)}}}},$n={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Jn={opacity:{drop:0,combining:.7},scale:{drop:.75}},er={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},tr=er.outOfTheWay+"s "+$n.outOfTheWay,nr={fluid:"opacity "+tr,snap:"transform "+tr+", opacity "+tr,drop:function(e){var t=e+"s "+$n.drop;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+tr,placeholder:"height "+tr+", width "+tr+", margin "+tr},rr=function(e){return ue(e,ae)?null:"translate("+e.x+"px, "+e.y+"px)"},ir={moveTo:rr,drop:function(e,t){var n=rr(e);return n?t?n+" scale("+Jn.scale.drop+")":n:null}},or=er.minDropTime,ar=er.maxDropTime,sr=ar-or,lr=1500,ur=.6,cr=function(e){var t=e.current,n=e.destination,r=e.reason,i=he(t,n);if(i<=0)return or;if(i>=lr)return ar;var o=i/lr,a=or+sr*o,s="CANCEL"===r?a*ur:a;return Number(s.toFixed(2))},dr=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,o=e.afterCritical,a=r.draggables,s=r.droppables,l=Ht(t),u=l?s[l]:null,c=s[n.descriptor.droppableId],d=hn({impact:t,draggable:n,draggables:a,afterCritical:o,droppable:u||c,viewport:i}),h=le(d,n.client.borderBox.center);return h},hr=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,i=e.home,o=e.viewport,s=e.onLiftImpact;if(!r.at||"DROP"!==n){var l=dn({draggables:t,impact:s,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:l,didDropInsideDroppable:!1}}if("REORDER"===r.at.type)return{impact:r,didDropInsideDroppable:!0};var u=Object(a["a"])({},r,{displaced:Ve});return{impact:u,didDropInsideDroppable:!0}},fr=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var i=t(),o=r.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){var a="DROP_PENDING"===i.phase&&i.isWaiting;a&&X(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&X(!1);var s=i.critical,l=i.dimensions,u=l.draggables[i.critical.draggable.id],c=hr({reason:o,lastImpact:i.impact,afterCritical:i.afterCritical,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),d=c.impact,h=c.didDropInsideDroppable,f=h?Pe(d):null,p=h?Ae(d):null,g={index:s.draggable.index,droppableId:s.droppable.id},m={draggableId:u.descriptor.id,type:u.descriptor.type,source:g,reason:o,mode:i.movementMode,destination:f,combine:p},v=dr({impact:d,draggable:u,dimensions:l,viewport:i.viewport,afterCritical:i.afterCritical}),y={critical:i.critical,afterCritical:i.afterCritical,result:m,impact:d},b=!ue(i.current.client.offset,v)||Boolean(m.combine);if(b){var _=cr({current:i.current.client.offset,destination:v,reason:o}),w={newHomeClientOffset:v,dropDuration:_,completed:y};n(Un(w))}else n(Kn({completed:y}))}}else n(qn({reason:o}))}else e(r)}}},pr=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function gr(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}function mr(e){var t=e.onWindowScroll;function n(){t(pr())}var r=L(n),i=gr(r),o=H;function a(){return o!==H}function s(){a()&&X(!1),o=K(window,[i])}function l(){a()||X(!1),r.cancel(),o(),o=H}return{start:s,stop:l,isActive:a}}var vr=function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type},yr=function(e){var t=mr({onWindowScroll:function(t){e.dispatch(jn({newScroll:t}))}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&vr(n)&&t.stop(),e(n)}}},br=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i},_r=function(){var e=[],t=function(t){var n=ke(e,(function(e){return e.timerId===t}));-1===n&&X(!1);var r=e.splice(n,1),i=r[0];i.callback()},n=function(n){var r=setTimeout((function(){return t(r)})),i={timerId:r,callback:n};e.push(i)},r=function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}};return{add:n,flush:r}},wr=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.droppableId===t.droppableId&&e.index===t.index)},xr=function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)},Cr=function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r},Sr=function(e,t){vn(),t(),yn()},Or=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},kr=function(e,t,n,r){if(e){var i=br(n),o={announce:i};e(t,o),i.wasCalled()||n(r(t))}else n(r(t))},Er=function(e,t){var n=_r(),r=null,i=function(t,n){r&&X(!1),Sr("onBeforeCapture",(function(){var r=e().onBeforeCapture;if(r){var i={draggableId:t,mode:n};r(i)}}))},o=function(t,n){r&&X(!1),Sr("onBeforeDragStart",(function(){var r=e().onBeforeDragStart;r&&r(Or(t,n))}))},s=function(i,o){r&&X(!1);var a=Or(i,o);r={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},n.add((function(){Sr("onDragStart",(function(){return kr(e().onDragStart,a,t,oe.onDragStart)}))}))},l=function(i,o){var s=Pe(o),l=Ae(o);r||X(!1);var u=!Cr(i,r.lastCritical);u&&(r.lastCritical=i);var c=!wr(r.lastLocation,s);c&&(r.lastLocation=s);var d=!xr(r.lastCombine,l);if(d&&(r.lastCombine=l),u||c||d){var h=Object(a["a"])({},Or(i,r.mode),{combine:l,destination:s});n.add((function(){Sr("onDragUpdate",(function(){return kr(e().onDragUpdate,h,t,oe.onDragUpdate)}))}))}},u=function(){r||X(!1),n.flush()},c=function(n){r||X(!1),r=null,Sr("onDragEnd",(function(){return kr(e().onDragEnd,n,t,oe.onDragEnd)}))},d=function(){if(r){var e=Object(a["a"])({},Or(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});c(e)}};return{beforeCapture:i,beforeStart:o,start:s,update:l,flush:u,drop:c,abort:d}},Dr=function(e,t){var n=Er(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Mr=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&X(!1),e.dispatch(Kn({completed:r.completed}))}else t(n)}}},Nr=function(e){var t=null,n=null;function r(){n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)}return function(i){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||r(),i(o),"DROP_ANIMATE"===o.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var t=e.getState();"DROP_ANIMATING"===t.phase&&e.dispatch(Yn())}};n=requestAnimationFrame((function(){n=null,t=K(window,[a])}))}}}},Lr=function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}},Ir=function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var i=r.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},Tr=function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type},Pr=function(e){return function(t){return function(n){return function(r){if(Tr(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var i=t.getState();return"DRAGGING"!==i.phase&&X(!1),void e.start(i)}n(r),e.scroll(t.getState())}}}},Ar=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Gn({reason:r.reason})))}}}},Rr=s["d"],jr=function(e){var t=e.dimensionMarshal,n=e.focusMarshal,r=e.styleMarshal,i=e.getResponders,o=e.announce,a=e.autoScroller;return Object(s["e"])(En,Rr(Object(s["a"])(Qn(r),Lr(t),Zn(t),fr,Mr,Nr,Ar,Pr(a),yr,Ir(n),Dr(i,o))))},Fr=function(){return{additions:{},removals:{},modified:{}}};function Br(e){var t=e.registry,n=e.callbacks,r=Fr(),i=null,o=function(){i||(n.collectionStarting(),i=requestAnimationFrame((function(){i=null,vn();var e=r,o=e.additions,a=e.removals,s=e.modified,l=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(ae)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(s).map((function(e){var n=t.droppable.getById(e),r=n.callbacks.getScrollWhileDragging();return{droppableId:e,scroll:r}})),c={additions:l,removals:Object.keys(a),modified:u};r=Fr(),yn(),n.publish(c)})))},a=function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],o()},s=function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],o()},l=function(){i&&(cancelAnimationFrame(i),i=null,r=Fr())};return{add:a,remove:s,stop:l}}var Vr=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,o=le({x:n,y:t},{x:i,y:r}),a={x:Math.max(0,o.x),y:Math.max(0,o.y)};return a},zr=function(){var e=document.documentElement;return e||X(!1),e},Wr=function(){var e=zr(),t=Vr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},Hr=function(){var e=pr(),t=Wr(),n=e.y,r=e.x,i=zr(),o=i.clientWidth,a=i.clientHeight,s=r+o,l=n+a,u=g({top:n,left:r,right:s,bottom:l}),c={frame:u,scroll:{initial:e,current:e,max:t,diff:{value:ae,displacement:ae}}};return c},Ur=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;vn();var i=Hr(),o=i.scroll.current,a=t.droppable,s=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(o,n)})),l=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(o)})),u={draggables:Ne(l),droppables:Me(s)};yn();var c={dimensions:u,critical:t,viewport:i};return c};function Kr(e,t,n){if(n.descriptor.id===t.id)return!1;if(n.descriptor.type!==t.type)return!1;var r=e.droppable.getById(n.descriptor.droppableId);return"virtual"===r.descriptor.mode}var Gr=function(e,t){var n=null,r=Br({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(r,i){e.droppable.exists(r)||X(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:i})},o=function(r,i){n&&(e.droppable.exists(r)||X(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i}))},a=function(r,i){n&&(e.droppable.exists(r)||X(!1),t.updateDroppableScroll({id:r,newScroll:i}))},s=function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},l=function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}},u=function(t){n||X(!1);var i=n.critical.draggable;"ADDITION"===t.type&&Kr(e,i,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Kr(e,i,t.value)&&r.remove(t.value)},c=function(t){n&&X(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),o={draggable:r.descriptor,droppable:i.descriptor},a=e.subscribe(u);return n={critical:o,unsubscribe:a},Ur({critical:o,registry:e,scrollOptions:t.scrollOptions})},d={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:s,updateDroppableScroll:a,startPublishing:c,stopPublishing:l};return d},qr=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},Yr=function(e){window.scrollBy(e.x,e.y)},Xr=M((function(e){return Le(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Zr=function(e,t){var n=Ee(Xr(t),(function(t){return t.frame||X(!1),qt(t.frame.pageMarginBox)(e)}));return n},Qr=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=Zr(t,r);return o},$r={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(e){return Math.pow(e,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Jr=function(e,t){var n=e[t.size]*$r.startFromPercentage,r=e[t.size]*$r.maxScrollAtPercentage,i={startScrollingFrom:n,maxScrollValueAt:r};return i},ei=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;if(0===i)return 0;var o=r-t,a=o/i;return a},ti=1,ni=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return $r.maxPixelScroll;if(e===t.startScrollingFrom)return ti;var n=ei({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=1-n,i=$r.maxPixelScroll*$r.ease(r);return Math.ceil(i)},ri=$r.durationDampening.accelerateAt,ii=$r.durationDampening.stopDampeningAt,oi=function(e,t){var n=t,r=ii,i=Date.now(),o=i-n;if(o>=ii)return e;if(o<ri)return ti;var a=ei({startOfRange:ri,endOfRange:r,current:o}),s=e*$r.ease(a);return Math.ceil(s)},ai=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,o=ni(t,n);return 0===o?0:i?Math.max(oi(o,r),ti):o},si=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=Jr(t,i),s=n[i.end]<n[i.start];return s?ai({distanceToEdge:n[i.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o}):-1*ai({distanceToEdge:n[i.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o})},li=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,o=n.width>t.width;return o||i?o&&i?null:{x:o?0:r.x,y:i?0:r.y}:r},ui=pe((function(e){return 0===e?0:e})),ci=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=si({container:n,distanceToEdges:a,dragStartTime:t,axis:Ke,shouldUseTimeDampening:o}),l=si({container:n,distanceToEdges:a,dragStartTime:t,axis:Ge,shouldUseTimeDampening:o}),u=ui({x:l,y:s});if(ue(u,ae))return null;var c=li({container:n,subject:r,proposedScroll:u});return c?ue(c,ae)?null:c:null},di=pe((function(e){return 0===e?0:e>0?1:-1})),hi=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,i=t.change,o=se(n,i),a={x:e(o.x,r.x),y:e(o.y,r.y)};return ue(a,ae)?null:a}}(),fi=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=di(r),a=hi({max:i,current:n,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},pi=function(e,t){return fi({current:e.scroll.current,max:e.scroll.max,change:t})},gi=function(e,t){if(!pi(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return hi({current:r,max:n,change:t})},mi=function(e,t){var n=e.frame;return!!n&&fi({current:n.scroll.current,max:n.scroll.max,change:t})},vi=function(e,t){var n=e.frame;return n&&mi(e,t)?hi({current:n.scroll.current,max:n.scroll.max,change:t}):null},yi=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=ci({dragStartTime:i,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return a&&pi(t,a)?a:null},bi=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=ci({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&mi(t,s)?s:null},_i=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id],l=s.page.marginBox;if(t.isWindowScrollAllowed){var u=t.viewport,c=yi({dragStartTime:n,viewport:u,subject:l,center:a,shouldUseTimeDampening:r});if(c)return void i(c)}var d=Qr({center:a,destination:Ht(t.impact),droppables:t.dimensions.droppables});if(d){var h=bi({dragStartTime:n,droppable:d,subject:l,center:a,shouldUseTimeDampening:r});h&&o(d.descriptor.id,h)}},wi=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=L(t),i=L(n),o=null,a=function(e){o||X(!1);var t=o,n=t.shouldUseTimeDampening,a=t.dragStartTime;_i({state:e,scrollWindow:r,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:n})},s=function(e){vn(),o&&X(!1);var t=Date.now(),n=!1,r=function(){n=!0};_i({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),o={dragStartTime:t,shouldUseTimeDampening:n},yn(),n&&a(e)},l=function(){o&&(r.cancel(),i.cancel(),o=null)};return{start:s,stop:l,scroll:a}},xi=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,i=function(e,n){var r=se(e.current.client.selection,n);t({client:r})},o=function(e,t){if(!mi(e,t))return t;var r=vi(e,t);if(!r)return n(e.descriptor.id,t),null;var i=le(t,r);n(e.descriptor.id,i);var o=le(t,i);return o},a=function(e,t,n){if(!e)return n;if(!pi(t,n))return n;var i=gi(t,n);if(!i)return r(n),null;var o=le(n,i);r(o);var a=le(n,o);return a},s=function(e){var t=e.scrollJumpRequest;if(t){var n=Ht(e.impact);n||X(!1);var r=o(e.dimensions.droppables[n],t);if(r){var s=e.viewport,l=a(e.isWindowScrollAllowed,s,r);l&&i(e,l)}}};return s},Ci=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=wi({scrollWindow:n,scrollDroppable:t}),o=xi({move:r,scrollWindow:n,scrollDroppable:t}),a=function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},s={scroll:a,start:i.start,stop:i.stop};return s},Si="data-rbd",Oi=function(){var e=Si+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),ki=function(){var e=Si+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ei=function(){var e=Si+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Di={contextId:Si+"-scroll-container-context-id"},Mi=function(e){return function(t){return"["+t+'="'+e+'"]'}},Ni=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Li="pointer-events: none;",Ii=function(e){var t=Mi(e),n=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:t(Oi.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:Li,dropAnimating:e}}}(),r=function(){var e="\n transition: "+nr.outOfTheWay+";\n ";return{selector:t(ki.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),i={selector:t(Ei.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}},a=[r,n,i,o];return{always:Ni(a,"always"),resting:Ni(a,"resting"),dragging:Ni(a,"dragging"),dropAnimating:Ni(a,"dropAnimating"),userCancel:Ni(a,"userCancel")}},Ti="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r["useLayoutEffect"]:r["useEffect"],Pi=function(){var e=document.querySelector("head");return e||X(!1),e},Ai=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function Ri(e,t){var n=h((function(){return Ii(e)}),[e]),i=Object(r["useRef"])(null),o=Object(r["useRef"])(null),a=f(M((function(e){var t=o.current;t||X(!1),t.textContent=e})),[]),s=f((function(e){var t=i.current;t||X(!1),t.textContent=e}),[]);Ti((function(){(i.current||o.current)&&X(!1);var r=Ai(t),l=Ai(t);return i.current=r,o.current=l,r.setAttribute(Si+"-always",e),l.setAttribute(Si+"-dynamic",e),Pi().appendChild(r),Pi().appendChild(l),s(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||X(!1),Pi().removeChild(t),e.current=null};e(i),e(o)}}),[t,s,a,n.always,n.resting,e]);var l=f((function(){return a(n.dragging)}),[a,n.dragging]),u=f((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),c=f((function(){o.current&&a(n.resting)}),[a,n.resting]),d=h((function(){return{dragging:l,dropping:u,resting:c}}),[l,u,c]);return d}var ji=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Fi(e){return e instanceof ji(e).HTMLElement}function Bi(e,t){var n="["+Oi.contextId+'="'+e+'"]',r=De(document.querySelectorAll(n));if(!r.length)return null;var i=Ee(r,(function(e){return e.getAttribute(Oi.draggableId)===t}));return i&&Fi(i)?i:null}function Vi(e){var t=Object(r["useRef"])({}),n=Object(r["useRef"])(null),i=Object(r["useRef"])(null),o=Object(r["useRef"])(!1),a=f((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current,i=n[e];i!==r&&delete n[e]}}),[]),s=f((function(t){var n=Bi(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=f((function(e,t){n.current===e&&(n.current=t)}),[]),u=f((function(){i.current||o.current&&(i.current=requestAnimationFrame((function(){i.current=null;var e=n.current;e&&s(e)})))}),[s]),c=f((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(Oi.draggableId)===e&&(n.current=e)}),[]);Ti((function(){return o.current=!0,function(){o.current=!1;var e=i.current;e&&cancelAnimationFrame(e)}}),[]);var d=h((function(){return{register:a,tryRecordFocus:c,tryRestoreFocusRecorded:u,tryShiftRecord:l}}),[a,c,u,l]);return d}function zi(){var e={draggables:{},droppables:{}},t=[];function n(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}function r(e){t.length&&t.forEach((function(t){return t(e)}))}function i(t){return e.draggables[t]||null}function o(e){var t=i(e);return t||X(!1),t}var a={register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var n=t.descriptor.id,o=i(n);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[n],r({type:"REMOVAL",value:t}))},getById:o,findById:i,exists:function(e){return Boolean(i(e))},getAllByType:function(t){return Oe(e.draggables).filter((function(e){return e.descriptor.type===t}))}};function s(t){return e.droppables[t]||null}function l(e){var t=s(e);return t||X(!1),t}var u={register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=s(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:l,findById:s,exists:function(e){return Boolean(s(e))},getAllByType:function(t){return Oe(e.droppables).filter((function(e){return e.descriptor.type===t}))}};function c(){e.draggables={},e.droppables={},t.length=0}return{draggable:a,droppable:u,subscribe:n,clean:c}}function Wi(){var e=h(zi,[]);return Object(r["useEffect"])((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}var Hi=i.a.createContext(null),Ui=function(){var e=document.body;return e||X(!1),e},Ki={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Gi=function(e){return"rbd-announcement-"+e};function qi(e){var t=h((function(){return Gi(e)}),[e]),n=Object(r["useRef"])(null);Object(r["useEffect"])((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),Object(a["a"])(e.style,Ki),Ui().appendChild(e),function(){setTimeout((function(){var t=Ui();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]);var i=f((function(e){var t=n.current;t&&(t.textContent=e)}),[]);return i}var Yi=0,Xi={separator:"::"};function Zi(e,t){return void 0===t&&(t=Xi),h((function(){return""+e+t.separator+Yi++}),[t.separator,e])}function Qi(e){var t=e.contextId,n=e.uniqueId;return"rbd-hidden-text-"+t+"-"+n}function $i(e){var t=e.contextId,n=e.text,i=Zi("hidden-text",{separator:"-"}),o=h((function(){return Qi({contextId:t,uniqueId:i})}),[i,t]);return Object(r["useEffect"])((function(){var e=document.createElement("div");return e.id=o,e.textContent=n,e.style.display="none",Ui().appendChild(e),function(){var t=Ui();t.contains(e)&&t.removeChild(e)}}),[o,n]),o}var Ji=i.a.createContext(null),eo={react:"^16.8.5","react-dom":"^16.8.5"},to=/(\d+)\.(\d+)\.(\d+)/,no=function(e){var t=to.exec(e);null==t&&X(!1);var n=Number(t[1]),r=Number(t[2]),i=Number(t[3]);return{major:n,minor:r,patch:i,raw:e}},ro=function(e,t){return t.major>e.major||!(t.major<e.major)&&(t.minor>e.minor||!(t.minor<e.minor)&&t.patch>=e.patch)},io=function(e,t){var n=no(e),r=no(t);ro(n,r)},oo=function(e){var t=e.doctype;t&&(t.name.toLowerCase(),t.publicId)};function ao(e){0}function so(e,t){ao((function(){Object(r["useEffect"])((function(){try{e()}catch(t){W("\n A setup problem was encountered.\n\n > "+t.message+"\n ")}}),t)}))}function lo(){so((function(){io(eo.react,i.a.version),oo(document)}),[])}function uo(e){var t=Object(r["useRef"])(e);return Object(r["useEffect"])((function(){t.current=e})),t}function co(){var e=null;function t(){return Boolean(e)}function n(t){return t===e}function r(t){e&&X(!1);var n={abandon:t};return e=n,n}function i(){e||X(!1),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:n,claim:r,release:i,tryAbandon:o}}var ho,fo=9,po=13,go=27,mo=32,vo=33,yo=34,bo=35,_o=36,wo=37,xo=38,Co=39,So=40,Oo=(ho={},ho[po]=!0,ho[fo]=!0,ho),ko=function(e){Oo[e.keyCode]&&e.preventDefault()},Eo=function(){var e="visibilitychange";if("undefined"===typeof document)return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],n=Ee(t,(function(e){return"on"+e in document}));return n||e}(),Do=0,Mo=5;function No(e,t){return Math.abs(t.x-e.x)>=Mo||Math.abs(t.y-e.y)>=Mo}var Lo,Io={type:"IDLE"};function To(e){var t=e.cancel,n=e.completed,r=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(t===Do){var a={x:n,y:o},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);"PENDING"!==s.type&&X(!1);var l=s.point;if(No(l,a)){e.preventDefault();var u=s.actions.fluidLift(a);i({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){var n=r();if("PENDING"!==n.type)return e.keyCode===go?(e.preventDefault(),void t()):void ko(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&X(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Eo,fn:t}]}function Po(e){var t=Object(r["useRef"])(Io),n=Object(r["useRef"])(H),i=h((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&t.button===Do&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,s,{sourceEvent:t});if(i){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),c(i,o)}}}}}}),[e]),o=h((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),a=f((function(){var e={passive:!1,capture:!0};n.current=K(window,[o,i],e)}),[o,i]),s=f((function(){var e=t.current;"IDLE"!==e.type&&(t.current=Io,n.current(),a())}),[a]),l=f((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),u=f((function(){var e={capture:!0,passive:!1},r=To({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=K(window,r,e)}),[l,s]),c=f((function(e,n){"IDLE"!==t.current.type&&X(!1),t.current={type:"PENDING",point:n,actions:e},u()}),[u]);Ti((function(){return a(),function(){n.current()}}),[a])}function Ao(){}var Ro=(Lo={},Lo[yo]=!0,Lo[vo]=!0,Lo[_o]=!0,Lo[bo]=!0,Lo);function jo(e,t){function n(){t(),e.cancel()}function r(){t(),e.drop()}return[{eventName:"keydown",fn:function(t){return t.keyCode===go?(t.preventDefault(),void n()):t.keyCode===mo?(t.preventDefault(),void r()):t.keyCode===So?(t.preventDefault(),void e.moveDown()):t.keyCode===xo?(t.preventDefault(),void e.moveUp()):t.keyCode===Co?(t.preventDefault(),void e.moveRight()):t.keyCode===wo?(t.preventDefault(),void e.moveLeft()):void(Ro[t.keyCode]?t.preventDefault():ko(t))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Eo,fn:n}]}function Fo(e){var t=Object(r["useRef"])(Ao),n=h((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&n.keyCode===mo){var r=e.findClosestDraggableId(n);if(r){var o=e.tryGetLock(r,l,{sourceEvent:n});if(o){n.preventDefault();var a=!0,s=o.snapLift();t.current(),t.current=K(window,jo(s,l),{capture:!0,passive:!1})}}}function l(){a||X(!1),a=!1,t.current(),i()}}}}),[e]),i=f((function(){var e={passive:!1,capture:!0};t.current=K(window,[n],e)}),[n]);Ti((function(){return i(),function(){t.current()}}),[i])}var Bo={type:"IDLE"},Vo=120,zo=.15;function Wo(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(e.keyCode===go&&e.preventDefault(),t()):t()}},{eventName:Eo,fn:t}]}function Ho(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var i=e.touches[0],o=i.clientX,a=i.clientY,s={x:o,y:a};e.preventDefault(),n.actions.move(s)}else t()}},{eventName:"touchend",fn:function(e){var i=r();"DRAGGING"===i.type?(e.preventDefault(),i.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&X(!1);var i=e.touches[0];if(i){var o=i.force>=zo;if(o){var a=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return a?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();a&&t()}}}},{eventName:Eo,fn:t}]}function Uo(e){var t=Object(r["useRef"])(Bo),n=Object(r["useRef"])(H),i=f((function(){return t.current}),[]),o=f((function(e){t.current=e}),[]),a=h((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var i=e.tryGetLock(r,l,{sourceEvent:t});if(i){var o=t.touches[0],a=o.clientX,s=o.clientY,u={x:a,y:s};n.current(),p(i,u)}}}}}}),[e]),s=f((function(){var e={capture:!0,passive:!1};n.current=K(window,[a],e)}),[a]),l=f((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(Bo),n.current(),s())}),[s,o]),u=f((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),c=f((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:l,getPhase:i},r=K(window,Ho(t),e),o=K(window,Wo(t),e);n.current=function(){r(),o()}}),[u,i,l]),d=f((function(){var e=i();"PENDING"!==e.type&&X(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[i,o]),p=f((function(e,t){"IDLE"!==i().type&&X(!1);var n=setTimeout(d,Vo);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),c()}),[c,i,o,d]);Ti((function(){return s(),function(){n.current();var e=i();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(Bo))}}),[i,s,o]),Ti((function(){var e=K(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return e}),[])}function Ko(e){ao((function(){var t=uo(e);so((function(){t.current.length!==e.length&&X(!1)}))}))}var Go={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function qo(e,t){if(null==t)return!1;var n=Boolean(Go[t.tagName.toLowerCase()]);if(n)return!0;var r=t.getAttribute("contenteditable");return"true"===r||""===r||t!==e&&qo(e,t.parentElement)}function Yo(e,t){var n=t.target;return!!Fi(n)&&qo(e,n)}var Xo=function(e){return g(e.getBoundingClientRect()).center};function Zo(e){return e instanceof ji(e).Element}var Qo=function(){var e="matches";if("undefined"===typeof document)return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],n=Ee(t,(function(e){return e in Element.prototype}));return n||e}();function $o(e,t){return null==e?null:e[Qo](t)?e:$o(e.parentElement,t)}function Jo(e,t){return e.closest?e.closest(t):$o(e,t)}function ea(e){return"["+Oi.contextId+'="'+e+'"]'}function ta(e,t){var n=t.target;if(!Zo(n))return null;var r=ea(e),i=Jo(n,r);return i&&Fi(i)?i:null}function na(e,t){var n=ta(e,t);return n?n.getAttribute(Oi.draggableId):null}function ra(e,t){var n="["+ki.contextId+'="'+e+'"]',r=De(document.querySelectorAll(n)),i=Ee(r,(function(e){return e.getAttribute(ki.id)===t}));return i&&Fi(i)?i:null}function ia(e){e.preventDefault()}function oa(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function aa(e){var t=e.lockAPI,n=e.store,r=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(i);return!!o&&(!!o.options.isEnabled&&!!qr(n.getState(),i))}function sa(e){var t=e.lockAPI,n=e.contextId,r=e.store,i=e.registry,o=e.draggableId,s=e.forceSensorStop,l=e.sourceEvent,u=aa({lockAPI:t,store:r,registry:i,draggableId:o});if(!u)return null;var c=i.draggable.getById(o),d=ra(n,c.descriptor.id);if(!d)return null;if(l&&!c.options.canDragInteractiveElements&&Yo(d,l))return null;var h=t.claim(s||H),f="PRE_DRAG";function p(){return c.options.shouldRespectForcePress}function g(){return t.isActive(h)}function m(e,t){oa({expected:e,phase:f,isLockActive:g,shouldWarn:!0})&&r.dispatch(t())}var v=m.bind(null,"DRAGGING");function y(e){function n(){t.release(),f="COMPLETED"}function i(t,i){if(void 0===i&&(i={shouldBlockNextClick:!1}),e.cleanup(),i.shouldBlockNextClick){var o=K(window,[{eventName:"click",fn:ia,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(Gn({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&X(!1)),r.dispatch(Mn(e.liftActionArgs)),f="DRAGGING",Object(a["a"])({isActive:function(){return oa({expected:"DRAGGING",phase:f,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return i("DROP",e)},cancel:function(e){return i("CANCEL",e)}},e.actions)}function b(e){var t=L((function(e){v((function(){return Rn({client:e})}))})),n=y({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return Object(a["a"])({},n,{move:t})}function _(){var e={moveUp:function(){return v(Bn)},moveRight:function(){return v(zn)},moveDown:function(){return v(Vn)},moveLeft:function(){return v(Wn)}};return y({liftActionArgs:{id:o,clientSelection:Xo(d),movementMode:"SNAP"},cleanup:H,actions:e})}function w(){var e=oa({expected:"PRE_DRAG",phase:f,isLockActive:g,shouldWarn:!0});e&&t.release()}var x={isActive:function(){return oa({expected:"PRE_DRAG",phase:f,isLockActive:g,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:b,snapLift:_,abort:w};return x}var la=[Po,Fo,Uo];function ua(e){var t=e.contextId,n=e.store,i=e.registry,o=e.customSensors,a=e.enableDefaultSensors,s=[].concat(a?la:[],o||[]),l=Object(r["useState"])((function(){return co()}))[0],u=f((function(e,t){e.isDragging&&!t.isDragging&&l.tryAbandon()}),[l]);Ti((function(){var e=n.getState(),t=n.subscribe((function(){var t=n.getState();u(e,t),e=t}));return t}),[l,n,u]),Ti((function(){return l.tryAbandon}),[l.tryAbandon]);var c=f((function(e){return aa({lockAPI:l,registry:i,store:n,draggableId:e})}),[l,i,n]),d=f((function(e,r,o){return sa({lockAPI:l,registry:i,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,l,i,n]),p=f((function(e){return na(t,e)}),[t]),g=f((function(e){var t=i.draggable.findById(e);return t?t.options:null}),[i.draggable]),m=f((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(Hn()))}),[l,n]),v=f(l.isClaimed,[l]),y=h((function(){return{canGetLock:c,tryGetLock:d,findClosestDraggableId:p,findOptionsForDraggable:g,tryReleaseLock:m,isLockClaimed:v}}),[c,d,p,g,m,v]);Ko(s);for(var b=0;b<s.length;b++)s[b](y)}var ca=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function da(e){return e.current||X(!1),e.current}function ha(e){var t=e.contextId,n=e.setCallbacks,o=e.sensors,u=e.nonce,c=e.dragHandleUsageInstructions,d=Object(r["useRef"])(null);lo();var p=uo(e),g=f((function(){return ca(p.current)}),[p]),m=qi(t),v=$i({contextId:t,text:c}),y=Ri(t,u),b=f((function(e){da(d).dispatch(e)}),[]),_=h((function(){return Object(s["b"])({publishWhileDragging:Ln,updateDroppableScroll:Tn,updateDroppableIsEnabled:Pn,updateDroppableIsCombineEnabled:An,collectionStarting:In},b)}),[b]),w=Wi(),x=h((function(){return Gr(w,_)}),[w,_]),C=h((function(){return Ci(Object(a["a"])({scrollWindow:Yr,scrollDroppable:x.scrollDroppable},Object(s["b"])({move:Rn},b)))}),[x.scrollDroppable,b]),S=Vi(t),O=h((function(){return jr({announce:m,autoScroller:C,dimensionMarshal:x,focusMarshal:S,getResponders:g,styleMarshal:y})}),[m,C,x,S,g,y]);d.current=O;var k=f((function(){var e=da(d),t=e.getState();"IDLE"!==t.phase&&e.dispatch(Hn())}),[]),E=f((function(){var e=da(d).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]),D=h((function(){return{isDragging:E,tryAbort:k}}),[E,k]);n(D);var M=f((function(e){return qr(da(d).getState(),e)}),[]),N=f((function(){return Gt(da(d).getState())}),[]),L=h((function(){return{marshal:x,focus:S,contextId:t,canLift:M,isMovementAllowed:N,dragHandleUsageInstructionsId:v,registry:w}}),[t,x,v,S,M,N,w]);return ua({contextId:t,store:O,registry:w,customSensors:o,enableDefaultSensors:!1!==e.enableDefaultSensors}),Object(r["useEffect"])((function(){return k}),[k]),i.a.createElement(Ji.Provider,{value:L},i.a.createElement(l["a"],{context:Hi,store:O},e.children))}var fa=0;function pa(){return h((function(){return""+fa++}),[])}function ga(e){var t=pa(),n=e.dragHandleUsageInstructions||oe.dragHandleUsageInstructions;return i.a.createElement(Z,null,(function(r){return i.a.createElement(ha,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var ma=function(e){return function(t){return e===t}},va=ma("scroll"),ya=ma("auto"),ba=(ma("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),_a=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return ba(n,va)||ba(n,ya)},wa=function(){return!1},xa=function e(t){return null==t?null:t===document.body?wa()?t:null:t===document.documentElement?null:_a(t)?t:e(t.parentElement)},Ca=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Sa=function e(t){if(!t)return!1;var n=window.getComputedStyle(t);return"fixed"===n.position||e(t.parentElement)},Oa=function(e){var t=xa(e),n=Sa(e);return{closestScrollable:t,isFixedOnPage:n}},ka=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,s=e.page,l=e.closest,u=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=Vr({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:ae,displacement:ae}}}}(),c="vertical"===o?Ke:Ge,d=xe({page:s,withPlaceholder:null,axis:c,frame:u}),h={descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:c,isEnabled:n,client:a,page:s,frame:u,subject:d};return h},Ea=function(e,t){var n=k(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,a=i+t.scrollWidth,s={top:r,right:a,bottom:o,left:i},l=m(s,n.border),u=_({borderBox:l,margin:n.margin,border:n.border,padding:n.padding});return u},Da=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,u=r.closestScrollable,c=Ea(t,u),d=S(c,i),h=function(){if(!u)return null;var e=k(u),t={scrollHeight:u.scrollHeight,scrollWidth:u.scrollWidth};return{client:e,page:S(e,i),scroll:Ca(u),scrollSize:t,shouldClipSubject:l}}(),f=ka({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:o,client:c,page:d,closest:h});return f},Ma={passive:!1},Na={passive:!0},La=function(e){return e.shouldPublishImmediately?Ma:Na};function Ia(e){var t=Object(r["useContext"])(e);return t||X(!1),t}var Ta=function(e){return e&&e.env.closestScrollable||null};function Pa(e){var t=Object(r["useRef"])(null),n=Ia(Ji),i=Zi("droppable"),o=n.registry,a=n.marshal,s=uo(e),l=h((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),u=Object(r["useRef"])(l),c=h((function(){return M((function(e,n){t.current||X(!1);var r={x:e,y:n};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),d=f((function(){var e=t.current;return e&&e.env.closestScrollable?Ca(e.env.closestScrollable):ae}),[]),p=f((function(){var e=d();c(e.x,e.y)}),[d,c]),g=h((function(){return L(p)}),[p]),m=f((function(){var e=t.current,n=Ta(e);e&&n||X(!1);var r=e.scrollOptions;r.shouldPublishImmediately?p():g()}),[g,p]),v=f((function(e,r){t.current&&X(!1);var i=s.current,o=i.getDroppableRef();o||X(!1);var a=Oa(o),u={ref:o,descriptor:l,env:a,scrollOptions:r};t.current=u;var c=Da({ref:o,descriptor:l,env:a,windowScroll:e,direction:i.direction,isDropDisabled:i.isDropDisabled,isCombineEnabled:i.isCombineEnabled,shouldClipSubject:!i.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(Di.contextId,n.contextId),d.addEventListener("scroll",m,La(u.scrollOptions))),c}),[n.contextId,l,m,s]),y=f((function(){var e=t.current,n=Ta(e);return e&&n||X(!1),Ca(n)}),[]),b=f((function(){var e=t.current;e||X(!1);var n=Ta(e);t.current=null,n&&(g.cancel(),n.removeAttribute(Di.contextId),n.removeEventListener("scroll",m,La(e.scrollOptions)))}),[m,g]),_=f((function(e){var n=t.current;n||X(!1);var r=Ta(n);r||X(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),w=h((function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:y,dragStopped:b,scroll:_}}),[b,v,y,_]),x=h((function(){return{uniqueId:i,descriptor:l,callbacks:w}}),[w,l,i]);Ti((function(){return u.current=x.descriptor,o.droppable.register(x),function(){t.current&&b(),o.droppable.unregister(x)}}),[w,l,b,x,a,o.droppable]),Ti((function(){t.current&&a.updateDroppableIsEnabled(u.current.id,!e.isDropDisabled)}),[e.isDropDisabled,a]),Ti((function(){t.current&&a.updateDroppableIsCombineEnabled(u.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,a])}function Aa(){}var Ra={width:0,height:0,margin:ye},ja=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?Ra:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}},Fa=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,i=ja({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:i.width,height:i.height,marginTop:i.margin.top,marginRight:i.margin.right,marginBottom:i.margin.bottom,marginLeft:i.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?nr.placeholder:null}};function Ba(e){var t=Object(r["useRef"])(null),n=f((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),o=e.animate,a=e.onTransitionEnd,s=e.onClose,l=e.contextId,u=Object(r["useState"])("open"===e.animate),c=u[0],d=u[1];Object(r["useEffect"])((function(){return c?"open"!==o?(n(),d(!1),Aa):t.current?Aa:(t.current=setTimeout((function(){t.current=null,d(!1)})),n):Aa}),[o,c,n]);var h=f((function(e){"height"===e.propertyName&&(a(),"close"===o&&s())}),[o,s,a]),p=Fa({isAnimatingOpenOnMount:c,animate:e.animate,placeholder:e.placeholder});return i.a.createElement(e.placeholder.tagName,{style:p,"data-rbd-placeholder-context-id":l,onTransitionEnd:h,ref:e.innerRef})}var Va=i.a.memo(Ba),za=i.a.createContext(null);function Wa(e){e&&Fi(e)||X(!1)}function Ha(e){return"boolean"===typeof e}function Ua(e,t){t.forEach((function(t){return t(e)}))}var Ka=[function(e){var t=e.props;t.droppableId||X(!1),"string"!==typeof t.droppableId&&X(!1)},function(e){var t=e.props;Ha(t.isDropDisabled)||X(!1),Ha(t.isCombineEnabled)||X(!1),Ha(t.ignoreContainerClipping)||X(!1)},function(e){var t=e.getDroppableRef;Wa(t())}],Ga=[function(e){var t=e.props,n=e.getPlaceholderRef;if(t.placeholder)n()}],qa=[function(e){var t=e.props;t.renderClone||X(!1)},function(e){var t=e.getPlaceholderRef;t()&&X(!1)}];function Ya(e){so((function(){Ua(e,Ka),"standard"===e.props.mode&&Ua(e,Ga),"virtual"===e.props.mode&&Ua(e,qa)}))}var Xa=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}Object(o["a"])(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}};var n=t.prototype;return n.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(i.a.PureComponent),Za={dragging:5e3,dropAnimating:4500},Qa=function(e,t){return t?nr.drop(t.duration):e?nr.snap:nr.fluid},$a=function(e,t){return e?t?Jn.opacity.drop:Jn.opacity.combining:null},Ja=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode};function es(e){var t=e.dimension,n=t.client,r=e.offset,i=e.combineWith,o=e.dropping,a=Boolean(i),s=Ja(e),l=Boolean(o),u=l?ir.drop(r,a):ir.moveTo(r),c={position:"fixed",top:n.marginBox.top,left:n.marginBox.left,boxSizing:"border-box",width:n.borderBox.width,height:n.borderBox.height,transition:Qa(s,o),transform:u,opacity:$a(a,l),zIndex:l?Za.dropAnimating:Za.dragging,pointerEvents:"none"};return c}function ts(e){return{transform:ir.moveTo(e.offset),transition:e.shouldAnimateDisplacement?null:"none"}}function ns(e){return"DRAGGING"===e.type?es(e):ts(e)}function rs(e,t,n){void 0===n&&(n=ae);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=O(i,r),a=S(o,n),s={client:o,tagName:t.tagName.toLowerCase(),display:r.display},l={x:o.marginBox.width,y:o.marginBox.height},u={descriptor:e,placeholder:s,displaceBy:l,client:o,page:a};return u}function is(e){var t=Zi("draggable"),n=e.descriptor,i=e.registry,o=e.getDraggableRef,a=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,u=h((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}}),[a,l,s]),c=f((function(e){var t=o();return t||X(!1),rs(n,t,e)}),[n,o]),d=h((function(){return{uniqueId:t,descriptor:n,options:u,getDimension:c}}),[n,c,u,t]),p=Object(r["useRef"])(d),g=Object(r["useRef"])(!0);Ti((function(){return i.draggable.register(p.current),function(){return i.draggable.unregister(p.current)}}),[i.draggable]),Ti((function(){if(g.current)g.current=!1;else{var e=p.current;p.current=d,i.draggable.update(d,e)}}),[d,i.draggable])}function os(e,t,n){so((function(){var r=e.draggableId;r||X(!1),"string"!==typeof r&&X(!1),Se(e.index)||X(!1),"DRAGGING"!==e.mapped.type&&(Wa(n()),e.isEnabled&&(Bi(t,r)||X(!1)))}))}function as(e){ao((function(){var t=Object(r["useRef"])(e);so((function(){e!==t.current&&X(!1)}),[e])}))}function ss(e){e.preventDefault()}function ls(e){var t=Object(r["useRef"])(null),n=f((function(e){t.current=e}),[]),i=f((function(){return t.current}),[]),o=Ia(Ji),a=o.contextId,s=o.dragHandleUsageInstructionsId,l=o.registry,u=Ia(za),c=u.type,d=u.droppableId,p=h((function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}}),[e.draggableId,e.index,c,d]),g=e.children,m=e.draggableId,v=e.isEnabled,y=e.shouldRespectForcePress,b=e.canDragInteractiveElements,_=e.isClone,w=e.mapped,x=e.dropAnimationFinished;if(os(e,a,i),as(_),!_){var C=h((function(){return{descriptor:p,registry:l,getDraggableRef:i,canDragInteractiveElements:b,shouldRespectForcePress:y,isEnabled:v}}),[p,l,i,b,y,v]);is(C)}var S=h((function(){return v?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:ss}:null}),[a,s,m,v]),O=f((function(e){"DRAGGING"===w.type&&w.dropping&&"transform"===e.propertyName&&x()}),[x,w]),k=h((function(){var e=ns(w),t="DRAGGING"===w.type&&w.dropping?O:null,r={innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":m,style:e,onTransitionEnd:t},dragHandleProps:S};return r}),[a,S,m,w,O,n]),E=h((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return g(k,w.snapshot,E)}var us=function(e,t){return e===t},cs=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null},ds=function(e){return e.combine?e.combine.draggableId:null},hs=function(e){return e.at&&"COMBINE"===e.at.type?e.at.combine.draggableId:null};function fs(){var e=M((function(e,t){return{x:e,y:t}})),t=M((function(e,t,n,r,i){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(i),dropAnimation:i,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=M((function(e,n,r,i,o,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:a,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,i,o,a,null)}}})),r=function(r,i){if(r.isDragging){if(r.critical.draggable.id!==i.draggableId)return null;var o=r.current.client.offset,a=r.dimensions.draggables[i.draggableId],s=Ht(r.impact),l=hs(r.impact),u=r.forceShouldAnimate;return n(e(o.x,o.y),r.movementMode,a,i.isClone,s,l,u)}if("DROP_ANIMATING"===r.phase){var c=r.completed;if(c.result.draggableId!==i.draggableId)return null;var d=i.isClone,h=r.dimensions.draggables[i.draggableId],f=c.result,p=f.mode,g=cs(f),m=ds(f),v=r.dropDuration,y={duration:v,curve:$n.drop,moveTo:r.newHomeClientOffset,opacity:m?Jn.opacity.drop:null,scale:m?Jn.scale.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:h,dropping:y,draggingOver:g,combineWith:m,mode:p,forceShouldAnimate:null,snapshot:t(p,d,g,m,y)}}}return null};return r}function ps(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var gs={mapped:{type:"SECONDARY",offset:ae,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ps(null)}};function ms(){var e=M((function(e,t){return{x:e,y:t}})),t=M(ps),n=M((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(ae,e,!0):null},i=function(t,i,o,a){var s=o.displaced.visible[t],l=Boolean(a.inVirtualList&&a.effected[t]),u=Ae(o),c=u&&u.draggableId===t?i:null;if(!s){if(!l)return r(c);if(o.displaced.invisible[t])return null;var d=ce(a.displacedBy.point),h=e(d.x,d.y);return n(h,c,!0)}if(l)return r(c);var f=o.displacedBy.point,p=e(f.x,f.y);return n(p,c,s.shouldAnimate)},o=function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:i(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:i(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null};return o}var vs=function(){var e=fs(),t=ms(),n=function(n,r){return e(n,r)||t(n,r)||gs};return n},ys={dropAnimationFinished:Yn},bs=Object(l["c"])(vs,ys,null,{context:Hi,pure:!0,areStatePropsEqual:us})(ls);function _s(e){var t=Ia(za),n=t.isUsingCloneFor;return n!==e.draggableId||e.isClone?i.a.createElement(bs,e):null}function ws(e){var t="boolean"!==typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return i.a.createElement(_s,Object(a["a"])({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}function xs(e){var t=Object(r["useContext"])(Ji);t||X(!1);var n=t.contextId,o=t.isMovementAllowed,a=Object(r["useRef"])(null),s=Object(r["useRef"])(null),l=e.children,u=e.droppableId,c=e.type,d=e.mode,p=e.direction,g=e.ignoreContainerClipping,m=e.isDropDisabled,v=e.isCombineEnabled,y=e.snapshot,b=e.useClone,_=e.updateViewportMaxScroll,w=e.getContainerForClone,x=f((function(){return a.current}),[]),C=f((function(e){a.current=e}),[]),S=f((function(){return s.current}),[]),O=f((function(e){s.current=e}),[]);Ya({props:e,getDroppableRef:x,getPlaceholderRef:S});var k=f((function(){o()&&_({maxScroll:Wr()})}),[o,_]);Pa({droppableId:u,type:c,mode:d,direction:p,isDropDisabled:m,isCombineEnabled:v,ignoreContainerClipping:g,getDroppableRef:x});var E=i.a.createElement(Xa,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,o=e.animate;return i.a.createElement(Va,{placeholder:r,onClose:t,innerRef:O,animate:o,contextId:n,onTransitionEnd:k})})),D=h((function(){return{innerRef:C,placeholder:E,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":n}}}),[n,u,E,C]),M=b?b.dragging.draggableId:null,N=h((function(){return{droppableId:u,type:c,isUsingCloneFor:M}}),[u,M,c]);function L(){if(!b)return null;var e=b.dragging,t=b.render,n=i.a.createElement(_s,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return T.a.createPortal(n,w())}return i.a.createElement(za.Provider,{value:N},l(D,y),L())}var Cs=function(e,t){return e===t.droppable.type},Ss=function(e,t){return t.draggables[e.draggable.id]},Os=function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=Object(a["a"])({},e,{shouldAnimatePlaceholder:!1}),n=M((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=M((function(r,i,o,a,s,l){var u=s.descriptor.id,c=s.descriptor.droppableId===r;if(c){var d=l?{render:l,dragging:n(s.descriptor)}:null,h={isDraggingOver:o,draggingOverWith:o?u:null,draggingFromThisWith:u,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:h,useClone:d}}if(!i)return t;if(!a)return e;var f={isDraggingOver:o,draggingOverWith:u,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}})),i=function(n,i){var o=i.droppableId,a=i.type,s=!i.isDropDisabled,l=i.renderClone;if(n.isDragging){var u=n.critical;if(!Cs(a,u))return t;var c=Ss(u,n.dimensions),d=Ht(n.impact)===o;return r(o,s,d,d,c,l)}if("DROP_ANIMATING"===n.phase){var h=n.completed;if(!Cs(a,h.critical))return t;var f=Ss(h.critical,n.dimensions);return r(o,s,cs(h.result)===o,Ht(h.impact)===o,f,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var p=n.completed;if(!Cs(a,p.critical))return t;var g=Ht(p.impact)===o,m=Boolean(p.impact.at&&"COMBINE"===p.impact.at.type),v=p.critical.droppable.id===o;return g?m?e:t:v?e:t}return t};return i},ks={updateViewportMaxScroll:Fn};function Es(){return document.body||X(!1),document.body}var Ds={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Es},Ms=Object(l["c"])(Os,ks,null,{context:Hi,pure:!0,areStatePropsEqual:us})(xs);Ms.defaultProps=Ds},ni6a:function(e,t,n){var r=n("pzxd"),i=n("mFDi"),o=n("gut8"),a=o.WILL_BE_RESTORED,s=new i,l=function(){};l.prototype={constructor:l,drawRectText:function(e,t){var n=this.style;t=n.textRect||t,this.__dirty&&r.normalizeTextStyle(n,!0);var i=n.text;if(null!=i&&(i+=""),r.needDrawText(i,n)){e.save();var o=this.transform;n.transformText?this.setTransform(e):o&&(s.copy(t),s.applyTransform(o),t=s),r.renderText(this,e,i,n,t,a),e.restore()}}};var u=l;e.exports=u},nkfE:function(e,t,n){var r=n("bYtY"),i=n("ca2m"),o=n("bLfw"),a=n("+TT/"),s=a.getLayoutParams,l=a.mergeLayoutParam,u=n("jkPA"),c=["value","category","time","log"];function d(e,t,n,a){r.each(c,(function(o){t.extend({type:e+"Axis."+o,mergeDefaultAndTheme:function(t,i){var a=this.layoutMode,u=a?s(t):{},c=i.getTheme();r.merge(t,c.get(o+"Axis")),r.merge(t,this.getDefaultOption()),t.type=n(e,t),a&&l(t,u,a)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=u.createByAxisModel(this))},getCategories:function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:r.mergeAll([{},i[o+"Axis"],a],!0)})})),o.registerSubTypeDefaulter(e+"Axis",r.curry(n,e))}e.exports=d},nn6Y:function(e,t,n){},nnTU:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d}));var r=n("pmY6"),i=n("746U"),o=n("Cg/j"),a=n("MI8n"),s=n("24hK"),l=n("QDVR"),u=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},c=Object(o["c"])("commandService"),d=new(function(){function e(){this._commands=new Map,this._onDidRegisterCommand=new a["a"],this.onDidRegisterCommand=this._onDidRegisterCommand.event}return e.prototype.registerCommand=function(e,t){var n=this;if(!e)throw new Error("invalid command");if("string"===typeof e){if(!t)throw new Error("invalid command");return this.registerCommand({id:e,handler:t})}if(e.description){for(var o=[],a=0,l=e.description.args;a<l.length;a++){var c=l[a];o.push(c.constraint)}var d=e.handler;e.handler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object(i["m"])(t,o),d.apply(void 0,u([e],t))}}var h=e.id,f=this._commands.get(h);f||(f=new s["a"],this._commands.set(h,f));var p=f.unshift(e),g=Object(r["h"])((function(){p();var e=n._commands.get(h);(null===e||void 0===e?void 0:e.isEmpty())&&n._commands.delete(h)}));return this._onDidRegisterCommand.fire(h),g},e.prototype.registerCommandAlias=function(e,t){return d.registerCommand(e,(function(e){for(var n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return(n=e.get(c)).executeCommand.apply(n,u([t],r))}))},e.prototype.getCommand=function(e){var t=this._commands.get(e);if(t&&!t.isEmpty())return t.iterator().next().value},e.prototype.getCommands=function(){for(var e=new Map,t=0,n=Object(l["d"])(this._commands);t<n.length;t++){var r=n[t],i=this.getCommand(r);i&&e.set(r,i)}return e},e}())},noeP:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("UOVi");r.registerAction("dataZoom",(function(e,t){var n=o.createLinkedNodesFinder(i.bind(t.eachComponent,t,"dataZoom"),o.eachAxisDim,(function(e,t){return e.get(t.axisIndex)})),r=[];t.eachComponent({mainType:"dataZoom",query:e},(function(e,t){r.push.apply(r,n(e).nodes)})),i.each(r,(function(t,n){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})}))}))},nrBJ:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return n.e(222).then(n.bind(null,"eXtt"))}})},nrhi:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("/kV6"),i=n("MNsG"),o=n("nnTU"),a=n("ic2d"),s=function(){function e(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}return e.bindToCurrentPlatform=function(e){if(1===i["a"]){if(e&&e.win)return e.win}else if(2===i["a"]){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e},e.prototype.registerKeybindingRule=function(t){var n=e.bindToCurrentPlatform(t);if(n&&n.primary){var o=Object(r["f"])(n.primary,i["a"]);o&&this._registerDefaultKeybinding(o,t.id,t.args,t.weight,0,t.when)}if(n&&Array.isArray(n.secondary))for(var a=0,s=n.secondary.length;a<s;a++){var l=n.secondary[a];o=Object(r["f"])(l,i["a"]);o&&this._registerDefaultKeybinding(o,t.id,t.args,t.weight,-a-1,t.when)}},e.prototype.registerCommandAndKeybindingRule=function(e){this.registerKeybindingRule(e),o["a"].registerCommand(e)},e._mightProduceChar=function(e){return e>=21&&e<=30||(e>=31&&e<=56||(80===e||81===e||82===e||83===e||84===e||85===e||86===e||110===e||111===e||87===e||88===e||89===e||90===e||91===e||92===e))},e.prototype._assertNoCtrlAlt=function(t,n){t.ctrlKey&&t.altKey&&!t.metaKey&&e._mightProduceChar(t.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",t," for ",n)},e.prototype._registerDefaultKeybinding=function(e,t,n,r,o,a){1===i["a"]&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:a,weight1:r,weight2:o}),this._cachedMergedKeybindings=null},e.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(c)),this._cachedMergedKeybindings.slice(0)},e}(),l=new s,u={EditorModes:"platform.keybindingsRegistry"};function c(e,t){return e.weight1!==t.weight1?e.weight1-t.weight1:e.command<t.command?-1:e.command>t.command?1:e.weight2-t.weight2}a["a"].add(u.EditorModes,l)},nuFA:function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){function t(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return r-n<=0?{start:0,end:0}:{start:n,end:r}}function n(e){return e.end-e.start<=0}function r(e,r){return!n(t(e,r))}function i(e,t){var r=[],i={start:e.start,end:Math.min(t.start,e.end)},o={start:Math.max(t.end,e.start),end:e.end};return n(i)||r.push(i),n(o)||r.push(o),r}e.intersect=t,e.isEmpty=n,e.intersects=r,e.relativeComplement=i}(r||(r={}))},"o/2+":function(e,t,n){"use strict";var r=n("q1tI"),i=Object(r["createContext"])({});t["a"]=i},o39E:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("pmY6"),i=n("EffR"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(e){function t(t,n,r){var i=e.call(this)||this;return i.referenceDomElement=t,i.changeCallback=r,i.width=-1,i.height=-1,i.mutationObserver=null,i.windowSizeListener=null,i.measureReferenceDomElement(!1,n),i}return o(t,e),t.prototype.dispose=function(){this.stopObserving(),e.prototype.dispose.call(this)},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.startObserving=function(){var e=this;!this.mutationObserver&&this.referenceDomElement&&(this.mutationObserver=new MutationObserver((function(){return e._onDidMutate()})),this.mutationObserver.observe(this.referenceDomElement,{attributes:!0})),this.windowSizeListener||(this.windowSizeListener=i["i"](window,"resize",(function(){return e._onDidResizeWindow()})))},t.prototype.stopObserving=function(){this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=null),this.windowSizeListener&&(this.windowSizeListener.dispose(),this.windowSizeListener=null)},t.prototype.observe=function(e){this.measureReferenceDomElement(!0,e)},t.prototype._onDidMutate=function(){this.measureReferenceDomElement(!0)},t.prototype._onDidResizeWindow=function(){this.measureReferenceDomElement(!0)},t.prototype.measureReferenceDomElement=function(e,t){var n=0,r=0;t?(n=t.width,r=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,r=this.referenceDomElement.clientHeight),n=Math.max(5,n),r=Math.max(5,r),this.width===n&&this.height===r||(this.width=n,this.height=r,e&&this.changeCallback())},t}(r["a"])},o40c:function(e,t,n){var r=n("IwbS"),i=n("OS9S"),o=n("loD1"),a=n("aKvl"),s=r.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(e,t){var n=t.segs,r=t.curveness;if(t.polyline)for(var i=0;i<n.length;){var o=n[i++];if(o>0){e.moveTo(n[i++],n[i++]);for(var a=1;a<o;a++)e.lineTo(n[i++],n[i++])}}else for(i=0;i<n.length;){var s=n[i++],l=n[i++],u=n[i++],c=n[i++];if(e.moveTo(s,l),r>0){var d=(s+u)/2-(l-c)*r,h=(l+c)/2-(u-s)*r;e.quadraticCurveTo(d,h,u,c)}else e.lineTo(u,c)}},findDataIndex:function(e,t){var n=this.shape,r=n.segs,i=n.curveness;if(n.polyline)for(var s=0,l=0;l<r.length;){var u=r[l++];if(u>0)for(var c=r[l++],d=r[l++],h=1;h<u;h++){var f=r[l++],p=r[l++];if(o.containStroke(c,d,f,p))return s}s++}else for(s=0,l=0;l<r.length;){c=r[l++],d=r[l++],f=r[l++],p=r[l++];if(i>0){var g=(c+f)/2-(d-p)*i,m=(d+p)/2-(f-c)*i;if(a.containStroke(c,d,g,m,f,p))return s}else if(o.containStroke(c,d,f,p))return s;s++}return-1}});function l(){this.group=new r.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(e){this.group.removeAll();var t=new s({rectHover:!0,cursor:"default"});t.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(t,e),this.group.add(t),this._incremental=null},u.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(e,t){var n=new s;n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=e.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(e,t,n){var r=t.hostModel;e.setShape({polyline:r.get("polyline"),curveness:r.get("lineStyle.curveness")}),e.useStyle(r.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var i=t.getVisual("color");i&&e.setStyle("stroke",i),e.setStyle("fill"),n||(e.seriesIndex=r.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>0&&(e.dataIndex=n+e.__startIndex)})))},u._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var c=l;e.exports=c},oBaM:function(e,t,n){var r=n("T4UG"),i=n("5GtS"),o=n("bYtY"),a=n("7aKB"),s=a.encodeHTML,l=n("xKMd"),u=r.extend({type:"series.radar",dependencies:["radar"],init:function(e){u.superApply(this,"init",arguments),this.legendVisualProvider=new l(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(e,t){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(e){var t=this.getData(),n=this.coordinateSystem,r=n.getIndicatorAxes(),i=this.getData().getName(e);return s(""===i?this.name:i)+"<br/>"+o.map(r,(function(n,r){var i=t.get(t.mapDimension(n.dim),e);return s(n.name+" : "+i)})).join("<br />")},getTooltipPosition:function(e){if(null!=e)for(var t=this.getData(),n=this.coordinateSystem,r=t.getValues(o.map(n.dimensions,(function(e){return t.mapDimension(e)})),e,!0),i=0,a=r.length;i<a;i++)if(!isNaN(r[i])){var s=n.getIndicatorAxes();return n.coordToPoint(s[i].dataToCoord(r[i]),i)}},defaultOption:{zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4}}),c=u;e.exports=c},oE7X:function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("timeline",(function(){return"slider"}))},oHiP:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("xEkU"),i=n.n(r),o=0,a={};function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=o++,r=t;function s(){r-=1,r<=0?(e(),delete a[n]):a[n]=i()(s)}return a[n]=i()(s),n}s.cancel=function(e){void 0!==e&&(i.a.cancel(a[e]),delete a[e])},s.ids=a},oIFs:function(e,t,n){},oKJv:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return n.e(196).then(n.bind(null,"HGU1"))}})},oOh1:function(e,t,n){"use strict";var r=n("q1tI"),i=n("x1Ya"),o=n("TSYQ"),a=n.n(o),s=n("H84U"),l=n("xCex");function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){"function"===typeof e?e(t):"object"===u(e)&&e&&"current"in e&&(e.current=t)}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){c(t,e)}))}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},g=function(e,t){var n,o=r["useContext"](l["b"]),u=r["useContext"](s["b"]),c=u.getPrefixCls,g=u.direction,m=r["useRef"](),v=d(t,m),y=function(t){e.onChange&&e.onChange(t),(null===o||void 0===o?void 0:o.onChange)&&o.onChange(t)},b=e.prefixCls,_=e.className,w=e.children,x=e.style,C=p(e,["prefixCls","className","children","style"]),S=c("radio",b),O=f({},C);o&&(O.name=o.name,O.onChange=y,O.checked=e.value===o.value,O.disabled=e.disabled||o.disabled);var k=a()(_,(n={},h(n,"".concat(S,"-wrapper"),!0),h(n,"".concat(S,"-wrapper-checked"),O.checked),h(n,"".concat(S,"-wrapper-disabled"),O.disabled),h(n,"".concat(S,"-wrapper-rtl"),"rtl"===g),n));return r["createElement"]("label",{className:k,style:x,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},r["createElement"](i["a"],f({},O,{prefixCls:S,ref:v})),void 0!==w?r["createElement"]("span",null,w):null)},m=r["forwardRef"](g);m.displayName="Radio",m.defaultProps={type:"radio"};t["a"]=m},oQaD:function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return kt})),n.d(t,"CommonFindController",(function(){return Et})),n.d(t,"FindController",(function(){return Dt})),n.d(t,"StartFindAction",(function(){return Mt})),n.d(t,"StartFindWithSelectionAction",(function(){return Nt})),n.d(t,"MatchFindAction",(function(){return Lt})),n.d(t,"NextMatchFindAction",(function(){return It})),n.d(t,"NextMatchFindAction2",(function(){return Tt})),n.d(t,"PreviousMatchFindAction",(function(){return Pt})),n.d(t,"PreviousMatchFindAction2",(function(){return At})),n.d(t,"SelectionMatchFindAction",(function(){return Rt})),n.d(t,"NextSelectionMatchFindAction",(function(){return jt})),n.d(t,"PreviousSelectionMatchFindAction",(function(){return Ft})),n.d(t,"StartFindReplaceAction",(function(){return Bt}));var r=n("3/fG"),i=n("X+cX"),o=n("pmY6"),a=n("N0LK"),s=n("sswD"),l=n("wQH0"),u=n("LCkn"),c=n("cGHE"),d=n("aokT"),h=n("gCVg"),f=n("jAJ/"),p=n("M1Kb"),g=n("tX9W"),m=n("MD5Z"),v=n("t9D7"),y=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var t=this._decorations.indexOf(e);return t>=0?t+1:1},e.prototype.getCurrentMatchesPosition=function(t){for(var n=this._editor.getModel().getDecorationsInRange(t),r=0,i=n;r<i.length;r++){var o=i[r],a=o.options;if(a===e._FIND_MATCH_DECORATION||a===e._CURRENT_FIND_MATCH_DECORATION)return this._getDecorationIndex(o.id)}return 1},e.prototype.setCurrentFindMatch=function(t){var n=this,r=null,i=0;if(t)for(var o=0,a=this._decorations.length;o<a;o++){var s=this._editor.getModel().getDecorationRange(this._decorations[o]);if(t.equalsRange(s)){r=this._decorations[o],i=o+1;break}}return null===this._highlightedDecorationId&&null===r||this._editor.changeDecorations((function(t){if(null!==n._highlightedDecorationId&&(t.changeDecorationOptions(n._highlightedDecorationId,e._FIND_MATCH_DECORATION),n._highlightedDecorationId=null),null!==r&&(n._highlightedDecorationId=r,t.changeDecorationOptions(n._highlightedDecorationId,e._CURRENT_FIND_MATCH_DECORATION)),null!==n._rangeHighlightDecorationId&&(t.removeDecoration(n._rangeHighlightDecorationId),n._rangeHighlightDecorationId=null),null!==r){var i=n._editor.getModel().getDecorationRange(r);if(i.startLineNumber!==i.endLineNumber&&1===i.endColumn){var o=i.endLineNumber-1,a=n._editor.getModel().getLineMaxColumn(o);i=new d["a"](i.startLineNumber,i.startColumn,o,a)}n._rangeHighlightDecorationId=t.addDecoration(i,e._RANGE_HIGHLIGHT_DECORATION)}})),i},e.prototype.set=function(t,n){var r=this;this._editor.changeDecorations((function(i){var o=e._FIND_MATCH_DECORATION,a=[];if(t.length>1e3){o=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var s=r._editor.getModel().getLineCount(),l=r._editor.getLayoutInfo().height,u=l/s,c=Math.max(2,Math.ceil(3/u)),h=t[0].range.startLineNumber,f=t[0].range.endLineNumber,p=1,g=t.length;p<g;p++){var m=t[p].range;f+c>=m.startLineNumber?m.endLineNumber>f&&(f=m.endLineNumber):(a.push({range:new d["a"](h,1,f,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),h=m.startLineNumber,f=m.endLineNumber)}a.push({range:new d["a"](h,1,f,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}var v=new Array(t.length);for(p=0,g=t.length;p<g;p++)v[p]={range:t[p].range,options:o};r._decorations=i.deltaDecorations(r._decorations,v),r._overviewRulerApproximateDecorations=i.deltaDecorations(r._overviewRulerApproximateDecorations,a),r._rangeHighlightDecorationId&&(i.removeDecoration(r._rangeHighlightDecorationId),r._rangeHighlightDecorationId=null),r._findScopeDecorationId&&(i.removeDecoration(r._findScopeDecorationId),r._findScopeDecorationId=null),n&&(r._findScopeDecorationId=i.addDecoration(n,e._FIND_SCOPE_DECORATION))}))},e.prototype.matchBeforePosition=function(e){if(0===this._decorations.length)return null;for(var t=this._decorations.length-1;t>=0;t--){var n=this._decorations[t],r=this._editor.getModel().getDecorationRange(n);if(r&&!(r.endLineNumber>e.lineNumber)){if(r.endLineNumber<e.lineNumber)return r;if(!(r.endColumn>e.column))return r}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var t=0,n=this._decorations.length;t<n;t++){var r=this._decorations[t],i=this._editor.getModel().getDecorationRange(r);if(i&&!(i.startLineNumber<e.lineNumber)){if(i.startLineNumber>e.lineNumber)return i;if(!(i.startColumn<e.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[0])},e.prototype._allDecorations=function(){var e=[];return e=e.concat(this._decorations),e=e.concat(this._overviewRulerApproximateDecorations),this._findScopeDecorationId&&e.push(this._findScopeDecorationId),this._rangeHighlightDecorationId&&e.push(this._rangeHighlightDecorationId),e},e._CURRENT_FIND_MATCH_DECORATION=g["a"].register({stickiness:1,zIndex:13,className:"currentFindMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v["f"])(m["Kb"]),position:p["d"].Center},minimap:{color:Object(v["f"])(m["Gb"]),position:p["c"].Inline}}),e._FIND_MATCH_DECORATION=g["a"].register({stickiness:1,className:"findMatch",showIfCollapsed:!0,overviewRuler:{color:Object(v["f"])(m["Kb"]),position:p["d"].Center},minimap:{color:Object(v["f"])(m["Gb"]),position:p["c"].Inline}}),e._FIND_MATCH_NO_OVERVIEW_DECORATION=g["a"].register({stickiness:1,className:"findMatch",showIfCollapsed:!0}),e._FIND_MATCH_ONLY_OVERVIEW_DECORATION=g["a"].register({stickiness:1,overviewRuler:{color:Object(v["f"])(m["Kb"]),position:p["d"].Center}}),e._RANGE_HIGHLIGHT_DECORATION=g["a"].register({stickiness:1,className:"rangeHighlight",isWholeLine:!0}),e._FIND_SCOPE_DECORATION=g["a"].register({className:"findScope",isWholeLine:!0}),e}(),b=function(){function e(e,t,n){this._editorSelection=e,this._ranges=t,this._replaceStrings=n,this._trackedEditorSelectionId=null}return e.prototype.getEditOperations=function(e,t){if(this._ranges.length>0){for(var n=[],r=0;r<this._ranges.length;r++)n.push({range:this._ranges[r],text:this._replaceStrings[r]});n.sort((function(e,t){return d["a"].compareRangesUsingStarts(e.range,t.range)}));var i=[],o=n[0];for(r=1;r<n.length;r++)o.range.endLineNumber===n[r].range.startLineNumber&&o.range.endColumn===n[r].range.startColumn?(o.range=o.range.plusRange(n[r].range),o.text=o.text+n[r].text):(i.push(o),o=n[r]);i.push(o);for(var a=0,s=i;a<s.length;a++){var l=s[a];t.addEditOperation(l.range,l.text)}}this._trackedEditorSelectionId=t.trackSelection(this._editorSelection)},e.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._trackedEditorSelectionId)},e}();function _(e,t){if(e&&""!==e[0]){var n=w(e,t,"-"),r=w(e,t,"_");return n&&!r?x(e,t,"-"):!n&&r?x(e,t,"_"):e[0].toUpperCase()===e[0]?t.toUpperCase():e[0].toLowerCase()===e[0]?t.toLowerCase():a["j"](e[0][0])?t[0].toUpperCase()+t.substr(1):t}return t}function w(e,t,n){var r=-1!==e[0].indexOf(n)&&-1!==t.indexOf(n);return r&&e[0].split(n).length===t.split(n).length}function x(e,t,n){var r=t.split(n),i=e[0].split(n),o="";return r.forEach((function(e,t){o+=_([i[t]],e)+n})),o.slice(0,-1)}var C=function(){function e(e){this.staticValue=e,this.kind=0}return e}(),S=function(){function e(e){this.pieces=e,this.kind=1}return e}(),O=function(){function e(e){e&&0!==e.length?1===e.length&&null!==e[0].staticValue?this._state=new C(e[0].staticValue):this._state=new S(e):this._state=new C("")}return e.fromStaticValue=function(t){return new e([k.staticValue(t)])},Object.defineProperty(e.prototype,"hasReplacementPatterns",{get:function(){return 1===this._state.kind},enumerable:!0,configurable:!0}),e.prototype.buildReplaceString=function(t,n){if(0===this._state.kind)return n?_(t,this._state.staticValue):this._state.staticValue;for(var r="",i=0,o=this._state.pieces.length;i<o;i++){var a=this._state.pieces[i];null===a.staticValue?r+=e._substitute(a.matchIndex,t):r+=a.staticValue}return r},e._substitute=function(e,t){if(null===t)return"";if(0===e)return t[0];var n="";while(e>0){if(e<t.length){var r=t[e]||"";return r+n}n=String(e%10)+n,e=Math.floor(e/10)}return"$"+n},e}(),k=function(){function e(e,t){this.staticValue=e,this.matchIndex=t}return e.staticValue=function(t){return new e(t,-1)},e.matchIndex=function(t){return new e(null,t)},e}(),E=function(){function e(e){this._source=e,this._lastCharIndex=0,this._result=[],this._resultLen=0,this._currentStaticPiece=""}return e.prototype.emitUnchanged=function(e){this._emitStatic(this._source.substring(this._lastCharIndex,e)),this._lastCharIndex=e},e.prototype.emitStatic=function(e,t){this._emitStatic(e),this._lastCharIndex=t},e.prototype._emitStatic=function(e){0!==e.length&&(this._currentStaticPiece+=e)},e.prototype.emitMatchIndex=function(e,t){0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=k.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=k.matchIndex(e),this._lastCharIndex=t},e.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=k.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new O(this._result)},e}();function D(e){if(!e||0===e.length)return new O(null);for(var t=new E(e),n=0,r=e.length;n<r;n++){var i=e.charCodeAt(n);if(92!==i){if(36===i){if(n++,n>=r)break;s=e.charCodeAt(n);if(36===s){t.emitUnchanged(n-1),t.emitStatic("$",n+1);continue}if(48===s||38===s){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1);continue}if(49<=s&&s<=57){var o=s-48;if(n+1<r){var a=e.charCodeAt(n+1);if(48<=a&&a<=57){n++,o=10*o+(a-48),t.emitUnchanged(n-2),t.emitMatchIndex(o,n+1);continue}}t.emitUnchanged(n-1),t.emitMatchIndex(o,n+1);continue}}}else{if(n++,n>=r)break;var s=e.charCodeAt(n);switch(s){case 92:t.emitUnchanged(n-1),t.emitStatic("\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic("\n",n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic("\t",n+1);break}}}return t.finalize()}var M=n("T8No"),N=new M["d"]("findWidgetVisible",!1),L=new M["d"]("findInputFocussed",!1),I=new M["d"]("replaceInputFocussed",!1),T={primary:545,mac:{primary:2593}},P={primary:565,mac:{primary:2613}},A={primary:560,mac:{primary:2608}},R={primary:554,mac:{primary:2602}},j={StartFindAction:"actions.find",StartFindWithSelection:"actions.findWithSelection",NextMatchFindAction:"editor.action.nextMatchFindAction",PreviousMatchFindAction:"editor.action.previousMatchFindAction",NextSelectionMatchFindAction:"editor.action.nextSelectionMatchFindAction",PreviousSelectionMatchFindAction:"editor.action.previousSelectionMatchFindAction",StartFindReplaceAction:"editor.action.startFindReplaceAction",CloseFindWidgetCommand:"closeFindWidget",ToggleCaseSensitiveCommand:"toggleFindCaseSensitive",ToggleWholeWordCommand:"toggleFindWholeWord",ToggleRegexCommand:"toggleFindRegex",ToggleSearchScopeCommand:"toggleFindInSelection",TogglePreserveCaseCommand:"togglePreserveCase",ReplaceOneAction:"editor.action.replaceOne",ReplaceAllAction:"editor.action.replaceAll",SelectAllMatchesAction:"editor.action.selectAllMatches"},F=19999,B=240,V=function(){function e(e,t){var n=this;this._toDispose=new o["b"],this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new i["e"],this._decorations=new y(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new i["d"]((function(){return n.research(!1)}),100),this._toDispose.add(this._updateDecorationsScheduler),this._toDispose.add(this._editor.onDidChangeCursorPosition((function(e){3!==e.reason&&5!==e.reason&&6!==e.reason||n._decorations.setStartPosition(n._editor.getPosition())}))),this._ignoreModelContentChanged=!1,this._toDispose.add(this._editor.onDidChangeModelContent((function(e){n._ignoreModelContentChanged||(e.isFlush&&n._decorations.reset(),n._decorations.setStartPosition(n._editor.getPosition()),n._updateDecorationsScheduler.schedule())}))),this._toDispose.add(this._state.onFindReplaceStateChange((function(e){return n._onStateChanged(e)}))),this.research(!1,this._state.searchScope)}return e.prototype.dispose=function(){this._isDisposed=!0,Object(o["f"])(this._startSearchingTimer),this._toDispose.dispose()},e.prototype._onStateChanged=function(e){var t=this;if(!this._isDisposed&&this._editor.hasModel()&&(e.searchString||e.isReplaceRevealed||e.isRegex||e.wholeWord||e.matchCase||e.searchScope)){var n=this._editor.getModel();n.isTooLargeForSyncing()?(this._startSearchingTimer.cancel(),this._startSearchingTimer.setIfNotSet((function(){e.searchScope?t.research(e.moveCursor,t._state.searchScope):t.research(e.moveCursor)}),B)):e.searchScope?this.research(e.moveCursor,this._state.searchScope):this.research(e.moveCursor)}},e._getSearchRange=function(e,t){return t||e.getFullModelRange()},e.prototype.research=function(e,t){var n=null;n="undefined"!==typeof t?t:this._decorations.getFindScope(),null!==n&&n.startLineNumber!==n.endLineNumber&&(n=1===n.endColumn?new d["a"](n.startLineNumber,1,n.endLineNumber-1,this._editor.getModel().getLineMaxColumn(n.endLineNumber-1)):new d["a"](n.startLineNumber,1,n.endLineNumber,this._editor.getModel().getLineMaxColumn(n.endLineNumber)));var r=this._findMatches(n,!1,F);this._decorations.set(r,n),this._state.changeMatchInfo(this._decorations.getCurrentMatchesPosition(this._editor.getSelection()),this._decorations.getCount(),void 0),e&&this._moveToNextMatch(this._decorations.getStartPosition())},e.prototype._hasMatches=function(){return this._state.matchesCount>0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,r=e.column,i=this._editor.getModel();return t||1===r?(1===n?n=i.getLineCount():n--,r=i.getLineMaxColumn(n)):r--,new c["a"](n,r)},e.prototype._moveToPrevMatch=function(t,n){if(void 0===n&&(n=!1),this._decorations.getCount()<F){var r=this._decorations.matchBeforePosition(t);return r&&r.isEmpty()&&r.getStartPosition().equals(t)&&(t=this._prevSearchPosition(t),r=this._decorations.matchBeforePosition(t)),void(r&&this._setCurrentFindMatch(r))}if(!this._cannotFind()){var i=this._decorations.getFindScope(),o=e._getSearchRange(this._editor.getModel(),i);o.getEndPosition().isBefore(t)&&(t=o.getEndPosition()),t.isBefore(o.getStartPosition())&&(t=o.getEndPosition());var a=t.lineNumber,s=t.column,l=this._editor.getModel(),u=new c["a"](a,s),d=l.findPreviousMatch(this._state.searchString,u,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(u)&&(u=this._prevSearchPosition(u),d=l.findPreviousMatch(this._state.searchString,u,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1)),d)return n||o.containsRange(d.range)?void this._setCurrentFindMatch(d.range):this._moveToPrevMatch(d.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,r=e.column,i=this._editor.getModel();return t||r===i.getLineMaxColumn(n)?(n===i.getLineCount()?n=1:n++,r=1):r++,new c["a"](n,r)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<F){var t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}var n=this._getNextMatch(e,!1,!0);n&&this._setCurrentFindMatch(n.range)},e.prototype._getNextMatch=function(t,n,r,i){if(void 0===i&&(i=!1),this._cannotFind())return null;var o=this._decorations.getFindScope(),a=e._getSearchRange(this._editor.getModel(),o);a.getEndPosition().isBefore(t)&&(t=a.getStartPosition()),t.isBefore(a.getStartPosition())&&(t=a.getStartPosition());var s=t.lineNumber,l=t.column,u=this._editor.getModel(),d=new c["a"](s,l),h=u.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n);return r&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=u.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n)),h?i||a.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),n,r,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?D(this._state.replaceString):O.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){var r=e.buildReplaceString(n.matches,this._state.preserveCase),i=new u["a"](t,r);this._executeEditorCommand("replace",i),this._decorations.setStartPosition(new c["a"](t.startLineNumber,t.startColumn+r.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}},e.prototype._findMatches=function(t,n,r){var i=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,i,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n,r)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=F?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new f["a"](this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null),t=e.parseSearchRequest();if(t){var n=t.regex;if(!n.multiline){var r="mu";n.ignoreCase&&(r+="i"),n.global&&(r+="g"),n=new RegExp(n.source,r)}var i,o=this._editor.getModel(),a=o.getValue(1),s=o.getFullModelRange(),l=this._getReplacePattern(),c=this._state.preserveCase;i=l.hasReplacementPatterns||c?a.replace(n,(function(){return l.buildReplaceString(arguments,c)})):a.replace(n,l.buildReplaceString(null,c));var d=new u["b"](s,i,this._editor.getSelection());this._executeEditorCommand("replaceAll",d)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),r=[],i=0,o=n.length;i<o;i++)r[i]=t.buildReplaceString(n[i].matches,this._state.preserveCase);var a=new b(this._editor.getSelection(),n.map((function(e){return e.range})),r);this._executeEditorCommand("replaceAll",a)},e.prototype.selectAllMatches=function(){if(this._hasMatches()){for(var e=this._decorations.getFindScope(),t=this._findMatches(e,!1,1073741824),n=t.map((function(e){return new h["a"](e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn)})),r=this._editor.getSelection(),i=0,o=n.length;i<o;i++){var a=n[i];if(a.equalsRange(r)){n=[r].concat(n.slice(0,i)).concat(n.slice(i+1));break}}this._editor.setSelections(n)}},e.prototype._executeEditorCommand=function(e,t){try{this._ignoreModelContentChanged=!0,this._editor.pushUndoStop(),this._editor.executeCommand(e,t),this._editor.pushUndoStop()}finally{this._ignoreModelContentChanged=!1}},e}(),z=n("EffR"),W=(n("iJk1"),n("G300")),H=n("zrhQ"),U=n("MI8n"),K=n("qj0h"),G=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),q={inputActiveOptionBorder:H["a"].fromHex("#007ACC00"),inputActiveOptionBackground:H["a"].fromHex("#0E639C50")},Y=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new U["a"]),n.onChange=n._onChange.event,n._onKeyDown=n._register(new U["a"]),n.onKeyDown=n._onKeyDown.event,n._opts=K["c"](t),K["g"](n._opts,q,!1),n._checked=n._opts.isChecked,n.domNode=document.createElement("div"),n.domNode.title=n._opts.title,n.domNode.className="monaco-custom-checkbox codicon "+(n._opts.actionClassName||"")+" "+(n._checked?"checked":"unchecked"),n.domNode.tabIndex=0,n.domNode.setAttribute("role","checkbox"),n.domNode.setAttribute("aria-checked",String(n._checked)),n.domNode.setAttribute("aria-label",n._opts.title),n.applyStyles(),n.onclick(n.domNode,(function(e){n.checked=!n._checked,n._onChange.fire(!1),e.preventDefault()})),n.ignoreGesture(n.domNode),n.onkeydown(n.domNode,(function(e){if(10===e.keyCode||3===e.keyCode)return n.checked=!n._checked,n._onChange.fire(!0),void e.preventDefault();n._onKeyDown.fire(e)})),n}return G(t,e),Object.defineProperty(t.prototype,"enabled",{get:function(){return"true"!==this.domNode.getAttribute("aria-disabled")},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.domNode.focus()},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked=e,this.domNode.setAttribute("aria-checked",String(this._checked)),this._checked?this.domNode.classList.add("checked"):this.domNode.classList.remove("checked"),this.applyStyles()},enumerable:!0,configurable:!0}),t.prototype.width=function(){return 22},t.prototype.style=function(e){e.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=e.inputActiveOptionBorder),e.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=e.inputActiveOptionBackground),this.applyStyles()},t.prototype.applyStyles=function(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"transparent",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"transparent")},t.prototype.enable=function(){this.domNode.tabIndex=0,this.domNode.setAttribute("aria-disabled",String(!1))},t.prototype.disable=function(){z["R"](this.domNode),this.domNode.setAttribute("aria-disabled",String(!0))},t}(W["a"]),X=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Z=r["a"]("caseDescription","Match Case"),Q=r["a"]("wordsDescription","Match Whole Word"),$=r["a"]("regexDescription","Use Regular Expression"),J=function(e){function t(t){return e.call(this,{actionClassName:"codicon-case-sensitive",title:Z+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return X(t,e),t}(Y),ee=function(e){function t(t){return e.call(this,{actionClassName:"codicon-whole-word",title:Q+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return X(t,e),t}(Y),te=function(e){function t(t){return e.call(this,{actionClassName:"codicon-regex",title:$+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return X(t,e),t}(Y),ne=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),re=function(e){function t(t,n,r,o){var a=e.call(this)||this;a._hideSoon=a._register(new i["d"]((function(){return a._hide()}),2e3)),a._isVisible=!1,a._editor=t,a._state=n,a._keybindingService=r,a._domNode=document.createElement("div"),a._domNode.className="findOptionsWidget",a._domNode.style.display="none",a._domNode.style.top="10px",a._domNode.setAttribute("role","presentation"),a._domNode.setAttribute("aria-hidden","true");var s=o.getTheme().getColor(m["X"]),l=o.getTheme().getColor(m["W"]);return a.caseSensitive=a._register(new J({appendTitle:a._keybindingLabelFor(j.ToggleCaseSensitiveCommand),isChecked:a._state.matchCase,inputActiveOptionBorder:s,inputActiveOptionBackground:l})),a._domNode.appendChild(a.caseSensitive.domNode),a._register(a.caseSensitive.onChange((function(){a._state.change({matchCase:a.caseSensitive.checked},!1)}))),a.wholeWords=a._register(new ee({appendTitle:a._keybindingLabelFor(j.ToggleWholeWordCommand),isChecked:a._state.wholeWord,inputActiveOptionBorder:s,inputActiveOptionBackground:l})),a._domNode.appendChild(a.wholeWords.domNode),a._register(a.wholeWords.onChange((function(){a._state.change({wholeWord:a.wholeWords.checked},!1)}))),a.regex=a._register(new te({appendTitle:a._keybindingLabelFor(j.ToggleRegexCommand),isChecked:a._state.isRegex,inputActiveOptionBorder:s,inputActiveOptionBackground:l})),a._domNode.appendChild(a.regex.domNode),a._register(a.regex.onChange((function(){a._state.change({isRegex:a.regex.checked},!1)}))),a._editor.addOverlayWidget(a),a._register(a._state.onFindReplaceStateChange((function(e){var t=!1;e.isRegex&&(a.regex.checked=a._state.isRegex,t=!0),e.wholeWord&&(a.wholeWords.checked=a._state.wholeWord,t=!0),e.matchCase&&(a.caseSensitive.checked=a._state.matchCase,t=!0),!a._state.isRevealed&&t&&a._revealTemporarily()}))),a._register(z["j"](a._domNode,(function(e){return a._onMouseOut()}))),a._register(z["i"](a._domNode,"mouseover",(function(e){return a._onMouseOver()}))),a._applyTheme(o.getTheme()),a._register(o.onThemeChange(a._applyTheme.bind(a))),a}return ne(t,e),t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return{preference:0}},t.prototype.highlightFindOptions=function(){this._revealTemporarily()},t.prototype._revealTemporarily=function(){this._show(),this._hideSoon.schedule()},t.prototype._onMouseOut=function(){this._hideSoon.schedule()},t.prototype._onMouseOver=function(){this._hideSoon.cancel()},t.prototype._show=function(){this._isVisible||(this._isVisible=!0,this._domNode.style.display="block")},t.prototype._hide=function(){this._isVisible&&(this._isVisible=!1,this._domNode.style.display="none")},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m["X"]),inputActiveOptionBackground:e.getColor(m["W"])};this.caseSensitive.style(t),this.wholeWords.style(t),this.regex.style(t)},t.ID="editor.contrib.findOptionsWidget",t}(W["a"]);Object(v["e"])((function(e,t){var n=e.getColor(m["P"]);n&&t.addRule(".monaco-editor .findOptionsWidget { background-color: "+n+"; }");var r=e.getColor(m["R"]);r&&t.addRule(".monaco-editor .findOptionsWidget { color: "+r+"; }");var i=e.getColor(m["fc"]);i&&t.addRule(".monaco-editor .findOptionsWidget { box-shadow: 0 2px 8px "+i+"; }");var o=e.getColor(m["e"]);o&&t.addRule(".monaco-editor .findOptionsWidget { border: 2px solid "+o+"; }")}));var ie=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function oe(e,t){return 1===e||2!==e&&t}var ae=function(e){function t(){var t=e.call(this)||this;return t._onFindReplaceStateChange=t._register(new U["a"]),t.onFindReplaceStateChange=t._onFindReplaceStateChange.event,t._searchString="",t._replaceString="",t._isRevealed=!1,t._isReplaceRevealed=!1,t._isRegex=!1,t._isRegexOverride=0,t._wholeWord=!1,t._wholeWordOverride=0,t._matchCase=!1,t._matchCaseOverride=0,t._preserveCase=!1,t._preserveCaseOverride=0,t._searchScope=null,t._matchesPosition=0,t._matchesCount=0,t._currentMatch=null,t}return ie(t,e),Object.defineProperty(t.prototype,"searchString",{get:function(){return this._searchString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"replaceString",{get:function(){return this._replaceString},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRevealed",{get:function(){return this._isRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isReplaceRevealed",{get:function(){return this._isReplaceRevealed},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRegex",{get:function(){return oe(this._isRegexOverride,this._isRegex)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wholeWord",{get:function(){return oe(this._wholeWordOverride,this._wholeWord)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchCase",{get:function(){return oe(this._matchCaseOverride,this._matchCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveCase",{get:function(){return oe(this._preserveCaseOverride,this._preserveCase)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualIsRegex",{get:function(){return this._isRegex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualWholeWord",{get:function(){return this._wholeWord},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualMatchCase",{get:function(){return this._matchCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"actualPreserveCase",{get:function(){return this._preserveCase},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"searchScope",{get:function(){return this._searchScope},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesPosition",{get:function(){return this._matchesPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matchesCount",{get:function(){return this._matchesCount},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentMatch",{get:function(){return this._currentMatch},enumerable:!0,configurable:!0}),t.prototype.changeMatchInfo=function(e,t,n){var r={moveCursor:!1,updateHistory:!1,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},i=!1;0===t&&(e=0),e>t&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,r.matchesPosition=!0,i=!0),this._matchesCount!==t&&(this._matchesCount=t,r.matchesCount=!0,i=!0),"undefined"!==typeof n&&(d["a"].equalsRange(this._currentMatch,n)||(this._currentMatch=n,r.currentMatch=!0,i=!0)),i&&this._onFindReplaceStateChange.fire(r)},t.prototype.change=function(e,t,n){void 0===n&&(n=!0);var r={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},i=!1,o=this.isRegex,a=this.wholeWord,s=this.matchCase,l=this.preserveCase;"undefined"!==typeof e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,r.searchString=!0,i=!0),"undefined"!==typeof e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,r.replaceString=!0,i=!0),"undefined"!==typeof e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,r.isRevealed=!0,i=!0),"undefined"!==typeof e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,r.isReplaceRevealed=!0,i=!0),"undefined"!==typeof e.isRegex&&(this._isRegex=e.isRegex),"undefined"!==typeof e.wholeWord&&(this._wholeWord=e.wholeWord),"undefined"!==typeof e.matchCase&&(this._matchCase=e.matchCase),"undefined"!==typeof e.preserveCase&&(this._preserveCase=e.preserveCase),"undefined"!==typeof e.searchScope&&(d["a"].equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,r.searchScope=!0,i=!0)),this._isRegexOverride="undefined"!==typeof e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride="undefined"!==typeof e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride="undefined"!==typeof e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride="undefined"!==typeof e.preserveCaseOverride?e.preserveCaseOverride:0,o!==this.isRegex&&(i=!0,r.isRegex=!0),a!==this.wholeWord&&(i=!0,r.wholeWord=!0),s!==this.matchCase&&(i=!0,r.matchCase=!0),l!==this.preserveCase&&(i=!0,r.preserveCase=!0),i&&this._onFindReplaceStateChange.fire(r)},t}(o["a"]),se=(n("AbCa"),n("OBOq")),le=n("cMOf"),ue=n("/cxE"),ce=n("MNsG"),de=(n("yqFB"),n("i/Rh"),n("D3Dy")),he=n("Md8J"),fe=n("WqXY"),pe=n("JYp7"),ge=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=10),this._initialize(e),this._limit=t,this._onChange()}return e.prototype.add=function(e){this._history.delete(e),this._history.add(e),this._onChange()},e.prototype.next=function(){return this._navigator.next()},e.prototype.previous=function(){return this._navigator.previous()},e.prototype.current=function(){return this._navigator.current()},e.prototype.parent=function(){return null},e.prototype.first=function(){return this._navigator.first()},e.prototype.last=function(){return this._navigator.last()},e.prototype.has=function(e){return this._history.has(e)},e.prototype._onChange=function(){this._reduceToLimit();var e=this._elements;this._navigator=new pe["a"](e,0,e.length,e.length)},e.prototype._reduceToLimit=function(){var e=this._elements;e.length>this._limit&&this._initialize(e.slice(e.length-this._limit))},e.prototype._initialize=function(e){this._history=new Set;for(var t=0,n=e;t<n.length;t++){var r=n[t];this._history.add(r)}},Object.defineProperty(e.prototype,"_elements",{get:function(){var e=[];return this._history.forEach((function(t){return e.push(t)})),e},enumerable:!0,configurable:!0}),e}(),me=n("GJhM"),ve=n("4y0V"),ye=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),be=z["a"],_e={inputBackground:H["a"].fromHex("#3C3C3C"),inputForeground:H["a"].fromHex("#CCCCCC"),inputValidationInfoBorder:H["a"].fromHex("#55AAFF"),inputValidationInfoBackground:H["a"].fromHex("#063B49"),inputValidationWarningBorder:H["a"].fromHex("#B89500"),inputValidationWarningBackground:H["a"].fromHex("#352A05"),inputValidationErrorBorder:H["a"].fromHex("#BE1100"),inputValidationErrorBackground:H["a"].fromHex("#5A1D1D")},we=function(e){function t(t,n,r){var i=e.call(this)||this;i.state="idle",i.maxHeight=Number.POSITIVE_INFINITY,i._onDidChange=i._register(new U["a"]),i.onDidChange=i._onDidChange.event,i._onDidHeightChange=i._register(new U["a"]),i.onDidHeightChange=i._onDidHeightChange.event,i.contextViewProvider=n,i.options=r||Object.create(null),Object(K["g"])(i.options,_e,!1),i.message=null,i.placeholder=i.options.placeholder||"",i.ariaLabel=i.options.ariaLabel||"",i.inputBackground=i.options.inputBackground,i.inputForeground=i.options.inputForeground,i.inputBorder=i.options.inputBorder,i.inputValidationInfoBorder=i.options.inputValidationInfoBorder,i.inputValidationInfoBackground=i.options.inputValidationInfoBackground,i.inputValidationInfoForeground=i.options.inputValidationInfoForeground,i.inputValidationWarningBorder=i.options.inputValidationWarningBorder,i.inputValidationWarningBackground=i.options.inputValidationWarningBackground,i.inputValidationWarningForeground=i.options.inputValidationWarningForeground,i.inputValidationErrorBorder=i.options.inputValidationErrorBorder,i.inputValidationErrorBackground=i.options.inputValidationErrorBackground,i.inputValidationErrorForeground=i.options.inputValidationErrorForeground,i.options.validationOptions&&(i.validation=i.options.validationOptions.validation),i.element=z["p"](t,be(".monaco-inputbox.idle"));var o=i.options.flexibleHeight?"textarea":"input",a=z["p"](i.element,be(".wrapper"));if(i.input=z["p"](a,be(o+".input.empty")),i.input.setAttribute("autocorrect","off"),i.input.setAttribute("autocapitalize","off"),i.input.setAttribute("spellcheck","false"),i.onfocus(i.input,(function(){return z["e"](i.element,"synthetic-focus")})),i.onblur(i.input,(function(){return z["O"](i.element,"synthetic-focus")})),i.options.flexibleHeight){i.maxHeight="number"===typeof i.options.flexibleMaxHeight?i.options.flexibleMaxHeight:Number.POSITIVE_INFINITY,i.mirror=z["p"](a,be("div.mirror")),i.mirror.innerHTML=" ",i.scrollableElement=new me["b"](i.element,{vertical:1}),i.options.flexibleWidth&&(i.input.setAttribute("wrap","off"),i.mirror.style.whiteSpace="pre",i.mirror.style.wordWrap="initial"),z["p"](t,i.scrollableElement.getDomNode()),i._register(i.scrollableElement),i._register(i.scrollableElement.onScroll((function(e){return i.input.scrollTop=e.scrollTop})));var s=U["b"].filter(Object(ve["a"])(document,"selectionchange"),(function(){var e=document.getSelection();return(null===e||void 0===e?void 0:e.anchorNode)===a}));i._register(s(i.updateScrollDimensions,i)),i._register(i.onDidHeightChange(i.updateScrollDimensions,i))}else i.input.type=i.options.type||"text",i.input.setAttribute("wrap","off");return i.ariaLabel&&i.input.setAttribute("aria-label",i.ariaLabel),i.placeholder&&i.setPlaceHolder(i.placeholder),i.oninput(i.input,(function(){return i.onValueChange()})),i.onblur(i.input,(function(){return i.onBlur()})),i.onfocus(i.input,(function(){return i.onFocus()})),i.placeholder&&de["i"]&&i.onclick(i.input,(function(e){z["b"].stop(e,!0),i.input.focus()})),i.ignoreGesture(i.input),setTimeout((function(){return i.updateMirror()}),0),i.options.actions&&(i.actionbar=i._register(new fe["a"](i.element)),i.actionbar.push(i.options.actions,{icon:!0,label:!1})),i.applyStyles(),i}return ye(t,e),t.prototype.onBlur=function(){this._hideMessage()},t.prototype.onFocus=function(){this._showMessage()},t.prototype.setPlaceHolder=function(e){this.placeholder=e,this.input.setAttribute("placeholder",e),this.input.title=e},t.prototype.setAriaLabel=function(e){this.ariaLabel=e,e?this.input.setAttribute("aria-label",this.ariaLabel):this.input.removeAttribute("aria-label")},Object.defineProperty(t.prototype,"inputElement",{get:function(){return this.input},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.input.value},set:function(e){this.input.value!==e&&(this.input.value=e,this.onValueChange())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return"number"===typeof this.cachedHeight?this.cachedHeight:z["F"](this.element)},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.hasFocus=function(){return document.activeElement===this.input},t.prototype.select=function(e){void 0===e&&(e=null),this.input.select(),e&&this.input.setSelectionRange(e.start,e.end)},t.prototype.enable=function(){this.input.removeAttribute("disabled")},t.prototype.disable=function(){this.blur(),this.input.disabled=!0,this._hideMessage()},Object.defineProperty(t.prototype,"width",{get:function(){return z["G"](this.input)},set:function(e){if(this.options.flexibleHeight&&this.options.flexibleWidth){var t=0;if(this.mirror){var n=parseFloat(this.mirror.style.paddingLeft||"")||0,r=parseFloat(this.mirror.style.paddingRight||"")||0;t=n+r}this.input.style.width=e-t+"px"}else this.input.style.width=e+"px";this.mirror&&(this.mirror.style.width=e+"px")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paddingRight",{set:function(e){this.options.flexibleHeight&&this.options.flexibleWidth?this.input.style.width="calc(100% - "+e+"px)":this.input.style.paddingRight=e+"px",this.mirror&&(this.mirror.style.paddingRight=e+"px")},enumerable:!0,configurable:!0}),t.prototype.updateScrollDimensions=function(){if("number"===typeof this.cachedContentHeight&&"number"===typeof this.cachedHeight&&this.scrollableElement){var e=this.cachedContentHeight,t=this.cachedHeight,n=this.input.scrollTop;this.scrollableElement.setScrollDimensions({scrollHeight:e,height:t}),this.scrollableElement.setScrollPosition({scrollTop:n})}},t.prototype.showMessage=function(e,t){this.message=e,z["O"](this.element,"idle"),z["O"](this.element,"info"),z["O"](this.element,"warning"),z["O"](this.element,"error"),z["e"](this.element,this.classForType(e.type));var n,i=this.stylesForType(this.message.type);this.element.style.border=i.border?"1px solid "+i.border:"",n=3===e.type?r["a"]("alertErrorMessage","Error: {0}",e.content):2===e.type?r["a"]("alertWarningMessage","Warning: {0}",e.content):r["a"]("alertInfoMessage","Info: {0}",e.content),se["a"](n),(this.hasFocus()||t)&&this._showMessage()},t.prototype.hideMessage=function(){this.message=null,z["O"](this.element,"info"),z["O"](this.element,"warning"),z["O"](this.element,"error"),z["e"](this.element,"idle"),this._hideMessage(),this.applyStyles()},t.prototype.validate=function(){var e=null;return this.validation&&(e=this.validation(this.value),e?(this.inputElement.setAttribute("aria-invalid","true"),this.showMessage(e)):this.inputElement.hasAttribute("aria-invalid")&&(this.inputElement.removeAttribute("aria-invalid"),this.hideMessage())),!e},t.prototype.stylesForType=function(e){switch(e){case 1:return{border:this.inputValidationInfoBorder,background:this.inputValidationInfoBackground,foreground:this.inputValidationInfoForeground};case 2:return{border:this.inputValidationWarningBorder,background:this.inputValidationWarningBackground,foreground:this.inputValidationWarningForeground};default:return{border:this.inputValidationErrorBorder,background:this.inputValidationErrorBackground,foreground:this.inputValidationErrorForeground}}},t.prototype.classForType=function(e){switch(e){case 1:return"info";case 2:return"warning";default:return"error"}},t.prototype._showMessage=function(){var e=this;if(this.contextViewProvider&&this.message){var t,n=function(){return t.style.width=z["G"](e.element)+"px"};this.contextViewProvider.showContextView({getAnchor:function(){return e.element},anchorAlignment:1,render:function(r){if(!e.message)return null;t=z["p"](r,be(".monaco-inputbox-container")),n();var i={inline:!0,className:"monaco-inputbox-message"},o=e.message.formatContent?Object(he["b"])(e.message.content,i):Object(he["c"])(e.message.content,i);z["e"](o,e.classForType(e.message.type));var a=e.stylesForType(e.message.type);return o.style.backgroundColor=a.background?a.background.toString():"",o.style.color=a.foreground?a.foreground.toString():"",o.style.border=a.border?"1px solid "+a.border:"",z["p"](t,o),null},onHide:function(){e.state="closed"},layout:n}),this.state="open"}},t.prototype._hideMessage=function(){this.contextViewProvider&&("open"===this.state&&this.contextViewProvider.hideContextView(),this.state="idle")},t.prototype.onValueChange=function(){this._onDidChange.fire(this.value),this.validate(),this.updateMirror(),z["X"](this.input,"empty",!this.value),"open"===this.state&&this.contextViewProvider&&this.contextViewProvider.layout()},t.prototype.updateMirror=function(){if(this.mirror){var e=this.value,t=e.charCodeAt(e.length-1),n=10===t?" ":"",r=e+n;r?this.mirror.textContent=e+n:this.mirror.innerHTML=" ",this.layout()}},t.prototype.style=function(e){this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){var e=this.inputBackground?this.inputBackground.toString():"",t=this.inputForeground?this.inputForeground.toString():"",n=this.inputBorder?this.inputBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.input.style.backgroundColor=e,this.input.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n},t.prototype.layout=function(){if(this.mirror){var e=this.cachedContentHeight;this.cachedContentHeight=z["F"](this.mirror),e!==this.cachedContentHeight&&(this.cachedHeight=Math.min(this.cachedContentHeight,this.maxHeight),this.input.style.height=this.cachedHeight+"px",this._onDidHeightChange.fire(this.cachedContentHeight))}},t.prototype.insertAtCursor=function(e){var t=this.inputElement,n=t.selectionStart,r=t.selectionEnd,i=t.value;null!==n&&null!==r&&(this.value=i.substr(0,n)+e+i.substr(r),t.setSelectionRange(n+1,n+1),this.layout())},t.prototype.dispose=function(){this._hideMessage(),this.message=null,this.actionbar&&this.actionbar.dispose(),e.prototype.dispose.call(this)},t}(W["a"]),xe=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.history=new ge(r.history,100),i}return ye(t,e),t.prototype.addToHistory=function(){this.value&&this.value!==this.getCurrentValue()&&this.history.add(this.value)},t.prototype.showNextValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getNextValue();e&&(e=e===this.value?this.getNextValue():e),e&&(this.value=e,se["c"](this.value))},t.prototype.showPreviousValue=function(){this.history.has(this.value)||this.addToHistory();var e=this.getPreviousValue();e&&(e=e===this.value?this.getPreviousValue():e),e&&(this.value=e,se["c"](this.value))},t.prototype.getCurrentValue=function(){var e=this.history.current();return e||(e=this.history.last(),this.history.next()),e},t.prototype.getPreviousValue=function(){return this.history.previous()||this.history.first()},t.prototype.getNextValue=function(){return this.history.next()||this.history.last()},t}(we),Ce=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Se=r["a"]("defaultLabel","input"),Oe=function(e){function t(t,n,r,i){var o=e.call(this)||this;o._showOptionButtons=r,o.fixFocusOnOptionClickEnabled=!0,o._onDidOptionChange=o._register(new U["a"]),o.onDidOptionChange=o._onDidOptionChange.event,o._onKeyDown=o._register(new U["a"]),o.onKeyDown=o._onKeyDown.event,o._onMouseDown=o._register(new U["a"]),o.onMouseDown=o._onMouseDown.event,o._onInput=o._register(new U["a"]),o._onKeyUp=o._register(new U["a"]),o._onCaseSensitiveKeyDown=o._register(new U["a"]),o.onCaseSensitiveKeyDown=o._onCaseSensitiveKeyDown.event,o._onRegexKeyDown=o._register(new U["a"]),o.onRegexKeyDown=o._onRegexKeyDown.event,o._lastHighlightFindOptions=0,o.contextViewProvider=n,o.placeholder=i.placeholder||"",o.validation=i.validation,o.label=i.label||Se,o.inputActiveOptionBorder=i.inputActiveOptionBorder,o.inputActiveOptionBackground=i.inputActiveOptionBackground,o.inputBackground=i.inputBackground,o.inputForeground=i.inputForeground,o.inputBorder=i.inputBorder,o.inputValidationInfoBorder=i.inputValidationInfoBorder,o.inputValidationInfoBackground=i.inputValidationInfoBackground,o.inputValidationInfoForeground=i.inputValidationInfoForeground,o.inputValidationWarningBorder=i.inputValidationWarningBorder,o.inputValidationWarningBackground=i.inputValidationWarningBackground,o.inputValidationWarningForeground=i.inputValidationWarningForeground,o.inputValidationErrorBorder=i.inputValidationErrorBorder,o.inputValidationErrorBackground=i.inputValidationErrorBackground,o.inputValidationErrorForeground=i.inputValidationErrorForeground;var a=i.appendCaseSensitiveLabel||"",s=i.appendWholeWordsLabel||"",l=i.appendRegexLabel||"",u=i.history||[],c=!!i.flexibleHeight,d=!!i.flexibleWidth,h=i.flexibleMaxHeight;o.domNode=document.createElement("div"),z["e"](o.domNode,"monaco-findInput"),o.inputBox=o._register(new xe(o.domNode,o.contextViewProvider,{placeholder:o.placeholder||"",ariaLabel:o.label||"",validationOptions:{validation:o.validation},inputBackground:o.inputBackground,inputForeground:o.inputForeground,inputBorder:o.inputBorder,inputValidationInfoBackground:o.inputValidationInfoBackground,inputValidationInfoForeground:o.inputValidationInfoForeground,inputValidationInfoBorder:o.inputValidationInfoBorder,inputValidationWarningBackground:o.inputValidationWarningBackground,inputValidationWarningForeground:o.inputValidationWarningForeground,inputValidationWarningBorder:o.inputValidationWarningBorder,inputValidationErrorBackground:o.inputValidationErrorBackground,inputValidationErrorForeground:o.inputValidationErrorForeground,inputValidationErrorBorder:o.inputValidationErrorBorder,history:u,flexibleHeight:c,flexibleWidth:d,flexibleMaxHeight:h})),o.regex=o._register(new te({appendTitle:l,isChecked:!1,inputActiveOptionBorder:o.inputActiveOptionBorder,inputActiveOptionBackground:o.inputActiveOptionBackground})),o._register(o.regex.onChange((function(e){o._onDidOptionChange.fire(e),!e&&o.fixFocusOnOptionClickEnabled&&o.inputBox.focus(),o.validate()}))),o._register(o.regex.onKeyDown((function(e){o._onRegexKeyDown.fire(e)}))),o.wholeWords=o._register(new ee({appendTitle:s,isChecked:!1,inputActiveOptionBorder:o.inputActiveOptionBorder,inputActiveOptionBackground:o.inputActiveOptionBackground})),o._register(o.wholeWords.onChange((function(e){o._onDidOptionChange.fire(e),!e&&o.fixFocusOnOptionClickEnabled&&o.inputBox.focus(),o.validate()}))),o.caseSensitive=o._register(new J({appendTitle:a,isChecked:!1,inputActiveOptionBorder:o.inputActiveOptionBorder,inputActiveOptionBackground:o.inputActiveOptionBackground})),o._register(o.caseSensitive.onChange((function(e){o._onDidOptionChange.fire(e),!e&&o.fixFocusOnOptionClickEnabled&&o.inputBox.focus(),o.validate()}))),o._register(o.caseSensitive.onKeyDown((function(e){o._onCaseSensitiveKeyDown.fire(e)}))),o._showOptionButtons&&(o.inputBox.paddingRight=o.caseSensitive.width()+o.wholeWords.width()+o.regex.width());var f=[o.caseSensitive.domNode,o.wholeWords.domNode,o.regex.domNode];o.onkeydown(o.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=f.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%f.length:e.equals(15)&&(n=0===t?f.length-1:t-1),e.equals(9)?f[t].blur():n>=0&&f[n].focus(),z["b"].stop(e,!0)}}}));var p=document.createElement("div");return p.className="controls",p.style.display=o._showOptionButtons?"block":"none",p.appendChild(o.caseSensitive.domNode),p.appendChild(o.wholeWords.domNode),p.appendChild(o.regex.domNode),o.domNode.appendChild(p),t&&t.appendChild(o.domNode),o.onkeydown(o.inputBox.inputElement,(function(e){return o._onKeyDown.fire(e)})),o.onkeyup(o.inputBox.inputElement,(function(e){return o._onKeyUp.fire(e)})),o.oninput(o.inputBox.inputElement,(function(e){return o._onInput.fire()})),o.onmousedown(o.inputBox.inputElement,(function(e){return o._onMouseDown.fire(e)})),o}return Ce(t,e),t.prototype.enable=function(){z["O"](this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},t.prototype.disable=function(){z["e"](this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},t.prototype.setFocusInputOnOptionClick=function(e){this.fixFocusOnOptionClickEnabled=e},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.getValue=function(){return this.inputBox.value},t.prototype.setValue=function(e){this.inputBox.value!==e&&(this.inputBox.value=e)},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},t.prototype.setCaseSensitive=function(e){this.caseSensitive.checked=e},t.prototype.getWholeWords=function(){return this.wholeWords.checked},t.prototype.setWholeWords=function(e){this.wholeWords.checked=e},t.prototype.getRegex=function(){return this.regex.checked},t.prototype.setRegex=function(e){this.regex.checked=e,this.validate()},t.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},t.prototype.highlightFindOptions=function(){z["O"](this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,z["e"](this.domNode,"highlight-"+this._lastHighlightFindOptions)},t.prototype.validate=function(){this.inputBox.validate()},t.prototype.clearMessage=function(){this.inputBox.hideMessage()},t}(W["a"]),ke=n("nrhi"),Ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),De=r["a"]("defaultLabel","input"),Me=r["a"]("label.preserveCaseCheckbox","Preserve Case"),Ne=function(e){function t(t){return e.call(this,{actionClassName:"codicon-preserve-case",title:Me+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return Ee(t,e),t}(Y),Le=function(e){function t(t,n,r,i){var o=e.call(this)||this;o._showOptionButtons=r,o.fixFocusOnOptionClickEnabled=!0,o.cachedOptionsWidth=0,o._onDidOptionChange=o._register(new U["a"]),o.onDidOptionChange=o._onDidOptionChange.event,o._onKeyDown=o._register(new U["a"]),o.onKeyDown=o._onKeyDown.event,o._onMouseDown=o._register(new U["a"]),o._onInput=o._register(new U["a"]),o._onKeyUp=o._register(new U["a"]),o._onPreserveCaseKeyDown=o._register(new U["a"]),o.onPreserveCaseKeyDown=o._onPreserveCaseKeyDown.event,o.contextViewProvider=n,o.placeholder=i.placeholder||"",o.validation=i.validation,o.label=i.label||De,o.inputActiveOptionBorder=i.inputActiveOptionBorder,o.inputActiveOptionBackground=i.inputActiveOptionBackground,o.inputBackground=i.inputBackground,o.inputForeground=i.inputForeground,o.inputBorder=i.inputBorder,o.inputValidationInfoBorder=i.inputValidationInfoBorder,o.inputValidationInfoBackground=i.inputValidationInfoBackground,o.inputValidationInfoForeground=i.inputValidationInfoForeground,o.inputValidationWarningBorder=i.inputValidationWarningBorder,o.inputValidationWarningBackground=i.inputValidationWarningBackground,o.inputValidationWarningForeground=i.inputValidationWarningForeground,o.inputValidationErrorBorder=i.inputValidationErrorBorder,o.inputValidationErrorBackground=i.inputValidationErrorBackground,o.inputValidationErrorForeground=i.inputValidationErrorForeground;var a=i.history||[],s=!!i.flexibleHeight,l=!!i.flexibleWidth,u=i.flexibleMaxHeight;o.domNode=document.createElement("div"),z["e"](o.domNode,"monaco-findInput"),o.inputBox=o._register(new xe(o.domNode,o.contextViewProvider,{ariaLabel:o.label||"",placeholder:o.placeholder||"",validationOptions:{validation:o.validation},inputBackground:o.inputBackground,inputForeground:o.inputForeground,inputBorder:o.inputBorder,inputValidationInfoBackground:o.inputValidationInfoBackground,inputValidationInfoForeground:o.inputValidationInfoForeground,inputValidationInfoBorder:o.inputValidationInfoBorder,inputValidationWarningBackground:o.inputValidationWarningBackground,inputValidationWarningForeground:o.inputValidationWarningForeground,inputValidationWarningBorder:o.inputValidationWarningBorder,inputValidationErrorBackground:o.inputValidationErrorBackground,inputValidationErrorForeground:o.inputValidationErrorForeground,inputValidationErrorBorder:o.inputValidationErrorBorder,history:a,flexibleHeight:s,flexibleWidth:l,flexibleMaxHeight:u})),o.preserveCase=o._register(new Ne({appendTitle:"",isChecked:!1,inputActiveOptionBorder:o.inputActiveOptionBorder,inputActiveOptionBackground:o.inputActiveOptionBackground})),o._register(o.preserveCase.onChange((function(e){o._onDidOptionChange.fire(e),!e&&o.fixFocusOnOptionClickEnabled&&o.inputBox.focus(),o.validate()}))),o._register(o.preserveCase.onKeyDown((function(e){o._onPreserveCaseKeyDown.fire(e)}))),o._showOptionButtons?o.cachedOptionsWidth=o.preserveCase.width():o.cachedOptionsWidth=0;var c=[o.preserveCase.domNode];o.onkeydown(o.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=c.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%c.length:e.equals(15)&&(n=0===t?c.length-1:t-1),e.equals(9)?c[t].blur():n>=0&&c[n].focus(),z["b"].stop(e,!0)}}}));var d=document.createElement("div");return d.className="controls",d.style.display=o._showOptionButtons?"block":"none",d.appendChild(o.preserveCase.domNode),o.domNode.appendChild(d),t&&t.appendChild(o.domNode),o.onkeydown(o.inputBox.inputElement,(function(e){return o._onKeyDown.fire(e)})),o.onkeyup(o.inputBox.inputElement,(function(e){return o._onKeyUp.fire(e)})),o.oninput(o.inputBox.inputElement,(function(e){return o._onInput.fire()})),o.onmousedown(o.inputBox.inputElement,(function(e){return o._onMouseDown.fire(e)})),o}return Ee(t,e),t.prototype.enable=function(){z["O"](this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},t.prototype.disable=function(){z["e"](this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getPreserveCase=function(){return this.preserveCase.checked},t.prototype.setPreserveCase=function(e){this.preserveCase.checked=e},t.prototype.focusOnPreserve=function(){this.preserveCase.focus()},t.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(t.prototype,"width",{set:function(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t}(W["a"]),Ie=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Te=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Pe=function(e,t){return function(n,r){t(n,r,e)}},Ae="historyNavigationWidget",Re="historyNavigationEnabled";function je(e,t,n){new M["d"](n,t).bindTo(e)}function Fe(e,t){return e.createScoped(t.target)}function Be(e,t){return e.getContext(document.activeElement).getValue(t)}function Ve(e,t){var n=Fe(e,t);je(n,t,Ae);var r=new M["d"](Re,!0).bindTo(n);return{scopedContextKeyService:n,historyNavigationEnablement:r}}var ze=function(e){function t(t,n,r,i,o){void 0===o&&(o=!1);var a=e.call(this,t,n,o,r)||this;return a._register(Ve(i,{target:a.inputBox.element,historyNavigator:a.inputBox}).scopedContextKeyService),a}return Ie(t,e),t=Te([Pe(3,M["c"])],t),t}(Oe),We=function(e){function t(t,n,r,i,o){void 0===o&&(o=!1);var a=e.call(this,t,n,o,r)||this;return a._register(Ve(i,{target:a.inputBox.element,historyNavigator:a.inputBox}).scopedContextKeyService),a}return Ie(t,e),t=Te([Pe(3,M["c"])],t),t}(Le);ke["a"].registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:M["a"].and(M["a"].has(Ae),M["a"].equals(Re,!0)),primary:16,secondary:[528],handler:function(e,t){var n=Be(e.get(M["c"]),Ae);if(n){var r=n.historyNavigator;r.showPreviousValue()}}}),ke["a"].registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:M["a"].and(M["a"].has(Ae),M["a"].equals(Re,!0)),primary:18,secondary:[530],handler:function(e,t){var n=Be(e.get(M["c"]),Ae);if(n){var r=n.historyNavigator;r.showNextValue()}}});var He=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ue=r["a"]("label.find","Find"),Ke=r["a"]("placeholder.find","Find"),Ge=r["a"]("label.previousMatchButton","Previous match"),qe=r["a"]("label.nextMatchButton","Next match"),Ye=r["a"]("label.toggleSelectionFind","Find in selection"),Xe=r["a"]("label.closeButton","Close"),Ze=r["a"]("label.replace","Replace"),Qe=r["a"]("placeholder.replace","Replace"),$e=r["a"]("label.replaceButton","Replace"),Je=r["a"]("label.replaceAllButton","Replace All"),et=r["a"]("label.toggleReplaceButton","Toggle Replace mode"),tt=r["a"]("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",F),nt=r["a"]("label.matchesLocation","{0} of {1}"),rt=r["a"]("label.noResults","No Results"),it=419,ot=275,at=ot-54,st=69,lt=33,ut="ctrlEnterReplaceAll.windows.donotask",ct=ce["e"]?256:2048,dt=function(){function e(e){this.afterLineNumber=e,this.heightInPx=lt,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"}return e}();function ht(e,t,n){var r=!!t.match(/\n/);n&&r&&n.selectionStart>0&&e.stopPropagation()}function ft(e,t,n){var r=!!t.match(/\n/);n&&r&&n.selectionEnd<n.value.length&&e.stopPropagation()}var pt=function(e){function t(t,n,r,a,s,l,u,c,d){var h=e.call(this)||this;return h._cachedHeight=null,h._codeEditor=t,h._controller=n,h._state=r,h._contextViewProvider=a,h._keybindingService=s,h._contextKeyService=l,h._storageService=c,h._notificationService=d,h._ctrlEnterReplaceAllWarningPrompted=!!c.getBoolean(ut,0),h._isVisible=!1,h._isReplaceVisible=!1,h._ignoreChangeEvent=!1,h._updateHistoryDelayer=new i["a"](500),h._register(Object(o["h"])((function(){return h._updateHistoryDelayer.cancel()}))),h._register(h._state.onFindReplaceStateChange((function(e){return h._onStateChanged(e)}))),h._buildDomNode(),h._updateButtons(),h._tryUpdateWidgetWidth(),h._findInput.inputBox.layout(),h._register(h._codeEditor.onDidChangeConfiguration((function(e){if(e.hasChanged(68)&&(h._codeEditor.getOption(68)&&h._state.change({isReplaceRevealed:!1},!1),h._updateButtons()),e.hasChanged(107)&&h._tryUpdateWidgetWidth(),e.hasChanged(2)&&h.updateAccessibilitySupport(),e.hasChanged(28)){var t=h._codeEditor.getOption(28).addExtraSpaceOnTop;t&&!h._viewZone&&(h._viewZone=new dt(0),h._showViewZone()),!t&&h._viewZone&&h._removeViewZone()}}))),h.updateAccessibilitySupport(),h._register(h._codeEditor.onDidChangeCursorSelection((function(){h._isVisible&&h._updateToggleSelectionFindButton()}))),h._register(h._codeEditor.onDidFocusEditorWidget((function(){if(h._isVisible){var e=h._controller.getGlobalBufferTerm();e&&e!==h._state.searchString&&(h._state.change({searchString:e},!0),h._findInput.select())}}))),h._findInputFocused=L.bindTo(l),h._findFocusTracker=h._register(z["Y"](h._findInput.inputBox.inputElement)),h._register(h._findFocusTracker.onDidFocus((function(){h._findInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._findFocusTracker.onDidBlur((function(){h._findInputFocused.set(!1)}))),h._replaceInputFocused=I.bindTo(l),h._replaceFocusTracker=h._register(z["Y"](h._replaceInput.inputBox.inputElement)),h._register(h._replaceFocusTracker.onDidFocus((function(){h._replaceInputFocused.set(!0),h._updateSearchScope()}))),h._register(h._replaceFocusTracker.onDidBlur((function(){h._replaceInputFocused.set(!1)}))),h._codeEditor.addOverlayWidget(h),h._codeEditor.getOption(28).addExtraSpaceOnTop&&(h._viewZone=new dt(0)),h._applyTheme(u.getTheme()),h._register(u.onThemeChange(h._applyTheme.bind(h))),h._register(h._codeEditor.onDidChangeModel((function(){h._isVisible&&(h._viewZoneId=void 0)}))),h._register(h._codeEditor.onDidScrollChange((function(e){e.scrollTopChanged?h._layoutViewZone():setTimeout((function(){h._layoutViewZone()}),0)}))),h}return He(t,e),t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return this._isVisible?{preference:0}:null},t.prototype._onStateChanged=function(e){if(e.searchString){try{this._ignoreChangeEvent=!0,this._findInput.setValue(this._state.searchString)}finally{this._ignoreChangeEvent=!1}this._updateButtons()}if(e.replaceString&&(this._replaceInput.inputBox.value=this._state.replaceString),e.isRevealed&&(this._state.isRevealed?this._reveal():this._hide(!0)),e.isReplaceRevealed&&(this._state.isReplaceRevealed?this._codeEditor.getOption(68)||this._isReplaceVisible||(this._isReplaceVisible=!0,this._replaceInput.width=z["G"](this._findInput.domNode),this._updateButtons(),this._replaceInput.inputBox.layout()):this._isReplaceVisible&&(this._isReplaceVisible=!1,this._updateButtons())),(e.isRevealed||e.isReplaceRevealed)&&(this._state.isRevealed||this._state.isReplaceRevealed)&&this._tryUpdateHeight()&&this._showViewZone(),e.isRegex&&this._findInput.setRegex(this._state.isRegex),e.wholeWord&&this._findInput.setWholeWords(this._state.wholeWord),e.matchCase&&this._findInput.setCaseSensitive(this._state.matchCase),e.searchScope&&(this._state.searchScope?this._toggleSelectionFind.checked=!0:this._toggleSelectionFind.checked=!1,this._updateToggleSelectionFindButton()),e.searchString||e.matchesCount||e.matchesPosition){var t=this._state.searchString.length>0&&0===this._state.matchesCount;z["X"](this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},t.prototype._updateMatchesCount=function(){var e;if(this._matchesCount.style.minWidth=st+"px",this._state.matchesCount>=F?this._matchesCount.title=tt:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=F&&(t+="+");var n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=a["r"](nt,n,t)}else e=rt;this._matchesCount.appendChild(document.createTextNode(e)),Object(se["a"])(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString),!0),st=Math.max(st,this._matchesCount.clientWidth)},t.prototype._getAriaLabel=function(e,t,n){return e===rt?""===n?r["a"]("ariaSearchNoResultEmpty","{0} found",e):r["a"]("ariaSearchNoResult","{0} found for {1}",e,n):t?r["a"]("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",e,n,t.startLineNumber+":"+t.startColumn):r["a"]("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",e,n)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),z["X"](this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var n=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var n=!!t&&t.startLineNumber!==t.endLineNumber;this._toggleSelectionFind.checked=n;break;default:break}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout((function(){z["e"](e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")}),0),setTimeout((function(){e._findInput.validate()}),200),this._codeEditor.layoutOverlayWidget(this);var r=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&t){var i=this._codeEditor.getDomNode();if(i){var o=z["B"](i),a=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),s=o.left+(a?a.left:0),l=a?a.top:0;if(this._viewZone&&l<this._viewZone.heightInPx){t.endLineNumber>t.startLineNumber&&(r=!1);var u=z["E"](this._domNode).left;s>u&&(r=!1);var c=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition()),d=o.left+(c?c.left:0);d>u&&(r=!1)}}}this._showViewZone(r)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),z["O"](this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this,t=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(t){if(this._isVisible){var n=this._viewZone;void 0===this._viewZoneId&&n&&this._codeEditor.changeViewZones((function(t){n.heightInPx=e._getHeight(),e._viewZoneId=t.addZone(n),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+n.heightInPx)}))}}else this._removeViewZone()},t.prototype._showViewZone=function(e){var t=this;if(void 0===e&&(e=!0),this._isVisible){var n=this._codeEditor.getOption(28).addExtraSpaceOnTop;if(n){void 0===this._viewZone&&(this._viewZone=new dt(0));var r=this._viewZone;this._codeEditor.changeViewZones((function(n){if(void 0!==t._viewZoneId){var i=t._getHeight();if(i===r.heightInPx)return;var o=i-r.heightInPx;return r.heightInPx=i,n.layoutZone(t._viewZoneId),void(e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+o))}o=t._getHeight();r.heightInPx=o,t._viewZoneId=n.addZone(r),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+o)}))}}},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones((function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))}))},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m["X"]),inputActiveOptionBackground:e.getColor(m["W"]),inputBackground:e.getColor(m["Y"]),inputForeground:e.getColor(m["ab"]),inputBorder:e.getColor(m["Z"]),inputValidationInfoBackground:e.getColor(m["eb"]),inputValidationInfoForeground:e.getColor(m["gb"]),inputValidationInfoBorder:e.getColor(m["fb"]),inputValidationWarningBackground:e.getColor(m["hb"]),inputValidationWarningForeground:e.getColor(m["jb"]),inputValidationWarningBorder:e.getColor(m["ib"]),inputValidationErrorBackground:e.getColor(m["bb"]),inputValidationErrorForeground:e.getColor(m["db"]),inputValidationErrorBorder:e.getColor(m["cb"])};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible&&z["L"](this._domNode)){var e=this._codeEditor.getLayoutInfo(),t=e.contentWidth;if(t<=0)z["e"](this._domNode,"hiddenEditor");else{z["H"](this._domNode,"hiddenEditor")&&z["O"](this._domNode,"hiddenEditor");var n=e.width,r=e.minimapWidth,i=!1,o=!1,a=!1;if(this._resized){var s=z["G"](this._domNode);if(s>it)return this._domNode.style.maxWidth=n-28-r-15+"px",void(this._replaceInput.width=z["G"](this._findInput.domNode))}if(it+28+r>=n&&(o=!0),it+28+r-st>=n&&(a=!0),it+28+r-st>=n+50&&(i=!0),z["X"](this._domNode,"collapsed-find-widget",i),z["X"](this._domNode,"narrow-find-widget",a),z["X"](this._domNode,"reduced-find-widget",o),a||i||(this._domNode.style.maxWidth=n-28-r-15+"px"),this._resized){this._findInput.inputBox.layout();var l=this._findInput.inputBox.element.clientWidth;l>0&&(this._replaceInput.width=l)}else this._isReplaceVisible&&(this._replaceInput.width=z["G"](this._findInput.domNode))}}},t.prototype._getHeight=function(){var e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4,e},t.prototype._tryUpdateHeight=function(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(d["a"].equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3|ct)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?ht(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?ft(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3|ct)?(ce["h"]&&ce["f"]&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(r["a"]("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store(ut,!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?ht(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?ft(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0},t.prototype.getHorizontalSashTop=function(e){return 0},t.prototype.getHorizontalSashLeft=function(e){return 0},t.prototype.getHorizontalSashWidth=function(e){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildDomNode=function(){var e=this,t=!0,n=!0;this._findInput=this._register(new ze(null,this._contextViewProvider,{width:at,label:Ue,placeholder:Ke,appendCaseSensitiveLabel:this._keybindingLabelFor(j.ToggleCaseSensitiveCommand),appendWholeWordsLabel:this._keybindingLabelFor(j.ToggleWholeWordCommand),appendRegexLabel:this._keybindingLabelFor(j.ToggleRegexCommand),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(n){return{content:n.message}}},flexibleHeight:t,flexibleWidth:n,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((function(t){return e._onFindInputKeyDown(t)}))),this._register(this._findInput.inputBox.onDidChange((function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInput.focus(),t.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceInput.focusOnPreserve(),t.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((function(t){e._tryUpdateHeight()&&e._showViewZone()}))),ce["d"]&&this._register(this._findInput.onMouseDown((function(t){return e._onFindInputMouseDown(t)}))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new gt({label:Ge+this._keybindingLabelFor(j.PreviousMatchFindAction),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(j.PreviousMatchFindAction).run().then(void 0,ue["e"])}})),this._nextBtn=this._register(new gt({label:qe+this._keybindingLabelFor(j.NextMatchFindAction),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(j.NextMatchFindAction).run().then(void 0,ue["e"])}}));var r=document.createElement("div");r.className="find-part",r.appendChild(this._findInput.domNode);var i=document.createElement("div");i.className="find-actions",r.appendChild(i),i.appendChild(this._matchesCount),i.appendChild(this._prevBtn.domNode),i.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new Y({actionClassName:"codicon codicon-selection",title:Ye+this._keybindingLabelFor(j.ToggleSearchScopeCommand),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}))),i.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new gt({label:Xe+this._keybindingLabelFor(j.CloseFindWidgetCommand),className:"codicon codicon-close",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),i.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new We(null,void 0,{label:Ze,placeholder:Qe,history:[],flexibleHeight:t,flexibleWidth:n,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((function(t){return e._onReplaceInputKeyDown(t)}))),this._register(this._replaceInput.inputBox.onDidChange((function(){e._state.change({replaceString:e._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((function(t){e._isReplaceVisible&&e._tryUpdateHeight()&&e._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((function(){e._state.change({preserveCase:e._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((function(t){t.equals(2)&&(e._prevBtn.isEnabled()?e._prevBtn.focus():e._nextBtn.isEnabled()?e._nextBtn.focus():e._toggleSelectionFind.enabled?e._toggleSelectionFind.focus():e._closeBtn.isEnabled()&&e._closeBtn.focus(),t.preventDefault())}))),this._replaceBtn=this._register(new gt({label:$e+this._keybindingLabelFor(j.ReplaceOneAction),className:"codicon codicon-replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new gt({label:Je+this._keybindingLabelFor(j.ReplaceAllAction),className:"codicon codicon-replace-all",onTrigger:function(){e._controller.replaceAll()}}));var o=document.createElement("div");o.className="replace-part",o.appendChild(this._replaceInput.domNode);var a=document.createElement("div");a.className="replace-actions",o.appendChild(a),a.appendChild(this._replaceBtn.domNode),a.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new gt({label:et,className:"codicon toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInput.width=z["G"](e._findInput.domNode),e._replaceInput.inputBox.layout()),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width=it+"px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(r),this._domNode.appendChild(o),this._resizeSash=new le["a"](this._domNode,this,{orientation:0}),this._resized=!1;var s=it;this._register(this._resizeSash.onDidStart((function(){s=z["G"](e._domNode)}))),this._register(this._resizeSash.onDidChange((function(t){e._resized=!0;var n=s+t.startX-t.currentX;if(!(n<it)){var r=parseFloat(z["y"](e._domNode).maxWidth)||0;n>r||(e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=z["G"](e._findInput.domNode)),e._findInput.inputBox.layout(),e._tryUpdateHeight())}}))),this._register(this._resizeSash.onDidReset((function(){var t=z["G"](e._domNode);if(!(t<it)){var n=it;if(!e._resized||t===it){var r=e._codeEditor.getLayoutInfo();n=r.width-28-r.minimapWidth-15,e._resized=!0}e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=z["G"](e._findInput.domNode)),e._findInput.inputBox.layout()}})))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(W["a"]),gt=function(e){function t(t){var n=e.call(this)||this;return n._opts=t,n._domNode=document.createElement("div"),n._domNode.title=n._opts.label,n._domNode.tabIndex=0,n._domNode.className="button "+n._opts.className,n._domNode.setAttribute("role","button"),n._domNode.setAttribute("aria-label",n._opts.label),n.onclick(n._domNode,(function(e){n._opts.onTrigger(),e.preventDefault()})),n.onkeydown(n._domNode,(function(e){if(e.equals(10)||e.equals(3))return n._opts.onTrigger(),void e.preventDefault();n._opts.onKeyDown&&n._opts.onKeyDown(e)})),n}return He(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){z["X"](this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){z["X"](this._domNode,e,t)},t}(W["a"]);Object(v["e"])((function(e,t){var n=function(e,n){n&&t.addRule(".monaco-editor "+e+" { background-color: "+n+"; }")};n(".findMatch",e.getColor(m["t"])),n(".currentFindMatch",e.getColor(m["r"])),n(".findScope",e.getColor(m["v"]));var r=e.getColor(m["P"]);n(".find-widget",r);var i=e.getColor(m["fc"]);i&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+i+"; }");var o=e.getColor(m["u"]);o&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+o+"; box-sizing: border-box; }");var a=e.getColor(m["s"]);a&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+a+"; padding: 1px; box-sizing: border-box; }");var s=e.getColor(m["w"]);s&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+s+"; }");var l=e.getColor(m["e"]);l&&t.addRule(".monaco-editor .find-widget { border: 1px solid "+l+"; }");var u=e.getColor(m["R"]);u&&t.addRule(".monaco-editor .find-widget { color: "+u+"; }");var c=e.getColor(m["T"]);c&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+c+"; }");var d=e.getColor(m["S"]);if(d)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+d+"; width: 3px !important; margin-left: -4px;}");else{var h=e.getColor(m["Q"]);h&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+h+"; width: 3px !important; margin-left: -4px;}")}var f=e.getColor(m["U"]);f&&t.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+f+"; }")}));var mt=n("9XeP"),vt=n("Uzvx"),yt=n("Cg/j"),bt=n("bexQ"),_t=n("A+jI"),wt=n("sM1p"),xt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ct=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},St=function(e,t){return function(n,r){t(n,r,e)}},Ot=524288;function kt(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var n=e.getModel().getWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<Ot)return e.getModel().getValueInRange(t);return null}var Et=function(e){function t(t,n,r,o){var a=e.call(this)||this;return a._editor=t,a._findWidgetVisible=N.bindTo(n),a._contextKeyService=n,a._storageService=r,a._clipboardService=o,a._updateHistoryDelayer=new i["a"](500),a._state=a._register(new ae),a.loadQueryState(),a._register(a._state.onFindReplaceStateChange((function(e){return a._onStateChanged(e)}))),a._model=null,a._register(a._editor.onDidChangeModel((function(){var e=a._editor.getModel()&&a._state.isRevealed;a.disposeModel(),a._state.change({searchScope:null,matchCase:a._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:a._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:a._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:a._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&a._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})}))),a}return xt(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},t.prototype.isFindInputFocused=function(){return!!L.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=a["p"](e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t={isRevealed:!0};if(e.seedSearchStringFromSelection){var n=kt(this._editor);n&&(this._state.isRegex?t.searchString=a["p"](n):t.searchString=n)}if(!t.searchString&&e.seedSearchStringFromGlobalClipboard){n=this.getGlobalBufferTerm();n&&(t.searchString=n)}if(e.forceRevealReplace?t.isReplaceRevealed=!0:this._findWidgetVisible.get()||(t.isReplaceRevealed=!1),e.updateSearchScope){var r=this._editor.getSelection();r.isEmpty()||(t.searchScope=r)}this._state.change(t,!1),this._model||(this._model=new V(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return!!this._model&&(this._model.moveToNextMatch(),!0)},t.prototype.moveToPrevMatch=function(){return!!this._model&&(this._model.moveToPrevMatch(),!0)},t.prototype.replace=function(){return!!this._model&&(this._model.replace(),!0)},t.prototype.replaceAll=function(){return!!this._model&&(this._model.replaceAll(),!0)},t.prototype.selectAllMatches=function(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)},t.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=Ct([St(1,M["c"]),St(2,_t["a"]),St(3,mt["a"])],t),t}(o["a"]),Dt=function(e){function t(t,n,r,i,o,a,s,l){var u=e.call(this,t,r,s,l)||this;return u._contextViewService=n,u._keybindingService=i,u._themeService=o,u._notificationService=a,u._widget=null,u._findOptionsWidget=null,u}return xt(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget();var n=this._editor.getSelection(),r=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":r=!0;break;case"never":r=!1;break;case"multiline":var i=!!n&&n.startLineNumber!==n.endLineNumber;r=i;break;default:break}t.updateSearchScope=r,e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new pt(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new re(this._editor,this._state,this._keybindingService,this._themeService))},t=Ct([St(1,vt["b"]),St(2,M["c"]),St(3,bt["a"]),St(4,v["c"]),St(5,wt["a"]),St(6,_t["a"]),St(7,Object(yt["d"])(mt["a"]))],t),t}(Et),Mt=function(e){function t(){return e.call(this,{id:j.StartFindAction,label:r["a"]("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:17,group:"3_find",title:r["a"]({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return xt(t,e),t.prototype.run=function(e,t){var n=Et.get(t);n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(s["b"]),Nt=function(e){function t(){return e.call(this,{id:j.StartFindWithSelection,label:r["a"]("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return xt(t,e),t.prototype.run=function(e,t){var n=Et.get(t);n&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),n.setGlobalBufferTerm(n.getState().searchString))},t}(s["b"]),Lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xt(t,e),t.prototype.run=function(e,t){var n=Et.get(t);n&&!this._run(n)&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))},t}(s["b"]),It=function(e){function t(){return e.call(this,{id:j.NextMatchFindAction,label:r["a"]("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:l["a"].focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Lt),Tt=function(e){function t(){return e.call(this,{id:j.NextMatchFindAction,label:r["a"]("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:M["a"].and(l["a"].focus,L),primary:3,weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Lt),Pt=function(e){function t(){return e.call(this,{id:j.PreviousMatchFindAction,label:r["a"]("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:l["a"].focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Lt),At=function(e){function t(){return e.call(this,{id:j.PreviousMatchFindAction,label:r["a"]("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:M["a"].and(l["a"].focus,L),primary:1027,weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Lt),Rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xt(t,e),t.prototype.run=function(e,t){var n=Et.get(t);if(n){var r=kt(t);r&&n.setSearchString(r),this._run(n)||(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))}},t}(s["b"]),jt=function(e){function t(){return e.call(this,{id:j.NextSelectionMatchFindAction,label:r["a"]("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:l["a"].focus,primary:2109,weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Ft=function(e){function t(){return e.call(this,{id:j.PreviousSelectionMatchFindAction,label:r["a"]("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:l["a"].focus,primary:3133,weight:100}})||this}return xt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Bt=function(e){function t(){return e.call(this,{id:j.StartFindReplaceAction,label:r["a"]("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:17,group:"3_find",title:r["a"]({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return xt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=Et.get(t),r=t.getSelection(),i=n.isFindInputFocused(),o=!r.isEmpty()&&r.startLineNumber===r.endLineNumber&&t.getOption(28).seedSearchStringFromSelection&&!i,a=i||o?2:1;n&&n.start({forceRevealReplace:!0,seedSearchStringFromSelection:o,seedSearchStringFromGlobalClipboard:t.getOption(28).seedSearchStringFromSelection,shouldFocus:a,shouldAnimate:!0,updateSearchScope:!1})}},t}(s["b"]);Object(s["h"])(Et.ID,Dt),Object(s["f"])(Mt),Object(s["f"])(Nt),Object(s["f"])(It),Object(s["f"])(Tt),Object(s["f"])(Pt),Object(s["f"])(At),Object(s["f"])(jt),Object(s["f"])(Ft),Object(s["f"])(Bt);var Vt=s["c"].bindToContribution(Et.get);Object(s["g"])(new Vt({id:j.CloseFindWidgetCommand,precondition:N,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:9,secondary:[1033]}})),Object(s["g"])(new Vt({id:j.ToggleCaseSensitiveCommand,precondition:void 0,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(s["g"])(new Vt({id:j.ToggleWholeWordCommand,precondition:void 0,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),Object(s["g"])(new Vt({id:j.ToggleRegexCommand,precondition:void 0,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(s["g"])(new Vt({id:j.ToggleSearchScopeCommand,precondition:void 0,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:R.primary,mac:R.mac,win:R.win,linux:R.linux}})),Object(s["g"])(new Vt({id:j.ReplaceOneAction,precondition:N,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:3094}})),Object(s["g"])(new Vt({id:j.ReplaceOneAction,precondition:N,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:M["a"].and(l["a"].focus,I),primary:3}})),Object(s["g"])(new Vt({id:j.ReplaceAllAction,precondition:N,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:2563}})),Object(s["g"])(new Vt({id:j.ReplaceAllAction,precondition:N,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:M["a"].and(l["a"].focus,I),primary:void 0,mac:{primary:2051}}})),Object(s["g"])(new Vt({id:j.SelectAllMatchesAction,precondition:N,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:l["a"].focus,primary:515}}))},oVml:function(e,t,n){var r=n("5K7Z"),i=n("fpC5"),o=n("FpHa"),a=n("VVlx")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("Hsns")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("MvwC").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},oVpE:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("mFDi"),a=n("6GrX"),s=a.calculateTextPosition,l=i.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r+o),e.lineTo(n-i,r+o),e.closePath()}}),u=i.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2,o=t.height/2;e.moveTo(n,r-o),e.lineTo(n+i,r),e.lineTo(n,r+o),e.lineTo(n-i,r),e.closePath()}}),c=i.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=Math.max(i,t.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;e.moveTo(n-c,l+s),e.arc(n,l,a,Math.PI-u,2*Math.PI+u),e.bezierCurveTo(n+c-d*f,l+s+h*f,n,r-p,n,r),e.bezierCurveTo(n,r-p,n-c+d*f,l+s+h*f,n-c,l+s),e.closePath()}}),d=i.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x,o=t.y,a=r/3*2;e.moveTo(i,o),e.lineTo(i+a,o+n),e.lineTo(i,o+n/4*3),e.lineTo(i-a,o+n),e.lineTo(i,o),e.closePath()}}),h={line:i.Line,rect:i.Rect,roundRect:i.Rect,square:i.Rect,circle:i.Circle,diamond:u,pin:c,arrow:d,triangle:l},f={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){var o=Math.min(n,r);i.x=e,i.y=t,i.width=o,i.height=o},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},p={};r.each(h,(function(e,t){p[t]=new e}));var g=i.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=s(e,t,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===t.textPosition&&(r.y=n.y+.4*n.height),r},buildPath:function(e,t,n){var r=t.symbolType;if("none"!==r){var i=p[r];i||(r="rect",i=p[r]),f[r](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,n)}}});function m(e,t){if("image"!==this.type){var n=this.style,r=this.shape;r&&"line"===r.symbolType?n.stroke=e:this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff"):(n.fill&&(n.fill=e),n.stroke&&(n.stroke=e)),this.dirty(!1)}}function v(e,t,n,r,a,s,l){var u,c=0===e.indexOf("empty");return c&&(e=e.substr(5,1).toLowerCase()+e.substr(6)),u=0===e.indexOf("image://")?i.makeImage(e.slice(8),new o(t,n,r,a),l?"center":"cover"):0===e.indexOf("path://")?i.makePath(e.slice(7),{},new o(t,n,r,a),l?"center":"cover"):new g({shape:{symbolType:e,x:t,y:n,width:r,height:a}}),u.__isEmptyBrush=c,u.setColor=m,u.setColor(s),u}t.createSymbol=v},oY9F:function(e,t,n){var r=n("OlYY"),i=r.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});e.exports=i},oiKk:function(e,t,n){"use strict";n.r(t),n.d(t,"IPadShowKeyboard",(function(){return l}));n("ci+S");var r=n("D3Dy"),i=n("EffR"),o=n("pmY6"),a=n("sswD"),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(e){function t(t){var n=e.call(this)||this;return n.editor=t,n.widget=null,r["j"]&&(n._register(t.onDidChangeConfiguration((function(){return n.update()}))),n.update()),n}return s(t,e),t.prototype.update=function(){var e=!this.editor.getOption(68);!this.widget&&e?this.widget=new u(this.editor):this.widget&&!e&&(this.widget.dispose(),this.widget=null)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.widget&&(this.widget.dispose(),this.widget=null)},t.ID="editor.contrib.iPadShowKeyboard",t}(o["a"]),u=function(e){function t(t){var n=e.call(this)||this;return n.editor=t,n._domNode=document.createElement("textarea"),n._domNode.className="iPadShowKeyboard",n._register(i["i"](n._domNode,"touchstart",(function(e){n.editor.focus()}))),n._register(i["i"](n._domNode,"focus",(function(e){n.editor.focus()}))),n.editor.addOverlayWidget(n),n}return s(t,e),t.prototype.dispose=function(){this.editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.getId=function(){return t.ID},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return{preference:1}},t.ID="editor.contrib.ShowKeyboardWidget",t}(o["a"]);Object(a["h"])(l.ID,l)},or5M:function(e,t,n){var r=n("1hJj"),i=n("QoRX"),o=n("xYSL"),a=1,s=2;function l(e,t,n,l,u,c){var d=n&a,h=e.length,f=t.length;if(h!=f&&!(d&&f>h))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var g=-1,m=!0,v=n&s?new r:void 0;c.set(e,t),c.set(t,e);while(++g<h){var y=e[g],b=t[g];if(l)var _=d?l(b,y,g,t,e,c):l(y,b,g,e,t,c);if(void 0!==_){if(_)continue;m=!1;break}if(v){if(!i(t,(function(e,t){if(!o(v,t)&&(y===e||u(y,e,n,l,c)))return v.push(t)}))){m=!1;break}}else if(y!==b&&!u(y,b,n,l,c)){m=!1;break}}return c["delete"](e),c["delete"](t),m}e.exports=l},osHv:function(e,t,n){(function(e){e(n("VrN/"))})((function(e){"use strict";var t=e.Pos;function n(e,t){return e.line-t.line||e.ch-t.ch}var r="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=r+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",o=new RegExp("<(/?)(["+r+"]["+i+"]*)","g");function a(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function s(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function l(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function u(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function c(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(l(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function d(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(u(e))continue;return}if(s(e,t+1)){o.lastIndex=t,e.ch=t;var n=o.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function h(e){for(;;){o.lastIndex=e.ch;var t=o.exec(e.text);if(!t){if(l(e))continue;return}if(s(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function f(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(u(e))continue;return}if(s(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function p(e,n){for(var r=[];;){var i,o=h(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=c(e)))return;if("selfClose"!=i)if(o[1]){for(var l=r.length-1;l>=0;--l)if(r[l]==o[2]){r.length=l;break}if(l<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else r.push(o[2])}}function g(e,n){for(var r=[];;){var i=f(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=d(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==s[2]){r.length=l;break}if(l<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else d(e)}}e.registerHelper("fold","xml",(function(e,r){for(var i=new a(e,r.line,0);;){var o=h(i);if(!o||i.line!=r.line)return;var s=c(i);if(!s)return;if(!o[1]&&"selfClose"!=s){var l=t(i.line,i.ch),u=p(i,o[2]);return u&&n(u.from,l)>0?{from:l,to:u.from}:null}}})),e.findMatchingTag=function(e,r,i){var o=new a(e,r.line,r.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var s=c(o),l=s&&t(o.line,o.ch),u=s&&d(o);if(s&&u&&!(n(o,r)>0)){var h={from:t(o.line,o.ch),to:l,tag:u[2]};return"selfClose"==s?{open:h,close:null,at:"open"}:u[1]?{open:g(o,u[2]),close:h,at:"close"}:(o=new a(e,l.line,l.ch,i),{open:h,close:p(o,u[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new a(e,t.line,t.ch,n);;){var o=g(i,r);if(!o)break;var s=new a(e,t.line,t.ch,n),l=p(s,o.tag);if(l)return{open:o,close:l}}},e.scanForClosingTag=function(e,t,n,r){var i=new a(e,t.line,t.ch,r?{from:0,to:r}:null);return p(i,n)}}))},"p+If":function(e,t,n){var r=n("ProS");n("cpOr"),n("rkZ5");var i=n("ZYIC"),o=n("7ph2");r.registerLayout(i),r.registerVisual(o)},"p/La":function(e,t){var n=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function r(e,t){"china"===e&&"\u53f0\u6e7e"===t.name&&t.geometries.push({type:"polygon",exterior:n[0]})}e.exports=r},p1MT:function(e,t,n){var r=n("Hw7h"),i=n("IwbS"),o=n("6Ic6"),a=n("OELB"),s=a.parsePercent,l=a.round,u=a.linearMap;function c(e,t){var n=e.get("center"),r=t.getWidth(),i=t.getHeight(),o=Math.min(r,i),a=s(n[0],t.getWidth()),l=s(n[1],t.getHeight()),u=s(e.get("radius"),o/2);return{cx:a,cy:l,r:u}}function d(e,t){return t&&("string"===typeof t?e=t.replace("{value}",null!=e?e:""):"function"===typeof t&&(e=t(e))),e}var h=2*Math.PI,f=o.extend({type:"gauge",render:function(e,t,n){this.group.removeAll();var r=e.get("axisLine.lineStyle.color"),i=c(e,n);this._renderMain(e,t,n,r,i)},dispose:function(){},_renderMain:function(e,t,n,r,o){for(var a=this.group,s=e.getModel("axisLine"),l=s.getModel("lineStyle"),u=e.get("clockwise"),c=-e.get("startAngle")/180*Math.PI,d=-e.get("endAngle")/180*Math.PI,f=(d-c)%h,p=c,g=l.get("width"),m=s.get("show"),v=0;m&&v<r.length;v++){var y=Math.min(Math.max(r[v][0],0),1),b=(d=c+f*y,new i.Sector({shape:{startAngle:p,endAngle:d,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0}));b.setStyle({fill:r[v][1]}),b.setStyle(l.getLineStyle(["color","borderWidth","borderColor"])),a.add(b),p=d}var _=function(e){if(e<=0)return r[0][1];for(var t=0;t<r.length;t++)if(r[t][0]>=e&&(0===t?0:r[t-1][0])<e)return r[t][1];return r[t-1][1]};if(!u){var w=c;c=d,d=w}this._renderTicks(e,t,n,_,o,c,d,u),this._renderPointer(e,t,n,_,o,c,d,u),this._renderTitle(e,t,n,_,o),this._renderDetail(e,t,n,_,o)},_renderTicks:function(e,t,n,r,o,a,u,c){for(var h=this.group,f=o.cx,p=o.cy,g=o.r,m=+e.get("min"),v=+e.get("max"),y=e.getModel("splitLine"),b=e.getModel("axisTick"),_=e.getModel("axisLabel"),w=e.get("splitNumber"),x=b.get("splitNumber"),C=s(y.get("length"),g),S=s(b.get("length"),g),O=a,k=(u-a)/w,E=k/x,D=y.getModel("lineStyle").getLineStyle(),M=b.getModel("lineStyle").getLineStyle(),N=0;N<=w;N++){var L=Math.cos(O),I=Math.sin(O);if(y.get("show")){var T=new i.Line({shape:{x1:L*g+f,y1:I*g+p,x2:L*(g-C)+f,y2:I*(g-C)+p},style:D,silent:!0});"auto"===D.stroke&&T.setStyle({stroke:r(N/w)}),h.add(T)}if(_.get("show")){var P=d(l(N/w*(v-m)+m),_.get("formatter")),A=_.get("distance"),R=r(N/w);h.add(new i.Text({style:i.setTextStyle({},_,{text:P,x:L*(g-C-A)+f,y:I*(g-C-A)+p,textVerticalAlign:I<-.4?"top":I>.4?"bottom":"middle",textAlign:L<-.4?"left":L>.4?"right":"center"},{autoColor:R}),silent:!0}))}if(b.get("show")&&N!==w){for(var j=0;j<=x;j++){L=Math.cos(O),I=Math.sin(O);var F=new i.Line({shape:{x1:L*g+f,y1:I*g+p,x2:L*(g-S)+f,y2:I*(g-S)+p},silent:!0,style:M});"auto"===M.stroke&&F.setStyle({stroke:r((N+j/x)/w)}),h.add(F),O+=E}O-=E}else O+=k}},_renderPointer:function(e,t,n,o,a,l,c,d){var h=this.group,f=this._data;if(e.get("pointer.show")){var p=[+e.get("min"),+e.get("max")],g=[l,c],m=e.getData(),v=m.mapDimension("value");m.diff(f).add((function(t){var n=new r({shape:{angle:l}});i.initProps(n,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),h.add(n),m.setItemGraphicEl(t,n)})).update((function(t,n){var r=f.getItemGraphicEl(n);i.updateProps(r,{shape:{angle:u(m.get(v,t),p,g,!0)}},e),h.add(r),m.setItemGraphicEl(t,r)})).remove((function(e){var t=f.getItemGraphicEl(e);h.remove(t)})).execute(),m.eachItemGraphicEl((function(e,t){var n=m.getItemModel(t),r=n.getModel("pointer");e.setShape({x:a.cx,y:a.cy,width:s(r.get("width"),a.r),r:s(r.get("length"),a.r)}),e.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===e.style.fill&&e.setStyle("fill",o(u(m.get(v,t),p,[0,1],!0))),i.setHoverStyle(e,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(e){h.remove(e)}))},_renderTitle:function(e,t,n,r,o){var a=e.getData(),l=a.mapDimension("value"),c=e.getModel("title");if(c.get("show")){var d=c.get("offsetCenter"),h=o.cx+s(d[0],o.r),f=o.cy+s(d[1],o.r),p=+e.get("min"),g=+e.get("max"),m=e.getData().get(l,0),v=r(u(m,[p,g],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},c,{x:h,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(e,t,n,r,o){var a=e.getModel("detail"),l=+e.get("min"),c=+e.get("max");if(a.get("show")){var h=a.get("offsetCenter"),f=o.cx+s(h[0],o.r),p=o.cy+s(h[1],o.r),g=s(a.get("width"),o.r),m=s(a.get("height"),o.r),v=e.getData(),y=v.get(v.mapDimension("value"),0),b=r(u(y,[l,c],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},a,{x:f,y:p,text:d(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}}}),p=f;e.exports=p},p3Ex:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return n.e(174).then(n.bind(null,"/Om3"))}})},p5tG:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return i}));n("M/lh");var r=monaco.Emitter,i=function(){function e(e,t,n){this._onDidChange=new r,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(n)}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!0,configurable:!0}),e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},e.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},e}(),o={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1},a={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},s=new i("json",o,a);function l(){return{jsonDefaults:s}}function u(){return n.e(166).then(n.bind(null,"R7lK"))}monaco.languages.json=l(),monaco.languages.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]}),monaco.languages.onLanguage("json",(function(){u().then((function(e){return e.setupMode(s)}))}))},"p77/":function(e,t,n){},pAvP:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("Cg/j"),i="editorWorkerService",o=Object(r["c"])(i)},pC0b:function(e,t,n){"use strict";n("cIOH"),n("xzDV"),n("5Dmo")},"pED+":function(e,t,n){},pG52:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("WXVj"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},pI2L:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return n.e(206).then(n.bind(null,"KpXS"))}})},pLH3:function(e,t,n){var r=n("ProS");n("ALo7"),n("TWL2");var i=n("mOdp"),o=n("JLnu"),a=n("0/Rx");r.registerVisual(i("funnel")),r.registerLayout(o),r.registerProcessor(a("funnel"))},pP6R:function(e,t,n){var r=n("ProS"),i="\0_ec_interaction_mutex";function o(e,t,n){var r=l(e);r[t]=n}function a(e,t,n){var r=l(e),i=r[t];i===n&&(r[t]=null)}function s(e,t){return!!l(e)[t]}function l(e){return e[i]||(e[i]={})}r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),t.take=o,t.release=a,t.isTaken=s},pSRY:function(e,t,n){var r=n("QkVE");function i(e){return r(this,e).has(e)}e.exports=i},pg8w:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var r,i=n("6OMU"),o=n("pmY6"),a=n("EffR"),s=n("ZCR3"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};(function(e){e.Tap="-monaco-gesturetap",e.Change="-monaco-gesturechange",e.Start="-monaco-gesturestart",e.End="-monaco-gesturesend",e.Contextmenu="-monaco-gesturecontextmenu"})(r||(r={}));var c=function(e){function t(){var t=e.call(this)||this;return t.dispatched=!1,t.activeTouches={},t.handle=null,t.targets=[],t.ignoreTargets=[],t._lastSetTapCountTime=0,t._register(a["i"](document,"touchstart",(function(e){return t.onTouchStart(e)}))),t._register(a["i"](document,"touchend",(function(e){return t.onTouchEnd(e)}))),t._register(a["i"](document,"touchmove",(function(e){return t.onTouchMove(e)}))),t}return l(t,e),t.addTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.targets.push(e),{dispose:function(){t.INSTANCE.targets=t.INSTANCE.targets.filter((function(t){return t!==e}))}}):o["a"].None},t.ignoreTarget=function(e){return t.isTouchDevice()?(t.INSTANCE||(t.INSTANCE=new t),t.INSTANCE.ignoreTargets.push(e),{dispose:function(){t.INSTANCE.ignoreTargets=t.INSTANCE.ignoreTargets.filter((function(t){return t!==e}))}}):o["a"].None},t.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0},t.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),e.prototype.dispose.call(this)},t.prototype.onTouchStart=function(e){var t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var n=0,i=e.targetTouches.length;n<i;n++){var o=e.targetTouches.item(n);this.activeTouches[o.identifier]={id:o.identifier,initialTarget:o.target,initialTimeStamp:t,initialPageX:o.pageX,initialPageY:o.pageY,rollingTimestamps:[t],rollingPageX:[o.pageX],rollingPageY:[o.pageY]};var a=this.newGestureEvent(r.Start,o.target);a.pageX=o.pageX,a.pageY=o.pageY,this.dispatchEvent(a)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.onTouchEnd=function(e){for(var n=Date.now(),o=Object.keys(this.activeTouches).length,a=function(a,l){var u=e.changedTouches.item(a);if(!s.activeTouches.hasOwnProperty(String(u.identifier)))return console.warn("move of an UNKNOWN touch",u),"continue";var c=s.activeTouches[u.identifier],d=Date.now()-c.initialTimeStamp;if(d<t.HOLD_DELAY&&Math.abs(c.initialPageX-i["v"](c.rollingPageX))<30&&Math.abs(c.initialPageY-i["v"](c.rollingPageY))<30){var h=s.newGestureEvent(r.Tap,c.initialTarget);h.pageX=i["v"](c.rollingPageX),h.pageY=i["v"](c.rollingPageY),s.dispatchEvent(h)}else if(d>=t.HOLD_DELAY&&Math.abs(c.initialPageX-i["v"](c.rollingPageX))<30&&Math.abs(c.initialPageY-i["v"](c.rollingPageY))<30){h=s.newGestureEvent(r.Contextmenu,c.initialTarget);h.pageX=i["v"](c.rollingPageX),h.pageY=i["v"](c.rollingPageY),s.dispatchEvent(h)}else if(1===o){var f=i["v"](c.rollingPageX),p=i["v"](c.rollingPageY),g=i["v"](c.rollingTimestamps)-c.rollingTimestamps[0],m=f-c.rollingPageX[0],v=p-c.rollingPageY[0],y=s.targets.filter((function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)}));s.inertia(y,n,Math.abs(m)/g,m>0?1:-1,f,Math.abs(v)/g,v>0?1:-1,p)}s.dispatchEvent(s.newGestureEvent(r.End,c.initialTarget)),delete s.activeTouches[u.identifier]},s=this,l=0,u=e.changedTouches.length;l<u;l++)a(l,u);this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.prototype.newGestureEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n.tapCount=0,n},t.prototype.dispatchEvent=function(e){var n=this;if(e.type===r.Tap){var i=(new Date).getTime(),o=0;o=i-this._lastSetTapCountTime>t.CLEAR_TAP_COUNT_TIME?1:2,this._lastSetTapCountTime=i,e.tapCount=o}else e.type!==r.Change&&e.type!==r.Contextmenu||(this._lastSetTapCountTime=0);for(var a=0;a<this.ignoreTargets.length;a++)if(e.initialTarget instanceof Node&&this.ignoreTargets[a].contains(e.initialTarget))return;this.targets.forEach((function(t){e.initialTarget instanceof Node&&t.contains(e.initialTarget)&&(t.dispatchEvent(e),n.dispatched=!0)}))},t.prototype.inertia=function(e,n,i,o,s,l,u,c){var d=this;this.handle=a["V"]((function(){var a=Date.now(),h=a-n,f=0,p=0,g=!0;i+=t.SCROLL_FRICTION*h,l+=t.SCROLL_FRICTION*h,i>0&&(g=!1,f=o*i*h),l>0&&(g=!1,p=u*l*h);var m=d.newGestureEvent(r.Change);m.translationX=f,m.translationY=p,e.forEach((function(e){return e.dispatchEvent(m)})),g||d.inertia(e,a,i,o,s+f,l,u,c+p)}))},t.prototype.onTouchMove=function(e){for(var t=Date.now(),n=0,o=e.changedTouches.length;n<o;n++){var a=e.changedTouches.item(n);if(this.activeTouches.hasOwnProperty(String(a.identifier))){var s=this.activeTouches[a.identifier],l=this.newGestureEvent(r.Change,s.initialTarget);l.translationX=a.pageX-i["v"](s.rollingPageX),l.translationY=a.pageY-i["v"](s.rollingPageY),l.pageX=a.pageX,l.pageY=a.pageY,this.dispatchEvent(l),s.rollingPageX.length>3&&(s.rollingPageX.shift(),s.rollingPageY.shift(),s.rollingTimestamps.shift()),s.rollingPageX.push(a.pageX),s.rollingPageY.push(a.pageY),s.rollingTimestamps.push(t)}else console.warn("end of an UNKNOWN touch",a)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},t.SCROLL_FRICTION=-.005,t.HOLD_DELAY=700,t.CLEAR_TAP_COUNT_TIME=400,u([s["a"]],t,"isTouchDevice",null),t}(o["a"])},pmY6:function(e,t,n){"use strict";n.d(t,"g",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"c",(function(){return p}));var r=!1,i="__is_disposable_tracked__";function o(e){if(r&&e&&e!==h.None)try{e[i]=!0}catch(t){}}function a(e){if(!r)return e;var t=new Error("Potentially leaked disposable").stack;return setTimeout((function(){e[i]||console.log(t)}),3e3),e}function s(e){return"function"===typeof e.dispose&&0===e.dispose.length}function l(e){return Array.isArray(e)?(e.forEach((function(e){e&&(o(e),e.dispose())})),[]):e?(o(e),e.dispose(),e):void 0}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.forEach(o),a({dispose:function(){return l(e)}})}function c(e){var t=a({dispose:function(){o(t),e()}});return t}var d=function(){function e(){this._toDispose=new Set,this._isDisposed=!1}return e.prototype.dispose=function(){this._isDisposed||(o(this),this._isDisposed=!0,this.clear())},e.prototype.clear=function(){this._toDispose.forEach((function(e){return e.dispose()})),this._toDispose.clear()},e.prototype.add=function(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return o(e),this._isDisposed?console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e},e}(),h=function(){function e(){this._store=new d,a(this)}return e.prototype.dispose=function(){o(this),this._store.dispose()},e.prototype._register=function(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)},e.None=Object.freeze({dispose:function(){}}),e}(),f=function(){function e(){this._isDisposed=!1,a(this)}return Object.defineProperty(e.prototype,"value",{get:function(){return this._isDisposed?void 0:this._value},set:function(e){this._isDisposed||e===this._value||(this._value&&this._value.dispose(),e&&o(e),this._value=e)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.value=void 0},e.prototype.dispose=function(){this._isDisposed=!0,o(this),this._value&&this._value.dispose(),this._value=void 0},e}(),p=function(){function e(e){this.object=e}return e.prototype.dispose=function(){},e}()},pmaE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("DEFe"),s="__seriesMapHighDown",l="__seriesMapCallKey",u=r.extendChartView({type:"map",render:function(e,t,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!e.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===e.id){o=this._mapDraw;o&&i.add(o.group)}else if(e.needsDrawMap){var o=this._mapDraw||new a(n,!0);i.add(o.group),o.draw(e,t,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&t.getComponent("legend")&&this._renderSymbols(e,t,n)}}},remove:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},dispose:function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},_renderSymbols:function(e,t,n){var r=e.originalData,a=this.group;r.each(r.mapDimension("value"),(function(t,n){if(!isNaN(t)){var u=r.getItemLayout(n);if(u&&u.point){var h=u.point,f=u.offset,p=new o.Circle({style:{fill:e.getData().getVisual("color")},shape:{cx:h[0]+9*f,cy:h[1],r:3},silent:!0,z2:8+(f?0:o.Z2_EMPHASIS_LIFT+1)});if(!f){var g=e.mainSeries.getData(),m=r.getName(n),v=g.indexOfName(m),y=r.getItemModel(n),b=y.getModel("label"),_=y.getModel("emphasis.label"),w=g.getItemGraphicEl(v),x=i.retrieve2(e.getFormattedLabel(v,"normal"),m),C=i.retrieve2(e.getFormattedLabel(v,"emphasis"),x),S=w[s],O=Math.random();if(!S){S=w[s]={};var k=i.curry(c,!0),E=i.curry(c,!1);w.on("mouseover",k).on("mouseout",E).on("emphasis",k).on("normal",E)}w[l]=O,i.extend(S,{recordVersion:O,circle:p,labelModel:b,hoverLabelModel:_,emphasisText:C,normalText:x}),d(S,!1)}a.add(p)}}}))}});function c(e){var t=this[s];t&&t.recordVersion===this[l]&&d(t,e)}function d(e,t){var n=e.circle,r=e.labelModel,i=e.hoverLabelModel,a=e.emphasisText,s=e.normalText;t?(n.style.extendFrom(o.setTextStyle({},i,{text:i.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}e.exports=u},ptcw:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n("MD5Z"),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)};function o(e,t){var n=Object.create(null);for(var i in t){var o=t[i];o&&(n[i]=Object(r["Sb"])(o,e))}return n}function a(e,t,n){function r(r){var i=o(e.getTheme(),t);"function"===typeof n?n(i):n.style(i)}return r(e.getTheme()),e.onThemeChange(r)}function s(e,t,n){return a(t,{badgeBackground:n&&n.badgeBackground||r["c"],badgeForeground:n&&n.badgeForeground||r["d"],badgeBorder:r["e"]},e)}function l(e,t,n){return a(t,i(i({},u),n||{}),e)}var u={listFocusBackground:r["qb"],listFocusForeground:r["rb"],listActiveSelectionBackground:Object(r["f"])(r["kb"],.1),listActiveSelectionForeground:r["lb"],listFocusAndSelectionBackground:r["kb"],listFocusAndSelectionForeground:r["lb"],listInactiveSelectionBackground:r["wb"],listInactiveSelectionForeground:r["xb"],listInactiveFocusBackground:r["vb"],listHoverBackground:r["tb"],listHoverForeground:r["ub"],listDropBackground:r["mb"],listFocusOutline:r["b"],listSelectionOutline:r["b"],listHoverOutline:r["b"],listFilterWidgetBackground:r["nb"],listFilterWidgetOutline:r["pb"],listFilterWidgetNoMatchesOutline:r["ob"],listMatchesShadow:r["fc"],treeIndentGuidesStroke:r["ec"]},c={shadowColor:r["fc"],borderColor:r["zb"],foregroundColor:r["Ab"],backgroundColor:r["yb"],selectionForegroundColor:r["Db"],selectionBackgroundColor:r["Bb"],selectionBorderColor:r["Cb"],separatorColor:r["Eb"]};function d(e,t,n){return a(t,i(i({},c),n),e)}},pwpV:function(e,t,n){},pzxd:function(e,t,n){var r=n("bYtY"),i=r.retrieve2,o=r.retrieve3,a=r.each,s=r.normalizeCssArray,l=r.isString,u=r.isObject,c=n("6GrX"),d=n("VpOo"),h=n("Xnb7"),f=n("fW2E"),p=n("gut8"),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=c.DEFAULT_FONT,y={left:1,right:1,center:1},b={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],w={},x={};function C(e){return S(e),a(e.rich,S),e}function S(e){if(e){e.font=c.makeFont(e);var t=e.textAlign;"middle"===t&&(t="center"),e.textAlign=null==t||y[t]?t:"left";var n=e.textVerticalAlign||e.textBaseline;"center"===n&&(n="middle"),e.textVerticalAlign=null==n||b[n]?n:"top";var r=e.textPadding;r&&(e.textPadding=s(e.textPadding))}}function O(e,t,n,r,i,o){r.rich?E(e,t,n,r,i,o):k(e,t,n,r,i,o)}function k(e,t,n,r,i,o){"use strict";var a,s=L(r),l=!1,u=t.__attrCachedBy===g.PLAIN_TEXT;o!==m?(o&&(a=o.style,l=!s&&u&&a),t.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(t.__attrCachedBy=g.NONE);var d=r.font||v;l&&d===(a.font||v)||(t.font=d);var h=e.__computedFont;e.__styleFont!==d&&(e.__styleFont=d,h=e.__computedFont=t.font);var p=r.textPadding,y=r.textLineHeight,b=e.__textCotentBlock;b&&!e.__dirtyText||(b=e.__textCotentBlock=c.parsePlainText(n,h,p,y,r.truncate));var w=b.outerHeight,C=b.lines,S=b.lineHeight,O=P(x,e,r,i),k=O.baseX,E=O.baseY,D=O.textAlign||"left",N=O.textVerticalAlign;M(t,r,i,k,E);var T=c.adjustTextY(E,w,N),A=k,F=T;if(s||p){var V=c.getWidth(n,h),z=V;p&&(z+=p[1]+p[3]);var W=c.adjustTextX(k,z,D);s&&I(e,t,r,W,T,z,w),p&&(A=B(k,D,p),F+=p[0])}t.textAlign=D,t.textBaseline="middle",t.globalAlpha=r.opacity||1;for(var H=0;H<_.length;H++){var U=_[H],K=U[0],G=U[1],q=r[K];l&&q===a[K]||(t[G]=f(t,G,q||U[2]))}F+=S/2;var Y=r.textStrokeWidth,X=l?a.textStrokeWidth:null,Z=!l||Y!==X,Q=!l||Z||r.textStroke!==a.textStroke,$=R(r.textStroke,Y),J=j(r.textFill);if($&&(Z&&(t.lineWidth=Y),Q&&(t.strokeStyle=$)),J&&(l&&r.textFill===a.textFill||(t.fillStyle=J)),1===C.length)$&&t.strokeText(C[0],A,F),J&&t.fillText(C[0],A,F);else for(H=0;H<C.length;H++)$&&t.strokeText(C[H],A,F),J&&t.fillText(C[H],A,F),F+=S}function E(e,t,n,r,i,o){o!==m&&(t.__attrCachedBy=g.NONE);var a=e.__textCotentBlock;a&&!e.__dirtyText||(a=e.__textCotentBlock=c.parseRichText(n,r)),D(e,t,a,r,i)}function D(e,t,n,r,i){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=r.textPadding,u=P(x,e,r,i),d=u.baseX,h=u.baseY,f=u.textAlign,p=u.textVerticalAlign;M(t,r,i,d,h);var g=c.adjustTextX(d,a,f),m=c.adjustTextY(h,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var b=v+o;L(r)&&I(e,t,r,g,m,a,s);for(var _=0;_<n.lines.length;_++){var w,C=n.lines[_],S=C.tokens,O=S.length,k=C.lineHeight,E=C.width,D=0,T=v,A=b,R=O-1;while(D<O&&(w=S[D],!w.textAlign||"left"===w.textAlign))N(e,t,w,r,k,y,T,"left"),E-=w.width,T+=w.width,D++;while(R>=0&&(w=S[R],"right"===w.textAlign))N(e,t,w,r,k,y,A,"right"),E-=w.width,A-=w.width,R--;T+=(o-(T-v)-(b-A)-E)/2;while(D<=R)w=S[D],N(e,t,w,r,k,y,T+w.width/2,"center"),T+=w.width,D++;y+=k}}function M(e,t,n,r,i){if(n&&t.textRotation){var o=t.textOrigin;"center"===o?(r=n.width/2+n.x,i=n.height/2+n.y):o&&(r=o[0]+n.x,i=o[1]+n.y),e.translate(r,i),e.rotate(-t.textRotation),e.translate(-r,-i)}}function N(e,t,n,r,a,s,l,u){var c=r.rich[n.styleName]||{};c.text=n.text;var d=n.textVerticalAlign,h=s+a/2;"top"===d?h=s+n.height/2:"bottom"===d&&(h=s+a-n.height/2),!n.isLineHolder&&L(c)&&I(e,t,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,h-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=B(l,u,f),h-=n.height/2-f[2]-n.textHeight/2),A(t,"shadowBlur",o(c.textShadowBlur,r.textShadowBlur,0)),A(t,"shadowColor",c.textShadowColor||r.textShadowColor||"transparent"),A(t,"shadowOffsetX",o(c.textShadowOffsetX,r.textShadowOffsetX,0)),A(t,"shadowOffsetY",o(c.textShadowOffsetY,r.textShadowOffsetY,0)),A(t,"textAlign",u),A(t,"textBaseline","middle"),A(t,"font",n.font||v);var p=R(c.textStroke||r.textStroke,m),g=j(c.textFill||r.textFill),m=i(c.textStrokeWidth,r.textStrokeWidth);p&&(A(t,"lineWidth",m),A(t,"strokeStyle",p),t.strokeText(n.text,l,h)),g&&(A(t,"fillStyle",g),t.fillText(n.text,l,h))}function L(e){return!!(e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor)}function I(e,t,n,r,i,o,a){var s=n.textBackgroundColor,c=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(A(t,"shadowBlur",n.textBoxShadowBlur||0),A(t,"shadowColor",n.textBoxShadowColor||"transparent"),A(t,"shadowOffsetX",n.textBoxShadowOffsetX||0),A(t,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&f){t.beginPath();var g=n.textBorderRadius;g?d.buildPath(t,{x:r,y:i,width:o,height:a,r:g}):t.rect(r,i,o,a),t.closePath()}if(p)if(A(t,"fillStyle",s),null!=n.fillOpacity){var m=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,t.fill(),t.globalAlpha=m}else t.fill();else if(u(s)){var v=s.image;v=h.createOrUpdateImage(v,null,e,T,s),v&&h.isImageReady(v)&&t.drawImage(v,r,i,o,a)}if(c&&f)if(A(t,"lineWidth",c),A(t,"strokeStyle",f),null!=n.strokeOpacity){m=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,t.stroke(),t.globalAlpha=m}else t.stroke()}function T(e,t){t.image=e}function P(e,t,n,r){var i=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(r){var l=n.textPosition;if(l instanceof Array)i=r.x+F(l[0],r.width),o=r.y+F(l[1],r.height);else{var u=t&&t.calculateTextPosition?t.calculateTextPosition(w,n,r):c.calculateTextPosition(w,n,r);i=u.x,o=u.y,a=a||u.textAlign,s=s||u.textVerticalAlign}var d=n.textOffset;d&&(i+=d[0],o+=d[1])}return e=e||{},e.baseX=i,e.baseY=o,e.textAlign=a,e.textVerticalAlign=s,e}function A(e,t,n){return e[t]=f(e,t,n),e[t]}function R(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function j(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function F(e,t){return"string"===typeof e?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function B(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function V(e,t){return null!=e&&(e||t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor||t.textPadding)}t.normalizeTextStyle=C,t.renderText=O,t.getBoxPosition=P,t.getStroke=R,t.getFill=j,t.parsePercent=F,t.needDrawText=V},"q/+u":function(e,t,n){var r=n("ProS"),i=n("9wZj"),o=n("yWXo"),a=n("h8O9");r.extendChartView({type:"scatter",render:function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.updateData(r,{clipShape:this._getClipShape(e)}),this._finished=!0},incrementalPrepareRender:function(e,t,n){var r=e.getData(),i=this._updateSymbolDraw(r,e);i.incrementalPrepareUpdate(r),this._finished=!1},incrementalRender:function(e,t,n){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var r=e.getData();if(this.group.dirty(),!this._finished||r.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=a().reset(e);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(e){var t=e.coordinateSystem,n=t&&t.getArea&&t.getArea();return e.get("clip",!0)?n:null},_updateSymbolDraw:function(e,t){var n=this._symbolDraw,r=t.pipelineContext,a=r.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new o:new i,this._isLargeDraw=a,this.group.removeAll()),this.group.add(n.group),n},remove:function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(e,t){var n=["lineStyle","normal","opacity"],r={seriesType:"parallel",reset:function(e,t,r){var i=e.getModel("itemStyle"),o=e.getModel("lineStyle"),a=t.get("color"),s=o.get("color")||i.get("color")||a[e.seriesIndex%a.length],l=e.get("inactiveOpacity"),u=e.get("activeOpacity"),c=e.getModel("lineStyle").getLineStyle(),d=e.coordinateSystem,h=e.getData(),f={normal:c.opacity,active:u,inactive:l};function p(e,t){d.eachActiveState(t,(function(e,r){var i=f[e];if("normal"===e&&t.hasItemOption){var o=t.getItemModel(r).get(n,!0);null!=o&&(i=o)}t.setItemVisual(r,"opacity",i)}),e.start,e.end)}return h.setVisual("color",s),{progress:p}}};e.exports=r},q4HE:function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="["+n+"]",u="["+a+"]",c="\\ud83c[\\udffb-\\udfff]",d="(?:"+u+"|"+c+")",h="[^"+n+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",p="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",m=d+"?",v="["+s+"]?",y="(?:"+g+"(?:"+[h,f,p].join("|")+")"+v+m+")*",b=v+m+y,_="(?:"+[h+u+"?",u,f,p,l].join("|")+")",w=RegExp(c+"(?="+c+")|"+_+b,"g");function x(e){var t=w.lastIndex=0;while(w.test(e))++t;return t}e.exports=x},q8qy:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return n.e(194).then(n.bind(null,"ywQP"))}})},qCM6:function(e,t,n){},qH13:function(e,t,n){var r=n("ItGF"),i=n("QBsz"),o=i.applyTransform,a=n("mFDi"),s=n("Qe9p"),l=n("6GrX"),u=n("pzxd"),c=n("ni6a"),d=n("Gev7"),h=n("Dagg"),f=n("dqUG"),p=n("y+Vt"),g=n("IMiH"),m=n("QuXc"),v=n("06Qe"),y=g.CMD,b=Math.round,_=Math.sqrt,w=Math.abs,x=Math.cos,C=Math.sin,S=Math.max;if(!r.canvasSupported){var O=",",k="progid:DXImageTransform.Microsoft",E=21600,D=E/2,M=1e5,N=1e3,L=function(e){e.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",e.coordsize=E+","+E,e.coordorigin="0,0"},I=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""")},T=function(e,t,n){return"rgb("+[e,t,n].join(",")+")"},P=function(e,t){t&&e&&t.parentNode!==e&&e.appendChild(t)},A=function(e,t){t&&e&&t.parentNode===e&&e.removeChild(t)},R=function(e,t,n){return(parseFloat(e)||0)*M+(parseFloat(t)||0)*N+n},j=u.parsePercent,F=function(e,t,n){var r=s.parse(t);n=+n,isNaN(n)&&(n=1),r&&(e.color=T(r[0],r[1],r[2]),e.opacity=n*r[3])},B=function(e){var t=s.parse(e);return[T(t[0],t[1],t[2]),t[3]]},V=function(e,t,n){var r=t.fill;if(null!=r)if(r instanceof m){var i,a=0,s=[0,0],l=0,u=1,c=n.getBoundingRect(),d=c.width,h=c.height;if("linear"===r.type){i="gradient";var f=n.transform,p=[r.x*d,r.y*h],g=[r.x2*d,r.y2*h];f&&(o(p,p,f),o(g,g,f));var v=g[0]-p[0],y=g[1]-p[1];a=180*Math.atan2(v,y)/Math.PI,a<0&&(a+=360),a<1e-6&&(a=0)}else{i="gradientradial";p=[r.x*d,r.y*h],f=n.transform;var b=n.scale,_=d,w=h;s=[(p[0]-c.x)/_,(p[1]-c.y)/w],f&&o(p,p,f),_/=b[0]*E,w/=b[1]*E;var x=S(_,w);l=0/x,u=2*r.r/x-l}var C=r.colorStops.slice();C.sort((function(e,t){return e.offset-t.offset}));for(var O=C.length,k=[],D=[],M=0;M<O;M++){var N=C[M],L=B(N.color);D.push(N.offset*u+l+" "+L[0]),0!==M&&M!==O-1||k.push(L)}if(O>=2){var I=k[0][0],T=k[1][0],P=k[0][1]*t.opacity,A=k[1][1]*t.opacity;e.type=i,e.method="none",e.focus="100%",e.angle=a,e.color=I,e.color2=T,e.colors=D.join(","),e.opacity=A,e.opacity2=P}"radial"===i&&(e.focusposition=s.join(","))}else F(e,r,t.opacity)},z=function(e,t){t.lineDash&&(e.dashstyle=t.lineDash.join(" ")),null==t.stroke||t.stroke instanceof m||F(e,t.stroke,t.opacity)},W=function(e,t,n,r){var i="fill"===t,o=e.getElementsByTagName(t)[0];null!=n[t]&&"none"!==n[t]&&(i||!i&&n.lineWidth)?(e[i?"filled":"stroked"]="true",n[t]instanceof m&&A(e,o),o||(o=v.createNode(t)),i?V(o,n,r):z(o,n),P(e,o)):(e[i?"filled":"stroked"]="false",A(e,o))},H=[[],[],[]],U=function(e,t){var n,r,i,a,s,l,u=y.M,c=y.C,d=y.L,h=y.A,f=y.Q,p=[],g=e.data,m=e.len();for(a=0;a<m;){switch(i=g[a++],r="",n=0,i){case u:r=" m ",n=1,s=g[a++],l=g[a++],H[0][0]=s,H[0][1]=l;break;case d:r=" l ",n=1,s=g[a++],l=g[a++],H[0][0]=s,H[0][1]=l;break;case f:case c:r=" c ",n=3;var v,w,S=g[a++],k=g[a++],M=g[a++],N=g[a++];i===f?(v=M,w=N,M=(M+2*S)/3,N=(N+2*k)/3,S=(s+2*S)/3,k=(l+2*k)/3):(v=g[a++],w=g[a++]),H[0][0]=S,H[0][1]=k,H[1][0]=M,H[1][1]=N,H[2][0]=v,H[2][1]=w,s=v,l=w;break;case h:var L=0,I=0,T=1,P=1,A=0;t&&(L=t[4],I=t[5],T=_(t[0]*t[0]+t[1]*t[1]),P=_(t[2]*t[2]+t[3]*t[3]),A=Math.atan2(-t[1]/P,t[0]/T));var R=g[a++],j=g[a++],F=g[a++],B=g[a++],V=g[a++]+A,z=g[a++]+V+A;a++;var W=g[a++],U=R+x(V)*F,K=j+C(V)*B,G=(S=R+x(z)*F,k=j+C(z)*B,W?" wa ":" at ");Math.abs(U-S)<1e-4&&(Math.abs(z-V)>.01?W&&(U+=270/E):Math.abs(K-j)<1e-4?W&&U<R||!W&&U>R?k-=270/E:k+=270/E:W&&K<j||!W&&K>j?S+=270/E:S-=270/E),p.push(G,b(((R-F)*T+L)*E-D),O,b(((j-B)*P+I)*E-D),O,b(((R+F)*T+L)*E-D),O,b(((j+B)*P+I)*E-D),O,b((U*T+L)*E-D),O,b((K*P+I)*E-D),O,b((S*T+L)*E-D),O,b((k*P+I)*E-D)),s=S,l=k;break;case y.R:var q=H[0],Y=H[1];q[0]=g[a++],q[1]=g[a++],Y[0]=q[0]+g[a++],Y[1]=q[1]+g[a++],t&&(o(q,q,t),o(Y,Y,t)),q[0]=b(q[0]*E-D),Y[0]=b(Y[0]*E-D),q[1]=b(q[1]*E-D),Y[1]=b(Y[1]*E-D),p.push(" m ",q[0],O,q[1]," l ",Y[0],O,q[1]," l ",Y[0],O,Y[1]," l ",q[0],O,Y[1]);break;case y.Z:p.push(" x ")}if(n>0){p.push(r);for(var X=0;X<n;X++){var Z=H[X];t&&o(Z,Z,t),p.push(b(Z[0]*E-D),O,b(Z[1]*E-D),X<n-1?O:"")}}}return p.join("")};p.prototype.brushVML=function(e){var t=this.style,n=this._vmlEl;n||(n=v.createNode("shape"),L(n),this._vmlEl=n),W(n,"fill",t,this),W(n,"stroke",t,this);var r=this.transform,i=null!=r,o=n.getElementsByTagName("stroke")[0];if(o){var a=t.lineWidth;if(i&&!t.strokeNoScale){var s=r[0]*r[3]-r[1]*r[2];a*=_(w(s))}o.weight=a+"px"}var l=this.path||(this.path=new g);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=U(l,this.transform),n.style.zIndex=R(this.zlevel,this.z,this.z2),P(e,n),null!=t.text?this.drawRectText(e,this.getBoundingRect()):this.removeRectText(e)},p.prototype.onRemove=function(e){A(e,this._vmlEl),this.removeRectText(e)},p.prototype.onAdd=function(e){P(e,this._vmlEl),this.appendRectText(e)};var K=function(e){return"object"===typeof e&&e.tagName&&"IMG"===e.tagName.toUpperCase()};h.prototype.brushVML=function(e){var t,n,r=this.style,i=r.image;if(K(i)){var a=i.src;if(a===this._imageSrc)t=this._imageWidth,n=this._imageHeight;else{var s=i.runtimeStyle,l=s.width,u=s.height;s.width="auto",s.height="auto",t=i.width,n=i.height,s.width=l,s.height=u,this._imageSrc=a,this._imageWidth=t,this._imageHeight=n}i=a}else i===this._imageSrc&&(t=this._imageWidth,n=this._imageHeight);if(i){var c=r.x||0,d=r.y||0,h=r.width,f=r.height,p=r.sWidth,g=r.sHeight,m=r.sx||0,y=r.sy||0,w=p&&g,x=this._vmlEl;x||(x=v.doc.createElement("div"),L(x),this._vmlEl=x);var C,E=x.style,D=!1,M=1,N=1;if(this.transform&&(C=this.transform,M=_(C[0]*C[0]+C[1]*C[1]),N=_(C[2]*C[2]+C[3]*C[3]),D=C[1]||C[2]),D){var I=[c,d],T=[c+h,d],A=[c,d+f],j=[c+h,d+f];o(I,I,C),o(T,T,C),o(A,A,C),o(j,j,C);var F=S(I[0],T[0],A[0],j[0]),B=S(I[1],T[1],A[1],j[1]),V=[];V.push("M11=",C[0]/M,O,"M12=",C[2]/N,O,"M21=",C[1]/M,O,"M22=",C[3]/N,O,"Dx=",b(c*M+C[4]),O,"Dy=",b(d*N+C[5])),E.padding="0 "+b(F)+"px "+b(B)+"px 0",E.filter=k+".Matrix("+V.join("")+", SizingMethod=clip)"}else C&&(c=c*M+C[4],d=d*N+C[5]),E.filter="",E.left=b(c)+"px",E.top=b(d)+"px";var z=this._imageEl,W=this._cropEl;z||(z=v.doc.createElement("div"),this._imageEl=z);var H=z.style;if(w){if(t&&n)H.width=b(M*t*h/p)+"px",H.height=b(N*n*f/g)+"px";else{var U=new Image,G=this;U.onload=function(){U.onload=null,t=U.width,n=U.height,H.width=b(M*t*h/p)+"px",H.height=b(N*n*f/g)+"px",G._imageWidth=t,G._imageHeight=n,G._imageSrc=i},U.src=i}W||(W=v.doc.createElement("div"),W.style.overflow="hidden",this._cropEl=W);var q=W.style;q.width=b((h+m*h/p)*M),q.height=b((f+y*f/g)*N),q.filter=k+".Matrix(Dx="+-m*h/p*M+",Dy="+-y*f/g*N+")",W.parentNode||x.appendChild(W),z.parentNode!==W&&W.appendChild(z)}else H.width=b(M*h)+"px",H.height=b(N*f)+"px",x.appendChild(z),W&&W.parentNode&&(x.removeChild(W),this._cropEl=null);var Y="",X=r.opacity;X<1&&(Y+=".Alpha(opacity="+b(100*X)+") "),Y+=k+".AlphaImageLoader(src="+i+", SizingMethod=scale)",H.filter=Y,x.style.zIndex=R(this.zlevel,this.z,this.z2),P(e,x),null!=r.text&&this.drawRectText(e,this.getBoundingRect())}},h.prototype.onRemove=function(e){A(e,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(e)},h.prototype.onAdd=function(e){P(e,this._vmlEl),this.appendRectText(e)};var G,q="normal",Y={},X=0,Z=100,Q=document.createElement("div"),$=function(e){var t=Y[e];if(!t){X>Z&&(X=0,Y={});var n,r=Q.style;try{r.font=e,n=r.fontFamily.split(",")[0]}catch(i){}t={style:r.fontStyle||q,variant:r.fontVariant||q,weight:r.fontWeight||q,size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},Y[e]=t,X++}return t};l.$override("measureText",(function(e,t){var n=v.doc;G||(G=n.createElement("div"),G.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",v.doc.body.appendChild(G));try{G.style.font=t}catch(r){}return G.innerHTML="",G.appendChild(n.createTextNode(e)),{width:G.offsetWidth}}));for(var J=new a,ee=function(e,t,n,r){var i=this.style;this.__dirty&&u.normalizeTextStyle(i,!0);var a=i.text;if(null!=a&&(a+=""),a){if(i.rich){var s=l.parseRichText(a,i);a=[];for(var c=0;c<s.lines.length;c++){for(var d=s.lines[c].tokens,h=[],f=0;f<d.length;f++)h.push(d[f].text);a.push(h.join(""))}a=a.join("\n")}var p,g,m=i.textAlign,y=i.textVerticalAlign,_=$(i.font),w=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||l.getBoundingRect(a,w,m,y,i.textPadding,i.textLineHeight);var x=this.transform;if(x&&!r&&(J.copy(t),J.applyTransform(x),t=J),r)p=t.x,g=t.y;else{var C=i.textPosition;if(C instanceof Array)p=t.x+j(C[0],t.width),g=t.y+j(C[1],t.height),m=m||"left";else{var S=this.calculateTextPosition?this.calculateTextPosition({},i,t):l.calculateTextPosition({},i,t);p=S.x,g=S.y,m=m||S.textAlign,y=y||S.textVerticalAlign}}p=l.adjustTextX(p,n.width,m),g=l.adjustTextY(g,n.height,y),g+=n.height/2;var k,E,D,M=v.createNode,N=this._textVmlEl;N?(D=N.firstChild,k=D.nextSibling,E=k.nextSibling):(N=M("line"),k=M("path"),E=M("textpath"),D=M("skew"),E.style["v-text-align"]="left",L(N),k.textpathok=!0,E.on=!0,N.from="0 0",N.to="1000 0.05",P(N,D),P(N,k),P(N,E),this._textVmlEl=N);var T=[p,g],A=N.style;x&&r?(o(T,T,x),D.on=!0,D.matrix=x[0].toFixed(3)+O+x[2].toFixed(3)+O+x[1].toFixed(3)+O+x[3].toFixed(3)+",0,0",D.offset=(b(T[0])||0)+","+(b(T[1])||0),D.origin="0 0",A.left="0px",A.top="0px"):(D.on=!1,A.left=b(p)+"px",A.top=b(g)+"px"),E.string=I(a);try{E.style.font=w}catch(F){}W(N,"fill",{fill:i.textFill,opacity:i.opacity},this),W(N,"stroke",{stroke:i.textStroke,opacity:i.opacity,lineDash:i.lineDash||null},this),N.style.zIndex=R(this.zlevel,this.z,this.z2),P(e,N)}},te=function(e){A(e,this._textVmlEl),this._textVmlEl=null},ne=function(e){P(e,this._textVmlEl)},re=[c,d,h,p,f],ie=0;ie<re.length;ie++){var oe=re[ie].prototype;oe.drawRectText=ee,oe.removeRectText=te,oe.appendRectText=ne}f.prototype.brushVML=function(e){var t=this.style;null!=t.text?this.drawRectText(e,{x:t.x||0,y:t.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(e)},f.prototype.onRemove=function(e){this.removeRectText(e)},f.prototype.onAdd=function(e){this.appendRectText(e)}}},qJCg:function(e,t,n){var r=n("BlVb"),i=n("mFDi"),o=n("IwbS"),a=o.linePolygonIntersect,s={lineX:l(0),lineY:l(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&r.contain(n.range,e[0],e[1])},rect:function(e,t,n){var o=n.range;if(!e||o.length<=1)return!1;var s=e.x,l=e.y,u=e.width,c=e.height,d=o[0];return!!(r.contain(o,s,l)||r.contain(o,s+u,l)||r.contain(o,s,l+c)||r.contain(o,s+u,l+c)||i.create(e).contain(d[0],d[1])||a(s,l,s+u,l,o)||a(s,l,s,l+c,o)||a(s+u,l,s+u,l+c,o)||a(s,l+c,s+u,l+c,o))||void 0}}};function l(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t){var i=r.range,o=t[e];return u(o,i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[t[e]],r[t[e]]+r[n[e]]];return s[1]<s[0]&&s.reverse(),u(s[0],a)||u(s[1],a)||u(a[0],s)||u(a[1],s)}}}}function u(e,t){return t[0]<=e&&e<=t[1]}var c=s;e.exports=c},qMZE:function(e,t,n){var r=n("JEkh"),i=r.extend({type:"markPoint",defaultOption:{zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}}});e.exports=i},qNAo:function(e,t,n){"use strict";n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"e",(function(){return u}));var r=n("N0LK"),i=function(){function e(e,t,n,r){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|r}return e}(),o=function(){function e(e,t){this.tabSize=e,this.data=t}return e}(),a=function(){function e(e,t,n,r,i,o){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=r,this.startVisibleColumn=i,this.tokens=o}return e}(),s=function(){function e(t,n,r,i,o,a,s,l,u,c){this.minColumn=t,this.maxColumn=n,this.content=r,this.continuesWithWrappedLine=i,this.isBasicASCII=e.isBasicASCII(r,a),this.containsRTL=e.containsRTL(r,this.isBasicASCII,o),this.tokens=s,this.inlineDecorations=l,this.tabSize=u,this.startVisibleColumn=c}return e.isBasicASCII=function(e,t){return!t||r["v"](e)},e.containsRTL=function(e,t,n){return!(t||!n)&&r["i"](e)},e}(),l=function(){function e(e,t,n){this.range=e,this.inlineClassName=t,this.type=n}return e}(),u=function(){function e(e,t){this.range=e,this.options=t}return e}()},qNPg:function(e,t,n){"use strict";n.d(t,"a",(function(){return ve}));var r=n("rePB"),i=n("KQm4"),o=n("ODXe"),a=n("Ff2n"),s=n("q1tI"),l=n.n(s),u=n("4IlW"),c=n("TSYQ"),d=n.n(c),h=n("6cGi"),f=n("bX4T"),p=n("lCnp"),g=n("0F8K"),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v="add",y="keep",b="remove",_="removed";function w(e){var t=void 0;return t=e&&"object"===typeof e&&"key"in e?e:{key:e},m({},t,{key:String(t.key)})}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(w)}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=x(e),a=x(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var s=a[o];if(s.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return m({},e,{status:v})}))),r=o),n.push(m({},s,{status:y})),r+=1,t=!0;break}}t||n.push(m({},e,{status:b}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return m({},e,{status:v})}))));var s={};n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1}));var l=Object.keys(s).filter((function(e){return s[e]>1}));return l.forEach((function(e){n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==b})),n.forEach((function(t){t.key===e&&(t.status=y)}))})),n}var S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function k(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function M(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var N=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p["a"],n=function(n){function r(){var e,t,n,i;E(this,r);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=D(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),t=n,n.state={keyEntities:[]},n.removeKey=function(e){n.setState((function(t){var n=t.keyEntities;return{keyEntities:n.map((function(t){return t.key!==e?t:S({},t,{status:_})}))}}))},i=t,D(n,i)}return M(r,n),O(r,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,i=r.component,o=r.children,a=k(r,["component","children"]),s=i||l.a.Fragment,u={};return N.forEach((function(e){u[e]=a[e],delete a[e]})),delete a.keys,l.a.createElement(s,a,n.map((function(n){var r=n.status,i=k(n,["status"]),a=r===v||r===y;return l.a.createElement(t,S({},u,{key:i.key,visible:a,eventProps:i,onLeaveEnd:function(){u.onLeaveEnd&&u.onLeaveEnd.apply(u,arguments),e.removeKey(i.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,i=n.keyEntities,o=x(r);if(!e)return{keyEntities:o.map((function(e){return S({},e,{status:y})}))};var a=C(i,o),s=i.length;return{keyEntities:a.filter((function(e){for(var t=null,n=0;n<s;n+=1){var r=i[n];if(r.key===e.key){t=r;break}}return!t||t.status!==_||e.status!==b}))}}}]),r}(l.a.Component);return n.defaultProps={component:"div"},n}var I=L(g["c"]),T=n("8OUc"),P=n("c+Xe");function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=function(e,t){var n=e.prefixCls,r=e.id,i=e.inputElement,o=e.disabled,a=e.tabIndex,s=e.autoFocus,u=e.autoComplete,c=e.editable,d=e.accessibilityIndex,h=e.value,f=e.onKeyDown,p=e.onMouseDown,g=e.onChange,m=e.onPaste,v=e.open,y=e.attrs,b=i||l.a.createElement("input",null),_=b,w=_.ref,x=_.props,C=x.onKeyDown,S=x.onChange,O=x.onMouseDown,k=x.style;return b=l.a.cloneElement(b,R(R({id:r,ref:Object(P["a"])(t,w),disabled:o,tabIndex:a,autoComplete:u||"off",autoFocus:s,className:"".concat(n,"-selection-search-input"),style:R(R({},k),{},{opacity:c?null:0}),role:"combobox","aria-expanded":v,"aria-haspopup":"listbox","aria-owns":"".concat(r,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(r,"_list"),"aria-activedescendant":"".concat(r,"_list_").concat(d)},y),{},{value:c?h:"",readOnly:!c,unselectable:c?null:"on",onKeyDown:function(e){f(e),C&&C(e)},onMouseDown:function(e){p(e),O&&O(e)},onChange:function(e){g(e),S&&S(e)},onPaste:m})),b},F=l.a.forwardRef(j);F.displayName="Input";var B=F,V=n("WKfj");function z(e,t){V["b"]?s["useLayoutEffect"](e,t):s["useEffect"](e,t)}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U="__RC_SELECT_MAX_REST_COUNT__",K=function(e){var t=e.id,n=e.prefixCls,i=e.values,s=e.open,u=e.searchValue,c=e.inputRef,h=e.placeholder,p=e.disabled,g=e.mode,m=e.showSearch,v=e.autoFocus,y=e.autoComplete,b=e.accessibilityIndex,_=e.tabIndex,w=e.removeIcon,x=e.choiceTransitionName,C=e.maxTagCount,S=e.maxTagTextLength,O=e.maxTagPlaceholder,k=void 0===O?function(e){return"+ ".concat(e.length," ...")}:O,E=e.tagRender,D=e.onSelect,M=e.onInputChange,N=e.onInputPaste,L=e.onInputKeyDown,P=e.onInputMouseDown,A=l.a.useState(!1),R=Object(o["a"])(A,2),j=R[0],F=R[1],V=l.a.useRef(null),W=l.a.useState(0),K=Object(o["a"])(W,2),G=K[0],q=K[1];l.a.useEffect((function(){F(!0)}),[]);var Y=s?u:"",X="tags"===g||s&&m;z((function(){q(V.current.scrollWidth)}),[Y]);var Z,Q=i;"number"===typeof C&&(Z=i.length-C,Q=i.slice(0,C)),"number"===typeof S&&(Q=Q.map((function(e){var t=e.label,n=Object(a["a"])(e,["label"]),r=t;if("string"===typeof t||"number"===typeof t){var i=String(r);i.length>S&&(r="".concat(i.slice(0,S),"..."))}return H(H({},n),{},{label:r})}))),Z>0&&Q.push({key:U,label:"function"===typeof k?k(i.slice(C)):k});var $=l.a.createElement(I,{component:!1,keys:Q,motionName:x,motionAppear:j},(function(e){var t=e.key,i=e.label,o=e.value,a=e.disabled,s=e.className,u=e.style,c=t||o,h=t!==U&&!a,f=function(e){e.preventDefault(),e.stopPropagation()},p=function(e){e&&e.stopPropagation(),D(o,{selected:!1})};return"function"===typeof E?l.a.createElement("span",{key:c,onMouseDown:f,className:s,style:u},E({label:i,value:o,disabled:a,closable:h,onClose:p})):l.a.createElement("span",{key:c,className:d()(s,"".concat(n,"-selection-item"),Object(r["a"])({},"".concat(n,"-selection-item-disabled"),a)),style:u},l.a.createElement("span",{className:"".concat(n,"-selection-item-content")},i),h&&l.a.createElement(T["a"],{className:"".concat(n,"-selection-item-remove"),onMouseDown:f,onClick:p,customizeIcon:w},"\xd7"))}));return l.a.createElement(l.a.Fragment,null,$,l.a.createElement("span",{className:"".concat(n,"-selection-search"),style:{width:G}},l.a.createElement(B,{ref:c,open:s,prefixCls:n,id:t,inputElement:null,disabled:p,autoFocus:v,autoComplete:y,editable:X,accessibilityIndex:b,value:Y,onKeyDown:L,onMouseDown:P,onChange:M,onPaste:N,tabIndex:_,attrs:Object(f["a"])(e,!0)}),l.a.createElement("span",{ref:V,className:"".concat(n,"-selection-search-mirror"),"aria-hidden":!0},Y,"\xa0")),!i.length&&!Y&&l.a.createElement("span",{className:"".concat(n,"-selection-placeholder")},h))},G=K,q=function(e){var t=e.inputElement,n=e.prefixCls,r=e.id,i=e.inputRef,o=e.disabled,a=e.autoFocus,s=e.autoComplete,u=e.accessibilityIndex,c=e.mode,d=e.open,h=e.values,p=e.placeholder,g=e.tabIndex,m=e.showSearch,v=e.searchValue,y=e.activeValue,b=e.onInputKeyDown,_=e.onInputMouseDown,w=e.onInputChange,x=e.onInputPaste,C="combobox"===c,S=C||m&&d,O=h[0],k=function(e){return null===e?"":String(e)},E=v;C&&(E=O?k(O.value):y||v);var D=!("combobox"!==c&&!d)&&!!E;return l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"".concat(n,"-selection-search")},l.a.createElement(B,{ref:i,prefixCls:n,id:r,open:d,inputElement:t,disabled:o,autoFocus:a,autoComplete:s,editable:S,accessibilityIndex:u,value:E,onKeyDown:b,onMouseDown:_,onChange:w,onPaste:x,tabIndex:g,attrs:Object(f["a"])(e,!0)})),!C&&O&&!D&&l.a.createElement("span",{className:"".concat(n,"-selection-item")},O.label),!O&&!D&&l.a.createElement("span",{className:"".concat(n,"-selection-placeholder")},p))},Y=q;function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,t=s["useRef"](null),n=s["useRef"](null);function r(r){(r||null===t.current)&&(t.current=r),window.clearTimeout(n.current),n.current=window.setTimeout((function(){t.current=null}),e)}return s["useEffect"]((function(){return function(){window.clearTimeout(n.current)}}),[]),[function(){return t.current},r]}var Z=function(e,t){var n=s["useRef"](null),r=e.prefixCls,i=e.multiple,a=e.open,l=e.mode,c=e.showSearch,d=e.onSearch,h=e.onToggleOpen,f=e.onInputKeyDown,p=e.domRef;s["useImperativeHandle"](t,(function(){return{focus:function(){n.current.focus()},blur:function(){n.current.blur()}}}));var g=X(0),m=Object(o["a"])(g,2),v=m[0],y=m[1],b=function(e){var t=e.which;t!==u["a"].UP&&t!==u["a"].DOWN||e.preventDefault(),f&&f(e),[u["a"].SHIFT,u["a"].TAB,u["a"].BACKSPACE,u["a"].ESC].includes(t)||h(!0)},_=function(){y(!0)},w=s["useRef"](!1),x=function(e){!1!==d(e)&&h(!0)},C=function(e){var t=e.target.value;w.current?w.current=!1:x(t)},S=function(e){if(!e.target.value){var t=e.clipboardData,n=t.getData("text");w.current=!0,setTimeout((function(){w.current=!1})),x(n)}},O=function(e){var t=e.target;t!==n.current&&n.current.focus()},k=function(e){var t=v();e.target===n.current||t||e.preventDefault(),("combobox"===l||c&&t)&&a||(a&&d(""),h())},E={inputRef:n,onInputKeyDown:b,onInputMouseDown:_,onInputChange:C,onInputPaste:S},D=i?s["createElement"](G,Object.assign({},e,E)):s["createElement"](Y,Object.assign({},e,E));return s["createElement"]("div",{ref:p,className:"".concat(r,"-selector"),onClick:O,onMouseDown:k},D)},Q=s["forwardRef"](Z);Q.displayName="Selector";var $=Q,J=n("uciX");function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e){var t="number"!==typeof e?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},re=function(e,t){var n=e.prefixCls,i=(e.disabled,e.visible),o=e.children,l=e.popupElement,u=e.containerWidth,c=e.animation,h=e.transitionName,f=e.dropdownStyle,p=e.dropdownClassName,g=e.direction,m=void 0===g?"ltr":g,v=e.dropdownMatchSelectWidth,y=void 0===v||v,b=e.dropdownRender,_=e.dropdownAlign,w=e.getPopupContainer,x=e.empty,C=e.getTriggerDOMNode,S=Object(a["a"])(e,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),O="".concat(n,"-dropdown"),k=l;b&&(k=b(l));var E=s["useMemo"]((function(){return ne(y)}),[y]),D=c?"".concat(O,"-").concat(c):h,M=s["useRef"](null);s["useImperativeHandle"](t,(function(){return{getPopupElement:function(){return M.current}}}));var N=te({minWidth:u},f);return"number"===typeof y?N.width=y:y&&(N.width=u),s["createElement"](J["a"],Object.assign({},S,{showAction:[],hideAction:[],popupPlacement:"rtl"===m?"bottomRight":"bottomLeft",builtinPlacements:E,prefixCls:O,popupTransitionName:D,popup:s["createElement"]("div",{ref:M},k),popupAlign:_,popupVisible:i,getPopupContainer:w,popupClassName:d()(p,Object(r["a"])({},"".concat(O,"-empty"),x)),popupStyle:N,getTriggerDOMNode:C}),o)},ie=s["forwardRef"](re);ie.displayName="SelectTrigger";var oe=ie,ae=n("wPlo");function se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=s["useState"](!1),n=Object(o["a"])(t,2),r=n[0],i=n[1],a=s["useRef"](null),l=function(){window.clearTimeout(a.current)};s["useEffect"]((function(){return l}),[]);var u=function(t,n){l(),a.current=window.setTimeout((function(){i(t),n&&n()}),e)};return[r,u,l]}var le=n("2Qr1");function ue(e,t,n){var r=s["useRef"](null);r.current={elements:e.filter((function(e){return e})),open:t,triggerOpen:n},s["useEffect"]((function(){function e(e){var t=e.target;r.current.open&&r.current.elements.every((function(e){return!e.contains(t)&&e!==t}))&&r.current.triggerOpen(!1)}return window.addEventListener("mousedown",e),function(){return window.removeEventListener("mousedown",e)}}),[])}function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e){var t=s["useRef"](e),n=s["useMemo"]((function(){var n=new Map;t.current.forEach((function(e){var t=e.value,r=e.label;t!==r&&n.set(t,r)}));var r=e.map((function(e){var t=n.get(e.value);return e.value===e.label&&t?de(de({},e),{},{label:t}):e}));return t.current=r,r}),[e]);return n}function fe(e,t){var n=s["useRef"](null),r=s["useMemo"]((function(){var e=new Map;return t.forEach((function(t){var n=t.data.value;e.set(n,t)})),e}),[e,t]);n.current=r;var i=function(e){return e.map((function(e){return n.current.get(e)})).filter(Boolean)};return i}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var me=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function ve(e){var t=e.prefixCls,n=e.components.optionList,l=e.convertChildrenToData,c=e.flattenOptions,f=e.getLabeledValue,p=e.filterOptions,g=e.isValueDisabled,m=e.findValueOption,v=(e.warningProps,e.fillOptionsWithMissingValue),y=e.omitDOMProps;function b(e,b){var _,w=e.prefixCls,x=void 0===w?t:w,C=e.className,S=e.id,O=e.open,k=e.defaultOpen,E=e.options,D=e.children,M=e.mode,N=e.value,L=e.defaultValue,I=e.labelInValue,P=e.showSearch,A=e.inputValue,R=e.searchValue,j=e.filterOption,F=e.optionFilterProp,B=void 0===F?"value":F,W=e.autoClearSearchValue,H=void 0===W||W,U=e.onSearch,K=e.allowClear,G=e.clearIcon,q=e.showArrow,Y=e.inputIcon,Z=e.menuItemSelectedIcon,Q=e.disabled,J=e.loading,ee=e.defaultActiveFirstOption,te=e.notFoundContent,ne=void 0===te?"Not Found":te,re=e.optionLabelProp,ie=e.backfill,ce=e.getInputElement,de=e.getPopupContainer,pe=e.listHeight,ve=void 0===pe?200:pe,ye=e.listItemHeight,be=void 0===ye?20:ye,_e=e.animation,we=e.transitionName,xe=e.virtual,Ce=e.dropdownStyle,Se=e.dropdownClassName,Oe=e.dropdownMatchSelectWidth,ke=e.dropdownRender,Ee=e.dropdownAlign,De=e.showAction,Me=void 0===De?[]:De,Ne=e.direction,Le=e.tokenSeparators,Ie=e.tagRender,Te=e.onPopupScroll,Pe=e.onDropdownVisibleChange,Ae=e.onFocus,Re=e.onBlur,je=e.onKeyUp,Fe=e.onKeyDown,Be=e.onMouseDown,Ve=e.onChange,ze=e.onSelect,We=e.onDeselect,He=e.internalProps,Ue=void 0===He?{}:He,Ke=Object(a["a"])(e,["prefixCls","className","id","open","defaultOpen","options","children","mode","value","defaultValue","labelInValue","showSearch","inputValue","searchValue","filterOption","optionFilterProp","autoClearSearchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","menuItemSelectedIcon","disabled","loading","defaultActiveFirstOption","notFoundContent","optionLabelProp","backfill","getInputElement","getPopupContainer","listHeight","listItemHeight","animation","transitionName","virtual","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown","onChange","onSelect","onDeselect","internalProps"]),Ge=Ue.mark===ae["a"],qe=y?y(Ke):Ke;me.forEach((function(e){delete qe[e]}));var Ye=s["useRef"](null),Xe=s["useRef"](null),Ze=s["useRef"](null),Qe=s["useRef"](null),$e=se(),Je=Object(o["a"])($e,3),et=Je[0],tt=Je[1],nt=Je[2],rt=s["useState"](),it=Object(o["a"])(rt,2),ot=it[0],at=it[1];s["useEffect"]((function(){at("rc_select_".concat(Object(V["a"])()))}),[]);var st=S||ot,lt=re;void 0===lt&&(lt=E?"label":"children");var ut="combobox"!==M&&I,ct="tags"===M||"multiple"===M,dt=void 0!==P?P:ct||"combobox"===M,ht=s["useRef"](null);s["useImperativeHandle"](b,(function(){return{focus:Ze.current.focus,blur:Ze.current.blur}}));var ft=s["useState"](N||L),pt=Object(o["a"])(ft,2),gt=pt[0],mt=pt[1],vt=void 0!==N?N:gt,yt=s["useRef"](N);s["useEffect"]((function(){yt.current===N||void 0!==N&&null!==N||mt(void 0),yt.current=N}),[N]);var bt=s["useMemo"]((function(){return Object(V["e"])(vt,{labelInValue:ut,combobox:"combobox"===M})}),[vt,ut]),_t=s["useMemo"]((function(){return new Set(bt)}),[bt]),wt=s["useState"](null),xt=Object(o["a"])(wt,2),Ct=xt[0],St=xt[1],Ot=s["useState"](""),kt=Object(o["a"])(Ot,2),Et=kt[0],Dt=kt[1],Mt=Et;"combobox"===M&&void 0!==N?Mt=N:void 0!==R?Mt=R:A&&(Mt=A);var Nt=s["useMemo"]((function(){var e=E;return void 0===e&&(e=l(D)),"tags"===M&&v&&(e=v(e,vt,lt,I)),e||[]}),[E,D,M,vt]),Lt=s["useMemo"]((function(){return c(Nt,e)}),[Nt]),It=fe(bt,Lt),Tt=s["useMemo"]((function(){if(!Mt||!dt)return Object(i["a"])(Nt);var e=p(Mt,Nt,{optionFilterProp:B,filterOption:"combobox"===M&&void 0===j?function(){return!0}:j});return"tags"===M&&e.every((function(e){return e.value!==Mt}))&&e.unshift({value:Mt,label:Mt,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),e}),[Nt,Mt,M,dt]),Pt=s["useMemo"]((function(){return c(Tt,e)}),[Tt]);s["useEffect"]((function(){Qe.current&&Qe.current.scrollTo&&Qe.current.scrollTo(0)}),[Mt]);var At=s["useMemo"]((function(){return bt.map((function(e){var t=It([e]),n=f(e,{options:t,prevValue:vt,labelInValue:ut,optionLabelProp:lt});return ge(ge({},n),{},{disabled:g(e,t)})}))}),[vt,Nt]);At=he(At);var Rt=function(e,t,n){var r=It([e]),i=m([e],r)[0];if(!Ue.skipTriggerSelect){var o=ut?f(e,{options:r,prevValue:vt,labelInValue:ut,optionLabelProp:lt}):e;t&&ze?ze(o,i):!t&&We&&We(o,i)}Ge&&(t&&Ue.onRawSelect?Ue.onRawSelect(e,i,n):!t&&Ue.onRawDeselect&&Ue.onRawDeselect(e,i,n))},jt=function(e){if(!Ge||!Ue.skipTriggerChange){var t=It(e),n=Object(V["f"])(Array.from(e),{labelInValue:ut,options:t,getLabeledValue:f,prevValue:vt,optionLabelProp:lt}),r=ct?n:n[0];if(Ve&&(0!==bt.length||0!==n.length)){var i=m(e,t);Ve(r,ct?i:i[0])}mt(r)}},Ft=function(e,t){var n,r=t.selected,i=t.source;Q||(ct?(n=new Set(bt),r?n.add(e):n.delete(e)):(n=new Set,n.add(e)),(ct||!ct&&Array.from(bt)[0]!==e)&&jt(Array.from(n)),Rt(e,!ct||r,i),"combobox"===M?(Dt(String(e)),St("")):ct&&!H||(Dt(""),St("")))},Bt=function(e,t){Ft(e,ge(ge({},t),{},{source:"option"}))},Vt=function(e,t){Ft(e,ge(ge({},t),{},{source:"selection"}))},zt="combobox"===M&&ce&&ce()||null,Wt=Object(h["a"])(void 0,{defaultValue:k,value:O}),Ht=Object(o["a"])(Wt,2),Ut=Ht[0],Kt=Ht[1],Gt=Ut,qt=!ne&&!Tt.length;(Q||qt&&Gt&&"combobox"===M)&&(Gt=!1);var Yt=!qt&&Gt,Xt=function(e){var t=void 0!==e?e:!Gt;Ut===t||Q||(Kt(t),Pe&&Pe(t))};ue([Ye.current,Xe.current&&Xe.current.getPopupElement()],Yt,Xt);var Zt=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!0,r=e;St(null);var o=Object(le["f"])(e,Le),a=o;if("combobox"===M)t&&jt([r]);else if(o){r="","tags"!==M&&(a=o.map((function(e){var t=Lt.find((function(t){var n=t.data;return n[lt]===e}));return t?t.data.value:null})).filter((function(e){return null!==e})));var s=Array.from(new Set([].concat(Object(i["a"])(bt),Object(i["a"])(a))));jt(s),s.forEach((function(e){Rt(e,!0,"input")})),Xt(!1),n=!1}return Dt(r),U&&Mt!==r&&U(r),n};s["useEffect"]((function(){Ut&&Q&&Kt(!1)}),[Q]),s["useEffect"]((function(){Gt||ct||"combobox"===M||Zt("",!1)}),[Gt]);var Qt=X(),$t=Object(o["a"])(Qt,2),Jt=$t[0],en=$t[1],tn=function(e){var t,n=Jt(),r=e.which;if(Gt||r!==u["a"].ENTER||Xt(!0),en(!!Mt),r===u["a"].BACKSPACE&&!n&&ct&&!Mt&&bt.length){var i=Object(V["c"])(At,bt);null!==i.removedValue&&(jt(i.values),Rt(i.removedValue,!1,"input"))}for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];Gt&&Qe.current&&(t=Qe.current).onKeyDown.apply(t,[e].concat(a));Fe&&Fe.apply(void 0,[e].concat(a))},nn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i;Gt&&Qe.current&&(i=Qe.current).onKeyUp.apply(i,[e].concat(n));je&&je.apply(void 0,[e].concat(n))},rn=s["useRef"](!1),on=function(){tt(!0),Q||(Ae&&!rn.current&&Ae.apply(void 0,arguments),Me.includes("focus")&&Xt(!0)),rn.current=!0},an=function(){tt(!1,(function(){rn.current=!1,Xt(!1)})),Q||(Mt&&("tags"===M?(Zt("",!1),jt(Array.from(new Set([].concat(Object(i["a"])(bt),[Mt]))))):"multiple"===M&&Dt("")),Re&&Re.apply(void 0,arguments))},sn=[];s["useEffect"]((function(){return function(){sn.forEach((function(e){return clearTimeout(e)})),sn.splice(0,sn.length)}}),[]);var ln=function(e){var t=e.target,n=Xe.current&&Xe.current.getPopupElement();if(n&&n.contains(t)){var r=setTimeout((function(){var e=sn.indexOf(r);-1!==e&&sn.splice(e,1),nt(),n.contains(document.activeElement)||Ze.current.focus()}));sn.push(r)}if(Be){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];Be.apply(void 0,[e].concat(o))}},un=s["useState"](0),cn=Object(o["a"])(un,2),dn=cn[0],hn=cn[1],fn=void 0!==ee?ee:"combobox"!==M,pn=function(e,t){hn(t),ie&&"combobox"===M&&null!==e&&St(String(e))},gn=s["useState"](null),mn=Object(o["a"])(gn,2),vn=mn[0],yn=mn[1];z((function(){if(Yt){var e=Math.ceil(Ye.current.offsetWidth);vn!==e&&yn(e)}}),[Yt]);var bn,_n=s["createElement"](n,{ref:Qe,prefixCls:x,id:st,open:Gt,childrenAsData:!E,options:Tt,flattenOptions:Pt,multiple:ct,values:_t,height:ve,itemHeight:be,onSelect:Bt,onToggleOpen:Xt,onActiveValue:pn,defaultActiveFirstOption:fn,notFoundContent:ne,onScroll:Te,searchValue:Mt,menuItemSelectedIcon:Z,virtual:!1!==xe&&!1!==Oe}),wn=function(){Ge&&Ue.onClear&&Ue.onClear(),jt([]),Zt("",!1)};!Q&&K&&(bt.length||Mt)&&(bn=s["createElement"](T["a"],{className:"".concat(x,"-clear"),onMouseDown:wn,customizeIcon:G},"\xd7"));var xn,Cn=void 0!==q?q:J||!ct&&"combobox"!==M;Cn&&(xn=s["createElement"](T["a"],{className:d()("".concat(x,"-arrow"),Object(r["a"])({},"".concat(x,"-arrow-loading"),J)),customizeIcon:Y,customizeIconProps:{loading:J,searchValue:Mt,open:Gt,focused:et,showSearch:dt}}));var Sn=d()(x,C,(_={},Object(r["a"])(_,"".concat(x,"-focused"),et),Object(r["a"])(_,"".concat(x,"-multiple"),ct),Object(r["a"])(_,"".concat(x,"-single"),!ct),Object(r["a"])(_,"".concat(x,"-allow-clear"),K),Object(r["a"])(_,"".concat(x,"-show-arrow"),Cn),Object(r["a"])(_,"".concat(x,"-disabled"),Q),Object(r["a"])(_,"".concat(x,"-loading"),J),Object(r["a"])(_,"".concat(x,"-open"),Gt),Object(r["a"])(_,"".concat(x,"-customize-input"),zt),Object(r["a"])(_,"".concat(x,"-show-search"),dt),_));return s["createElement"]("div",Object.assign({className:Sn},qe,{ref:Ye,onMouseDown:ln,onKeyDown:tn,onKeyUp:nn,onFocus:on,onBlur:an}),et&&!Gt&&s["createElement"]("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(bt.join(", "))),s["createElement"](oe,{ref:Xe,disabled:Q,prefixCls:x,visible:Yt,popupElement:_n,containerWidth:vn,animation:_e,transitionName:we,dropdownStyle:Ce,dropdownClassName:Se,direction:Ne,dropdownMatchSelectWidth:Oe,dropdownRender:ke,dropdownAlign:Ee,getPopupContainer:de,empty:!Nt.length,getTriggerDOMNode:function(){return ht.current}},s["createElement"]($,Object.assign({},e,{domRef:ht,prefixCls:x,inputElement:zt,ref:Ze,id:st,showSearch:dt,mode:M,accessibilityIndex:dn,multiple:ct,tagRender:Ie,values:At,open:Gt,onToggleOpen:Xt,searchValue:Mt,activeValue:Ct,onSearch:Zt,onSelect:Vt}))),xn,bn)}var _=s["forwardRef"](b);return _}},qPY4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("u4NN"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},qVdP:function(e,t,n){"use strict";n("cIOH"),n("KAsB"),n("+L6B")},qWUW:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("DL4k")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="CaretDownOutlined";var u=o.forwardRef(l);t.default=u},qWt2:function(e,t,n){var r=n("ProS"),i=r.extendComponentModel({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});e.exports=i},qZFw:function(e,t,n){var r=n("bYtY"),i=n("6GrX"),o=n("hM6l"),a=n("4NO4"),s=a.makeInner,l=s();function u(e,t){t=t||[0,360],o.call(this,"angle",e,t),this.type="category"}u.prototype={constructor:u,pointToData:function(e,t){return this.polar.pointToData(e,t)["radius"===this.dim?0:1]},dataToAngle:o.prototype.dataToCoord,angleToData:o.prototype.coordToData,calculateCategoryInterval:function(){var e=this,t=e.getLabelModel(),n=e.scale,r=n.getExtent(),o=n.count();if(r[1]-r[0]<1)return 0;var a=r[0],s=e.dataToCoord(a+1)-e.dataToCoord(a),u=Math.abs(s),c=i.getBoundingRect(a,t.getFont(),"center","top"),d=Math.max(c.height,7),h=d/u;isNaN(h)&&(h=1/0);var f=Math.max(0,Math.floor(h)),p=l(e.model),g=p.lastAutoInterval,m=p.lastTickCount;return null!=g&&null!=m&&Math.abs(g-f)<=1&&Math.abs(m-o)<=1&&g>f?f=g:(p.lastTickCount=o,p.lastAutoInterval=f),f}},r.inherits(u,o);var c=u;e.exports=c},qZTm:function(e,t,n){var r=n("fR/l"),i=n("MvSz"),o=n("7GkX");function a(e){return r(e,o,i)}e.exports=a},qgGe:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("Bsck"),a=n("VaxA"),s=a.wrapTreePathInfo,l=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(e,t){var n={name:e.name,children:e.data};u(n);var r=e.levels||[],i={};return i.levels=r,o.createTree(n,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(e){var t=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(e);return t.treePathInfo=s(n,this),t},defaultOption:{zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,percentPrecision:2,stillShowZeroSum:!0,highlightPolicy:"descendant",nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},highlight:{itemStyle:{opacity:1}},downplay:{itemStyle:{opacity:.5},label:{opacity:.6}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(e){e?this._viewRoot=e:e=this._viewRoot;var t=this.getRawData().tree.root;e&&(e===t||t.contains(e))||(this._viewRoot=t)}});function u(e){var t=0;r.each(e.children,(function(e){u(e);var n=e.value;r.isArray(n)&&(n=n[0]),t+=n}));var n=e.value;r.isArray(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=t),n<0&&(n=0),r.isArray(e.value)?e.value[0]=n:e.value=n}e.exports=l},qj0h:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return h}));var r=n("746U");function i(e){if(!e||"object"!==typeof e)return e;if(e instanceof RegExp)return e;var t=Array.isArray(e)?[]:{};return Object.keys(e).forEach((function(n){e[n]&&"object"===typeof e[n]?t[n]=i(e[n]):t[n]=e[n]})),t}function o(e){if(!e||"object"!==typeof e)return e;var t=[e];while(t.length>0){var n=t.shift();for(var r in Object.freeze(n),n)if(a.call(n,r)){var i=n[r];"object"!==typeof i||Object.isFrozen(i)||t.push(i)}}return e}var a=Object.prototype.hasOwnProperty;function s(e,t){return l(e,t,new Set)}function l(e,t,n){if(Object(r["l"])(e))return e;var i=t(e);if("undefined"!==typeof i)return i;if(Object(r["d"])(e)){for(var o=[],s=0,u=e;s<u.length;s++){var c=u[s];o.push(l(c,t,n))}return o}if(Object(r["i"])(e)){if(n.has(e))throw new Error("Cannot clone recursive data-structure");n.add(e);var d={};for(var h in e)a.call(e,h)&&(d[h]=l(e[h],t,n));return n.delete(e),d}return e}function u(e,t,n){return void 0===n&&(n=!0),Object(r["i"])(e)?(Object(r["i"])(t)&&Object.keys(t).forEach((function(i){i in e?n&&(Object(r["i"])(e[i])&&Object(r["i"])(t[i])?u(e[i],t[i],n):e[i]=t[i]):e[i]=t[i]})),e):t}function c(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){return Object.keys(t).forEach((function(n){return e[n]=t[n]}))})),e}function d(e,t){if(e===t)return!0;if(null===e||void 0===e||null===t||void 0===t)return!1;if(typeof e!==typeof t)return!1;if("object"!==typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var n,r;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(!d(e[n],t[n]))return!1}else{var i=[];for(r in e)i.push(r);i.sort();var o=[];for(r in t)o.push(r);if(o.sort(),!d(i,o))return!1;for(n=0;n<i.length;n++)if(!d(e[i[n]],t[i[n]]))return!1}return!0}function h(e,t,n){var r=t(e);return"undefined"===typeof r?n:r}},qj72:function(e,t,n){var r=n("bYtY");function i(e,t){return t=t||[0,0],r.map(["x","y"],(function(n,r){var i=this.getAxis(n),o=t[r],a=e[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function o(e){var t=e.grid.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=o},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("H84U"),s=n("o/2+"),l=n("CWQg"),u=n("ACnJ");function c(e){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=w();return function(){var n,r=x(e);if(t){var i=x(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},S=(Object(l["a"])("top","middle","bottom","stretch"),Object(l["a"])("start","end","center","space-around","space-between"),function(e){m(n,e);var t=y(n);function n(){var e;return f(this,n),e=t.apply(this,arguments),e.state={screens:{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}},e.renderRow=function(t){var n,i=t.getPrefixCls,a=t.direction,l=e.props,u=l.prefixCls,c=l.justify,f=l.align,p=l.className,g=l.style,m=l.children,v=C(l,["prefixCls","justify","align","className","style","children"]),y=i("row",u),b=e.getGutter(),_=o()(y,(n={},h(n,"".concat(y,"-").concat(c),c),h(n,"".concat(y,"-").concat(f),f),h(n,"".concat(y,"-rtl"),"rtl"===a),n),p),w=d(d(d({},b[0]>0?{marginLeft:b[0]/-2,marginRight:b[0]/-2}:{}),b[1]>0?{marginTop:b[1]/-2,marginBottom:b[1]/2}:{}),g),x=d({},v);return delete x.gutter,r["createElement"](s["a"].Provider,{value:{gutter:b}},r["createElement"]("div",d({},x,{className:_,style:w}),m))},e}return g(n,[{key:"componentDidMount",value:function(){var e=this;this.token=u["a"].subscribe((function(t){var n=e.props.gutter;(!Array.isArray(n)&&"object"===c(n)||Array.isArray(n)&&("object"===c(n[0])||"object"===c(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){u["a"].unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,n=this.state.screens,r=Array.isArray(t)?t:[t,0];return r.forEach((function(t,r){if("object"===c(t))for(var i=0;i<u["b"].length;i++){var o=u["b"][i];if(n[o]&&void 0!==t[o]){e[r]=t[o];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return r["createElement"](a["a"],null,this.renderRow)}}]),n}(r["Component"]));S.defaultProps={gutter:0}},"qt/9":function(e,t,n){var r=n("ProS"),i=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var o=n("nVfU"),a=o.layout,s=n("f5Yq");n("Ae16"),r.registerLayout(i.curry(a,"pictorialBar")),r.registerVisual(s("pictorialBar","roundRect"))},quyA:function(e,t){var n="\\ud800-\\udfff",r="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",a=r+i+o,s="\\ufe0e\\ufe0f",l="\\u200d",u=RegExp("["+l+n+a+s+"]");function c(e){return u.test(e)}e.exports=c},qwVE:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("K4ya"),a=n("XxSj"),s=r.PRIORITY.VISUAL.COMPONENT;function l(e,t,n,r){for(var i=t.targetVisuals[r],o=a.prepareVisualTypes(i),s={color:e.getData().getVisual("color")},l=0,u=o.length;l<u;l++){var c=o[l],d=i["opacity"===c?"__alphaForOpacity":c];d&&d.applyVisual(n,h,f)}return s.color;function h(e){return s[e]}function f(e,t){s[e]=t}}r.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",(function(t){var r=e.pipelineContext;!t.isTargetSeries(e)||r&&r.large||n.push(o.incrementalApplyVisual(t.stateList,t.targetVisuals,i.bind(t.getValueState,t),t.getDataDimension(e.getData())))})),n}}),r.registerVisual(s,{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",(function(t){if(t.isTargetSeries(e)){var o=t.getVisualMeta(i.bind(l,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimension(n),s=n.getDimensionInfo(a);null!=s&&(o.dimension=s.index,r.push(o))}})),e.getData().setVisual("visualMeta",r)}})},qx4F:function(e,t,n){"use strict";var r;function i(e){if("undefined"===typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),i=n.style;i.position="absolute",i.top=0,i.left=0,i.pointerEvents="none",i.visibility="hidden",i.width="200px",i.height="150px",i.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var o=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=n.clientWidth),document.body.removeChild(n),r=o-a}return r}n.d(t,"a",(function(){return i}))},"r+aA":function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("s2MQ")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="EyeInvisibleOutlined";var u=o.forwardRef(l);t.default=u},"r/2G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("+Zaj"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},r0BQ:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}return e}()},r6Bn:function(e,t,n){var r=n("bYtY"),i=n("ItGF"),o=n("4fz+"),a=n("BPZU");function s(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var l=function(){this._roots=[],this._displayList=[],this._displayListLen=0};l.prototype={constructor:l,traverse:function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},getDisplayList:function(e,t){return t=t||!1,e&&this.updateDisplayList(t),this._displayList},updateDisplayList:function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,o=t.length;r<o;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,i.canvasSupported&&a(n,s)},_updateAndAddDisplayable:function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.__dirty&&e.update(),e.afterUpdate();var r=e.clipPath;if(r){t=t?t.slice():[];var i=r,o=e;while(i)i.parent=o,i.updateTransform(),t.push(i),o=i,i=i.clipPath}if(e.isGroup){for(var a=e._children,s=0;s<a.length;s++){var l=a[s];e.__dirty&&(l.__dirty=!0),this._updateAndAddDisplayable(l,t,n)}e.__dirty=!1}else e.__clipPaths=t,this._displayList[this._displayListLen++]=e}},addRoot:function(e){e.__storage!==this&&(e instanceof o&&e.addChildrenToStorage(this),this.addToStorage(e),this._roots.push(e))},delRoot:function(e){if(null==e){for(var t=0;t<this._roots.length;t++){var n=this._roots[t];n instanceof o&&n.delChildrenFromStorage(this)}return this._roots=[],this._displayList=[],void(this._displayListLen=0)}if(e instanceof Array){t=0;for(var i=e.length;t<i;t++)this.delRoot(e[t])}else{var a=r.indexOf(this._roots,e);a>=0&&(this.delFromStorage(e),this._roots.splice(a,1),e instanceof o&&e.delChildrenFromStorage(this))}},addToStorage:function(e){return e&&(e.__storage=this,e.dirty(!1)),this},delFromStorage:function(e){return e&&(e.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s};var u=l;e.exports=u},rA99:function(e,t,n){var r=n("y+Vt"),i=n("QBsz"),o=n("Sj9i"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,u=o.cubicAt,c=o.quadraticDerivativeAt,d=o.cubicDerivativeAt,h=[];function f(e,t,n){var r=e.cpx2,i=e.cpy2;return null===r||null===i?[(n?d:u)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?d:u)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?c:l)(e.x1,e.cpx1,e.x2,t),(n?c:l)(e.y1,e.cpy1,e.y2,t)]}var p=r.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,l=t.cpx1,u=t.cpy1,c=t.cpx2,d=t.cpy2,f=t.percent;0!==f&&(e.moveTo(n,r),null==c||null==d?(f<1&&(a(n,l,i,f,h),l=h[1],i=h[2],a(r,u,o,f,h),u=h[1],o=h[2]),e.quadraticCurveTo(l,u,i,o)):(f<1&&(s(n,l,c,i,f,h),l=h[1],c=h[2],i=h[3],s(r,u,d,o,f,h),u=h[1],d=h[2],o=h[3]),e.bezierCurveTo(l,u,c,d,i,o)))},pointAt:function(e){return f(this.shape,e,!1)},tangentAt:function(e){var t=f(this.shape,e,!0);return i.normalize(t,t)}});e.exports=p},"rAM+":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Qw5x");function i(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(r["a"])(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i["return"]||i["return"]()}finally{if(s)throw o}}}}},rEGp:function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}e.exports=n},rHrb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n("q1tI")),i=o(n("+QRC"));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,r,i=c(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function p(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?m(e):t}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){function t(){var e,n;d(this,t);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=p(this,(e=g(t)).call.apply(e,[this].concat(a))),b(m(n),"onClick",(function(e){var t=n.props,o=t.text,a=t.onCopy,s=t.children,l=t.options,u=r["default"].Children.only(s),c=(0,i["default"])(o,l);a&&a(o,c),u&&u.props&&"function"===typeof u.props.onClick&&u.props.onClick(e)})),n}return v(t,e),f(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=u(e,["text","onCopy","options","children"]),i=r["default"].Children.only(t);return r["default"].cloneElement(i,l({},n,{onClick:this.onClick}))}}]),t}(r["default"].PureComponent);t.CopyToClipboard=_,b(_,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="ReloadOutlined";t["a"]=r["forwardRef"](s)},rUJ1:function(e,t){const n=/[&<>"']/,r=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},s=e=>a[e];function l(e,t){if(t){if(n.test(e))return e.replace(r,s)}else if(i.test(e))return e.replace(o,s);return e}const u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(e){return e.replace(u,(e,t)=>(t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const d=/(^|[^\[])\^/g;function h(e,t){e=e.source||e,t=t||"";const n={replace:(t,r)=>(r=r.source||r,r=r.replace(d,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}const f=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(e,t,n){if(e){let e;try{e=decodeURIComponent(c(n)).replace(f,"").toLowerCase()}catch(r){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!p.test(n)&&(n=_(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(r){return null}return n}const m={},v=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(e,t){m[" "+e]||(v.test(e)?m[" "+e]=e+"/":m[" "+e]=S(e,"/",!0)),e=m[" "+e];const n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(y,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(b,"$1")+t:e+t}const w={exec:function(){}};function x(e){let t,n,r=1;for(;r<arguments.length;r++)for(n in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function C(e,t){const n=e.replace(/\|/g,(e,t,n)=>{let r=!1,i=t;while(--i>=0&&"\\"===n[i])r=!r;return r?"|":" |"}),r=n.split(/ \|/);let i=0;if(r.length>t)r.splice(t);else while(r.length<t)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function S(e,t,n){const r=e.length;if(0===r)return"";let i=0;while(i<r){const o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}function O(e,t){if(-1===e.indexOf(t[1]))return-1;const n=e.length;let r=0,i=0;for(;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&(r--,r<0))return i;return-1}function k(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}e.exports={escape:l,unescape:c,edit:h,cleanUrl:g,resolveUrl:_,noopTest:w,merge:x,splitCells:C,rtrim:S,findClosingBracket:O,checkSanitizeDeprecation:k}},rdUC:function(e,t,n){var r=n("MFOe"),i=r.Global;function o(){return i.localStorage}function a(e){return o().getItem(e)}function s(e,t){return o().setItem(e,t)}function l(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(a(n),n)}}function u(e){return o().removeItem(e)}function c(){return o().clear()}e.exports={name:"localStorage",read:a,write:s,each:l,remove:u,clearAll:c}},rdor:function(e,t,n){var r=n("lOQZ"),i=r.circularLayout;function o(e){e.eachSeriesByType("graph",(function(e){"circular"===e.get("layout")&&i(e,"symbolSize")}))}e.exports=o},rfSb:function(e,t,n){var r=n("T4UG"),i=n("sdST"),o=n("L0Ub"),a=o.getDimensionTypeByAxis,s=n("YXkt"),l=n("bYtY"),u=n("4NO4"),c=u.groupData,d=n("7aKB"),h=d.encodeHTML,f=n("xKMd"),p=2,g=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){g.superApply(this,"init",arguments),this.legendVisualProvider=new f(l.bind(this.getData,this),l.bind(this.getRawData,this))},fixData:function(e){var t=e.length,n=c(e,(function(e){return e[2]})),r=[];n.buckets.each((function(e,t){r.push({name:t,dataList:e})}));for(var i=r.length,o=-1,a=-1,s=0;s<i;++s){var l=r[s].dataList.length;l>o&&(o=l,a=s)}for(var u=0;u<i;++u)if(u!==a)for(var d=r[u].name,h=0;h<o;++h){for(var f=r[a].dataList[h][0],p=r[u].dataList.length,g=-1,m=0;m<p;++m){var v=r[u].dataList[m][0];if(v===f){g=m;break}}-1===g&&(e[t]=[],e[t][0]=f,e[t][1]=0,e[t][2]=d,t++)}return e},getInitialData:function(e,t){for(var n=t.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],r=n.get("type"),o=l.filter(e.data,(function(e){return void 0!==e[2]})),u=this.fixData(o||[]),c=[],d=this.nameMap=l.createHashMap(),h=0,f=0;f<u.length;++f)c.push(u[f][p]),d.get(u[f][p])||(d.set(u[f][p],h),h++);var g=i(u,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:a(r)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),m=new s(g,this);return m.initData(u),m},getLayerSeries:function(){for(var e=this.getData(),t=e.count(),n=[],r=0;r<t;++r)n[r]=r;var i=e.mapDimension("single"),o=c(n,(function(t){return e.get("name",t)})),a=[];return o.buckets.each((function(t,n){t.sort((function(t,n){return e.get(i,t)-e.get(i,n)})),a.push({name:n,indices:t})})),a},getAxisTooltipData:function(e,t,n){l.isArray(e)||(e=e?[e]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,d=-1,h=o[u].indices.length,f=0;f<h;++f){var p=i.get(e[0],o[u].indices[f]),g=Math.abs(p-t);g<=c&&(r=p,c=g,d=o[u].indices[f])}a.push(d)}return{dataIndices:a,nestestValue:r}},formatTooltip:function(e){var t=this.getData(),n=t.getName(e),r=t.get(t.mapDimension("value"),e);return(isNaN(r)||null==r)&&(r="-"),h(n+" : "+r)},defaultOption:{zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",color:"#000",fontSize:11},emphasis:{label:{show:!0}}}}),m=g;e.exports=m},rkZ5:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("ProS")),o=n("c8qY"),a=n("D9ME"),s=n("fls0"),l=n("RSch"),u=n("akwb"),c=n("o40c"),d=n("ZYIC"),h=n("sK/D"),f=h.createClipPath,p=i.extendChartView({type:"lines",init:function(){},render:function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e),o=e.get("zlevel"),a=e.get("effect.trailLength"),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=e.get("clip",!0)&&f(e.coordinateSystem,!1,e);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},incrementalPrepareRender:function(e,t,n){var r=e.getData(),i=this._updateLineDraw(r,e);i.incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},incrementalRender:function(e,t,n){this._lineDraw.incrementalUpdate(e,t.getData()),this._finished=e.end===t.getData().count()},updateTransform:function(e,t,n){var r=e.getData(),i=e.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=d.reset(e);o.progress&&o.progress({start:0,end:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},_updateLineDraw:function(e,t){var n=this._lineDraw,r=this._showEffect(t),i=!!t.get("polyline"),d=t.pipelineContext,h=d.large;return n&&r===this._hasEffet&&i===this._isPolyline&&h===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=h?new c:new o(i?r?u:l:r?a:s),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=h,this.group.removeAll()),this.group.add(n.group),n},_showEffect:function(e){return!!e.get("effect.show")},_clearLayer:function(e){var t=e.getZr(),n="svg"===t.painter.getType();n||null==this._lastZlevel||t.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(e,t){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(t)},dispose:function(){}});e.exports=p},rmlV:function(e,t,n){var r=n("y+Vt"),i=r.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(e,t){var n=.5522848,r=t.cx,i=t.cy,o=t.rx,a=t.ry,s=o*n,l=a*n;e.moveTo(r-o,i),e.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),e.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),e.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),e.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),e.closePath()}});e.exports=i},rnVJ:function(e,t,n){var r=n("bYtY"),i=["rect","polygon","keep","clear"];function o(e,t){var n=e&&e.brush;if(r.isArray(n)||(n=n?[n]:[]),n.length){var o=[];r.each(n,(function(e){var t=e.hasOwnProperty("toolbox")?e.toolbox:[];t instanceof Array&&(o=o.concat(t))}));var s=e&&e.toolbox;r.isArray(s)&&(s=s[0]),s||(s={feature:{}},e.toolbox=[s]);var l=s.feature||(s.feature={}),u=l.brush||(l.brush={}),c=u.type||(u.type=[]);c.push.apply(c,o),a(c),t&&!c.length&&c.push.apply(c,i)}}function a(e){var t={};r.each(e,(function(e){t[e]=1})),e.length=0,r.each(t,(function(t,n){e.push(n)}))}e.exports=o},rugR:function(e,t,n){"use strict";n.r(t),n.d(t,"ModesHoverController",(function(){return no}));n("uAX5");var r=n("3/fG"),i=n("/kV6"),o=n("pmY6"),a=n("sswD"),s=n("aokT"),l=n("wQH0"),u=n("WBhO"),c=n("EffR"),d=n("JQT/"),h=n("zrhQ"),f=n("eLzo"),p=n("cGHE"),g=n("tX9W"),m=n("twdY"),v=n("/cxE"),y=n("bY76"),b=n("G2kB");function _(e,t){var n=[],r=m["c"].ordered(e).reverse(),i=r.map((function(r){return Promise.resolve(r.provideDocumentColors(e,t)).then((function(e){if(Array.isArray(e))for(var t=0,i=e;t<i.length;t++){var o=i[t];n.push({colorInfo:o,provider:r})}}))}));return Promise.all(i).then((function(){return n}))}function w(e,t,n,r){return Promise.resolve(n.provideColorPresentations(e,t,r))}Object(a["j"])("_executeDocumentColorProvider",(function(e,t){var n=t.resource;if(!(n instanceof y["a"]))throw Object(v["b"])();var r=e.get(b["a"]).getModel(n);if(!r)throw Object(v["b"])();var i=[],o=m["c"].ordered(r).reverse(),a=o.map((function(e){return Promise.resolve(e.provideDocumentColors(r,d["a"].None)).then((function(e){if(Array.isArray(e))for(var t=0,n=e;t<n.length;t++){var r=n[t];i.push({range:r.range,color:[r.color.red,r.color.green,r.color.blue,r.color.alpha]})}}))}));return Promise.all(a).then((function(){return i}))})),Object(a["j"])("_executeColorPresentationProvider",(function(e,t){var n=t.resource,r=t.color,i=t.range;if(!(n instanceof y["a"])||!Array.isArray(r)||4!==r.length||!s["a"].isIRange(i))throw Object(v["b"])();var o=r[0],a=r[1],l=r[2],u=r[3],c=e.get(b["a"]).getModel(n);if(!c)throw Object(v["b"])();var h={range:i,color:{red:o,green:a,blue:l,alpha:u}},f=[],p=m["c"].ordered(c).reverse(),g=p.map((function(e){return Promise.resolve(e.provideColorPresentations(c,h,d["a"].None)).then((function(e){Array.isArray(e)&&f.push.apply(f,e)}))}));return Promise.all(g).then((function(){return f}))}));var x=n("X+cX"),C=n("7afs"),S=n("Vxe3"),O=n("+7oY"),k=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},D=function(e,t){return function(n,r){t(n,r,e)}},M=500,N=function(e){function t(t,n,r){var i=e.call(this)||this;return i._editor=t,i._codeEditorService=n,i._configurationService=r,i._localToDispose=i._register(new o["b"]),i._decorationsIds=[],i._colorDatas=new Map,i._colorDecoratorIds=[],i._decorationsTypes=new Set,i._register(t.onDidChangeModel((function(e){i._isEnabled=i.isEnabled(),i.onModelChanged()}))),i._register(t.onDidChangeModelLanguage((function(e){return i.onModelChanged()}))),i._register(m["c"].onDidChange((function(e){return i.onModelChanged()}))),i._register(t.onDidChangeConfiguration((function(e){var t=i._isEnabled;i._isEnabled=i.isEnabled(),t!==i._isEnabled&&(i._isEnabled?i.onModelChanged():i.removeAllDecorations())}))),i._timeoutTimer=null,i._computePromise=null,i._isEnabled=i.isEnabled(),i.onModelChanged(),i}return k(t,e),t.prototype.isEnabled=function(){var e=this._editor.getModel();if(!e)return!1;var t=e.getLanguageIdentifier(),n=this._configurationService.getValue(t.language);if(n){var r=n["colorDecorators"];if(r&&void 0!==r["enable"]&&!r["enable"])return r["enable"]}return this._editor.getOption(12)},t.get=function(e){return e.getContribution(this.ID)},t.prototype.dispose=function(){this.stop(),this.removeAllDecorations(),e.prototype.dispose.call(this)},t.prototype.onModelChanged=function(){var e=this;if(this.stop(),this._isEnabled){var n=this._editor.getModel();n&&m["c"].has(n)&&(this._localToDispose.add(this._editor.onDidChangeModelContent((function(n){e._timeoutTimer||(e._timeoutTimer=new x["e"],e._timeoutTimer.cancelAndSet((function(){e._timeoutTimer=null,e.beginCompute()}),t.RECOMPUTE_TIME))}))),this.beginCompute())}},t.prototype.beginCompute=function(){var e=this;this._computePromise=Object(x["f"])((function(t){var n=e._editor.getModel();return n?_(n,t):Promise.resolve([])})),this._computePromise.then((function(t){e.updateDecorations(t),e.updateColorDecorators(t),e._computePromise=null}),v["e"])},t.prototype.stop=function(){this._timeoutTimer&&(this._timeoutTimer.cancel(),this._timeoutTimer=null),this._computePromise&&(this._computePromise.cancel(),this._computePromise=null),this._localToDispose.clear()},t.prototype.updateDecorations=function(e){var t=this,n=e.map((function(e){return{range:{startLineNumber:e.colorInfo.range.startLineNumber,startColumn:e.colorInfo.range.startColumn,endLineNumber:e.colorInfo.range.endLineNumber,endColumn:e.colorInfo.range.endColumn},options:g["a"].EMPTY}}));this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,n),this._colorDatas=new Map,this._decorationsIds.forEach((function(n,r){return t._colorDatas.set(n,e[r])}))},t.prototype.updateColorDecorators=function(e){for(var t=this,n=[],r={},i=0;i<e.length&&n.length<M;i++){var o=e[i].colorInfo.color,a=o.red,s=o.green,l=o.blue,u=o.alpha,c=new h["c"](Math.round(255*a),Math.round(255*s),Math.round(255*l),u),d=Object(C["a"])(c).toString(16),f="rgba("+c.r+", "+c.g+", "+c.b+", "+c.a+")",p="colorBox-"+d;this._decorationsTypes.has(p)||r[p]||this._codeEditorService.registerDecorationType(p,{before:{contentText:" ",border:"solid 0.1em #000",margin:"0.1em 0.2em 0 0.2em",width:"0.8em",height:"0.8em",backgroundColor:f},dark:{before:{border:"solid 0.1em #eee"}}},void 0,this._editor),r[p]=!0,n.push({range:{startLineNumber:e[i].colorInfo.range.startLineNumber,startColumn:e[i].colorInfo.range.startColumn,endLineNumber:e[i].colorInfo.range.endLineNumber,endColumn:e[i].colorInfo.range.endColumn},options:this._codeEditorService.resolveDecorationOptions(p,!0)})}this._decorationsTypes.forEach((function(e){r[e]||t._codeEditorService.removeDecorationType(e)})),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,n)},t.prototype.removeAllDecorations=function(){var e=this;this._decorationsIds=this._editor.deltaDecorations(this._decorationsIds,[]),this._colorDecoratorIds=this._editor.deltaDecorations(this._colorDecoratorIds,[]),this._decorationsTypes.forEach((function(t){e._codeEditorService.removeDecorationType(t)}))},t.prototype.getColorData=function(e){var t=this,n=this._editor.getModel();if(!n)return null;var r=n.getDecorationsInRange(s["a"].fromPositions(e,e)).filter((function(e){return t._colorDatas.has(e.id)}));return 0===r.length?null:this._colorDatas.get(r[0].id)},t.ID="editor.contrib.colorDetector",t.RECOMPUTE_TIME=1e3,t=E([D(1,S["a"]),D(2,O["a"])],t),t}(o["a"]);Object(a["h"])(N.ID,N);var L=n("MI8n"),I=function(){function e(e,t,n){this.presentationIndex=n,this._onColorFlushed=new L["a"],this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new L["a"],this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new L["a"],this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=e,this._color=e,this._colorPresentations=t}return Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(e){this._color.equals(e)||(this._color=e,this._onDidChangeColor.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"presentation",{get:function(){return this.colorPresentations[this.presentationIndex]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorPresentations",{get:function(){return this._colorPresentations},set:function(e){this._colorPresentations=e,this.presentationIndex>e.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)},enumerable:!0,configurable:!0}),e.prototype.selectNextColorPresentation=function(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)},e.prototype.guessColorPresentation=function(e,t){for(var n=0;n<this.colorPresentations.length;n++)if(t===this.colorPresentations[n].label){this.presentationIndex=n,this._onDidChangePresentation.fire(this.presentation);break}},e.prototype.flushColor=function(){this._onColorFlushed.fire(this._color)},e}(),T=(n("EPS+"),n("D3Dy")),P=n("AKMP"),A=n("G300"),R=n("MD5Z"),j=n("t9D7"),F=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=c["a"],V=function(e){function t(t,n,r){var i=e.call(this)||this;i.model=n,i.domNode=B(".colorpicker-header"),c["p"](t,i.domNode),i.pickedColorNode=c["p"](i.domNode,B(".picked-color"));var o=c["p"](i.domNode,B(".original-color"));return o.style.backgroundColor=h["a"].Format.CSS.format(i.model.originalColor)||"",i.backgroundColor=r.getTheme().getColor(R["A"])||h["a"].white,i._register(Object(j["e"])((function(e,t){i.backgroundColor=e.getColor(R["A"])||h["a"].white}))),i._register(c["i"](i.pickedColorNode,c["c"].CLICK,(function(){return i.model.selectNextColorPresentation()}))),i._register(c["i"](o,c["c"].CLICK,(function(){i.model.color=i.model.originalColor,i.model.flushColor()}))),i._register(n.onDidChangeColor(i.onDidChangeColor,i)),i._register(n.onDidChangePresentation(i.onDidChangePresentation,i)),i.pickedColorNode.style.backgroundColor=h["a"].Format.CSS.format(n.color)||"",c["X"](i.pickedColorNode,"light",n.color.rgba.a<.5?i.backgroundColor.isLighter():n.color.isLighter()),i}return F(t,e),t.prototype.onDidChangeColor=function(e){this.pickedColorNode.style.backgroundColor=h["a"].Format.CSS.format(e)||"",c["X"](this.pickedColorNode,"light",e.rgba.a<.5?this.backgroundColor.isLighter():e.isLighter()),this.onDidChangePresentation()},t.prototype.onDidChangePresentation=function(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:""},t}(o["a"]),z=function(e){function t(t,n,r){var i=e.call(this)||this;return i.model=n,i.pixelRatio=r,i.domNode=B(".colorpicker-body"),c["p"](t,i.domNode),i.saturationBox=new W(i.domNode,i.model,i.pixelRatio),i._register(i.saturationBox),i._register(i.saturationBox.onDidChange(i.onDidSaturationValueChange,i)),i._register(i.saturationBox.onColorFlushed(i.flushColor,i)),i.opacityStrip=new U(i.domNode,i.model),i._register(i.opacityStrip),i._register(i.opacityStrip.onDidChange(i.onDidOpacityChange,i)),i._register(i.opacityStrip.onColorFlushed(i.flushColor,i)),i.hueStrip=new K(i.domNode,i.model),i._register(i.hueStrip),i._register(i.hueStrip.onDidChange(i.onDidHueChange,i)),i._register(i.hueStrip.onColorFlushed(i.flushColor,i)),i}return F(t,e),t.prototype.flushColor=function(){this.model.flushColor()},t.prototype.onDidSaturationValueChange=function(e){var t=e.s,n=e.v,r=this.model.color.hsva;this.model.color=new h["a"](new h["b"](r.h,t,n,r.a))},t.prototype.onDidOpacityChange=function(e){var t=this.model.color.hsva;this.model.color=new h["a"](new h["b"](t.h,t.s,t.v,e))},t.prototype.onDidHueChange=function(e){var t=this.model.color.hsva,n=360*(1-e);this.model.color=new h["a"](new h["b"](360===n?0:n,t.s,t.v,t.a))},t.prototype.layout=function(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()},t}(o["a"]),W=function(e){function t(t,n,r){var i=e.call(this)||this;return i.model=n,i.pixelRatio=r,i._onDidChange=new L["a"],i.onDidChange=i._onDidChange.event,i._onColorFlushed=new L["a"],i.onColorFlushed=i._onColorFlushed.event,i.domNode=B(".saturation-wrap"),c["p"](t,i.domNode),i.canvas=document.createElement("canvas"),i.canvas.className="saturation-box",c["p"](i.domNode,i.canvas),i.selection=B(".saturation-selection"),c["p"](i.domNode,i.selection),i.layout(),i._register(c["g"](i.domNode,(function(e){return i.onMouseDown(e)}))),i._register(i.model.onDidChangeColor(i.onDidChangeColor,i)),i.monitor=null,i}return F(t,e),t.prototype.onMouseDown=function(e){var t=this;this.monitor=this._register(new P["a"]);var n=c["B"](this.domNode);e.target!==this.selection&&this.onDidChangePosition(e.offsetX,e.offsetY),this.monitor.startMonitoring(e.target,e.buttons,P["b"],(function(e){return t.onDidChangePosition(e.posx-n.left,e.posy-n.top)}),(function(){return null}));var r=c["h"](document,(function(){t._onColorFlushed.fire(),r.dispose(),t.monitor&&(t.monitor.stopMonitoring(!0),t.monitor=null)}),!0)},t.prototype.onDidChangePosition=function(e,t){var n=Math.max(0,Math.min(1,e/this.width)),r=Math.max(0,Math.min(1,1-t/this.height));this.paintSelection(n,r),this._onDidChange.fire({s:n,v:r})},t.prototype.layout=function(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();var e=this.model.color.hsva;this.paintSelection(e.s,e.v)},t.prototype.paint=function(){var e=this.model.color.hsva,t=new h["a"](new h["b"](e.h,1,1,1)),n=this.canvas.getContext("2d"),r=n.createLinearGradient(0,0,this.canvas.width,0);r.addColorStop(0,"rgba(255, 255, 255, 1)"),r.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),r.addColorStop(1,"rgba(255, 255, 255, 0)");var i=n.createLinearGradient(0,0,0,this.canvas.height);i.addColorStop(0,"rgba(0, 0, 0, 0)"),i.addColorStop(1,"rgba(0, 0, 0, 1)"),n.rect(0,0,this.canvas.width,this.canvas.height),n.fillStyle=h["a"].Format.CSS.format(t),n.fill(),n.fillStyle=r,n.fill(),n.fillStyle=i,n.fill()},t.prototype.paintSelection=function(e,t){this.selection.style.left=e*this.width+"px",this.selection.style.top=this.height-t*this.height+"px"},t.prototype.onDidChangeColor=function(){this.monitor&&this.monitor.isMonitoring()||this.paint()},t}(o["a"]),H=function(e){function t(t,n){var r=e.call(this)||this;return r.model=n,r._onDidChange=new L["a"],r.onDidChange=r._onDidChange.event,r._onColorFlushed=new L["a"],r.onColorFlushed=r._onColorFlushed.event,r.domNode=c["p"](t,B(".strip")),r.overlay=c["p"](r.domNode,B(".overlay")),r.slider=c["p"](r.domNode,B(".slider")),r.slider.style.top="0px",r._register(c["g"](r.domNode,(function(e){return r.onMouseDown(e)}))),r.layout(),r}return F(t,e),t.prototype.layout=function(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;var e=this.getValue(this.model.color);this.updateSliderPosition(e)},t.prototype.onMouseDown=function(e){var t=this,n=this._register(new P["a"]),r=c["B"](this.domNode);c["e"](this.domNode,"grabbing"),e.target!==this.slider&&this.onDidChangeTop(e.offsetY),n.startMonitoring(e.target,e.buttons,P["b"],(function(e){return t.onDidChangeTop(e.posy-r.top)}),(function(){return null}));var i=c["h"](document,(function(){t._onColorFlushed.fire(),i.dispose(),n.stopMonitoring(!0),c["O"](t.domNode,"grabbing")}),!0)},t.prototype.onDidChangeTop=function(e){var t=Math.max(0,Math.min(1,1-e/this.height));this.updateSliderPosition(t),this._onDidChange.fire(t)},t.prototype.updateSliderPosition=function(e){this.slider.style.top=(1-e)*this.height+"px"},t}(o["a"]),U=function(e){function t(t,n){var r=e.call(this,t,n)||this;return c["e"](r.domNode,"opacity-strip"),r._register(n.onDidChangeColor(r.onDidChangeColor,r)),r.onDidChangeColor(r.model.color),r}return F(t,e),t.prototype.onDidChangeColor=function(e){var t=e.rgba,n=t.r,r=t.g,i=t.b,o=new h["a"](new h["c"](n,r,i,1)),a=new h["a"](new h["c"](n,r,i,0));this.overlay.style.background="linear-gradient(to bottom, "+o+" 0%, "+a+" 100%)"},t.prototype.getValue=function(e){return e.hsva.a},t}(H),K=function(e){function t(t,n){var r=e.call(this,t,n)||this;return c["e"](r.domNode,"hue-strip"),r}return F(t,e),t.prototype.getValue=function(e){return 1-e.hsva.h/360},t}(H),G=function(e){function t(t,n,r,i){var o=e.call(this)||this;o.model=n,o.pixelRatio=r,o._register(Object(T["o"])((function(){return o.layout()})));var a=B(".colorpicker-widget");t.appendChild(a);var s=new V(a,o.model,i);return o.body=new z(a,o.model,o.pixelRatio),o._register(s),o._register(o.body),o}return F(t,e),t.prototype.layout=function(){this.body.layout()},t}(A["a"]),q=n("6OMU");function Y(e,t,n){var r=m["o"].ordered(e),i=r.map((function(r){return Promise.resolve(r.provideHover(e,t,n)).then((function(e){return e&&X(e)?e:void 0}),(function(e){Object(v["f"])(e)}))}));return Promise.all(i).then(q["d"])}function X(e){var t="undefined"!==typeof e.range,n="undefined"!==typeof e.contents&&e.contents&&e.contents.length>0;return t&&n}Object(a["k"])("_executeHoverProvider",(function(e,t){return Y(e,t,d["a"].None)}));var Z,Q=function(){function e(e,t,n,r,i){var o=this;this._computer=e,this._state=0,this._hoverTime=i,this._firstWaitScheduler=new x["d"]((function(){return o._triggerAsyncComputation()}),0),this._secondWaitScheduler=new x["d"]((function(){return o._triggerSyncComputation()}),0),this._loadingMessageScheduler=new x["d"]((function(){return o._showLoadingMessage()}),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=t,this._errorCallback=n,this._progressCallback=r}return e.prototype.setHoverTime=function(e){this._hoverTime=e},e.prototype._firstWaitTime=function(){return this._hoverTime/2},e.prototype._secondWaitTime=function(){return this._hoverTime/2},e.prototype._loadingMessageTime=function(){return 3*this._hoverTime},e.prototype._triggerAsyncComputation=function(){var e=this;this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=Object(x["f"])((function(t){return e._computer.computeAsync(t)})),this._asyncComputationPromise.then((function(t){e._asyncComputationPromiseDone=!0,e._withAsyncResult(t)}),(function(t){return e._onError(t)}))):this._asyncComputationPromiseDone=!0},e.prototype._triggerSyncComputation=function(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))},e.prototype._showLoadingMessage=function(){3===this._state&&this._onProgress(this._computer.getResultWithLoadingMessage())},e.prototype._withAsyncResult=function(e){e&&this._computer.onResult(e,!1),3===this._state&&(this._state=0,this._onComplete(this._computer.getResult()))},e.prototype._onComplete=function(e){this._completeCallback&&this._completeCallback(e)},e.prototype._onError=function(e){this._errorCallback?this._errorCallback(e):Object(v["e"])(e)},e.prototype._onProgress=function(e){this._progressCallback&&this._progressCallback(e)},e.prototype.start=function(e){if(0===e)0===this._state&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}},e.prototype.cancel=function(){this._loadingMessageScheduler.cancel(),1===this._state&&this._firstWaitScheduler.cancel(),2===this._state&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),3===this._state&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0},e}(),$=n("GJhM"),J=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ee=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},te=function(e){function t(t,n){var r=e.call(this)||this;return r.allowEditorOverflow=!0,r._id=t,r._editor=n,r._isVisible=!1,r._stoleFocus=!1,r._containerDomNode=document.createElement("div"),r._containerDomNode.className="monaco-editor-hover hidden",r._containerDomNode.tabIndex=0,r._domNode=document.createElement("div"),r._domNode.className="monaco-editor-hover-content",r.scrollbar=new $["a"](r._domNode,{}),r._register(r.scrollbar),r._containerDomNode.appendChild(r.scrollbar.getDomNode()),r.onkeydown(r._containerDomNode,(function(e){e.equals(9)&&r.hide()})),r._register(r._editor.onDidChangeConfiguration((function(e){e.hasChanged(34)&&r.updateFont()}))),r._editor.onDidLayoutChange((function(e){return r.layout()})),r.layout(),r._editor.addContentWidget(r),r._showAtPosition=null,r._showAtRange=null,r._stoleFocus=!1,r}return J(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this._isVisible=e,Object(c["X"])(this._containerDomNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._containerDomNode},t.prototype.showAt=function(e,t,n){this._showAtPosition=e,this._showAtRange=t,this.isVisible=!0,this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=n,n&&this._containerDomNode.focus()},t.prototype.hide=function(){this.isVisible&&(this.isVisible=!1,this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus())},t.prototype.getPosition=function(){return this.isVisible?{position:this._showAtPosition,range:this._showAtRange,preference:[1,2]}:null},t.prototype.dispose=function(){this._editor.removeContentWidget(this),e.prototype.dispose.call(this)},t.prototype.updateFont=function(){var e=this,t=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));t.forEach((function(t){return e._editor.applyFontInfo(t)}))},t.prototype.updateContents=function(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont(),this._editor.layoutContentWidget(this),this.onContentsChange()},t.prototype.onContentsChange=function(){this.scrollbar.scanDomNode()},t.prototype.layout=function(){var e=Math.max(this._editor.getLayoutInfo().height/4,250),t=this._editor.getOption(34),n=t.fontSize,r=t.lineHeight;this._domNode.style.fontSize=n+"px",this._domNode.style.lineHeight=r+"px",this._domNode.style.maxHeight=e+"px",this._domNode.style.maxWidth=Math.max(.66*this._editor.getLayoutInfo().width,500)+"px"},t}(A["a"]),ne=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._editor=n,r._isVisible=!1,r._domNode=document.createElement("div"),r._domNode.className="monaco-editor-hover hidden",r._domNode.setAttribute("aria-hidden","true"),r._domNode.setAttribute("role","presentation"),r._showAtLineNumber=-1,r._register(r._editor.onDidChangeConfiguration((function(e){e.hasChanged(34)&&r.updateFont()}))),r._editor.addOverlayWidget(r),r}return J(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._isVisible},set:function(e){this._isVisible=e,Object(c["X"])(this._domNode,"hidden",!this._isVisible)},enumerable:!0,configurable:!0}),t.prototype.getId=function(){return this._id},t.prototype.getDomNode=function(){return this._domNode},t.prototype.showAt=function(e){this._showAtLineNumber=e,this.isVisible||(this.isVisible=!0);var t=this._editor.getLayoutInfo(),n=this._editor.getTopForLineNumber(this._showAtLineNumber),r=this._editor.getScrollTop(),i=this._editor.getOption(49),o=this._domNode.clientHeight,a=n-r-(o-i)/2;this._domNode.style.left=t.glyphMarginLeft+t.glyphMarginWidth+"px",this._domNode.style.top=Math.max(Math.round(a),0)+"px"},t.prototype.hide=function(){this.isVisible&&(this.isVisible=!1)},t.prototype.getPosition=function(){return null},t.prototype.dispose=function(){this._editor.removeOverlayWidget(this),e.prototype.dispose.call(this)},t.prototype.updateFont=function(){var e=this,t=Array.prototype.slice.call(this._domNode.getElementsByTagName("code")),n=Array.prototype.slice.call(this._domNode.getElementsByClassName("code"));ee(t,n).forEach((function(t){return e._editor.applyFontInfo(t)}))},t.prototype.updateContents=function(e){this._domNode.textContent="",this._domNode.appendChild(e),this.updateFont()},t}(A["a"]),re=n("3qCu"),ie=n("tADe"),oe=n("gslv"),ae=n("W9cx"),se=n("T8No"),le=(n("/oaI"),n("3rx1")),ue=(n("e1ni"),n("WqXY")),ce=n("8HAY"),de=n("qj0h"),he=n("N0LK"),fe=n("nB0o"),pe=n("nnTU"),ge=n("Cg/j"),me=n("sM1p"),ve=n("R3nR"),ye=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),be=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},_e=function(e,t){return function(n,r){t(n,r,e)}},we=function(e){function t(t,n,r,i,o,a,s,l,u,c){var d=e.call(this,t,r.getRawOptions(),{},i,o,a,s,l,u,c)||this;return d._parentEditor=r,d._overwriteOptions=n,e.prototype.updateOptions.call(d,d._overwriteOptions),d._register(r.onDidChangeConfiguration((function(e){return d._onParentConfigurationChanged(e)}))),d}return ye(t,e),t.prototype.getParentEditor=function(){return this._parentEditor},t.prototype._onParentConfigurationChanged=function(t){e.prototype.updateOptions.call(this,this._parentEditor.getRawOptions()),e.prototype.updateOptions.call(this,this._overwriteOptions)},t.prototype.updateOptions=function(t){de["g"](this._overwriteOptions,t,!0),e.prototype.updateOptions.call(this,this._overwriteOptions)},t=be([_e(3,ge["a"]),_e(4,S["a"]),_e(5,pe["b"]),_e(6,se["c"]),_e(7,j["c"]),_e(8,me["a"]),_e(9,ve["b"])],t),t}(fe["a"]),xe=(n("uWgD"),n("cMOf")),Ce=n("nD70"),Se=new h["a"](new h["c"](0,122,204)),Oe={showArrow:!0,showFrame:!0,className:"",frameColor:Se,arrowColor:Se,keepEditorSelection:!1},ke="vs.editor.contrib.zoneWidget",Ee=function(){function e(e,t,n,r,i,o){this.id="",this.domNode=e,this.afterLineNumber=t,this.afterColumn=n,this.heightInLines=r,this._onDomNodeTop=i,this._onComputedHeight=o}return e.prototype.onDomNodeTop=function(e){this._onDomNodeTop(e)},e.prototype.onComputedHeight=function(e){this._onComputedHeight(e)},e}(),De=function(){function e(e,t){this._id=e,this._domNode=t}return e.prototype.getId=function(){return this._id},e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return null},e}(),Me=function(){function e(t){this._editor=t,this._ruleName=e._IdGenerator.nextId(),this._decorations=[],this._color=null,this._height=-1}return e.prototype.dispose=function(){this.hide(),c["N"](this._ruleName)},Object.defineProperty(e.prototype,"color",{set:function(e){this._color!==e&&(this._color=e,this._updateStyle())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{set:function(e){this._height!==e&&(this._height=e,this._updateStyle())},enumerable:!0,configurable:!0}),e.prototype._updateStyle=function(){c["N"](this._ruleName),c["u"](".monaco-editor "+this._ruleName,"border-style: solid; border-color: transparent; border-bottom-color: "+this._color+"; border-width: "+this._height+"px; bottom: -"+this._height+"px; margin-left: -"+this._height+"px; ")},e.prototype.show=function(e){this._decorations=this._editor.deltaDecorations(this._decorations,[{range:s["a"].fromPositions(e),options:{className:this._ruleName,stickiness:1}}])},e.prototype.hide=function(){this._editor.deltaDecorations(this._decorations,[])},e._IdGenerator=new Ce["a"](".arrow-decoration-"),e}(),Ne=function(){function e(e,t){var n=this;void 0===t&&(t={}),this._arrow=null,this._overlayWidget=null,this._resizeSash=null,this._positionMarkerId=[],this._viewZone=null,this._disposables=new o["b"],this.container=null,this._isShowing=!1,this.editor=e,this.options=de["c"](t),de["g"](this.options,Oe,!1),this.domNode=document.createElement("div"),this.options.isAccessible||(this.domNode.setAttribute("aria-hidden","true"),this.domNode.setAttribute("role","presentation")),this._disposables.add(this.editor.onDidLayoutChange((function(e){var t=n._getWidth(e);n.domNode.style.width=t+"px",n.domNode.style.left=n._getLeft(e)+"px",n._onWidth(t)})))}return e.prototype.dispose=function(){var e=this;this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._viewZone&&this.editor.changeViewZones((function(t){e._viewZone&&t.removeZone(e._viewZone.id),e._viewZone=null})),this.editor.deltaDecorations(this._positionMarkerId,[]),this._positionMarkerId=[],this._disposables.dispose()},e.prototype.create=function(){c["e"](this.domNode,"zone-widget"),this.options.className&&c["e"](this.domNode,this.options.className),this.container=document.createElement("div"),c["e"](this.container,"zone-widget-container"),this.domNode.appendChild(this.container),this.options.showArrow&&(this._arrow=new Me(this.editor),this._disposables.add(this._arrow)),this._fillContainer(this.container),this._initSash(),this._applyStyles()},e.prototype.style=function(e){e.frameColor&&(this.options.frameColor=e.frameColor),e.arrowColor&&(this.options.arrowColor=e.arrowColor),this._applyStyles()},e.prototype._applyStyles=function(){if(this.container&&this.options.frameColor){var e=this.options.frameColor.toString();this.container.style.borderTopColor=e,this.container.style.borderBottomColor=e}if(this._arrow&&this.options.arrowColor){var t=this.options.arrowColor.toString();this._arrow.color=t}},e.prototype._getWidth=function(e){return e.width-e.minimapWidth-e.verticalScrollbarWidth},e.prototype._getLeft=function(e){return e.minimapWidth>0&&0===e.minimapLeft?e.minimapWidth:0},e.prototype._onViewZoneTop=function(e){this.domNode.style.top=e+"px"},e.prototype._onViewZoneHeight=function(e){if(this.domNode.style.height=e+"px",this.container){var t=e-this._decoratingElementsHeight();this.container.style.height=t+"px";var n=this.editor.getLayoutInfo();this._doLayout(t,this._getWidth(n))}this._resizeSash&&this._resizeSash.layout()},Object.defineProperty(e.prototype,"position",{get:function(){var e=this._positionMarkerId[0];if(e){var t=this.editor.getModel();if(t){var n=t.getDecorationRange(e);if(n)return n.getStartPosition()}}},enumerable:!0,configurable:!0}),e.prototype.show=function(e,t){var n=s["a"].isIRange(e)?s["a"].lift(e):s["a"].fromPositions(e);this._isShowing=!0,this._showImpl(n,t),this._isShowing=!1,this._positionMarkerId=this.editor.deltaDecorations(this._positionMarkerId,[{range:n,options:g["a"].EMPTY}])},e.prototype.hide=function(){var e=this;this._viewZone&&(this.editor.changeViewZones((function(t){e._viewZone&&t.removeZone(e._viewZone.id)})),this._viewZone=null),this._overlayWidget&&(this.editor.removeOverlayWidget(this._overlayWidget),this._overlayWidget=null),this._arrow&&this._arrow.hide()},e.prototype._decoratingElementsHeight=function(){var e=this.editor.getOption(49),t=0;if(this.options.showArrow){var n=Math.round(e/3);t+=2*n}if(this.options.showFrame){var r=Math.round(e/9);t+=2*r}return t},e.prototype._showImpl=function(e,t){var n=this,r=e.getStartPosition(),i=this.editor.getLayoutInfo(),o=this._getWidth(i);this.domNode.style.width=o+"px",this.domNode.style.left=this._getLeft(i)+"px";var a=document.createElement("div");a.style.overflow="hidden";var s=this.editor.getOption(49),l=this.editor.getLayoutInfo().height/s*.8;t>=l&&(t=l);var u=0,c=0;if(this._arrow&&this.options.showArrow&&(u=Math.round(s/3),this._arrow.height=u,this._arrow.show(r)),this.options.showFrame&&(c=Math.round(s/9)),this.editor.changeViewZones((function(e){n._viewZone&&e.removeZone(n._viewZone.id),n._overlayWidget&&(n.editor.removeOverlayWidget(n._overlayWidget),n._overlayWidget=null),n.domNode.style.top="-1000px",n._viewZone=new Ee(a,r.lineNumber,r.column,t,(function(e){return n._onViewZoneTop(e)}),(function(e){return n._onViewZoneHeight(e)})),n._viewZone.id=e.addZone(n._viewZone),n._overlayWidget=new De(ke+n._viewZone.id,n.domNode),n.editor.addOverlayWidget(n._overlayWidget)})),this.container&&this.options.showFrame){var d=this.options.frameWidth?this.options.frameWidth:c;this.container.style.borderTopWidth=d+"px",this.container.style.borderBottomWidth=d+"px"}var h=t*s-this._decoratingElementsHeight();this.container&&(this.container.style.top=u+"px",this.container.style.height=h+"px",this.container.style.overflow="hidden"),this._doLayout(h,o),this.options.keepEditorSelection||this.editor.setSelection(e);var f=this.editor.getModel();if(f){var p=e.endLineNumber+1;p<=f.getLineCount()?this.revealLine(p,!1):this.revealLine(f.getLineCount(),!0)}},e.prototype.revealLine=function(e,t){t?this.editor.revealLineInCenter(e,0):this.editor.revealLine(e,0)},e.prototype.setCssClass=function(e,t){this.container&&(t&&this.container.classList.remove(t),c["e"](this.container,e))},e.prototype._onWidth=function(e){},e.prototype._doLayout=function(e,t){},e.prototype._relayout=function(e){var t=this;this._viewZone&&this._viewZone.heightInLines!==e&&this.editor.changeViewZones((function(n){t._viewZone&&(t._viewZone.heightInLines=e,n.layoutZone(t._viewZone.id))}))},e.prototype._initSash=function(){var e,t=this;this._resizeSash||(this._resizeSash=this._disposables.add(new xe["a"](this.domNode,this,{orientation:1})),this.options.isResizeable||(this._resizeSash.hide(),this._resizeSash.state=0),this._disposables.add(this._resizeSash.onDidStart((function(n){t._viewZone&&(e={startY:n.startY,heightInLines:t._viewZone.heightInLines})}))),this._disposables.add(this._resizeSash.onDidEnd((function(){e=void 0}))),this._disposables.add(this._resizeSash.onDidChange((function(n){if(e){var r=(n.currentY-e.startY)/t.editor.getOption(49),i=r<0?Math.ceil(r):Math.floor(r),o=e.heightInLines+i;o>5&&o<35&&t._relayout(o)}}))))},e.prototype.getHorizontalSashLeft=function(){return 0},e.prototype.getHorizontalSashTop=function(){return(null===this.domNode.style.height?0:parseInt(this.domNode.style.height))-this._decoratingElementsHeight()/2},e.prototype.getHorizontalSashWidth=function(){var e=this.editor.getLayoutInfo();return e.width-e.minimapWidth},e}(),Le=n("9fML"),Ie=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Te=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Pe=function(e,t){return function(n,r){t(n,r,e)}},Ae=Object(ge["c"])("IPeekViewService");Object(Le["b"])(Ae,function(){function e(){this._widgets=new Map}return e.prototype.addExclusiveWidget=function(e,t){var n=this,r=this._widgets.get(e);r&&(r.listener.dispose(),r.widget.dispose());var i=function(){var r=n._widgets.get(e);r&&r.widget===t&&(r.listener.dispose(),n._widgets.delete(e))};this._widgets.set(e,{widget:t,listener:t.onDidClose(i)})},e}()),function(e){e.inPeekEditor=new se["d"]("inReferenceSearchEditor",!0),e.notInPeekEditor=e.inPeekEditor.toNegated()}(Z||(Z={}));var Re=function(){function e(e,t){e instanceof we&&Z.inPeekEditor.bindTo(t)}return e.prototype.dispose=function(){},e.ID="editor.contrib.referenceController",e=Te([Pe(1,se["c"])],e),e}();function je(e){var t=e.get(S["a"]).getFocusedCodeEditor();return t instanceof we?t.getParentEditor():t}Object(a["h"])(Re.ID,Re);var Fe,Be={headerBackgroundColor:h["a"].white,primaryHeadingColor:h["a"].fromHex("#333333"),secondaryHeadingColor:h["a"].fromHex("#6c6c6cb3")},Ve=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this,t,n)||this;return r._onDidClose=new L["a"],r.onDidClose=r._onDidClose.event,de["g"](r.options,Be,!1),r}return Ie(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._onDidClose.fire(this)},t.prototype.style=function(t){var n=this.options;t.headerBackgroundColor&&(n.headerBackgroundColor=t.headerBackgroundColor),t.primaryHeadingColor&&(n.primaryHeadingColor=t.primaryHeadingColor),t.secondaryHeadingColor&&(n.secondaryHeadingColor=t.secondaryHeadingColor),e.prototype.style.call(this,t)},t.prototype._applyStyles=function(){e.prototype._applyStyles.call(this);var t=this.options;this._headElement&&t.headerBackgroundColor&&(this._headElement.style.backgroundColor=t.headerBackgroundColor.toString()),this._primaryHeading&&t.primaryHeadingColor&&(this._primaryHeading.style.color=t.primaryHeadingColor.toString()),this._secondaryHeading&&t.secondaryHeadingColor&&(this._secondaryHeading.style.color=t.secondaryHeadingColor.toString()),this._bodyElement&&t.frameColor&&(this._bodyElement.style.borderColor=t.frameColor.toString())},t.prototype._fillContainer=function(e){this.setCssClass("peekview-widget"),this._headElement=c["a"](".head"),this._bodyElement=c["a"](".body"),this._fillHead(this._headElement),this._fillBody(this._bodyElement),e.appendChild(this._headElement),e.appendChild(this._bodyElement)},t.prototype._fillHead=function(e){var t=this,n=c["a"](".peekview-title");c["p"](this._headElement,n),c["n"](n,"click",(function(e){return t._onTitleClick(e)})),this._fillTitleIcon(n),this._primaryHeading=c["a"]("span.filename"),this._secondaryHeading=c["a"]("span.dirname"),this._metaHeading=c["a"]("span.meta"),c["p"](n,this._primaryHeading,this._secondaryHeading,this._metaHeading);var i=c["a"](".peekview-actions");c["p"](this._headElement,i);var o=this._getActionBarOptions();this._actionbarWidget=new ue["a"](i,o),this._disposables.add(this._actionbarWidget),this._actionbarWidget.push(new ce["a"]("peekview.close",r["a"]("label.close","Close"),"codicon-close",!0,(function(){return t.dispose(),Promise.resolve()})),{label:!1,icon:!0})},t.prototype._fillTitleIcon=function(e){},t.prototype._getActionBarOptions=function(){return{}},t.prototype._onTitleClick=function(e){},t.prototype.setTitle=function(e,t){this._primaryHeading&&this._secondaryHeading&&(this._primaryHeading.innerHTML=he["o"](e),this._primaryHeading.setAttribute("aria-label",e),t?this._secondaryHeading.innerHTML=he["o"](t):c["s"](this._secondaryHeading))},t.prototype.setMetaTitle=function(e){this._metaHeading&&(e?(this._metaHeading.innerHTML=he["o"](e),c["W"](this._metaHeading)):c["I"](this._metaHeading))},t.prototype._doLayout=function(e,t){if(!this._isShowing&&e<0)this.dispose();else{var n=Math.ceil(1.2*this.editor.getOption(49)),r=Math.round(e-(n+2));this._doLayoutHead(n,t),this._doLayoutBody(r,t)}},t.prototype._doLayoutHead=function(e,t){this._headElement&&(this._headElement.style.height=e+"px",this._headElement.style.lineHeight=this._headElement.style.height)},t.prototype._doLayoutBody=function(e,t){this._bodyElement&&(this._bodyElement.style.height=e+"px")},t}(Ne),ze=Object(R["Rb"])("peekViewTitle.background",{dark:"#1E1E1E",light:"#FFFFFF",hc:"#0C141F"},r["a"]("peekViewTitleBackground","Background color of the peek view title area.")),We=Object(R["Rb"])("peekViewTitleLabel.foreground",{dark:"#FFFFFF",light:"#333333",hc:"#FFFFFF"},r["a"]("peekViewTitleForeground","Color of the peek view title.")),He=Object(R["Rb"])("peekViewTitleDescription.foreground",{dark:"#ccccccb3",light:"#616161e6",hc:"#FFFFFF99"},r["a"]("peekViewTitleInfoForeground","Color of the peek view title info.")),Ue=Object(R["Rb"])("peekView.border",{dark:"#007acc",light:"#007acc",hc:R["e"]},r["a"]("peekViewBorder","Color of the peek view borders and arrow.")),Ke=Object(R["Rb"])("peekViewResult.background",{dark:"#252526",light:"#F3F3F3",hc:h["a"].black},r["a"]("peekViewResultsBackground","Background color of the peek view result list.")),Ge=Object(R["Rb"])("peekViewResult.lineForeground",{dark:"#bbbbbb",light:"#646465",hc:h["a"].white},r["a"]("peekViewResultsMatchForeground","Foreground color for line nodes in the peek view result list.")),qe=Object(R["Rb"])("peekViewResult.fileForeground",{dark:h["a"].white,light:"#1E1E1E",hc:h["a"].white},r["a"]("peekViewResultsFileForeground","Foreground color for file nodes in the peek view result list.")),Ye=Object(R["Rb"])("peekViewResult.selectionBackground",{dark:"#3399ff33",light:"#3399ff33",hc:null},r["a"]("peekViewResultsSelectionBackground","Background color of the selected entry in the peek view result list.")),Xe=Object(R["Rb"])("peekViewResult.selectionForeground",{dark:h["a"].white,light:"#6C6C6C",hc:h["a"].white},r["a"]("peekViewResultsSelectionForeground","Foreground color of the selected entry in the peek view result list.")),Ze=Object(R["Rb"])("peekViewEditor.background",{dark:"#001F33",light:"#F2F8FC",hc:h["a"].black},r["a"]("peekViewEditorBackground","Background color of the peek view editor.")),Qe=Object(R["Rb"])("peekViewEditorGutter.background",{dark:Ze,light:Ze,hc:Ze},r["a"]("peekViewEditorGutterBackground","Background color of the gutter in the peek view editor.")),$e=Object(R["Rb"])("peekViewResult.matchHighlightBackground",{dark:"#ea5c004d",light:"#ea5c004d",hc:null},r["a"]("peekViewResultsMatchHighlight","Match highlight color in the peek view result list.")),Je=Object(R["Rb"])("peekViewEditor.matchHighlightBackground",{dark:"#ff8f0099",light:"#f5d802de",hc:null},r["a"]("peekViewEditorMatchHighlight","Match highlight color in the peek view editor.")),et=Object(R["Rb"])("peekViewEditor.matchHighlightBorder",{dark:null,light:null,hc:R["b"]},r["a"]("peekViewEditorMatchHighlightBorder","Match highlight border in the peek view editor.")),tt=n("S3by");(function(e){function t(e){switch(e){case tt["a"].Ignore:return"severity-ignore codicon-info";case tt["a"].Info:return"codicon-info";case tt["a"].Warning:return"codicon-warning";case tt["a"].Error:return"codicon-error"}return""}e.className=t})(Fe||(Fe={})),Object(j["e"])((function(e,t){var n=e.getColor(R["Nb"]);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-error,\n\t\t\t.markers-panel .marker-icon.codicon-error,\n\t\t\t.extensions-viewlet > .extensions .codicon-error,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-error {\n\t\t\t\tcolor: "+n+";\n\t\t\t}\n\t\t");var r=e.getColor(R["Pb"]);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-warning,\n\t\t\t.markers-panel .marker-icon.codicon-warning,\n\t\t\t.extensions-viewlet > .extensions .codicon-warning,\n\t\t\t.extension-editor .codicon-warning,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-warning {\n\t\t\t\tcolor: "+r+";\n\t\t\t}\n\t\t");var i=e.getColor(R["Ob"]);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-info,\n\t\t\t.markers-panel .marker-icon.codicon-info,\n\t\t\t.extensions-viewlet > .extensions .codicon-info,\n\t\t\t.extension-editor .codicon-info,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-info {\n\t\t\t\tcolor: "+i+";\n\t\t\t}\n\t\t")}));var nt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rt=function(){function e(e,t,n,r){var i=this;this._openerService=r,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new o["b"],this._editor=t;var a=document.createElement("div");a.className="descriptioncontainer",a.setAttribute("aria-live","assertive"),a.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),c["e"](this._messageBlock,"message"),a.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),a.appendChild(this._relatedBlock),this._disposables.add(c["n"](this._relatedBlock,"click",(function(e){e.preventDefault();var t=i._relatedDiagnostics.get(e.target);t&&n(t)}))),this._scrollable=new $["b"](a,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll((function(e){a.style.left="-"+e.scrollLeft+"px",a.style.top="-"+e.scrollTop+"px"}))),this._disposables.add(this._scrollable)}return e.prototype.dispose=function(){Object(o["f"])(this._disposables)},e.prototype.update=function(e){var t=this,n=e.source,r=e.message,i=e.relatedInformation,o=e.code,a=((null===n||void 0===n?void 0:n.length)||0)+"()".length;o&&(a+="string"===typeof o?o.length:o.value.length);var s=r.split(/\r\n|\r|\n/g);this._lines=s.length,this._longestLineLength=0;for(var l=0,u=s;l<u.length;l++){var d=u[l];this._longestLineLength=Math.max(d.length+a,this._longestLineLength)}c["s"](this._messageBlock),this._editor.applyFontInfo(this._messageBlock);for(var h=this._messageBlock,f=0,p=s;f<p.length;f++){d=p[f];h=document.createElement("div"),h.innerText=d,""===d&&(h.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(h)}if(n||o){var g=document.createElement("span");if(c["e"](g,"details"),h.appendChild(g),n){var m=document.createElement("span");m.innerText=n,c["e"](m,"source"),g.appendChild(m)}if(o)if("string"===typeof o){var v=document.createElement("span");v.innerText="("+o+")",c["e"](v,"code"),g.appendChild(v)}else{this._codeLink=c["a"]("a.code-link"),this._codeLink.setAttribute("href",""+o.link.toString()),this._codeLink.onclick=function(e){t._openerService.open(o.link),e.preventDefault(),e.stopPropagation()};v=c["p"](this._codeLink,c["a"]("span"));v.innerText=o.value,g.appendChild(this._codeLink)}}if(c["s"](this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),Object(q["q"])(i)){var y=this._relatedBlock.appendChild(document.createElement("div"));y.style.paddingTop=Math.floor(.66*this._editor.getOption(49))+"px",this._lines+=1;for(var b=0,_=i;b<_.length;b++){var w=_[b],x=document.createElement("div"),C=document.createElement("a");c["e"](C,"filename"),C.innerHTML=Object(le["a"])(w.resource)+"("+w.startLineNumber+", "+w.startColumn+"): ",C.title=Object(le["b"])(w.resource,void 0),this._relatedDiagnostics.set(C,w);var S=document.createElement("span");S.innerText=w.message,x.appendChild(C),x.appendChild(S),this._lines+=1,y.appendChild(x)}}var O=this._editor.getOption(34),k=Math.ceil(O.typicalFullwidthCharacterWidth*this._longestLineLength*.75),E=O.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:k,scrollHeight:E})},e.prototype.layout=function(e,t){this._scrollable.getDomNode().style.height=e+"px",this._scrollable.getDomNode().style.width=t+"px",this._scrollable.setScrollDimensions({width:t,height:e})},e.prototype.getHeightInLines=function(){return Math.min(17,this._lines)},e}(),it=function(e){function t(t,n,r,i){var a=e.call(this,t,{showArrow:!0,showFrame:!0,isAccessible:!0})||this;return a.actions=n,a._themeService=r,a._openerService=i,a._callOnDispose=new o["b"],a._onDidSelectRelatedInformation=new L["a"],a.onDidSelectRelatedInformation=a._onDidSelectRelatedInformation.event,a._severity=ie["c"].Warning,a._backgroundColor=h["a"].white,a._applyTheme(r.getTheme()),a._callOnDispose.add(r.onThemeChange(a._applyTheme.bind(a))),a.create(),a}return nt(t,e),t.prototype._applyTheme=function(e){this._backgroundColor=e.getColor(dt);var t=lt;this._severity===ie["c"].Warning?t=ut:this._severity===ie["c"].Info&&(t=ct);var n=e.getColor(t);this.style({arrowColor:n,frameColor:n,headerBackgroundColor:this._backgroundColor,primaryHeadingColor:e.getColor(We),secondaryHeadingColor:e.getColor(He)})},t.prototype._applyStyles=function(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),e.prototype._applyStyles.call(this)},t.prototype.dispose=function(){this._callOnDispose.dispose(),e.prototype.dispose.call(this)},t.prototype._fillHead=function(t){e.prototype._fillHead.call(this,t),this._actionbarWidget.push(this.actions,{label:!1,icon:!0,index:0})},t.prototype._fillTitleIcon=function(e){this._icon=c["p"](e,c["a"](""))},t.prototype._getActionBarOptions=function(){return{orientation:0}},t.prototype._fillBody=function(e){var t=this;this._parentContainer=e,c["e"](e,"marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),e.appendChild(this._container),this._message=new rt(this._container,this.editor,(function(e){return t._onDidSelectRelatedInformation.fire(e)}),this._openerService),this._disposables.add(this._message)},t.prototype.show=function(e,t){throw new Error("call showAtMarker")},t.prototype.showAtMarker=function(t,n,i){this._container.classList.remove("stale"),this._message.update(t),this._severity=t.severity,this._applyTheme(this._themeService.getTheme());var o=s["a"].lift(t),a=this.editor.getPosition(),l=a&&o.containsPosition(a)?a:o.getStartPosition();e.prototype.show.call(this,l,this.computeRequiredHeight());var u=this.editor.getModel();if(u){var c=i>1?r["a"]("problems","{0} of {1} problems",n,i):r["a"]("change","{0} of {1} problem",n,i);this.setTitle(Object(oe["b"])(u.uri),c)}this._icon.className="codicon "+Fe.className(ie["c"].toSeverity(this._severity)),this.editor.revealPositionInCenter(l,0),this.editor.focus()},t.prototype.updateMarker=function(e){this._container.classList.remove("stale"),this._message.update(e)},t.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},t.prototype._doLayoutBody=function(t,n){e.prototype._doLayoutBody.call(this,t,n),this._heightInPixel=t,this._message.layout(t,n),this._container.style.height=t+"px"},t.prototype._onWidth=function(e){this._message.layout(this._heightInPixel,e)},t.prototype._relayout=function(){e.prototype._relayout.call(this,this.computeRequiredHeight())},t.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},t}(Ve),ot=Object(R["Jb"])(R["q"],R["p"]),at=Object(R["Jb"])(R["O"],R["N"]),st=Object(R["Jb"])(R["H"],R["G"]),lt=Object(R["Rb"])("editorMarkerNavigationError.background",{dark:ot,light:ot,hc:ot},r["a"]("editorMarkerNavigationError","Editor marker navigation widget error color.")),ut=Object(R["Rb"])("editorMarkerNavigationWarning.background",{dark:at,light:at,hc:at},r["a"]("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),ct=Object(R["Rb"])("editorMarkerNavigationInfo.background",{dark:st,light:st,hc:st},r["a"]("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),dt=Object(R["Rb"])("editorMarkerNavigation.background",{dark:"#2D2D30",light:h["a"].white,hc:"#0C141F"},r["a"]("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(j["e"])((function(e,t){var n=e.getColor(R["cc"]);n&&(t.addRule(".monaco-editor .marker-widget a { color: "+n+"; }"),t.addRule(".monaco-editor .marker-widget a.code-link span:hover { color: "+n+"; }"))}));var ht=n("fjLI"),ft=n("bexQ"),pt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},mt=function(e,t){return function(n,r){t(n,r,e)}},vt=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},yt=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},bt=function(){function e(e,t){var n=this;this._toUnbind=new o["b"],this._editor=e,this._markers=[],this._nextIdx=-1,this._ignoreSelectionChange=!1,this._onCurrentMarkerChanged=new L["a"],this._onMarkerSetChanged=new L["a"],this.setMarkers(t),this._toUnbind.add(this._editor.onDidDispose((function(){return n.dispose()}))),this._toUnbind.add(this._editor.onDidChangeCursorPosition((function(){n._ignoreSelectionChange||n.currentMarker&&n._editor.getPosition()&&s["a"].containsPosition(n.currentMarker,n._editor.getPosition())||(n._nextIdx=-1)})))}return Object.defineProperty(e.prototype,"onCurrentMarkerChanged",{get:function(){return this._onCurrentMarkerChanged.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onMarkerSetChanged",{get:function(){return this._onMarkerSetChanged.event},enumerable:!0,configurable:!0}),e.prototype.setMarkers=function(e){var t=this._nextIdx>=0?this._markers[this._nextIdx]:void 0;this._markers=e||[],this._markers.sort(wt.compareMarker),this._nextIdx=t?Math.max(-1,Object(q["c"])(this._markers,t,wt.compareMarker)):-1,this._onMarkerSetChanged.fire(this)},e.prototype.withoutWatchingEditorPosition=function(e){this._ignoreSelectionChange=!0;try{e()}finally{this._ignoreSelectionChange=!1}},e.prototype._initIdx=function(e){for(var t=!1,n=this._editor.getPosition(),r=0;r<this._markers.length;r++){var i=s["a"].lift(this._markers[r]);if(i.isEmpty()&&this._editor.getModel()){var o=this._editor.getModel().getWordAtPosition(i.getStartPosition());o&&(i=new s["a"](i.startLineNumber,o.startColumn,i.startLineNumber,o.endColumn))}if(n&&(i.containsPosition(n)||n.isBeforeOrEqual(i.getStartPosition()))){this._nextIdx=r,t=!0;break}}t||(this._nextIdx=e?0:this._markers.length-1),this._nextIdx<0&&(this._nextIdx=this._markers.length-1)},Object.defineProperty(e.prototype,"currentMarker",{get:function(){return this.canNavigate()?this._markers[this._nextIdx]:void 0},set:function(e){var t=this._nextIdx;this._nextIdx=-1,e&&(this._nextIdx=this.indexOf(e)),this._nextIdx!==t&&this._onCurrentMarkerChanged.fire(e)},enumerable:!0,configurable:!0}),e.prototype.move=function(e,t){if(!this.canNavigate())return this._onCurrentMarkerChanged.fire(void 0),!t;var n=this._nextIdx,r=!1;if(-1===this._nextIdx?this._initIdx(e):e?t||this._nextIdx+1<this._markers.length?this._nextIdx=(this._nextIdx+1)%this._markers.length:r=!0:e||(t||this._nextIdx>0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:r=!0),n!==this._nextIdx){var i=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(i)}return r},e.prototype.canNavigate=function(){return this._markers.length>0},e.prototype.findMarkerAtPosition=function(e){return Object(q["h"])(this._markers,(function(t){return s["a"].containsPosition(t,e)}))},Object.defineProperty(e.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),e.prototype.indexOf=function(e){return 1+this._markers.indexOf(e)},e.prototype.dispose=function(){this._toUnbind.dispose()},e}(),_t=function(){function e(e,t,n,r,i,a,s){this._markerService=t,this._contextKeyService=n,this._themeService=r,this._editorService=i,this._keybindingService=a,this._openerService=s,this._model=null,this._widget=null,this._disposeOnClose=new o["b"],this._editor=e,this._widgetVisible=kt.bindTo(this._contextKeyService)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._cleanUp(),this._disposeOnClose.dispose()},e.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose.clear(),this._widget=null,this._model=null},e.prototype.getOrCreateModel=function(){var e=this;if(this._model)return this._model;var t=this._getMarkers();this._model=new bt(this._editor,t),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var n=this._keybindingService.lookupKeybinding(Ct.ID),r=this._keybindingService.lookupKeybinding(xt.ID),i=[new ce["a"](xt.ID,xt.LABEL+(r?" ("+r.getLabel()+")":""),"show-next-problem codicon-chevron-down",this._model.canNavigate(),(function(){return vt(e,void 0,void 0,(function(){return yt(this,(function(e){return this._model&&this._model.move(!0,!0),[2]}))}))})),new ce["a"](Ct.ID,Ct.LABEL+(n?" ("+n.getLabel()+")":""),"show-previous-problem codicon-chevron-up",this._model.canNavigate(),(function(){return vt(e,void 0,void 0,(function(){return yt(this,(function(e){return this._model&&this._model.move(!1,!0),[2]}))}))}))];this._widget=new it(this._editor,i,this._themeService,this._openerService),this._widgetVisible.set(!0),this._widget.onDidClose((function(){return e.closeMarkersNavigation()}),this,this._disposeOnClose),this._disposeOnClose.add(this._model),this._disposeOnClose.add(this._widget);for(var o=0,a=i;o<a.length;o++){var l=a[o];this._disposeOnClose.add(l)}return this._disposeOnClose.add(this._widget.onDidSelectRelatedInformation((function(t){e._editorService.openCodeEditor({resource:t.resource,options:{pinned:!0,revealIfOpened:!0,selection:s["a"].lift(t).collapseToStart()}},e._editor).then(void 0,v["e"]),e.closeMarkersNavigation(!1)}))),this._disposeOnClose.add(this._editor.onDidChangeModel((function(){return e._cleanUp()}))),this._disposeOnClose.add(this._model.onCurrentMarkerChanged((function(t){t&&e._model?e._model.withoutWatchingEditorPosition((function(){e._widget&&e._model&&e._widget.showAtMarker(t,e._model.indexOf(t),e._model.total)})):e._cleanUp()}))),this._disposeOnClose.add(this._model.onMarkerSetChanged((function(){if(e._widget&&e._widget.position&&e._model){var t=e._model.findMarkerAtPosition(e._widget.position);t?e._widget.updateMarker(t):e._widget.showStale()}}))),this._model},e.prototype.closeMarkersNavigation=function(e){void 0===e&&(e=!0),this._cleanUp(),e&&this._editor.focus()},e.prototype.show=function(e){var t=this.getOrCreateModel();t.currentMarker=e},e.prototype._onMarkerChanged=function(e){var t=this._editor.getModel();t&&this._model&&e.some((function(e){return Object(oe["e"])(t.uri,e)}))&&this._model.setMarkers(this._getMarkers())},e.prototype._getMarkers=function(){var e=this._editor.getModel();return e?this._markerService.read({resource:e.uri,severities:ie["c"].Error|ie["c"].Warning|ie["c"].Info}):[]},e.ID="editor.contrib.markerController",e=gt([mt(1,ie["b"]),mt(2,se["c"]),mt(3,j["c"]),mt(4,S["a"]),mt(5,ft["a"]),mt(6,ae["a"])],e),e}(),wt=function(e){function t(t,n,r){var i=e.call(this,r)||this;return i._isNext=t,i._multiFile=n,i}return pt(t,e),t.prototype.run=function(e,n){var r=this,i=e.get(ie["b"]),o=e.get(S["a"]),a=_t.get(n);if(!a)return Promise.resolve(void 0);var s=a.getOrCreateModel(),l=s.move(this._isNext,!this._multiFile);if(!l||!this._multiFile)return Promise.resolve(void 0);var u=i.read({severities:ie["c"].Error|ie["c"].Warning|ie["c"].Info}).sort(t.compareMarker);if(0===u.length)return Promise.resolve(void 0);var c=n.getModel();if(!c)return Promise.resolve(void 0);var d=s.currentMarker||{resource:c.uri,severity:ie["c"].Error,startLineNumber:1,startColumn:1,endLineNumber:1,endColumn:1},h=Object(q["c"])(u,d,t.compareMarker);h<0?(h=~h,h%=u.length):h=this._isNext?(h+1)%u.length:(h+u.length-1)%u.length;var f=u[h];return Object(oe["e"])(f.resource,c.uri)?(s.move(this._isNext,!0),Promise.resolve(void 0)):(a.closeMarkersNavigation(),o.openCodeEditor({resource:f.resource,options:{pinned:!1,revealIfOpened:!0,revealInCenterIfOutsideViewport:!0,selection:f}},n).then((function(e){if(e)return e.getAction(r.id).run()})))},t.compareMarker=function(e,t){var n=Object(he["e"])(e.resource.toString(),t.resource.toString());return 0===n&&(n=ie["c"].compare(e.severity,t.severity)),0===n&&(n=s["a"].compareRangesUsingStarts(e,t)),n},t}(a["b"]),xt=function(e){function t(){return e.call(this,!0,!1,{id:t.ID,label:t.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:l["a"].writable,kbOpts:{kbExpr:l["a"].focus,primary:578,weight:100}})||this}return pt(t,e),t.ID="editor.action.marker.next",t.LABEL=r["a"]("markerAction.next.label","Go to Next Problem (Error, Warning, Info)"),t}(wt),Ct=function(e){function t(){return e.call(this,!1,!1,{id:t.ID,label:t.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:l["a"].writable,kbOpts:{kbExpr:l["a"].focus,primary:1602,weight:100}})||this}return pt(t,e),t.ID="editor.action.marker.prev",t.LABEL=r["a"]("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)"),t}(wt),St=function(e){function t(){return e.call(this,!0,!0,{id:"editor.action.marker.nextInFiles",label:r["a"]("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:l["a"].writable,kbOpts:{kbExpr:l["a"].focus,primary:66,weight:100}})||this}return pt(t,e),t}(wt),Ot=function(e){function t(){return e.call(this,!1,!0,{id:"editor.action.marker.prevInFiles",label:r["a"]("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:l["a"].writable,kbOpts:{kbExpr:l["a"].focus,primary:1090,weight:100}})||this}return pt(t,e),t}(wt);Object(a["h"])(_t.ID,_t),Object(a["f"])(xt),Object(a["f"])(Ct),Object(a["f"])(St),Object(a["f"])(Ot);var kt=new se["d"]("markersNavigationVisible",!1),Et=a["c"].bindToContribution(_t.get);Object(a["g"])(new Et({id:"closeMarkersNavigation",precondition:kt,handler:function(e){return e.closeMarkersNavigation()},kbOpts:{weight:150,kbExpr:l["a"].focus,primary:9,secondary:[1033]}})),ht["c"].appendMenuItem(19,{group:"6_problem_nav",command:{id:"editor.action.marker.nextInFiles",title:r["a"]({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem")},order:1}),ht["c"].appendMenuItem(19,{group:"6_problem_nav",command:{id:"editor.action.marker.prevInFiles",title:r["a"]({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem")},order:2});var Dt=n("vATl"),Mt=n("gCVg"),Nt=function(){function e(e){this.value=e}return e.prototype.equals=function(e){return this.value===e.value},e.prototype.contains=function(t){return this.equals(t)||""===this.value||Object(he["M"])(t.value,this.value+e.sep)},e.prototype.intersects=function(e){return this.contains(e)||e.contains(this)},e.prototype.append=function(t){return new e(this.value+e.sep+t)},e.sep=".",e.None=new e("@@none@@"),e.Empty=new e(""),e.QuickFix=new e("quickfix"),e.Refactor=new e("refactor"),e.Source=new e("source"),e.SourceOrganizeImports=e.Source.append("organizeImports"),e.SourceFixAll=e.Source.append("fixAll"),e}();function Lt(e,t){return!(e.include&&!e.include.intersects(t))&&((!e.excludes||!e.excludes.some((function(n){return Tt(t,n,e.include)})))&&!(!e.includeSourceActions&&Nt.Source.contains(t)))}function It(e,t){var n=t.kind?new Nt(t.kind):void 0;return!!(!e.include||n&&e.include.contains(n))&&(!(e.excludes&&n&&e.excludes.some((function(t){return Tt(n,t,e.include)})))&&(!(!e.includeSourceActions&&n&&Nt.Source.contains(n))&&!(e.onlyIncludePreferredActions&&!t.isPreferred)))}function Tt(e,t,n){return!!t.contains(e)&&(!n||!t.contains(n))}var Pt=function(){function e(e,t,n){this.kind=e,this.apply=t,this.preferred=n}return e.fromUser=function(t,n){return t&&"object"===typeof t?new e(e.getKindFromUser(t,n.kind),e.getApplyFromUser(t,n.apply),e.getPreferredUser(t)):new e(n.kind,n.apply,!1)},e.getApplyFromUser=function(e,t){switch("string"===typeof e.apply?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}},e.getKindFromUser=function(e,t){return"string"===typeof e.kind?new Nt(e.kind):t},e.getPreferredUser=function(e){return"boolean"===typeof e.preferred&&e.preferred},e}(),At=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Rt=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},jt=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Ft=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Bt="editor.action.codeAction",Vt="editor.action.refactor",zt="editor.action.sourceAction",Wt="editor.action.organizeImports",Ht="editor.action.fixAll",Ut=function(e){function t(n,r){var i=e.call(this)||this;return i._register(r),i.allActions=Object(q["r"])(Ft(n),t.codeActionsComparator),i.validActions=i.allActions.filter((function(e){return!e.disabled})),i}return At(t,e),t.codeActionsComparator=function(e,t){return Object(q["q"])(e.diagnostics)?Object(q["q"])(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Object(q["q"])(t.diagnostics)?1:0},Object.defineProperty(t.prototype,"hasAutoFix",{get:function(){return this.validActions.some((function(e){return!!e.kind&&Nt.QuickFix.contains(new Nt(e.kind))&&!!e.isPreferred}))},enumerable:!0,configurable:!0}),t}(o["a"]);function Kt(e,t,n,r){var i,a=this,s=n.filter||{},l={only:null===(i=s.include)||void 0===i?void 0:i.value,trigger:n.type},u=new Dt["d"](e,r),c=Gt(e,s),d=new o["b"],h=c.map((function(n){return Rt(a,void 0,void 0,(function(){var r,i;return jt(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,n.provideCodeActions(e,t,l,u.token)];case 1:return r=o.sent(),u.token.isCancellationRequested||!r?[2,[]]:(d.add(r),[2,r.actions.filter((function(e){return e&&It(s,e)}))]);case 2:if(i=o.sent(),Object(v["d"])(i))throw i;return Object(v["f"])(i),[2,[]];case 3:return[2]}}))}))})),f=m["a"].onDidChange((function(){var t=m["a"].all(e);Object(q["g"])(t,c)||u.cancel()}));return Promise.all(h).then(q["m"]).then((function(e){return new Ut(e,d)})).finally((function(){f.dispose(),u.dispose()}))}function Gt(e,t){return m["a"].all(e).filter((function(e){return!e.providedCodeActionKinds||e.providedCodeActionKinds.some((function(e){return Lt(t,new Nt(e))}))}))}Object(a["j"])("_executeCodeActionProvider",(function(e,t){return Rt(this,void 0,void 0,(function(){var n,r,i,o,a,l;return jt(this,(function(u){switch(u.label){case 0:if(n=t.resource,r=t.rangeOrSelection,i=t.kind,!(n instanceof y["a"]))throw Object(v["b"])();if(o=e.get(b["a"]).getModel(n),!o)throw Object(v["b"])();if(a=Mt["a"].isISelection(r)?Mt["a"].liftSelection(r):s["a"].isIRange(r)?o.validateRange(r):void 0,!a)throw Object(v["b"])();return[4,Kt(o,a,{type:2,filter:{includeSourceActions:!0,include:i&&i.value?new Nt(i.value):void 0}},d["a"].None)];case 1:return l=u.sent(),setTimeout((function(){return l.dispose()}),100),[2,l.validActions]}}))}))}));var qt=function(){function e(e){this.executor=e,this._didRun=!1}return e.prototype.getValue=function(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value},Object.defineProperty(e.prototype,"rawValue",{get:function(){return this._value},enumerable:!0,configurable:!0}),e}(),Yt=n("x/UI"),Xt=(n("synD"),n("OBOq")),Zt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Qt=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},$t=function(e,t){return function(n,r){t(n,r,e)}},Jt=function(e){function t(n,r){var i=e.call(this)||this;return i.closeTimeout=3e3,i._messageWidget=i._register(new o["d"]),i._messageListeners=i._register(new o["b"]),i._editor=n,i._visible=t.MESSAGE_VISIBLE.bindTo(r),i._register(i._editor.onDidAttemptReadOnlyEdit((function(){return i._onDidAttemptReadOnlyEdit()}))),i}return Zt(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){e.prototype.dispose.call(this),this._visible.reset()},t.prototype.showMessage=function(e,t){var n,r=this;Object(Xt["a"])(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new tn(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText((function(){return r.closeMessage()}))),this._messageListeners.add(this._editor.onDidChangeCursorPosition((function(){return r.closeMessage()}))),this._messageListeners.add(this._editor.onDidDispose((function(){return r.closeMessage()}))),this._messageListeners.add(this._editor.onDidChangeModel((function(){return r.closeMessage()}))),this._messageListeners.add(new x["e"]((function(){return r.closeMessage()}),this.closeTimeout)),this._messageListeners.add(this._editor.onMouseMove((function(e){e.target.position&&(n?n.containsPosition(e.target.position)||r.closeMessage():n=new s["a"](t.lineNumber-3,1,e.target.position.lineNumber+3,1))})))},t.prototype.closeMessage=function(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(tn.fadeOut(this._messageWidget.value))},t.prototype._onDidAttemptReadOnlyEdit=function(){this._editor.hasModel()&&this.showMessage(r["a"]("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())},t.ID="editor.contrib.messageController",t.MESSAGE_VISIBLE=new se["d"]("messageVisible",!1),t=Qt([$t(1,se["c"])],t),t}(o["a"]),en=a["c"].bindToContribution(Jt.get);Object(a["g"])(new en({id:"leaveEditorMessage",precondition:Jt.MESSAGE_VISIBLE,handler:function(e){return e.closeMessage()},kbOpts:{weight:130,primary:9}}));var tn=function(){function e(e,t,n){var r=t.lineNumber,i=t.column;this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(r,r,0),this._position={lineNumber:r,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");var o=document.createElement("div");o.classList.add("message"),o.textContent=n,this._domNode.appendChild(o);var a=document.createElement("div");a.classList.add("anchor"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}return e.fadeOut=function(e){var t,n=function(){e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",n)};return t=setTimeout(n,110),e.getDomNode().addEventListener("animationend",n),e.getDomNode().classList.add("fadeOut"),{dispose:n}},e.prototype.dispose=function(){this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"messageoverlay"},e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return{position:this._position,preference:[1,2]}},e}();Object(a["h"])(Jt.ID,Jt),Object(j["e"])((function(e,t){var n=e.getColor(R["fb"]);if(n){var r=e.type===j["b"]?2:1;t.addRule(".monaco-editor .monaco-editor-overlaymessage .anchor { border-top-color: "+n+"; }"),t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { border: "+r+"px solid "+n+"; }")}var i=e.getColor(R["eb"]);i&&t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { background-color: "+i+"; }");var o=e.getColor(R["gb"]);o&&t.addRule(".monaco-editor .monaco-editor-overlaymessage .message { color: "+o+"; }")}));var nn,rn=n("Uzvx"),on=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),an=function(){return an=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},an.apply(this,arguments)},sn=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ln=function(e,t){return function(n,r){t(n,r,e)}},un=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},cn=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},dn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},hn=function(e){function t(t,n){var r=e.call(this,t.command?t.command.id:t.title,t.title,void 0,!t.disabled,n)||this;return r.action=t,r}return on(t,e),t}(ce["a"]),fn=function(e){function t(t,n,r,i){var a=e.call(this)||this;return a._editor=t,a._delegate=n,a._contextMenuService=r,a._visible=!1,a._showingActions=a._register(new o["d"]),a._keybindingResolver=new pn({getKeybindings:function(){return i.getKeybindings()}}),a}return on(t,e),Object.defineProperty(t.prototype,"isVisible",{get:function(){return this._visible},enumerable:!0,configurable:!0}),t.prototype.show=function(e,t,n,r){return un(this,void 0,void 0,(function(){var i,o,a,s,l=this;return cn(this,(function(u){if(i=r.includeDisabledActions?t.allActions:t.validActions,!i.length)return this._visible=!1,[2];if(!this._editor.getDomNode())throw this._visible=!1,Object(v["a"])();return this._visible=!0,this._showingActions.value=t,o=this.getMenuActions(e,i),a=p["a"].isIPosition(n)?this._toCoords(n):n||{x:0,y:0},s=this._keybindingResolver.getResolver(),this._contextMenuService.showContextMenu({getAnchor:function(){return a},getActions:function(){return o},onHide:function(){l._visible=!1,l._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:function(e){return e instanceof hn?s(e.action):void 0}}),[2]}))}))},t.prototype.getMenuActions=function(e,t){var n,r,i=this,o=function(e){return new hn(e,(function(){return i._delegate.onSelectCodeAction(e)}))},a=t.map(o),s=this._editor.getModel();if(s&&a.length)for(var l=0,u=m["a"].all(s);l<u.length;l++){var c=u[l];if(c._getAdditionalMenuItems){var d=c._getAdditionalMenuItems({trigger:e.type,only:null===(r=null===(n=e.filter)||void 0===n?void 0:n.include)||void 0===r?void 0:r.value},t);d.length&&a.push.apply(a,dn([new ue["d"]],d.map((function(e){return o({title:e.title,command:e})}))))}}return a},t.prototype._toCoords=function(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();var t=this._editor.getScrolledVisiblePosition(e),n=Object(c["B"])(this._editor.getDomNode()),r=n.left+t.left,i=n.top+t.top+t.height;return{x:r,y:i}},t=sn([ln(2,rn["a"]),ln(3,ft["a"])],t),t}(o["a"]),pn=function(){function e(e){this._keybindingProvider=e}return e.prototype.getResolver=function(){var t=this,n=new qt((function(){return t._keybindingProvider.getKeybindings().filter((function(t){return e.codeActionCommands.indexOf(t.command)>=0})).filter((function(e){return e.resolvedKeybinding})).map((function(e){var t=e.commandArgs;return e.command===Wt?t={kind:Nt.SourceOrganizeImports.value}:e.command===Ht&&(t={kind:Nt.SourceFixAll.value}),an({resolvedKeybinding:e.resolvedKeybinding},Pt.fromUser(t,{kind:Nt.None,apply:"never"}))}))}));return function(e){if(e.kind){var r=t.bestKeybindingForCodeAction(e,n.getValue());return null===r||void 0===r?void 0:r.resolvedKeybinding}}},e.prototype.bestKeybindingForCodeAction=function(e,t){if(e.kind){var n=new Nt(e.kind);return t.filter((function(e){return e.kind.contains(n)})).filter((function(t){return!t.preferred||e.isPreferred})).reduceRight((function(e,t){return e?e.kind.contains(t.kind)?t:e:t}),void 0)}},e.codeActionCommands=[Vt,Bt,zt,Wt,Ht],e}(),gn=(n("MNXI"),n("pg8w")),mn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),vn=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},yn=function(e,t){return function(n,r){t(n,r,e)}};(function(e){e.Hidden={type:0};var t=function(){function e(e,t,n,r){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=r,this.type=1}return e}();e.Showing=t})(nn||(nn={}));var bn=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._editor=t,o._quickFixActionId=n,o._preferredFixActionId=r,o._keybindingService=i,o._onClick=o._register(new L["a"]),o.onClick=o._onClick.event,o._state=nn.Hidden,o._domNode=document.createElement("div"),o._domNode.className="codicon codicon-lightbulb",o._editor.addContentWidget(o),o._register(o._editor.onDidChangeModelContent((function(e){var t=o._editor.getModel();(1!==o.state.type||!t||o.state.editorPosition.lineNumber>=t.getLineCount())&&o.hide()}))),gn["b"].ignoreTarget(o._domNode),o._register(c["m"](o._domNode,(function(e){if(1===o.state.type){o._editor.focus(),e.preventDefault();var t=c["B"](o._domNode),n=t.top,r=t.height,i=o._editor.getOption(49),a=Math.floor(i/3);null!==o.state.widgetPosition.position&&o.state.widgetPosition.position.lineNumber<o.state.editorPosition.lineNumber&&(a+=i),o._onClick.fire({x:e.posx,y:n+r+a,actions:o.state.actions,trigger:o.state.trigger})}}))),o._register(c["i"](o._domNode,"mouseenter",(function(e){if(1===(1&e.buttons)){o.hide();var t=new P["a"];t.startMonitoring(e.target,e.buttons,P["b"],(function(){}),(function(){t.dispose()}))}}))),o._register(o._editor.onDidChangeConfiguration((function(e){e.hasChanged(47)&&!o._editor.getOption(47).enabled&&o.hide()}))),o._updateLightBulbTitle(),o._register(o._keybindingService.onDidUpdateKeybindings(o._updateLightBulbTitle,o)),o}return mn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._editor.removeContentWidget(this)},t.prototype.getId=function(){return"LightBulbWidget"},t.prototype.getDomNode=function(){return this._domNode},t.prototype.getPosition=function(){return 1===this._state.type?this._state.widgetPosition:null},t.prototype.update=function(e,n,r){var i=this;if(e.validActions.length<=0)return this.hide();var o=this._editor.getOptions();if(!o.get(47).enabled)return this.hide();var a=r.lineNumber,s=r.column,l=this._editor.getModel();if(!l)return this.hide();var u=l.getOptions().tabSize,d=o.get(34),h=l.getLineContent(a),f=g["b"].computeIndentLevel(h,u),p=d.spaceWidth*f>22,m=function(e){return e>2&&i._editor.getTopForLineNumber(e)===i._editor.getTopForLineNumber(e-1)},v=a;if(!p)if(a>1&&!m(a-1))v-=1;else if(m(a+1)){if(s*d.spaceWidth<22)return this.hide()}else v+=1;this.state=new nn.Showing(e,n,r,{position:{lineNumber:v,column:1},preference:t._posPref}),c["X"](this._domNode,"codicon-lightbulb-autofix",e.hasAutoFix),this._editor.layoutContentWidget(this)},t.prototype.hide=function(){this.state=nn.Hidden,this._editor.layoutContentWidget(this)},Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state=e,this._updateLightBulbTitle()},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbTitle=function(){if(1===this.state.type&&this.state.actions.hasAutoFix){var e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=r["a"]("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}var t=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=t?r["a"]("quickFixWithKb","Show Fixes ({0})",t.getLabel()):r["a"]("quickFix","Show Fixes")},Object.defineProperty(t.prototype,"title",{set:function(e){this._domNode.title=e},enumerable:!0,configurable:!0}),t._posPref=[0],t=vn([yn(3,ft["a"])],t),t}(o["a"]);Object(j["e"])((function(e,t){var n=e.getColor(R["J"]);n&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb {\n\t\t\tcolor: "+n+";\n\t\t}");var r=e.getColor(R["I"]);r&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb-autofix {\n\t\t\tcolor: "+r+";\n\t\t}")}));var _n,wn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xn=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Cn=function(e,t){return function(n,r){t(n,r,e)}},Sn=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},On=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},kn=function(e){function t(t,n,r,i,a){var s=e.call(this)||this;return s._editor=t,s.delegate=i,s._activeCodeActions=s._register(new o["d"]),s._codeActionWidget=new qt((function(){return s._register(a.createInstance(fn,s._editor,{onSelectCodeAction:function(e){return Sn(s,void 0,void 0,(function(){return On(this,(function(t){return this.delegate.applyCodeAction(e,!0),[2]}))}))}}))})),s._lightBulbWidget=new qt((function(){var e=s._register(a.createInstance(bn,s._editor,n,r));return s._register(e.onClick((function(e){return s.showCodeActionList(e.trigger,e.actions,e,{includeDisabledActions:!1})}))),e})),s}return wn(t,e),t.prototype.update=function(e){var t,n,r;return Sn(this,void 0,void 0,(function(){var i,o,a,s,l;return On(this,(function(u){switch(u.label){case 0:if(1!==e.type)return null===(t=this._lightBulbWidget.rawValue)||void 0===t||t.hide(),[2];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,e.actions];case 2:return i=u.sent(),[3,4];case 3:return o=u.sent(),Object(v["e"])(o),[2];case 4:if(this._lightBulbWidget.getValue().update(i,e.trigger,e.position),2!==e.trigger.type)return[3,11];if(!(null===(n=e.trigger.filter)||void 0===n?void 0:n.include))return[3,10];if(a=this.tryGetValidActionToApply(e.trigger,i),!a)return[3,9];u.label=5;case 5:return u.trys.push([5,,7,8]),[4,this.delegate.applyCodeAction(a,!1)];case 6:return u.sent(),[3,8];case 7:return i.dispose(),[7];case 8:return[2];case 9:if(e.trigger.context&&(s=this.getInvalidActionThatWouldHaveBeenApplied(e.trigger,i),s&&s.disabled))return Jt.get(this._editor).showMessage(s.disabled,e.trigger.context.position),i.dispose(),[2];u.label=10;case 10:return l=!!(null===(r=e.trigger.filter)||void 0===r?void 0:r.include),!e.trigger.context||i.allActions.length&&(l||i.validActions.length)?(this._activeCodeActions.value=i,this._codeActionWidget.getValue().show(e.trigger,i,e.position,{includeDisabledActions:l}),[3,12]):(Jt.get(this._editor).showMessage(e.trigger.context.notAvailableMessage,e.trigger.context.position),this._activeCodeActions.value=i,i.dispose(),[2]);case 11:this._codeActionWidget.getValue().isVisible?i.dispose():this._activeCodeActions.value=i,u.label=12;case 12:return[2]}}))}))},t.prototype.getInvalidActionThatWouldHaveBeenApplied=function(e,t){if(t.allActions.length)return"first"===e.autoApply&&0===t.validActions.length||"ifSingle"===e.autoApply&&1===t.allActions.length?Object(q["h"])(t.allActions,(function(e){return e.disabled})):void 0},t.prototype.tryGetValidActionToApply=function(e,t){if(t.validActions.length)return"first"===e.autoApply&&t.validActions.length>0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0},t.prototype.showCodeActionList=function(e,t,n,r){return Sn(this,void 0,void 0,(function(){return On(this,(function(i){return this._codeActionWidget.getValue().show(e,t,n,r),[2]}))}))},t=xn([Cn(4,ge["a"])],t),t}(o["a"]),En=n("tTk5"),Dn=n("XXUj"),Mn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Nn=new se["d"]("supportedCodeAction",""),Ln=function(e){function t(t,n,r,i){void 0===i&&(i=250);var o=e.call(this)||this;return o._editor=t,o._markerService=n,o._signalChange=r,o._delay=i,o._autoTriggerTimer=o._register(new x["e"]),o._register(o._markerService.onMarkerChanged((function(e){return o._onMarkerChanges(e)}))),o._register(o._editor.onDidChangeCursorPosition((function(){return o._onCursorChange()}))),o}return Mn(t,e),t.prototype.trigger=function(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)},t.prototype._onMarkerChanges=function(e){var t=this,n=this._editor.getModel();n&&e.some((function(e){return Object(oe["e"])(e,n.uri)}))&&this._autoTriggerTimer.cancelAndSet((function(){t.trigger({type:1})}),this._delay)},t.prototype._onCursorChange=function(){var e=this;this._autoTriggerTimer.cancelAndSet((function(){e.trigger({type:1})}),this._delay)},t.prototype._getRangeOfMarker=function(e){var t=this._editor.getModel();if(t)for(var n=0,r=this._markerService.read({resource:t.uri});n<r.length;n++){var i=r[n],o=t.validateRange(i);if(s["a"].intersectRanges(o,e))return s["a"].lift(o)}},t.prototype._getRangeOfSelectionUnlessWhitespaceEnclosed=function(e){if(this._editor.hasModel()){var t=this._editor.getModel(),n=this._editor.getSelection();if(n.isEmpty()&&1===e.type){var r=n.getPosition(),i=r.lineNumber,o=r.column,a=t.getLineContent(i);if(0===a.length)return;if(1===o){if(/\s/.test(a[0]))return}else if(o===t.getLineMaxColumn(i)){if(/\s/.test(a[a.length-1]))return}else if(/\s/.test(a[o-2])&&/\s/.test(a[o-1]))return}return n}},t.prototype._createEventAndSignalChange=function(e,t){var n=this._editor.getModel();if(t&&n){var r=this._getRangeOfMarker(t),i=r?r.getStartPosition():t.getStartPosition(),o={trigger:e,selection:t,position:i};return this._signalChange(o),o}this._signalChange(void 0)},t}(o["a"]);(function(e){e.Empty={type:0};var t=function(){function e(e,t,n,r){this.trigger=e,this.rangeOrSelection=t,this.position=n,this.actions=r,this.type=1}return e}();e.Triggered=t})(_n||(_n={}));var In=function(e){function t(t,n,r,i){var a=e.call(this)||this;return a._editor=t,a._markerService=n,a._progressService=i,a._codeActionOracle=a._register(new o["d"]),a._state=_n.Empty,a._onDidChangeState=a._register(new L["a"]),a.onDidChangeState=a._onDidChangeState.event,a._supportedCodeActions=Nn.bindTo(r),a._register(a._editor.onDidChangeModel((function(){return a._update()}))),a._register(a._editor.onDidChangeModelLanguage((function(){return a._update()}))),a._register(m["a"].onDidChange((function(){return a._update()}))),a._update(),a}return Mn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this.setState(_n.Empty,!0)},t.prototype._update=function(){var e=this;this._codeActionOracle.value=void 0,this.setState(_n.Empty);var t=this._editor.getModel();if(t&&m["a"].has(t)&&!this._editor.getOption(68)){for(var n=[],r=0,i=m["a"].all(t);r<i.length;r++){var o=i[r];Array.isArray(o.providedCodeActionKinds)&&n.push.apply(n,o.providedCodeActionKinds)}this._supportedCodeActions.set(n.join(" ")),this._codeActionOracle.value=new Ln(this._editor,this._markerService,(function(n){if(n){var r=Object(x["f"])((function(e){return Kt(t,n.selection,n.trigger,e)}));e._progressService&&2===n.trigger.type&&e._progressService.showWhile(r,250),e.setState(new _n.Triggered(n.trigger,n.selection,n.position,r))}else e.setState(_n.Empty)}),void 0),this._codeActionOracle.value.trigger({type:1})}else this._supportedCodeActions.reset()},t.prototype.trigger=function(e){this._codeActionOracle.value&&this._codeActionOracle.value.trigger(e)},t.prototype.setState=function(e,t){e!==this._state&&(1===this._state.type&&this._state.actions.cancel(),this._state=e,t||this._onDidChangeState.fire(e))},t}(o["a"]),Tn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Pn=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},An=function(e,t){return function(n,r){t(n,r,e)}},Rn=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},jn=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Fn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};function Bn(e){return se["a"].regex(Nn.keys()[0],new RegExp("(\\s|^)"+Object(he["p"])(e.value)+"\\b"))}var Vn={type:"object",required:["kind"],defaultSnippets:[{body:{kind:""}}],properties:{kind:{type:"string",description:r["a"]("args.schema.kind","Kind of the code action to run.")},apply:{type:"string",description:r["a"]("args.schema.apply","Controls when the returned actions are applied."),default:"ifSingle",enum:["first","ifSingle","never"],enumDescriptions:[r["a"]("args.schema.apply.first","Always apply the first returned code action."),r["a"]("args.schema.apply.ifSingle","Apply the first returned code action if it is the only one."),r["a"]("args.schema.apply.never","Do not apply the returned code actions.")]},preferred:{type:"boolean",default:!1,description:r["a"]("args.schema.preferred","Controls if only preferred code actions should be returned.")}}},zn=function(e){function t(t,n,r,i,o){var a=e.call(this)||this;return a._instantiationService=o,a._editor=t,a._model=a._register(new In(a._editor,n,r,i)),a._register(a._model.onDidChangeState((function(e){return a.update(e)}))),a._ui=new qt((function(){return a._register(new kn(t,Kn.Id,Gn.Id,{applyCodeAction:function(e,t){return Rn(a,void 0,void 0,(function(){return jn(this,(function(n){switch(n.label){case 0:return n.trys.push([0,,2,3]),[4,this._applyCodeAction(e)];case 1:return n.sent(),[3,3];case 2:return t&&this._trigger({type:1,filter:{}}),[7];case 3:return[2]}}))}))}},a._instantiationService))})),a}return Tn(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.update=function(e){this._ui.getValue().update(e)},t.prototype.showCodeActions=function(e,t,n){return this._ui.getValue().showCodeActionList(e,t,n,{includeDisabledActions:!1})},t.prototype.manualTriggerAtCurrentPosition=function(e,t,n){if(this._editor.hasModel()){Jt.get(this._editor).closeMessage();var r=this._editor.getPosition();this._trigger({type:2,filter:t,autoApply:n,context:{notAvailableMessage:e,position:r}})}},t.prototype._trigger=function(e){return this._model.trigger(e)},t.prototype._applyCodeAction=function(e){return this._instantiationService.invokeFunction(Wn,e,this._editor)},t.ID="editor.contrib.quickFixController",t=Pn([An(1,ie["b"]),An(2,se["c"]),An(3,En["a"]),An(4,ge["a"])],t),t}(o["a"]);function Wn(e,t,n){return Rn(this,void 0,void 0,(function(){var i,o,a,s,l,u;return jn(this,(function(c){switch(c.label){case 0:return i=e.get(Yt["a"]),o=e.get(pe["b"]),a=e.get(Dn["a"]),s=e.get(me["a"]),a.publicLog2("codeAction.applyCodeAction",{codeActionTitle:t.title,codeActionKind:t.kind,codeActionIsPreferred:!!t.isPreferred}),t.edit?[4,i.apply(t.edit,{editor:n})]:[3,2];case 1:c.sent(),c.label=2;case 2:if(!t.command)return[3,6];c.label=3;case 3:return c.trys.push([3,5,,6]),[4,o.executeCommand.apply(o,Fn([t.command.id],t.command.arguments||[]))];case 4:return c.sent(),[3,6];case 5:return l=c.sent(),u=Hn(l),s.error("string"===typeof u?u:r["a"]("applyCodeActionFailed","An unknown error occurred while applying the code action")),[3,6];case 6:return[2]}}))}))}function Hn(e){return"string"===typeof e?e:e instanceof Error&&"string"===typeof e.message?e.message:void 0}function Un(e,t,n,r){if(e.hasModel()){var i=zn.get(e);i&&i.manualTriggerAtCurrentPosition(t,n,r)}}var Kn=function(e){function t(){return e.call(this,{id:t.Id,label:r["a"]("quickfix.trigger.label","Quick Fix..."),alias:"Quick Fix...",precondition:se["a"].and(l["a"].writable,l["a"].hasCodeActionsProvider),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:2132,weight:100}})||this}return Tn(t,e),t.prototype.run=function(e,t){return Un(t,r["a"]("editor.action.quickFix.noneMessage","No code actions available"),void 0,void 0)},t.Id="editor.action.quickFix",t}(a["b"]),Gn=(function(e){function t(){return e.call(this,{id:Bt,precondition:se["a"].and(l["a"].writable,l["a"].hasCodeActionsProvider),description:{description:"Trigger a code action",args:[{name:"args",schema:Vn}]}})||this}Tn(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=Pt.fromUser(n,{kind:Nt.Empty,apply:"ifSingle"});return Un(t,"string"===typeof(null===n||void 0===n?void 0:n.kind)?i.preferred?r["a"]("editor.action.codeAction.noneMessage.preferred.kind","No preferred code actions for '{0}' available",n.kind):r["a"]("editor.action.codeAction.noneMessage.kind","No code actions for '{0}' available",n.kind):i.preferred?r["a"]("editor.action.codeAction.noneMessage.preferred","No preferred code actions available"):r["a"]("editor.action.codeAction.noneMessage","No code actions available"),{include:i.kind,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}(a["c"]),function(e){function t(){return e.call(this,{id:Vt,label:r["a"]("refactor.label","Refactor..."),alias:"Refactor...",precondition:se["a"].and(l["a"].writable,l["a"].hasCodeActionsProvider),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:3120,mac:{primary:1328},weight:100},contextMenuOpts:{group:"1_modification",order:2,when:se["a"].and(l["a"].writable,Bn(Nt.Refactor))},description:{description:"Refactor...",args:[{name:"args",schema:Vn}]}})||this}Tn(t,e),t.prototype.run=function(e,t,n){var i=Pt.fromUser(n,{kind:Nt.Refactor,apply:"never"});return Un(t,"string"===typeof(null===n||void 0===n?void 0:n.kind)?i.preferred?r["a"]("editor.action.refactor.noneMessage.preferred.kind","No preferred refactorings for '{0}' available",n.kind):r["a"]("editor.action.refactor.noneMessage.kind","No refactorings for '{0}' available",n.kind):i.preferred?r["a"]("editor.action.refactor.noneMessage.preferred","No preferred refactorings available"):r["a"]("editor.action.refactor.noneMessage","No refactorings available"),{include:Nt.Refactor.contains(i.kind)?i.kind:Nt.None,onlyIncludePreferredActions:i.preferred},i.apply)}}(a["b"]),function(e){function t(){return e.call(this,{id:zt,label:r["a"]("source.label","Source Action..."),alias:"Source Action...",precondition:se["a"].and(l["a"].writable,l["a"].hasCodeActionsProvider),contextMenuOpts:{group:"1_modification",order:2.1,when:se["a"].and(l["a"].writable,Bn(Nt.Source))},description:{description:"Source Action...",args:[{name:"args",schema:Vn}]}})||this}Tn(t,e),t.prototype.run=function(e,t,n){var i=Pt.fromUser(n,{kind:Nt.Source,apply:"never"});return Un(t,"string"===typeof(null===n||void 0===n?void 0:n.kind)?i.preferred?r["a"]("editor.action.source.noneMessage.preferred.kind","No preferred source actions for '{0}' available",n.kind):r["a"]("editor.action.source.noneMessage.kind","No source actions for '{0}' available",n.kind):i.preferred?r["a"]("editor.action.source.noneMessage.preferred","No preferred source actions available"):r["a"]("editor.action.source.noneMessage","No source actions available"),{include:Nt.Source.contains(i.kind)?i.kind:Nt.None,includeSourceActions:!0,onlyIncludePreferredActions:i.preferred},i.apply)}}(a["b"]),function(e){function t(){return e.call(this,{id:Wt,label:r["a"]("organizeImports.label","Organize Imports"),alias:"Organize Imports",precondition:se["a"].and(l["a"].writable,Bn(Nt.SourceOrganizeImports)),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:1581,weight:100}})||this}Tn(t,e),t.prototype.run=function(e,t){return Un(t,r["a"]("editor.action.organize.noneMessage","No organize imports action available"),{include:Nt.SourceOrganizeImports,includeSourceActions:!0},"ifSingle")}}(a["b"]),function(e){function t(){return e.call(this,{id:Ht,label:r["a"]("fixAll.label","Fix All"),alias:"Fix All",precondition:se["a"].and(l["a"].writable,Bn(Nt.SourceFixAll))})||this}Tn(t,e),t.prototype.run=function(e,t){return Un(t,r["a"]("fixAll.noneMessage","No fix all action available"),{include:Nt.SourceFixAll,includeSourceActions:!0},"ifSingle")}}(a["b"]),function(e){function t(){return e.call(this,{id:t.Id,label:r["a"]("autoFix.label","Auto Fix..."),alias:"Auto Fix...",precondition:se["a"].and(l["a"].writable,Bn(Nt.QuickFix)),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:1620,mac:{primary:2644},weight:100}})||this}return Tn(t,e),t.prototype.run=function(e,t){return Un(t,r["a"]("editor.action.autoFix.noneMessage","No auto fixes available"),{include:Nt.QuickFix,onlyIncludePreferredActions:!0},"ifSingle")},t.Id="editor.action.autoFix",t}(a["b"])),qn=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Yn=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Xn=c["a"],Zn=function(){function e(e,t,n){this.range=e,this.color=t,this.provider=n}return e}(),Qn=function(){function e(e,t){this.range=e,this.marker=t}return e}(),$n=function(){function e(e,t){this._markerDecorationsService=t,this._editor=e,this._result=[]}return e.prototype.setRange=function(e){this._range=e,this._result=[]},e.prototype.clearResult=function(){this._result=[]},e.prototype.computeAsync=function(e){if(!this._editor.hasModel()||!this._range)return Promise.resolve([]);var t=this._editor.getModel();return m["o"].has(t)?Y(t,new p["a"](this._range.startLineNumber,this._range.startColumn),e):Promise.resolve([])},e.prototype.computeSync=function(){var e=this;if(!this._editor.hasModel()||!this._range)return[];var t=this._editor.getModel(),n=this._range.startLineNumber;if(n>this._editor.getModel().getLineCount())return[];var r=N.get(this._editor),i=t.getLineMaxColumn(n),o=this._editor.getLineDecorations(n),a=!1,l=this._range,u=o.map((function(o){var u=o.range.startLineNumber===n?o.range.startColumn:1,c=o.range.endLineNumber===n?o.range.endColumn:i;if(u>l.startColumn||l.endColumn>c)return null;var d=new s["a"](l.startLineNumber,u,l.startLineNumber,c),h=e._markerDecorationsService.getMarker(t,o);if(h)return new Qn(d,h);var p=r.getColorData(o.range.getStartPosition());if(!a&&p){a=!0;var g=p.colorInfo,m=g.color,v=g.range;return new Zn(v,m,p.provider)}if(Object(f["b"])(o.options.hoverMessage))return null;var y=o.options.hoverMessage?Object(q["b"])(o.options.hoverMessage):[];return{contents:y,range:d}}));return Object(q["d"])(u)},e.prototype.onResult=function(e,t){this._result=t?e.concat(this._result.sort((function(e,t){return e instanceof Zn?-1:t instanceof Zn?1:0}))):this._result.concat(e)},e.prototype.getResult=function(){return this._result.slice(0)},e.prototype.getResultWithLoadingMessage=function(){return this._result.slice(0).concat([this._getLoadingMessage()])},e.prototype._getLoadingMessage=function(){return{range:this._range,contents:[(new f["a"]).appendText(r["a"]("modesContentHover.loading","Loading..."))]}},e}(),Jn={type:2,filter:{include:Nt.QuickFix}},er=function(e){function t(n,r,i,a,s,l){void 0===l&&(l=ae["b"]);var u=e.call(this,t.ID,n)||this;return u._themeService=i,u._keybindingService=a,u._modeService=s,u._openerService=l,u.renderDisposable=u._register(new o["d"]),u._messages=[],u._lastRange=null,u._computer=new $n(u._editor,r),u._highlightDecorations=[],u._isChangingDecorations=!1,u._shouldFocus=!1,u._colorPicker=null,u._hoverOperation=new Q(u._computer,(function(e){return u._withResult(e,!0)}),null,(function(e){return u._withResult(e,!1)}),u._editor.getOption(44).delay),u._register(c["n"](u.getDomNode(),c["c"].FOCUS,(function(){u._colorPicker&&c["e"](u.getDomNode(),"colorpicker-hover")}))),u._register(c["n"](u.getDomNode(),c["c"].BLUR,(function(){c["O"](u.getDomNode(),"colorpicker-hover")}))),u._register(n.onDidChangeConfiguration((function(e){u._hoverOperation.setHoverTime(u._editor.getOption(44).delay)}))),u._register(m["y"].onDidChange((function(e){u.isVisible&&u._lastRange&&u._messages.length>0&&(u._domNode.textContent="",u._renderMessages(u._lastRange,u._messages))}))),u}return qn(t,e),t.prototype.dispose=function(){this._hoverOperation.cancel(),e.prototype.dispose.call(this)},t.prototype.onModelDecorationsChanged=function(){this._isChangingDecorations||this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))},t.prototype.startShowingAt=function(e,t,n){if(!this._lastRange||!this._lastRange.equalsRange(e)){if(this._hoverOperation.cancel(),this.isVisible)if(this._showAtPosition&&this._showAtPosition.lineNumber===e.startLineNumber){for(var r=[],i=0,o=this._messages.length;i<o;i++){var a=this._messages[i],s=a.range;s&&s.startColumn<=e.startColumn&&s.endColumn>=e.endColumn&&r.push(a)}if(r.length>0){if(tr(r,this._messages))return;this._renderMessages(e,r)}else this.hide()}else this.hide();this._lastRange=e,this._computer.setRange(e),this._shouldFocus=n,this._hoverOperation.start(t)}},t.prototype.hide=function(){this._lastRange=null,this._hoverOperation.cancel(),e.prototype.hide.call(this),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this.renderDisposable.clear(),this._colorPicker=null},t.prototype.isColorPickerVisible=function(){return!!this._colorPicker},t.prototype._withResult=function(e,t){this._messages=e,this._lastRange&&this._messages.length>0?this._renderMessages(this._lastRange,this._messages):t&&this.hide()},t.prototype._renderMessages=function(e,n){var r=this;this.renderDisposable.dispose(),this._colorPicker=null;var i=1073741824,a=n[0].range?s["a"].lift(n[0].range):null,l=document.createDocumentFragment(),u=!0,g=!1,m=new o["b"],v=[];if(n.forEach((function(e){if(e.range)if(i=Math.min(i,e.range.startColumn),a=a?s["a"].plusRange(a,e.range):s["a"].lift(e.range),e instanceof Zn){g=!0;var t=e.color,n=t.red,p=t.green,y=t.blue,b=t.alpha,_=new h["c"](Math.round(255*n),Math.round(255*p),Math.round(255*y),b),x=new h["a"](_);if(!r._editor.hasModel())return;var C=r._editor.getModel(),S=new s["a"](e.range.startLineNumber,e.range.startColumn,e.range.endLineNumber,e.range.endColumn),O={range:e.range,color:e.color},k=new I(x,[],0),E=new G(l,k,r._editor.getOption(105),r._themeService);w(C,O,e.provider,d["a"].None).then((function(t){if(k.colorPresentations=t||[],r._editor.hasModel()){var n=r._editor.getModel().getValueInRange(e.range);k.guessColorPresentation(x,n);var i=function(){var e,t;k.presentation.textEdit?(e=[k.presentation.textEdit],t=new s["a"](k.presentation.textEdit.range.startLineNumber,k.presentation.textEdit.range.startColumn,k.presentation.textEdit.range.endLineNumber,k.presentation.textEdit.range.endColumn),t=t.setEndPosition(t.endLineNumber,t.startColumn+k.presentation.textEdit.text.length)):(e=[{identifier:null,range:S,text:k.presentation.label,forceMoveMarkers:!1}],t=S.setEndPosition(S.endLineNumber,S.startColumn+k.presentation.label.length)),r._editor.pushUndoStop(),r._editor.executeEdits("colorpicker",e),k.presentation.additionalTextEdits&&(e=Yn(k.presentation.additionalTextEdits),r._editor.executeEdits("colorpicker",e),r.hide()),r._editor.pushUndoStop(),S=t},a=function(t){return w(C,{range:S,color:{red:t.rgba.r/255,green:t.rgba.g/255,blue:t.rgba.b/255,alpha:t.rgba.a}},e.provider,d["a"].None).then((function(e){k.colorPresentations=e||[]}))},u=k.onColorFlushed((function(e){a(e).then(i)})),c=k.onDidChangeColor(a);r._colorPicker=E,r.showAt(S.getStartPosition(),S,r._shouldFocus),r.updateContents(l),r._colorPicker.layout(),r.renderDisposable.value=Object(o["e"])(u,c,E,m)}}))}else e instanceof Qn?(v.push(e),u=!1):e.contents.filter((function(e){return!Object(f["b"])(e)})).forEach((function(e){var t=Xn("div.hover-row.markdown-hover"),n=c["p"](t,Xn("div.hover-contents")),i=m.add(new re["a"](r._editor,r._modeService,r._openerService));m.add(i.onDidRenderCodeBlock((function(){n.className="hover-contents code-hover-contents",r.onContentsChange()})));var o=m.add(i.render(e));n.appendChild(o.element),l.appendChild(t),u=!1}))})),v.length){v.forEach((function(e){return l.appendChild(r.renderMarkerHover(e))}));var y=1===v.length?v[0]:v.sort((function(e,t){return ie["c"].compare(e.marker.severity,t.marker.severity)}))[0];l.appendChild(this.renderMarkerStatusbar(y))}g||u||(this.showAt(new p["a"](e.startLineNumber,i),a,this._shouldFocus),this.updateContents(l)),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,a?[{range:a,options:t._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1},t.prototype.renderMarkerHover=function(e){var t=this,n=Xn("div.hover-row"),r=c["p"](n,Xn("div.marker.hover-contents")),i=e.marker,o=i.source,a=i.message,s=i.code,l=i.relatedInformation;this._editor.applyFontInfo(r);var u=c["p"](r,Xn("span"));if(u.style.whiteSpace="pre-wrap",u.innerText=a,o||s)if("string"===typeof s){var d=c["p"](r,Xn("span"));d.style.opacity="0.6",d.style.paddingLeft="6px",d.innerText=o&&s?o+"("+s+")":o||"("+s+")"}else if(s){var h=Xn("span");if(o){var f=c["p"](h,Xn("span"));f.innerText=o}this._codeLink=c["p"](h,Xn("a.code-link")),this._codeLink.setAttribute("href",s.link.toString()),this._codeLink.onclick=function(e){t._openerService.open(s.link),e.preventDefault(),e.stopPropagation()};var p=c["p"](this._codeLink,Xn("span"));p.innerText=s.value;d=c["p"](r,h);d.style.opacity="0.6",d.style.paddingLeft="6px"}if(Object(q["q"])(l))for(var g=function(e,n,i,o){var a=c["p"](r,Xn("div"));a.style.marginTop="8px";var s=c["p"](a,Xn("a"));s.innerText=Object(oe["b"])(n)+"("+i+", "+o+"): ",s.style.cursor="pointer",s.onclick=function(e){e.stopPropagation(),e.preventDefault(),t._openerService&&t._openerService.open(n.with({fragment:i+","+o}),{fromUserGesture:!0}).catch(v["e"])};var l=c["p"](a,Xn("span"));l.innerText=e,m._editor.applyFontInfo(l)},m=this,y=0,b=l;y<b.length;y++){var _=b[y],w=_.message,x=_.resource,C=_.startLineNumber,S=_.startColumn;g(w,x,C,S)}return n},t.prototype.renderMarkerStatusbar=function(e){var t=this,n=Xn("div.hover-row.status-bar"),i=new o["b"],a=c["p"](n,Xn("div.actions"));e.marker.severity!==ie["c"].Error&&e.marker.severity!==ie["c"].Warning&&e.marker.severity!==ie["c"].Info||i.add(this.renderAction(a,{label:r["a"]("peek problem","Peek Problem"),commandId:xt.ID,run:function(){t.hide(),_t.get(t._editor).show(e.marker),t._editor.focus()}}));var s=c["p"](a,Xn("div"));s.style.opacity="0",s.style.transition="opacity 0.2s",setTimeout((function(){return s.style.opacity="1"}),200),s.textContent=r["a"]("checkingForQuickFixes","Checking for quick fixes..."),i.add(Object(o["h"])((function(){return s.remove()})));var l=this.getCodeActions(e.marker);return i.add(Object(o["h"])((function(){return l.cancel()}))),l.then((function(e){if(s.style.transition="",s.style.opacity="1",!e.validActions.length)return e.dispose(),void(s.textContent=r["a"]("noQuickFixes","No quick fixes available"));s.remove();var n=!1;i.add(Object(o["h"])((function(){n||e.dispose()}))),i.add(t.renderAction(a,{label:r["a"]("quick fixes","Quick Fix..."),commandId:Kn.Id,run:function(r){n=!0;var i=zn.get(t._editor),o=c["B"](r);i.showCodeActions(Jn,e,{x:o.left+6,y:o.top+o.height+6})}}))})),this.renderDisposable.value=i,n},t.prototype.getCodeActions=function(e){var t=this;return Object(x["f"])((function(n){return Kt(t._editor.getModel(),new s["a"](e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn),Jn,n)}))},t.prototype.renderAction=function(e,t){var n=c["p"](e,Xn("div.action-container")),r=c["p"](n,Xn("a.action"));t.iconClass&&c["p"](r,Xn("span.icon."+t.iconClass));var i=c["p"](r,Xn("span"));i.textContent=t.label;var o=this._keybindingService.lookupKeybinding(t.commandId);return o&&(i.title=t.label+" ("+o.getLabel()+")"),c["i"](n,c["c"].CLICK,(function(e){e.stopPropagation(),e.preventDefault(),t.run(n)}))},t.ID="editor.contrib.modesContentHoverWidget",t._DECORATION_OPTIONS=g["a"].register({className:"hoverHighlight"}),t}(te);function tr(e,t){if(!e&&t||e&&!t||e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],i=t[n];if(r instanceof Qn&&i instanceof Qn)return ie["a"].makeKey(r.marker)===ie["a"].makeKey(i.marker);if(r instanceof Zn||i instanceof Zn)return!1;if(r instanceof Qn||i instanceof Qn)return!1;if(!Object(f["c"])(r.contents,i.contents))return!1}return!0}Object(j["e"])((function(e,t){var n=e.getColor(R["cc"]);n&&t.addRule(".monaco-editor-hover .hover-contents a.code-link span:hover { color: "+n+"; }")}));var nr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rr=function(){function e(e){this._editor=e,this._lineNumber=-1,this._result=[]}return e.prototype.setLineNumber=function(e){this._lineNumber=e,this._result=[]},e.prototype.clearResult=function(){this._result=[]},e.prototype.computeSync=function(){var e=function(e){return{value:e}},t=this._editor.getLineDecorations(this._lineNumber),n=[];if(!t)return n;for(var r=0,i=t;r<i.length;r++){var o=i[r];if(o.options.glyphMarginClassName){var a=o.options.glyphMarginHoverMessage;a&&!Object(f["b"])(a)&&n.push.apply(n,Object(q["b"])(a).map(e))}}return n},e.prototype.onResult=function(e,t){this._result=this._result.concat(e)},e.prototype.getResult=function(){return this._result},e.prototype.getResultWithLoadingMessage=function(){return this.getResult()},e}(),ir=function(e){function t(n,r,i){void 0===i&&(i=ae["b"]);var a=e.call(this,t.ID,n)||this;return a._renderDisposeables=a._register(new o["b"]),a._messages=[],a._lastLineNumber=-1,a._markdownRenderer=a._register(new re["a"](a._editor,r,i)),a._computer=new rr(a._editor),a._hoverOperation=new Q(a._computer,(function(e){return a._withResult(e)}),void 0,(function(e){return a._withResult(e)}),300),a}return nr(t,e),t.prototype.dispose=function(){this._hoverOperation.cancel(),e.prototype.dispose.call(this)},t.prototype.onModelDecorationsChanged=function(){this.isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))},t.prototype.startShowingAt=function(e){this._lastLineNumber!==e&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=e,this._computer.setLineNumber(e),this._hoverOperation.start(0))},t.prototype.hide=function(){this._lastLineNumber=-1,this._hoverOperation.cancel(),e.prototype.hide.call(this)},t.prototype._withResult=function(e){this._messages=e,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()},t.prototype._renderMessages=function(e,t){this._renderDisposeables.clear();for(var n=document.createDocumentFragment(),r=0,i=t;r<i.length;r++){var o=i[r],a=this._markdownRenderer.render(o.value);this._renderDisposeables.add(a),n.appendChild(Object(c["a"])("div.hover-row",void 0,a.element))}this.updateContents(n),this.showAt(e)},t.ID="editor.contrib.modesGlyphHoverWidget",t}(ne),or=n("79sc"),ar=(n("62hx"),function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))}),sr=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};function lr(e,t,n,r){var i=n.ordered(e),o=i.map((function(n){return Promise.resolve(r(n,e,t)).then(void 0,(function(e){Object(v["f"])(e)}))}));return Promise.all(o).then(q["m"]).then(q["d"])}function ur(e,t,n){return lr(e,t,m["f"],(function(e,t,r){return e.provideDefinition(t,r,n)}))}function cr(e,t,n){return lr(e,t,m["e"],(function(e,t,r){return e.provideDeclaration(t,r,n)}))}function dr(e,t,n){return lr(e,t,m["p"],(function(e,t,r){return e.provideImplementation(t,r,n)}))}function hr(e,t,n){return lr(e,t,m["z"],(function(e,t,r){return e.provideTypeDefinition(t,r,n)}))}function fr(e,t,n,r){var i=this;return lr(e,t,m["t"],(function(e,t,o){return ar(i,void 0,void 0,(function(){var i,a;return sr(this,(function(s){switch(s.label){case 0:return[4,e.provideReferences(t,o,{includeDeclaration:!0},r)];case 1:return i=s.sent(),n&&i&&2===i.length?[4,e.provideReferences(t,o,{includeDeclaration:!1},r)]:[2,i];case 2:return a=s.sent(),a&&1===a.length?[2,a]:[2,i]}}))}))}))}Object(a["k"])("_executeDefinitionProvider",(function(e,t){return ur(e,t,d["a"].None)})),Object(a["k"])("_executeDeclarationProvider",(function(e,t){return cr(e,t,d["a"].None)})),Object(a["k"])("_executeImplementationProvider",(function(e,t){return dr(e,t,d["a"].None)})),Object(a["k"])("_executeTypeDefinitionProvider",(function(e,t){return hr(e,t,d["a"].None)})),Object(a["k"])("_executeReferenceProvider",(function(e,t){return fr(e,t,!1,d["a"].None)}));var pr,gr,mr=n("t49l"),vr=n("MNsG"),yr=n("sFUC"),br=n("A+jI"),_r=function(){function e(e,t,n,r){this.isProviderFirst=e,this.parent=t,this._range=n,this._rangeCallback=r,this.id=Ce["b"].nextId()}return Object.defineProperty(e.prototype,"uri",{get:function(){return this.parent.uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){return this._range},set:function(e){this._range=e,this._rangeCallback(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMessage",{get:function(){return Object(r["a"])("aria.oneReference","symbol in {0} on line {1} at column {2}",Object(oe["b"])(this.uri),this.range.startLineNumber,this.range.startColumn)},enumerable:!0,configurable:!0}),e}(),wr=function(){function e(e){this._modelReference=e}return e.prototype.dispose=function(){this._modelReference.dispose()},e.prototype.preview=function(e,t){void 0===t&&(t=8);var n=this._modelReference.object.textEditorModel;if(n){var r=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,a=e.endColumn,l=n.getWordUntilPosition({lineNumber:r,column:i-t}),u=new s["a"](r,l.startColumn,r,i),c=new s["a"](o,a,o,1073741824),d=n.getValueInRange(u).replace(/^\s+/,""),h=n.getValueInRange(e),f=n.getValueInRange(c).replace(/\s+$/,"");return{value:d+h+f,highlight:{start:d.length,end:d.length+h.length}}}},e}(),xr=function(){function e(e,t){this.parent=e,this.uri=t,this.children=[]}return e.prototype.dispose=function(){Object(o["f"])(this._preview),this._preview=void 0},Object.defineProperty(e.prototype,"preview",{get:function(){return this._preview},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"failure",{get:function(){return this._loadFailure},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMessage",{get:function(){var e=this.children.length;return 1===e?Object(r["a"])("aria.fileReferences.1","1 symbol in {0}, full path {1}",Object(oe["b"])(this.uri),this.uri.fsPath):Object(r["a"])("aria.fileReferences.N","{0} symbols in {1}, full path {2}",e,Object(oe["b"])(this.uri),this.uri.fsPath)},enumerable:!0,configurable:!0}),e.prototype.resolve=function(e){var t=this;return this._resolved?Promise.resolve(this):Promise.resolve(e.createModelReference(this.uri).then((function(e){var n=e.object;if(!n)throw e.dispose(),new Error;return t._preview=new wr(e),t._resolved=!0,t}),(function(e){return t.children.length=0,t._resolved=!0,t._loadFailure=e,t})))},e}(),Cr=function(){function e(t,n){var r=this;this._disposables=new o["b"],this.groups=[],this.references=[],this._onDidChangeReferenceRange=new L["a"],this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=t,this._title=n;var i,a=t[0];t.sort(e._compareReferences);for(var l=0,u=t;l<u.length;l++){var c=u[l];if(i&&i.uri.toString()===c.uri.toString()||(i=new xr(this,c.uri),this.groups.push(i)),0===i.children.length||!s["a"].equalsRange(c.range,i.children[i.children.length-1].range)){var d=new _r(a===c,i,c.targetSelectionRange||c.range,(function(e){return r._onDidChangeReferenceRange.fire(e)}));this.references.push(d),i.children.push(d)}}}return e.prototype.dispose=function(){Object(o["f"])(this.groups),this._disposables.dispose(),this._onDidChangeReferenceRange.dispose(),this.groups.length=0},e.prototype.clone=function(){return new e(this._links,this._title)},Object.defineProperty(e.prototype,"title",{get:function(){return this._title},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.groups.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaMessage",{get:function(){return this.isEmpty?Object(r["a"])("aria.result.0","No results found"):1===this.references.length?Object(r["a"])("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):1===this.groups.length?Object(r["a"])("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):Object(r["a"])("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)},enumerable:!0,configurable:!0}),e.prototype.nextOrPreviousReference=function(e,t){var n=e.parent,r=n.children.indexOf(e),i=n.children.length,o=n.parent.groups.length;return 1===o||t&&r+1<i||!t&&r>0?(r=t?(r+1)%i:(r+i-1)%i,n.children[r]):(r=n.parent.groups.indexOf(n),t?(r=(r+1)%o,n.parent.groups[r].children[0]):(r=(r+o-1)%o,n.parent.groups[r].children[n.parent.groups[r].children.length-1]))},e.prototype.nearestReference=function(e,t){var n=this.references.map((function(n,r){return{idx:r,prefixLen:he["c"](n.uri.toString(),e.toString()),offsetDist:100*Math.abs(n.range.startLineNumber-t.lineNumber)+Math.abs(n.range.startColumn-t.column)}})).sort((function(e,t){return e.prefixLen>t.prefixLen?-1:e.prefixLen<t.prefixLen?1:e.offsetDist<t.offsetDist?-1:e.offsetDist>t.offsetDist?1:0}))[0];if(n)return this.references[n.idx]},e.prototype.referenceAt=function(e,t){for(var n=0,r=this.references;n<r.length;n++){var i=r[n];if(i.uri.toString()===e.toString()&&s["a"].containsPosition(i.range,t))return i}},e.prototype.firstReference=function(){for(var e=0,t=this.references;e<t.length;e++){var n=t[e];if(n.isProviderFirst)return n}return this.references[0]},e._compareReferences=function(e,t){return he["e"](e.uri.toString(),t.uri.toString())||s["a"].compareRangesUsingStarts(e.range,t.range)},e}(),Sr=(n("KaET"),n("tYmi")),Or=n("xONI"),kr=(n("VPJY"),{badgeBackground:h["a"].fromHex("#4D4D4D"),badgeForeground:h["a"].fromHex("#FFFFFF")}),Er=function(){function e(e,t){this.count=0,this.options=t||Object.create(null),Object(de["g"])(this.options,kr,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=Object(c["p"])(e,Object(c["a"])(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}return e.prototype.setCount=function(e){this.count=e,this.render()},e.prototype.setTitleFormat=function(e){this.titleFormat=e,this.render()},e.prototype.render=function(){this.element.textContent=Object(he["r"])(this.countFormat,this.count),this.element.title=Object(he["r"])(this.titleFormat,this.count),this.applyStyles()},e.prototype.style=function(e){this.badgeBackground=e.badgeBackground,this.badgeForeground=e.badgeForeground,this.badgeBorder=e.badgeBorder,this.applyStyles()},e.prototype.applyStyles=function(){if(this.element){var e=this.badgeBackground?this.badgeBackground.toString():"",t=this.badgeForeground?this.badgeForeground.toString():"",n=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=e,this.element.style.color=t,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.borderColor=n}},e}(),Dr=n("R8sh"),Mr=n("ptcw"),Nr=n("fpMC"),Lr=n("7lZ/"),Ir=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tr=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Pr=function(e,t){return function(n,r){t(n,r,e)}},Ar=function(){function e(e){this._resolverService=e}return e.prototype.hasChildren=function(e){return e instanceof Cr||e instanceof xr&&!e.failure},e.prototype.getChildren=function(e){if(e instanceof Cr)return e.groups;if(e instanceof xr)return e.resolve(this._resolverService).then((function(e){return e.children}));throw new Error("bad tree")},e=Tr([Pr(0,mr["a"])],e),e}(),Rr=function(){function e(){}return e.prototype.getHeight=function(){return 23},e.prototype.getTemplateId=function(e){return e instanceof xr?Vr.id:Wr.id},e}(),jr=function(){function e(e){this._keybindingService=e}return e.prototype.getKeyboardNavigationLabel=function(e){if(e instanceof _r){var t=e.parent.preview,n=t&&t.preview(e.range);if(n)return n.value}return Object(oe["b"])(e.uri)},e=Tr([Pr(0,ft["a"])],e),e}(),Fr=function(){function e(){}return e.prototype.getId=function(e){return e instanceof _r?e.id:e.uri},e}(),Br=function(e){function t(t,n,r){var i=e.call(this)||this;i._uriLabel=n;var o=document.createElement("div");return c["e"](o,"reference-file"),i.file=i._register(new Or["a"](o,{supportHighlights:!0})),i.badge=new Er(c["p"](o,c["a"](".count"))),i._register(Object(Mr["a"])(i.badge,r)),t.appendChild(o),i}return Ir(t,e),t.prototype.set=function(e,t){var n=Object(oe["d"])(e.uri);this.file.setLabel(Object(le["a"])(e.uri),this._uriLabel.getUriLabel(n,{relative:!0}),{title:this._uriLabel.getUriLabel(e.uri),matches:t});var i=e.children.length;this.badge.setCount(i),e.failure?this.badge.setTitleFormat(Object(r["a"])("referencesFailre","Failed to resolve file.")):i>1?this.badge.setTitleFormat(Object(r["a"])("referencesCount","{0} references",i)):this.badge.setTitleFormat(Object(r["a"])("referenceCount","{0} reference",i))},t=Tr([Pr(1,Dr["a"]),Pr(2,j["c"])],t),t}(o["a"]),Vr=function(){function e(t){this._instantiationService=t,this.templateId=e.id}return e.prototype.renderTemplate=function(e){return this._instantiationService.createInstance(Br,e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,Object(Nr["c"])(e.filterData))},e.prototype.disposeTemplate=function(e){e.dispose()},e.id="FileReferencesRenderer",e=Tr([Pr(0,ge["a"])],e),e}(),zr=function(){function e(e){this.label=new Lr["a"](e,!1)}return e.prototype.set=function(e,t){var n=e.parent.preview,r=n&&n.preview(e.range);if(r){var i=r.value,o=r.highlight;t&&!Nr["a"].isDefault(t)?(c["X"](this.label.element,"referenceMatch",!1),this.label.set(i,Object(Nr["c"])(t))):(c["X"](this.label.element,"referenceMatch",!0),this.label.set(i,[o]))}else this.label.set(Object(oe["b"])(e.uri)+":"+(e.range.startLineNumber+1)+":"+(e.range.startColumn+1))},e}(),Wr=function(){function e(){this.templateId=e.id}return e.prototype.renderTemplate=function(e){return new zr(e)},e.prototype.renderElement=function(e,t,n){n.set(e.element,e.filterData)},e.prototype.disposeTemplate=function(){},e.id="OneReferenceRenderer",e}(),Hr=function(){function e(){}return e.prototype.getAriaLabel=function(e){return e.ariaMessage},e}(),Ur=n("k9mg"),Kr=(n("51B1"),n("746U")),Gr=n("Sdnv"),qr=n("4y0V"),Yr=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Xr=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Zr={separatorBorder:h["a"].transparent},Qr=function(){function e(e,t,n,r){this.container=e,this.view=t,this.disposable=r,this._cachedVisibleSize=void 0,"number"===typeof n?(this._size=n,this._cachedVisibleSize=void 0,c["e"](e,"visible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{get:function(){return"undefined"===typeof this._cachedVisibleSize},enumerable:!0,configurable:!0}),e.prototype.setVisible=function(e,t){e!==this.visible&&(e?(this.size=Object(Gr["a"])(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"===typeof t?t:this.size,this.size=0),c["X"](this.container,"visible",e),this.view.setVisible&&this.view.setVisible(e))},Object.defineProperty(e.prototype,"minimumSize",{get:function(){return this.visible?this.view.minimumSize:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewMinimumSize",{get:function(){return this.view.minimumSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"maximumSize",{get:function(){return this.visible?this.view.maximumSize:0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewMaximumSize",{get:function(){return this.view.maximumSize},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"priority",{get:function(){return this.view.priority},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snap",{get:function(){return!!this.view.snap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{set:function(e){this.container.style.pointerEvents=e?null:"none"},enumerable:!0,configurable:!0}),e.prototype.layout=function(e,t){this.layoutContainer(e),this.view.layout(this.size,e,t)},e.prototype.dispose=function(){return this.disposable.dispose(),this.view},e}(),$r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Yr(t,e),t.prototype.layoutContainer=function(e){this.container.style.top=e+"px",this.container.style.height=this.size+"px"},t}(Qr),Jr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Yr(t,e),t.prototype.layoutContainer=function(e){this.container.style.left=e+"px",this.container.style.width=this.size+"px"},t}(Qr);(function(e){e[e["Idle"]=0]="Idle",e[e["Busy"]=1]="Busy"})(pr||(pr={})),function(e){function t(e){return{type:"split",index:e}}function n(e){return{type:"invisible",cachedVisibleSize:e}}e.Distribute={type:"distribute"},e.Split=t,e.Invisible=n}(gr||(gr={}));var ei=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.size=0,r.contentSize=0,r.proportions=void 0,r.viewItems=[],r.sashItems=[],r.state=pr.Idle,r._onDidSashChange=r._register(new L["a"]),r.onDidSashChange=r._onDidSashChange.event,r._onDidSashReset=r._register(new L["a"]),r._startSnappingEnabled=!0,r._endSnappingEnabled=!0,r.orientation=Kr["k"](n.orientation)?0:n.orientation,r.inverseAltBehavior=!!n.inverseAltBehavior,r.proportionalLayout=!!Kr["k"](n.proportionalLayout)||!!n.proportionalLayout,r.el=document.createElement("div"),c["e"](r.el,"monaco-split-view2"),c["e"](r.el,0===r.orientation?"vertical":"horizontal"),t.appendChild(r.el),r.sashContainer=c["p"](r.el,c["a"](".sash-container")),r.viewContainer=c["p"](r.el,c["a"](".split-view-container")),r.style(n.styles||Zr),n.descriptor&&(r.size=n.descriptor.size,n.descriptor.views.forEach((function(e,t){var n=Kr["k"](e.visible)||e.visible?e.size:{type:"invisible",cachedVisibleSize:e.size},i=e.view;r.doAddView(i,n,t,!0)})),r.contentSize=r.viewItems.reduce((function(e,t){return e+t.size}),0),r.saveProportions()),r}return Yr(t,e),Object.defineProperty(t.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){for(var t=0,n=this.sashItems;t<n.length;t++){var r=n[t];r.sash.orthogonalStartSash=e}this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){for(var t=0,n=this.sashItems;t<n.length;t++){var r=n[t];r.sash.orthogonalEndSash=e}this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startSnappingEnabled",{get:function(){return this._startSnappingEnabled},set:function(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endSnappingEnabled",{get:function(){return this._endSnappingEnabled},set:function(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())},enumerable:!0,configurable:!0}),t.prototype.style=function(e){e.separatorBorder.isTransparent()?(c["O"](this.el,"separator-border"),this.el.style.removeProperty("--separator-border")):(c["e"](this.el,"separator-border"),this.el.style.setProperty("--separator-border",e.separatorBorder.toString()))},t.prototype.addView=function(e,t,n){void 0===n&&(n=this.viewItems.length),this.doAddView(e,t,n,!1)},t.prototype.layout=function(e,t){var n=this,r=Math.max(this.size,this.contentSize);if(this.size=e,this.layoutContext=t,this.proportions)for(var i=0;i<this.viewItems.length;i++){var o=this.viewItems[i];o.size=Object(Gr["a"])(Math.round(this.proportions[i]*e),o.minimumSize,o.maximumSize)}else{var a=Object(q["u"])(this.viewItems.length),s=a.filter((function(e){return 1===n.viewItems[e].priority})),l=a.filter((function(e){return 2===n.viewItems[e].priority}));this.resize(this.viewItems.length-1,e-r,void 0,s,l)}this.distributeEmptySpace(),this.layoutViews()},t.prototype.saveProportions=function(){var e=this;this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map((function(t){return t.size/e.contentSize})))},t.prototype.onSashStart=function(e){for(var t=this,n=e.sash,r=e.start,i=e.alt,a=0,s=this.viewItems;a<s.length;a++){var l=s[a];l.enabled=!1}var u=Object(q["k"])(this.sashItems,(function(e){return e.sash===n})),c=Object(o["e"])(Object(qr["a"])(document.body,"keydown")((function(e){return d(t.sashDragState.current,e.altKey)})),Object(qr["a"])(document.body,"keyup")((function(){return d(t.sashDragState.current,!1)}))),d=function(e,n){var r,i,o=t.viewItems.map((function(e){return e.size})),a=Number.NEGATIVE_INFINITY,s=Number.POSITIVE_INFINITY;if(t.inverseAltBehavior&&(n=!n),n){var l=u===t.sashItems.length-1;if(l){var d=t.viewItems[u];a=(d.minimumSize-d.size)/2,s=(d.maximumSize-d.size)/2}else{d=t.viewItems[u+1];a=(d.size-d.maximumSize)/2,s=(d.size-d.minimumSize)/2}}if(!n){var h=Object(q["u"])(u,-1),f=Object(q["u"])(u+1,t.viewItems.length),p=h.reduce((function(e,n){return e+(t.viewItems[n].minimumSize-o[n])}),0),g=h.reduce((function(e,n){return e+(t.viewItems[n].viewMaximumSize-o[n])}),0),m=0===f.length?Number.POSITIVE_INFINITY:f.reduce((function(e,n){return e+(o[n]-t.viewItems[n].minimumSize)}),0),v=0===f.length?Number.NEGATIVE_INFINITY:f.reduce((function(e,n){return e+(o[n]-t.viewItems[n].viewMaximumSize)}),0),y=Math.max(p,v),b=Math.min(m,g),_=t.findFirstSnapIndex(h),w=t.findFirstSnapIndex(f);if("number"===typeof _){d=t.viewItems[_];var x=Math.floor(d.viewMinimumSize/2);r={index:_,limitDelta:d.visible?y-x:y+x,size:d.size}}if("number"===typeof w){d=t.viewItems[w],x=Math.floor(d.viewMinimumSize/2);i={index:w,limitDelta:d.visible?b+x:b-x,size:d.size}}}t.sashDragState={start:e,current:e,index:u,sizes:o,minDelta:a,maxDelta:s,alt:n,snapBefore:r,snapAfter:i,disposable:c}};d(r,i)},t.prototype.onSashChange=function(e){var t=e.current,n=this.sashDragState,r=n.index,i=n.start,o=n.sizes,a=n.alt,s=n.minDelta,l=n.maxDelta,u=n.snapBefore,c=n.snapAfter;this.sashDragState.current=t;var d=t-i,h=this.resize(r,d,o,void 0,void 0,s,l,u,c);if(a){var f=r===this.sashItems.length-1,p=this.viewItems.map((function(e){return e.size})),g=f?r:r+1,m=this.viewItems[g],v=m.size-m.maximumSize,y=m.size-m.minimumSize,b=f?r-1:r+1;this.resize(b,-h,p,void 0,void 0,v,y)}this.distributeEmptySpace(),this.layoutViews()},t.prototype.onSashEnd=function(e){this._onDidSashChange.fire(e),this.sashDragState.disposable.dispose(),this.saveProportions();for(var t=0,n=this.viewItems;t<n.length;t++){var r=n[t];r.enabled=!0}},t.prototype.onViewChange=function(e,t){var n=this.viewItems.indexOf(e);n<0||n>=this.viewItems.length||(t="number"===typeof t?t:e.size,t=Object(Gr["a"])(t,e.minimumSize,e.maximumSize),this.inverseAltBehavior&&n>0?(this.resize(n-1,Math.floor((e.size-t)/2)),this.distributeEmptySpace(),this.layoutViews()):(e.size=t,this.relayout([n],void 0)))},t.prototype.resizeView=function(e,t){var n=this;if(this.state!==pr.Idle)throw new Error("Cant modify splitview");if(this.state=pr.Busy,!(e<0||e>=this.viewItems.length)){var r=Object(q["u"])(this.viewItems.length).filter((function(t){return t!==e})),i=Xr(r.filter((function(e){return 1===n.viewItems[e].priority})),[e]),o=r.filter((function(e){return 2===n.viewItems[e].priority})),a=this.viewItems[e];t=Math.round(t),t=Object(Gr["a"])(t,a.minimumSize,Math.min(a.maximumSize,this.size)),a.size=t,this.relayout(i,o),this.state=pr.Idle}},t.prototype.distributeViewSizes=function(){for(var e=this,t=[],n=0,r=0,i=this.viewItems;r<i.length;r++){var o=i[r];o.maximumSize-o.minimumSize>0&&(t.push(o),n+=o.size)}for(var a=Math.floor(n/t.length),s=0,l=t;s<l.length;s++){o=l[s];o.size=Object(Gr["a"])(a,o.minimumSize,o.maximumSize)}var u=Object(q["u"])(this.viewItems.length),c=u.filter((function(t){return 1===e.viewItems[t].priority})),d=u.filter((function(t){return 2===e.viewItems[t].priority}));this.relayout(c,d)},t.prototype.getViewSize=function(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size},t.prototype.doAddView=function(e,t,n,r){var i=this;if(void 0===n&&(n=this.viewItems.length),this.state!==pr.Idle)throw new Error("Cant modify splitview");this.state=pr.Busy;var a=c["a"](".split-view-view");n===this.viewItems.length?this.viewContainer.appendChild(a):this.viewContainer.insertBefore(a,this.viewContainer.children.item(n));var s,l=e.onDidChange((function(e){return i.onViewChange(f,e)})),u=Object(o["h"])((function(){return i.viewContainer.removeChild(a)})),d=Object(o["e"])(l,u);s="number"===typeof t?t:"split"===t.type?this.getViewSize(t.index)/2:"invisible"===t.type?{cachedVisibleSize:t.cachedVisibleSize}:e.minimumSize;var h,f=0===this.orientation?new $r(a,e,s,d):new Jr(a,e,s,d);if(this.viewItems.splice(n,0,f),this.viewItems.length>1){var p=0===this.orientation?1:0,g=0===this.orientation?{getHorizontalSashTop:function(e){return i.getSashPosition(e)}}:{getVerticalSashLeft:function(e){return i.getSashPosition(e)}},m=new xe["a"](this.sashContainer,g,{orientation:p,orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash}),v=0===this.orientation?function(e){return{sash:m,start:e.startY,current:e.currentY,alt:e.altKey}}:function(e){return{sash:m,start:e.startX,current:e.currentX,alt:e.altKey}},y=L["b"].map(m.onDidStart,v),b=y(this.onSashStart,this),_=L["b"].map(m.onDidChange,v),w=_(this.onSashChange,this),x=L["b"].map(m.onDidEnd,(function(){return Object(q["k"])(i.sashItems,(function(e){return e.sash===m}))})),C=x(this.onSashEnd,this),S=m.onDidReset((function(){var e=Object(q["k"])(i.sashItems,(function(e){return e.sash===m})),t=Object(q["u"])(e,-1),n=Object(q["u"])(e+1,i.viewItems.length),r=i.findFirstSnapIndex(t),o=i.findFirstSnapIndex(n);("number"!==typeof r||i.viewItems[r].visible)&&("number"!==typeof o||i.viewItems[o].visible)&&i._onDidSashReset.fire(e)})),O=Object(o["e"])(b,w,C,S,m),k={sash:m,disposable:O};this.sashItems.splice(n-1,0,k)}a.appendChild(e.element),"number"!==typeof t&&"split"===t.type&&(h=[t.index]),r||this.relayout([n],h),this.state=pr.Idle,r||"number"===typeof t||"distribute"!==t.type||this.distributeViewSizes()},t.prototype.relayout=function(e,t){var n=this.viewItems.reduce((function(e,t){return e+t.size}),0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()},t.prototype.resize=function(e,t,n,r,i,o,a,s,l){var u=this;if(void 0===n&&(n=this.viewItems.map((function(e){return e.size}))),void 0===o&&(o=Number.NEGATIVE_INFINITY),void 0===a&&(a=Number.POSITIVE_INFINITY),e<0||e>=this.viewItems.length)return 0;var c=Object(q["u"])(e,-1),d=Object(q["u"])(e+1,this.viewItems.length);if(i)for(var h=0,f=i;h<f.length;h++){var p=f[h];Object(q["t"])(c,p),Object(q["t"])(d,p)}if(r)for(var g=0,m=r;g<m.length;g++){var v=m[g];Object(q["s"])(c,v),Object(q["s"])(d,v)}var y=c.map((function(e){return u.viewItems[e]})),b=c.map((function(e){return n[e]})),_=d.map((function(e){return u.viewItems[e]})),w=d.map((function(e){return n[e]})),x=c.reduce((function(e,t){return e+(u.viewItems[t].minimumSize-n[t])}),0),C=c.reduce((function(e,t){return e+(u.viewItems[t].maximumSize-n[t])}),0),S=0===d.length?Number.POSITIVE_INFINITY:d.reduce((function(e,t){return e+(n[t]-u.viewItems[t].minimumSize)}),0),O=0===d.length?Number.NEGATIVE_INFINITY:d.reduce((function(e,t){return e+(n[t]-u.viewItems[t].maximumSize)}),0),k=Math.max(x,O,o),E=Math.min(S,C,a),D=!1;if(s){var M=this.viewItems[s.index],N=t>=s.limitDelta;D=N!==M.visible,M.setVisible(N,s.size)}if(!D&&l){M=this.viewItems[l.index],N=t<l.limitDelta;D=N!==M.visible,M.setVisible(N,l.size)}if(D)return this.resize(e,t,n,r,i,o,a);t=Object(Gr["a"])(t,k,E);for(var L=0,I=t;L<y.length;L++){var T=y[L],P=Object(Gr["a"])(b[L]+I,T.minimumSize,T.maximumSize),A=P-b[L];I-=A,T.size=P}L=0;for(var R=t;L<_.length;L++){T=_[L],P=Object(Gr["a"])(w[L]-R,T.minimumSize,T.maximumSize),A=P-w[L];R+=A,T.size=P}return t},t.prototype.distributeEmptySpace=function(e){for(var t=this,n=this.viewItems.reduce((function(e,t){return e+t.size}),0),r=this.size-n,i=Object(q["u"])(this.viewItems.length-1,-1),o=i.filter((function(e){return 1===t.viewItems[e].priority})),a=i.filter((function(e){return 2===t.viewItems[e].priority})),s=0,l=a;s<l.length;s++){var u=l[s];Object(q["t"])(i,u)}for(var c=0,d=o;c<d.length;c++){u=d[c];Object(q["s"])(i,u)}"number"===typeof e&&Object(q["s"])(i,e);for(var h=0;0!==r&&h<i.length;h++){var f=this.viewItems[i[h]],p=Object(Gr["a"])(f.size+r,f.minimumSize,f.maximumSize),g=p-f.size;r-=g,f.size=p}},t.prototype.layoutViews=function(){this.contentSize=this.viewItems.reduce((function(e,t){return e+t.size}),0);for(var e=0,t=0,n=this.viewItems;t<n.length;t++){var r=n[t];r.layout(e,this.layoutContext),e+=r.size}this.sashItems.forEach((function(e){return e.sash.layout()})),this.updateSashEnablement()},t.prototype.updateSashEnablement=function(){var e=!1,t=this.viewItems.map((function(t){return e=t.size-t.minimumSize>0||e}));e=!1;var n=this.viewItems.map((function(t){return e=t.maximumSize-t.size>0||e})),r=Xr(this.viewItems).reverse();e=!1;var i=r.map((function(t){return e=t.size-t.minimumSize>0||e})).reverse();e=!1;for(var o=r.map((function(t){return e=t.maximumSize-t.size>0||e})).reverse(),a=0,s=0;s<this.sashItems.length;s++){var l=this.sashItems[s].sash,u=this.viewItems[s];a+=u.size;var c=!(t[s]&&o[s+1]),d=!(n[s]&&i[s+1]);if(c&&d){var h=Object(q["u"])(s,-1),f=Object(q["u"])(s+1,this.viewItems.length),p=this.findFirstSnapIndex(h),g=this.findFirstSnapIndex(f),m="number"===typeof p&&!this.viewItems[p].visible,v="number"===typeof g&&!this.viewItems[g].visible;m&&i[s]&&(a>0||this.startSnappingEnabled)?l.state=1:v&&t[s]&&(a<this.contentSize||this.endSnappingEnabled)?l.state=2:l.state=0}else l.state=c&&!d?1:!c&&d?2:3}},t.prototype.getSashPosition=function(e){for(var t=0,n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return Math.min(t,this.contentSize-2);return 0},t.prototype.findFirstSnapIndex=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t],i=this.viewItems[r];if(i.visible&&i.snap)return r}for(var o=0,a=e;o<a.length;o++){r=a[o],i=this.viewItems[r];if(i.visible&&i.maximumSize-i.minimumSize>0)return;if(!i.visible&&i.snap)return r}},t.prototype.dispose=function(){e.prototype.dispose.call(this),this.viewItems.forEach((function(e){return e.dispose()})),this.viewItems=[],this.sashItems.forEach((function(e){return e.disposable.dispose()})),this.sashItems=[]},t}(o["a"]),ti=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ni=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},ri=function(e,t){return function(n,r){t(n,r,e)}},ii=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},oi=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ai=function(){function e(e,t){var n=this;this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new o["b"],this._callOnModelChange=new o["b"],this._callOnDispose.add(this._editor.onDidChangeModel((function(){return n._onModelChanged()}))),this._onModelChanged()}return e.prototype.dispose=function(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()},e.prototype._onModelChanged=function(){this._callOnModelChange.clear();var e=this._editor.getModel();if(e)for(var t=0,n=this._model.groups;t<n.length;t++){var r=n[t];if(Object(oe["e"])(r.uri,e.uri))return void this._addDecorations(r)}},e.prototype._addDecorations=function(t){var n=this;if(this._editor.hasModel()){this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations((function(e){return n._onDecorationChanged()})));for(var r=[],i=[],o=0,a=t.children.length;o<a;o++){var s=t.children[o];this._decorationIgnoreSet.has(s.id)||(r.push({range:s.range,options:e.DecorationOptions}),i.push(o))}var l=this._editor.deltaDecorations([],r);for(o=0;o<l.length;o++)this._decorations.set(l[o],t.children[i[o]])}},e.prototype._onDecorationChanged=function(){var e=this,t=[],n=this._editor.getModel();if(n){this._decorations.forEach((function(r,i){var o=n.getDecorationRange(i);if(o){var a=!1;if(!s["a"].equalsRange(o,r.range)){if(s["a"].spansMultipleLines(o))a=!0;else{var l=r.range.endColumn-r.range.startColumn,u=o.endColumn-o.startColumn;l!==u&&(a=!0)}a?(e._decorationIgnoreSet.add(r.id),t.push(i)):r.range=o}}}));for(var r=0,i=t.length;r<i;r++)this._decorations.delete(t[r]);this._editor.deltaDecorations(t,[])}},e.prototype.removeDecorations=function(){var e=[];this._decorations.forEach((function(t,n){e.push(n)})),this._editor.deltaDecorations(e,[]),this._decorations.clear()},e.DecorationOptions=g["a"].register({stickiness:1,className:"reference-decoration"}),e}(),si=function(){function e(){this.ratio=.7,this.heightInLines=18}return e.fromJSON=function(e){var t,n;try{var r=JSON.parse(e);t=r.ratio,n=r.heightInLines}catch(i){}return{ratio:t||.7,heightInLines:n||18}},e}(),li=function(e){function t(t,n,r,i,a,s,l,u){var c=e.call(this,t,{showFrame:!1,showArrow:!0,isResizeable:!0,isAccessible:!0})||this;return c._defaultTreeKeyboardSupport=n,c.layoutData=r,c._textModelResolverService=a,c._instantiationService=s,c._peekViewService=l,c._uriLabel=u,c._disposeOnNewModel=new o["b"],c._callOnDispose=new o["b"],c._onDidSelectReference=new L["a"],c.onDidSelectReference=c._onDidSelectReference.event,c._dim={height:0,width:0},c._applyTheme(i.getTheme()),c._callOnDispose.add(i.onThemeChange(c._applyTheme.bind(c))),c._peekViewService.addExclusiveWidget(t,c),c.create(),c}return ti(t,e),t.prototype.dispose=function(){this.setModel(void 0),this._callOnDispose.dispose(),this._disposeOnNewModel.dispose(),Object(o["f"])(this._preview),Object(o["f"])(this._previewNotAvailableMessage),Object(o["f"])(this._tree),Object(o["f"])(this._previewModelReference),this._splitView.dispose(),e.prototype.dispose.call(this)},t.prototype._applyTheme=function(e){var t=e.getColor(Ue)||h["a"].transparent;this.style({arrowColor:t,frameColor:t,headerBackgroundColor:e.getColor(ze)||h["a"].transparent,primaryHeadingColor:e.getColor(We),secondaryHeadingColor:e.getColor(He)})},t.prototype.show=function(t){this.editor.revealRangeInCenterIfOutsideViewport(t,0),e.prototype.show.call(this,t,this.layoutData.heightInLines||18)},t.prototype.focusOnReferenceTree=function(){this._tree.domFocus()},t.prototype.focusOnPreviewEditor=function(){this._preview.focus()},t.prototype.isPreviewEditorFocused=function(){return this._preview.hasTextFocus()},t.prototype._onTitleClick=function(e){this._preview&&this._preview.getModel()&&this._onDidSelectReference.fire({element:this._getFocusedReference(),kind:e.ctrlKey||e.metaKey||e.altKey?"side":"open",source:"title"})},t.prototype._fillBody=function(e){var t=this;this.setCssClass("reference-zone-widget"),this._messageContainer=c["p"](e,c["a"]("div.messages")),c["I"](this._messageContainer),this._splitView=new ei(e,{orientation:1}),this._previewContainer=c["p"](e,c["a"]("div.preview.inline"));var n={scrollBeyondLastLine:!1,scrollbar:{verticalScrollbarSize:14,horizontal:"auto",useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,alwaysConsumeMouseWheel:!1},overviewRulerLanes:2,fixedOverflowWidgets:!0,minimap:{enabled:!1}};this._preview=this._instantiationService.createInstance(we,this._previewContainer,n,this.editor),c["I"](this._previewContainer),this._previewNotAvailableMessage=g["b"].createFromString(r["a"]("missingPreviewMessage","no preview available")),this._treeContainer=c["p"](e,c["a"]("div.ref-tree.inline"));var i={ariaLabel:r["a"]("treeAriaLabel","References"),keyboardSupport:this._defaultTreeKeyboardSupport,accessibilityProvider:new Hr,keyboardNavigationLabelProvider:this._instantiationService.createInstance(jr),identityProvider:new Fr,overrideStyles:{listBackground:Ke}};this._tree=this._instantiationService.createInstance(Ur["c"],"ReferencesWidget",this._treeContainer,new Rr,[this._instantiationService.createInstance(Vr),this._instantiationService.createInstance(Wr)],this._instantiationService.createInstance(Ar),i),this._splitView.addView({onDidChange:L["b"].None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:function(e){t._preview.layout({height:t._dim.height,width:e})}},gr.Distribute),this._splitView.addView({onDidChange:L["b"].None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:function(e){t._treeContainer.style.height=t._dim.height+"px",t._treeContainer.style.width=e+"px",t._tree.layout(t._dim.height,e)}},gr.Distribute),this._disposables.add(this._splitView.onDidSashChange((function(){t._dim.width&&(t.layoutData.ratio=t._splitView.getViewSize(0)/t._dim.width)}),void 0));var o=function(e,n){e instanceof _r&&("show"===n&&t._revealReference(e,!1),t._onDidSelectReference.fire({element:e,kind:n,source:"tree"}))};this._tree.onDidChangeFocus((function(e){o(e.elements[0],"show")})),this._tree.onDidOpen((function(e){e.browserEvent instanceof MouseEvent&&(e.browserEvent.ctrlKey||e.browserEvent.metaKey||e.browserEvent.altKey)?o(e.elements[0],"side"):e.browserEvent instanceof KeyboardEvent||e.browserEvent instanceof MouseEvent&&2===e.browserEvent.detail||2===e.browserEvent.tapCount?o(e.elements[0],"goto"):o(e.elements[0],"show")})),c["I"](this._treeContainer)},t.prototype._onWidth=function(e){this._dim&&this._doLayoutBody(this._dim.height,e)},t.prototype._doLayoutBody=function(t,n){e.prototype._doLayoutBody.call(this,t,n),this._dim={height:t,width:n},this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(n),this._splitView.resizeView(0,n*this.layoutData.ratio)},t.prototype.setSelection=function(e){var t=this;return this._revealReference(e,!0).then((function(){t._model&&(t._tree.setSelection([e]),t._tree.setFocus([e]))}))},t.prototype.setModel=function(e){return this._disposeOnNewModel.clear(),this._model=e,this._model?this._onNewModel():Promise.resolve()},t.prototype._onNewModel=function(){var e=this;return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerHTML=r["a"]("noResults","No results"),c["W"](this._messageContainer),Promise.resolve(void 0)):(c["I"](this._messageContainer),this._decorationsManager=new ai(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange((function(t){return e._tree.rerender(t)}))),this._disposeOnNewModel.add(this._preview.onMouseDown((function(t){var n=t.event,r=t.target;if(2===n.detail){var i=e._getFocusedReference();i&&e._onDidSelectReference.fire({element:{uri:i.uri,range:r.range},kind:n.ctrlKey||n.metaKey||n.altKey?"side":"open",source:"editor"})}}))),c["e"](this.container,"results-loaded"),c["W"](this._treeContainer),c["W"](this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(1===this._model.groups.length?this._model.groups[0]:this._model)):Promise.resolve(void 0)},t.prototype._getFocusedReference=function(){var e=this._tree.getFocus()[0];return e instanceof _r?e:e instanceof xr&&e.children.length>0?e.children[0]:void 0},t.prototype._revealReference=function(e,t){return ii(this,void 0,void 0,(function(){var n,i,a,l,u;return oi(this,(function(c){switch(c.label){case 0:return this._revealedReference===e?[2]:(this._revealedReference=e,e.uri.scheme!==Sr["b"].inMemory?this.setTitle(Object(oe["c"])(e.uri),this._uriLabel.getUriLabel(Object(oe["d"])(e.uri))):this.setTitle(r["a"]("peekView.alternateTitle","References")),n=this._textModelResolverService.createModelReference(e.uri),this._tree.getInput()!==e.parent?[3,1]:(this._tree.reveal(e),[3,3]));case 1:return t&&this._tree.reveal(e.parent),[4,this._tree.expand(e.parent)];case 2:c.sent(),this._tree.reveal(e),c.label=3;case 3:return[4,n];case 4:return i=c.sent(),this._model?(Object(o["f"])(this._previewModelReference),a=i.object,a?(l=this._preview.getModel()===a.textEditorModel?0:1,u=s["a"].lift(e.range).collapseToStart(),this._previewModelReference=i,this._preview.setModel(a.textEditorModel),this._preview.setSelection(u),this._preview.revealRangeInCenter(u,l)):(this._preview.setModel(this._previewNotAvailableMessage),i.dispose()),[2]):(i.dispose(),[2])}}))}))},t=ni([ri(3,j["c"]),ri(4,mr["a"]),ri(5,ge["a"]),ri(6,Ae),ri(7,Dr["a"])],t),t}(Ve);Object(j["e"])((function(e,t){var n=e.getColor($e);n&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: "+n+"; }");var r=e.getColor(Je);r&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: "+r+"; }");var i=e.getColor(et);i&&t.addRule(".monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid "+i+"; box-sizing: border-box; }");var o=e.getColor(R["b"]);o&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted "+o+"; box-sizing: border-box; }");var a=e.getColor(Ke);a&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { background-color: "+a+"; }");var s=e.getColor(Ge);s&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree { color: "+s+"; }");var l=e.getColor(qe);l&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .reference-file { color: "+l+"; }");var u=e.getColor(Ye);u&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: "+u+"; }");var c=e.getColor(Xe);c&&t.addRule(".monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: "+c+" !important; }");var d=e.getColor(Ze);d&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\tbackground-color: "+d+";}");var h=e.getColor(Qe);h&&t.addRule(".monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\tbackground-color: "+h+";}")}));var ui=n("nrhi"),ci=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},di=function(e,t){return function(n,r){t(n,r,e)}},hi=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},fi=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},pi=new se["d"]("referenceSearchVisible",!1),gi=function(){function e(e,t,n,r,i,a,s,l){this._defaultTreeKeyboardSupport=e,this._editor=t,this._editorService=r,this._notificationService=i,this._instantiationService=a,this._storageService=s,this._configurationService=l,this._disposables=new o["b"],this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=pi.bindTo(n)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._referenceSearchVisible.reset(),this._disposables.dispose(),Object(o["f"])(this._widget),Object(o["f"])(this._model),this._widget=void 0,this._model=void 0},e.prototype.toggleWidget=function(e,t,n){var i,o=this;if(this._widget&&(i=this._widget.position),this.closeWidget(),!i||!e.containsPosition(i)){this._peekMode=n,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage((function(){o.closeWidget()}))),this._disposables.add(this._editor.onDidChangeModel((function(){o._ignoreModelChangeEvent||o.closeWidget()})));var a="peekViewLayout",s=si.fromJSON(this._storageService.get(a,0,"{}"));this._widget=this._instantiationService.createInstance(li,this._editor,this._defaultTreeKeyboardSupport,s),this._widget.setTitle(r["a"]("labelLoading","Loading...")),this._widget.show(e),this._disposables.add(this._widget.onDidClose((function(){t.cancel(),o._widget&&(o._storageService.store(a,JSON.stringify(o._widget.layoutData),0),o._widget=void 0),o.closeWidget()}))),this._disposables.add(this._widget.onDidSelectReference((function(e){var t=e.element,r=e.kind;if(t)switch(r){case"open":"editor"===e.source&&o._configurationService.getValue("editor.stablePeek")||o.openReference(t,!1);break;case"side":o.openReference(t,!0);break;case"goto":n?o._gotoReference(t):o.openReference(t,!1);break}})));var l=++this._requestIdPool;t.then((function(t){if(l===o._requestIdPool&&o._widget)return o._model&&o._model.dispose(),o._model=t,o._widget.setModel(o._model).then((function(){if(o._widget&&o._model&&o._editor.hasModel()){o._model.isEmpty?o._widget.setMetaTitle(""):o._widget.setMetaTitle(r["a"]("metaTitle.N","{0} ({1})",o._model.title,o._model.references.length));var t=o._editor.getModel().uri,n=new p["a"](e.startLineNumber,e.startColumn),i=o._model.nearestReference(t,n);if(i)return o._widget.setSelection(i).then((function(){o._widget&&"editor"===o._editor.getOption(65)&&o._widget.focusOnPreviewEditor()}))}}))}),(function(e){o._notificationService.error(e)}))}},e.prototype.changeFocusBetweenPreviewAndReferences=function(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())},e.prototype.goToNextOrPreviousReference=function(e){return hi(this,void 0,void 0,(function(){var t,n,r,i,o;return fi(this,(function(a){switch(a.label){case 0:return this._editor.hasModel()&&this._model&&this._widget?(t=this._widget.position,t?(n=this._model.nearestReference(this._editor.getModel().uri,t),n?(r=this._model.nextOrPreviousReference(n,e),i=this._editor.hasTextFocus(),o=this._widget.isPreviewEditorFocused(),[4,this._widget.setSelection(r)]):[2]):[2]):[2];case 1:return a.sent(),[4,this._gotoReference(r)];case 2:return a.sent(),i?this._editor.focus():this._widget&&o&&this._widget.focusOnPreviewEditor(),[2]}}))}))},e.prototype.closeWidget=function(e){void 0===e&&(e=!0),this._referenceSearchVisible.reset(),this._disposables.clear(),Object(o["f"])(this._widget),Object(o["f"])(this._model),this._widget=void 0,this._model=void 0,e&&this._editor.focus(),this._requestIdPool+=1},e.prototype._gotoReference=function(t){var n=this;this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;var r=s["a"].lift(t.range).collapseToStart();return this._editorService.openCodeEditor({resource:t.uri,options:{selection:r}},this._editor).then((function(t){var i;if(n._ignoreModelChangeEvent=!1,t&&n._widget)if(n._editor===t)n._widget.show(r),n._widget.focusOnReferenceTree();else{var o=e.get(t),a=n._model.clone();n.closeWidget(),t.focus(),o.toggleWidget(r,Object(x["f"])((function(e){return Promise.resolve(a)})),null!==(i=n._peekMode)&&void 0!==i&&i)}else n.closeWidget()}),(function(e){n._ignoreModelChangeEvent=!1,Object(v["e"])(e)}))},e.prototype.openReference=function(e,t){t||this.closeWidget();var n=e.uri,r=e.range;this._editorService.openCodeEditor({resource:n,options:{selection:r}},this._editor,t)},e.ID="editor.contrib.referencesController",e=ci([di(2,se["c"]),di(3,S["a"]),di(4,me["a"]),di(5,ge["a"]),di(6,br["a"]),di(7,O["a"])],e),e}();function mi(e,t){var n=je(e);if(n){var r=gi.get(n);r&&t(r)}}ui["a"].registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:Object(i["a"])(2089,60),when:se["a"].or(pi,Z.inPeekEditor),handler:function(e){mi(e,(function(e){e.changeFocusBetweenPreviewAndReferences()}))}}),ui["a"].registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:se["a"].or(pi,Z.inPeekEditor),handler:function(e){mi(e,(function(e){e.goToNextOrPreviousReference(!0)}))}}),ui["a"].registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:se["a"].or(pi,Z.inPeekEditor),handler:function(e){mi(e,(function(e){e.goToNextOrPreviousReference(!1)}))}}),pe["a"].registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),pe["a"].registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),pe["a"].registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),pe["a"].registerCommand("closeReferenceSearch",(function(e){return mi(e,(function(e){return e.closeWidget()}))})),ui["a"].registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:se["a"].and(Z.inPeekEditor,se["a"].not("config.editor.stablePeek"))}),ui["a"].registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:se["a"].and(pi,se["a"].not("config.editor.stablePeek"))}),ui["a"].registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:se["a"].and(pi,Ur["d"]),handler:function(e){var t,n=e.get(Ur["a"]),r=null===(t=n.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(r)&&r[0]instanceof _r&&mi(e,(function(e){return e.openReference(r[0],!0)}))}}),pe["a"].registerCommand("openReference",(function(e){var t,n=e.get(Ur["a"]),r=null===(t=n.lastFocusedList)||void 0===t?void 0:t.getFocus();Array.isArray(r)&&r[0]instanceof _r&&mi(e,(function(e){return e.openReference(r[0],!1)}))}));var vi=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),yi=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},bi=function(e,t){return function(n,r){t(n,r,e)}},_i=new se["d"]("hasSymbols",!1),wi=Object(ge["c"])("ISymbolNavigationService"),xi=function(){function e(e,t,n,r){this._editorService=t,this._notificationService=n,this._keybindingService=r,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=_i.bindTo(e)}return e.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(o["f"])(this._currentState),Object(o["f"])(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},e.prototype.put=function(e){var t=this,n=e.parent.parent;if(n.references.length<=1)this.reset();else{this._currentModel=n,this._currentIdx=n.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();var r=new Li(this._editorService),i=r.onDidChange((function(e){if(!t._ignoreEditorChange){var r=t._editorService.getActiveCodeEditor();if(r){var i=r.getModel(),o=r.getPosition();if(i&&o){for(var a=!1,l=!1,u=0,c=n.references;u<c.length;u++){var d=c[u];if(Object(oe["e"])(d.uri,i.uri))a=!0,l=l||s["a"].containsPosition(d.range,o);else if(a)break}a&&l||t.reset()}}}}));this._currentState=Object(o["e"])(r,i)}},e.prototype.revealNext=function(e){var t=this;if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;var n=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:n.uri,options:{selection:s["a"].collapseToStart(n.range),revealInCenterIfOutsideViewport:!0}},e).finally((function(){t._ignoreEditorChange=!1}))},e.prototype._showMessage=function(){Object(o["f"])(this._currentMessage);var e=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),t=e?Object(r["a"])("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,e.getLabel()):Object(r["a"])("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(t)},e=yi([bi(0,se["c"]),bi(1,S["a"]),bi(2,me["a"]),bi(3,ft["a"])],e),e}();Object(Le["b"])(wi,xi,!0),Object(a["g"])(new(function(e){function t(){return e.call(this,{id:"editor.gotoNextSymbolFromResult",precondition:_i,kbOpts:{weight:100,primary:70}})||this}return vi(t,e),t.prototype.runEditorCommand=function(e,t){return e.get(wi).revealNext(t)},t}(a["c"]))),ui["a"].registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:_i,primary:9,handler:function(e){e.get(wi).reset()}});var Ci,Si,Oi,ki,Ei,Di,Mi,Ni,Li=function(){function e(e){this._listener=new Map,this._disposables=new o["b"],this._onDidChange=new L["a"],this.onDidChange=this._onDidChange.event,this._disposables.add(e.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(e.onCodeEditorAdd(this._onDidAddEditor,this)),e.listCodeEditors().forEach(this._onDidAddEditor,this)}return e.prototype.dispose=function(){this._disposables.dispose(),this._onDidChange.dispose(),this._listener.forEach(o["f"])},e.prototype._onDidAddEditor=function(e){var t=this;this._listener.set(e,Object(o["e"])(e.onDidChangeCursorPosition((function(n){return t._onDidChange.fire({editor:e})})),e.onDidChangeModelContent((function(n){return t._onDidChange.fire({editor:e})}))))},e.prototype._onDidRemoveEditor=function(e){Object(o["f"])(this._listener.get(e)),this._listener.delete(e)},e=yi([bi(0,S["a"])],e),e}(),Ii=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ti=function(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r["throw"](e))}catch(t){o(t)}}function l(e){e.done?n(e.value):i(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},Pi=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}};ht["c"].appendMenuItem(7,{submenu:8,title:r["a"]("peek.submenu","Peek"),group:"navigation",order:100});var Ai=function(e){function t(t,n){var r=e.call(this,n)||this;return r._configuration=t,r}return Ii(t,e),t.prototype.run=function(e,t){var n=this;if(!t.hasModel())return Promise.resolve(void 0);var r=e.get(me["a"]),i=e.get(S["a"]),o=e.get(En["a"]),a=e.get(wi),s=t.getModel(),l=t.getPosition(),u=new Dt["b"](t,5),c=Object(x["j"])(this._getLocationModel(s,l,u.token),u.token).then((function(e){return Ti(n,void 0,void 0,(function(){var n,r,o,c;return Pi(this,(function(d){if(!e||u.token.isCancellationRequested)return[2];if(Object(Xt["a"])(e.ariaMessage),e.referenceAt(s.uri,l)&&(r=this._getAlternativeCommand(t),r!==this.id&&(n=t.getAction(r))),o=e.references.length,0===o)this._configuration.muteMessage||(c=s.getWordAtPosition(l),Jt.get(t).showMessage(this._getNoResultFoundMessage(c),l));else{if(1!==o||!n)return[2,this._onResult(i,a,t,e)];n.run()}return[2]}))}))}),(function(e){r.error(e)})).finally((function(){u.dispose()}));return o.showWhile(c,250),c},t.prototype._onResult=function(e,t,n,r){return Ti(this,void 0,void 0,(function(){var i,o,a,s;return Pi(this,(function(l){switch(l.label){case 0:return i=this._getGoToPreference(n),n instanceof we||!(this._configuration.openInPeek||"peek"===i&&r.references.length>1)?[3,1]:(this._openInPeek(n,r),[3,3]);case 1:return o=r.firstReference(),a=r.references.length>1&&"gotoAndPeek"===i,[4,this._openReference(n,e,o,this._configuration.openToSide,!a)];case 2:s=l.sent(),a&&s?this._openInPeek(s,r):r.dispose(),"goto"===i&&t.put(o),l.label=3;case 3:return[2]}}))}))},t.prototype._openReference=function(e,t,n,r,i){return Ti(this,void 0,void 0,(function(){var o,a,l,u;return Pi(this,(function(c){switch(c.label){case 0:return o=void 0,Object(m["D"])(n)&&(o=n.targetSelectionRange),o||(o=n.range),[4,t.openCodeEditor({resource:n.uri,options:{selection:s["a"].collapseToStart(o),revealInCenterIfOutsideViewport:!0}},e,r)];case 1:return a=c.sent(),a?(i&&(l=a.getModel(),u=a.deltaDecorations([],[{range:o,options:{className:"symbolHighlight"}}]),setTimeout((function(){a.getModel()===l&&a.deltaDecorations(u,[])}),350)),[2,a]):[2,void 0]}}))}))},t.prototype._openInPeek=function(e,t){var n=gi.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(x["f"])((function(e){return Promise.resolve(t)})),this._configuration.openInPeek):t.dispose()},t}(a["b"]),Ri=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,ur(e,t,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("def.title","Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?r["a"]("noResultWord","No definition found for '{0}'",e.word):r["a"]("generic.noResults","No definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDefinitions},t}(Ai),ji=vr["g"]&&!T["l"]?2118:70;Object(a["f"])((Ci=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:r["a"]("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:se["a"].and(l["a"].hasDefinitionProvider,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:ji,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:r["a"]({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return pe["a"].registerCommandAlias("editor.action.goToDeclaration",t.id),n}return Ii(t,e),t}(Ri),Ci.id="editor.action.revealDefinition",Ci)),Object(a["f"])((Si=function(e){function t(){var n=e.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:t.id,label:r["a"]("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:se["a"].and(l["a"].hasDefinitionProvider,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:Object(i["a"])(2089,ji),weight:100}})||this;return pe["a"].registerCommandAlias("editor.action.openDeclarationToTheSide",t.id),n}return Ii(t,e),t}(Ri),Si.id="editor.action.revealDefinitionAside",Si)),Object(a["f"])((Oi=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.id,label:r["a"]("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:se["a"].and(l["a"].hasDefinitionProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return pe["a"].registerCommandAlias("editor.action.previewDeclaration",t.id),n}return Ii(t,e),t}(Ri),Oi.id="editor.action.peekDefinition",Oi));var Fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,cr(e,t,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("decl.title","Declarations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?r["a"]("decl.noResultWord","No declaration found for '{0}'",e.word):r["a"]("decl.generic.noResults","No declaration found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDeclarationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDeclarations},t}(Ai);Object(a["f"])((ki=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:r["a"]("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:se["a"].and(l["a"].hasDeclarationProvider,l["a"].isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:r["a"]({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return Ii(t,e),t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?r["a"]("decl.noResultWord","No declaration found for '{0}'",e.word):r["a"]("decl.generic.noResults","No declaration found")},t}(Fi),ki.id="editor.action.revealDeclaration",ki)),Object(a["f"])(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:r["a"]("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:se["a"].and(l["a"].hasDeclarationProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return Ii(t,e),t}(Fi));var Bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,hr(e,t,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("typedef.title","Type Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?r["a"]("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):r["a"]("goToTypeDefinition.generic.noResults","No type definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeTypeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleTypeDefinitions},t}(Ai);Object(a["f"])((Ei=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:r["a"]("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:se["a"].and(l["a"].hasTypeDefinitionProvider,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:r["a"]({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return Ii(t,e),t}(Bi),Ei.ID="editor.action.goToTypeDefinition",Ei)),Object(a["f"])((Di=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:r["a"]("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:se["a"].and(l["a"].hasTypeDefinitionProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return Ii(t,e),t}(Bi),Di.ID="editor.action.peekTypeDefinition",Di));var Vi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,dr(e,t,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("impl.title","Implementations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?r["a"]("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):r["a"]("goToImplementation.generic.noResults","No implementation found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeImplementationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleImplementations},t}(Ai);Object(a["f"])((Mi=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:r["a"]("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:se["a"].and(l["a"].hasImplementationProvider,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:r["a"]({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return Ii(t,e),t}(Vi),Mi.ID="editor.action.goToImplementation",Mi)),Object(a["f"])((Ni=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:r["a"]("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:se["a"].and(l["a"].hasImplementationProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return Ii(t,e),t}(Vi),Ni.ID="editor.action.peekImplementation",Ni));var zi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ii(t,e),t.prototype._getNoResultFoundMessage=function(e){return e?r["a"]("references.no","No references found for '{0}'",e.word):r["a"]("references.noGeneric","No references found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeReferenceCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleReferences},t}(Ai);Object(a["f"])(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:r["a"]("goToReferences.label","Go to References"),alias:"Go to References",precondition:se["a"].and(l["a"].hasReferenceProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:l["a"].editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:r["a"]({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,fr(e,t,!0,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("ref.title","References")]))]}}))}))},t}(zi)),Object(a["f"])(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:r["a"]("references.action.label","Peek References"),alias:"Peek References",precondition:se["a"].and(l["a"].hasReferenceProvider,Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){var i;return Pi(this,(function(o){switch(o.label){case 0:return i=Cr.bind,[4,fr(e,t,!1,n)];case 1:return[2,new(i.apply(Cr,[void 0,o.sent(),r["a"]("ref.title","References")]))]}}))}))},t}(zi));var Wi=function(e){function t(t,n,i){var o=e.call(this,t,{id:"editor.action.goToLocation",label:r["a"]("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:se["a"].and(Z.notInPeekEditor,l["a"].isInEmbeddedEditor.toNegated())})||this;return o._references=n,o._gotoMultipleBehaviour=i,o}return Ii(t,e),t.prototype._getLocationModel=function(e,t,n){return Ti(this,void 0,void 0,(function(){return Pi(this,(function(e){return[2,new Cr(this._references,r["a"]("generic.title","Locations"))]}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&r["a"]("generic.noResult","No results for '{0}'",e.word)||""},t.prototype._getGoToPreference=function(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(41).multipleReferences},t.prototype._getAlternativeCommand=function(){return""},t}(Ai);pe["a"].registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:y["a"]},{name:"position",description:"The position at which to start",constraint:p["a"].isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,r,i,o){return Ti(void 0,void 0,void 0,(function(){var a,s;return Pi(this,(function(l){switch(l.label){case 0:return Object(Kr["a"])(y["a"].isUri(t)),Object(Kr["a"])(p["a"].isIPosition(n)),Object(Kr["a"])(Array.isArray(r)),Object(Kr["a"])("undefined"===typeof i||"string"===typeof i),Object(Kr["a"])("undefined"===typeof o||"boolean"===typeof o),a=e.get(S["a"]),[4,a.openCodeEditor({resource:t},a.getFocusedCodeEditor())];case 1:return s=l.sent(),Object(yr["a"])(s)?(s.setPosition(n),s.revealPositionInCenterIfOutsideViewport(n,0),[2,s.invokeWithinContext((function(e){var t=new Wi({muteMessage:!0,openInPeek:Boolean(o),openToSide:!1},r,i);e.get(ge["a"]).invokeFunction(t.run.bind(t),s)}))]):[2]}}))}))}}),pe["a"].registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:y["a"]},{name:"position",description:"The position at which to start",constraint:p["a"].isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,r,i){return Ti(void 0,void 0,void 0,(function(){return Pi(this,(function(o){return e.get(pe["b"]).executeCommand("editor.action.goToLocations",t,n,r,i,!0),[2]}))}))}}),pe["a"].registerCommand({id:"editor.action.findReferences",handler:function(e,t,n){Object(Kr["a"])(y["a"].isUri(t)),Object(Kr["a"])(p["a"].isIPosition(n));var i=e.get(S["a"]);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then((function(e){if(Object(yr["a"])(e)&&e.hasModel()){var t=gi.get(e);if(t){var i=Object(x["f"])((function(t){return fr(e.getModel(),p["a"].lift(n),!1,t).then((function(e){return new Cr(e,r["a"]("ref.title","References"))}))})),o=new s["a"](n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))}}}))}}),pe["a"].registerCommandAlias("editor.action.showReferences","editor.action.peekLocations");var Hi=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Ui(e,t){return!!e[t]}var Ki=function(){function e(e,t){this.target=e.target,this.hasTriggerModifier=Ui(e.event,t.triggerModifier),this.hasSideBySideModifier=Ui(e.event,t.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=T["i"]||e.event.detail<=1}return e}(),Gi=function(){function e(e,t){this.keyCodeIsTriggerKey=e.keyCode===t.triggerKey,this.keyCodeIsSideBySideKey=e.keyCode===t.triggerSideBySideKey,this.hasTriggerModifier=Ui(e,t.triggerModifier)}return e}(),qi=function(){function e(e,t,n,r){this.triggerKey=e,this.triggerModifier=t,this.triggerSideBySideKey=n,this.triggerSideBySideModifier=r}return e.prototype.equals=function(e){return this.triggerKey===e.triggerKey&&this.triggerModifier===e.triggerModifier&&this.triggerSideBySideKey===e.triggerSideBySideKey&&this.triggerSideBySideModifier===e.triggerSideBySideModifier},e}();function Yi(e){return"altKey"===e?vr["e"]?new qi(57,"metaKey",6,"altKey"):new qi(5,"ctrlKey",6,"altKey"):vr["e"]?new qi(6,"altKey",57,"metaKey"):new qi(6,"altKey",5,"ctrlKey")}var Xi=function(e){function t(t){var n=e.call(this)||this;return n._onMouseMoveOrRelevantKeyDown=n._register(new L["a"]),n.onMouseMoveOrRelevantKeyDown=n._onMouseMoveOrRelevantKeyDown.event,n._onExecute=n._register(new L["a"]),n.onExecute=n._onExecute.event,n._onCancel=n._register(new L["a"]),n.onCancel=n._onCancel.event,n._editor=t,n._opts=Yi(n._editor.getOption(59)),n.lastMouseMoveEvent=null,n.hasTriggerKeyOnMouseDown=!1,n._register(n._editor.onDidChangeConfiguration((function(e){if(e.hasChanged(59)){var t=Yi(n._editor.getOption(59));if(n._opts.equals(t))return;n._opts=t,n.lastMouseMoveEvent=null,n.hasTriggerKeyOnMouseDown=!1,n._onCancel.fire()}}))),n._register(n._editor.onMouseMove((function(e){return n.onEditorMouseMove(new Ki(e,n._opts))}))),n._register(n._editor.onMouseDown((function(e){return n.onEditorMouseDown(new Ki(e,n._opts))}))),n._register(n._editor.onMouseUp((function(e){return n.onEditorMouseUp(new Ki(e,n._opts))}))),n._register(n._editor.onKeyDown((function(e){return n.onEditorKeyDown(new Gi(e,n._opts))}))),n._register(n._editor.onKeyUp((function(e){return n.onEditorKeyUp(new Gi(e,n._opts))}))),n._register(n._editor.onMouseDrag((function(){return n.resetHandler()}))),n._register(n._editor.onDidChangeCursorSelection((function(e){return n.onDidChangeCursorSelection(e)}))),n._register(n._editor.onDidChangeModel((function(e){return n.resetHandler()}))),n._register(n._editor.onDidChangeModelContent((function(){return n.resetHandler()}))),n._register(n._editor.onDidScrollChange((function(e){(e.scrollTopChanged||e.scrollLeftChanged)&&n.resetHandler()}))),n}return Hi(t,e),t.prototype.onDidChangeCursorSelection=function(e){e.selection&&e.selection.startColumn!==e.selection.endColumn&&this.resetHandler()},t.prototype.onEditorMouseMove=function(e){this.lastMouseMoveEvent=e,this._onMouseMoveOrRelevantKeyDown.fire([e,null])},t.prototype.onEditorMouseDown=function(e){this.hasTriggerKeyOnMouseDown=e.hasTriggerModifier},t.prototype.onEditorMouseUp=function(e){this.hasTriggerKeyOnMouseDown&&this._onExecute.fire(e)},t.prototype.onEditorKeyDown=function(e){this.lastMouseMoveEvent&&(e.keyCodeIsTriggerKey||e.keyCodeIsSideBySideKey&&e.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this.lastMouseMoveEvent,e]):e.hasTriggerModifier&&this._onCancel.fire()},t.prototype.onEditorKeyUp=function(e){e.keyCodeIsTriggerKey&&this._onCancel.fire()},t.prototype.resetHandler=function(){this.lastMouseMoveEvent=null,this.hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()},t}(o["a"]),Zi=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},Qi=function(e,t){return function(n,r){t(n,r,e)}},$i=function(){function e(e,t,n){var r=this;this.textModelResolverService=t,this.modeService=n,this.toUnhook=new o["b"],this.toUnhookForKeyboard=new o["b"],this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=e;var i=new Xi(e);this.toUnhook.add(i),this.toUnhook.add(i.onMouseMoveOrRelevantKeyDown((function(e){var t=e[0],n=e[1];r.startFindDefinitionFromMouse(t,Object(Kr["n"])(n))}))),this.toUnhook.add(i.onExecute((function(e){r.isEnabled(e)&&r.gotoDefinition(e.target.position,e.hasSideBySideModifier).then((function(){r.removeLinkDecorations()}),(function(e){r.removeLinkDecorations(),Object(v["e"])(e)}))}))),this.toUnhook.add(i.onCancel((function(){r.removeLinkDecorations(),r.currentWordAtPosition=null})))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.startFindDefinitionFromCursor=function(e){var t=this;return this.startFindDefinition(e).then((function(){t.toUnhookForKeyboard.add(t.editor.onDidChangeCursorPosition((function(){t.currentWordAtPosition=null,t.removeLinkDecorations(),t.toUnhookForKeyboard.clear()}))),t.toUnhookForKeyboard.add(t.editor.onKeyDown((function(e){e&&(t.currentWordAtPosition=null,t.removeLinkDecorations(),t.toUnhookForKeyboard.clear())})))}))},e.prototype.startFindDefinitionFromMouse=function(e,t){if(!(9===e.target.type&&this.linkDecorations.length>0)){if(!this.editor.hasModel()||!this.isEnabled(e,t))return this.currentWordAtPosition=null,void this.removeLinkDecorations();var n=e.target.position;this.startFindDefinition(n)}},e.prototype.startFindDefinition=function(e){var t,n=this;this.toUnhookForKeyboard.clear();var i=e?null===(t=this.editor.getModel())||void 0===t?void 0:t.getWordAtPosition(e):null;if(!i)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===i.startColumn&&this.currentWordAtPosition.endColumn===i.endColumn&&this.currentWordAtPosition.word===i.word)return Promise.resolve(0);this.currentWordAtPosition=i;var o=new Dt["a"](this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=Object(x["f"])((function(t){return n.findDefinition(e,t)})),this.previousPromise.then((function(t){if(t&&t.length&&o.validate(n.editor))if(t.length>1)n.addDecoration(new s["a"](e.lineNumber,i.startColumn,e.lineNumber,i.endColumn),(new f["a"]).appendText(r["a"]("multipleResults","Click to show {0} definitions.",t.length)));else{var a=t[0];if(!a.uri)return;n.textModelResolverService.createModelReference(a.uri).then((function(t){if(t.object&&t.object.textEditorModel){var r=t.object.textEditorModel,o=a.range.startLineNumber;if(o<1||o>r.getLineCount())t.dispose();else{var l,u=n.getPreviewValue(r,o,a);l=a.originSelectionRange?s["a"].lift(a.originSelectionRange):new s["a"](e.lineNumber,i.startColumn,e.lineNumber,i.endColumn);var c=n.modeService.getModeIdByFilepathOrFirstLine(r.uri);n.addDecoration(l,(new f["a"]).appendCodeblock(c||"",u)),t.dispose()}}else t.dispose()}))}else n.removeLinkDecorations()})).then(void 0,v["e"])},e.prototype.getPreviewValue=function(t,n,r){var i=r.targetSelectionRange?r.range:this.getPreviewRangeBasedOnBrackets(t,n),o=i.endLineNumber-i.startLineNumber;o>=e.MAX_SOURCE_PREVIEW_LINES&&(i=this.getPreviewRangeBasedOnIndentation(t,n));var a=this.stripIndentationFromPreviewRange(t,n,i);return a},e.prototype.stripIndentationFromPreviewRange=function(e,t,n){for(var r=e.getLineFirstNonWhitespaceColumn(t),i=r,o=t+1;o<n.endLineNumber;o++){var a=e.getLineFirstNonWhitespaceColumn(o);i=Math.min(i,a)}var s=e.getValueInRange(n).replace(new RegExp("^\\s{"+(i-1)+"}","gm"),"").trim();return s},e.prototype.getPreviewRangeBasedOnIndentation=function(t,n){for(var r=t.getLineFirstNonWhitespaceColumn(n),i=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES),o=n+1;o<i;o++){var a=t.getLineFirstNonWhitespaceColumn(o);if(r===a)break}return new s["a"](n,1,o+1,1)},e.prototype.getPreviewRangeBasedOnBrackets=function(t,n){var r=Math.min(t.getLineCount(),n+e.MAX_SOURCE_PREVIEW_LINES),i=[],o=!0,a=t.findNextBracket(new p["a"](n,1));while(null!==a){if(0===i.length)i.push(a);else{var l=i[i.length-1];if(l.open[0]===a.open[0]&&l.isOpen&&!a.isOpen?i.pop():i.push(a),0===i.length){if(!o)return new s["a"](n,1,a.range.endLineNumber+1,1);o=!1}}var u=t.getLineMaxColumn(n),c=a.range.endLineNumber,d=a.range.endColumn;if(u===a.range.endColumn&&(c++,d=1),c>r)return new s["a"](n,1,r+1,1);a=t.findNextBracket(new p["a"](c,d))}return new s["a"](n,1,r+1,1)},e.prototype.addDecoration=function(e,t){var n={range:e,options:{inlineClassName:"goto-definition-link",hoverMessage:t}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[n])},e.prototype.removeLinkDecorations=function(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))},e.prototype.isEnabled=function(e,t){return this.editor.hasModel()&&e.isNoneOrSingleMouseDown&&6===e.target.type&&(e.hasTriggerModifier||!!t&&t.keyCodeIsTriggerKey)&&m["f"].has(this.editor.getModel())},e.prototype.findDefinition=function(e,t){var n=this.editor.getModel();return n?ur(n,e,t):Promise.resolve(null)},e.prototype.gotoDefinition=function(e,t){var n=this;this.editor.setPosition(e);var r=new Ri({openToSide:t,openInPeek:!1,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0});return this.editor.invokeWithinContext((function(e){return r.run(e,n.editor)}))},e.prototype.dispose=function(){this.toUnhook.dispose()},e.ID="editor.contrib.gotodefinitionatposition",e.MAX_SOURCE_PREVIEW_LINES=8,e=Zi([Qi(1,mr["a"]),Qi(2,u["a"])],e),e}();Object(a["h"])($i.ID,$i),Object(j["e"])((function(e,t){var n=e.getColor(R["n"]);n&&t.addRule(".monaco-editor .goto-definition-link { color: "+n+" !important; }")}));var Ji=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),eo=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},to=function(e,t){return function(n,r){t(n,r,e)}},no=function(){function e(e,t,n,r,i,a){var s=this;this._editor=e,this._openerService=t,this._modeService=n,this._markerDecorationsService=r,this._keybindingService=i,this._themeService=a,this._toUnhook=new o["b"],this._contentWidget=new o["d"],this._glyphWidget=new o["d"],this._isMouseDown=!1,this._hoverClicked=!1,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration((function(e){e.hasChanged(44)&&(s._hideWidgets(),s._unhookEvents(),s._hookEvents())}))}return Object.defineProperty(e.prototype,"contentWidget",{get:function(){return this._contentWidget.value||this._createHoverWidgets(),this._contentWidget.value},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"glyphWidget",{get:function(){return this._glyphWidget.value||this._createHoverWidgets(),this._glyphWidget.value},enumerable:!0,configurable:!0}),e.get=function(t){return t.getContribution(e.ID)},e.prototype._hookEvents=function(){var e=this,t=function(){return e._hideWidgets()},n=this._editor.getOption(44);this._isHoverEnabled=n.enabled,this._isHoverSticky=n.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown((function(t){return e._onEditorMouseDown(t)}))),this._toUnhook.add(this._editor.onMouseUp((function(t){return e._onEditorMouseUp(t)}))),this._toUnhook.add(this._editor.onMouseMove((function(t){return e._onEditorMouseMove(t)}))),this._toUnhook.add(this._editor.onKeyDown((function(t){return e._onKeyDown(t)}))),this._toUnhook.add(this._editor.onDidChangeModelDecorations((function(){return e._onModelDecorationsChanged()})))):this._toUnhook.add(this._editor.onMouseMove(t)),this._toUnhook.add(this._editor.onMouseLeave(t)),this._toUnhook.add(this._editor.onDidChangeModel(t)),this._toUnhook.add(this._editor.onDidScrollChange((function(t){return e._onEditorScrollChanged(t)})))},e.prototype._unhookEvents=function(){this._toUnhook.clear()},e.prototype._onModelDecorationsChanged=function(){this.contentWidget.onModelDecorationsChanged(),this.glyphWidget.onModelDecorationsChanged()},e.prototype._onEditorScrollChanged=function(e){(e.scrollTopChanged||e.scrollLeftChanged)&&this._hideWidgets()},e.prototype._onEditorMouseDown=function(e){this._isMouseDown=!0;var t=e.target.type;9!==t||e.target.detail!==er.ID?12===t&&e.target.detail===ir.ID||(12!==t&&e.target.detail!==ir.ID&&(this._hoverClicked=!1),this._hideWidgets()):this._hoverClicked=!0},e.prototype._onEditorMouseUp=function(e){this._isMouseDown=!1},e.prototype._onEditorMouseMove=function(e){var t=e.target.type;if(!(this._isMouseDown&&this._hoverClicked&&this.contentWidget.isColorPickerVisible())&&(!this._isHoverSticky||9!==t||e.target.detail!==er.ID)&&(!this._isHoverSticky||12!==t||e.target.detail!==ir.ID)){if(7===t){var n=this._editor.getOption(34).typicalHalfwidthCharacterWidth/2,r=e.target.detail;r&&!r.isAfterLines&&"number"===typeof r.horizontalDistanceToText&&r.horizontalDistanceToText<n&&(t=6)}6===t?(this.glyphWidget.hide(),this._isHoverEnabled&&e.target.range&&this.contentWidget.startShowingAt(e.target.range,0,!1)):2===t?(this.contentWidget.hide(),this._isHoverEnabled&&e.target.position&&this.glyphWidget.startShowingAt(e.target.position.lineNumber)):this._hideWidgets()}},e.prototype._onKeyDown=function(e){5!==e.keyCode&&6!==e.keyCode&&57!==e.keyCode&&4!==e.keyCode&&this._hideWidgets()},e.prototype._hideWidgets=function(){!this._glyphWidget.value||!this._contentWidget.value||this._isMouseDown&&this._hoverClicked&&this._contentWidget.value.isColorPickerVisible()||(this._glyphWidget.value.hide(),this._contentWidget.value.hide())},e.prototype._createHoverWidgets=function(){this._contentWidget.value=new er(this._editor,this._markerDecorationsService,this._themeService,this._keybindingService,this._modeService,this._openerService),this._glyphWidget.value=new ir(this._editor,this._modeService,this._openerService)},e.prototype.showContentHover=function(e,t,n){this.contentWidget.startShowingAt(e,t,n)},e.prototype.dispose=function(){this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),this._glyphWidget.dispose(),this._contentWidget.dispose()},e.ID="editor.contrib.hover",e=eo([to(1,ae["a"]),to(2,u["a"]),to(3,or["a"]),to(4,ft["a"]),to(5,j["c"])],e),e}(),ro=function(e){function t(){return e.call(this,{id:"editor.action.showHover",label:r["a"]({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:l["a"].editorTextFocus,primary:Object(i["a"])(2089,2087),weight:100}})||this}return Ji(t,e),t.prototype.run=function(e,t){if(t.hasModel()){var n=no.get(t);if(n){var r=t.getPosition(),i=new s["a"](r.lineNumber,r.column,r.lineNumber,r.column),o=2===t.getOption(2);n.showContentHover(i,1,o)}}},t}(a["b"]),io=function(e){function t(){return e.call(this,{id:"editor.action.showDefinitionPreviewHover",label:r["a"]({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})||this}return Ji(t,e),t.prototype.run=function(e,t){var n=no.get(t);if(n){var r=t.getPosition();if(r){var i=new s["a"](r.lineNumber,r.column,r.lineNumber,r.column),o=$i.get(t),a=o.startFindDefinitionFromCursor(r);a?a.then((function(){n.showContentHover(i,1,!0)})):n.showContentHover(i,1,!0)}}},t}(a["b"]);Object(a["h"])(no.ID,no),Object(a["f"])(ro),Object(a["f"])(io),Object(j["e"])((function(e,t){var n=e.getColor(R["D"]);n&&t.addRule(".monaco-editor .hoverHighlight { background-color: "+n+"; }");var r=e.getColor(R["A"]);r&&t.addRule(".monaco-editor .monaco-editor-hover { background-color: "+r+"; }");var i=e.getColor(R["B"]);i&&(t.addRule(".monaco-editor .monaco-editor-hover { border: 1px solid "+i+"; }"),t.addRule(".monaco-editor .monaco-editor-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid "+i.transparent(.5)+"; }"),t.addRule(".monaco-editor .monaco-editor-hover hr { border-top: 1px solid "+i.transparent(.5)+"; }"),t.addRule(".monaco-editor .monaco-editor-hover hr { border-bottom: 0px solid "+i.transparent(.5)+"; }"));var o=e.getColor(R["cc"]);o&&t.addRule(".monaco-editor .monaco-editor-hover a { color: "+o+"; }");var a=e.getColor(R["C"]);a&&t.addRule(".monaco-editor .monaco-editor-hover { color: "+a+"; }");var s=e.getColor(R["E"]);s&&t.addRule(".monaco-editor .monaco-editor-hover .hover-row .actions { background-color: "+s+"; }");var l=e.getColor(R["bc"]);l&&t.addRule(".monaco-editor .monaco-editor-hover code { background-color: "+l+"; }")}))},rySg:function(e,t,n){n("SMc4"),n("8nMs")},s2MQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};t.default=r},s2lz:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("gPAo"),s=n("VaxA"),l=n("9hCq"),u=n("SgGq"),c=n("mFDi"),d=n("Fofx"),h=n("5s0K"),f=n("KCsZ"),p=n("7aKB"),g=p.windowOpen,m=i.bind,v=o.Group,y=o.Rect,b=i.each,_=3,w=["label"],x=["emphasis","label"],C=["upperLabel"],S=["emphasis","upperLabel"],O=10,k=1,E=2,D=f([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),M=function(e){var t=D(e);return t.stroke=t.fill=t.lineWidth=null,t},N=r.extendChartView({type:"treemap",init:function(e,t){this._containerGroup,this._storage=L(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(e,t,n,r){var o=t.findComponents({mainType:"series",subType:"treemap",query:r});if(!(i.indexOf(o,e)<0)){this.seriesModel=e,this.api=n,this.ecModel=t;var a=["treemapZoomToNode","treemapRootToNode"],l=s.retrieveTargetInfo(r,a,e),u=r&&r.type,c=e.layoutInfo,d=!this._oldTree,h=this._storage,f="treemapRootToNode"===u&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:r.direction}:null,p=this._giveContainerGroup(c),g=this._doRender(p,e,f);d||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?g.renderFinally():this._doAnimation(p,g,e,f),this._resetController(n),this._renderBreadcrumb(e,n,l)}},_giveContainerGroup:function(e){var t=this._containerGroup;return t||(t=this._containerGroup=new v,this._initEvents(t),this.group.add(t)),t.attr("position",[e.x,e.y]),t},_doRender:function(e,t,n){var r=t.getData().tree,o=this._oldTree,s=L(),l=L(),u=this._storage,c=[],d=i.curry(I,t,l,u,n,s,c);f(r.root?[r.root]:[],o&&o.root?[o.root]:[],e,r===o||!o,0);var h=p(u);return this._oldTree=r,this._storage=l,{lastsForAnimation:s,willDeleteEls:h,renderFinally:g};function f(e,t,n,r,o){function s(e){return e.getId()}function l(i,a){var s=null!=i?e[i]:null,l=null!=a?t[a]:null,u=d(s,l,n,o);u&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],u,r,o+1)}r?(t=e,b(e,(function(e,t){!e.isRemoved()&&l(t,t)}))):new a(t,e,s,s).add(l).update(l).remove(i.curry(l,null)).execute()}function p(e){var t=L();return e&&b(e,(function(e,n){var r=t[n];b(e,(function(e){e&&(r.push(e),e.__tmWillDelete=1)}))})),t}function g(){b(h,(function(e){b(e,(function(e){e.parent&&e.parent.remove(e)}))})),b(c,(function(e){e.invisible=!0,e.dirty()}))}},_doAnimation:function(e,t,n,r){if(n.get("animation")){var o=n.get("animationDurationUpdate"),a=n.get("animationEasing"),s=h.createWrap();b(t.willDeleteEls,(function(e,t){b(e,(function(e,n){if(!e.invisible){var i,l=e.parent;if(r&&"drillDown"===r.direction)i=l===r.rootNodeGroup?{shape:{x:0,y:0,width:l.__tmNodeWidth,height:l.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,c=0;l.__tmWillDelete||(u=l.__tmNodeWidth/2,c=l.__tmNodeHeight/2),i="nodeGroup"===t?{position:[u,c],style:{opacity:0}}:{shape:{x:u,y:c,width:0,height:0},style:{opacity:0}}}i&&s.add(e,i,o,a)}}))})),b(this._storage,(function(e,n){b(e,(function(e,r){var l=t.lastsForAnimation[n][r],u={};l&&("nodeGroup"===n?l.old&&(u.position=e.position.slice(),e.attr("position",l.old)):(l.old&&(u.shape=i.extend({},e.shape),e.setShape(l.old)),l.fadein?(e.setStyle("opacity",0),u.style={opacity:1}):1!==e.style.opacity&&(u.style={opacity:1})),s.add(e,u,o,a))}))}),this),this._state="animating",s.done(m((function(){this._state="ready",t.renderFinally()}),this)).start()}},_resetController:function(e){var t=this._controller;t||(t=this._controller=new u(e.getZr()),t.enable(this.seriesModel.get("roam")),t.on("pan",m(this._onPan,this)),t.on("zoom",m(this._onZoom,this)));var n=new c(0,0,e.getWidth(),e.getHeight());t.setPointerChecker((function(e,t,r){return n.contain(t,r)}))},_clearController:function(){var e=this._controller;e&&(e.dispose(),e=null)},_onPan:function(e){if("animating"!==this._state&&(Math.abs(e.dx)>_||Math.abs(e.dy)>_)){var t=this.seriesModel.getData().tree.root;if(!t)return;var n=t.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+e.dx,y:n.y+e.dy,width:n.width,height:n.height}})}},_onZoom:function(e){var t=e.originX,n=e.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new c(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;t-=a.x,n-=a.y;var s=d.create();d.translate(s,s,[-t,-n]),d.scale(s,s,[e.scale,e.scale]),d.translate(s,s,[t,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(e){e.on("click",(function(e){if("ready"===this._state){var t=this.seriesModel.get("nodeClick",!0);if(t){var n=this.findTarget(e.offsetX,e.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===t)this._zoomToNode(n);else if("link"===t){var i=r.hostTree.data.getItemModel(r.dataIndex),o=i.get("link",!0),a=i.get("target",!0)||"blank";o&&g(o,a)}}}}}),this)},_renderBreadcrumb:function(e,t,n){function r(t){"animating"!==this._state&&(s.aboveViewRoot(e.getViewRoot(),t)?this._rootToNode({node:t}):this._zoomToNode({node:t}))}n||(n=null!=e.get("leafDepth",!0)?{node:e.getViewRoot()}:this.findTarget(t.getWidth()/2,t.getHeight()/2),n||(n={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(e,t,n.node,m(r,this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=L(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},_rootToNode:function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},findTarget:function(e,t){var n,r=this.seriesModel.getViewRoot();return r.eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(e,t),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n}});function L(){return{nodeGroup:[],background:[],content:[]}}function I(e,t,n,r,a,s,l,u,c,d){if(l){var h=l.getLayout(),f=e.getData();if(f.setItemGraphicEl(l.dataIndex,null),h&&h.isInView){var p=h.width,g=h.height,m=h.borderWidth,b=h.invisible,_=l.getRawIndex(),O=u&&u.getRawIndex(),N=l.viewChildren,L=h.upperHeight,I=N&&N.length,P=l.getModel("itemStyle"),A=l.getModel("emphasis.itemStyle"),R=K("nodeGroup",v);if(R){if(c.add(R),R.attr("position",[h.x||0,h.y||0]),R.__tmNodeWidth=p,R.__tmNodeHeight=g,h.isAboveViewRoot)return R;var j=l.getModel(),F=K("background",y,d,k);if(F&&V(R,F,I&&h.upperLabelHeight),I)o.isHighDownDispatcher(R)&&o.setAsHighDownDispatcher(R,!1),F&&(o.setAsHighDownDispatcher(F,!0),f.setItemGraphicEl(l.dataIndex,F));else{var B=K("content",y,d,E);B&&z(R,B),F&&o.isHighDownDispatcher(F)&&o.setAsHighDownDispatcher(F,!1),o.setAsHighDownDispatcher(R,!0),f.setItemGraphicEl(l.dataIndex,R)}return R}}}function V(t,n,r){if(n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex,n.setShape({x:0,y:0,width:p,height:g}),b)W(n);else{n.invisible=!1;var i=l.getVisual("borderColor",!0),a=A.get("borderColor"),s=M(P);s.fill=i;var u=D(A);if(u.fill=a,r){var c=p-2*m;H(s,u,i,c,L,{x:m,y:0,width:c,height:L})}else s.text=u.text=null;n.setStyle(s),o.setElementHoverStyle(n,u)}t.add(n)}function z(t,n){n.dataIndex=l.dataIndex,n.seriesIndex=e.seriesIndex;var r=Math.max(p-2*m,0),i=Math.max(g-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:i}),b)W(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=M(P);s.fill=a;var u=D(A);H(s,u,a,r,i),n.setStyle(s),o.setElementHoverStyle(n,u)}t.add(n)}function W(e){!e.invisible&&s.push(e)}function H(t,n,r,a,s,u){var c=j.get("name"),d=j.getModel(u?C:w),f=j.getModel(u?S:x),p=d.getShallow("show");o.setLabelStyle(t,n,d,f,{defaultText:p?c:null,autoColor:r,isRectText:!0,labelFetcher:e,labelDataIndex:l.dataIndex,labelProp:u?"upperLabel":"label"}),U(t,u,h),U(n,u,h),u&&(t.textRect=i.clone(u)),t.truncate=p&&d.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function U(t,n,r){var i=t.text;if(!n&&r.isLeafRoot&&null!=i){var o=e.get("drillDownIcon",!0);t.text=o?o+" "+i:i}}function K(e,r,i,o){var s=null!=O&&n[e][O],l=a[e];return s?(n[e][O]=null,G(l,s,e)):b||(s=new r({z:T(i,o)}),s.__tmDepth=i,s.__tmStorageName=e,q(l,s,e)),t[e][_]=s}function G(e,t,n){var r=e[_]={};r.old="nodeGroup"===n?t.position.slice():i.extend({},t.shape)}function q(e,t,n){var i=e[_]={},o=l.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,u=0,c=a.background[o.getRawIndex()];!r&&c&&c.old&&(s=c.old.width,u=c.old.height),i.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==n}}function T(e,t){var n=e*O+t;return(n-1)/n}e.exports=N},s3Ml:function(e,t,n){e.exports={default:n("JbBM"),__esModule:!0}},sAZ8:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("+rIm"),a=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=r.extendComponentView({type:"parallelAxis",init:function(e,t){c.superApply(this,"init",arguments),(this._brushController=new a(t.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(e,t,n,r){if(!d(e,t,r)){this.axisModel=e,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),e.get("show")){var s=f(e,t),c=s.coordinateSystem,h=e.getAreaSelectStyle(),p=h.width,g=e.axis.dim,m=c.getAxisLayout(g),v=i.extend({strokeContainThreshold:p},m),y=new o(e,v);i.each(u,y.add,y),this._axisGroup.add(y.getGroup()),this._refreshBrushController(v,h,e,s,p,n);var b=r&&!1===r.animation?null:e;l.groupTransition(a,this._axisGroup,b)}}},_refreshBrushController:function(e,t,n,r,i,o){var a=n.axis.getExtent(),u=a[1]-a[0],c=Math.min(30,.1*Math.abs(u)),d=l.BoundingRect.create({x:a[0],y:-i/2,width:u,height:i});d.x-=c,d.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,position:e.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,o,r),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:t,removeOnClick:!0}).updateCovers(h(n))},_onBrush:function(e,t){var n=this.axisModel,r=n.axis,o=i.map(e,(function(e){return[r.coordToData(e.range[0],!0),r.coordToData(e.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});function d(e,t,n){return n&&"axisAreaSelect"===n.type&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function h(e){var t=e.axis;return i.map(e.activeIntervals,(function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}}))}function f(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var p=c;e.exports=p},sEf8:function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},sFUC:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("iuje");function i(e){return!(!e||"function"!==typeof e.getEditorType)&&e.getEditorType()===r["a"].ICodeEditor}},sGsY:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("H84U"),s=n("B6l+"),l=n.n(s),u=function(e){var t,n=e.value,i=e.formatter,o=e.precision,a=e.decimalSeparator,s=e.groupSeparator,u=void 0===s?"":s,c=e.prefixCls;if("function"===typeof i)t=i(n);else{var d=String(n),h=d.match(/^(-?)(\d*)(\.(\d+))?$/);if(h&&"-"!==d){var f=h[1],p=h[2]||"0",g=h[4]||"";p=p.replace(/\B(?=(\d{3})+(?!\d))/g,u),"number"===typeof o&&(g=l()(g,o,"0").slice(0,o)),g&&(g="".concat(a).concat(g)),t=[r["createElement"]("span",{key:"int",className:"".concat(c,"-content-value-int")},f,p),g&&r["createElement"]("span",{key:"decimal",className:"".concat(c,"-content-value-decimal")},g)]}else t=d}return r["createElement"]("span",{className:"".concat(c,"-content-value")},t)},c=u;function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}var f=function(e){var t=e.prefixCls,n=e.className,i=e.style,a=e.valueStyle,s=e.value,l=void 0===s?0:s,u=e.title,f=e.valueRender,p=e.prefix,g=e.suffix,m=e.direction,v=e.onMouseEnter,y=e.onMouseLeave,b=r["createElement"](c,h({},e,{value:l})),_=o()(t,n,d({},"".concat(t,"-rtl"),"rtl"===m));return r["createElement"]("div",{className:_,style:i,onMouseEnter:v,onMouseLeave:y},u&&r["createElement"]("div",{className:"".concat(t,"-title")},u),r["createElement"]("div",{style:a,className:"".concat(t,"-content")},p&&r["createElement"]("span",{className:"".concat(t,"-content-prefix")},p),f?f(b):b,g&&r["createElement"]("span",{className:"".concat(t,"-content-suffix")},g)))};f.defaultProps={decimalSeparator:".",groupSeparator:","};var p=Object(a["c"])({prefixCls:"statistic"})(f),g=p,m=n("QQZ/"),v=n.n(m);function y(e,t){return C(e)||x(e,t)||_(e,t)||b()}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e,t){if(e){if("string"===typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function C(e){if(Array.isArray(e))return e}var S=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function O(e,t){var n=e,r=/\[[^\]]*]/g,i=(t.match(r)||[]).map((function(e){return e.slice(1,-1)})),o=t.replace(r,"[]"),a=S.reduce((function(e,t){var r=y(t,2),i=r[0],o=r[1];if(-1!==e.indexOf(i)){var a=Math.floor(n/o);return n-=a*o,e.replace(new RegExp("".concat(i,"+"),"g"),(function(e){var t=e.length;return v()(a.toString(),t,"0")}))}return e}),o),s=0;return a.replace(r,(function(){var e=i[s];return s+=1,e}))}function k(e,t){var n=t.format,r=void 0===n?"":n,i=new Date(e).getTime(),o=Date.now(),a=Math.max(i-o,0);return O(a,r)}var E=n("0n0R");function D(e){return D="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)}function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),e}function T(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function A(e){var t=F();return function(){var n,r=B(e);if(t){var i=B(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==D(t)&&"function"!==typeof t?j(e):t}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function B(e){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},B(e)}var V=1e3/30;function z(e){return new Date(e).getTime()}var W=function(e){T(n,e);var t=A(n);function n(){var e;return N(this,n),e=t.apply(this,arguments),e.syncTimer=function(){var t=e.props.value,n=z(t);n>=Date.now()?e.startTimer():e.stopTimer()},e.startTimer=function(){e.countdownId||(e.countdownId=window.setInterval((function(){e.forceUpdate()}),V))},e.stopTimer=function(){var t=e.props,n=t.onFinish,r=t.value;if(e.countdownId){clearInterval(e.countdownId),e.countdownId=void 0;var i=z(r);n&&i<Date.now()&&n()}},e.formatCountdown=function(t,n){var r=e.props.format;return k(t,M(M({},n),{format:r}))},e.valueRender=function(e){return Object(E["a"])(e,{title:void 0})},e}return I(n,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return r["createElement"](g,M({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),n}(r["Component"]);W.defaultProps={format:"HH:mm:ss"};var H=W;g.Countdown=H;t["a"]=g},"sK/D":function(e,t,n){var r=n("IwbS"),i=n("OELB"),o=i.round;function a(e,t,n){var i=e.getArea(),o=e.getBaseAxis().isHorizontal(),a=i.x,s=i.y,l=i.width,u=i.height,c=n.get("lineStyle.width")||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var d=new r.Rect({shape:{x:a,y:s,width:l,height:u}});return t&&(d.shape[o?"width":"height"]=0,r.initProps(d,{shape:{width:l,height:u}},n)),d}function s(e,t,n){var i=e.getArea(),a=new r.Sector({shape:{cx:o(e.cx,1),cy:o(e.cy,1),r0:o(i.r0,1),r:o(i.r,1),startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return t&&(a.shape.endAngle=i.startAngle,r.initProps(a,{shape:{endAngle:i.endAngle}},n)),a}function l(e,t,n){return e?"polar"===e.type?s(e,t,n):"cartesian2d"===e.type?a(e,t,n):null:null}t.createGridClipPath=a,t.createPolarClipPath=s,t.createClipPath=l},sKgW:function(e,t){var n=9007199254740991,r=Math.floor;function i(e,t){var i="";if(!e||t<1||t>n)return i;do{t%2&&(i+=e),t=r(t/2),t&&(e+=e)}while(t);return i}e.exports=i},sM1p:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n("S3by"),i=n("Cg/j"),o=(r["a"],Object(i["c"])("notificationService")),a=function(){function e(){}return e}()},sPJy:function(e,t,n){"use strict";n("cIOH"),n("AOa7"),n("lUTK"),n("qVdP")},sRBo:function(e,t,n){"use strict";n("cIOH"),n("KCY9")},sRwP:function(e,t,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(e,t,n){var r=n("4fz+"),i=n("iRjW"),o=n("Yl7c"),a=function(){this.group=new r,this.uid=i.getUID("viewComponent")};a.prototype={constructor:a,init:function(e,t){},render:function(e,t,n,r){},dispose:function(){},filterForExposedEvent:null};var s=a.prototype;s.updateView=s.updateLayout=s.updateVisual=function(e,t,n,r){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0});var l=a;e.exports=l},sStQ:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return n.e(195).then(n.bind(null,"QKwv"))}})},"sW+o":function(e,t,n){var r=n("SrGk"),i=n("bYtY"),o=n("SUKs"),a=n("Qe9p");function s(e,t){r.call(this,e,t,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(s,r),s.prototype.addWithoutUpdate=function(e,t){if(t&&t.style){var n=this;i.each(["fill","stroke"],(function(r){if(t.style[r]&&("linear"===t.style[r].type||"radial"===t.style[r].type)){var i,o=t.style[r],a=n.getDefs(!0);o._dom?(i=o._dom,a.contains(o._dom)||n.addDom(i)):i=n.add(o),n.markUsed(t);var s=i.getAttribute("id");e.setAttribute(r,"url(#"+s+")")}}))}},s.prototype.add=function(e){var t;if("linear"===e.type)t=this.createElement("linearGradient");else{if("radial"!==e.type)return o("Illegal gradient type."),null;t=this.createElement("radialGradient")}return e.id=e.id||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-gradient-"+e.id),this.updateDom(e,t),this.addDom(t),t},s.prototype.update=function(e){var t=this;r.prototype.update.call(this,e,(function(){var n=e.type,r=e._dom.tagName;"linear"===n&&"linearGradient"===r||"radial"===n&&"radialGradient"===r?t.updateDom(e,e._dom):(t.removeDom(e),t.add(e))}))},s.prototype.updateDom=function(e,t){if("linear"===e.type)t.setAttribute("x1",e.x),t.setAttribute("y1",e.y),t.setAttribute("x2",e.x2),t.setAttribute("y2",e.y2);else{if("radial"!==e.type)return void o("Illegal gradient type.");t.setAttribute("cx",e.x),t.setAttribute("cy",e.y),t.setAttribute("r",e.r)}e.global?t.setAttribute("gradientUnits","userSpaceOnUse"):t.setAttribute("gradientUnits","objectBoundingBox"),t.innerHTML="";for(var n=e.colorStops,r=0,i=n.length;r<i;++r){var s=this.createElement("stop");s.setAttribute("offset",100*n[r].offset+"%");var l=n[r].color;if(l.indexOf(!1)){var u=a.parse(l)[3],c=a.toHex(l);s.setAttribute("stop-color","#"+c),s.setAttribute("stop-opacity",u)}else s.setAttribute("stop-color",n[r].color);t.appendChild(s)}e._dom=t},s.prototype.markUsed=function(e){if(e.style){var t=e.style.fill;t&&t._dom&&r.prototype.markUsed.call(this,t._dom),t=e.style.stroke,t&&t._dom&&r.prototype.markUsed.call(this,t._dom)}};var l=s;e.exports=l},sboe:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("q1tI"),i=r["createContext"](null)},sdST:function(e,t,n){var r=n("hi0g");function i(e,t){return t=t||{},r(t.coordDimensions||[],e,{dimsDef:t.dimensionsDefine||e.dimensionsDefine,encodeDef:t.encodeDefine||e.encodeDefine,dimCount:t.dimensionsCount,encodeDefaulter:t.encodeDefaulter,generateCoord:t.generateCoord,generateCoordCount:t.generateCoordCount})}e.exports=i},seXi:function(e,t,n){var r=n("qZTm"),i=1,o=Object.prototype,a=o.hasOwnProperty;function s(e,t,n,o,s,l){var u=n&i,c=r(e),d=c.length,h=r(t),f=h.length;if(d!=f&&!u)return!1;var p=d;while(p--){var g=c[p];if(!(u?g in t:a.call(t,g)))return!1}var m=l.get(e);if(m&&l.get(t))return m==t;var v=!0;l.set(e,t),l.set(t,e);var y=u;while(++p<d){g=c[p];var b=e[g],_=t[g];if(o)var w=u?o(_,b,g,t,e,l):o(b,_,g,e,t,l);if(!(void 0===w?b===_||s(b,_,n,o,l):w)){v=!1;break}y||(y="constructor"==g)}if(v&&!y){var x=e.constructor,C=t.constructor;x==C||!("constructor"in e)||!("constructor"in t)||"function"==typeof x&&x instanceof x&&"function"==typeof C&&C instanceof C||(v=!1)}return l["delete"](e),l["delete"](t),v}e.exports=s},shjB:function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},siPX:function(e,t,n){},snIX:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("N0LK"),i=n("LCkn"),o=n("Ll0s"),a=n("+Fos"),s=n("aokT"),l=function(){function e(){}return e.deleteRight=function(e,t,n,r){for(var o=[],l=3!==e,u=0,c=r.length;u<c;u++){var d=r[u],h=d;if(h.isEmpty()){var f=d.getPosition(),p=a["a"].right(t,n,f.lineNumber,f.column);h=new s["a"](p.lineNumber,p.column,f.lineNumber,f.column)}h.isEmpty()?o[u]=null:(h.startLineNumber!==h.endLineNumber&&(l=!0),o[u]=new i["a"](h,""))}return[l,o]},e._isAutoClosingPairDelete=function(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(var r=0,i=n.length;r<i;r++){var a=n[r],s=a.getPosition();if(!a.isEmpty())return!1;var l=t.getLineContent(s.lineNumber),u=l[s.column-2],c=e.autoClosingPairsOpen2.get(u);if(!c)return!1;if(Object(o["g"])(u)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;for(var d=l[s.column-1],h=!1,f=0,p=c;f<p.length;f++){var g=p[f];g.open===u&&g.close===d&&(h=!0)}if(!h)return!1}return!0},e._runAutoClosingPairDelete=function(e,t,n){for(var r=[],o=0,a=n.length;o<a;o++){var l=n[o].getPosition(),u=new s["a"](l.lineNumber,l.column-1,l.lineNumber,l.column+1);r[o]=new i["a"](u,"")}return[!0,r]},e.deleteLeft=function(e,t,n,l){if(this._isAutoClosingPairDelete(t,n,l))return this._runAutoClosingPairDelete(t,n,l);for(var u=[],c=2!==e,d=0,h=l.length;d<h;d++){var f=l[d],p=f;if(p.isEmpty()){var g=f.getPosition();if(t.useTabStops&&g.column>1){var m=n.getLineContent(g.lineNumber),v=r["q"](m),y=-1===v?m.length+1:v+1;if(g.column<=y){var b=o["a"].visibleColumnFromColumn2(t,n,g),_=o["a"].prevIndentTabStop(b,t.indentSize),w=o["a"].columnFromVisibleColumn2(t,n,g.lineNumber,_);p=new s["a"](g.lineNumber,w,g.lineNumber,g.column)}else p=new s["a"](g.lineNumber,g.column-1,g.lineNumber,g.column)}else{var x=a["a"].left(t,n,g.lineNumber,g.column);p=new s["a"](x.lineNumber,x.column,g.lineNumber,g.column)}}p.isEmpty()?u[d]=null:(p.startLineNumber!==p.endLineNumber&&(c=!0),u[d]=new i["a"](p,""))}return[c,u]},e.cut=function(e,t,n){for(var r=[],a=0,l=n.length;a<l;a++){var u=n[a];if(u.isEmpty())if(e.emptySelectionClipboard){var c=u.getPosition(),d=void 0,h=void 0,f=void 0,p=void 0;c.lineNumber<t.getLineCount()?(d=c.lineNumber,h=1,f=c.lineNumber+1,p=1):c.lineNumber>1?(d=c.lineNumber-1,h=t.getLineMaxColumn(c.lineNumber-1),f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber)):(d=c.lineNumber,h=1,f=c.lineNumber,p=t.getLineMaxColumn(c.lineNumber));var g=new s["a"](d,h,f,p);g.isEmpty()?r[a]=null:r[a]=new i["a"](g,"")}else r[a]=null;else r[a]=new i["a"](u,"")}return new o["e"](0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},e}()},sswD:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"c",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"j",(function(){return w})),n.d(t,"e",(function(){return x})),n.d(t,"k",(function(){return C})),n.d(t,"g",(function(){return S})),n.d(t,"f",(function(){return O})),n.d(t,"i",(function(){return k})),n.d(t,"h",(function(){return E})),n.d(t,"d",(function(){return r}));var r,i=n("/cxE"),o=n("bY76"),a=n("Vxe3"),s=n("cGHE"),l=n("G2kB"),u=n("t49l"),c=n("fjLI"),d=n("nnTU"),h=n("T8No"),f=n("nrhi"),p=n("ic2d"),g=n("XXUj"),m=n("746U"),v=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(){function e(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menuOpts=e.menuOpts,this._description=e.description}return e.prototype.register=function(){var e=this;if(Array.isArray(this._menuOpts)?this._menuOpts.forEach(this._registerMenuItem,this):this._menuOpts&&this._registerMenuItem(this._menuOpts),this._kbOpts){var t=this._kbOpts.kbExpr;this.precondition&&(t=t?h["a"].and(t,this.precondition):this.precondition),f["a"].registerCommandAndKeybindingRule({id:this.id,handler:function(t,n){return e.runCommand(t,n)},weight:this._kbOpts.weight,when:t,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else d["a"].registerCommand({id:this.id,handler:function(t,n){return e.runCommand(t,n)},description:this._description})},e.prototype._registerMenuItem=function(e){c["c"].appendMenuItem(e.menuId,{group:e.group,command:{id:this.id,title:e.title},when:e.when,order:e.order})},e}(),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.bindToContribution=function(e){return function(t){function n(e){var n=t.call(this,e)||this;return n._callback=e.handler,n}return v(n,t),n.prototype.runEditorCommand=function(t,n,r){var i=e(n);i&&this._callback(e(n),r)},n}(t)},t.prototype.runCommand=function(e,t){var n=this,r=e.get(a["a"]),i=r.getFocusedCodeEditor()||r.getActiveCodeEditor();if(i)return i.invokeWithinContext((function(e){var r=e.get(h["c"]);if(r.contextMatchesRules(Object(m["n"])(n.precondition)))return n.runEditorCommand(e,i,t)}))},t}(y),_=function(e){function t(n){var r=e.call(this,t.convertOptions(n))||this;return r.label=n.label,r.alias=n.alias,r}return v(t,e),t.convertOptions=function(e){var t;function n(t){return t.menuId||(t.menuId=7),t.title||(t.title=e.label),t.when=h["a"].and(e.precondition,t.when),t}return t=Array.isArray(e.menuOpts)?e.menuOpts:e.menuOpts?[e.menuOpts]:[],Array.isArray(e.contextMenuOpts)?t.push.apply(t,e.contextMenuOpts.map(n)):e.contextMenuOpts&&t.push(n(e.contextMenuOpts)),e.menuOpts=t,e},t.prototype.runEditorCommand=function(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})},t.prototype.reportTelemetry=function(e,t){e.get(g["a"]).publicLog2("editorActionInvoked",{name:this.label,id:this.id})},t}(b);function w(e,t){d["a"].registerCommand(e,(function(e,n){return t(e,n||{})}))}function x(e,t){w(e,(function(e,n){var r=n.resource,a=n.position;if(!(r instanceof o["a"]))throw Object(i["b"])("resource");if(!s["a"].isIPosition(a))throw Object(i["b"])("position");var c=e.get(l["a"]).getModel(r);if(c){var d=s["a"].lift(a);return t(c,d,n)}return e.get(u["a"]).createModelReference(r).then((function(e){return new Promise((function(r,i){try{var o=t(e.object.textEditorModel,s["a"].lift(a),n);r(o)}catch(l){i(l)}})).finally((function(){e.dispose()}))}))}))}function C(e,t){d["a"].registerCommand(e,(function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=n[0],a=n[1];Object(m["a"])(o["a"].isUri(i)),Object(m["a"])(s["a"].isIPosition(a));var c=e.get(l["a"]).getModel(i);if(c){var d=s["a"].lift(a);return t(c,d,n.slice(2))}return e.get(u["a"]).createModelReference(i).then((function(e){return new Promise((function(r,i){try{var o=t(e.object.textEditorModel,s["a"].lift(a),n.slice(2));r(o)}catch(l){i(l)}})).finally((function(){e.dispose()}))}))}))}function S(e){return M.INSTANCE.registerEditorCommand(e),e}function O(e){M.INSTANCE.registerEditorAction(new e)}function k(e){M.INSTANCE.registerEditorAction(e)}function E(e,t){M.INSTANCE.registerEditorContribution(e,t)}(function(e){function t(e){return M.INSTANCE.getEditorCommand(e)}function n(){return M.INSTANCE.getEditorActions()}function r(){return M.INSTANCE.getEditorContributions()}function i(e){return M.INSTANCE.getEditorContributions().filter((function(t){return e.indexOf(t.id)>=0}))}function o(){return M.INSTANCE.getDiffEditorContributions()}e.getEditorCommand=t,e.getEditorActions=n,e.getEditorContributions=r,e.getSomeEditorContributions=i,e.getDiffEditorContributions=o})(r||(r={}));var D={EditorCommonContributions:"editor.contributions"},M=function(){function e(){this.editorContributions=[],this.diffEditorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}return e.prototype.registerEditorContribution=function(e,t){this.editorContributions.push({id:e,ctor:t})},e.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},e.prototype.getDiffEditorContributions=function(){return this.diffEditorContributions.slice(0)},e.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},e.prototype.getEditorActions=function(){return this.editorActions.slice(0)},e.prototype.registerEditorCommand=function(e){e.register(),this.editorCommands[e.id]=e},e.prototype.getEditorCommand=function(e){return this.editorCommands[e]||null},e.INSTANCE=new e,e}();p["a"].add(D.EditorCommonContributions,M.INSTANCE)},synD:function(e,t,n){},szbU:function(e,t,n){var r=n("bYtY"),i=r.each;function o(e){var t=e&&e.visualMap;r.isArray(t)||(t=t?[t]:[]),i(t,(function(e){if(e){a(e,"splitList")&&!a(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&r.isArray(t)&&i(t,(function(e){r.isObject(e)&&(a(e,"start")&&!a(e,"min")&&(e.min=e.start),a(e,"end")&&!a(e,"max")&&(e.max=e.end))}))}}))}function a(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}e.exports=o},t23M:function(e,t,n){"use strict";var r=n("rePB"),i=n("1OyB"),o=n("vuIU"),a=n("Ji7U"),s=n("md7G"),l=n("foSv"),u=n("q1tI"),c=n("m+aA"),d=n("Zm9Q"),h=n("Kwbf"),f=n("c+Xe"),p=n("bdgK");function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e){var t=y();return function(){var n,r=Object(l["a"])(e);if(t){var i=Object(l["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(s["a"])(this,n)}}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var b="rc-observer-key",_=function(){var e=function(e){Object(a["a"])(n,e);var t=v(n);function n(){var e;return Object(i["a"])(this,n),e=t.apply(this,arguments),e.resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0},e.onResize=function(t){var n=e.props.onResize,r=t[0].target,i=r.getBoundingClientRect(),o=i.width,a=i.height,s=r.offsetWidth,l=r.offsetHeight,u=Math.floor(o),c=Math.floor(a);if(e.state.width!==u||e.state.height!==c){var d={width:u,height:c};e.setState(d),n&&n(m(m({},d),{},{offsetWidth:s,offsetHeight:l}))}},e.setChildNode=function(t){e.childNode=t},e}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled;if(e)this.destroyObserver();else{var t=Object(c["a"])(this.childNode||this),n=t!==this.currentElement;n&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new p["default"](this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,t=Object(d["a"])(e);if(t.length>1)Object(h["a"])(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Object(h["a"])(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var n=t[0];if(u["isValidElement"](n)&&Object(f["b"])(n)){var r=n.ref;t[0]=u["cloneElement"](n,{ref:Object(f["a"])(r,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(e,t){return!u["isValidElement"](e)||"key"in e&&null!==e.key?e:u["cloneElement"](e,{key:"".concat(b,"-").concat(t)})}))}}]),n}(u["Component"]);return e.displayName="ResizeObserver",e}();t["a"]=_},t3Fx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n("q1tI"),a=f(o),s=n("17x9"),l=f(s),u=n("tkwv"),c=f(u),d=n("u3os"),h=n("kzFp");function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var v=function(e){function t(e){p(this,t);var n=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.getEchartsInstance=function(){return n.echartsLib.getInstanceByDom(n.echartsElement)||n.echartsLib.init(n.echartsElement,n.props.theme,n.props.opts)},n.dispose=function(){if(n.echartsElement){try{(0,d.clear)(n.echartsElement)}catch(e){console.warn(e)}n.echartsLib.dispose(n.echartsElement)}},n.rerender=function(){var e=n.props,t=e.onEvents,r=e.onChartReady,i=n.renderEchartDom();n.bindEvents(i,t||{}),"function"===typeof r&&n.props.onChartReady(i),n.echartsElement&&(0,d.bind)(n.echartsElement,(function(){try{i.resize()}catch(e){console.warn(e)}}))},n.bindEvents=function(e,t){var n=function(t,n){"string"===typeof t&&"function"===typeof n&&e.on(t,(function(t){n(t,e)}))};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n(r,t[r])},n.renderEchartDom=function(){var e=n.getEchartsInstance();return e.setOption(n.props.option,n.props.notMerge||!1,n.props.lazyUpdate||!1),n.props.showLoading?e.showLoading(n.props.loadingOption||null):e.hideLoading(),e},n.echartsLib=e.echarts,n.echartsElement=null,n}return m(t,e),i(t,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(e){if("function"!==typeof this.props.shouldSetOption||this.props.shouldSetOption(e,this.props)){if(!(0,c["default"])(e.theme,this.props.theme)||!(0,c["default"])(e.opts,this.props.opts)||!(0,c["default"])(e.onEvents,this.props.onEvents))return this.dispose(),void this.rerender();var t=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if(!(0,c["default"])((0,h.pick)(this.props,t),(0,h.pick)(e,t))){var n=this.renderEchartDom();if(!(0,c["default"])(e.style,this.props.style)||!(0,c["default"])(e.className,this.props.className))try{n.resize()}catch(r){console.warn(r)}}}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var e=this,t=this.props,n=t.style,i=t.className,o=r({height:300},n);return a["default"].createElement("div",{ref:function(t){e.echartsElement=t},style:o,className:"echarts-for-react "+i})}}]),t}(o.Component);t["default"]=v,v.propTypes={option:l["default"].object.isRequired,echarts:l["default"].object,notMerge:l["default"].bool,lazyUpdate:l["default"].bool,style:l["default"].object,className:l["default"].string,theme:l["default"].oneOfType([l["default"].string,l["default"].object]),onChartReady:l["default"].func,showLoading:l["default"].bool,loadingOption:l["default"].object,onEvents:l["default"].object,opts:l["default"].shape({devicePixelRatio:l["default"].number,renderer:l["default"].oneOf(["canvas","svg"]),width:l["default"].oneOfType([l["default"].number,l["default"].oneOf([null,void 0,"auto"])]),height:l["default"].oneOfType([l["default"].number,l["default"].oneOf([null,void 0,"auto"])])}),shouldSetOption:l["default"].func},v.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},t49l:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("textModelService")},t9D7:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"e",(function(){return g}));var r=n("Cg/j"),i=n("pmY6"),o=n("ic2d"),a=n("MI8n"),s=Object(r["c"])("themeService");function l(e){return{id:e}}var u="dark",c="hc";function d(e){switch(e){case u:return"vs-dark";case c:return"hc-black";default:return"vs"}}var h={ThemingContribution:"base.contributions.theming"},f=function(){function e(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new a["a"]}return e.prototype.onThemeChange=function(e){var t=this;return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),Object(i["h"])((function(){var n=t.themingParticipants.indexOf(e);t.themingParticipants.splice(n,1)}))},e.prototype.getThemingParticipants=function(){return this.themingParticipants},e}(),p=new f;function g(e){return p.onThemeChange(e)}o["a"].add(h.ThemingContribution,p)},tADe:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l}));var r,i,o=n("Cg/j"),a=n("3/fG"),s=n("S3by");(function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"})(r||(r={})),function(e){function t(e,t){return t-e}e.compare=t;var n=Object.create(null);function r(e){return n[e]||""}function i(t){switch(t){case s["a"].Error:return e.Error;case s["a"].Warning:return e.Warning;case s["a"].Info:return e.Info;case s["a"].Ignore:return e.Hint}}function o(t){switch(t){case e.Error:return s["a"].Error;case e.Warning:return s["a"].Warning;case e.Info:return s["a"].Info;case e.Hint:return s["a"].Ignore}}n[e.Error]=Object(a["a"])("sev.error","Error"),n[e.Warning]=Object(a["a"])("sev.warning","Warning"),n[e.Info]=Object(a["a"])("sev.info","Info"),e.toString=r,e.fromSeverity=i,e.toSeverity=o}(r||(r={})),function(e){var t="";function n(e){return i(e,!0)}function i(e,n){var i=[t];return e.source?i.push(e.source.replace("\xa6","\xa6")):i.push(t),e.code?"string"===typeof e.code?i.push(e.code.replace("\xa6","\xa6")):i.push(e.code.value.replace("\xa6","\xa6")):i.push(t),void 0!==e.severity&&null!==e.severity?i.push(r.toString(e.severity)):i.push(t),e.message&&n?i.push(e.message.replace("\xa6","\xa6")):i.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?i.push(e.startLineNumber.toString()):i.push(t),void 0!==e.startColumn&&null!==e.startColumn?i.push(e.startColumn.toString()):i.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?i.push(e.endLineNumber.toString()):i.push(t),void 0!==e.endColumn&&null!==e.endColumn?i.push(e.endColumn.toString()):i.push(t),i.push(t),i.join("\xa6")}e.makeKey=n,e.makeKeyOptionalMessage=i}(i||(i={}));var l=Object(o["c"])("markerService")},tBnm:function(e,t,n){var r=n("bYtY"),i=n("IwbS"),o=n("Qxkt"),a=n("Znkb"),s=n("+rIm"),l=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function u(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),i=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function c(e){var t=e.getRadiusAxis();return t.inverse?0:1}function d(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var h=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=r.map(n.getViewLabels(),(function(e){e=r.clone(e);return e.coord=n.dataToCoord(e.tickValue),e}));d(u),d(a),r.each(l,(function(t){!e.get(t+".show")||n.scale.isBlank()&&"axisLine"!==t||this["_"+t](e,i,a,s,o,u)}),this)}},_axisLine:function(e,t,n,r,o){var a,s=e.getModel("axisLine.lineStyle"),l=c(t),u=l?0:1;a=0===o[u]?new i.Circle({shape:{cx:t.cx,cy:t.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new i.Ring({shape:{cx:t.cx,cy:t.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,this.group.add(a)},_axisTick:function(e,t,n,o,a){var s=e.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),d=a[c(t)],h=r.map(n,(function(e){return new i.Line({shape:u(t,[d,d+l],e.coord)})}));this.group.add(i.mergePath(h,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")})}))},_minorTick:function(e,t,n,o,a){if(o.length){for(var s=e.getModel("axisTick"),l=e.getModel("minorTick"),d=(s.get("inside")?-1:1)*l.get("length"),h=a[c(t)],f=[],p=0;p<o.length;p++)for(var g=0;g<o[p].length;g++)f.push(new i.Line({shape:u(t,[h,h+d],o[p][g].coord)}));this.group.add(i.mergePath(f,{style:r.defaults(l.getModel("lineStyle").getLineStyle(),r.defaults(s.getLineStyle(),{stroke:e.get("axisLine.lineStyle.color")}))}))}},_axisLabel:function(e,t,n,a,l,u){var d=e.getCategories(!0),h=e.getModel("axisLabel"),f=h.get("margin"),p=e.get("triggerEvent");r.each(u,(function(n,r){var a=h,u=n.tickValue,g=l[c(t)],m=t.coordToPoint([g+f,n.coord]),v=t.cx,y=t.cy,b=Math.abs(m[0]-v)/g<.3?"center":m[0]>v?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";d&&d[u]&&d[u].textStyle&&(a=new o(d[u].textStyle,h,h.ecModel));var w=new i.Text({silent:s.isLabelSilent(e)});this.group.add(w),i.setTextStyle(w.style,a,{x:m[0],y:m[1],textFill:a.getTextColor()||e.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:_}),p&&(w.eventData=s.makeAxisEventDataBase(e),w.eventData.targetType="axisLabel",w.eventData.value=n.rawLabel)}),this)},_splitLine:function(e,t,n,o,a){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),d=0;c=c instanceof Array?c:[c];for(var h=[],f=0;f<n.length;f++){var p=d++%c.length;h[p]=h[p]||[],h[p].push(new i.Line({shape:u(t,a,n[f].coord)}))}for(f=0;f<h.length;f++)this.group.add(i.mergePath(h[f],{style:r.defaults({stroke:c[f%c.length]},l.getLineStyle()),silent:!0,z:e.get("z")}))},_minorSplitLine:function(e,t,n,r,o){if(r.length){for(var a=e.getModel("minorSplitLine"),s=a.getModel("lineStyle"),l=[],c=0;c<r.length;c++)for(var d=0;d<r[c].length;d++)l.push(new i.Line({shape:u(t,o,r[c][d].coord)}));this.group.add(i.mergePath(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},_splitArea:function(e,t,n,o,a){if(n.length){var s=e.getModel("splitArea"),l=s.getModel("areaStyle"),u=l.get("color"),c=0;u=u instanceof Array?u:[u];for(var d=[],h=Math.PI/180,f=-n[0].coord*h,p=Math.min(a[0],a[1]),g=Math.max(a[0],a[1]),m=e.get("clockwise"),v=1;v<n.length;v++){var y=c++%u.length;d[y]=d[y]||[],d[y].push(new i.Sector({shape:{cx:t.cx,cy:t.cy,r0:p,r:g,startAngle:f,endAngle:-n[v].coord*h,clockwise:m},silent:!0})),f=-n[v].coord*h}for(v=0;v<d.length;v++)this.group.add(i.mergePath(d[v],{style:r.defaults({fill:u[v%u.length]},l.getAreaStyle()),silent:!0}))}}});e.exports=h},tMB7:function(e,t,n){var r=n("y1pI");function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},tSko:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("SRve")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="PlusOutlined";var u=o.forwardRef(l);t.default=u},tTk5:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("editorProgressService")},tX9W:function(e,t,n){"use strict";n.d(t,"b",(function(){return at})),n.d(t,"a",(function(){return ht}));var r=n("/cxE"),i=n("MI8n"),o=n("pmY6"),a=n("N0LK"),s=n("bY76"),l=n("/UlZ"),u=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),f=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t<this.editOperations.length;t++)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e}();function p(e){var t=e.getEOL();return"\n"===t?0:1}var g=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=null,this.afterCursorState=null,this.afterVersionId=-1,this.eol=t}return e.prototype.undo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e.prototype.redo=function(e){var t=p(e);e.setEOL(this.eol),this.eol=t},e}(),m=function(){function e(e){this.model=e,this.currentOpenStackElement=null,this.past=[],this.future=[]}return e.prototype.pushStackElement=function(){null!==this.currentOpenStackElement&&(this.past.push(this.currentOpenStackElement),this.currentOpenStackElement=null)},e.prototype.clear=function(){this.currentOpenStackElement=null,this.past=[],this.future=[]},e.prototype.pushEOL=function(e){this.future=[],this.currentOpenStackElement&&this.pushStackElement();var t=p(this.model),n=new g(this.model.getAlternativeVersionId(),t);this.model.setEOL(e),n.afterVersionId=this.model.getVersionId(),this.currentOpenStackElement=n,this.pushStackElement()},e.prototype.pushEditOperation=function(t,n,r){this.future=[];var i=null;this.currentOpenStackElement&&(this.currentOpenStackElement instanceof f?i=this.currentOpenStackElement:this.pushStackElement()),this.currentOpenStackElement||(i=new f(this.model.getAlternativeVersionId(),t),this.currentOpenStackElement=i);var o={operations:this.model.applyEdits(n)};return i.editOperations.push(o),i.afterCursorState=e._computeCursorState(r,o.operations),i.afterVersionId=this.model.getVersionId(),i.afterCursorState},e._computeCursorState=function(e,t){try{return e?e(t):null}catch(n){return Object(r["e"])(n),null}},e.prototype.undo=function(){if(this.pushStackElement(),this.past.length>0){var e=this.past.pop();try{e.undo(this.model)}catch(t){return Object(r["e"])(t),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(t){return Object(r["e"])(t),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){function e(){this.spacesDiff=0,this.looksLikeAlignment=!1}return e}();function y(e,t,n,r,i){var o;for(i.spacesDiff=0,i.looksLikeAlignment=!1,o=0;o<t&&o<r;o++){var a=e.charCodeAt(o),s=n.charCodeAt(o);if(a!==s)break}for(var l=0,u=0,c=o;c<t;c++){a=e.charCodeAt(c);32===a?l++:u++}var d=0,h=0;for(c=o;c<r;c++){s=n.charCodeAt(c);32===s?d++:h++}if(!(l>0&&u>0)&&!(d>0&&h>0)){var f=Math.abs(u-h),p=Math.abs(l-d);if(0===f)return i.spacesDiff=p,void(p>0&&0<=d-1&&d-1<e.length&&d<n.length&&32!==n.charCodeAt(d)&&32===e.charCodeAt(d-1)&&44===e.charCodeAt(e.length-1)&&(i.looksLikeAlignment=!0));p%f!==0||(i.spacesDiff=p/f)}}function b(e,t,n){for(var r=Math.min(e.getLineCount(),1e4),i=0,o=0,a="",s=0,l=[2,4,6,8,3,5,7],u=8,c=[0,0,0,0,0,0,0,0,0],d=new v,h=1;h<=r;h++){for(var f=e.getLineLength(h),p=e.getLineContent(h),g=f<=65536,m=!1,b=0,_=0,w=0,x=0,C=f;x<C;x++){var S=g?p.charCodeAt(x):e.getLineCharCode(h,x);if(9===S)w++;else{if(32!==S){m=!0,b=x;break}_++}}if(m&&(w>0?i++:_>1&&o++,y(a,s,p,b,d),!d.looksLikeAlignment||n&&t===d.spacesDiff)){var O=d.spacesDiff;O<=u&&c[O]++,a=p,s=b}}var k=n;i!==o&&(k=i<o);var E=t;if(k){var D=k?0:.1*r;l.forEach((function(e){var t=c[e];t>D&&(D=t,E=e)})),4===E&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(E=2)}return{insertSpaces:k,tabSize:E}}function _(e){return(1&e.metadata)>>>0}function w(e,t){e.metadata=254&e.metadata|t<<0}function x(e){return(2&e.metadata)>>>1===1}function C(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function S(e){return(4&e.metadata)>>>2===1}function O(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function k(e){return(8&e.metadata)>>>3===1}function E(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function D(e){return(48&e.metadata)>>>4}function M(e,t){e.metadata=207&e.metadata|t<<4}function N(e){return(64&e.metadata)>>>6===1}function L(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var I=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,w(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,O(this,!1),M(this,1),E(this,!1),L(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,C(this,!1)}return e.prototype.reset=function(e,t,n,r){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=r},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;O(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),M(this,this.options.stickiness),E(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),L(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),T=new I(null,0,0);T.parent=T,T.left=T,T.right=T,w(T,0);var P=function(){function e(){this.root=T,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,r,i){return this.root===T?[]:H(this,e,t,n,r,i)},e.prototype.search=function(e,t,n){return this.root===T?[]:W(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return V(this,e)},e.prototype.collectNodesPostOrder=function(){return z(this)},e.prototype.insert=function(e){U(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){G(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){var n=e,r=0;while(e!==this.root)e===e.parent.right&&(r+=e.parent.delta),e=e.parent;var i=n.start+r,o=n.end+r;n.setCachedOffsets(i,o,t)},e.prototype.acceptReplace=function(e,t,n,r){for(var i=F(this,e,e+t),o=0,a=i.length;o<a;o++){var s=i[o];G(this,s)}this._normalizeDeltaIfNecessary(),B(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(o=0,a=i.length;o<a;o++){s=i[o];s.start=s.cachedAbsoluteStart,s.end=s.cachedAbsoluteEnd,j(s,e,e+t,n,r),s.maxEnd=s.end,U(this,s)}this._normalizeDeltaIfNecessary()},e.prototype._normalizeDeltaIfNecessary=function(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,A(this))},e}();function A(e){var t=e.root,n=0;while(t!==T)t.left===T||x(t.left)?t.right===T||x(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,$(t),C(t,!0),C(t.left,!1),C(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t=t.parent):(n+=t.delta,t=t.right):t=t.left;C(e.root,!1)}function R(e,t,n,r){return e<n||!(e>n)&&(1!==r&&(2===r||t))}function j(e,t,n,r,i){var o=D(e),a=0===o||2===o,s=1===o||2===o,l=n-t,u=r,c=Math.min(l,u),d=e.start,h=!1,f=e.end,p=!1;t<=d&&f<=n&&N(e)&&(e.start=t,h=!0,e.end=t,p=!0);var g=i?1:l>0?2:0;if(!h&&R(d,a,t,g)&&(h=!0),!p&&R(f,s,t,g)&&(p=!0),c>0&&!i){g=l>u?2:0;!h&&R(d,a,t+c,g)&&(h=!0),!p&&R(f,s,t+c,g)&&(p=!0)}g=i?1:0;!h&&R(d,a,n,g)&&(e.start=t+u,h=!0),!p&&R(f,s,n,g)&&(e.end=t+u,p=!0);var m=u-l;h||(e.start=Math.max(0,d+m)),p||(e.end=Math.max(0,f+m)),e.start>e.end&&(e.end=e.start)}function F(e,t,n){var r=e.root,i=0,o=0,a=0,s=0,l=[],u=0;while(r!==T)if(x(r))C(r.left,!1),C(r.right,!1),r===r.parent.right&&(i-=r.parent.delta),r=r.parent;else{if(!x(r.left)){if(o=i+r.maxEnd,o<t){C(r,!0);continue}if(r.left!==T){r=r.left;continue}}a=i+r.start,a>n?C(r,!0):(s=i+r.end,s>=t&&(r.setCachedOffsets(a,s,0),l[u++]=r),C(r,!0),r.right===T||x(r.right)||(i+=r.delta,r=r.right))}return C(e.root,!1),l}function B(e,t,n,r){var i=e.root,o=0,a=0,s=0,l=r-(n-t);while(i!==T)if(x(i))C(i.left,!1),C(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),$(i),i=i.parent;else{if(!x(i.left)){if(a=o+i.maxEnd,a<t){C(i,!0);continue}if(i.left!==T){i=i.left;continue}}s=o+i.start,s>n?(i.start+=l,i.end+=l,i.delta+=l,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0),C(i,!0)):(C(i,!0),i.right===T||x(i.right)||(o+=i.delta,i=i.right))}C(e.root,!1)}function V(e,t){var n=e.root,r=[],i=0;while(n!==T)x(n)?(C(n.left,!1),C(n.right,!1),n=n.parent):n.left===T||x(n.left)?(n.ownerId===t&&(r[i++]=n),C(n,!0),n.right===T||x(n.right)||(n=n.right)):n=n.left;return C(e.root,!1),r}function z(e){var t=e.root,n=[],r=0;while(t!==T)x(t)?(C(t.left,!1),C(t.right,!1),t=t.parent):t.left===T||x(t.left)?t.right===T||x(t.right)?(n[r++]=t,C(t,!0)):t=t.right:t=t.left;return C(e.root,!1),n}function W(e,t,n,r){var i=e.root,o=0,a=0,s=0,l=[],u=0;while(i!==T)if(x(i))C(i.left,!1),C(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else if(i.left===T||x(i.left)){a=o+i.start,s=o+i.end,i.setCachedOffsets(a,s,r);var c=!0;t&&i.ownerId&&i.ownerId!==t&&(c=!1),n&&S(i)&&(c=!1),c&&(l[u++]=i),C(i,!0),i.right===T||x(i.right)||(o+=i.delta,i=i.right)}else i=i.left;return C(e.root,!1),l}function H(e,t,n,r,i,o){var a=e.root,s=0,l=0,u=0,c=0,d=[],h=0;while(a!==T)if(x(a))C(a.left,!1),C(a.right,!1),a===a.parent.right&&(s-=a.parent.delta),a=a.parent;else{if(!x(a.left)){if(l=s+a.maxEnd,l<t){C(a,!0);continue}if(a.left!==T){a=a.left;continue}}if(u=s+a.start,u>n)C(a,!0);else{if(c=s+a.end,c>=t){a.setCachedOffsets(u,c,o);var f=!0;r&&a.ownerId&&a.ownerId!==r&&(f=!1),i&&S(a)&&(f=!1),f&&(d[h++]=a)}C(a,!0),a.right===T||x(a.right)||(s+=a.delta,a=a.right)}}return C(e.root,!1),d}function U(e,t){if(e.root===T)return t.parent=T,t.left=T,t.right=T,w(t,0),e.root=t,e.root;K(e,t),J(t.parent);var n=t;while(n!==e.root&&1===_(n.parent))if(n.parent===n.parent.parent.left){var r=n.parent.parent.right;1===_(r)?(w(n.parent,0),w(r,0),w(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&(n=n.parent,X(e,n)),w(n.parent,0),w(n.parent.parent,1),Z(e,n.parent.parent))}else{r=n.parent.parent.left;1===_(r)?(w(n.parent,0),w(r,0),w(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&(n=n.parent,Z(e,n)),w(n.parent,0),w(n.parent.parent,1),X(e,n.parent.parent))}return w(e.root,0),t}function K(e,t){var n=0,r=e.root,i=t.start,o=t.end;while(1){var a=ee(i,o,r.start+n,r.end+n);if(a<0){if(r.left===T){t.start-=n,t.end-=n,t.maxEnd-=n,r.left=t;break}r=r.left}else{if(r.right===T){t.start-=n+r.delta,t.end-=n+r.delta,t.maxEnd-=n+r.delta,r.right=t;break}n+=r.delta,r=r.right}}t.parent=r,t.left=T,t.right=T,w(t,1)}function G(e,t){var n,r;if(t.left===T?(n=t.right,r=t,n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===T?(n=t.left,r=t):(r=q(t.right),n=r.right,n.start+=r.delta,n.end+=r.delta,n.delta+=r.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),r.start+=t.delta,r.end+=t.delta,r.delta=t.delta,(r.delta<-1073741824||r.delta>1073741824)&&(e.requestNormalizeDelta=!0)),r===e.root)return e.root=n,w(n,0),t.detach(),Y(),$(n),void(e.root.parent=T);var i,o=1===_(r);if(r===r.parent.left?r.parent.left=n:r.parent.right=n,r===t?n.parent=r.parent:(r.parent===t?n.parent=r:n.parent=r.parent,r.left=t.left,r.right=t.right,r.parent=t.parent,w(r,_(t)),t===e.root?e.root=r:t===t.parent.left?t.parent.left=r:t.parent.right=r,r.left!==T&&(r.left.parent=r),r.right!==T&&(r.right.parent=r)),t.detach(),o)return J(n.parent),r!==t&&(J(r),J(r.parent)),void Y();J(n),J(n.parent),r!==t&&(J(r),J(r.parent));while(n!==e.root&&0===_(n))n===n.parent.left?(i=n.parent.right,1===_(i)&&(w(i,0),w(n.parent,1),X(e,n.parent),i=n.parent.right),0===_(i.left)&&0===_(i.right)?(w(i,1),n=n.parent):(0===_(i.right)&&(w(i.left,0),w(i,1),Z(e,i),i=n.parent.right),w(i,_(n.parent)),w(n.parent,0),w(i.right,0),X(e,n.parent),n=e.root)):(i=n.parent.left,1===_(i)&&(w(i,0),w(n.parent,1),Z(e,n.parent),i=n.parent.left),0===_(i.left)&&0===_(i.right)?(w(i,1),n=n.parent):(0===_(i.left)&&(w(i.right,0),w(i,1),X(e,i),i=n.parent.left),w(i,_(n.parent)),w(n.parent,0),w(i.left,0),Z(e,n.parent),n=e.root));w(n,0),Y()}function q(e){while(e.left!==T)e=e.left;return e}function Y(){T.parent=T,T.delta=0,T.start=0,T.end=0}function X(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==T&&(n.left.parent=t),n.parent=t.parent,t.parent===T?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,$(t),$(n)}function Z(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==T&&(n.right.parent=t),n.parent=t.parent,t.parent===T?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,$(t),$(n)}function Q(e){var t=e.end;if(e.left!==T){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==T){var r=e.right.maxEnd+e.delta;r>t&&(t=r)}return t}function $(e){e.maxEnd=Q(e)}function J(e){while(e!==T){var t=Q(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function ee(e,t,n,r){return e===n?t-r:e-n}var te=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==ne)return re(this.right);var e=this;while(e.parent!==ne){if(e.parent.left===e)break;e=e.parent}return e.parent===ne?ne:e.parent},e.prototype.prev=function(){if(this.left!==ne)return ie(this.left);var e=this;while(e.parent!==ne){if(e.parent.right===e)break;e=e.parent}return e.parent===ne?ne:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),ne=new te(null,0);function re(e){while(e.left!==ne)e=e.left;return e}function ie(e){while(e.right!==ne)e=e.right;return e}function oe(e){return e===ne?0:e.size_left+e.piece.length+oe(e.right)}function ae(e){return e===ne?0:e.lf_left+e.piece.lineFeedCnt+ae(e.right)}function se(){ne.parent=ne}function le(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==ne&&(n.left.parent=t),n.parent=t.parent,t.parent===ne?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function ue(e,t){var n=t.left;t.left=n.right,n.right!==ne&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===ne?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function ce(e,t){var n,r;if(t.left===ne?(r=t,n=r.right):t.right===ne?(r=t,n=r.left):(r=re(t.right),n=r.right),r===e.root)return e.root=n,n.color=0,t.detach(),se(),void(e.root.parent=ne);var i=1===r.color;if(r===r.parent.left?r.parent.left=n:r.parent.right=n,r===t?(n.parent=r.parent,fe(e,n)):(r.parent===t?n.parent=r:n.parent=r.parent,fe(e,n),r.left=t.left,r.right=t.right,r.parent=t.parent,r.color=t.color,t===e.root?e.root=r:t===t.parent.left?t.parent.left=r:t.parent.right=r,r.left!==ne&&(r.left.parent=r),r.right!==ne&&(r.right.parent=r),r.size_left=t.size_left,r.lf_left=t.lf_left,fe(e,r)),t.detach(),n.parent.left===n){var o=oe(n),a=ae(n);if(o!==n.parent.size_left||a!==n.parent.lf_left){var s=o-n.parent.size_left,l=a-n.parent.lf_left;n.parent.size_left=o,n.parent.lf_left=a,he(e,n.parent,s,l)}}if(fe(e,n.parent),i)se();else{var u;while(n!==e.root&&0===n.color)n===n.parent.left?(u=n.parent.right,1===u.color&&(u.color=0,n.parent.color=1,le(e,n.parent),u=n.parent.right),0===u.left.color&&0===u.right.color?(u.color=1,n=n.parent):(0===u.right.color&&(u.left.color=0,u.color=1,ue(e,u),u=n.parent.right),u.color=n.parent.color,n.parent.color=0,u.right.color=0,le(e,n.parent),n=e.root)):(u=n.parent.left,1===u.color&&(u.color=0,n.parent.color=1,ue(e,n.parent),u=n.parent.left),0===u.left.color&&0===u.right.color?(u.color=1,n=n.parent):(0===u.left.color&&(u.right.color=0,u.color=1,le(e,u),u=n.parent.left),u.color=n.parent.color,n.parent.color=0,u.left.color=0,ue(e,n.parent),n=e.root));n.color=0,se()}}function de(e,t){fe(e,t);while(t!==e.root&&1===t.parent.color)if(t.parent===t.parent.parent.left){var n=t.parent.parent.right;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&(t=t.parent,le(e,t)),t.parent.color=0,t.parent.parent.color=1,ue(e,t.parent.parent))}else{n=t.parent.parent.left;1===n.color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&(t=t.parent,ue(e,t)),t.parent.color=0,t.parent.parent.color=1,le(e,t.parent.parent))}e.root.color=0}function he(e,t,n,r){while(t!==e.root&&t!==ne)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=r),t=t.parent}function fe(e,t){var n=0,r=0;if(t!==e.root){if(0===n){while(t!==e.root&&t===t.parent.right)t=t.parent;if(t===e.root)return;t=t.parent,n=oe(t.left)-t.size_left,r=ae(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=r}while(t!==e.root&&(0!==n||0!==r))t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=r),t=t.parent}}ne.parent=ne,ne.left=ne,ne.right=ne,ne.color=0;var pe=n("jAJ/"),ge=65535;function me(e){var t;return t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length),t.set(e,0),t}var ve=function(){function e(e,t,n,r,i){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=r,this.isBasicASCII=i}return e}();function ye(e,t){void 0===t&&(t=!0);for(var n=[0],r=1,i=0,o=e.length;i<o;i++){var a=e.charCodeAt(i);13===a?i+1<o&&10===e.charCodeAt(i+1)?(n[r++]=i+2,i++):n[r++]=i+1:10===a&&(n[r++]=i+1)}return t?me(n):n}function be(e,t){e.length=0,e[0]=0;for(var n=1,r=0,i=0,o=0,a=!0,s=0,l=t.length;s<l;s++){var u=t.charCodeAt(s);13===u?s+1<l&&10===t.charCodeAt(s+1)?(o++,e[n++]=s+2,s++):(r++,e[n++]=s+1):10===u?(i++,e[n++]=s+1):a&&9!==u&&(u<32||u>126)&&(a=!1)}var c=new ve(me(e),r,i,o,a);return e.length=0,c}var _e=function(){function e(e,t,n,r,i){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=r,this.length=i}return e}(),we=function(){function e(e,t){this.buffer=e,this.lineStarts=t}return e}(),xe=function(){function e(e){this._limit=e,this._cache=[]}return e.prototype.get=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,r=0;r<n.length;r++){var i=n[r];(null===i.node.parent||i.nodeStartOffset>=e)&&(n[r]=null,t=!0)}if(t){for(var o=[],a=0,s=n;a<s.length;a++){var l=s[a];null!==l&&o.push(l)}this._cache=o}},e}(),Ce=function(){function e(e,t,n){this.create(e,t,n)}return e.prototype.create=function(e,t,n){this._buffers=[new we("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=ne,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;for(var r=null,i=0,o=e.length;i<o;i++)if(e[i].buffer.length>0){e[i].lineStarts||(e[i].lineStarts=ye(e[i].buffer));var a=new _e(i+1,{line:0,column:0},{line:e[i].lineStarts.length-1,column:e[i].buffer.length-e[i].lineStarts[e[i].lineStarts.length-1]},e[i].lineStarts.length-1,e[i].buffer.length);this._buffers.push(e[i]),r=this.rbInsertRight(r,a)}this._searchCache=new xe(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=ge,r=n-Math.floor(n/3),i=2*r,o="",a=0,s=[];if(this.iterate(this.root,(function(n){var l=t.getNodeContent(n),u=l.length;if(a<=r||a+u<i)return o+=l,a+=u,!0;var c=o.replace(/\r\n|\r|\n/g,e);return s.push(new we(c,ye(c))),o=l,a=u,!0})),a>0){var l=o.replace(/\r\n|\r|\n/g,e);s.push(new we(l,ye(l)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){var n=0,r=this.root;while(r!==ne)if(r.left!==ne&&r.lf_left+1>=e)r=r.left;else{if(r.lf_left+r.piece.lineFeedCnt+1>=e){n+=r.size_left;var i=this.getAccumulatedValue(r,e-r.lf_left-2);return n+(i+t-1)}e-=r.lf_left+r.piece.lineFeedCnt,n+=r.size_left+r.piece.length,r=r.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);var t=this.root,n=0,r=e;while(t!==ne)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var i=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+i.index,0===i.index){var o=this.getOffsetAt(n+1,1),a=r-o;return new u["a"](n+1,a+1)}return new u["a"](n+1,i.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===ne){o=this.getOffsetAt(n+1,1),a=r-e-o;return new u["a"](n+1,a+1)}t=t.right}return new u["a"](1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),r=this.nodeAt2(e.endLineNumber,e.endColumn),i=this.getValueInRange2(n,r);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?i:i.replace(/\r\n|\r|\n/g,t):i},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,r=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return r.substring(i+e.remainder,i+t.remainder)}var o=e.node,a=this._buffers[o.piece.bufferIndex].buffer,s=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start),l=a.substring(s+e.remainder,s+o.piece.length);o=o.next();while(o!==ne){var u=this._buffers[o.piece.bufferIndex].buffer,c=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);if(o===t.node){l+=u.substring(c,c+t.remainder);break}l+=u.substr(c,o.piece.length),o=o.next()}return l},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,r="",i=!1;return this.iterate(this.root,(function(o){if(o===ne)return!0;var a=o.piece,s=a.length;if(0===s)return!0;var l=e._buffers[a.bufferIndex].buffer,u=e._buffers[a.bufferIndex].lineStarts,c=a.start.line,d=a.end.line,h=u[c]+a.start.column;if(i&&(10===l.charCodeAt(h)&&(h++,s--),t[n++]=r,r="",i=!1,0===s))return!0;if(c===d)return e._EOLNormalized||13!==l.charCodeAt(h+s-1)?r+=l.substr(h,s):(i=!0,r+=l.substr(h,s-1)),!0;r+=e._EOLNormalized?l.substring(h,Math.max(h,u[c+1]-e._EOLLength)):l.substring(h,u[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=r;for(var f=c+1;f<d;f++)r=e._EOLNormalized?l.substring(u[f],u[f+1]-e._EOLLength):l.substring(u[f],u[f+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=r;return e._EOLNormalized||13!==l.charCodeAt(u[d]+a.end.column-1)?r=l.substr(u[d],a.end.column):(i=!0,0===a.end.column?n--:r=l.substr(u[d],a.end.column-1)),!0})),i&&(t[n++]=r,r=""),t[n++]=r,t},e.prototype.getLength=function(){return this._length},e.prototype.getLineCount=function(){return this._lineCnt},e.prototype.getLineContent=function(e){return this._lastVisitedLine.lineNumber===e||(this._lastVisitedLine.lineNumber=e,e===this._lineCnt?this._lastVisitedLine.value=this.getLineRawContent(e):this._EOLNormalized?this._lastVisitedLine.value=this.getLineRawContent(e,this._EOLLength):this._lastVisitedLine.value=this.getLineRawContent(e).replace(/(\r\n|\r|\n)$/,"")),this._lastVisitedLine.value},e.prototype.getLineCharCode=function(e,t){var n=this.nodeAt2(e,t+1);if(n.remainder===n.node.piece.length){var r=n.node.next();if(!r)return 0;var i=this._buffers[r.piece.bufferIndex],o=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);return i.buffer.charCodeAt(o)}i=this._buffers[n.node.piece.bufferIndex],o=this.offsetInBuffer(n.node.piece.bufferIndex,n.node.piece.start);var a=o+n.remainder;return i.buffer.charCodeAt(a)},e.prototype.getLineLength=function(e){if(e===this.getLineCount()){var t=this.getOffsetAt(e,1);return this.getLength()-t}return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength},e.prototype.findMatchesInNode=function(e,t,n,r,i,o,a,s,l,u,d){var h,f,p,g=this._buffers[e.piece.bufferIndex],m=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),v=this.offsetInBuffer(e.piece.bufferIndex,i),y=this.offsetInBuffer(e.piece.bufferIndex,o),b={line:0,column:0};t._wordSeparators?(f=g.buffer.substring(v,y),p=function(e){return e+v},t.reset(-1)):(f=g.buffer,p=function(e){return e},t.reset(v));do{if(h=t.next(f),h){if(p(h.index)>=y)return u;this.positionInBuffer(e,p(h.index)-m,b);var _=this.getLineFeedCnt(e.piece.bufferIndex,i,b),w=b.line===i.line?b.column-i.column+r:b.column+1,x=w+h[0].length;if(d[u++]=Object(pe["d"])(new c["a"](n+_,w,n+_,x),h,s),p(h.index)+h[0].length>=y)return u;if(u>=l)return u}}while(h);return u},e.prototype.findMatchesLineByLine=function(e,t,n,r){var i=[],o=0,a=new pe["b"](t.wordSeparators,t.regex),s=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===s)return[];var l=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===l)return[];var u=this.positionInBuffer(s.node,s.remainder),c=this.positionInBuffer(l.node,l.remainder);if(s.node===l.node)return this.findMatchesInNode(s.node,a,e.startLineNumber,e.startColumn,u,c,t,n,r,o,i),i;var d=e.startLineNumber,h=s.node;while(h!==l.node){var f=this.getLineFeedCnt(h.piece.bufferIndex,u,h.piece.end);if(f>=1){var p=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=p[u.line+f],v=d===e.startLineNumber?e.startColumn:1;if(o=this.findMatchesInNode(h,a,d,v,u,this.positionInBuffer(h,m-g),t,n,r,o,i),o>=r)return i;d+=f}var y=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var b=this.getLineContent(d).substring(y,e.endColumn-1);return o=this._findMatchesInLine(t,a,b,e.endLineNumber,y,o,i,n,r),i}if(o=this._findMatchesInLine(t,a,this.getLineContent(d).substr(y),d,y,o,i,n,r),o>=r)return i;d++,s=this.nodeAt2(d,1),h=s.node,u=this.positionInBuffer(s.node,s.remainder)}if(d===e.endLineNumber){var _=d===e.startLineNumber?e.startColumn-1:0;b=this.getLineContent(d).substring(_,e.endColumn-1);return o=this._findMatchesInLine(t,a,b,e.endLineNumber,_,o,i,n,r),i}var w=d===e.startLineNumber?e.startColumn:1;return o=this.findMatchesInNode(l.node,a,d,w,u,c,t,n,r,o,i),i},e.prototype._findMatchesInLine=function(e,t,n,r,i,o,a,s,l){var u,d=e.wordSeparators;if(!s&&e.simpleSearch){var f=e.simpleSearch,p=f.length,g=n.length,m=-p;while(-1!==(m=n.indexOf(f,m+p)))if((!d||Object(pe["e"])(d,n,g,m,p))&&(a[o++]=new h["b"](new c["a"](r,m+1+i,r,m+1+p+i),null),o>=l))return o;return o}t.reset(0);do{if(u=t.next(n),u&&(a[o++]=Object(pe["d"])(new c["a"](r,u.index+1+i,r,u.index+1+u[0].length+i),u,s),o>=l))return o}while(u);return o},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==ne){var r=this.nodeAt(e),i=r.node,o=r.remainder,a=r.nodeStartOffset,s=i.piece,l=s.bufferIndex,u=this.positionInBuffer(i,o);if(0===i.piece.bufferIndex&&s.end.line===this._lastChangeBufferPos.line&&s.end.column===this._lastChangeBufferPos.column&&a+s.length===e&&t.length<ge)return this.appendToNode(i,t),void this.computeBufferMetadata();if(a===e)this.insertContentToNodeLeft(t,i),this._searchCache.valdiate(e);else if(a+i.piece.length>e){var c=[],d=new _e(s.bufferIndex,u,s.end,this.getLineFeedCnt(s.bufferIndex,u,s.end),this.offsetInBuffer(l,s.end)-this.offsetInBuffer(l,u));if(this.shouldCheckCRLF()&&this.endWithCR(t)){var h=this.nodeCharCodeAt(i,o);if(10===h){var f={line:d.start.line+1,column:0};d=new _e(d.bufferIndex,f,d.end,this.getLineFeedCnt(d.bufferIndex,f,d.end),d.length-1),t+="\n"}}if(this.shouldCheckCRLF()&&this.startWithLF(t)){var p=this.nodeCharCodeAt(i,o-1);if(13===p){var g=this.positionInBuffer(i,o-1);this.deleteNodeTail(i,g),t="\r"+t,0===i.piece.length&&c.push(i)}else this.deleteNodeTail(i,u)}else this.deleteNodeTail(i,u);var m=this.createNewPieces(t);d.length>0&&this.rbInsertRight(i,d);for(var v=i,y=0;y<m.length;y++)v=this.rbInsertRight(v,m[y]);this.deleteNodes(c)}else this.insertContentToNodeRight(t,i)}else{var b=this.createNewPieces(t);for(i=this.rbInsertLeft(null,b[0]),y=1;y<b.length;y++)i=this.rbInsertRight(i,b[y])}this.computeBufferMetadata()},e.prototype.delete=function(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(t<=0||this.root===ne)){var n=this.nodeAt(e),r=this.nodeAt(e+t),i=n.node,o=r.node;if(i===o){var a=this.positionInBuffer(i,n.remainder),s=this.positionInBuffer(i,r.remainder);if(n.nodeStartOffset===e){if(t===i.piece.length){var l=i.next();return ce(this,i),this.validateCRLFWithPrevNode(l),void this.computeBufferMetadata()}return this.deleteNodeHead(i,s),this._searchCache.valdiate(e),this.validateCRLFWithPrevNode(i),void this.computeBufferMetadata()}return n.nodeStartOffset+i.piece.length===e+t?(this.deleteNodeTail(i,a),this.validateCRLFWithNextNode(i),void this.computeBufferMetadata()):(this.shrinkNode(i,a,s),void this.computeBufferMetadata())}var u=[],c=this.positionInBuffer(i,n.remainder);this.deleteNodeTail(i,c),this._searchCache.valdiate(e),0===i.piece.length&&u.push(i);var d=this.positionInBuffer(o,r.remainder);this.deleteNodeHead(o,d),0===o.piece.length&&u.push(o);for(var h=i.next(),f=h;f!==ne&&f!==o;f=f.next())u.push(f);var p=0===i.piece.length?i.prev():i;this.deleteNodes(u),this.validateCRLFWithNextNode(p),this.computeBufferMetadata()}},e.prototype.insertContentToNodeLeft=function(e,t){var n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){var r=t.piece,i={line:r.start.line+1,column:0},o=new _e(r.bufferIndex,i,r.end,this.getLineFeedCnt(r.bufferIndex,i,r.end),r.length-1);t.piece=o,e+="\n",he(this,t,-1,-1),0===t.piece.length&&n.push(t)}for(var a=this.createNewPieces(e),s=this.rbInsertLeft(t,a[a.length-1]),l=a.length-2;l>=0;l--)s=this.rbInsertLeft(s,a[l]);this.validateCRLFWithPrevNode(s),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),r=this.rbInsertRight(t,n[0]),i=r,o=1;o<n.length;o++)i=this.rbInsertRight(i,n[o]);this.validateCRLFWithPrevNode(r)},e.prototype.positionInBuffer=function(e,t,n){var r=e.piece,i=e.piece.bufferIndex,o=this._buffers[i].lineStarts,a=o[r.start.line]+r.start.column,s=a+t,l=r.start.line,u=r.end.line,c=0,d=0,h=0;while(l<=u){if(c=l+(u-l)/2|0,h=o[c],c===u)break;if(d=o[c+1],s<h)u=c-1;else{if(!(s>=d))break;l=c+1}}return n?(n.line=c,n.column=s-h,null):{line:c,column:s-h}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var r=this._buffers[e].lineStarts;if(n.line===r.length-1)return n.line-t.line;var i=r[n.line+1],o=r[n.line]+n.column;if(i>o+1)return n.line-t.line;var a=o-1,s=this._buffers[e].buffer;return 13===s.charCodeAt(a)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){var n=this._buffers[e].lineStarts;return n[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t<e.length;t++)ce(this,e[t])},e.prototype.createNewPieces=function(e){if(e.length>ge){var t=[];while(e.length>ge){var n=e.charCodeAt(ge-1),r=void 0;13===n||n>=55296&&n<=56319?(r=e.substring(0,ge-1),e=e.substring(ge-1)):(r=e.substring(0,ge),e=e.substring(ge));var i=ye(r);t.push(new _e(this._buffers.length,{line:0,column:0},{line:i.length-1,column:r.length-i[i.length-1]},i.length-1,r.length)),this._buffers.push(new we(r,i))}var o=ye(e);return t.push(new _e(this._buffers.length,{line:0,column:0},{line:o.length-1,column:e.length-o[o.length-1]},o.length-1,e.length)),this._buffers.push(new we(e,o)),t}var a=this._buffers[0].buffer.length,s=ye(e,!1),l=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===a&&0!==a&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},l=this._lastChangeBufferPos;for(var u=0;u<s.length;u++)s[u]+=a+1;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(s.slice(1)),this._buffers[0].buffer+="_"+e,a+=1}else{if(0!==a)for(u=0;u<s.length;u++)s[u]+=a;this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(s.slice(1)),this._buffers[0].buffer+=e}var c=this._buffers[0].buffer.length,d=this._buffers[0].lineStarts.length-1,h=c-this._buffers[0].lineStarts[d],f={line:d,column:h},p=new _e(0,l,f,this.getLineFeedCnt(0,l,f),c-a);return this._lastChangeBufferPos=f,[p]},e.prototype.getLineRawContent=function(e,t){void 0===t&&(t=0);var n=this.root,r="",i=this._searchCache.get2(e);if(i){n=i.node;var o=this.getAccumulatedValue(n,e-i.nodeStartLineNumber-1),a=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);if(i.nodeStartLineNumber+n.piece.lineFeedCnt!==e){var l=this.getAccumulatedValue(n,e-i.nodeStartLineNumber);return a.substring(s+o,s+l-t)}r=a.substring(s+o,s+n.piece.length)}else{var u=0,c=e;while(n!==ne)if(n.left!==ne&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){o=this.getAccumulatedValue(n,e-n.lf_left-2),l=this.getAccumulatedValue(n,e-n.lf_left-1),a=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return u+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:u,nodeStartLineNumber:c-(e-1-n.lf_left)}),a.substring(s+o,s+l-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){o=this.getAccumulatedValue(n,e-n.lf_left-2),a=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);r=a.substring(s+o,s+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,u+=n.size_left+n.piece.length,n=n.right}}n=n.next();while(n!==ne){a=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){l=this.getAccumulatedValue(n,0),s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return r+=a.substring(s,s+l-t),r}s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);r+=a.substr(s,n.piece.length),n=n.next()}return r},e.prototype.computeBufferMetadata=function(){var e=this.root,t=1,n=0;while(e!==ne)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,r=this.positionInBuffer(e,t),i=r.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var o=this.getLineFeedCnt(e.piece.bufferIndex,n.start,r);if(o!==i)return{index:o,remainder:0}}return{index:i,remainder:r.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,r=this._buffers[n.bufferIndex].lineStarts,i=n.start.line+t+1;return i>n.end.line?r[n.end.line]+n.end.column-r[n.start.line]-n.start.column:r[i]-r[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,r=n.lineFeedCnt,i=this.offsetInBuffer(n.bufferIndex,n.end),o=t,a=this.offsetInBuffer(n.bufferIndex,o),s=this.getLineFeedCnt(n.bufferIndex,n.start,o),l=s-r,u=a-i,c=n.length+u;e.piece=new _e(n.bufferIndex,n.start,o,s,c),he(this,e,u,l)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,r=n.lineFeedCnt,i=this.offsetInBuffer(n.bufferIndex,n.start),o=t,a=this.getLineFeedCnt(n.bufferIndex,o,n.end),s=this.offsetInBuffer(n.bufferIndex,o),l=a-r,u=i-s,c=n.length+u;e.piece=new _e(n.bufferIndex,o,n.end,a,c),he(this,e,u,l)},e.prototype.shrinkNode=function(e,t,n){var r=e.piece,i=r.start,o=r.end,a=r.length,s=r.lineFeedCnt,l=t,u=this.getLineFeedCnt(r.bufferIndex,r.start,l),c=this.offsetInBuffer(r.bufferIndex,t)-this.offsetInBuffer(r.bufferIndex,i);e.piece=new _e(r.bufferIndex,r.start,l,u,c),he(this,e,c-a,u-s);var d=new _e(r.bufferIndex,n,o,this.getLineFeedCnt(r.bufferIndex,n,o),this.offsetInBuffer(r.bufferIndex,o)-this.offsetInBuffer(r.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),r=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var i=ye(t,!1),o=0;o<i.length;o++)i[o]+=r;if(n){var a=this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-2];this._buffers[0].lineStarts.pop(),this._lastChangeBufferPos={line:this._lastChangeBufferPos.line-1,column:r-a}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(i.slice(1));var s=this._buffers[0].lineStarts.length-1,l=this._buffers[0].buffer.length-this._buffers[0].lineStarts[s],u={line:s,column:l},c=e.piece.length+t.length,d=e.piece.lineFeedCnt,h=this.getLineFeedCnt(0,e.piece.start,u),f=h-d;e.piece=new _e(e.piece.bufferIndex,e.piece.start,u,h,c),this._lastChangeBufferPos=u,he(this,e,t.length,f)},e.prototype.nodeAt=function(e){var t=this.root,n=this._searchCache.get(e);if(n)return{node:n.node,nodeStartOffset:n.nodeStartOffset,remainder:e-n.nodeStartOffset};var r=0;while(t!==ne)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){r+=t.size_left;var i={node:t,remainder:e-t.size_left,nodeStartOffset:r};return this._searchCache.set(i),i}e-=t.size_left+t.piece.length,r+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){var n=this.root,r=0;while(n!==ne)if(n.left!==ne&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var i=this.getAccumulatedValue(n,e-n.lf_left-2),o=this.getAccumulatedValue(n,e-n.lf_left-1);return r+=n.size_left,{node:n,remainder:Math.min(i+t-1,o),nodeStartOffset:r}}if(n.lf_left+n.piece.lineFeedCnt===e-1){i=this.getAccumulatedValue(n,e-n.lf_left-2);if(i+t-1<=n.piece.length)return{node:n,remainder:i+t-1,nodeStartOffset:r};t-=n.piece.length-i;break}e-=n.lf_left+n.piece.lineFeedCnt,r+=n.size_left+n.piece.length,n=n.right}n=n.next();while(n!==ne){if(n.piece.lineFeedCnt>0){o=this.getAccumulatedValue(n,0);var a=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,o),nodeStartOffset:a}}if(n.piece.length>=t-1){var s=this.offsetOfNode(n);return{node:n,remainder:t-1,nodeStartOffset:s}}t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],r=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(r)},e.prototype.offsetOfNode=function(e){if(!e)return 0;var t=e.size_left;while(e!==this.root)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"===typeof e)return 10===e.charCodeAt(0);if(e===ne||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,r=t.start.line,i=n[r]+t.start.column;if(r===n.length-1)return!1;var o=n[r+1];return!(o>i+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(i)},e.prototype.endWithCR=function(e){return"string"===typeof e?13===e.charCodeAt(e.length-1):e!==ne&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,r=[],i=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:i[e.piece.end.line]-i[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var o=e.piece.length-1,a=e.piece.lineFeedCnt-1;e.piece=new _e(e.piece.bufferIndex,e.piece.start,n,a,o),he(this,e,-1,-1),0===e.piece.length&&r.push(e);var s={line:t.piece.start.line+1,column:0},l=t.piece.length-1,u=this.getLineFeedCnt(t.piece.bufferIndex,s,t.piece.end);t.piece=new _e(t.piece.bufferIndex,s,t.piece.end,u,l),he(this,t,-1,-1),0===t.piece.length&&r.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d<r.length;d++)ce(this,r[d])},e.prototype.adjustCarriageReturnFromNext=function(e,t){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var n=t.next();if(this.startWithLF(n)){if(e+="\n",1===n.piece.length)ce(this,n);else{var r=n.piece,i={line:r.start.line+1,column:0},o=r.length-1,a=this.getLineFeedCnt(r.bufferIndex,i,r.end);n.piece=new _e(r.bufferIndex,i,r.end,a,o),he(this,n,-1,-1)}return!0}}return!1},e.prototype.iterate=function(e,t){if(e===ne)return t(ne);var n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n},e.prototype.getNodeContent=function(e){if(e===ne)return"";var t,n=this._buffers[e.piece.bufferIndex],r=e.piece,i=this.offsetInBuffer(r.bufferIndex,r.start),o=this.offsetInBuffer(r.bufferIndex,r.end);return t=n.buffer.substring(i,o),t},e.prototype.rbInsertRight=function(e,t){var n=new te(t,1);n.left=ne,n.right=ne,n.parent=ne,n.size_left=0,n.lf_left=0;var r=this.root;if(r===ne)this.root=n,n.color=0;else if(e.right===ne)e.right=n,n.parent=e;else{var i=re(e.right);i.left=n,n.parent=i}return de(this,n),n},e.prototype.rbInsertLeft=function(e,t){var n=new te(t,1);if(n.left=ne,n.right=ne,n.parent=ne,n.size_left=0,n.lf_left=0,this.root===ne)this.root=n,n.color=0;else if(e.left===ne)e.left=n,n.parent=e;else{var r=ie(e.left);r.right=n,n.parent=r}return de(this,n),n},e}(),Se=function(){function e(e,t,n,r,i,o){this._BOM=t,this._mightContainNonBasicASCII=!i,this._mightContainRTL=r,this._pieceTree=new Ce(e,n,o)}return e.prototype.mightContainRTL=function(){return this._mightContainRTL},e.prototype.mightContainNonBasicASCII=function(){return this._mightContainNonBasicASCII},e.prototype.getBOM=function(){return this._BOM},e.prototype.getEOL=function(){return this._pieceTree.getEOL()},e.prototype.getOffsetAt=function(e,t){return this._pieceTree.getOffsetAt(e,t)},e.prototype.getPositionAt=function(e){return this._pieceTree.getPositionAt(e)},e.prototype.getRangeAt=function(e,t){var n=e+t,r=this.getPositionAt(e),i=this.getPositionAt(n);return new c["a"](r.lineNumber,r.column,i.lineNumber,i.column)},e.prototype.getValueInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return"";var n=this._getEndOfLine(t);return this._pieceTree.getValueInRange(e,n)},e.prototype.getValueLengthInRange=function(e,t){if(void 0===t&&(t=0),e.isEmpty())return 0;if(e.startLineNumber===e.endLineNumber)return e.endColumn-e.startColumn;var n=this.getOffsetAt(e.startLineNumber,e.startColumn),r=this.getOffsetAt(e.endLineNumber,e.endColumn);return r-n},e.prototype.getCharacterCountInRange=function(e,t){if(void 0===t&&(t=0),this._mightContainNonBasicASCII){for(var n=0,r=e.startLineNumber,i=e.endLineNumber,o=r;o<=i;o++)for(var s=this.getLineContent(o),l=o===r?e.startColumn-1:0,u=o===i?e.endColumn-1:s.length,c=l;c<u;c++)a["z"](s.charCodeAt(c))?(n+=1,c+=1):n+=1;return n+=this._getEndOfLine(t).length*(i-r),n}return this.getValueLengthInRange(e,t)},e.prototype.getLength=function(){return this._pieceTree.getLength()},e.prototype.getLineCount=function(){return this._pieceTree.getLineCount()},e.prototype.getLinesContent=function(){return this._pieceTree.getLinesContent()},e.prototype.getLineContent=function(e){return this._pieceTree.getLineContent(e)},e.prototype.getLineCharCode=function(e,t){return this._pieceTree.getLineCharCode(e,t)},e.prototype.getLineLength=function(e){return this._pieceTree.getLineLength(e)},e.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=a["q"](this.getLineContent(e));return-1===t?0:t+1},e.prototype.getLineLastNonWhitespaceColumn=function(e){var t=a["D"](this.getLineContent(e));return-1===t?0:t+2},e.prototype._getEndOfLine=function(e){switch(e){case 1:return"\n";case 2:return"\r\n";case 0:return this.getEOL()}throw new Error("Unknown EOL preference")},e.prototype.setEOL=function(e){this._pieceTree.setEOL(e)},e.prototype.applyEdits=function(t,n){for(var r=this._mightContainRTL,i=this._mightContainNonBasicASCII,o=!0,s=[],l=0;l<t.length;l++){var u=t[l];o&&u._isTracked&&(o=!1);var c=u.range;!r&&u.text&&(r=a["i"](u.text)),!i&&u.text&&(i=!a["v"](u.text)),s[l]={sortIndex:l,identifier:u.identifier||null,range:c,rangeOffset:this.getOffsetAt(c.startLineNumber,c.startColumn),rangeLength:this.getValueLengthInRange(c),lines:u.text?u.text.split(/\r\n|\r|\n/):null,forceMoveMarkers:Boolean(u.forceMoveMarkers),isAutoWhitespaceEdit:u.isAutoWhitespaceEdit||!1}}s.sort(e._sortOpsAscending);for(var d=!1,f=(l=0,s.length-1);l<f;l++){var p=s[l].range.getEndPosition(),g=s[l+1].range.getStartPosition();if(g.isBeforeOrEqual(p)){if(g.isBefore(p))throw new Error("Overlapping ranges are not allowed!");d=!0}}o&&(s=this._reduceOperations(s));var m=e._getInverseEditRanges(s),v=[];for(l=0;l<s.length;l++){u=s[l];var y=m[l];if(n&&u.isAutoWhitespaceEdit&&u.range.isEmpty())for(var b=y.startLineNumber;b<=y.endLineNumber;b++){var _="";b===y.startLineNumber&&(_=this.getLineContent(u.range.startLineNumber),-1!==a["q"](_))||v.push({lineNumber:b,oldContent:_})}}var w=[];for(l=0;l<s.length;l++){u=s[l],y=m[l];w[l]={sortIndex:u.sortIndex,identifier:u.identifier,range:y,text:this.getValueInRange(u.range),forceMoveMarkers:u.forceMoveMarkers}}d||w.sort((function(e,t){return e.sortIndex-t.sortIndex})),this._mightContainRTL=r,this._mightContainNonBasicASCII=i;var x=this._doApplyEdits(s),C=null;if(n&&v.length>0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),C=[];l=0;for(var S=v.length;l<S;l++){b=v[l].lineNumber;if(!(l>0&&v[l-1].lineNumber===b)){var O=v[l].oldContent,k=this.getLineContent(b);0!==k.length&&k!==O&&-1===a["q"](k)&&C.push(b)}}}return new h["a"](w,x,C)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,r=e[e.length-1].range,i=new c["a"](n.startLineNumber,n.startColumn,r.endLineNumber,r.endColumn),o=n.startLineNumber,a=n.startColumn,s=[],l=0,u=e.length;l<u;l++){var d=e[l],h=d.range;t=t||d.forceMoveMarkers;for(var f=o;f<h.startLineNumber;f++)f===o?s.push(this.getLineContent(f).substring(a-1)):(s.push("\n"),s.push(this.getLineContent(f)));if(h.startLineNumber===o?s.push(this.getLineContent(h.startLineNumber).substring(a-1,h.startColumn-1)):(s.push("\n"),s.push(this.getLineContent(h.startLineNumber).substring(0,h.startColumn-1))),d.lines)for(var p=0,g=d.lines.length;p<g;p++)0!==p&&s.push("\n"),s.push(d.lines[p]);o=d.range.endLineNumber,a=d.range.endColumn}return{sortIndex:0,identifier:e[0].identifier,range:i,rangeOffset:this.getOffsetAt(i.startLineNumber,i.startColumn),rangeLength:this.getValueLengthInRange(i,0),lines:s.join("").split("\n"),forceMoveMarkers:t,isAutoWhitespaceEdit:!1}},e.prototype._doApplyEdits=function(t){t.sort(e._sortOpsDescending);for(var n=[],r=0;r<t.length;r++){var i=t[r],o=i.range.startLineNumber,a=i.range.startColumn,s=i.range.endLineNumber,l=i.range.endColumn;if(o!==s||a!==l||i.lines&&0!==i.lines.length){var u=s-o,d=i.lines?i.lines.length-1:0,h=Math.min(u,d),f=i.lines?i.lines.join(this.getEOL()):"";if(f?(this._pieceTree.delete(i.rangeOffset,i.rangeLength),this._pieceTree.insert(i.rangeOffset,f,!0)):this._pieceTree.delete(i.rangeOffset,i.rangeLength),h<d){for(var p=[],g=h+1;g<=d;g++)p.push(i.lines[g]);p[p.length-1]=this.getLineContent(o+d-1)}var m=new c["a"](o,a,s,l);n.push({range:m,rangeLength:i.rangeLength,text:f,rangeOffset:i.rangeOffset,forceMoveMarkers:i.forceMoveMarkers})}}return n},e.prototype.findMatchesLineByLine=function(e,t,n,r){return this._pieceTree.findMatchesLineByLine(e,t,n,r)},e._getInverseEditRanges=function(e){for(var t=[],n=0,r=0,i=null,o=0,a=e.length;o<a;o++){var s=e[o],l=void 0,u=void 0;i?i.range.endLineNumber===s.range.startLineNumber?(l=n,u=r+(s.range.startColumn-i.range.endColumn)):(l=n+(s.range.startLineNumber-i.range.endLineNumber),u=s.range.startColumn):(l=s.range.startLineNumber,u=s.range.startColumn);var d=void 0;if(s.lines&&s.lines.length>0){var h=s.lines.length,f=s.lines[0],p=s.lines[h-1];d=1===h?new c["a"](l,u,l,u+f.length):new c["a"](l,u,l+h-1,p.length+1)}else d=new c["a"](l,u,l,u);n=d.endLineNumber,r=d.endColumn,t.push(d),i=s}return t},e._sortOpsAscending=function(e,t){var n=c["a"].compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c["a"].compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),Oe=function(){function e(e,t,n,r,i,o,a,s){this._chunks=e,this._bom=t,this._cr=n,this._lf=r,this._crlf=i,this._containsRTL=o,this._isBasicASCII=a,this._normalizeEOL=s}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var r=0,i=n.length;r<i;r++){var o=n[r].buffer.replace(/\r\n|\r|\n/g,t),a=ye(o);n[r]=new we(o,a)}return new Se(n,this._bom,t,this._containsRTL,this._isBasicASCII,this._normalizeEOL)},e}(),ke=function(){function e(){this.chunks=[],this.BOM="",this._hasPreviousChar=!1,this._previousChar=0,this._tmpLineStarts=[],this.cr=0,this.lf=0,this.crlf=0,this.containsRTL=!1,this.isBasicASCII=!0}return e.prototype.acceptChunk=function(e){if(0!==e.length){0===this.chunks.length&&a["O"](e)&&(this.BOM=a["a"],e=e.substr(1));var t=e.charCodeAt(e.length-1);13===t||t>=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=be(this._tmpLineStarts,e);this.chunks.push(new we(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=a["i"](e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new Oe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=ye(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),Ee=function(){function e(){this.changeType=1}return e}(),De=function(){function e(e,t){this.changeType=2,this.lineNumber=e,this.detail=t}return e}(),Me=function(){function e(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t}return e}(),Ne=function(){function e(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n}return e}(),Le=function(){function e(){this.changeType=5}return e}(),Ie=function(){function e(e,t,n,r){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=r}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t<n;t++){var r=this.changes[t];if(r.changeType===e)return!0}return!1},e.merge=function(t,n){var r=[].concat(t.changes).concat(n.changes),i=n.versionId,o=t.isUndoing||n.isUndoing,a=t.isRedoing||n.isRedoing;return new e(r,i,o,a)},e}(),Te=function(){function e(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}return e.prototype.merge=function(t){var n=Ie.merge(this.rawContentChangedEvent,t.rawContentChangedEvent),r=e._mergeChangeEvents(this.contentChangedEvent,t.contentChangedEvent);return new e(n,r)},e._mergeChangeEvents=function(e,t){var n=[].concat(e.changes).concat(t.changes),r=t.eol,i=t.versionId,o=e.isUndoing||t.isUndoing,a=e.isRedoing||t.isRedoing,s=e.isFlush||t.isFlush;return{changes:n,eol:r,versionId:i,isUndoing:o,isRedoing:a,isFlush:s}},e}(),Pe=n("6OMU"),Ae=n("4bUh"),Re=n("twdY"),je=n("i/Ef"),Fe=n("5Y4S"),Be=n("QRHv"),Ve=n("MNsG"),ze=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),We=function(){function e(){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0}return e.prototype._reset=function(e){this._beginState=[],this._valid=[],this._len=0,this._invalidLineStartIndex=0,e&&this._setBeginState(0,e)},e.prototype.flush=function(e){this._reset(e)},Object.defineProperty(e.prototype,"invalidLineStartIndex",{get:function(){return this._invalidLineStartIndex},enumerable:!0,configurable:!0}),e.prototype._invalidateLine=function(e){e<this._len&&(this._valid[e]=!1),e<this._invalidLineStartIndex&&(this._invalidLineStartIndex=e)},e.prototype._isValid=function(e){return e<this._len&&this._valid[e]},e.prototype.getBeginState=function(e){return e<this._len?this._beginState[e]:null},e.prototype._ensureLine=function(e){while(e>=this._len)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],r=[],i=0;i<t;i++)n[i]=null,r[i]=!1;this._beginState=Pe["a"](this._beginState,e,n),this._valid=Pe["a"](this._valid,e,r),this._len+=t}},e.prototype._setValid=function(e,t){this._ensureLine(e),this._valid[e]=t},e.prototype._setBeginState=function(e,t){this._ensureLine(e),this._beginState[e]=t},e.prototype.setEndState=function(e,t,n){if(this._setValid(t,!0),this._invalidLineStartIndex=t+1,t!==e-1){var r=this.getBeginState(t+1);if(null===r||!n.equals(r))return this._setBeginState(t+1,n),void this._invalidateLine(t+1);var i=t+1;while(i<e){if(!this._isValid(i))break;i++}this._invalidLineStartIndex=i}},e.prototype.setFakeTokens=function(e){this._setValid(e,!1)},e.prototype.applyEdits=function(e,t){for(var n=e.endLineNumber-e.startLineNumber,r=t,i=Math.min(n,r),o=i;o>=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new u["a"](e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){var t=e.startLineNumber-1;t>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){var n=e.lineNumber-1;n>=this._len||this._insertLines(e.lineNumber,t)},e}(),He=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new We,n._tokenizationSupport=null,n._register(Re["y"].onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,r=e.changes.length;t<r;t++){var i=e.changes[t],o=Object(Be["f"])(i.text)[0];n._tokenizationStateStore.applyEdits(i.range,o)}n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeAttached((function(){n._beginBackgroundTokenization()}))),n._register(n._textModel.onDidChangeLanguage((function(){n._resetTokenizationState(),n._textModel.clearTokens()}))),n._resetTokenizationState(),n}return ze(t,e),t.prototype.dispose=function(){this._isDisposed=!0,e.prototype.dispose.call(this)},t.prototype._resetTokenizationState=function(){var e=Ue(this._textModel),t=e[0],n=e[1];this._tokenizationSupport=t,this._tokenizationStateStore.flush(n),this._beginBackgroundTokenization()},t.prototype._beginBackgroundTokenization=function(){var e=this;this._textModel.isAttachedToEditor()&&this._hasLinesToTokenize()&&Ve["i"]((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());var t=1,n=new Be["b"],r=Fe["a"].create(!1);while(this._hasLinesToTokenize()){if(r.elapsed()>t)break;var i=this._tokenizeOneInvalidLine(n);if(i>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(n.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new Be["b"];this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new Be["b"];this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e<t||this._textModel.getLineLength(e)<2048)},t.prototype._hasLinesToTokenize=function(){return!!this._tokenizationSupport&&this._tokenizationStateStore.invalidLineStartIndex<this._textModel.getLineCount()},t.prototype._tokenizeOneInvalidLine=function(e){if(!this._hasLinesToTokenize())return this._textModel.getLineCount()+1;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t),t},t.prototype._updateTokensUntilLine=function(e,t){if(this._tokenizationSupport)for(var n=this._textModel.getLanguageIdentifier(),r=this._textModel.getLineCount(),i=t-1,o=this._tokenizationStateStore.invalidLineStartIndex;o<=i;o++){var a=this._textModel.getLineContent(o+1),s=this._tokenizationStateStore.getBeginState(o),l=Ke(n,this._tokenizationSupport,a,s);e.add(o+1,l.tokens),this._tokenizationStateStore.setEndState(r,o,l.endState),o=this._tokenizationStateStore.invalidLineStartIndex-1}},t.prototype._tokenizeViewport=function(e,t,n){if(this._tokenizationSupport&&!(n<=this._tokenizationStateStore.invalidLineStartIndex))if(t<=this._tokenizationStateStore.invalidLineStartIndex)this._updateTokensUntilLine(e,n);else{for(var r=this._textModel.getLineFirstNonWhitespaceColumn(t),i=[],o=null,a=t-1;r>0&&a>=1;a--){var s=this._textModel.getLineFirstNonWhitespaceColumn(a);if(0!==s&&s<r){if(o=this._tokenizationStateStore.getBeginState(a-1),o)break;i.push(this._textModel.getLineContent(a)),r=s}}o||(o=this._tokenizationSupport.getInitialState());var l=this._textModel.getLanguageIdentifier(),u=o;for(a=i.length-1;a>=0;a--){var c=Ke(l,this._tokenizationSupport,i[a],u);u=c.endState}for(var d=t;d<=n;d++){var h=this._textModel.getLineContent(d);c=Ke(l,this._tokenizationSupport,h,u);e.add(d,c.tokens),this._tokenizationStateStore.setFakeTokens(d-1),u=c.endState}}},t}(o["a"]);function Ue(e){var t=e.getLanguageIdentifier(),n=e.isTooLargeForTokenization()?null:Re["y"].get(t.language),i=null;if(n)try{i=n.getInitialState()}catch(o){Object(r["e"])(o),n=null}return[n,i]}function Ke(e,t,n,i){var o=null;if(t)try{o=t.tokenize2(n,i.clone(),0)}catch(a){Object(r["e"])(a)}return o||(o=Object(je["e"])(e.id,n,i,0)),Ae["a"].convertToEndOffset(o.tokens,n.length),o}var Ge=n("0JNc"),qe=n("cMvZ"),Ye=n("BFtn"),Xe=n("EIAu"),Ze=n("746U"),Qe=n("zrhQ"),$e=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function Je(){return new ke}function et(e){var t=Je();return t.acceptChunk(e),t.finish()}function tt(e,t){var n="string"===typeof e?et(e):e;return n.create(t)}var nt=0,rt=999,it=1e4,ot=function(){throw new Error("Invalid change accessor")},at=function(e){function t(n,r,o,l){void 0===l&&(l=null);var u=e.call(this)||this;u._onWillDispose=u._register(new i["a"]),u.onWillDispose=u._onWillDispose.event,u._onDidChangeDecorations=u._register(new gt),u.onDidChangeDecorations=u._onDidChangeDecorations.event,u._onDidChangeLanguage=u._register(new i["a"]),u.onDidChangeLanguage=u._onDidChangeLanguage.event,u._onDidChangeLanguageConfiguration=u._register(new i["a"]),u.onDidChangeLanguageConfiguration=u._onDidChangeLanguageConfiguration.event,u._onDidChangeTokens=u._register(new i["a"]),u.onDidChangeTokens=u._onDidChangeTokens.event,u._onDidChangeOptions=u._register(new i["a"]),u.onDidChangeOptions=u._onDidChangeOptions.event,u._onDidChangeAttached=u._register(new i["a"]),u.onDidChangeAttached=u._onDidChangeAttached.event,u._eventEmitter=u._register(new mt),nt++,u.id="$model"+nt,u.isForSimpleWidget=r.isForSimpleWidget,u._associatedResource="undefined"===typeof l||null===l?s["a"].parse("inmemory://model/"+nt):l,u._attachedEditorCount=0,u._buffer=tt(n,r.defaultEOL),u._options=t.resolveOptions(u._buffer,r);var d=u._buffer.getLineCount(),h=u._buffer.getValueLengthInRange(new c["a"](1,1,d,u._buffer.getLineLength(d)+1),0);return r.largeFileOptimizations?u._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:u._isTooLargeForTokenization=!1,u._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,u._versionId=1,u._alternativeVersionId=1,u._isDisposed=!1,u._isDisposing=!1,u._languageIdentifier=o||je["a"],u._languageRegistryListener=qe["a"].onDidChange((function(e){e.languageIdentifier.id===u._languageIdentifier.id&&u._onDidChangeLanguageConfiguration.fire({})})),u._instanceId=a["L"](nt),u._lastDecorationId=0,u._decorations=Object.create(null),u._decorationsTree=new st,u._commandManager=new m(u),u._isUndoing=!1,u._isRedoing=!1,u._trimAutoWhitespaceLines=null,u._tokens=new Be["d"],u._tokens2=new Be["e"],u._tokenization=new He(u),u}return $e(t,e),t.createFromString=function(e,n,r,i){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===r&&(r=null),void 0===i&&(i=null),new t(e,n,r,i)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=b(e,t.tabSize,t.insertSpaces);return new h["e"]({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h["e"]({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Te(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=tt(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,r,i,o,a){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:r}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:i,isRedoing:o,isFlush:a}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),r=this.getLineCount(),i=this.getLineMaxColumn(r);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new st,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new Ie([new Ee],this._versionId,!1,!1),this._createContentChanged2(new c["a"](1,1,r,i),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),r=this.getValueLengthInRange(n),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new Ie([new Le],this._versionId,!1,!1),this._createContentChanged2(new c["a"](1,1,i,o),0,r,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,r=t.length;n<r;n++){var i=t[n],o=i.cachedAbsoluteStart-i.start,a=this._buffer.getOffsetAt(i.range.startLineNumber,i.range.startColumn),s=this._buffer.getOffsetAt(i.range.endLineNumber,i.range.endColumn);i.cachedAbsoluteStart=a,i.cachedAbsoluteEnd=s,i.cachedVersionId=e,i.start=a-o,i.end=s-o,$(i)}},t.prototype.onBeforeAttached=function(){this._attachedEditorCount++,1===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.onBeforeDetached=function(){this._attachedEditorCount--,0===this._attachedEditorCount&&this._onDidChangeAttached.fire(void 0)},t.prototype.isAttachedToEditor=function(){return this._attachedEditorCount>0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),r=1;r<=n;r++){var i=this._buffer.getLineLength(r);i>=it?t+=i:e+=i}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t="undefined"!==typeof e.tabSize?e.tabSize:this._options.tabSize,n="undefined"!==typeof e.indentSize?e.indentSize:this._options.indentSize,r="undefined"!==typeof e.insertSpaces?e.insertSpaces:this._options.insertSpaces,i="undefined"!==typeof e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,o=new h["e"]({tabSize:t,indentSize:n,insertSpaces:r,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:i});if(!this._options.equals(o)){var a=this._options.createChangeEvent(o);this._options=o,this._onDidChangeOptions.fire(a)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=b(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var r=0,i=0;i<e.length;i++)"\t"===e.charAt(i)?r+=t:r++;var o="";if(!n){var a=Math.floor(r/t);r%=t;for(i=0;i<a;i++)o+="\t"}for(i=0;i<r;i++)o+=" ";return o},t.normalizeIndentation=function(e,n,r){var i=a["q"](e);return-1===i&&(i=e.length),t._normalizeIndentationFromWhitespace(e.substring(0,i),n,r)+e.substring(i)},t.prototype.normalizeIndentation=function(e){return this._assertNotDisposed(),t.normalizeIndentation(e,this._options.indentSize,this._options.insertSpaces)},t.prototype.getVersionId=function(){return this._assertNotDisposed(),this._versionId},t.prototype.mightContainRTL=function(){return this._buffer.mightContainRTL()},t.prototype.mightContainNonBasicASCII=function(){return this._buffer.mightContainNonBasicASCII()},t.prototype.getAlternativeVersionId=function(){return this._assertNotDisposed(),this._alternativeVersionId},t.prototype.getOffsetAt=function(e){this._assertNotDisposed();var t=this._validatePosition(e.lineNumber,e.column,0);return this._buffer.getOffsetAt(t.lineNumber,t.column)},t.prototype.getPositionAt=function(e){this._assertNotDisposed();var t=Math.min(this._buffer.getLength(),Math.max(0,e));return this._buffer.getPositionAt(t)},t.prototype._increaseVersionId=function(){this._versionId=this._versionId+1,this._alternativeVersionId=this._versionId},t.prototype._overwriteAlternativeVersionId=function(e){this._alternativeVersionId=e},t.prototype.getValue=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),r=this.getValueInRange(n,e);return t?this._buffer.getBOM()+r:r},t.prototype.getValueLength=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),r=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+r:r},t.prototype.getValueInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueInRange(this.validateRange(e),t)},t.prototype.getValueLengthInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getValueLengthInRange(this.validateRange(e),t)},t.prototype.getCharacterCountInRange=function(e,t){return void 0===t&&(t=0),this._assertNotDisposed(),this._buffer.getCharacterCountInRange(this.validateRange(e),t)},t.prototype.getLineCount=function(){return this._assertNotDisposed(),this._buffer.getLineCount()},t.prototype.getLineContent=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,r=this._buffer.getLineCount(),i=e.startLineNumber,o=e.startColumn;if(i<1)t=1,n=1;else if(i>r)t=r,n=this.getLineMaxColumn(t);else if(t=0|i,o<=1)n=1;else{var a=this.getLineMaxColumn(t);n=o>=a?a:0|o}var s,l,u=e.endLineNumber,h=e.endColumn;if(u<1)s=1,l=1;else if(u>r)s=r,l=this.getLineMaxColumn(s);else if(s=0|u,h<=1)l=1;else{a=this.getLineMaxColumn(s);l=h>=a?a:0|h}return i===t&&o===n&&u===s&&h===l&&e instanceof c["a"]&&!(e instanceof d["a"])?e:new c["a"](t,n,s,l)},t.prototype._isValidPosition=function(e,t,n){if("number"!==typeof e||"number"!==typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;var r=this._buffer.getLineCount();if(e>r)return!1;if(1===t)return!0;var i=this.getLineMaxColumn(e);if(t>i)return!1;if(1===n){var o=this._buffer.getLineCharCode(e,t-2);if(a["z"](o))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var r=Math.floor("number"!==typeof e||isNaN(e)?1:e),i=Math.floor("number"!==typeof t||isNaN(t)?1:t),o=this._buffer.getLineCount();if(r<1)return new u["a"](1,1);if(r>o)return new u["a"](o,this.getLineMaxColumn(o));if(i<=1)return new u["a"](r,1);var s=this.getLineMaxColumn(r);if(i>=s)return new u["a"](r,s);if(1===n){var l=this._buffer.getLineCharCode(r,i-2);if(a["z"](l))return new u["a"](r,i-1)}return new u["a"](r,i)},t.prototype.validatePosition=function(e){var t=1;return this._assertNotDisposed(),e instanceof u["a"]&&this._isValidPosition(e.lineNumber,e.column,t)?e:this._validatePosition(e.lineNumber,e.column,t)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,o=e.endColumn;if(!this._isValidPosition(n,r,0))return!1;if(!this._isValidPosition(i,o,0))return!1;if(1===t){var s=r>1?this._buffer.getLineCharCode(n,r-2):0,l=o>1&&o<=this._buffer.getLineLength(i)?this._buffer.getLineCharCode(i,o-2):0,u=a["z"](s),c=a["z"](l);return!u&&!c}return!0},t.prototype.validateRange=function(e){var t=1;if(this._assertNotDisposed(),e instanceof c["a"]&&!(e instanceof d["a"])&&this._isValidRange(e,t))return e;var n=this._validatePosition(e.startLineNumber,e.startColumn,0),r=this._validatePosition(e.endLineNumber,e.endColumn,0),i=n.lineNumber,o=n.column,s=r.lineNumber,l=r.column;if(1===t){var u=o>1?this._buffer.getLineCharCode(i,o-2):0,h=l>1&&l<=this._buffer.getLineLength(s)?this._buffer.getLineCharCode(s,l-2):0,f=a["z"](u),p=a["z"](h);return f||p?i===s&&o===l?new c["a"](i,o-1,s,l-1):f&&p?new c["a"](i,o-1,s,l+1):f?new c["a"](i,o-1,s,l):new c["a"](i,o,s,l+1):new c["a"](i,o,s,l)}return new c["a"](i,o,s,l)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c["a"](1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,r){return this._buffer.findMatchesLineByLine(e,t,n,r)},t.prototype.findMatches=function(e,t,n,r,i,o,a){var s;if(void 0===a&&(a=rt),this._assertNotDisposed(),s=c["a"].isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var l=new pe["a"](e,n,r,i),u=l.parseSearchRequest();return u?this.findMatchesLineByLine(s,u,o,a):[]}return pe["c"].findMatches(this,new pe["a"](e,n,r,i),s,o,a)},t.prototype.findNextMatch=function(e,t,n,r,i,o){this._assertNotDisposed();var a=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var s=new pe["a"](e,n,r,i),l=s.parseSearchRequest();if(!l)return null;var u=this.getLineCount(),d=new c["a"](a.lineNumber,a.column,u,this.getLineMaxColumn(u)),h=this.findMatchesLineByLine(d,l,o,1);return pe["c"].findNextMatch(this,new pe["a"](e,n,r,i),a,o),h.length>0?h[0]:(d=new c["a"](1,1,a.lineNumber,this.getLineMaxColumn(a.lineNumber)),h=this.findMatchesLineByLine(d,l,o,1),h.length>0?h[0]:null)}return pe["c"].findNextMatch(this,new pe["a"](e,n,r,i),a,o)},t.prototype.findPreviousMatch=function(e,t,n,r,i,o){this._assertNotDisposed();var a=this.validatePosition(t);return pe["c"].findPreviousMatch(this,new pe["a"](e,n,r,i),a,o)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){var t="\n"===this.getEOL()?0:1;if(t!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var r=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var i=t.map((function(e){return{range:r.validateRange(e.range),text:e.text}})),o=!0,a=0,s=e.length;a<s;a++){for(var l=e[a],u=!1,d=0,h=i.length;d<h;d++){var f=i[d].range,p=f.startLineNumber>l.endLineNumber,g=l.startLineNumber>f.endLineNumber;if(!p&&!g){u=!0;break}}if(!u){o=!1;break}}if(o)for(a=0,s=this._trimAutoWhitespaceLines.length;a<s;a++){var m=this._trimAutoWhitespaceLines[a],v=this.getLineMaxColumn(m),y=!0;for(d=0,h=i.length;d<h;d++){f=i[d].range;var b=i[d].text;if(!(m<f.startLineNumber||m>f.endLineNumber)&&(!(m===f.startLineNumber&&f.startColumn===v&&f.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(0))&&!(m===f.startLineNumber&&1===f.startColumn&&f.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(b.length-1)))){y=!1;break}}y&&t.push({range:new c["a"](m,1,m,v),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t<n;t++)e[t].range=this.validateRange(e[t].range);var r=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace),o=this._buffer.getLineCount(),a=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,0!==a.length){var s=[],l=r;for(t=0,n=a.length;t<n;t++){var u=a[t],c=Object(Be["f"])(u.text),d=c[0],h=c[1],f=c[2];this._tokens.acceptEdit(u.range,d,h),this._tokens2.acceptEdit(u.range,d,h,f,u.text.length>0?u.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(u.rangeOffset,u.rangeLength,u.text.length,u.forceMoveMarkers);for(var p=u.range.startLineNumber,g=u.range.endLineNumber,m=g-p,v=d,y=Math.min(m,v),b=v-m,_=y;_>=0;_--){var w=p+_,x=o-l-b+w;s.push(new De(w,this.getLineContent(x)))}if(y<m){var C=p+y;s.push(new Me(C+1,g))}if(y<v){for(var S=p+y,O=v-y,k=o-l-O+S+1,E=[],D=0;D<O;D++){var M=k+D;E[M-k]=this.getLineContent(M)}s.push(new Ne(S+1,p+v,E))}l+=b}this._increaseVersionId(),this._emitContentChangedEvent(new Ie(s,this.getVersionId(),this._isUndoing,this._isRedoing),{changes:a,eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:this._isUndoing,isRedoing:this._isRedoing,isFlush:!1})}return i.reverseEdits},t.prototype._undo=function(){this._isUndoing=!0;var e=this._commandManager.undo();return this._isUndoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.undo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._undo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canUndo=function(){return this._commandManager.canUndo()},t.prototype._redo=function(){this._isRedoing=!0;var e=this._commandManager.redo();return this._isRedoing=!1,e?(this._overwriteAlternativeVersionId(e.recordedVersionId),e.selections):null},t.prototype.redo=function(){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._redo()}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.canRedo=function(){return this._commandManager.canRedo()},t.prototype.changeDecorations=function(e,t){void 0===t&&(t=0),this._assertNotDisposed();try{return this._onDidChangeDecorations.beginDeferredEmit(),this._changeDecorations(t,e)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._changeDecorations=function(e,t){var n=this,i={addDecoration:function(t,r){return n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[],[{range:t,options:r}])[0]},changeDecoration:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationImpl(e,t)},changeDecorationOptions:function(e,t){n._onDidChangeDecorations.fire(),n._changeDecorationOptionsImpl(e,pt(t))},removeDecoration:function(t){n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,[t],[])},deltaDecorations:function(t,r){return 0===t.length&&0===r.length?[]:(n._onDidChangeDecorations.fire(),n._deltaDecorationsImpl(e,t,r))}},o=null;try{o=t(i)}catch(a){Object(r["e"])(a)}return i.addDecoration=ot,i.changeDecoration=ot,i.changeDecorationOptions=ot,i.removeDecoration=ot,i.deltaDecorations=ot,o},t.prototype.deltaDecorations=function(e,t,n){if(void 0===n&&(n=0),this._assertNotDisposed(),e||(e=[]),0===e.length&&0===t.length)return[];try{return this._onDidChangeDecorations.beginDeferredEmit(),this._onDidChangeDecorations.fire(),this._deltaDecorationsImpl(n,e,t)}finally{this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._getTrackedRange=function(e){return this.getDecorationRange(e)},t.prototype._setTrackedRange=function(e,t,n){var r=e?this._decorations[e]:null;if(!r)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:ft[n]}])[0]:null;if(!t)return this._decorationsTree.delete(r),delete this._decorations[r.id],null;var i=this._validateRangeRelaxedNoAllocations(t),o=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),a=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);return this._decorationsTree.delete(r),r.reset(this.getVersionId(),o,a,i),r.setOptions(ft[n]),this._decorationsTree.insert(r),r.id},t.prototype.removeAllDecorationsWithOwnerId=function(e){if(!this._isDisposed)for(var t=this._decorationsTree.collectNodesFromOwner(e),n=0,r=t.length;n<r;n++){var i=t[n];this._decorationsTree.delete(i),delete this._decorations[i.id]}},t.prototype.getDecorationOptions=function(e){var t=this._decorations[e];return t?t.options:null},t.prototype.getDecorationRange=function(e){var t=this._decorations[e];if(!t)return null;var n=this.getVersionId();return t.cachedVersionId!==n&&this._decorationsTree.resolveNode(t,n),null===t.range&&(t.range=this._getRangeAt(t.cachedAbsoluteStart,t.cachedAbsoluteEnd)),t.range},t.prototype.getLineDecorations=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=!1),e<1||e>this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=!1);var i=this.getLineCount(),o=Math.min(i,Math.max(1,e)),a=Math.min(i,Math.max(1,t)),s=this.getLineMaxColumn(a);return this._getDecorationsInRange(new c["a"](o,1,a,s),n,r)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var r=this.validateRange(e);return this._getDecorationsInRange(r,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),r=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(r)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),r=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(r)},t.prototype._getDecorationsInRange=function(e,t,n){var r=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),i=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),o=this.getVersionId(),a=this._decorationsTree.intervalSearch(r,i,t,n,o);return this._ensureNodesHaveRanges(a)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t];null===r.range&&(r.range=this._getRangeAt(r.cachedAbsoluteStart,r.cachedAbsoluteEnd))}return e},t.prototype._getRangeAt=function(e,t){return this._buffer.getRangeAt(e,t-e)},t.prototype._changeDecorationImpl=function(e,t){var n=this._decorations[e];if(n){var r=this._validateRangeRelaxedNoAllocations(t),i=this._buffer.getOffsetAt(r.startLineNumber,r.startColumn),o=this._buffer.getOffsetAt(r.endLineNumber,r.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),i,o,r),this._decorationsTree.insert(n)}},t.prototype._changeDecorationOptionsImpl=function(e,t){var n=this._decorations[e];if(n){var r=!(!n.options.overviewRuler||!n.options.overviewRuler.color),i=!(!t.overviewRuler||!t.overviewRuler.color);r!==i?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t)}},t.prototype._deltaDecorationsImpl=function(e,t,n){var r=this.getVersionId(),i=t.length,o=0,a=n.length,s=0,l=new Array(a);while(o<i||s<a){var u=null;if(o<i){do{u=this._decorations[t[o++]]}while(!u&&o<i);u&&this._decorationsTree.delete(u)}if(s<a){if(!u){var c=++this._lastDecorationId,d=this._instanceId+";"+c;u=new I(d,0,0),this._decorations[d]=u}var h=n[s],f=this._validateRangeRelaxedNoAllocations(h.range),p=pt(h.options),g=this._buffer.getOffsetAt(f.startLineNumber,f.startColumn),m=this._buffer.getOffsetAt(f.endLineNumber,f.endColumn);u.ownerId=e,u.reset(r,g,m,f),u.setOptions(p),this._decorationsTree.insert(u),l[s]=u.id,s++}else u&&delete this._decorations[u.id]}return l},t.prototype.setLineTokens=function(e,t){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];t.push({fromLineNumber:i.startLineNumber,toLineNumber:i.startLineNumber+i.tokens.length-1});for(var o=0,a=i.tokens.length;o<a;o++)this.setLineTokens(i.startLineNumber+o,i.tokens[o])}this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:t})}},t.prototype.setSemanticTokens=function(e){this._tokens2.set(e),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})},t.prototype.tokenizeViewport=function(e,t){e=Math.max(1,e),t=Math.min(this._buffer.getLineCount(),t),this._tokenization.tokenizeViewport(e,t)},t.prototype.clearTokens=function(){this._tokens.flush(),this._emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:this._buffer.getLineCount()}]})},t.prototype._emitModelTokensChangedEvent=function(e){this._isDisposing||this._onDidChangeTokens.fire(e)},t.prototype.resetTokenization=function(){this._tokenization.reset()},t.prototype.forceTokenization=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new u["a"](e,t)),r=this.getLineTokens(n.lineNumber);return r.getLanguageId(r.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),r=this.getLineContent(n.lineNumber),i=this._getLineTokens(n.lineNumber),o=i.findTokenIndexAtOffset(n.column-1),a=t._findLanguageBoundaries(i,o),s=a[0],l=a[1],u=Object(Ge["d"])(n.column,qe["a"].getWordDefinition(i.getLanguageId(o)),r.substring(s,l),s);if(u&&u.startColumn<=e.column&&e.column<=u.endColumn)return u;if(o>0&&s===n.column-1){var c=t._findLanguageBoundaries(i,o-1),d=c[0],h=c[1],f=Object(Ge["d"])(n.column,qe["a"].getWordDefinition(i.getLanguageId(o-1)),r.substring(d,h),d);if(f&&f.startColumn<=e.column&&e.column<=f.endColumn)return f}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),r=0,i=t;i>=0&&e.getLanguageId(i)===n;i--)r=e.getStartOffset(i);for(var o=e.getLineContent().length,a=(i=t,e.getCount());i<a&&e.getLanguageId(i)===n;i++)o=e.getEndOffset(i);return[r,o]},t.prototype.getWordUntilPosition=function(e){var t=this.getWordAtPosition(e);return t?{word:t.word.substr(0,e.column-t.startColumn),startColumn:t.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},t.prototype.findMatchingBracketUp=function(e,t){var n=e.toLowerCase(),r=this.validatePosition(t),i=this._getLineTokens(r.lineNumber),o=i.getLanguageId(i.findTokenIndexAtOffset(r.column-1)),a=qe["a"].getBracketsSupport(o);if(!a)return null;var s=a.textIsBracket[n];return s?this._findMatchingBracketUp(s,r):null},t.prototype.matchBracket=function(e){return this._matchBracket(this.validatePosition(e))},t.prototype._matchBracket=function(e){var t=e.lineNumber,n=this._getLineTokens(t),r=n.getCount(),i=this._buffer.getLineContent(t),o=n.findTokenIndexAtOffset(e.column-1);if(o<0)return null;var a=qe["a"].getBracketsSupport(n.getLanguageId(o));if(a&&!Object(Ye["b"])(n.getStandardTokenType(o))){for(var s=Math.max(0,e.column-1-a.maxBracketLength),l=o-1;l>=0;l--){var u=n.getEndOffset(l);if(u<=s)break;Object(Ye["b"])(n.getStandardTokenType(l))&&(s=u)}var c=Math.min(i.length,e.column-1+a.maxBracketLength),d=null;while(1){var h=Xe["a"].findNextBracketInRange(a.forwardRegex,t,i,s,c);if(!h)break;if(h.startColumn<=e.column&&e.column<=h.endColumn){var f=i.substring(h.startColumn-1,h.endColumn-1).toLowerCase(),p=this._matchFoundBracket(h,a.textIsBracket[f],a.textIsOpenBracket[f]);p&&(d=p)}s=h.endColumn-1}if(d)return d}if(o>0&&n.getStartOffset(o)===e.column-1){var g=o-1,m=qe["a"].getBracketsSupport(n.getLanguageId(g));if(m&&!Object(Ye["b"])(n.getStandardTokenType(g))){for(s=Math.max(0,e.column-1-m.maxBracketLength),c=Math.min(i.length,e.column-1+m.maxBracketLength),l=g+1;l<r;l++){var v=n.getStartOffset(l);if(v>=c)break;Object(Ye["b"])(n.getStandardTokenType(l))&&(c=v)}h=Xe["a"].findPrevBracketInRange(m.reversedRegex,t,i,s,c);if(h&&h.startColumn<=e.column&&e.column<=h.endColumn){f=i.substring(h.startColumn-1,h.endColumn-1).toLowerCase(),p=this._matchFoundBracket(h,m.textIsBracket[f],m.textIsOpenBracket[f]);if(p)return p}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;if(n){var r=this._findMatchingBracketDown(t,e.getEndPosition());if(r)return[e,r]}else{r=this._findMatchingBracketUp(t,e.getStartPosition());if(r)return[e,r]}return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,r=e.reversedRegex,i=-1,o=function(t,n,o,a){while(1){var s=Xe["a"].findPrevBracketInRange(r,t,n,o,a);if(!s)break;var l=n.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(e.isOpen(l)?i++:e.isClose(l)&&i--,0===i)return s;a=s.startColumn-1}return null},a=t.lineNumber;a>=1;a--){var s=this._getLineTokens(a),l=s.getCount(),u=this._buffer.getLineContent(a),c=l-1,d=u.length,h=u.length;a===t.lineNumber&&(c=s.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var f=!0;c>=0;c--){var p=s.getLanguageId(c)===n&&!Object(Ye["b"])(s.getStandardTokenType(c));if(p)f?d=s.getStartOffset(c):(d=s.getStartOffset(c),h=s.getEndOffset(c));else if(f&&d!==h){var g=o(a,u,d,h);if(g)return g}f=p}if(f&&d!==h){g=o(a,u,d,h);if(g)return g}}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,r=e.forwardRegex,i=1,o=function(t,n,o,a){while(1){var s=Xe["a"].findNextBracketInRange(r,t,n,o,a);if(!s)break;var l=n.substring(s.startColumn-1,s.endColumn-1).toLowerCase();if(e.isOpen(l)?i++:e.isClose(l)&&i--,0===i)return s;o=s.endColumn-1}return null},a=this.getLineCount(),s=t.lineNumber;s<=a;s++){var l=this._getLineTokens(s),u=l.getCount(),c=this._buffer.getLineContent(s),d=0,h=0,f=0;s===t.lineNumber&&(d=l.findTokenIndexAtOffset(t.column-1),h=t.column-1,f=t.column-1);for(var p=!0;d<u;d++){var g=l.getLanguageId(d)===n&&!Object(Ye["b"])(l.getStandardTokenType(d));if(g)p||(h=l.getStartOffset(d)),f=l.getEndOffset(d);else if(p&&h!==f){var m=o(s,c,h,f);if(m)return m}p=g}if(p&&h!==f){m=o(s,c,h,f);if(m)return m}}return null},t.prototype.findPrevBracket=function(e){for(var t=this.validatePosition(e),n=-1,r=null,i=t.lineNumber;i>=1;i--){var o=this._getLineTokens(i),a=o.getCount(),s=this._buffer.getLineContent(i),l=a-1,u=s.length,c=s.length;if(i===t.lineNumber){l=o.findTokenIndexAtOffset(t.column-1),u=t.column-1,c=t.column-1;var d=o.getLanguageId(l);n!==d&&(n=d,r=qe["a"].getBracketsSupport(n))}for(var h=!0;l>=0;l--){d=o.getLanguageId(l);if(n!==d){if(r&&h&&u!==c){var f=Xe["a"].findPrevBracketInRange(r.reversedRegex,i,s,u,c);if(f)return this._toFoundBracket(r,f);h=!1}n=d,r=qe["a"].getBracketsSupport(n)}var p=!!r&&!Object(Ye["b"])(o.getStandardTokenType(l));if(p)h?u=o.getStartOffset(l):(u=o.getStartOffset(l),c=o.getEndOffset(l));else if(r&&h&&u!==c){f=Xe["a"].findPrevBracketInRange(r.reversedRegex,i,s,u,c);if(f)return this._toFoundBracket(r,f)}h=p}if(r&&h&&u!==c){f=Xe["a"].findPrevBracketInRange(r.reversedRegex,i,s,u,c);if(f)return this._toFoundBracket(r,f)}}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),r=-1,i=null,o=t.lineNumber;o<=n;o++){var a=this._getLineTokens(o),s=a.getCount(),l=this._buffer.getLineContent(o),u=0,c=0,d=0;if(o===t.lineNumber){u=a.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1;var h=a.getLanguageId(u);r!==h&&(r=h,i=qe["a"].getBracketsSupport(r))}for(var f=!0;u<s;u++){h=a.getLanguageId(u);if(r!==h){if(i&&f&&c!==d){var p=Xe["a"].findNextBracketInRange(i.forwardRegex,o,l,c,d);if(p)return this._toFoundBracket(i,p);f=!1}r=h,i=qe["a"].getBracketsSupport(r)}var g=!!i&&!Object(Ye["b"])(a.getStandardTokenType(u));if(g)f||(c=a.getStartOffset(u)),d=a.getEndOffset(u);else if(i&&f&&c!==d){p=Xe["a"].findNextBracketInRange(i.forwardRegex,o,l,c,d);if(p)return this._toFoundBracket(i,p)}f=g}if(i&&f&&c!==d){p=Xe["a"].findNextBracketInRange(i.forwardRegex,o,l,c,d);if(p)return this._toFoundBracket(i,p)}}return null},t.prototype.findEnclosingBrackets=function(e,t){var n=this;void 0===t&&(t=1073741824);for(var r=this.validatePosition(e),i=this.getLineCount(),o=new Map,a=[],s=function(e,t){if(!o.has(e)){for(var n=[],r=0,i=t?t.brackets.length:0;r<i;r++)n[r]=0;o.set(e,n)}a=o.get(e)},l=function(e,t,r,i,o){while(1){var s=Xe["a"].findNextBracketInRange(e.forwardRegex,t,r,i,o);if(!s)break;var l=r.substring(s.startColumn-1,s.endColumn-1).toLowerCase(),u=e.textIsBracket[l];if(u&&(u.isOpen(l)?a[u.index]++:u.isClose(l)&&a[u.index]--,-1===a[u.index]))return n._matchFoundBracket(s,u,!1);i=s.endColumn-1}return null},u=-1,c=null,d=Date.now(),h=r.lineNumber;h<=i;h++){var f=Date.now()-d;if(f>t)return null;var p=this._getLineTokens(h),g=p.getCount(),m=this._buffer.getLineContent(h),v=0,y=0,b=0;if(h===r.lineNumber){v=p.findTokenIndexAtOffset(r.column-1),y=r.column-1,b=r.column-1;var _=p.getLanguageId(v);u!==_&&(u=_,c=qe["a"].getBracketsSupport(u),s(u,c))}for(var w=!0;v<g;v++){_=p.getLanguageId(v);if(u!==_){if(c&&w&&y!==b){var x=l(c,h,m,y,b);if(x)return x;w=!1}u=_,c=qe["a"].getBracketsSupport(u),s(u,c)}var C=!!c&&!Object(Ye["b"])(p.getStandardTokenType(v));if(C)w||(y=p.getStartOffset(v)),b=p.getEndOffset(v);else if(c&&w&&y!==b){x=l(c,h,m,y,b);if(x)return x}w=C}if(c&&w&&y!==b){x=l(c,h,m,y,b);if(x)return x}}return null},t.prototype._toFoundBracket=function(e,t){if(!t)return null;var n=this.getValueInRange(t);n=n.toLowerCase();var r=e.textIsBracket[n];return r?{range:t,open:r.open,close:r.close,isOpen:e.textIsOpenBracket[n]}:null},t.computeIndentLevel=function(e,t){var n=0,r=0,i=e.length;while(r<i){var o=e.charCodeAt(r);if(32===o)n++;else{if(9!==o)break;n=n-n%t+t}r++}return r===i?-1:n},t.prototype._computeIndentLevel=function(e){return t.computeIndentLevel(this._buffer.getLineContent(e+1),this._options.tabSize)},t.prototype.getActiveIndentGuide=function(e,t,n){var r=this;this._assertNotDisposed();var i=this.getLineCount();if(e<1||e>i)throw new Error("Illegal value for lineNumber");for(var o=qe["a"].getFoldingRules(this._languageIdentifier.id),a=Boolean(o&&o.offSide),s=-2,l=-1,u=-2,c=-1,d=function(e){if(-1!==s&&(-2===s||s>e-1)){s=-1,l=-1;for(var t=e-2;t>=0;t--){var n=r._computeIndentLevel(t);if(n>=0){s=t,l=n;break}}}if(-2===u){u=-1,c=-1;for(t=e;t<i;t++){var o=r._computeIndentLevel(t);if(o>=0){u=t,c=o;break}}}},h=-2,f=-1,p=-2,g=-1,m=function(e){if(-2===h){h=-1,f=-1;for(var t=e-2;t>=0;t--){var n=r._computeIndentLevel(t);if(n>=0){h=t,f=n;break}}}if(-1!==p&&(-2===p||p<e-1)){p=-1,g=-1;for(t=e;t<i;t++){var o=r._computeIndentLevel(t);if(o>=0){p=t,g=o;break}}}},v=0,y=!0,b=0,_=!0,w=0,x=0;y||_;x++){var C=e-x,S=e+x;if(0!==x&&(C<1||C<t)&&(y=!1),0!==x&&(S>i||S>n)&&(_=!1),x>5e4&&(y=!1,_=!1),y){var O=void 0,k=this._computeIndentLevel(C-1);if(k>=0?(u=C-1,c=k,O=Math.ceil(k/this._options.indentSize)):(d(C),O=this._getIndentLevelForWhitespaceLine(a,l,c)),0===x){if(v=C,b=S,w=O,0===w)return{startLineNumber:v,endLineNumber:b,indent:w};continue}O>=w?v=C:y=!1}if(_){var E=void 0;k=this._computeIndentLevel(S-1);k>=0?(h=S-1,f=k,E=Math.ceil(k/this._options.indentSize)):(m(S),E=this._getIndentLevelForWhitespaceLine(a,f,g)),E>=w?b=S:_=!1}}return{startLineNumber:v,endLineNumber:b,indent:w}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var r=qe["a"].getFoldingRules(this._languageIdentifier.id),i=Boolean(r&&r.offSide),o=new Array(t-e+1),a=-2,s=-1,l=-2,u=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)a=c-1,s=h,o[d]=Math.ceil(h/this._options.indentSize);else{if(-2===a){a=-1,s=-1;for(var f=c-2;f>=0;f--){var p=this._computeIndentLevel(f);if(p>=0){a=f,s=p;break}}}if(-1!==l&&(-2===l||l<c-1)){l=-1,u=-1;for(f=c;f<n;f++){p=this._computeIndentLevel(f);if(p>=0){l=f,u=p;break}}}o[d]=this._getIndentLevelForWhitespaceLine(i,s,u)}}return o},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n||e?Math.ceil(n/this._options.indentSize):1+Math.floor(n/this._options.indentSize)},t.MODEL_SYNC_LIMIT=52428800,t.LARGE_FILE_SIZE_THRESHOLD=20971520,t.LARGE_FILE_LINE_COUNT_THRESHOLD=3e5,t.DEFAULT_CREATION_OPTIONS={isForSimpleWidget:!1,tabSize:l["c"].tabSize,indentSize:l["c"].indentSize,insertSpaces:l["c"].insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:l["c"].trimAutoWhitespace,largeFileOptimizations:l["c"].largeFileOptimizations},t}(o["a"]),st=function(){function e(){this._decorationsTree0=new P,this._decorationsTree1=new P}return e.prototype.intervalSearch=function(e,t,n,r,i){var o=this._decorationsTree0.intervalSearch(e,t,n,r,i),a=this._decorationsTree1.intervalSearch(e,t,n,r,i);return o.concat(a)},e.prototype.search=function(e,t,n,r){if(n)return this._decorationsTree1.search(e,t,r);var i=this._decorationsTree0.search(e,t,r),o=this._decorationsTree1.search(e,t,r);return i.concat(o)},e.prototype.collectNodesFromOwner=function(e){var t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)},e.prototype.collectNodesPostOrder=function(){var e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)},e.prototype.insert=function(e){k(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){k(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){k(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)},e.prototype.acceptReplace=function(e,t,n,r){this._decorationsTree0.acceptReplace(e,t,n,r),this._decorationsTree1.acceptReplace(e,t,n,r)},e}();function lt(e){return e.replace(/[^a-z0-9\-_]/gi," ")}var ut=function(){function e(e){this.color=e.color||"",this.darkColor=e.darkColor||""}return e}(),ct=function(e){function t(t){var n=e.call(this,t)||this;return n._resolvedColor=null,n.position="number"===typeof t.position?t.position:h["d"].Center,n}return $e(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=null},t.prototype._resolveColor=function(e,t){if("string"===typeof e)return e;var n=e?t.getColor(e.id):null;return n?n.toString():""},t}(ut),dt=function(e){function t(t){var n=e.call(this,t)||this;return n.position=t.position,n}return $e(t,e),t.prototype.getColor=function(e){return this._resolvedColor||("light"!==e.type&&this.darkColor?this._resolvedColor=this._resolveColor(this.darkColor,e):this._resolvedColor=this._resolveColor(this.color,e)),this._resolvedColor},t.prototype.invalidateCachedColor=function(){this._resolvedColor=void 0},t.prototype._resolveColor=function(e,t){return"string"===typeof e?Qe["a"].fromHex(e):t.getColor(e.id)},t}(ut),ht=function(){function e(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?lt(e.className):null,this.hoverMessage=Object(Ze["o"])(e.hoverMessage),this.glyphMarginHoverMessage=Object(Ze["o"])(e.glyphMarginHoverMessage),this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new ct(e.overviewRuler):null,this.minimap=e.minimap?new dt(e.minimap):null,this.glyphMarginClassName=e.glyphMarginClassName?lt(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?lt(e.linesDecorationsClassName):null,this.marginClassName=e.marginClassName?lt(e.marginClassName):null,this.inlineClassName=e.inlineClassName?lt(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?lt(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?lt(e.afterContentClassName):null}return e.register=function(t){return new e(t)},e.createDynamic=function(t){return new e(t)},e}();ht.EMPTY=ht.register({});var ft=[ht.register({stickiness:0}),ht.register({stickiness:1}),ht.register({stickiness:2}),ht.register({stickiness:3})];function pt(e){return e instanceof ht?e:ht.createDynamic(e)}var gt=function(e){function t(){var t=e.call(this)||this;return t._actual=t._register(new i["a"]),t.event=t._actual.event,t._deferredCnt=0,t._shouldFire=!1,t}return $e(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){this._deferredCnt--,0===this._deferredCnt&&this._shouldFire&&(this._shouldFire=!1,this._actual.fire({}))},t.prototype.fire=function(){this._shouldFire=!0},t}(o["a"]),mt=function(e){function t(){var t=e.call(this)||this;return t._fastEmitter=t._register(new i["a"]),t.fastEvent=t._fastEmitter.event,t._slowEmitter=t._register(new i["a"]),t.slowEvent=t._slowEmitter.event,t._deferredCnt=0,t._deferredEvent=null,t}return $e(t,e),t.prototype.beginDeferredEmit=function(){this._deferredCnt++},t.prototype.endDeferredEmit=function(){if(this._deferredCnt--,0===this._deferredCnt&&null!==this._deferredEvent){var e=this._deferredEvent;this._deferredEvent=null,this._fastEmitter.fire(e),this._slowEmitter.fire(e)}},t.prototype.fire=function(e){this._deferredCnt>0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(o["a"])},tXSY:function(e,t,n){"use strict";n.r(t),n.d(t,"SnippetController2",(function(){return G}));var r=n("pmY6"),i=n("N0LK"),o=n("sswD"),a=n("aokT"),s=n("gCVg"),l=n("wQH0"),u=n("QVNv"),c=n("T8No"),d=n("09fa"),h=n("6OMU"),f=(n("dFcq"),n("0/Sa")),p=n("tX9W"),g=n("9XeP"),m=n("EWX2"),v=n("Cg/j"),y=n("uACm"),b=n("3/fG"),_=n("MrjW"),w=n("gslv"),x=n("cMvZ"),C=n("bY76"),S="code-workspace";function O(e){return e instanceof C["a"]}function k(e){return e.configuration?{configPath:e.configuration,id:e.id}:1===e.folders.length?e.folders[0].uri:void 0}var E=n("3rx1"),D=function(){function e(e){this._delegates=e}return e.prototype.resolve=function(e){for(var t=0,n=this._delegates;t<n.length;t++){var r=n[t],i=r.resolve(e);if(void 0!==i)return i}},e}(),M=function(){function e(e,t){this._model=e,this._selection=t}return e.prototype.resolve=function(e){var t=e.name;if("SELECTION"===t||"TM_SELECTED_TEXT"===t){var n=this._model.getValueInRange(this._selection)||void 0;if(n&&this._selection.startLineNumber!==this._selection.endLineNumber&&e.snippet){var r=this._model.getLineContent(this._selection.startLineNumber),o=Object(i["t"])(r,0,this._selection.startColumn-1),a=o;e.snippet.walk((function(t){return t!==e&&(t instanceof y["d"]&&(a=Object(i["t"])(t.value.split(/\r\n|\r|\n/).pop())),!0)}));var s=Object(i["c"])(a,o);n=n.replace(/(\r\n|\r|\n)(.*)/g,(function(e,t,n){return""+t+a.substr(s)+n}))}return n}if("TM_CURRENT_LINE"===t)return this._model.getLineContent(this._selection.positionLineNumber);if("TM_CURRENT_WORD"===t){var l=this._model.getWordAtPosition({lineNumber:this._selection.positionLineNumber,column:this._selection.positionColumn});return l&&l.word||void 0}return"TM_LINE_INDEX"===t?String(this._selection.positionLineNumber-1):"TM_LINE_NUMBER"===t?String(this._selection.positionLineNumber):void 0},e}(),N=function(){function e(e,t){this._labelService=e,this._model=t}return e.prototype.resolve=function(e){var t=e.name;if("TM_FILENAME"===t)return _["basename"](this._model.uri.fsPath);if("TM_FILENAME_BASE"===t){var n=_["basename"](this._model.uri.fsPath),r=n.lastIndexOf(".");return r<=0?n:n.slice(0,r)}return"TM_DIRECTORY"===t&&this._labelService?"."===_["dirname"](this._model.uri.fsPath)?"":this._labelService.getUriLabel(Object(w["d"])(this._model.uri)):"TM_FILEPATH"===t&&this._labelService?this._labelService.getUriLabel(this._model.uri):void 0},e}(),L=function(){function e(e,t,n,r){this._readClipboardText=e,this._selectionIdx=t,this._selectionCount=n,this._spread=r}return e.prototype.resolve=function(e){if("CLIPBOARD"===e.name){var t=this._readClipboardText();if(t){if(this._spread){var n=t.split(/\r\n|\n|\r/).filter((function(e){return!Object(i["x"])(e)}));if(n.length===this._selectionCount)return n[this._selectionIdx]}return t}}},e}(),I=function(){function e(e){this._model=e}return e.prototype.resolve=function(e){var t=e.name,n=this._model.getLanguageIdentifier(),r=x["a"].getComments(n.id);if(r)return"LINE_COMMENT"===t?r.lineCommentToken||void 0:"BLOCK_COMMENT_START"===t?r.blockCommentStartToken||void 0:"BLOCK_COMMENT_END"===t&&r.blockCommentEndToken||void 0},e}(),T=function(){function e(){}return e.prototype.resolve=function(t){var n=t.name;return"CURRENT_YEAR"===n?String((new Date).getFullYear()):"CURRENT_YEAR_SHORT"===n?String((new Date).getFullYear()).slice(-2):"CURRENT_MONTH"===n?Object(i["F"])((new Date).getMonth().valueOf()+1,2):"CURRENT_DATE"===n?Object(i["F"])((new Date).getDate().valueOf(),2):"CURRENT_HOUR"===n?Object(i["F"])((new Date).getHours().valueOf(),2):"CURRENT_MINUTE"===n?Object(i["F"])((new Date).getMinutes().valueOf(),2):"CURRENT_SECOND"===n?Object(i["F"])((new Date).getSeconds().valueOf(),2):"CURRENT_DAY_NAME"===n?e.dayNames[(new Date).getDay()]:"CURRENT_DAY_NAME_SHORT"===n?e.dayNamesShort[(new Date).getDay()]:"CURRENT_MONTH_NAME"===n?e.monthNames[(new Date).getMonth()]:"CURRENT_MONTH_NAME_SHORT"===n?e.monthNamesShort[(new Date).getMonth()]:"CURRENT_SECONDS_UNIX"===n?String(Math.floor(Date.now()/1e3)):void 0},e.dayNames=[b["a"]("Sunday","Sunday"),b["a"]("Monday","Monday"),b["a"]("Tuesday","Tuesday"),b["a"]("Wednesday","Wednesday"),b["a"]("Thursday","Thursday"),b["a"]("Friday","Friday"),b["a"]("Saturday","Saturday")],e.dayNamesShort=[b["a"]("SundayShort","Sun"),b["a"]("MondayShort","Mon"),b["a"]("TuesdayShort","Tue"),b["a"]("WednesdayShort","Wed"),b["a"]("ThursdayShort","Thu"),b["a"]("FridayShort","Fri"),b["a"]("SaturdayShort","Sat")],e.monthNames=[b["a"]("January","January"),b["a"]("February","February"),b["a"]("March","March"),b["a"]("April","April"),b["a"]("May","May"),b["a"]("June","June"),b["a"]("July","July"),b["a"]("August","August"),b["a"]("September","September"),b["a"]("October","October"),b["a"]("November","November"),b["a"]("December","December")],e.monthNamesShort=[b["a"]("JanuaryShort","Jan"),b["a"]("FebruaryShort","Feb"),b["a"]("MarchShort","Mar"),b["a"]("AprilShort","Apr"),b["a"]("MayShort","May"),b["a"]("JuneShort","Jun"),b["a"]("JulyShort","Jul"),b["a"]("AugustShort","Aug"),b["a"]("SeptemberShort","Sep"),b["a"]("OctoberShort","Oct"),b["a"]("NovemberShort","Nov"),b["a"]("DecemberShort","Dec")],e}(),P=function(){function e(e){this._workspaceService=e}return e.prototype.resolve=function(e){if(this._workspaceService){var t=k(this._workspaceService.getWorkspace());if(t)return"WORKSPACE_NAME"===e.name?this._resolveWorkspaceName(t):"WORKSPACE_FOLDER"===e.name?this._resoveWorkspacePath(t):void 0}},e.prototype._resolveWorkspaceName=function(e){if(O(e))return _["basename"](e.path);var t=_["basename"](e.configPath.path);return Object(i["m"])(t,S)&&(t=t.substr(0,t.length-S.length-1)),t},e.prototype._resoveWorkspacePath=function(e){if(O(e))return Object(E["c"])(e.fsPath);var t=_["basename"](e.configPath.path),n=e.configPath.fsPath;return Object(i["m"])(n,t)&&(n=n.substr(0,n.length-t.length-1)),n?Object(E["c"])(n):"/"},e}(),A=function(){function e(){}return e.prototype.resolve=function(e){var t=e.name;return"RANDOM"===t?Math.random().toString().slice(-6):"RANDOM_HEX"===t?Math.random().toString(16).slice(-6):void 0},e}(),R=n("t9D7"),j=n("MD5Z"),F=n("R8sh");Object(R["e"])((function(e,t){function n(t){var n=e.getColor(t);return n?n.toString():"transparent"}t.addRule(".monaco-editor .snippet-placeholder { background-color: "+n(j["Zb"])+"; outline-color: "+n(j["ac"])+"; }"),t.addRule(".monaco-editor .finish-snippet-placeholder { background-color: "+n(j["Xb"])+"; outline-color: "+n(j["Yb"])+"; }")}));var B=function(){function e(e,t,n){this._nestingLevel=1,this._editor=e,this._snippet=t,this._offset=n,this._placeholderGroups=Object(h["o"])(t.placeholders,y["b"].compareByIndex),this._placeholderGroupsIdx=-1}return e.prototype.dispose=function(){if(this._placeholderDecorations){var e=[];this._placeholderDecorations.forEach((function(t){return e.push(t)})),this._editor.deltaDecorations(e,[])}this._placeholderGroups.length=0},e.prototype._initDecorations=function(){var t=this;if(!this._placeholderDecorations){this._placeholderDecorations=new Map;var n=this._editor.getModel();this._editor.changeDecorations((function(r){for(var i=0,o=t._snippet.placeholders;i<o.length;i++){var s=o[i],l=t._snippet.offset(s),u=t._snippet.fullLen(s),c=a["a"].fromPositions(n.getPositionAt(t._offset+l),n.getPositionAt(t._offset+l+u)),d=s.isFinalTabstop?e._decor.inactiveFinal:e._decor.inactive,h=r.addDecoration(c,d);t._placeholderDecorations.set(s,h)}}))}},e.prototype.move=function(t){var n=this;if(!this._editor.hasModel())return[];if(this._initDecorations(),this._placeholderGroupsIdx>=0){for(var r=[],i=0,o=this._placeholderGroups[this._placeholderGroupsIdx];i<o.length;i++){var a=o[i];if(a.transform){var l=this._placeholderDecorations.get(a),u=this._editor.getModel().getDecorationRange(l),c=this._editor.getModel().getValueInRange(u);r.push(f["a"].replaceMove(u,a.transform.resolve(c)))}}r.length>0&&this._editor.executeEdits("snippet.placeholderTransform",r)}var d=!1;!0===t&&this._placeholderGroupsIdx<this._placeholderGroups.length-1?(this._placeholderGroupsIdx+=1,d=!0):!1===t&&this._placeholderGroupsIdx>0&&(this._placeholderGroupsIdx-=1,d=!0);var h=this._editor.getModel().changeDecorations((function(t){for(var r=new Set,i=[],o=0,a=n._placeholderGroups[n._placeholderGroupsIdx];o<a.length;o++){var l=a[o],u=n._placeholderDecorations.get(l),c=n._editor.getModel().getDecorationRange(u);i.push(new s["a"](c.startLineNumber,c.startColumn,c.endLineNumber,c.endColumn)),d=d&&n._hasPlaceholderBeenCollapsed(l),t.changeDecorationOptions(u,l.isFinalTabstop?e._decor.activeFinal:e._decor.active),r.add(l);for(var h=0,f=n._snippet.enclosingPlaceholders(l);h<f.length;h++){var p=f[h],g=n._placeholderDecorations.get(p);t.changeDecorationOptions(g,p.isFinalTabstop?e._decor.activeFinal:e._decor.active),r.add(p)}}return n._placeholderDecorations.forEach((function(n,i){r.has(i)||t.changeDecorationOptions(n,i.isFinalTabstop?e._decor.inactiveFinal:e._decor.inactive)})),i}));return d?this.move(t):h},e.prototype._hasPlaceholderBeenCollapsed=function(e){var t=e;while(t){if(t instanceof y["b"]){var n=this._placeholderDecorations.get(t),r=this._editor.getModel().getDecorationRange(n);if(r.isEmpty()&&t.toString().length>0)return!0}t=t.parent}return!1},Object.defineProperty(e.prototype,"isAtFirstPlaceholder",{get:function(){return this._placeholderGroupsIdx<=0||0===this._placeholderGroups.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAtLastPlaceholder",{get:function(){return this._placeholderGroupsIdx===this._placeholderGroups.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPlaceholder",{get:function(){return this._snippet.placeholders.length>0},enumerable:!0,configurable:!0}),e.prototype.computePossibleSelections=function(){for(var e=new Map,t=0,n=this._placeholderGroups;t<n.length;t++)for(var r=n[t],i=void 0,o=0,a=r;o<a.length;o++){var s=a[o];if(s.isFinalTabstop)break;i||(i=[],e.set(s.index,i));var l=this._placeholderDecorations.get(s),u=this._editor.getModel().getDecorationRange(l);if(!u){e.delete(s.index);break}i.push(u)}return e},Object.defineProperty(e.prototype,"choice",{get:function(){return this._placeholderGroups[this._placeholderGroupsIdx][0].choice},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){var n=this,r=this._editor.getModel();this._nestingLevel*=10,this._editor.changeDecorations((function(i){for(var o=0,s=n._placeholderGroups[n._placeholderGroupsIdx];o<s.length;o++){var l=s[o],u=t.shift();console.assert(!u._placeholderDecorations);for(var c=u._snippet.placeholderInfo.last.index,d=0,f=u._snippet.placeholderInfo.all;d<f.length;d++){var p=f[d];p.isFinalTabstop?p.index=l.index+(c+1)/n._nestingLevel:p.index=l.index+p.index/n._nestingLevel}n._snippet.replace(l,u._snippet.children);var g=n._placeholderDecorations.get(l);i.removeDecoration(g),n._placeholderDecorations.delete(l);for(var m=0,v=u._snippet.placeholders;m<v.length;m++){var b=v[m],_=u._snippet.offset(b),w=u._snippet.fullLen(b),x=a["a"].fromPositions(r.getPositionAt(u._offset+_),r.getPositionAt(u._offset+_+w)),C=i.addDecoration(x,e._decor.inactive);n._placeholderDecorations.set(b,C)}}n._placeholderGroups=Object(h["o"])(n._snippet.placeholders,y["b"].compareByIndex)}))},e._decor={active:p["a"].register({stickiness:0,className:"snippet-placeholder"}),inactive:p["a"].register({stickiness:1,className:"snippet-placeholder"}),activeFinal:p["a"].register({stickiness:1,className:"finish-snippet-placeholder"}),inactiveFinal:p["a"].register({stickiness:1,className:"finish-snippet-placeholder"})},e}(),V={overwriteBefore:0,overwriteAfter:0,adjustWhitespace:!0,clipboardText:void 0},z=function(){function e(e,t,n){void 0===n&&(n=V),this._templateMerges=[],this._snippets=[],this._editor=e,this._template=t,this._options=n}return e.adjustWhitespace=function(e,t,n,r,o){var a=e.getLineContent(t.lineNumber),s=Object(i["t"])(a,0,t.column-1);n.walk((function(t){if(t instanceof y["d"]&&!(t.parent instanceof y["a"])){var n=t.value.split(/\r\n|\r|\n/);if(r)for(var a=1;a<n.length;a++){var l=Object(i["t"])(n[a]);n[a]=e.normalizeIndentation(s+l)+n[a].substr(l.length)}if(o){var u=n.join(e.getEOL());u!==t.value&&t.parent.replace(t,[new y["d"](u)])}}return!0}))},e.adjustSelection=function(e,t,n,r){if(0!==n||0!==r){var i=t.positionLineNumber,o=t.positionColumn,a=o-n,l=o+r,u=e.validateRange({startLineNumber:i,startColumn:a,endLineNumber:i,endColumn:l});t=s["a"].createWithDirection(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn,t.getDirection())}return t},e.createEditsAndSnippets=function(t,n,r,i,o,s,l){var u=[],c=[];if(!t.hasModel())return{edits:u,snippets:c};for(var d=t.getModel(),h=t.invokeWithinContext((function(e){return e.get(m["a"],v["d"])})),p=t.invokeWithinContext((function(e){return new N(e.get(F["a"],v["d"]),d)})),b=t.invokeWithinContext((function(e){return e.get(g["a"],v["d"])})),_=function(){return l||b&&b.readTextSync()},w=0,x=d.getValueInRange(e.adjustSelection(d,t.getSelection(),r,0)),C=d.getValueInRange(e.adjustSelection(d,t.getSelection(),0,i)),S=d.getLineFirstNonWhitespaceColumn(t.getSelection().positionLineNumber),O=t.getSelections().map((function(e,t){return{selection:e,idx:t}})).sort((function(e,t){return a["a"].compareRangesUsingStarts(e.selection,t.selection)})),k=0,E=O;k<E.length;k++){var R=E[k],j=R.selection,V=R.idx,z=e.adjustSelection(d,j,r,0),W=e.adjustSelection(d,j,0,i);x!==d.getValueInRange(z)&&(z=j),C!==d.getValueInRange(W)&&(W=j);var H=j.setStartPosition(z.startLineNumber,z.startColumn).setEndPosition(W.endLineNumber,W.endColumn),U=(new y["c"]).parse(n,!0,o),K=H.getStartPosition();e.adjustWhitespace(d,K,U,s||V>0&&S!==d.getLineFirstNonWhitespaceColumn(j.positionLineNumber),!0),U.resolveVariables(new D([p,new L(_,V,O.length,"spread"===t.getOption(60)),new M(d,j),new I(d),new T,new P(h),new A]));var G=d.getOffsetAt(K)+w;w+=U.toString().length-d.getValueLengthInRange(H),u[V]=f["a"].replace(H,U.toString()),c[V]=new B(t,U,G)}return{edits:u,snippets:c}},e.prototype.dispose=function(){Object(r["f"])(this._snippets)},e.prototype._logInfo=function(){return'template="'+this._template+'", merged_templates="'+this._templateMerges.join(" -> ")+'"'},e.prototype.insert=function(){var t=this;if(this._editor.hasModel()){var n=e.createEditsAndSnippets(this._editor,this._template,this._options.overwriteBefore,this._options.overwriteAfter,!1,this._options.adjustWhitespace,this._options.clipboardText),r=n.edits,i=n.snippets;this._snippets=i,this._editor.executeEdits("snippet",r,(function(e){return t._snippets[0].hasPlaceholder?t._move(!0):e.map((function(e){return s["a"].fromPositions(e.range.getEndPosition())}))})),this._editor.revealRange(this._editor.getSelections()[0])}},e.prototype.merge=function(t,n){var r=this;if(void 0===n&&(n=V),this._editor.hasModel()){this._templateMerges.push([this._snippets[0]._nestingLevel,this._snippets[0]._placeholderGroupsIdx,t]);var i=e.createEditsAndSnippets(this._editor,t,n.overwriteBefore,n.overwriteAfter,!0,n.adjustWhitespace,n.clipboardText),o=i.edits,a=i.snippets;this._editor.executeEdits("snippet",o,(function(e){for(var t=0,n=r._snippets;t<n.length;t++){var i=n[t];i.merge(a)}return console.assert(0===a.length),r._snippets[0].hasPlaceholder?r._move(void 0):e.map((function(e){return s["a"].fromPositions(e.range.getEndPosition())}))}))}},e.prototype.next=function(){var e=this._move(!0);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())},e.prototype.prev=function(){var e=this._move(!1);this._editor.setSelections(e),this._editor.revealPositionInCenterIfOutsideViewport(e[0].getPosition())},e.prototype._move=function(e){for(var t=[],n=0,r=this._snippets;n<r.length;n++){var i=r[n],o=i.move(e);t.push.apply(t,o)}return t},Object.defineProperty(e.prototype,"isAtFirstPlaceholder",{get:function(){return this._snippets[0].isAtFirstPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isAtLastPlaceholder",{get:function(){return this._snippets[0].isAtLastPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPlaceholder",{get:function(){return this._snippets[0].hasPlaceholder},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"choice",{get:function(){return this._snippets[0].choice},enumerable:!0,configurable:!0}),e.prototype.isSelectionWithinPlaceholders=function(){if(!this.hasPlaceholder)return!1;var e=this._editor.getSelections();if(e.length<this._snippets.length)return!1;for(var t=new Map,n=function(n){var r=n.computePossibleSelections();if(0===t.size&&r.forEach((function(n,r){n.sort(a["a"].compareRangesUsingStarts);for(var i=0,o=e;i<o.length;i++){var s=o[i];if(n[0].containsRange(s)){t.set(r,[]);break}}})),0===t.size)return{value:!1};t.forEach((function(e,t){e.push.apply(e,r.get(t))}))},r=0,i=this._snippets;r<i.length;r++){var o=i[r],s=n(o);if("object"===typeof s)return s.value}return e.sort(a["a"].compareRangesUsingStarts),t.forEach((function(n,r){if(n.length===e.length){n.sort(a["a"].compareRangesUsingStarts);for(var i=0;i<n.length;i++)if(!n[i].containsRange(e[i]))return void t.delete(r)}else t.delete(r)})),t.size>0},e}(),W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},W.apply(this,arguments)},H=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},U=function(e,t){return function(n,r){t(n,r,e)}},K={overwriteBefore:0,overwriteAfter:0,undoStopBefore:!0,undoStopAfter:!0,adjustWhitespace:!0,clipboardText:void 0},G=function(){function e(t,n,i){this._editor=t,this._logService=n,this._snippetListener=new r["b"],this._modelVersionId=-1,this._inSnippet=e.InSnippetMode.bindTo(i),this._hasNextTabstop=e.HasNextTabstop.bindTo(i),this._hasPrevTabstop=e.HasPrevTabstop.bindTo(i)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),Object(r["f"])(this._session),this._snippetListener.dispose()},e.prototype.insert=function(e,t){try{this._doInsert(e,"undefined"===typeof t?K:W(W({},K),t))}catch(n){this.cancel(),this._logService.error(n),this._logService.error("snippet_error"),this._logService.error("insert_template=",e),this._logService.error("existing_template=",this._session?this._session._logInfo():"<no_session>")}},e.prototype._doInsert=function(e,t){var n=this;this._editor.hasModel()&&(this._snippetListener.clear(),t.undoStopBefore&&this._editor.getModel().pushStackElement(),this._session?this._session.merge(e,t):(this._modelVersionId=this._editor.getModel().getAlternativeVersionId(),this._session=new z(this._editor,e,t),this._session.insert()),t.undoStopAfter&&this._editor.getModel().pushStackElement(),this._updateState(),this._snippetListener.add(this._editor.onDidChangeModelContent((function(e){return e.isFlush&&n.cancel()}))),this._snippetListener.add(this._editor.onDidChangeModel((function(){return n.cancel()}))),this._snippetListener.add(this._editor.onDidChangeCursorSelection((function(){return n._updateState()}))))},e.prototype._updateState=function(){if(this._session&&this._editor.hasModel()){if(this._modelVersionId===this._editor.getModel().getAlternativeVersionId())return this.cancel();if(!this._session.hasPlaceholder)return this.cancel();if(this._session.isAtLastPlaceholder||!this._session.isSelectionWithinPlaceholders())return this.cancel();this._inSnippet.set(!0),this._hasPrevTabstop.set(!this._session.isAtFirstPlaceholder),this._hasNextTabstop.set(!this._session.isAtLastPlaceholder),this._handleChoice()}},e.prototype._handleChoice=function(){var e=this;if(this._session&&this._editor.hasModel()){var t=this._session.choice;if(t){if(this._currentChoice!==t){this._currentChoice=t,this._editor.setSelections(this._editor.getSelections().map((function(e){return s["a"].fromPositions(e.getStartPosition())})));var n=t.options[0];Object(u["f"])(this._editor,t.options.map((function(t,r){return{kind:13,label:t.value,insertText:t.value,sortText:Object(i["J"])("a",r+1),range:a["a"].fromPositions(e._editor.getPosition(),e._editor.getPosition().delta(0,n.value.length))}})))}}else this._currentChoice=void 0}else this._currentChoice=void 0},e.prototype.finish=function(){while(this._inSnippet.get())this.next()},e.prototype.cancel=function(e){void 0===e&&(e=!1),this._inSnippet.reset(),this._hasPrevTabstop.reset(),this._hasNextTabstop.reset(),this._snippetListener.clear(),Object(r["f"])(this._session),this._session=void 0,this._modelVersionId=-1,e&&this._editor.setSelections([this._editor.getSelection()])},e.prototype.prev=function(){this._session&&this._session.prev(),this._updateState()},e.prototype.next=function(){this._session&&this._session.next(),this._updateState()},e.prototype.isInSnippet=function(){return Boolean(this._inSnippet.get())},e.ID="snippetController2",e.InSnippetMode=new c["d"]("inSnippetMode",!1),e.HasNextTabstop=new c["d"]("hasNextTabstop",!1),e.HasPrevTabstop=new c["d"]("hasPrevTabstop",!1),e=H([U(1,d["a"]),U(2,c["c"])],e),e}();Object(o["h"])(G.ID,G);var q=o["c"].bindToContribution(G.get);Object(o["g"])(new q({id:"jumpToNextSnippetPlaceholder",precondition:c["a"].and(G.InSnippetMode,G.HasNextTabstop),handler:function(e){return e.next()},kbOpts:{weight:130,kbExpr:l["a"].editorTextFocus,primary:2}})),Object(o["g"])(new q({id:"jumpToPrevSnippetPlaceholder",precondition:c["a"].and(G.InSnippetMode,G.HasPrevTabstop),handler:function(e){return e.prev()},kbOpts:{weight:130,kbExpr:l["a"].editorTextFocus,primary:1026}})),Object(o["g"])(new q({id:"leaveSnippet",precondition:G.InSnippetMode,handler:function(e){return e.cancel(!0)},kbOpts:{weight:130,kbExpr:l["a"].editorTextFocus,primary:9,secondary:[1033]}})),Object(o["g"])(new q({id:"acceptSnippet",precondition:G.InSnippetMode,handler:function(e){return e.finish()}}))},tYmi:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s}));var r,i=n("bY76"),o=n("MNsG");(function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.userData="vscode-userdata"})(r||(r={}));var a=function(){function e(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null}return e.prototype.setPreferredWebSchema=function(e){this._preferredWebSchema=e},e.prototype.rewrite=function(e){if(this._delegate)return this._delegate(e);var t=e.authority,n=this._hosts[t];n&&-1!==n.indexOf(":")&&(n="["+n+"]");var a=this._ports[t],s=this._connectionTokens[t],l="path="+encodeURIComponent(e.path);return"string"===typeof s&&(l+="&tkn="+encodeURIComponent(s)),i["a"].from({scheme:o["g"]?this._preferredWebSchema:r.vscodeRemoteResource,authority:n+":"+a,path:"/vscode-remote-resource",query:l})},e}(),s=new a},tadb:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"DataView");e.exports=o},tceW:function(e,t,n){var r=n("KCsZ"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),o={getBarItemStyle:function(e){var t=i(this,e);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(t.lineDash=n)}return t}};e.exports=o},tkwv:function(e,t,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty;e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var a,s,l,u=r(t),c=r(n);if(u&&c){if(s=t.length,s!=n.length)return!1;for(a=s;0!==a--;)if(!e(t[a],n[a]))return!1;return!0}if(u!=c)return!1;var d=t instanceof Date,h=n instanceof Date;if(d!=h)return!1;if(d&&h)return t.getTime()==n.getTime();var f=t instanceof RegExp,p=n instanceof RegExp;if(f!=p)return!1;if(f&&p)return t.toString()==n.toString();var g=i(t);if(s=g.length,s!==i(n).length)return!1;for(a=s;0!==a--;)if(!o.call(n,g[a]))return!1;for(a=s;0!==a--;)if(l=g[a],!e(t[l],n[l]))return!1;return!0}return t!==t&&n!==n}},twdY:function(e,t,n){"use strict";n.d(t,"q",(function(){return y})),n.d(t,"x",(function(){return b})),n.d(t,"C",(function(){return _})),n.d(t,"B",(function(){return w})),n.d(t,"D",(function(){return x})),n.d(t,"m",(function(){return O})),n.d(t,"A",(function(){return S})),n.d(t,"t",(function(){return k})),n.d(t,"u",(function(){return E})),n.d(t,"d",(function(){return D})),n.d(t,"w",(function(){return M})),n.d(t,"o",(function(){return N})),n.d(t,"l",(function(){return L})),n.d(t,"h",(function(){return I})),n.d(t,"f",(function(){return T})),n.d(t,"e",(function(){return P})),n.d(t,"p",(function(){return A})),n.d(t,"z",(function(){return R})),n.d(t,"b",(function(){return j})),n.d(t,"a",(function(){return F})),n.d(t,"g",(function(){return B})),n.d(t,"i",(function(){return V})),n.d(t,"s",(function(){return z})),n.d(t,"r",(function(){return W})),n.d(t,"c",(function(){return H})),n.d(t,"v",(function(){return U})),n.d(t,"n",(function(){return K})),n.d(t,"k",(function(){return G})),n.d(t,"j",(function(){return q})),n.d(t,"y",(function(){return Y}));var r=n("746U"),i=n("bY76"),o=n("aokT"),a=n("MI8n"),s=n("pmY6"),l=n("l2gE");function u(e,t,n,r){if(Array.isArray(e)){for(var i=0,o=0,a=e;o<a.length;o++){var s=a[o],c=u(s,t,n,r);if(10===c)return c;c>i&&(i=c)}return i}if("string"===typeof e)return r?"*"===e?5:e===n?10:0:0;if(e){var d=e.language,h=e.pattern,f=e.scheme,p=e.hasAccessToAllModels;if(!r&&!p)return 0;i=0;if(f)if(f===t.scheme)i=10;else{if("*"!==f)return 0;i=5}if(d)if(d===n)i=10;else{if("*"!==d)return 0;i=Math.max(i,5)}if(h){if(h!==t.fsPath&&!Object(l["a"])(h,t.fsPath))return 0;i=10}return i}return 0}var c=n("G2kB");function d(e){return"string"!==typeof e&&(Array.isArray(e)?e.every(d):!!e.exclusive)}var h,f,p,g=function(){function e(){this._clock=0,this._entries=[],this._onDidChange=new a["a"]}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),e.prototype.register=function(e,t){var n=this,r={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(r),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(s["h"])((function(){if(r){var e=n._entries.indexOf(r);e>=0&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),r=void 0)}}))},e.prototype.has=function(e){return this.all(e).length>0},e.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,r=this._entries;n<r.length;n++){var i=r[n];i._score>0&&t.push(i.provider)}return t},e.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,(function(e){return t.push(e.provider)})),t},e.prototype.orderedGroups=function(e){var t,n,r=[];return this._orderedForEach(e,(function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],r.push(t))})),r},e.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,r=this._entries;n<r.length;n++){var i=r[n];i._score>0&&t(i)}}},e.prototype._updateScores=function(t){var n={uri:t.uri.toString(),language:t.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==n.language||this._lastCandidate.uri!==n.uri){this._lastCandidate=n;for(var r=0,i=this._entries;r<i.length;r++){var o=i[r];if(o._score=u(o.selector,t.uri,t.getLanguageIdentifier().language,Object(c["b"])(t)),d(o.selector)&&o._score>0){for(var a=0,s=this._entries;a<s.length;a++){var l=s[a];l._score=0}o._score=1e3;break}}this._entries.sort(e._compareByScoreAndTime)}},e._compareByScoreAndTime=function(e,t){return e._score<t._score?1:e._score>t._score?-1:e._time<t._time?1:e._time>t._time?-1:0},e}(),m=n("QDVR"),v=function(){function e(){this._map=new Map,this._promises=new Map,this._onDidChange=new a["a"],this.onDidChange=this._onDidChange.event,this._colorMap=null}return e.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},e.prototype.register=function(e,t){var n=this;return this._map.set(e,t),this.fire([e]),Object(s["h"])((function(){n._map.get(e)===t&&(n._map.delete(e),n.fire([e]))}))},e.prototype.registerPromise=function(e,t){var n=this,r=null,i=!1;return this._promises.set(e,t.then((function(t){n._promises.delete(e),!i&&t&&(r=n.register(e,t))}))),Object(s["h"])((function(){i=!0,r&&r.dispose()}))},e.prototype.getPromise=function(e){var t=this,n=this.get(e);if(n)return Promise.resolve(n);var r=this._promises.get(e);return r?r.then((function(n){return t.get(e)})):null},e.prototype.get=function(e){return Object(r["o"])(this._map.get(e))},e.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object(m["d"])(this._map),changedColorMap:!0})},e.prototype.getColorMap=function(){return this._colorMap},e.prototype.getDefaultBackground=function(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null},e}(),y=function(){function e(e,t){this.language=e,this.id=t}return e}(),b=function(){function e(){}return e.getLanguageId=function(e){return(255&e)>>>0},e.getTokenType=function(e){return(1792&e)>>>8},e.getFontStyle=function(e){return(14336&e)>>>11},e.getForeground=function(e){return(8372224&e)>>>14},e.getBackground=function(e){return(4286578688&e)>>>23},e.getClassNameFromMetadata=function(e){var t=this.getForeground(e),n="mtk"+t,r=this.getFontStyle(e);return 1&r&&(n+=" mtki"),2&r&&(n+=" mtkb"),4&r&&(n+=" mtku"),n},e.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),r=this.getFontStyle(e),i="color: "+t[n]+";";return 1&r&&(i+="font-style: italic;"),2&r&&(i+="font-weight: bold;"),4&r&&(i+="text-decoration: underline;"),i},e}(),_=function(){var e=Object.create(null);return e[0]="method",e[1]="function",e[2]="constructor",e[3]="field",e[4]="variable",e[5]="class",e[6]="struct",e[7]="interface",e[8]="module",e[9]="property",e[10]="event",e[11]="operator",e[12]="unit",e[13]="value",e[14]="constant",e[15]="enum",e[16]="enum-member",e[17]="keyword",e[25]="snippet",e[18]="text",e[19]="color",e[20]="file",e[21]="reference",e[22]="customcolor",e[23]="folder",e[24]="type-parameter",function(t){return e[t]||"property"}}(),w=function(){var e=Object.create(null);return e["method"]=0,e["function"]=1,e["constructor"]=2,e["field"]=3,e["variable"]=4,e["class"]=5,e["struct"]=6,e["interface"]=7,e["module"]=8,e["property"]=9,e["event"]=10,e["operator"]=11,e["unit"]=12,e["value"]=13,e["constant"]=14,e["enum"]=15,e["enum-member"]=16,e["enumMember"]=16,e["keyword"]=17,e["snippet"]=25,e["text"]=18,e["color"]=19,e["file"]=20,e["reference"]=21,e["customcolor"]=22,e["folder"]=23,e["type-parameter"]=24,e["typeParameter"]=24,function(t,n){var r=e[t];return"undefined"!==typeof r||n||(r=9),r}}();function x(e){return e&&i["a"].isUri(e.uri)&&o["a"].isIRange(e.range)&&(o["a"].isIRange(e.originSelectionRange)||o["a"].isIRange(e.targetSelectionRange))}(function(e){e[e["Invoke"]=1]="Invoke",e[e["TriggerCharacter"]=2]="TriggerCharacter",e[e["ContentChange"]=3]="ContentChange"})(h||(h={})),function(e){e[e["Text"]=0]="Text",e[e["Read"]=1]="Read",e[e["Write"]=2]="Write"}(f||(f={})),function(e){var t=new Map;t.set("file",0),t.set("module",1),t.set("namespace",2),t.set("package",3),t.set("class",4),t.set("method",5),t.set("property",6),t.set("field",7),t.set("constructor",8),t.set("enum",9),t.set("interface",10),t.set("function",11),t.set("variable",12),t.set("constant",13),t.set("string",14),t.set("number",15),t.set("boolean",16),t.set("array",17),t.set("object",18),t.set("key",19),t.set("null",20),t.set("enum-member",21),t.set("struct",22),t.set("event",23),t.set("operator",24),t.set("type-parameter",25);var n=new Map;function r(e){return t.get(e)}function i(e){return n.get(e)}function o(e,t){return"codicon "+(t?"inline":"block")+" codicon-symbol-"+(n.get(e)||"property")}n.set(0,"file"),n.set(1,"module"),n.set(2,"namespace"),n.set(3,"package"),n.set(4,"class"),n.set(5,"method"),n.set(6,"property"),n.set(7,"field"),n.set(8,"constructor"),n.set(9,"enum"),n.set(10,"interface"),n.set(11,"function"),n.set(12,"variable"),n.set(13,"constant"),n.set(14,"string"),n.set(15,"number"),n.set(16,"boolean"),n.set(17,"array"),n.set(18,"object"),n.set(19,"key"),n.set(20,"null"),n.set(21,"enum-member"),n.set(22,"struct"),n.set(23,"event"),n.set(24,"operator"),n.set(25,"type-parameter"),e.fromString=r,e.toString=i,e.toCssClassName=o}(p||(p={}));var C,S,O=function(){function e(e){this.value=e}return e.Comment=new e("comment"),e.Imports=new e("imports"),e.Region=new e("region"),e}();(function(e){function t(e){return Object(r["i"])(e)&&(Boolean(e.newUri)||Boolean(e.oldUri))}e.is=t})(C||(C={})),function(e){function t(e){return Object(r["i"])(e)&&i["a"].isUri(e.resource)&&Object(r["i"])(e.edit)}e.is=t}(S||(S={}));var k=new g,E=new g,D=new g,M=new g,N=new g,L=new g,I=new g,T=new g,P=new g,A=new g,R=new g,j=new g,F=new g,B=new g,V=new g,z=new g,W=new g,H=new g,U=new g,K=new g,G=new g,q=new g,Y=new v},txkQ:function(e,t,n){var r=n("aX58");t.zrender=r;var i=n("Fofx");t.matrix=i;var o=n("QBsz");t.vector=o;var a=n("bYtY"),s=n("Qe9p");t.color=s;var l=n("IwbS"),u=n("OELB");t.number=u;var c=n("7aKB");t.format=c;var d=n("iLNv");d.throttle;t.throttle=d.throttle;var h=n("FUi9");t.helper=h;var f=n("vafp");t.parseGeoJSON=f;var p=n("YXkt");t.List=p;var g=n("Qxkt");t.Model=g;var m=n("hM6l");t.Axis=m;var v=n("ItGF");t.env=v;var y=f,b={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(e){b[e]=a[e]}));var _={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(e){_[e]=l[e]})),t.parseGeoJson=y,t.util=b,t.graphic=_},u3DP:function(e,t,n){var r=n("6GrX"),i=n("OELB"),o=i.parsePercent,a=Math.PI/180;function s(e,t,n,r,i,o,a,s,l,u){function c(t,n,r,i){for(var o=t;o<n;o++){if(e[o].y+r>l+a)break;if(e[o].y+=r,o>t&&o+1<n&&e[o+1].y>e[o].y+e[o].height)return void d(o,r/2)}d(n-1,r/2)}function d(t,n){for(var r=t;r>=0;r--){if(e[r].y-n<l)break;if(e[r].y-=n,r>0&&e[r].y>e[r-1].y+e[r-1].height)break}}function h(e,t,n,r,i,o){for(var a=t?Number.MAX_VALUE:0,s=0,l=e.length;s<l;s++)if("none"===e[s].labelAlignTo){var u=Math.abs(e[s].y-r),c=e[s].len,d=e[s].len2,h=u<i+c?Math.sqrt((i+c+d)*(i+c+d)-u*u):Math.abs(e[s].x-n);t&&h>=a&&(h=a-10),!t&&h<=a&&(h=a+10),e[s].x=n+h*o,a=h}}e.sort((function(e,t){return e.y-t.y}));for(var f,p=0,g=e.length,m=[],v=[],y=0;y<g;y++){if("outer"===e[y].position&&"labelLine"===e[y].labelAlignTo){var b=e[y].x-u;e[y].linePoints[1][0]+=b,e[y].x=u}f=e[y].y-p,f<0&&c(y,g,-f,i),p=e[y].y+e[y].height}a-p<0&&d(g-1,p-a);for(y=0;y<g;y++)e[y].y>=n?v.push(e[y]):m.push(e[y]);h(m,!1,t,n,r,i),h(v,!0,t,n,r,i)}function l(e,t,n,i,o,a,l,c){for(var d=[],h=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g<e.length;g++)u(e[g])||(e[g].x<t?(f=Math.min(f,e[g].x),d.push(e[g])):(p=Math.max(p,e[g].x),h.push(e[g])));s(h,t,n,i,1,o,a,l,c,p),s(d,t,n,i,-1,o,a,l,c,f);for(g=0;g<e.length;g++){var m=e[g];if(!u(m)){var v=m.linePoints;if(v){var y,b="edge"===m.labelAlignTo,_=m.textRect.width;y=b?m.x<t?v[2][0]-m.labelDistance-l-m.labelMargin:l+o-m.labelMargin-v[2][0]-m.labelDistance:m.x<t?m.x-l-m.bleedMargin:l+o-m.x-m.bleedMargin,y<m.textRect.width&&(m.text=r.truncateText(m.text,y,m.font),"edge"===m.labelAlignTo&&(_=r.getWidth(m.text,m.font)));var w=v[1][0]-v[2][0];b?m.x<t?v[2][0]=l+m.labelMargin+_+m.labelDistance:v[2][0]=l+o-m.labelMargin-_-m.labelDistance:(m.x<t?v[2][0]=m.x+m.labelDistance:v[2][0]=m.x-m.labelDistance,v[1][0]=v[2][0]+w),v[1][1]=v[2][1]=m.y}}}}function u(e){return"center"===e.position}function c(e,t,n,i,s,u){var c,d,h=e.getData(),f=[],p=!1,g=(e.get("minShowLabelAngle")||0)*a;h.each((function(i){var a=h.getItemLayout(i),l=h.getItemModel(i),u=l.getModel("label"),m=u.get("position")||l.get("emphasis.label.position"),v=u.get("distanceToLabelLine"),y=u.get("alignTo"),b=o(u.get("margin"),n),_=u.get("bleedMargin"),w=u.getFont(),x=l.getModel("labelLine"),C=x.get("length");C=o(C,n);var S=x.get("length2");if(S=o(S,n),!(a.angle<g)){var O,k,E,D,M=(a.startAngle+a.endAngle)/2,N=Math.cos(M),L=Math.sin(M);c=a.cx,d=a.cy;var I,T=e.getFormattedLabel(i,"normal")||h.getName(i),P=r.getBoundingRect(T,w,D,"top"),A="inside"===m||"inner"===m;if("center"===m)O=a.cx,k=a.cy,D="center";else{var R=(A?(a.r+a.r0)/2*N:a.r*N)+c,j=(A?(a.r+a.r0)/2*L:a.r*L)+d;if(O=R+3*N,k=j+3*L,!A){var F=R+N*(C+t-a.r),B=j+L*(C+t-a.r),V=F+(N<0?-1:1)*S,z=B;O="edge"===y?N<0?s+b:s+n-b:V+(N<0?-v:v),k=z,E=[[R,j],[F,B],[V,z]]}D=A?"center":"edge"===y?N>0?"right":"left":N>0?"left":"right"}var W=u.get("rotate");I="number"===typeof W?W*(Math.PI/180):W?N<0?-M+Math.PI:-M:0,p=!!I,a.label={x:O,y:k,position:m,height:P.height,len:C,len2:S,linePoints:E,textAlign:D,verticalAlign:"middle",rotation:I,inside:A,labelDistance:v,labelAlignTo:y,labelMargin:b,bleedMargin:_,textRect:P,text:T,font:w},A||f.push(a.label)}})),!p&&e.get("avoidLabelOverlap")&&l(f,c,d,t,n,i,s,u)}e.exports=c},u3os:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ver=t.clear=t.bind=void 0;var r=n("P4Qj"),i=function(e,t){var n=(0,r.getSensor)(e);return n.bind(t),function(){n.unbind(t)}};t.bind=i;var o=function(e){var t=(0,r.getSensor)(e);(0,r.removeSensor)(t)};t.clear=o;var a="1.0.1";t.ver=a},u4NN:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("Uc92")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="EyeOutlined";var u=o.forwardRef(l);t.default=u},u8Dt:function(e,t,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return a.call(t,e)?t[e]:void 0}e.exports=s},u9fO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("b80e"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},uACm:function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return d})),n.d(t,"c",(function(){return v}));var r,i=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},a=function(){function e(){this.value="",this.pos=0}return e.isDigitCharacter=function(e){return e>=48&&e<=57},e.isVariableCharacter=function(e){return 95===e||e>=97&&e<=122||e>=65&&e<=90},e.prototype.text=function(e){this.value=e,this.pos=0},e.prototype.tokenText=function(e){return this.value.substr(e.pos,e.len)},e.prototype.next=function(){if(this.pos>=this.value.length)return{type:14,pos:this.pos,len:0};var t,n=this.pos,r=0,i=this.value.charCodeAt(n);if(t=e._table[i],"number"===typeof t)return this.pos+=1,{type:t,pos:n,len:1};if(e.isDigitCharacter(i)){t=8;do{r+=1,i=this.value.charCodeAt(n+r)}while(e.isDigitCharacter(i));return this.pos+=r,{type:t,pos:n,len:r}}if(e.isVariableCharacter(i)){t=9;do{i=this.value.charCodeAt(n+ ++r)}while(e.isVariableCharacter(i)||e.isDigitCharacter(i));return this.pos+=r,{type:t,pos:n,len:r}}t=10;do{r+=1,i=this.value.charCodeAt(n+r)}while(!isNaN(i)&&"undefined"===typeof e._table[i]&&!e.isDigitCharacter(i)&&!e.isVariableCharacter(i));return this.pos+=r,{type:t,pos:n,len:r}},e._table=(r={},r[36]=0,r[58]=1,r[44]=2,r[123]=3,r[125]=4,r[92]=5,r[47]=6,r[124]=7,r[43]=11,r[45]=12,r[63]=13,r),e}(),s=function(){function e(){this._children=[]}return e.prototype.appendChild=function(e){return e instanceof l&&this._children[this._children.length-1]instanceof l?this._children[this._children.length-1].value+=e.value:(e.parent=this,this._children.push(e)),this},e.prototype.replace=function(e,t){var n=e.parent,r=n.children.indexOf(e),i=n.children.slice(0);i.splice.apply(i,o([r,1],t)),n._children=i,function e(t,n){for(var r=0,i=t;r<i.length;r++){var o=i[r];o.parent=n,e(o.children,o)}}(t,n)},Object.defineProperty(e.prototype,"children",{get:function(){return this._children},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"snippet",{get:function(){var e=this;while(1){if(!e)return;if(e instanceof m)return e;e=e.parent}},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.children.reduce((function(e,t){return e+t.toString()}),"")},e.prototype.len=function(){return 0},e}(),l=function(e){function t(t){var n=e.call(this)||this;return n.value=t,n}return i(t,e),t.prototype.toString=function(){return this.value},t.prototype.len=function(){return this.value.length},t.prototype.clone=function(){return new t(this.value)},t}(s),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(s),c=function(e){function t(t){var n=e.call(this)||this;return n.index=t,n}return i(t,e),t.compareByIndex=function(e,t){return e.index===t.index?0:e.isFinalTabstop?1:t.isFinalTabstop||e.index<t.index?-1:e.index>t.index?1:0},Object.defineProperty(t.prototype,"isFinalTabstop",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"choice",{get:function(){return 1===this._children.length&&this._children[0]instanceof d?this._children[0]:void 0},enumerable:!0,configurable:!0}),t.prototype.clone=function(){var e=new t(this.index);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((function(e){return e.clone()})),e},t}(u),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=[],t}return i(t,e),t.prototype.appendChild=function(e){return e instanceof l&&(e.parent=this,this.options.push(e)),this},t.prototype.toString=function(){return this.options[0].value},t.prototype.len=function(){return this.options[0].len()},t.prototype.clone=function(){var e=new t;return this.options.forEach(e.appendChild,e),e},t}(s),h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.regexp=new RegExp(""),t}return i(t,e),t.prototype.resolve=function(e){var t=this,n=!1,r=e.replace(this.regexp,(function(){return n=!0,t._replace(Array.prototype.slice.call(arguments,0,-2))}));return!n&&this._children.some((function(e){return e instanceof f&&Boolean(e.elseValue)}))&&(r=this._replace([])),r},t.prototype._replace=function(e){for(var t="",n=0,r=this._children;n<r.length;n++){var i=r[n];if(i instanceof f){var o=e[i.index]||"";o=i.resolve(o),t+=o}else t+=i.toString()}return t},t.prototype.toString=function(){return""},t.prototype.clone=function(){var e=new t;return e.regexp=new RegExp(this.regexp.source,(this.regexp.ignoreCase?"i":"")+(this.regexp.global?"g":"")),e._children=this.children.map((function(e){return e.clone()})),e},t}(s),f=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.index=t,o.shorthandName=n,o.ifValue=r,o.elseValue=i,o}return i(t,e),t.prototype.resolve=function(e){return"upcase"===this.shorthandName?e?e.toLocaleUpperCase():"":"downcase"===this.shorthandName?e?e.toLocaleLowerCase():"":"capitalize"===this.shorthandName?e?e[0].toLocaleUpperCase()+e.substr(1):"":"pascalcase"===this.shorthandName?e?this._toPascalCase(e):"":Boolean(e)&&"string"===typeof this.ifValue?this.ifValue:Boolean(e)||"string"!==typeof this.elseValue?e||"":this.elseValue},t.prototype._toPascalCase=function(e){var t=e.match(/[a-z]+/gi);return t?t.map((function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})).join(""):e},t.prototype.clone=function(){var e=new t(this.index,this.shorthandName,this.ifValue,this.elseValue);return e},t}(s),p=function(e){function t(t){var n=e.call(this)||this;return n.name=t,n}return i(t,e),t.prototype.resolve=function(e){var t=e.resolve(this);return this.transform&&(t=this.transform.resolve(t||"")),void 0!==t&&(this._children=[new l(t)],!0)},t.prototype.clone=function(){var e=new t(this.name);return this.transform&&(e.transform=this.transform.clone()),e._children=this.children.map((function(e){return e.clone()})),e},t}(u);function g(e,t){var n=o(e);while(n.length>0){var r=n.shift(),i=t(r);if(!i)break;n.unshift.apply(n,r.children)}}var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"placeholderInfo",{get:function(){if(!this._placeholders){var e,t=[];this.walk((function(n){return n instanceof c&&(t.push(n),e=!e||e.index<n.index?n:e),!0})),this._placeholders={all:t,last:e}}return this._placeholders},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholders",{get:function(){var e=this.placeholderInfo.all;return e},enumerable:!0,configurable:!0}),t.prototype.offset=function(e){var t=0,n=!1;return this.walk((function(r){return r===e?(n=!0,!1):(t+=r.len(),!0)})),n?t:-1},t.prototype.fullLen=function(e){var t=0;return g([e],(function(e){return t+=e.len(),!0})),t},t.prototype.enclosingPlaceholders=function(e){var t=[],n=e.parent;while(n)n instanceof c&&t.push(n),n=n.parent;return t},t.prototype.resolveVariables=function(e){var t=this;return this.walk((function(n){return n instanceof p&&n.resolve(e)&&(t._placeholders=void 0),!0})),this},t.prototype.appendChild=function(t){return this._placeholders=void 0,e.prototype.appendChild.call(this,t)},t.prototype.replace=function(t,n){return this._placeholders=void 0,e.prototype.replace.call(this,t,n)},t.prototype.clone=function(){var e=new t;return this._children=this.children.map((function(e){return e.clone()})),e},t.prototype.walk=function(e){g(this.children,e)},t}(s),v=function(){function e(){this._scanner=new a,this._token={type:14,pos:0,len:0}}return e.escape=function(e){return e.replace(/\$|}|\\/g,"\\$&")},e.prototype.parse=function(e,t,n){this._scanner.text(e),this._token=this._scanner.next();var r=new m;while(this._parse(r));var i=new Map,o=[],a=0;r.walk((function(e){return e instanceof c&&(a+=1,e.isFinalTabstop?i.set(0,void 0):!i.has(e.index)&&e.children.length>0?i.set(e.index,e.children):o.push(e)),!0}));for(var s=0,l=o;s<l.length;s++){var u=l[s],d=i.get(u.index);if(d){var h=new c(u.index);h.transform=u.transform;for(var f=0,p=d;f<p.length;f++){var g=p[f];h.appendChild(g.clone())}r.replace(u,[h])}}return n||(n=a>0&&t),!i.has(0)&&n&&r.appendChild(new c(0)),r},e.prototype._accept=function(e,t){if(void 0===e||this._token.type===e){var n=!t||this._scanner.tokenText(this._token);return this._token=this._scanner.next(),n}return!1},e.prototype._backTo=function(e){return this._scanner.pos=e.pos+e.len,this._token=e,!1},e.prototype._until=function(e){var t=this._token;while(this._token.type!==e){if(14===this._token.type)return!1;if(5===this._token.type){var n=this._scanner.next();if(0!==n.type&&4!==n.type&&5!==n.type)return!1}this._token=this._scanner.next()}var r=this._scanner.value.substring(t.pos,this._token.pos).replace(/\\(\$|}|\\)/g,"$1");return this._token=this._scanner.next(),r},e.prototype._parse=function(e){return this._parseEscaped(e)||this._parseTabstopOrVariableName(e)||this._parseComplexPlaceholder(e)||this._parseComplexVariable(e)||this._parseAnything(e)},e.prototype._parseEscaped=function(e){var t;return!!(t=this._accept(5,!0))&&(t=this._accept(0,!0)||this._accept(4,!0)||this._accept(5,!0)||t,e.appendChild(new l(t)),!0)},e.prototype._parseTabstopOrVariableName=function(e){var t,n=this._token,r=this._accept(0)&&(t=this._accept(9,!0)||this._accept(8,!0));return r?(e.appendChild(/^\d+$/.test(t)?new c(Number(t)):new p(t)),!0):this._backTo(n)},e.prototype._parseComplexPlaceholder=function(e){var t,n=this._token,r=this._accept(0)&&this._accept(3)&&(t=this._accept(8,!0));if(!r)return this._backTo(n);var i=new c(Number(t));if(this._accept(1))while(1){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new l("${"+t+":")),i.children.forEach(e.appendChild,e),!0}else{if(!(i.index>0&&this._accept(7)))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);var o=new d;while(1){if(this._parseChoiceElement(o)){if(this._accept(2))continue;if(this._accept(7)&&(i.appendChild(o),this._accept(4)))return e.appendChild(i),!0}return this._backTo(n),!1}}},e.prototype._parseChoiceElement=function(e){var t=this._token,n=[];while(1){if(2===this._token.type||7===this._token.type)break;var r=void 0;if(r=(r=this._accept(5,!0))?this._accept(2,!0)||this._accept(7,!0)||this._accept(5,!0)||r:this._accept(void 0,!0),!r)return this._backTo(t),!1;n.push(r)}return 0===n.length?(this._backTo(t),!1):(e.appendChild(new l(n.join(""))),!0)},e.prototype._parseComplexVariable=function(e){var t,n=this._token,r=this._accept(0)&&this._accept(3)&&(t=this._accept(9,!0));if(!r)return this._backTo(n);var i=new p(t);if(!this._accept(1))return this._accept(6)?this._parseTransform(i)?(e.appendChild(i),!0):(this._backTo(n),!1):this._accept(4)?(e.appendChild(i),!0):this._backTo(n);while(1){if(this._accept(4))return e.appendChild(i),!0;if(!this._parse(i))return e.appendChild(new l("${"+t+":")),i.children.forEach(e.appendChild,e),!0}},e.prototype._parseTransform=function(e){var t=new h,n="",r="";while(1){if(this._accept(6))break;var i=void 0;if(i=this._accept(5,!0))i=this._accept(6,!0)||i,n+=i;else{if(14===this._token.type)return!1;n+=this._accept(void 0,!0)}}while(1){if(this._accept(6))break;i=void 0;if(i=this._accept(5,!0))i=this._accept(5,!0)||this._accept(6,!0)||i,t.appendChild(new l(i));else if(!this._parseFormatString(t)&&!this._parseAnything(t))return!1}while(1){if(this._accept(4))break;if(14===this._token.type)return!1;r+=this._accept(void 0,!0)}try{t.regexp=new RegExp(n,r)}catch(o){return!1}return e.transform=t,!0},e.prototype._parseFormatString=function(e){var t=this._token;if(!this._accept(0))return!1;var n=!1;this._accept(3)&&(n=!0);var r=this._accept(8,!0);if(!r)return this._backTo(t),!1;if(!n)return e.appendChild(new f(Number(r))),!0;if(this._accept(4))return e.appendChild(new f(Number(r))),!0;if(!this._accept(1))return this._backTo(t),!1;if(this._accept(6)){var i=this._accept(9,!0);return i&&this._accept(4)?(e.appendChild(new f(Number(r),i)),!0):(this._backTo(t),!1)}if(this._accept(11)){var o=this._until(4);if(o)return e.appendChild(new f(Number(r),void 0,o,void 0)),!0}else if(this._accept(12)){var a=this._until(4);if(a)return e.appendChild(new f(Number(r),void 0,void 0,a)),!0}else if(this._accept(13)){o=this._until(1);if(o){a=this._until(4);if(a)return e.appendChild(new f(Number(r),void 0,o,a)),!0}}else{a=this._until(4);if(a)return e.appendChild(new f(Number(r),void 0,void 0,a)),!0}return this._backTo(t),!1},e.prototype._parseAnything=function(e){return 14!==this._token.type&&(e.appendChild(new l(this._scanner.tokenText(this._token))),this._accept(void 0),!0)},e}()},uAX5:function(e,t,n){},uAnK:function(e,t,n){var r=n("bYtY"),i=n("Kagy"),o=n("KxfA"),a=o.retrieveRawValue;function s(e,t){var n=t.getModel("aria");if(n.get("show"))if(n.get("description"))e.setAttribute("aria-label",n.get("description"));else{var o=0;t.eachSeries((function(e,t){++o}),this);var s,l=n.get("data.maxCount")||10,u=n.get("series.maxCount")||10,c=Math.min(o,u);if(!(o<1)){var d=m();s=d?p(g("general.withTitle"),{title:d}):g("general.withoutTitle");var h=[],f=o>1?"series.multiple.prefix":"series.single.prefix";s+=p(g(f),{seriesCount:o}),t.eachSeries((function(e,t){if(t<c){var n,r=e.get("name"),i="series."+(o>1?"multiple":"single")+".";n=g(r?i+"withName":i+"withoutName"),n=p(n,{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:v(e.subType)});var s=e.getData();window.data=s,s.count()>l?n+=p(g("data.partialData"),{displayCnt:l}):n+=g("data.allData");for(var u=[],d=0;d<s.count();d++)if(d<l){var f=s.getName(d),m=a(s,d);u.push(p(g(f?"data.withName":"data.withoutName"),{name:f,value:m}))}n+=u.join(g("data.separator.middle"))+g("data.separator.end"),h.push(n)}})),s+=h.join(g("series.multiple.separator.middle"))+g("series.multiple.separator.end"),e.setAttribute("aria-label",s)}}function p(e,t){if("string"!==typeof e)return e;var n=e;return r.each(t,(function(e,t){n=n.replace(new RegExp("\\{\\s*"+t+"\\s*\\}","g"),e)})),n}function g(e){var t=n.get(e);if(null==t){for(var r=e.split("."),o=i.aria,a=0;a<r.length;++a)o=o[r[a]];return o}return t}function m(){var e=t.getModel("title").option;return e&&e.length&&(e=e[0]),e&&e.text}function v(e){return i.series.typeNames[e]||"\u81ea\u5b9a\u4e49\u56fe"}}e.exports=s},uDWl:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("D3Dy"),i=n("/kV6"),o=n("MNsG"),a=new Array(230),s=new Array(112);function l(e){if(e.charCode){var t=String.fromCharCode(e.charCode).toUpperCase();return i["b"].fromString(t)}return a[e.keyCode]||0}(function(){for(var e=0;e<s.length;e++)s[e]=-1;function t(e,t){a[e]=t,s[t]=e}t(3,7),t(8,1),t(9,2),t(13,3),t(16,4),t(17,5),t(18,6),t(19,7),t(20,8),t(27,9),t(32,10),t(33,11),t(34,12),t(35,13),t(36,14),t(37,15),t(38,16),t(39,17),t(40,18),t(45,19),t(46,20),t(48,21),t(49,22),t(50,23),t(51,24),t(52,25),t(53,26),t(54,27),t(55,28),t(56,29),t(57,30),t(65,31),t(66,32),t(67,33),t(68,34),t(69,35),t(70,36),t(71,37),t(72,38),t(73,39),t(74,40),t(75,41),t(76,42),t(77,43),t(78,44),t(79,45),t(80,46),t(81,47),t(82,48),t(83,49),t(84,50),t(85,51),t(86,52),t(87,53),t(88,54),t(89,55),t(90,56),t(93,58),t(96,93),t(97,94),t(98,95),t(99,96),t(100,97),t(101,98),t(102,99),t(103,100),t(104,101),t(105,102),t(106,103),t(107,104),t(108,105),t(109,106),t(110,107),t(111,108),t(112,59),t(113,60),t(114,61),t(115,62),t(116,63),t(117,64),t(118,65),t(119,66),t(120,67),t(121,68),t(122,69),t(123,70),t(124,71),t(125,72),t(126,73),t(127,74),t(128,75),t(129,76),t(130,77),t(144,78),t(145,79),t(186,80),t(187,81),t(188,82),t(189,83),t(190,84),t(191,85),t(192,86),t(193,110),t(194,111),t(219,87),t(220,88),t(221,89),t(222,90),t(223,91),t(226,92),t(229,109),r["i"]?t(91,57):r["h"]?(t(59,80),t(107,81),t(109,83),o["e"]&&t(224,57)):r["m"]&&(t(91,57),o["e"]?t(93,57):t(92,57))})();var u=o["e"]?256:2048,c=512,d=1024,h=o["e"]?2048:256,f=function(){function e(e){this._standardKeyboardEventBrand=!0;var t=e;this.browserEvent=t,this.target=t.target,this.ctrlKey=t.ctrlKey,this.shiftKey=t.shiftKey,this.altKey=t.altKey,this.metaKey=t.metaKey,this.keyCode=l(t),this.code=t.code,this.ctrlKey=this.ctrlKey||5===this.keyCode,this.altKey=this.altKey||6===this.keyCode,this.shiftKey=this.shiftKey||4===this.keyCode,this.metaKey=this.metaKey||57===this.keyCode,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}return e.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},e.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},e.prototype.toKeybinding=function(){return this._asRuntimeKeybinding},e.prototype.equals=function(e){return this._asKeybinding===e},e.prototype._computeKeybinding=function(){var e=0;5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode);var t=0;return this.ctrlKey&&(t|=u),this.altKey&&(t|=c),this.shiftKey&&(t|=d),this.metaKey&&(t|=h),t|=e,t},e.prototype._computeRuntimeKeybinding=function(){var e=0;return 5!==this.keyCode&&4!==this.keyCode&&6!==this.keyCode&&57!==this.keyCode&&(e=this.keyCode),new i["e"](this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,e)},e}()},uK0f:function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t,n){n=n||{},n.childrenKeyName=n.childrenKeyName||"children";var r=e||[],i=[],o=0;do{var a=r.filter((function(e){return t(e,o)}))[0];if(!a)break;i.push(a),r=a[n.childrenKeyName]||[],o+=1}while(r.length>0);return i}return e}))},uOyE:function(e,t,n){var r=n("ProS");r.registerAction({type:"brush",event:"brush"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){}))},uQRt:function(e,t,n){function r(){return n("gaXo"),{}}e.exports=r},uWgD:function(e,t,n){},uaoM:function(e,t,n){"use strict";var r=n("Kwbf");t["a"]=function(e,t,n){Object(r["a"])(e,"[antd: ".concat(t,"] ").concat(n))}},uciX:function(e,t,n){"use strict";var r=n("rePB"),i=n("1OyB"),o=n("vuIU"),a=n("JX7q"),s=n("Ji7U"),l=n("md7G"),u=n("foSv"),c=n("q1tI"),d=n.n(c),h=n("i8i4"),f=n.n(h),p=n("l4aY"),g=n("m+aA"),m=n("c+Xe"),v=n("zT1h"),y=n("QC+M"),b=n("TSYQ"),_=n.n(b);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function S(e,t,n){var r=e[t]||{};return x(x({},r),n)}function O(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(C(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}var k,E=n("Ff2n"),D=n("xEkU"),M=n.n(D),N=n("ODXe"),L=n("U8pU");function I(e){return I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function j(){if(void 0!==k)return k;k="";var e=document.createElement("p").style,t="Transform";for(var n in R)n+t in e&&(k=n);return k}function F(){return j()?"".concat(j(),"TransitionProperty"):"transitionProperty"}function B(){return j()?"".concat(j(),"Transform"):"transform"}function V(e,t){var n=F();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function z(e,t){var n=B();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}function W(e){return e.style.transitionProperty||e.style[F()]}function H(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(B());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}var U=/matrix\((.*)\)/,K=/matrix3d\((.*)\)/;function G(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(B());if(r&&"none"!==r){var i,o=r.match(U);if(o)o=o[1],i=o.split(",").map((function(e){return parseFloat(e,10)})),i[4]=t.x,i[5]=t.y,z(e,"matrix(".concat(i.join(","),")"));else{var a=r.match(K)[1];i=a.split(",").map((function(e){return parseFloat(e,10)})),i[12]=t.x,i[13]=t.y,z(e,"matrix3d(".concat(i.join(","),")"))}}else z(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var q,Y=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;function X(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Z(e,t,n){var r=n;if("object"!==I(t))return"undefined"!==typeof r?("number"===typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):q(e,t);for(var i in t)t.hasOwnProperty(i)&&Z(e,i,t[i])}function Q(e){var t,n,r,i=e.ownerDocument,o=i.body,a=i&&i.documentElement;return t=e.getBoundingClientRect(),n=t.left,r=t.top,n-=a.clientLeft||o.clientLeft||0,r-=a.clientTop||o.clientTop||0,{left:n,top:r}}function $(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var i=e.document;n=i.documentElement[r],"number"!==typeof n&&(n=i.body[r])}return n}function J(e){return $(e)}function ee(e){return $(e,!0)}function te(e){var t=Q(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=J(r),t.top+=ee(r),t}function ne(e){return null!==e&&void 0!==e&&e==e.window}function re(e){return ne(e)?e.document:9===e.nodeType?e:e.ownerDocument}function ie(e,t,n){var r=n,i="",o=re(e);return r=r||o.defaultView.getComputedStyle(e,null),r&&(i=r.getPropertyValue(t)||r[t]),i}var oe=new RegExp("^(".concat(Y,")(?!px)[a-z%]+$"),"i"),ae=/^(top|right|bottom|left)$/,se="currentStyle",le="runtimeStyle",ue="left",ce="px";function de(e,t){var n=e[se]&&e[se][t];if(oe.test(n)&&!ae.test(t)){var r=e.style,i=r[ue],o=e[le][ue];e[le][ue]=e[se][ue],r[ue]="fontSize"===t?"1em":n||0,n=r.pixelLeft+ce,r[ue]=i,e[le][ue]=o}return""===n?"auto":n}function he(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function fe(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function pe(e,t,n){"static"===Z(e,"position")&&(e.style.position="relative");var r=-999,i=-999,o=he("left",n),a=he("top",n),s=fe(o),l=fe(a);"left"!==o&&(r=999),"top"!==a&&(i=999);var u="",c=te(e);("left"in t||"top"in t)&&(u=W(e)||"",V(e,"none")),"left"in t&&(e.style[s]="",e.style[o]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(i,"px")),X(e);var d=te(e),h={};for(var f in t)if(t.hasOwnProperty(f)){var p=he(f,n),g="left"===f?r:i,m=c[f]-d[f];h[p]=p===f?g+m:g-m}Z(e,h),X(e),("left"in t||"top"in t)&&V(e,u);var v={};for(var y in t)if(t.hasOwnProperty(y)){var b=he(y,n),_=t[y]-c[y];v[b]=y===b?h[b]+_:h[b]-_}Z(e,v)}function ge(e,t){var n=te(e),r=H(e),i={x:r.x,y:r.y};"left"in t&&(i.x=r.x+t.left-n.left),"top"in t&&(i.y=r.y+t.top-n.top),G(e,i)}function me(e,t,n){if(n.ignoreShake){var r=te(e),i=r.left.toFixed(0),o=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(i===a&&o===s)return}n.useCssRight||n.useCssBottom?pe(e,t,n):n.useCssTransform&&B()in document.body.style?ge(e,t):pe(e,t,n)}function ve(e,t){for(var n=0;n<e.length;n++)t(e[n])}function ye(e){return"border-box"===q(e,"boxSizing")}"undefined"!==typeof window&&(q=window.getComputedStyle?ie:de);var be=["margin","border","padding"],_e=-1,we=2,xe=1,Ce=0;function Se(e,t,n){var r,i={},o=e.style;for(r in t)t.hasOwnProperty(r)&&(i[r]=o[r],o[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(o[r]=i[r])}function Oe(e,t,n){var r,i,o,a=0;for(i=0;i<t.length;i++)if(r=t[i],r)for(o=0;o<n.length;o++){var s=void 0;s="border"===r?"".concat(r).concat(n[o],"Width"):r+n[o],a+=parseFloat(q(e,s))||0}return a}var ke={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function Ee(e,t,n){var r=n;if(ne(e))return"width"===t?ke.viewportWidth(e):ke.viewportHeight(e);if(9===e.nodeType)return"width"===t?ke.docWidth(e):ke.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=(q(e),ye(e)),s=0;(null===o||void 0===o||o<=0)&&(o=void 0,s=q(e,t),(null===s||void 0===s||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?xe:_e);var l=void 0!==o||a,u=o||s;return r===_e?l?u-Oe(e,["border","padding"],i):s:l?r===xe?u:u+(r===we?-Oe(e,["border"],i):Oe(e,["margin"],i)):s+Oe(e,be.slice(r),i)}ve(["Width","Height"],(function(e){ke["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],ke["viewport".concat(e)](n))},ke["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,i=r.body,o=r.documentElement,a=o[n];return"CSS1Compat"===r.compatMode&&a||i&&i[n]||a}}));var De={position:"absolute",visibility:"hidden",display:"block"};function Me(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return 0!==i.offsetWidth?r=Ee.apply(void 0,t):Se(i,De,(function(){r=Ee.apply(void 0,t)})),r}function Ne(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}ve(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);ke["outer".concat(t)]=function(t,n){return t&&Me(t,e,n?Ce:xe)};var n="width"===e?["Left","Right"]:["Top","Bottom"];ke[e]=function(t,r){var i=r;if(void 0===i)return t&&Me(t,e,_e);if(t){q(t);var o=ye(t);return o&&(i+=Oe(t,["padding","border"],n)),Z(t,e,i)}}}));var Le={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:re,offset:function(e,t,n){if("undefined"===typeof t)return te(e);me(e,t,n||{})},isWindow:ne,each:ve,css:Z,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);var r=e.overflow;if(r)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:Ne,getWindowScrollLeft:function(e){return J(e)},getWindowScrollTop:function(e){return ee(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)Le.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};Ne(Le,ke);var Ie=Le.getParent;function Te(e){if(Le.isWindow(e)||9===e.nodeType)return null;var t,n=Le.getDocument(e),r=n.body,i=Le.css(e,"position"),o="fixed"===i||"absolute"===i;if(!o)return"html"===e.nodeName.toLowerCase()?null:Ie(e);for(t=Ie(e);t&&t!==r&&9!==t.nodeType;t=Ie(t))if(i=Le.css(t,"position"),"static"!==i)return t;return null}var Pe=Le.getParent;function Ae(e){if(Le.isWindow(e)||9===e.nodeType)return!1;var t=Le.getDocument(e),n=t.body,r=null;for(r=Pe(e);r&&r!==n;r=Pe(r)){var i=Le.css(r,"position");if("fixed"===i)return!0}return!1}function Re(e,t){var n={left:0,right:1/0,top:0,bottom:1/0},r=Te(e),i=Le.getDocument(e),o=i.defaultView||i.parentWindow,a=i.body,s=i.documentElement;while(r){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===Le.css(r,"overflow")){if(r===a||r===s)break}else{var l=Le.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=Te(r)}var u=null;if(!Le.isWindow(e)&&9!==e.nodeType){u=e.style.position;var c=Le.css(e,"position");"absolute"===c&&(e.style.position="fixed")}var d=Le.getWindowScrollLeft(o),h=Le.getWindowScrollTop(o),f=Le.viewportWidth(o),p=Le.viewportHeight(o),g=s.scrollWidth,m=s.scrollHeight,v=window.getComputedStyle(a);if("hidden"===v.overflowX&&(g=o.innerWidth),"hidden"===v.overflowY&&(m=o.innerHeight),e.style&&(e.style.position=u),t||Ae(e))n.left=Math.max(n.left,d),n.top=Math.max(n.top,h),n.right=Math.min(n.right,d+f),n.bottom=Math.min(n.bottom,h+p);else{var y=Math.max(g,d+f);n.right=Math.min(n.right,y);var b=Math.max(m,h+p);n.bottom=Math.min(n.bottom,b)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function je(e,t,n,r){var i=Le.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),Le.mix(i,o)}function Fe(e){var t,n,r;if(Le.isWindow(e)||9===e.nodeType){var i=Le.getWindow(e);t={left:Le.getWindowScrollLeft(i),top:Le.getWindowScrollTop(i)},n=Le.viewportWidth(i),r=Le.viewportHeight(i)}else t=Le.offset(e),n=Le.outerWidth(e),r=Le.outerHeight(e);return t.width=n,t.height=r,t}function Be(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,s=e.top;return"c"===n?s+=o/2:"b"===n&&(s+=o),"c"===r?a+=i/2:"r"===r&&(a+=i),{left:a,top:s}}function Ve(e,t,n,r,i){var o=Be(t,n[1]),a=Be(e,n[0]),s=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-s[0]+r[0]-i[0]),top:Math.round(e.top-s[1]+r[1]-i[1])}}function ze(e,t,n){return e.left<n.left||e.left+t.width>n.right}function We(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function He(e,t,n){return e.left>n.right||e.left+t.width<n.left}function Ue(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function Ke(e,t,n){var r=[];return Le.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Ge(e,t){return e[t]=-e[t],e}function qe(e,t){var n;return n=/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10),n||0}function Ye(e,t){e[0]=qe(e[0],t.width),e[1]=qe(e[1],t.height)}function Xe(e,t,n,r){var i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;o=[].concat(o),a=[].concat(a),s=s||{};var u={},c=0,d=!(!s||!s.alwaysByViewport),h=Re(l,d),f=Fe(l);Ye(o,f),Ye(a,t);var p=Ve(f,t,i,o,a),g=Le.merge(f,p);if(h&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&ze(p,f,h)){var m=Ke(i,/[lr]/gi,{l:"r",r:"l"}),v=Ge(o,0),y=Ge(a,0),b=Ve(f,t,m,v,y);He(b,f,h)||(c=1,i=m,o=v,a=y)}if(s.adjustY&&We(p,f,h)){var _=Ke(i,/[tb]/gi,{t:"b",b:"t"}),w=Ge(o,1),x=Ge(a,1),C=Ve(f,t,_,w,x);Ue(C,f,h)||(c=1,i=_,o=w,a=x)}c&&(p=Ve(f,t,i,o,a),Le.mix(g,p));var S=ze(p,f,h),O=We(p,f,h);if(S||O){var k=i;S&&(k=Ke(i,/[lr]/gi,{l:"r",r:"l"})),O&&(k=Ke(i,/[tb]/gi,{t:"b",b:"t"})),i=k,o=n.offset||[0,0],a=n.targetOffset||[0,0]}u.adjustX=s.adjustX&&S,u.adjustY=s.adjustY&&O,(u.adjustX||u.adjustY)&&(g=je(p,f,h,u))}return g.width!==f.width&&Le.css(l,"width",Le.width(l)+g.width-f.width),g.height!==f.height&&Le.css(l,"height",Le.height(l)+g.height-f.height),Le.offset(l,{left:g.left,top:g.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:a,overflow:u}}function Ze(e,t){var n=Re(e,t),r=Fe(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}function Qe(e,t,n){var r=n.target||t,i=Fe(r),o=!Ze(r,n.overflow&&n.overflow.alwaysByViewport);return Xe(e,i,n,o)}function $e(e,t,n){var r,i,o=Le.getDocument(e),a=o.defaultView||o.parentWindow,s=Le.getWindowScrollLeft(a),l=Le.getWindowScrollTop(a),u=Le.viewportWidth(a),c=Le.viewportHeight(a);r="pageX"in t?t.pageX:s+t.clientX,i="pageY"in t?t.pageY:l+t.clientY;var d={left:r,top:i,width:0,height:0},h=r>=0&&r<=s+u&&i>=0&&i<=l+c,f=[n.points[0],"cc"];return Xe(e,d,A({},n,{points:f}),h)}Qe.__getOffsetParent=Te,Qe.__getVisibleRectForElement=Re;var Je=n("bdgK");function et(e,t){return e===t||!(!e||!t)&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&(e.clientX===t.clientX&&e.clientY===t.clientY))}function tt(e,t){e!==document.activeElement&&Object(p["a"])(t,e)&&e.focus()}function nt(e,t){var n=null,r=null;function i(e){var i=Object(N["a"])(e,1),o=i[0].target,a=o.getBoundingClientRect(),s=a.width,l=a.height,u=Math.floor(s),c=Math.floor(l);n===u&&r===c||t({width:u,height:c}),n=u,r=c}var o=new Je["default"](i);return e&&o.observe(e),function(){o.disconnect()}}var rt=function(e,t){var n=d.a.useRef(!1),r=d.a.useRef(null);function i(){window.clearTimeout(r.current)}function o(a){if(n.current&&!0!==a)i(),r.current=window.setTimeout((function(){n.current=!1,o()}),t);else{if(!1===e())return;n.current=!0,i(),r.current=window.setTimeout((function(){n.current=!1}),t)}}return[o,function(){n.current=!1,i()}]};function it(e){return"function"!==typeof e?null:e()}function ot(e){return"object"===Object(L["a"])(e)&&e?e:null}var at=function(e,t){var n=e.children,r=e.disabled,i=e.target,o=e.align,a=e.onAlign,s=e.monitorWindowResize,l=e.monitorBufferTime,u=void 0===l?0:l,c=d.a.useRef({}),h=d.a.useRef(),f=d.a.Children.only(n),p=d.a.useRef({});p.current.disabled=r,p.current.target=i,p.current.onAlign=a;var g=rt((function(){var e=p.current,t=e.disabled,n=e.target;if(!t&&n){var r,i=h.current,s=it(n),l=ot(n);c.current.element=s,c.current.point=l;var u=document,d=u.activeElement;return s?r=Qe(i,s,o):l&&(r=$e(i,l,o)),tt(d,i),a&&a(i,r),!0}return!1}),u),y=Object(N["a"])(g,2),b=y[0],_=y[1],w=d.a.useRef({cancel:function(){}}),x=d.a.useRef({cancel:function(){}});d.a.useEffect((function(){var e=it(i),t=ot(i);h.current!==x.current.element&&(x.current.cancel(),x.current.element=h.current,x.current.cancel=nt(h.current,b)),c.current.element===e&&et(c.current.point,t)||(b(),w.current.element!==e&&(w.current.cancel(),w.current.element=e,w.current.cancel=nt(e,b)))})),d.a.useEffect((function(){r?_():b()}),[r]);var C=d.a.useRef(null);return d.a.useEffect((function(){s?C.current||(C.current=Object(v["a"])(window,"resize",b)):C.current&&(C.current.remove(),C.current=null)}),[s]),d.a.useEffect((function(){return function(){w.current.cancel(),x.current.cancel(),C.current&&C.current.remove(),_()}}),[]),d.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return b(!0)}}})),d.a.isValidElement(f)&&(f=d.a.cloneElement(f,{ref:Object(m["a"])(f.ref,h)})),f},st=d.a.forwardRef(at);st.displayName="Align";var lt=st,ut=lt,ct=n("lCnp"),dt=function(e,t){var n=e.prefixCls,r=e.className,i=e.visible,o=e.style,a=e.children,s=e.onMouseEnter,l=e.onMouseLeave,u=e.onMouseDown,c=e.onTouchStart,h=a;return d.a.Children.count(a)>1&&(h=d.a.createElement("div",{className:"".concat(n,"-content")},a)),d.a.createElement("div",{ref:t,className:_()(r,!i&&"".concat(e.hiddenClassName)),onMouseEnter:s,onMouseLeave:l,onMouseDown:u,onTouchStart:c,style:o},h)},ht=d.a.forwardRef(dt);ht.displayName="PopupInner";var ft=ht;function pt(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vt(e){var t=yt();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var bt=ct["a"];function _t(e){return e&&e.motionName}var wt=function(e){Object(s["a"])(n,e);var t=vt(n);function n(){var e;return Object(i["a"])(this,n),e=t.apply(this,arguments),e.state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null},e.popupRef=d.a.createRef(),e.alignRef=d.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,i=e.props,o=i.getClassNameFromAlign,a=i.onAlign,s=o(n);"align"===r?e.setState({alignClassName:s,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:s,status:"afterAlign"}),a(t,n)):e.setState({alignClassName:s})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable"})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=mt(mt({},e.nextFrameState),t),e.nextFrameId=M()((function(){var t=mt({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return mt({},pt(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){M.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,r=t.targetHeight,i=t.targetWidth,o=t.alignClassName,a=e.props,s=a.prefixCls,l=a.className,u=a.style,c=a.stretch,h=a.visible,f=a.align,p=a.destroyPopupOnHide,g=a.onMouseEnter,v=a.onMouseLeave,y=a.onMouseDown,b=a.onTouchStart,w=a.children,x=_()(s,l,o),C="".concat(s,"-hidden"),S={};c&&(-1!==c.indexOf("height")?S.height=r:-1!==c.indexOf("minHeight")&&(S.minHeight=r),-1!==c.indexOf("width")?S.width=i:-1!==c.indexOf("minWidth")&&(S.minWidth=i));var O=mt(mt(mt(mt({},S),e.getZIndexStyle()),u),{},{opacity:"stable"!==n&&h?0:void 0}),k=e.getMotion(),E=h;h&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(k.motionAppear=!1,k.motionEnter=!1,k.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(E=!1);var D=!h||"align"!==n&&"aligned"!==n&&"stable"!==n,M=!0;return"stable"===n&&(M=h),p&&!M?null:d.a.createElement(bt,Object.assign({visible:E},k,{removeOnLeave:!1,onEnterEnd:e.onMotionEnd,onLeaveEnd:e.onMotionEnd}),(function(t,n){var r=t.style,i=t.className;return d.a.createElement(ut,{target:e.getAlignTarget(),key:"popup",ref:e.alignRef,monitorWindowResize:!0,disabled:D,align:f,onAlign:e.onAlign},d.a.createElement(ft,{prefixCls:s,visible:M,hiddenClassName:C,className:_()(x,i),ref:Object(m["a"])(n,e.popupRef),onMouseEnter:g,onMouseLeave:v,onMouseDown:y,onTouchStart:b,style:mt(mt({},O),r)},w))}))},e.renderMaskElement=function(){var t=e.props,n=t.mask,r=t.maskMotion,i=t.maskTransitionName,o=t.maskAnimation,a=t.prefixCls,s=t.visible;if(!n)return null;var l={};return r&&r.motionName&&(l=mt({motionAppear:!0},pt({motion:r,prefixCls:a,transitionName:i,animation:o}))),d.a.createElement(bt,Object.assign({},l,{visible:s,removeOnLeave:!0}),(function(t){var n=t.className;return d.a.createElement("div",{style:e.getZIndexStyle(),key:"mask",className:_()("".concat(a,"-mask"),n)})}))},e}return Object(o["a"])(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e=this.state.status,t=this.props,n=t.getRootDomNode,r=t.visible,i=t.stretch;if(this.cancelFrameState(),r&&"stable"!==e)switch(e){case null:this.setStateOnNextFrame({status:i?"measure":"align"});break;case"afterAlign":this.setStateOnNextFrame({status:_t(this.getMotion())?"beforeMotion":"stable"});break;case"AfterMotion":this.setStateOnNextFrame({status:"stable"});break;default:var o=["measure","align",null,"beforeMotion","motion"],a=o.indexOf(e),s=o[a+1];-1!==a&&s&&this.setStateOnNextFrame({status:s})}if("measure"===e){var l=n();l&&this.setStateOnNextFrame({targetHeight:l.offsetHeight,targetWidth:l.offsetWidth})}}},{key:"componentWillUnmount",value:function(){this.cancelFrameState()}},{key:"getZIndexStyle",value:function(){var e=this.props.zIndex;return{zIndex:e}}},{key:"render",value:function(){return d.a.createElement("div",null,this.renderMaskElement(),this.renderPopupElement())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.visible,r=Object(E["a"])(e,["visible"]),i=t.prevVisible,o=t.status,a={prevVisible:n,status:o},s=pt(r);return null===i&&!1===n?a.status="stable":n!==i&&(n||_t(s)&&["motion","AfterMotion","stable"].includes(o)?a.status=null:a.status="stable",n&&(a.alignClassName=null)),a}}]),n}(c["Component"]),xt=wt,Ct=d.a.createContext(null),St=Ct;function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){Object(r["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Et(e){var t=Dt();return function(){var n,r=Object(u["a"])(e);if(t){var i=Object(u["a"])(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Object(l["a"])(this,n)}}function Dt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Mt(){}function Nt(){return""}function Lt(){return window.document}var It=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Tt(e){var t=function(t){Object(s["a"])(r,t);var n=Et(r);function r(e){var t,o;return Object(i["a"])(this,r),t=n.call(this,e),t.popupRef=d.a.createRef(),t.triggerRef=d.a.createRef(),t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t.popupRef.current&&t.popupRef.current.popupRef.current&&Object(p["a"])(t.popupRef.current.popupRef.current,e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),i=t.getPopupDomNode();Object(p["a"])(r,n)||Object(p["a"])(i,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e=t.props.getTriggerDOMNode;if(e)return e(t.triggerRef.current);try{var n=Object(g["a"])(t.triggerRef.current);if(n)return n}catch(r){}return f.a.findDOMNode(Object(a["a"])(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return i&&o&&n.push(O(o,a,e,s)),l&&n.push(l(e)),n.join(" ")},t.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,i=e.popupClassName,o=e.onPopupAlign,a=e.popupMotion,s=e.popupAnimation,l=e.popupTransitionName,u=e.popupStyle,c=e.mask,h=e.maskAnimation,f=e.maskTransitionName,p=e.maskMotion,g=e.zIndex,m=e.popup,v=e.stretch,y=e.alignPoint,b=t.state,_=b.popupVisible,w=b.point,x=t.getPopupAlign(),C={};return t.isMouseEnterToShow()&&(C.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(C.onMouseLeave=t.onPopupMouseLeave),C.onMouseDown=t.onPopupMouseDown,C.onTouchStart=t.onPopupMouseDown,d.a.createElement(xt,Object.assign({prefixCls:n,destroyPopupOnHide:r,visible:_,point:y&&w,className:i,align:x,onAlign:o,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},C,{stretch:v,getRootDomNode:t.getRootDomNode,style:u,mask:c,zIndex:g,transitionName:l,maskAnimation:h,maskTransitionName:f,maskMotion:p,ref:t.popupRef,motion:a}),"function"===typeof m?m():m)},t.getContainer=function(){var e=Object(a["a"])(t),n=e.props,r=document.createElement("div");r.style.position="absolute",r.style.top="0",r.style.left="0",r.style.width="100%";var i=n.getPopupContainer?n.getPopupContainer(t.getRootDomNode()):n.getDocument().body;return i.appendChild(r),r},t.setPoint=function(e){var n=t.props.alignPoint;n&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},t.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},o="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,t.state={prevPopupVisible:o,popupVisible:o},It.forEach((function(e){t["fire".concat(e)]=function(n){t.fireEvents(e,n)}})),t}return Object(o["a"])(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props,n=this.state;if(n.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(),this.clickOutsideHandler=Object(v["a"])(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(),this.touchOutsideHandler=Object(v["a"])(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(),this.contextMenuOutsideHandler1=Object(v["a"])(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(v["a"])(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)}},{key:"getPopupDomNode",value:function(){return this.popupRef.current&&this.popupRef.current.popupRef.current?this.popupRef.current.popupRef.current:null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?S(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){this.state.popupVisible&&this.popupRef.current&&this.popupRef.current.alignRef.current&&this.popupRef.current.alignRef.current.forceAlign()}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,s=n.autoDestroy,l=d.a.Children.only(r),u={key:"trigger"};this.isContextMenuToShow()?u.onContextMenu=this.onContextMenu:u.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(u.onClick=this.onClick,u.onMouseDown=this.onMouseDown,u.onTouchStart=this.onTouchStart):(u.onClick=this.createTwoChains("onClick"),u.onMouseDown=this.createTwoChains("onMouseDown"),u.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(u.onMouseEnter=this.onMouseEnter,o&&(u.onMouseMove=this.onMouseMove)):u.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?u.onMouseLeave=this.onMouseLeave:u.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(u.onFocus=this.onFocus,u.onBlur=this.onBlur):(u.onFocus=this.createTwoChains("onFocus"),u.onBlur=this.createTwoChains("onBlur"));var c=_()(l&&l.props&&l.props.className,a);c&&(u.className=c);var h=kt({},u);Object(m["b"])(l)&&(h.ref=Object(m["a"])(this.triggerRef,l.ref));var f,p=d.a.cloneElement(l,h);return(t||this.popupRef.current||i)&&(f=d.a.createElement(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&s&&(f=null),d.a.createElement(St.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},p,f)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),r}(d.a.Component);return t.contextType=St,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Nt,getDocument:Lt,onPopupVisibleChange:Mt,afterPopupVisibleChange:Mt,onPopupAlign:Mt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}t["a"]=Tt(y["a"])},ufhN:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return n.e(217).then(n.bind(null,"rMIR"))}})},ugBc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"};t.default=r},ujyM:function(e,t,n){},ul5b:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s}));var r=n("ZvpZ");function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var o=i({},r["a"].Modal);function a(e){o=e?i(i({},o),e):i({},r["a"].Modal)}function s(){return o}},undH:function(e,t,n){},v56E:function(e,t,n){},v5uJ:function(e,t,n){var r=n("ProS"),i=n("2B6p"),o=i.updateCenterAndZoom;r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=e.dataIndex,r=t.getData().tree,i=r.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},(function(t){var n=t.coordinateSystem,r=o(n,e);t.setCenter&&t.setCenter(r.center),t.setZoom&&t.setZoom(r.zoom)}))}))},vATl:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"c",(function(){return b}));var r=n("N0LK"),i=n("JQT/"),o=n("pmY6"),a=n("sswD"),s=n("T8No"),l=n("24hK"),u=n("Cg/j"),c=n("9fML"),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=Object(u["c"])("IEditorCancelService"),f=new s["d"]("cancellableOperation",!1);Object(c["b"])(h,function(){function e(){this._tokens=new WeakMap}return e.prototype.add=function(e,t){var n,r=this._tokens.get(e);return r||(r=e.invokeWithinContext((function(e){var t=f.bindTo(e.get(s["c"])),n=new l["a"];return{key:t,tokens:n}})),this._tokens.set(e,r)),r.key.set(!0),n=r.tokens.push(t),function(){n&&(n(),r.key.set(!r.tokens.isEmpty()),n=void 0)}},e.prototype.cancel=function(e){var t=this._tokens.get(e);if(t){var n=t.tokens.pop();n&&(n.cancel(),t.key.set(!t.tokens.isEmpty()))}},e}(),!0);var p=function(e){function t(t,n){var r=e.call(this,n)||this;return r.editor=t,r._unregister=t.invokeWithinContext((function(e){return e.get(h).add(t,r)})),r}return d(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(i["b"]);Object(a["g"])(new(function(e){function t(){return e.call(this,{id:"editor.cancelOperation",kbOpts:{weight:100,primary:9},precondition:f})||this}return d(t,e),t.prototype.runEditorCommand=function(e,t){e.get(h).cancel(t)},t}(a["c"])));var g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(){function e(e,t){if(this.flags=t,0!==(1&this.flags)){var n=e.getModel();this.modelVersionId=n?r["r"]("{0}#{1}",n.uri.toString(),n.getVersionId()):null}else this.modelVersionId=null;0!==(4&this.flags)?this.position=e.getPosition():this.position=null,0!==(2&this.flags)?this.selection=e.getSelection():this.selection=null,0!==(8&this.flags)?(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop()):(this.scrollLeft=-1,this.scrollTop=-1)}return e.prototype._equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.modelVersionId===n.modelVersionId&&(this.scrollLeft===n.scrollLeft&&this.scrollTop===n.scrollTop&&(!(!this.position&&n.position||this.position&&!n.position||this.position&&n.position&&!this.position.equals(n.position))&&!(!this.selection&&n.selection||this.selection&&!n.selection||this.selection&&n.selection&&!this.selection.equalsRange(n.selection))))},e.prototype.validate=function(t){return this._equals(new e(t,this.flags))},e}(),v=function(e){function t(t,n,r){var i=e.call(this,t,r)||this;return i.editor=t,i._listener=new o["b"],4&n&&i._listener.add(t.onDidChangeCursorPosition((function(e){return i.cancel()}))),2&n&&i._listener.add(t.onDidChangeCursorSelection((function(e){return i.cancel()}))),8&n&&i._listener.add(t.onDidScrollChange((function(e){return i.cancel()}))),1&n&&(i._listener.add(t.onDidChangeModel((function(e){return i.cancel()}))),i._listener.add(t.onDidChangeModelContent((function(e){return i.cancel()})))),i}return g(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)},t}(p),y=function(e){function t(t,n){var r=e.call(this,n)||this;return r._listener=t.onDidChangeContent((function(){return r.cancel()})),r}return g(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)},t}(i["b"]),b=function(){function e(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}return e.capture=function(t){var n=null,r=0;if(0!==t.getScrollTop()){var i=t.getVisibleRanges();if(i.length>0){n=i[0].getStartPosition();var o=t.getTopForPosition(n.lineNumber,n.column);r=t.getScrollTop()-o}}return new e(n,r)},e.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},e}()},"vF/C":function(e,t,n){var r=n("bLfw");r.registerSubTypeDefaulter("visualMap",(function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}))},vKoX:function(e,t,n){var r=n("SrGk"),i=n("bYtY");function o(e,t){r.call(this,e,t,["filter"],"__filter_in_use__","_shadowDom")}function a(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY||e.textShadowBlur||e.textShadowOffsetX||e.textShadowOffsetY)}i.inherits(o,r),o.prototype.addWithoutUpdate=function(e,t){if(t&&a(t.style)){var n;if(t._shadowDom){n=t._shadowDom;var r=this.getDefs(!0);r.contains(t._shadowDom)||this.addDom(n)}else n=this.add(t);this.markUsed(t);var i=n.getAttribute("id");e.style.filter="url(#"+i+")"}},o.prototype.add=function(e){var t=this.createElement("filter");return e._shadowDomId=e._shadowDomId||this.nextId++,t.setAttribute("id","zr"+this._zrId+"-shadow-"+e._shadowDomId),this.updateDom(e,t),this.addDom(t),t},o.prototype.update=function(e,t){var n=t.style;if(a(n)){var i=this;r.prototype.update.call(this,t,(function(){i.updateDom(t,t._shadowDom)}))}else this.remove(e,t)},o.prototype.remove=function(e,t){null!=t._shadowDomId&&(this.removeDom(e),e.style.filter="")},o.prototype.updateDom=function(e,t){var n=t.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var r,i,o,a,s=e.style,l=e.scale&&e.scale[0]||1,u=e.scale&&e.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)r=s.shadowOffsetX||0,i=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(t,s);r=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",r/l),n.setAttribute("dy",i/u),n.setAttribute("flood-color",a);var c=o/2/l,d=o/2/u,h=c+" "+d;n.setAttribute("stdDeviation",h),t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width",Math.ceil(o/2*200)+"%"),t.setAttribute("height",Math.ceil(o/2*200)+"%"),t.appendChild(n),e._shadowDom=t},o.prototype.markUsed=function(e){e._shadowDom&&r.prototype.markUsed.call(this,e._shadowDom)};var s=o;e.exports=s},vL6D:function(e,t,n){var r=n("bYtY"),i=n("+rIm"),o=n("IwbS"),a=n("7bkD"),s=n("Znkb"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,d=["axisLine","axisTickLabel","axisName"],h=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(e,t,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new o.Group;var c=a.layout(e),p=new i(e,c);r.each(d,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),r.each(h,(function(t){e.get(t+".show")&&this["_"+t](e)}),this),o.groupTransition(u,this._axisGroup,e),f.superCall(this,"render",e,t,n,s)},remove:function(){c(this)},_splitLine:function(e){var t=e.axis;if(!t.scale.isBlank()){var n=e.getModel("splitLine"),r=n.getModel("lineStyle"),i=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=e.coordinateSystem.getRect(),l=t.isHorizontal(),u=[],c=0,d=t.getTicksCoords({tickModel:n}),h=[],f=[],p=0;p<d.length;++p){var g=t.toGlobalCoord(d[p].coord);l?(h[0]=g,h[1]=s.y,f[0]=g,f[1]=s.y+s.height):(h[0]=s.x,h[1]=g,f[0]=s.x+s.width,f[1]=g);var m=c++%a.length;u[m]=u[m]||[],u[m].push(new o.Line({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:{lineWidth:i},silent:!0}))}for(p=0;p<u.length;++p)this.group.add(o.mergePath(u[p],{style:{stroke:a[p%a.length],lineDash:r.getLineDash(i),lineWidth:i},silent:!0}))}},_splitArea:function(e){u(this,this._axisGroup,e,e)}}),p=f;e.exports=p},vWvF:function(e,t,n){var r=n("Bq2U"),i=n("SUKs"),o=n("bYtY"),a=o.isString,s=o.isFunction,l=o.isObject,u=o.isArrayLike,c=o.indexOf,d=function(){this.animators=[]};function h(e,t,n,r,i,o,l,u){a(r)?(o=i,i=r,r=0):s(i)?(o=i,i="linear",r=0):s(r)?(o=r,r=0):s(n)?(o=n,n=500):n||(n=500),e.stopAnimation(),f(e,"",e,t,n,r,u);var c=e.animators.slice(),d=c.length;function h(){d--,d||o&&o()}d||o&&o();for(var p=0;p<c.length;p++)c[p].done(h).start(i,l)}function f(e,t,n,r,i,o,a){var s={},c=0;for(var d in r)r.hasOwnProperty(d)&&(null!=n[d]?l(r[d])&&!u(r[d])?f(e,t?t+"."+d:d,n[d],r[d],i,o,a):(a?(s[d]=n[d],p(e,t,d,r[d])):s[d]=r[d],c++):null==r[d]||a||p(e,t,d,r[d]));c>0&&e.animate(t,!1).when(null==i?500:i,s).delay(o||0)}function p(e,t,n,r){if(t){var i={};i[t]={},i[t][n]=r,e.attr(i)}else e.attr(n,r)}d.prototype={constructor:d,animate:function(e,t){var n,o=!1,a=this,s=this.__zr;if(e){var l=e.split("."),u=a;o="shape"===l[0];for(var d=0,h=l.length;d<h;d++)u&&(u=u[l[d]]);u&&(n=u)}else n=a;if(n){var f=a.animators,p=new r(n,t);return p.during((function(e){a.dirty(o)})).done((function(){f.splice(c(f,p),1)})),f.push(p),s&&s.animation.addAnimator(p),p}i('Property "'+e+'" is not existed in element '+a.id)},stopAnimation:function(e){for(var t=this.animators,n=t.length,r=0;r<n;r++)t[r].stop(e);return t.length=0,this},animateTo:function(e,t,n,r,i,o){h(this,e,t,n,r,i,o)},animateFrom:function(e,t,n,r,i,o){h(this,e,t,n,r,i,o,!0)}};var g=d;e.exports=g},vZ6x:function(e,t,n){var r=n("Tghj"),i=(r.__DEV__,n("bYtY")),o=n("IwbS"),a=n("4NO4"),s=n("9KIM"),l=i.each,u=i.indexOf,c=i.curry,d=["dataToPoint","pointToData"],h=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function f(e,t,n){var r=this._targetInfoList=[],i={},o=m(t,e);l(v,(function(e,t){(!n||!n.include||u(n.include,t)>=0)&&e(o,r,i)}))}var p=f.prototype;function g(e){return e[0]>e[1]&&e.reverse(),e}function m(e,t){return a.parseFinder(e,t,{includeMainTypes:h})}p.setOutputRanges=function(e,t){this.matchOutputRanges(e,t,(function(e,t,n){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var r=_[e.brushType](0,n,t);e.__rangeOffset={offset:x[e.brushType](r.values,e.range,[1,1]),xyMinMax:r.xyMinMax}}}))},p.matchOutputRanges=function(e,t,n){l(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&i.each(r.coordSyses,(function(r){var i=_[e.brushType](1,r,e.range);n(e,i.values,r,t)}))}),this)},p.setInputRanges=function(e,t){l(e,(function(e){var n=this.findTargetInfo(e,t);if(e.range=e.range||[],n&&!0!==n){e.panelId=n.panelId;var r=_[e.brushType](0,n.coordSys,e.coordRange),i=e.__rangeOffset;e.range=i?x[e.brushType](r.values,i.offset,S(r.xyMinMax,i.xyMinMax)):r.values}}),this)},p.makePanelOpts=function(e,t){return i.map(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t&&t(n),clipPath:s.makeRectPanelClipPath(r),isTargetByCursor:s.makeRectIsTargetByCursor(r,e,n.coordSysModel),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(r)}}))},p.controlSeries=function(e,t,n){var r=this.findTargetInfo(e,n);return!0===r||r&&u(r.coordSyses,t.coordinateSystem)>=0},p.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=m(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(i=0;i<y.length;i++)if(y[i](r,o))return o}return!0};var v={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,o=e.gridModels,a=i.createHashMap(),s={},c={};(n||r||o)&&(l(n,(function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0})),l(r,(function(e){var t=e.axis.grid.model;a.set(t.id,t),c[t.id]=!0})),l(o,(function(e){a.set(e.id,e),s[e.id]=!0,c[e.id]=!0})),a.each((function(e){var i=e.coordinateSystem,o=[];l(i.getCartesians(),(function(e,t){(u(n,e.getAxis("x").model)>=0||u(r,e.getAxis("y").model)>=0)&&o.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:o[0],coordSyses:o,getPanelRect:b.grid,xAxisDeclared:s[e.id],yAxisDeclared:c[e.id]})})))},geo:function(e,t){l(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:b.geo})}))}},y=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,i=e.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],b={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(o.getTransform(e)),t}},_={lineX:c(w,0),lineY:c(w,1),rect:function(e,t,n){var r=t[d[e]]([n[0][0],n[1][0]]),i=t[d[e]]([n[0][1],n[1][1]]),o=[g([r[0],i[0]]),g([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n){var r=[[1/0,-1/0],[1/0,-1/0]],o=i.map(n,(function(n){var i=t[d[e]](n);return r[0][0]=Math.min(r[0][0],i[0]),r[1][0]=Math.min(r[1][0],i[1]),r[0][1]=Math.max(r[0][1],i[0]),r[1][1]=Math.max(r[1][1],i[1]),i}));return{values:o,xyMinMax:r}}};function w(e,t,n,r){var o=n.getAxis(["x","y"][e]),a=g(i.map([0,1],(function(e){return t?o.coordToData(o.toLocalCoord(r[e])):o.toGlobalCoord(o.dataToCoord(r[e]))}))),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var x={lineX:c(C,0),lineY:c(C,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return i.map(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function C(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function S(e,t){var n=O(e),r=O(t),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function O(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var k=f;e.exports=k},vZI5:function(e,t,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG"),a=o.seriesModelMixin,s=i.extend({type:"series.candlestick",dependencies:["xAxis","yAxis","grid"],defaultValueDimensions:[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],dimensions:null,defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,layout:null,clip:!0,itemStyle:{color:"#c23531",color0:"#314656",borderWidth:1,borderColor:"#c23531",borderColor0:"#314656"},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationUpdate:!1,animationEasing:"linear",animationDuration:300},getShadowDim:function(){return"open"},brushSelector:function(e,t,n){var r=t.getItemLayout(e);return r&&n.rect(r.brushRect)}});r.mixin(s,a,!0);var l=s;e.exports=l},vafp:function(e,t,n){var r=n("bYtY"),i=n("8nly");function o(e){if(!e.UTF8Encoding)return e;var t=e.UTF8Scale;null==t&&(t=1024);for(var n=e.features,r=0;r<n.length;r++)for(var i=n[r],o=i.geometry,s=o.coordinates,l=o.encodeOffsets,u=0;u<s.length;u++){var c=s[u];if("Polygon"===o.type)s[u]=a(c,l[u],t);else if("MultiPolygon"===o.type)for(var d=0;d<c.length;d++){var h=c[d];c[d]=a(h,l[u][d],t)}}return e.UTF8Encoding=!1,e}function a(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=e.charCodeAt(a)-64,l=e.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=i,l+=o,i=s,o=l,r.push([s/n,l/n])}return r}function s(e,t){return o(e),r.map(r.filter(e.features,(function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0})),(function(e){var n=e.properties,o=e.geometry,a=o.coordinates,s=[];"Polygon"===o.type&&s.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===o.type&&r.each(a,(function(e){e[0]&&s.push({type:"polygon",exterior:e[0],interiors:e.slice(1)})}));var l=new i(n[t||"name"],s,n.cp);return l.properties=n,l}))}e.exports=s},vcCh:function(e,t,n){var r=n("ProS");n("0qV/"),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},(function(t){t.setNodePosition(e.dataIndex,[e.localX,e.localY])}))}))},vg9a:function(e,t,n){},"vk+C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("RZPm"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},vl9R:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var r=Object.prototype.hasOwnProperty;function i(e,t){var n=function(n){if(r.call(e,n)){var i=t({key:n,value:e[n]},(function(){delete e[n]}));if(!1===i)return{value:void 0}}};for(var i in e){var o=n(i);if("object"===typeof o)return o.value}}var o=function(){function e(){this.map=new Map}return e.prototype.add=function(e,t){var n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)},e.prototype.delete=function(e,t){var n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))},e.prototype.forEach=function(e,t){var n=this.map.get(e);n&&n.forEach(t)},e}()},vwuL:function(e,t,n){var r=n("NV0k"),i=n("rr1i"),o=n("NsO/"),a=n("G8Mo"),s=n("B+OT"),l=n("eUtF"),u=Object.getOwnPropertyDescriptor;t.f=n("jmDH")?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},"w29/":function(e,t,n){"use strict";n.r(t);n("5DEy");var r=n("3/fG"),i=n("D3Dy"),o=n("MNsG"),a=n("5TxY"),s=n("sswD"),l=n("Vxe3"),u=n("wQH0"),c=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d="9_cutcopypaste",h=o["f"]||document.queryCommandSupported("cut"),f=o["f"]||document.queryCommandSupported("copy"),p=f&&!i["f"],g=o["f"]||!i["d"]&&document.queryCommandSupported("paste"),m=function(e){function t(t,n){var r=e.call(this,n)||this;return r.browserCommand=t,r}return c(t,e),t.prototype.runCommand=function(e,t){var n=e.get(l["a"]).getFocusedCodeEditor();n&&n.hasTextFocus()?n.trigger("keyboard",this.id,t):document.execCommand(this.browserCommand)},t.prototype.run=function(e,t){t.focus(),document.execCommand(this.browserCommand)},t}(s["b"]),v=function(e){function t(){var t=this,n={kbExpr:u["a"].textInputFocus,primary:2102,win:{primary:2102,secondary:[1044]},weight:100};return o["f"]||(n=void 0),t=e.call(this,"cut",{id:"editor.action.clipboardCutAction",label:r["a"]("actions.clipboard.cutLabel","Cut"),alias:"Cut",precondition:u["a"].writable,kbOpts:n,contextMenuOpts:{group:d,order:1},menuOpts:{menuId:17,group:"2_ccp",title:r["a"]({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1}})||this,t}return c(t,e),t.prototype.run=function(t,n){if(n.hasModel()){var r=n.getOption(25);!r&&n.getSelection().isEmpty()||e.prototype.run.call(this,t,n)}},t}(m),y=function(e){function t(){var t=this,n={kbExpr:u["a"].textInputFocus,primary:2081,win:{primary:2081,secondary:[2067]},weight:100};return o["f"]||(n=void 0),t=e.call(this,"copy",{id:"editor.action.clipboardCopyAction",label:r["a"]("actions.clipboard.copyLabel","Copy"),alias:"Copy",precondition:void 0,kbOpts:n,contextMenuOpts:{group:d,order:2},menuOpts:{menuId:17,group:"2_ccp",title:r["a"]({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2}})||this,t}return c(t,e),t.prototype.run=function(t,n){if(n.hasModel()){var r=n.getOption(25);!r&&n.getSelection().isEmpty()||e.prototype.run.call(this,t,n)}},t}(m),b=function(e){function t(){var t=this,n={kbExpr:u["a"].textInputFocus,primary:2100,win:{primary:2100,secondary:[1043]},weight:100};return o["f"]||(n=void 0),t=e.call(this,"paste",{id:"editor.action.clipboardPasteAction",label:r["a"]("actions.clipboard.pasteLabel","Paste"),alias:"Paste",precondition:u["a"].writable,kbOpts:n,contextMenuOpts:{group:d,order:3},menuOpts:{menuId:17,group:"2_ccp",title:r["a"]({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:3}})||this,t}return c(t,e),t}(m),_=function(e){function t(){return e.call(this,"copy",{id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:r["a"]("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:u["a"].textInputFocus,primary:0,weight:100}})||this}return c(t,e),t.prototype.run=function(t,n){if(n.hasModel()){var r=n.getOption(25);!r&&n.getSelection().isEmpty()||(a["a"].forceCopyWithSyntaxHighlighting=!0,e.prototype.run.call(this,t,n),a["a"].forceCopyWithSyntaxHighlighting=!1)}},t}(m);h&&Object(s["f"])(v),f&&Object(s["f"])(y),g&&Object(s["f"])(b),p&&Object(s["f"])(_)},"w2d+":function(e,t,n){"use strict";var r=n("hDam"),i=n("UO39"),o=n("SBuE"),a=n("NsO/");e.exports=n("MPFp")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},w5pM:function(e,t,n){"use strict";var r=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},o=i,a=n("6VBw"),s=function(e,t){return r["createElement"](a["a"],Object.assign({},e,{ref:t,icon:o}))};s.displayName="PlusCircleOutlined";t["a"]=r["forwardRef"](s)},w6Tc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("apAg"));function i(e){return e&&e.__esModule?e:{default:e}}var o=r;t.default=o,e.exports=o},w9QG:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return n.e(216).then(n.bind(null,"Czvm"))}})},wCAj:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("rePB"),l=n("KQm4"),u=n("U8pU"),c=n("ODXe"),d=n("Gytx"),h=n.n(d),f=n("Kwbf"),p=n("t23M"),g=n("qx4F");function m(e){return null}var v=m;function y(e){return null}var b=y,_=n("Ff2n"),w=n("c+Xe"),x="RC_TABLE_KEY";function C(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}function S(e,t){if(!t&&"number"!==typeof t)return e;for(var n=C(t),r=e,i=0;i<n.length;i+=1){if(!r)return null;var o=n[i];r=r[o]}return r}function O(e){var t=[],n={};return e.forEach((function(e){var r=e||{},i=r.key,o=r.dataIndex,a=i||C(o).join("-")||x;while(n[a])a="".concat(a,"_next");n[a]=!0,t.push(a)})),t}function k(){var e={};function t(e,n){n&&Object.keys(n).forEach((function(r){var i=n[r];i&&"object"===Object(u["a"])(i)?(e[r]=e[r]||{},t(e[r],i)):e[r]=i}))}for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){t(e,n)})),e}function E(e){return null!==e&&void 0!==e}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e){return e&&"object"===Object(u["a"])(e)&&!Array.isArray(e)&&!r["isValidElement"](e)}function L(e){return"string"===typeof e||Object(w["b"])(e)}function I(e,t){var n,i,a,l=e.prefixCls,c=e.className,d=e.record,h=e.index,f=e.dataIndex,p=e.render,g=e.children,m=e.component,v=void 0===m?"td":m,y=e.colSpan,b=e.rowSpan,w=e.fixLeft,x=e.fixRight,C=e.firstFixLeft,O=e.lastFixLeft,k=e.firstFixRight,E=e.lastFixRight,D=e.appendNode,I=e.additionalProps,T=void 0===I?{}:I,P=e.ellipsis,A=e.align,R=e.rowType,j="".concat(l,"-cell");if(g)a=g;else{var F=S(d,f);if(a=F,p){var B=p(F,d,h);N(B)?(a=B.children,i=B.props):a=B}}"object"!==Object(u["a"])(a)||Array.isArray(a)||r["isValidElement"](a)||(a=null),P&&(O||k)&&(a=r["createElement"]("span",{className:"".concat(j,"-content")},a));var V=i||{},z=V.colSpan,W=V.rowSpan,H=V.style,U=V.className,K=Object(_["a"])(V,["colSpan","rowSpan","style","className"]),G=void 0!==z?z:y,q=void 0!==W?W:b;if(0===G||0===q)return null;var Y={},X="number"===typeof w,Z="number"===typeof x;X&&(Y.position="sticky",Y.left=w),Z&&(Y.position="sticky",Y.right=x);var Q,$={};A&&($.textAlign=A);var J=!0===P?{showTitle:!0}:P;J&&(J.showTitle||"header"===R)&&("string"===typeof a||"number"===typeof a?Q=a.toString():r["isValidElement"](a)&&"string"===typeof a.props.children&&(Q=a.props.children));var ee=M(M(M({title:Q},K),T),{},{colSpan:G&&1!==G?G:null,rowSpan:q&&1!==q?q:null,className:o()(j,c,(n={},Object(s["a"])(n,"".concat(j,"-fix-left"),X),Object(s["a"])(n,"".concat(j,"-fix-left-first"),C),Object(s["a"])(n,"".concat(j,"-fix-left-last"),O),Object(s["a"])(n,"".concat(j,"-fix-right"),Z),Object(s["a"])(n,"".concat(j,"-fix-right-first"),k),Object(s["a"])(n,"".concat(j,"-fix-right-last"),E),Object(s["a"])(n,"".concat(j,"-ellipsis"),P),Object(s["a"])(n,"".concat(j,"-with-append"),D),n),T.className,U),style:M(M(M(M({},T.style),$),Y),H),ref:L(v)?t:null});return r["createElement"](v,Object.assign({},ee),D,a)}var T=r["forwardRef"](I);T.displayName="Cell";var P=r["memo"](T,(function(e,t){return!!t.shouldCellUpdate&&!t.shouldCellUpdate(t.record)})),A=P,R=r["createContext"](null),j=R;function F(e,t,n,r,i){var o,a,s=n[e]||{},l=n[t]||{};"left"===s.fixed?o=r.left[e]:"right"===l.fixed&&(a=r.right[t]);var u=!1,c=!1,d=!1,h=!1,f=n[t+1],p=n[e-1];if("rtl"===i){if(void 0!==o){var g=p&&"left"===p.fixed;h=!g}else if(void 0!==a){var m=f&&"right"===f.fixed;d=!m}}else if(void 0!==o){var v=f&&"left"===f.fixed;u=!v}else if(void 0!==a){var y=p&&"right"===p.fixed;c=!y}return{fixLeft:o,fixRight:a,lastFixLeft:u,firstFixRight:c,lastFixRight:d,firstFixLeft:h}}function B(e){var t,n=e.cells,i=e.stickyOffsets,o=e.flattenColumns,a=e.rowComponent,s=e.cellComponent,l=e.onHeaderRow,u=e.index,c=r["useContext"](j),d=c.prefixCls,h=c.direction;l&&(t=l(n.map((function(e){return e.column})),u));var f=O(n.map((function(e){return e.column})));return r["createElement"](a,Object.assign({},t),n.map((function(e,t){var n,a=e.column,l=F(e.colStart,e.colEnd,o,i,h);return a&&a.onHeaderCell&&(n=e.column.onHeaderCell(a)),r["createElement"](A,Object.assign({},e,{ellipsis:a.ellipsis,align:a.align,component:s,prefixCls:d,key:f[t]},l,{additionalProps:n,rowType:"header"}))})))}B.displayName="HeaderRow";var V=B;function z(e){var t=[];function n(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[i]=t[i]||[];var o=r,a=e.map((function(e){var r={key:e.key,className:e.className||"",children:e.title,column:e,colStart:o},a=1,s=e.children;return s&&s.length>0&&(a=n(s,o,i+1).reduce((function(e,t){return e+t}),0),r.hasSubColumns=!0),"colSpan"in e&&(a=e.colSpan),"rowSpan"in e&&(r.rowSpan=e.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[i].push(r),o+=a,a}));return a}n(e,0);for(var r=t.length,i=function(e){t[e].forEach((function(t){"rowSpan"in t||t.hasSubColumns||(t.rowSpan=r-e)}))},o=0;o<r;o+=1)i(o);return t}function W(e){var t=e.stickyOffsets,n=e.columns,i=e.flattenColumns,o=e.onHeaderRow,a=r["useContext"](j),s=a.prefixCls,l=a.getComponent,u=r["useMemo"]((function(){return z(n)}),[n]),c=l(["header","wrapper"],"thead"),d=l(["header","row"],"tr"),h=l(["header","cell"],"th");return r["createElement"](c,{className:"".concat(s,"-thead")},u.map((function(e,n){var a=r["createElement"](V,{key:n,flattenColumns:i,cells:e,stickyOffsets:t,rowComponent:d,cellComponent:h,onHeaderRow:o,index:n});return a})))}var H=W;function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var G="RC_TABLE_INTERNAL_COL_DEFINE";function q(e){var t=e.expandable,n=Object(_["a"])(e,["expandable"]);return"expandable"in e?K(K({},n),t):n}function Y(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)||(t[n]=e[n]),t}),{})}function X(e){for(var t=e.colWidths,n=e.columns,i=e.columCount,o=[],a=i||n.length,s=!1,l=a-1;l>=0;l-=1){var u=t[l],c=n&&n[l],d=c&&c[G];(u||d||s)&&(o.unshift(r["createElement"]("col",Object.assign({key:l,style:{width:u,minWidth:u}},d))),s=!0)}return r["createElement"]("colgroup",null,o)}var Z=X;function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e){for(var t=e.columns,n=e.flattenColumns,i=e.colWidths,o=e.columCount,a=e.stickyOffsets,s=e.direction,u=Object(_["a"])(e,["columns","flattenColumns","colWidths","columCount","stickyOffsets","direction"]),c=r["useContext"](j),d=c.prefixCls,h=c.scrollbarSize,f=n[n.length-1],p={fixed:f?f.fixed:null,onHeaderCell:function(){return{className:"".concat(d,"-cell-scrollbar")}}},g=r["useMemo"]((function(){return h?[].concat(Object(l["a"])(t),[p]):t}),[h,t]),m=r["useMemo"]((function(){return h?[].concat(Object(l["a"])(n),[p]):n}),[h,n]),v=r["useMemo"]((function(){var e=a.right,t=a.left;return $($({},a),{},{left:"rtl"===s?[].concat(Object(l["a"])(t.map((function(e){return e+h}))),[0]):t,right:"rtl"===s?e:[].concat(Object(l["a"])(e.map((function(e){return e+h}))),[0])})}),[h,a]),y=[],b=0;b<o;b+=1)y[b]=i[b];var w=!i.every((function(e){return!e}));return r["createElement"]("table",{style:{tableLayout:"fixed",visibility:w?null:"hidden"}},r["createElement"](Z,{colWidths:[].concat(Object(l["a"])(i),[h]),columCount:o+1,columns:m}),r["createElement"](H,Object.assign({},u,{stickyOffsets:v,columns:g,flattenColumns:m})))}var ee=J,te=r["createContext"](null),ne=te;function re(e){var t=e.prefixCls,n=e.children,i=e.component,o=e.cellComponent,a=e.fixHeader,s=e.fixColumn,l=e.horizonScroll,u=e.className,c=e.expanded,d=e.componentWidth,h=e.colSpan,f=r["useContext"](j),p=f.scrollbarSize;return r["useMemo"]((function(){var e=n;return s&&(e=r["createElement"]("div",{style:{width:d-(a?p:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},e)),r["createElement"](i,{className:u,style:{display:c?null:"none"}},r["createElement"](A,{component:o,prefixCls:t,colSpan:h},e))}),[n,i,a,l,u,c,d,h,p])}var ie=re;function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e){var t=e.className,n=e.style,i=e.record,a=e.index,s=e.rowKey,l=e.getRowKey,u=e.rowExpandable,d=e.expandedKeys,h=e.onRow,f=e.indent,p=void 0===f?0:f,g=e.rowComponent,m=e.cellComponent,v=e.childrenColumnName,y=r["useContext"](j),b=y.prefixCls,_=y.fixedInfoList,w=r["useContext"](ne),x=w.fixHeader,C=w.fixColumn,S=w.horizonScroll,k=w.componentWidth,E=w.flattenColumns,D=w.expandableType,M=w.expandRowByClick,N=w.onTriggerExpand,L=w.rowClassName,I=w.expandedRowClassName,T=w.indentSize,P=w.expandIcon,R=w.expandedRowRender,F=w.expandIconColumnIndex,B=r["useState"](!1),V=Object(c["a"])(B,2),z=V[0],W=V[1],H=d&&d.has(e.recordKey);r["useEffect"]((function(){H&&W(!0)}),[H]);var U,K="row"===D&&(!u||u(i)),G="nest"===D,q=v&&i&&i[v],Y=K||G;h&&(U=h(i,a));var X,Z=function(e){if(M&&Y&&N(i,e),U&&U.onClick){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=U).onClick.apply(t,[e].concat(r))}};"string"===typeof L?X=L:"function"===typeof L&&(X=L(i,a,p));var Q,$,J=O(E),ee=r["createElement"](g,Object.assign({},U,{"data-row-key":s,className:o()(t,"".concat(b,"-row"),"".concat(b,"-row-level-").concat(p),X,U&&U.className),style:ae(ae({},n),U?U.style:null),onClick:Z}),E.map((function(e,t){var n,o,s=e.render,l=e.dataIndex,u=e.className,c=J[t],d=_[t];return t===(F||0)&&G&&(n=r["createElement"](r["Fragment"],null,r["createElement"]("span",{style:{paddingLeft:"".concat(T*p,"px")},className:"".concat(b,"-row-indent indent-level-").concat(p)}),P({prefixCls:b,expanded:H,expandable:q,record:i,onExpand:N}))),e.onCell&&(o=e.onCell(i,a)),r["createElement"](A,Object.assign({className:u,ellipsis:e.ellipsis,align:e.align,component:m,prefixCls:b,key:c,record:i,index:a,dataIndex:l,render:s,shouldCellUpdate:e.shouldCellUpdate},d,{appendNode:n,additionalProps:o}))})));if(K&&(z||H)){var te=R(i,a,p+1,H),re=I&&I(i,a,p);Q=r["createElement"](ie,{expanded:H,className:o()("".concat(b,"-expanded-row"),"".concat(b,"-expanded-row-level-").concat(p+1),re),prefixCls:b,fixHeader:x,fixColumn:C,horizonScroll:S,component:g,componentWidth:k,cellComponent:m,colSpan:E.length},te)}return q&&H&&($=(i[v]||[]).map((function(t,n){var i=l(t,n);return r["createElement"](se,Object.assign({},e,{key:i,rowKey:i,record:t,recordKey:i,index:n,indent:p+1}))}))),r["createElement"](r["Fragment"],null,ee,Q,$)}se.displayName="BodyRow";var le=se,ue=r["createContext"](null),ce=ue;function de(e){var t=e.data,n=e.getRowKey,i=e.measureColumnWidth,o=e.expandedKeys,a=e.onRow,s=e.rowExpandable,l=e.emptyNode,u=e.childrenColumnName,c=r["useContext"](ce),d=c.onColumnResize,h=r["useContext"](j),f=h.prefixCls,g=h.getComponent,m=r["useContext"](ne),v=m.fixHeader,y=m.horizonScroll,b=m.flattenColumns,_=m.componentWidth;return r["useMemo"]((function(){var e,c=g(["body","wrapper"],"tbody"),h=g(["body","row"],"tr"),m=g(["body","cell"],"td");e=t.length?t.map((function(e,t){var i=n(e,t);return[r["createElement"](le,{key:i,rowKey:i,record:e,recordKey:i,index:t,rowComponent:h,cellComponent:m,expandedKeys:o,onRow:a,getRowKey:n,rowExpandable:s,childrenColumnName:u})]})):r["createElement"](ie,{expanded:!0,className:"".concat(f,"-placeholder"),prefixCls:f,fixHeader:v,fixColumn:y,horizonScroll:y,component:h,componentWidth:_,cellComponent:m,colSpan:b.length},l);var w=O(b);return r["createElement"](c,{className:"".concat(f,"-tbody")},i&&r["createElement"]("tr",{"aria-hidden":"true",className:"".concat(f,"-measure-row"),style:{height:0}},w.map((function(e){return r["createElement"](p["a"],{key:e,onResize:function(t){var n=t.offsetWidth;d(e,n)}},r["createElement"]("td",{style:{padding:0,border:0,height:0}}))}))),e)}),[t,f,a,i,o,n,g,_,l,b])}var he=r["memo"](de);he.displayName="Body";var fe=he,pe=n("Zm9Q");function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ve(e){return Object(pe["a"])(e).filter((function(e){return r["isValidElement"](e)})).map((function(e){var t=e.key,n=e.props,r=n.children,i=Object(_["a"])(n,["children"]),o=me({key:t},i);return r&&(o.children=ve(r)),o}))}function ye(e){return e.reduce((function(e,t){var n=t.fixed,r=!0===n?"left":n,i=t.children;return i&&i.length>0?[].concat(Object(l["a"])(e),Object(l["a"])(ye(i).map((function(e){return me({fixed:r},e)})))):[].concat(Object(l["a"])(e),[me(me({},t),{},{fixed:r})])}),[])}function be(e){return e.map((function(e){var t=e.fixed,n=Object(_["a"])(e,["fixed"]),r=t;return"left"===t?r="right":"right"===t&&(r="left"),me({fixed:r},n)}))}function _e(e,t){var n=e.prefixCls,i=e.columns,o=e.children,a=e.expandable,l=e.expandedKeys,u=e.getRowKey,c=e.onTriggerExpand,d=e.expandIcon,h=e.rowExpandable,f=e.expandIconColumnIndex,p=e.direction,g=e.expandRowByClick,m=r["useMemo"]((function(){return i||ve(o)}),[i,o]),v=r["useMemo"]((function(){if(a){var e,t=f||0,i=m[t],o=(e={},Object(s["a"])(e,G,{className:"".concat(n,"-expand-icon-col")}),Object(s["a"])(e,"title",""),Object(s["a"])(e,"fixed",i?i.fixed:null),Object(s["a"])(e,"className","".concat(n,"-row-expand-icon-cell")),Object(s["a"])(e,"render",(function(e,t,i){var o=u(t,i),a=l.has(o),s=!h||h(t),f=d({prefixCls:n,expanded:a,expandable:s,record:t,onExpand:c});return g?r["createElement"]("span",{onClick:function(e){return e.stopPropagation()}},f):f})),e),p=m.slice();return p.splice(t,0,o),p}return m}),[a,m,u,l,d,p]),y=r["useMemo"]((function(){var e=v;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e}),[t,v,p]),b=r["useMemo"]((function(){return"rtl"===p?be(ye(y)):ye(y)}),[y,p]);return[y,b]}var we=_e,xe=n("xEkU"),Ce=n.n(xe);function Se(e){var t=Object(r["useRef"])(e),n=Object(r["useState"])({}),i=Object(c["a"])(n,2),o=i[1],a=Object(r["useRef"])(null),s=Object(r["useRef"])([]);function l(e){null===a.current&&(s.current=[],a.current=Ce()((function(){s.current.forEach((function(e){t.current=e(t.current)})),a.current=null,o({})}))),s.current.push(e)}return Object(r["useEffect"])((function(){return function(){Ce.a.cancel(a.current)}}),[]),[t.current,l]}function Oe(e){var t=Object(r["useRef"])(e),n=Object(r["useRef"])(null);function i(){window.clearTimeout(n.current)}function o(e){t.current=e,i(),n.current=window.setTimeout((function(){t.current=null,n.current=null}),100)}function a(){return t.current}return Object(r["useEffect"])((function(){return i}),[]),[o,a]}function ke(e,t,n){var i=Object(r["useMemo"])((function(){for(var r=[],i=[],o=0,a=0,s=0;s<t;s+=1)if("rtl"===n){i[s]=a,a+=e[s]||0;var l=t-s-1;r[l]=o,o+=e[l]||0}else{r[s]=o,o+=e[s]||0;var u=t-s-1;i[u]=a,a+=e[u]||0}return{left:r,right:i}}),[e,t,n]);return i}var Ee=ke;function De(e){var t=e.className,n=e.children;return r["createElement"]("div",{className:t},n)}var Me=De;function Ne(e){var t=e.className,n=e.index,i=e.children,o=e.colSpan,a=e.rowSpan,s=r["useContext"](j),l=s.prefixCls,u=s.fixedInfoList,c=u[n];return r["createElement"](A,Object.assign({className:t,index:n,component:"td",prefixCls:l,record:null,dataIndex:null,render:function(){return{children:i,props:{colSpan:o,rowSpan:a}}}},c))}function Le(e){return r["createElement"]("tr",Object.assign({},e))}function Ie(e){var t=e.children,n=r["useContext"](j),i=n.prefixCls;return r["createElement"]("tfoot",{className:"".concat(i,"-summary")},t)}var Te=Ie,Pe={Cell:Ne,Row:Le};function Ae(e){var t,n=e.prefixCls,i=e.record,a=e.onExpand,l=e.expanded,u=e.expandable,c="".concat(n,"-row-expand-icon");if(!u)return r["createElement"]("span",{className:o()(c,"".concat(n,"-row-spaced"))});var d=function(e){a(i,e),e.stopPropagation()};return r["createElement"]("span",{className:o()(c,(t={},Object(s["a"])(t,"".concat(n,"-row-expanded"),l),Object(s["a"])(t,"".concat(n,"-row-collapsed"),!l),t)),onClick:d})}function Re(e,t,n){var r=[];function i(e){(e||[]).forEach((function(e,o){r.push(t(e,o)),i(e[n])}))}return i(e),r}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be=[],Ve={},ze="rc-table-internal-hook",We=r["memo"]((function(e){var t=e.children;return t}),(function(e,t){return!!h()(e.props,t.props)&&(e.pingLeft!==t.pingLeft||e.pingRight!==t.pingRight)}));function He(e){var t,n=e.prefixCls,i=e.className,a=e.rowClassName,d=e.style,h=e.data,m=e.rowKey,v=e.scroll,y=e.tableLayout,b=e.direction,_=e.title,w=e.footer,x=e.summary,C=e.id,D=e.showHeader,M=e.components,N=e.emptyText,L=e.onRow,I=e.onHeaderRow,T=e.internalHooks,P=e.transformColumns,A=e.internalRefs,R=h||Be,B=!!R.length,V=r["useState"](0),z=Object(c["a"])(V,2),W=z[0],U=z[1];r["useEffect"]((function(){U(Object(g["a"])())}));var K,G,X,Q=r["useMemo"]((function(){return k(M,{})}),[M]),$=r["useCallback"]((function(e,t){return S(Q,e)||t}),[Q]),J=r["useMemo"]((function(){return"function"===typeof m?m:function(e){var t=e&&e[m];return t}}),[m]),te=q(e),re=te.expandIcon,ie=te.expandedRowKeys,oe=te.defaultExpandedRowKeys,ae=te.defaultExpandAllRows,se=te.expandedRowRender,le=te.onExpand,ue=te.onExpandedRowsChange,de=te.expandRowByClick,he=te.rowExpandable,pe=te.expandIconColumnIndex,ge=te.expandedRowClassName,me=te.childrenColumnName,ve=te.indentSize,ye=re||Ae,be=me||"children",_e=r["useMemo"]((function(){return se?"row":!!(e.expandable&&T===ze&&e.expandable.__PARENT_RENDER_ICON__||R.some((function(e){return e&&"object"===Object(u["a"])(e)&&be in e})))&&"nest"}),[!!se,R]),xe=r["useState"]((function(){return oe||(ae?Re(R,J,be):[])})),Ce=Object(c["a"])(xe,2),ke=Ce[0],De=Ce[1],Ne=r["useMemo"]((function(){return new Set(ie||ke||[])}),[ie,ke]),Le=r["useCallback"]((function(e){var t,n=J(e,R.indexOf(e)),r=Ne.has(n);r?(Ne.delete(n),t=Object(l["a"])(Ne)):t=[].concat(Object(l["a"])(Ne),[n]),De(t),le&&le(!r,e),ue&&ue(t)}),[J,Ne,R,le,ue]),Ie=r["useState"](0),Pe=Object(c["a"])(Ie,2),je=Pe[0],He=Pe[1],Ue=we(Fe(Fe(Fe({},e),te),{},{expandable:!!se,expandedKeys:Ne,getRowKey:J,onTriggerExpand:Le,expandIcon:ye,expandIconColumnIndex:pe,direction:b}),T===ze?P:null),Ke=Object(c["a"])(Ue,2),Ge=Ke[0],qe=Ke[1],Ye=r["useMemo"]((function(){return{columns:Ge,flattenColumns:qe}}),[Ge,qe]),Xe=r["useRef"](),Ze=r["useRef"](),Qe=r["useRef"](),$e=r["useState"](!1),Je=Object(c["a"])($e,2),et=Je[0],tt=Je[1],nt=r["useState"](!1),rt=Object(c["a"])(nt,2),it=rt[0],ot=rt[1],at=Se(new Map),st=Object(c["a"])(at,2),lt=st[0],ut=st[1],ct=O(qe),dt=ct.map((function(e){return lt.get(e)})),ht=r["useMemo"]((function(){return dt}),[dt.join("_")]),ft=Ee(ht,qe.length,b),pt=B&&v&&E(v.y),gt=v&&E(v.x),mt=gt&&qe.some((function(e){var t=e.fixed;return t}));pt&&(G={overflowY:"scroll",maxHeight:v.y}),gt&&(K={overflowX:"scroll"},pt||(G={overflowY:"hidden"}),X={width:!0===v.x?"auto":v.x,minWidth:"100%"});var vt=r["useCallback"]((function(e,t){ut((function(n){var r=new Map(n);return r.set(e,t),r}))}),[]),yt=Oe(null),bt=Object(c["a"])(yt,2),_t=bt[0],wt=bt[1];function xt(e,t){t&&t.scrollLeft!==e&&(t.scrollLeft=e)}var Ct=function(e){var t=e.currentTarget,n=e.scrollLeft,r="number"===typeof n?n:t.scrollLeft,i=t||Ve;if(wt()&&wt()!==i||(_t(i),xt(r,Ze.current),xt(r,Qe.current)),t){var o=t.scrollWidth,a=t.clientWidth;tt(r>0),ot(r<o-a)}},St=function(){Qe.current&&Ct({currentTarget:Qe.current})},Ot=function(e){var t=e.width;St(),He(Xe.current?Xe.current.offsetWidth:t)};r["useEffect"]((function(){return St}),[]),r["useEffect"]((function(){gt&&St()}),[gt]),r["useEffect"]((function(){T===ze&&A&&(A.body.current=Qe.current)}));var kt,Et,Dt=$(["table"],"table"),Mt=r["useMemo"]((function(){return y||(pt||mt||qe.some((function(e){var t=e.ellipsis;return t}))?"fixed":"auto")}),[pt,mt,qe,y]),Nt={colWidths:ht,columCount:qe.length,stickyOffsets:ft,onHeaderRow:I},Lt=r["useMemo"]((function(){return B?null:"function"===typeof N?N():N}),[B,N]),It=r["createElement"](fe,{data:R,measureColumnWidth:pt||gt,expandedKeys:Ne,rowExpandable:he,getRowKey:J,onRow:L,emptyNode:Lt,childrenColumnName:be}),Tt=r["createElement"](Z,{colWidths:qe.map((function(e){var t=e.width;return t})),columns:qe}),Pt=x&&r["createElement"](Te,null,x(R)),At=$(["body"]);pt?("function"===typeof At?(Et=At(R,{scrollbarSize:W,ref:Qe,onScroll:Ct}),Nt.colWidths=qe.map((function(e,t){var n=e.width,r=t===Ge.length-1?n-W:n;return"number"!==typeof r||Number.isNaN(r)?(Object(f["a"])(!1,"When use `components.body` with render props. Each column should have a fixed value."),0):r}))):Et=r["createElement"]("div",{style:Fe(Fe({},K),G),onScroll:Ct,ref:Qe,className:o()("".concat(n,"-body"))},r["createElement"](Dt,{style:Fe(Fe({},X),{},{tableLayout:Mt})},Tt,It,Pt)),kt=r["createElement"](r["Fragment"],null,!1!==D&&r["createElement"]("div",{style:{overflow:"hidden"},onScroll:Ct,ref:Ze,className:o()("".concat(n,"-header"))},r["createElement"](ee,Object.assign({},Nt,Ye,{direction:b}))),Et)):kt=r["createElement"]("div",{style:Fe(Fe({},K),G),className:o()("".concat(n,"-content")),onScroll:Ct,ref:Qe},r["createElement"](Dt,{style:Fe(Fe({},X),{},{tableLayout:Mt})},Tt,!1!==D&&r["createElement"](H,Object.assign({},Nt,Ye)),It,Pt));var Rt=Y(e),jt=r["createElement"]("div",Object.assign({className:o()(n,i,(t={},Object(s["a"])(t,"".concat(n,"-rtl"),"rtl"===b),Object(s["a"])(t,"".concat(n,"-ping-left"),et),Object(s["a"])(t,"".concat(n,"-ping-right"),it),Object(s["a"])(t,"".concat(n,"-layout-fixed"),"fixed"===y),Object(s["a"])(t,"".concat(n,"-fixed-header"),pt),Object(s["a"])(t,"".concat(n,"-fixed-column"),mt),Object(s["a"])(t,"".concat(n,"-scroll-horizontal"),gt),Object(s["a"])(t,"".concat(n,"-has-fix-left"),qe[0]&&qe[0].fixed),Object(s["a"])(t,"".concat(n,"-has-fix-right"),qe[qe.length-1]&&"right"===qe[qe.length-1].fixed),t)),style:d,id:C,ref:Xe},Rt),r["createElement"](We,{pingLeft:et,pingRight:it,props:Fe(Fe({},e),{},{stickyOffsets:ft,mergedExpandedKeys:Ne})},_&&r["createElement"](Me,{className:"".concat(n,"-title")},_(R)),r["createElement"]("div",{className:"".concat(n,"-container")},kt),w&&r["createElement"](Me,{className:"".concat(n,"-footer")},w(R))));gt&&(jt=r["createElement"](p["a"],{onResize:Ot},jt));var Ft=r["useMemo"]((function(){return{prefixCls:n,getComponent:$,scrollbarSize:W,direction:b,fixedInfoList:qe.map((function(e,t){return F(t,t,qe,ft,b)}))}}),[n,$,W,b,qe,ft,b]),Bt=r["useMemo"]((function(){return Fe(Fe({},Ye),{},{tableLayout:Mt,rowClassName:a,expandedRowClassName:ge,componentWidth:je,fixHeader:pt,fixColumn:mt,horizonScroll:gt,expandIcon:ye,expandableType:_e,expandRowByClick:de,expandedRowRender:se,onTriggerExpand:Le,expandIconColumnIndex:pe,indentSize:ve})}),[Ye,Mt,a,ge,je,pt,mt,gt,ye,_e,de,se,Le,pe,ve]),Vt=r["useMemo"]((function(){return{onColumnResize:vt}}),[vt]);return r["createElement"](j.Provider,{value:Ft},r["createElement"](ne.Provider,{value:Bt},r["createElement"](ce.Provider,{value:Vt},jt)))}He.Column=b,He.ColumnGroup=v,He.Summary=Pe,He.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var Ue=He,Ke=Ue,Ge=n("W9HT"),qe=n("NUBc"),Ye=n("H84U");function Xe(){return Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xe.apply(this,arguments)}function Ze(e,t){return tt(e)||et(e,t)||$e(e,t)||Qe()}function Qe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $e(e,t){if(e){if("string"===typeof e)return Je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function et(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function tt(e){if(Array.isArray(e))return e}function nt(e){return nt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt(e)}var rt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},it=10;function ot(e,t){var n={current:t.current,pageSize:t.pageSize},r=e&&"object"===nt(e)?e:{};return Object.keys(r).forEach((function(e){var r=t[e];"function"!==typeof r&&(n[e]=r)})),n}function at(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Object.keys(t).forEach((function(n){var r=t[n];void 0!==r&&(e[n]=r)}))})),e}function st(e,t,n){var i=t&&"object"===nt(t)?t:{},o=i.total,a=void 0===o?0:o,s=rt(i,["total"]),l=Object(r["useState"])((function(){return{current:"defaultCurrent"in s?s.defaultCurrent:1,pageSize:"defaultPageSize"in s?s.defaultPageSize:it}})),u=Ze(l,2),c=u[0],d=u[1],h=at(c,s,{total:a>0?a:e});if(!a){var f=Math.ceil(e/h.pageSize);f<h.current&&(h.current=1)}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;d(Xe(Xe({},h),{current:e}))},g=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=r[0];p(o),n(o,r[1]||h.pageSize),t&&t.onChange&&t.onChange.apply(t,r)},m=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=r[1];d(Xe(Xe({},h),{current:1,pageSize:o})),n(1,o),t&&t.onShowSizeChange&&t.onShowSizeChange.apply(t,r)};return!1===t?[{},function(){}]:[Xe(Xe({},h),{onChange:g,onShowSizeChange:m}),p]}function lt(e,t,n){var i=r["useRef"]({});function o(r){if(!i.current||i.current.data!==e||i.current.childrenColumnName!==t||i.current.getRowKey!==n){var o=function e(r){r.forEach((function(r,i){var o=n(r,i);a.set(o,r),t in r&&e(r[t]||[])}))},a=new Map;o(e),i.current={data:e,childrenColumnName:t,kvMap:a,getRowKey:n}}return i.current.kvMap.get(r)}return[o]}var ut=n("HQEm"),ct=n.n(ut),dt=n("kaz8"),ht=n("jsC+"),ft=n("BvKs"),pt=n("9yH6"),gt=n("uaoM");function mt(e){return xt(e)||kt(e)||Ot(e)||_t()}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yt(){return yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(this,arguments)}function bt(e,t){return xt(e)||wt(e,t)||Ot(e,t)||_t()}function _t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function xt(e){if(Array.isArray(e))return e}function Ct(e){return Et(e)||kt(e)||Ot(e)||St()}function St(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ot(e,t){if(e){if("string"===typeof e)return Dt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dt(e,t):void 0}}function kt(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Et(e){if(Array.isArray(e))return Dt(e)}function Dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Mt=[],Nt="SELECT_ALL",Lt="SELECT_INVERT";function It(e){return e&&e.fixed}function Tt(e,t){var n=[];return(e||[]).forEach((function(e){n.push(e),t in e&&(n=[].concat(Ct(n),Ct(Tt(e[t],t))))})),n}function Pt(e,t){var n=e||{},i=n.selectedRowKeys,o=n.getCheckboxProps,a=n.onChange,s=n.onSelect,l=n.onSelectAll,u=n.onSelectInvert,c=n.onSelectMultiple,d=n.columnWidth,h=n.type,f=n.selections,p=n.fixed,g=n.renderCell,m=n.hideSelectAll,v=t.prefixCls,y=t.data,b=t.pageData,_=t.getRecordByKey,w=t.getRowKey,x=t.expandType,C=t.childrenColumnName,S=t.locale,O=t.expandIconColumnIndex,k=t.getPopupContainer,E=r["useState"](),D=bt(E,2),M=D[0],N=D[1],L=i||M||Mt,I=r["useMemo"]((function(){var e="radio"===h?L.slice(0,1):L;return new Set(e)}),[L,h]),T=r["useState"](null),P=bt(T,2),A=P[0],R=P[1];r["useEffect"]((function(){e||N([])}),[!!e]);var j=r["useCallback"]((function(e){var t=[],n=[];e.forEach((function(e){var r=_(e);void 0!==r&&(t.push(e),n.push(r))})),N(t),a&&a(t,n)}),[N,_,a]),F=r["useCallback"]((function(e,t,n,r){if(s){var i=n.map((function(e){return _(e)}));s(_(e),t,i,r)}j(n)}),[s,_,j]),B=r["useMemo"]((function(){if(!f||m)return null;var e=!0===f?[Nt,Lt]:f;return e.map((function(e){return e===Nt?{key:"all",text:S.selectionAll,onSelect:function(){j(y.map((function(e,t){return w(e,t)})))}}:e===Lt?{key:"invert",text:S.selectInvert,onSelect:function(){var e=new Set(I);b.forEach((function(t,n){var r=w(t,n);e.has(r)?e["delete"](r):e.add(r)}));var t=Array.from(e);j(t),u&&(Object(gt["a"])(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),u(t))}}:e}))}),[f,I,b,w]),V=r["useCallback"]((function(t){if(!e)return t;var n=Tt(b,C),i=new Set(I),a=new Map;n.forEach((function(e,t){var n=w(e,t),r=(o?o(e):null)||{};a.set(n,r)}));var s,u,f=n.map(w).filter((function(e){return!a.get(e).disabled})),y=f.every((function(e){return i.has(e)})),S=f.some((function(e){return i.has(e)})),E=function(){var e=[];y?f.forEach((function(t){i["delete"](t),e.push(t)})):f.forEach((function(t){i.add(t),e.push(t)}));var t=Array.from(i);j(t),l&&l(!y,t.map((function(e){return _(e)})),e.map((function(e){return _(e)})))};if("radio"!==h){var D;if(B){var M=r["createElement"](ft["a"],{getPopupContainer:k},B.map((function(e,t){var n=e.key,i=e.text,o=e.onSelect;return r["createElement"](ft["a"].Item,{key:n||t,onClick:function(){o&&o(f)}},i)})));D=r["createElement"]("div",{className:"".concat(v,"-selection-extra")},r["createElement"](ht["a"],{overlay:M,getPopupContainer:k},r["createElement"]("span",null,r["createElement"](ct.a,null))))}var N=n.every((function(e,t){var n=w(e,t),r=a.get(n)||{};return r.disabled}));s=!m&&r["createElement"]("div",{className:"".concat(v,"-selection")},r["createElement"](dt["a"],{checked:!N&&!!n.length&&y,indeterminate:!y&&S,onChange:E,disabled:0===n.length||N}),D)}u="radio"===h?function(e,t,n){var o=w(t,n),s=i.has(o);return{node:r["createElement"](pt["default"],yt({},a.get(o),{checked:s,onClick:function(e){return e.stopPropagation()},onChange:function(e){i.has(o)||F(o,!0,[o],e.nativeEvent)}})),checked:s}}:function(e,t,n){var o=w(t,n),s=i.has(o);return{node:r["createElement"](dt["a"],yt({},a.get(o),{checked:s,onClick:function(e){return e.stopPropagation()},onChange:function(e){var t=e.nativeEvent,n=t.shiftKey,r=-1,a=-1;if(n){var l=new Set([A,o]);f.some((function(e,t){if(l.has(e)){if(-1!==r)return a=t,!0;r=t}return!1}))}if(-1!==a&&r!==a){var u=f.slice(r,a+1),d=[];s?u.forEach((function(e){i.has(e)&&(d.push(e),i["delete"](e))})):u.forEach((function(e){i.has(e)||(d.push(e),i.add(e))}));var h=Array.from(i);j(h),c&&c(!s,h.map((function(e){return _(e)})),d.map((function(e){return _(e)})))}else s?i["delete"](o):i.add(o),F(o,!s,Array.from(i),t);R(o)}})),checked:s}};var L=function(e,t,n){var r=u(e,t,n),i=r.node,o=r.checked;return g?g(o,t,n,i):i},T=vt({width:d,className:"".concat(v,"-selection-column"),title:e.columnTitle||s,render:L},G,{className:"".concat(v,"-selection-col")});if("row"===x&&t.length&&!O){var P=mt(t),V=P[0],z=P.slice(1),W=p||It(z[0]);return W&&(V.fixed=W),[V,yt(yt({},T),{fixed:W})].concat(Ct(z))}return[yt(yt({},T),{fixed:p||It(t[0])})].concat(Ct(t))}),[w,b,e,M,L,d,B,x,A,c,F]);return[V,I]}var At=n("6SEX"),Rt=n.n(At),jt=n("i8CU"),Ft=n.n(jt),Bt=n("3S7+");function Vt(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function zt(e,t){return t?"".concat(t,"-").concat(e):"".concat(e)}function Wt(e,t){return"function"===typeof e?e(t):e}function Ht(e,t){return Gt(e)||Kt(e,t)||Qt(e,t)||Ut()}function Ut(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kt(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Gt(e){if(Array.isArray(e))return e}function qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yt(){return Yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yt.apply(this,arguments)}function Xt(e){return Jt(e)||$t(e)||Qt(e)||Zt()}function Zt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qt(e,t){if(e){if("string"===typeof e)return en(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?en(e,t):void 0}}function $t(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Jt(e){if(Array.isArray(e))return en(e)}function en(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tn(e){return tn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tn(e)}var nn="ascend",rn="descend";function on(e){return"object"===tn(e.sorter)&&"number"===typeof e.sorter.multiple&&e.sorter.multiple}function an(e){return"function"===typeof e?e:!(!e||"object"!==tn(e)||!e.compare)&&e.compare}function sn(e,t){return t?e[e.indexOf(t)+1]:e[0]}function ln(e,t,n){var r=[];function i(e,t){r.push({column:e,key:Vt(e,t),multiplePriority:on(e),sortOrder:e.sortOrder})}return(e||[]).forEach((function(e,o){var a=zt(o,n);e.children?("sortOrder"in e&&i(e,a),r=[].concat(Xt(r),Xt(ln(e.children,t,a)))):e.sorter&&("sortOrder"in e?i(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:Vt(e,a),multiplePriority:on(e),sortOrder:e.defaultSortOrder}))})),r}function un(e,t,n,i,a,s,l,u){return(t||[]).map((function(t,c){var d=zt(c,u),h=t;if(h.sorter){var f=h.sortDirections||a,p=void 0===h.showSorterTooltip?l:h.showSorterTooltip,g=Vt(h,d),m=n.find((function(e){var t=e.key;return t===g})),v=m?m.sortOrder:null,y=sn(f,v),b=f.includes(nn)&&r["createElement"](Ft.a,{className:o()("".concat(e,"-column-sorter-up"),{active:v===nn})}),_=f.includes(rn)&&r["createElement"](Rt.a,{className:o()("".concat(e,"-column-sorter-down"),{active:v===rn})}),w=s||{},x=w.cancelSort,C=w.triggerAsc,S=w.triggerDesc,O=x;y===rn?O=S:y===nn&&(O=C),h=Yt(Yt({},h),{className:o()(h.className,qt({},"".concat(e,"-column-sort"),v)),title:function(n){var i=r["createElement"]("div",{className:"".concat(e,"-column-sorters")},r["createElement"]("span",null,Wt(t.title,n)),r["createElement"]("span",{className:o()("".concat(e,"-column-sorter"),qt({},"".concat(e,"-column-sorter-full"),b&&_))},r["createElement"]("span",{className:"".concat(e,"-column-sorter-inner")},b,_)));return p?r["createElement"](Bt["a"],{title:O},r["createElement"]("div",{className:"".concat(e,"-column-sorters-with-tooltip")},i)):i},onHeaderCell:function(n){var r=t.onHeaderCell&&t.onHeaderCell(n)||{},a=r.onClick;return r.onClick=function(e){i({column:t,key:g,sortOrder:y,multiplePriority:on(t)}),a&&a(e)},r.className=o()(r.className,"".concat(e,"-column-has-sorters")),r}})}return"children"in h&&(h=Yt(Yt({},h),{children:un(e,h.children,n,i,a,s,l,d)})),h}))}function cn(e){var t=e.column,n=e.sortOrder;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function dn(e){var t=e.filter((function(e){var t=e.sortOrder;return t})).map(cn);return 0===t.length&&e.length?Yt(Yt({},cn(e[0])),{column:void 0}):t.length<=1?t[0]||{}:t}function hn(e,t,n){var r=t.slice().sort((function(e,t){return t.multiplePriority-e.multiplePriority})),i=e.slice(),o=r.filter((function(e){var t=e.column.sorter,n=e.sortOrder;return an(t)&&n}));return o.length?i.sort((function(e,t){for(var n=0;n<o.length;n+=1){var r=o[n],i=r.column.sorter,a=r.sortOrder,s=an(i);if(s&&a){var l=s(e,t,a);if(0!==l)return a===nn?l:-l}}return 0})).map((function(e){var r=e[n];return r?Yt(Yt({},e),qt({},n,hn(r,t,n))):e})):i}function fn(e){var t=e.prefixCls,n=e.mergedColumns,i=e.onSorterChange,o=e.sortDirections,a=e.tableLocale,s=e.showSorterTooltip,l=r["useState"](ln(n,!0)),u=Ht(l,2),c=u[0],d=u[1],h=r["useMemo"]((function(){var e=!0,t=ln(n,!1);if(!t.length)return c;var r=[];function i(t){e?r.push(t):r.push(Yt(Yt({},t),{sortOrder:null}))}var o=null;return t.forEach((function(t){null===o?(i(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:o=!0)):(o&&!1!==t.multiplePriority||(e=!1),i(t))})),r}),[n,c]),f=r["useMemo"]((function(){var e=h.map((function(e){var t=e.column,n=e.sortOrder;return{column:t,order:n}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[h]);function p(e){var t;t=!1!==e.multiplePriority&&h.length&&!1!==h[0].multiplePriority?[].concat(Xt(h.filter((function(t){var n=t.key;return n!==e.key}))),[e]):[e],d(t),i(dn(t),t)}var g=function(e){return un(t,e,h,p,o,a,s)},m=function(){return dn(h)};return[g,h,f,m]}var pn=n("Y+p1"),gn=n.n(pn),mn=n("5Uyt"),vn=n.n(mn),yn=n("2/Rp"),bn=function(e){return r["createElement"]("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)},_n=bn;function wn(e,t){return kn(e)||On(e,t)||Cn(e,t)||xn()}function xn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cn(e,t){if(e){if("string"===typeof e)return Sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sn(e,t):void 0}}function Sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function On(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function kn(e){if(Array.isArray(e))return e}function En(e){var t=r["useRef"](e),n=r["useState"](null),i=wn(n,2),o=i[1];return[function(){return t.current},function(e){t.current=e,o({})}]}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mn(e,t){return Pn(e)||Tn(e,t)||Ln(e,t)||Nn()}function Nn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ln(e,t){if(e){if("string"===typeof e)return In(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?In(e,t):void 0}}function In(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tn(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Pn(e){if(Array.isArray(e))return e}var An=ft["a"].SubMenu,Rn=ft["a"].Item;function jn(e){return e.some((function(e){var t=e.children;return t}))}function Fn(e,t,n,i){return e.map((function(e,o){var a=String(e.value);if(e.children)return r["createElement"](An,{key:a||o,title:e.text,popupClassName:"".concat(t,"-dropdown-submenu")},Fn(e.children,t,n,i));var s=i?dt["a"]:pt["default"];return r["createElement"](Rn,{key:void 0!==e.value?a:o},r["createElement"](s,{checked:n.includes(a)}),r["createElement"]("span",null,e.text))}))}function Bn(e){var t,n=e.prefixCls,i=e.column,a=e.dropdownPrefixCls,s=e.columnKey,l=e.filterMultiple,u=e.filterState,c=e.triggerFilter,d=e.locale,h=e.children,f=e.getPopupContainer,p=i.filterDropdownVisible,g=i.onFilterDropdownVisibleChange,m=r["useState"](!1),v=Mn(m,2),y=v[0],b=v[1],_=!(!u||!(null===(t=u.filteredKeys)||void 0===t?void 0:t.length)&&!u.forceFiltered),w=function(e){b(e),g&&g(e)},x="boolean"===typeof p?p:y,C=u&&u.filteredKeys,S=En(C||[]),O=Mn(S,2),k=O[0],E=O[1],D=function(e){var t=e.selectedKeys;E(t)};r["useEffect"]((function(){D({selectedKeys:C||[]})}),[C]);var M=r["useState"]([]),N=Mn(M,2),L=N[0],I=N[1],T=r["useRef"](),P=function(e){T.current=window.setTimeout((function(){I(e)}))},A=function(){window.clearTimeout(T.current)};r["useEffect"]((function(){return function(){window.clearTimeout(T.current)}}),[]);var R,j=function(e){w(!1);var t=e&&e.length?e:null;return null!==t||u&&u.filteredKeys?gn()(t,null===u||void 0===u?void 0:u.filteredKeys)?null:void c({column:i,key:s,filteredKeys:t}):null},F=function(){j(k())},B=function(){E([]),j([])},V=function(e){w(e),e||i.filterDropdown||F()},z=o()(Dn({},"".concat(a,"-menu-without-submenu"),!jn(i.filters||[])));if("function"===typeof i.filterDropdown)R=i.filterDropdown({prefixCls:"".concat(a,"-custom"),setSelectedKeys:function(e){return D({selectedKeys:e})},selectedKeys:k(),confirm:F,clearFilters:B,filters:i.filters,visible:x});else if(i.filterDropdown)R=i.filterDropdown;else{var W=k()||[];R=r["createElement"](r["Fragment"],null,r["createElement"](ft["a"],{multiple:l,prefixCls:"".concat(a,"-menu"),className:z,onClick:A,onSelect:D,onDeselect:D,selectedKeys:W,getPopupContainer:f,openKeys:L,onOpenChange:P},Fn(i.filters||[],n,k(),l)),r["createElement"]("div",{className:"".concat(n,"-dropdown-btns")},r["createElement"](yn["a"],{type:"link",size:"small",disabled:0===W.length,onClick:B},d.filterReset),r["createElement"](yn["a"],{type:"primary",size:"small",onClick:F},d.filterConfirm)))}var H,U=r["createElement"](_n,{className:"".concat(n,"-dropdown")},R);H="function"===typeof i.filterIcon?i.filterIcon(_):i.filterIcon?i.filterIcon:r["createElement"](vn.a,null);var K=r["useContext"](Ye["b"]),G=K.direction;return r["createElement"]("div",{className:o()("".concat(n,"-column"))},r["createElement"]("span",{className:"".concat(n,"-column-title")},h),r["createElement"]("span",{className:o()("".concat(n,"-trigger-container"),Dn({},"".concat(n,"-trigger-container-open"),x)),onClick:function(e){e.stopPropagation()}},r["createElement"](ht["a"],{overlay:U,trigger:["click"],visible:x,onVisibleChange:V,getPopupContainer:f,placement:"rtl"===G?"bottomLeft":"bottomRight"},r["createElement"]("span",{role:"button",tabIndex:-1,className:o()("".concat(n,"-trigger"),{active:_})},H))))}var Vn=Bn;function zn(e,t){return Un(e)||Hn(e,t)||Yn(e,t)||Wn()}function Wn(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Hn(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Un(e){if(Array.isArray(e))return e}function Kn(){return Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(this,arguments)}function Gn(e){return Zn(e)||Xn(e)||Yn(e)||qn()}function qn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Yn(e,t){if(e){if("string"===typeof e)return Qn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qn(e,t):void 0}}function Xn(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Zn(e){if(Array.isArray(e))return Qn(e)}function Qn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $n(e,t,n){var r=[];return(e||[]).forEach((function(e,i){var o=zt(i,n);"children"in e?r=[].concat(Gn(r),Gn($n(e.children,t,o))):(e.filters||"filterDropdown"in e||"onFilter"in e)&&("filteredValue"in e?r.push({column:e,key:Vt(e,o),filteredKeys:e.filteredValue,forceFiltered:e.filtered}):r.push({column:e,key:Vt(e,o),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered}))})),r}function Jn(e,t,n,i,o,a,s,l){return n.map((function(n,u){var c=zt(u,l),d=n.filterMultiple,h=void 0===d||d;if(n.filters||"filterDropdown"in n){var f=Vt(n,c),p=i.find((function(e){var t=e.key;return f===t}));return Kn(Kn({},n),{title:function(i){return r["createElement"](Vn,{prefixCls:"".concat(e,"-filter"),dropdownPrefixCls:t,column:n,columnKey:f,filterState:p,filterMultiple:h,triggerFilter:o,locale:s,getPopupContainer:a},Wt(n.title,i))}})}return"children"in n?Kn(Kn({},n),{children:Jn(e,t,n.children,i,o,a,s,c)}):n}))}function er(e){var t={};return e.forEach((function(e){var n=e.key,r=e.filteredKeys;t[n]=r||null})),t}function tr(e){var t=[];return(e||[]).forEach((function(e){var n=e.value,r=e.children;t.push(n),r&&(t=[].concat(Gn(t),Gn(tr(r))))})),t}function nr(e,t){return t.reduce((function(e,t){var n=t.column,r=n.onFilter,i=n.filters,o=t.filteredKeys;return r&&o&&o.length?e.filter((function(e){return o.some((function(t){var n=tr(i),o=n.findIndex((function(e){return String(e)===String(t)})),a=-1!==o?n[o]:t;return r(a,e)}))})):e}),e)}function rr(e){var t=e.prefixCls,n=e.dropdownPrefixCls,i=e.mergedColumns,o=e.onFilterChange,a=e.getPopupContainer,s=e.locale,l=r["useState"]($n(i,!0)),u=zn(l,2),c=u[0],d=u[1],h=r["useMemo"]((function(){var e=$n(i,!1);return e.every((function(e){var t=e.filteredKeys;return void 0===t}))?c:e}),[i,c]),f=r["useCallback"]((function(){return er(h)}),[h]),p=function(e){var t=h.filter((function(t){var n=t.key;return n!==e.key}));t.push(e),d(t),o(er(t),t)},g=function(e){return Jn(t,n,e,h,p,a,s)};return[g,h,f]}var ir=rr;function or(){return or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},or.apply(this,arguments)}function ar(e,t){return e.map((function(e){var n=or({},e);return n.title=Wt(e.title,t),"children"in n&&(n.children=ar(n.children,t)),n}))}function sr(e){var t=r["useCallback"]((function(t){return ar(t,e)}),[e]);return[t]}function lr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ur(e){return function(t){var n,i=t.prefixCls,a=t.onExpand,s=t.record,l=t.expanded,u=t.expandable,c="".concat(i,"-row-expand-icon");return r["createElement"]("button",{type:"button",onClick:function(e){a(s,e),e.stopPropagation()},className:o()(c,(n={},lr(n,"".concat(c,"-spaced"),!u),lr(n,"".concat(c,"-expanded"),u&&l),lr(n,"".concat(c,"-collapsed"),u&&!l),n)),"aria-label":l?e.collapse:e.expand})}}var cr=ur,dr=n("zAh6"),hr=n("ZvpZ"),fr=hr["a"],pr=n("3Nzz");function gr(e){return null}var mr=gr;function vr(e){return null}var yr=vr,br=n("5OYt");function _r(e){return _r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_r(e)}function wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xr(e,t){return Er(e)||kr(e,t)||Sr(e,t)||Cr()}function Cr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sr(e,t){if(e){if("string"===typeof e)return Or(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Or(e,t):void 0}}function Or(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kr(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function Er(e){if(Array.isArray(e))return e}function Dr(){return Dr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dr.apply(this,arguments)}var Mr=[];function Nr(e){var t,n=e.prefixCls,i=e.className,s=e.style,l=e.size,u=e.bordered,c=e.dropdownPrefixCls,d=e.dataSource,h=e.pagination,f=e.rowSelection,p=e.rowKey,g=e.rowClassName,m=e.columns,v=e.children,y=e.childrenColumnName,b=e.onChange,_=e.getPopupContainer,w=e.loading,x=e.expandIcon,C=e.expandable,S=e.expandedRowRender,O=e.expandIconColumnIndex,k=e.indentSize,E=e.scroll,D=e.sortDirections,M=e.locale,N=e.showSorterTooltip,L=void 0===N||N,I=Object(br["a"])(),T=r["useMemo"]((function(){var e=new Set(Object.keys(I).filter((function(e){return I[e]})));return(m||ve(v)).filter((function(t){return!t.responsive||t.responsive.some((function(t){return e.has(t)}))}))}),[v,m,I]),P=Object(a["a"])(e,["className","style","columns"]),A=r["useContext"](pr["b"]),R=r["useContext"](Ye["b"]),j=R.locale,F=void 0===j?fr:j,B=R.renderEmpty,V=R.direction,z=l||A,W=Dr(Dr({},F.Table),M),H=d||Mr,U=r["useContext"](Ye["b"]),K=U.getPrefixCls,G=K("table",n),q=K("dropdown",c),Y=Dr({childrenColumnName:y,expandIconColumnIndex:O},C),X=Y.childrenColumnName,Z=void 0===X?"children":X,Q=r["useMemo"]((function(){return H.some((function(e){return e[Z]}))?"nest":S||C&&C.expandedRowRender?"row":null}),[H]),$={body:r["useRef"]()},J=r["useMemo"]((function(){return"function"===typeof p?p:function(e){return e[p]}}),[p]),ee=lt(H,Z,J),te=xr(ee,1),ne=te[0],re={},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Dr(Dr({},re),e);t&&(re.resetPagination(),n.pagination.current&&(n.pagination.current=1),h&&h.onChange&&h.onChange(1,n.pagination.pageSize)),E&&!1!==E.scrollToFirstRowOnChange&&$.body.current&&Object(dr["a"])(0,{getContainer:function(){return $.body.current}}),b&&b(n.pagination,n.filters,n.sorter,{currentDataSource:nr(hn(H,n.sorterStates,Z),n.filterStates)})},oe=function(e,t){ie({sorter:e,sorterStates:t},!1)},ae=fn({prefixCls:G,mergedColumns:T,onSorterChange:oe,sortDirections:D||["ascend","descend"],tableLocale:W,showSorterTooltip:L}),se=xr(ae,4),le=se[0],ue=se[1],ce=se[2],de=se[3],he=r["useMemo"]((function(){return hn(H,ue,Z)}),[H,ue]);re.sorter=de(),re.sorterStates=ue;var fe=function(e,t){ie({filters:e,filterStates:t},!0)},pe=ir({prefixCls:G,locale:W,dropdownPrefixCls:q,mergedColumns:T,onFilterChange:fe,getPopupContainer:_}),ge=xr(pe,3),me=ge[0],ye=ge[1],be=ge[2],_e=nr(he,ye);re.filters=be(),re.filterStates=ye;var we=r["useMemo"]((function(){return Dr({},ce)}),[ce]),xe=sr(we),Ce=xr(xe,1),Se=Ce[0],Oe=function(e,t){ie({pagination:Dr(Dr({},re.pagination),{current:e,pageSize:t})})},ke=st(_e.length,h,Oe),Ee=xr(ke,2),De=Ee[0],Me=Ee[1];re.pagination=!1===h?{}:ot(h,De),re.resetPagination=Me;var Ne=r["useMemo"]((function(){if(!1===h||!De.pageSize)return _e;var e=De.current,t=void 0===e?1:e,n=De.total,r=De.pageSize,i=void 0===r?it:r;return _e.length<n?_e.length>i?(Object(gt["a"])(!1,"Table","`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode."),_e.slice((t-1)*i,t*i)):_e:_e.slice((t-1)*i,t*i)}),[!!h,_e,De&&De.current,De&&De.pageSize,De&&De.total]),Le=Pt(f,{prefixCls:G,data:_e,pageData:Ne,getRowKey:J,getRecordByKey:ne,expandType:Q,childrenColumnName:Z,locale:W,expandIconColumnIndex:Y.expandIconColumnIndex,getPopupContainer:_}),Ie=xr(Le,2),Te=Ie[0],Pe=Ie[1],Ae=function(e,t,n){var r;return r="function"===typeof g?o()(g(e,t,n)):o()(g),o()(wr({},"".concat(G,"-row-selected"),Pe.has(J(e,t))),r)};Y.__PARENT_RENDER_ICON__=Y.expandIcon,Y.expandIcon=Y.expandIcon||x||cr(W),"nest"===Q&&void 0===Y.expandIconColumnIndex?Y.expandIconColumnIndex=f?1:0:Y.expandIconColumnIndex>0&&f&&(Y.expandIconColumnIndex-=1),Y.indentSize=Y.indentSize||k||15;var Re,je,Fe,Be=r["useCallback"]((function(e){return Se(Te(me(le(e))))}),[le,me,Te]);if(!1!==h){var Ve;Ve=De.size?De.size:"small"===z||"middle"===z?"small":void 0;var We=function(e){return r["createElement"](qe["a"],Dr({className:"".concat(G,"-pagination ").concat(G,"-pagination-").concat(e)},De,{size:Ve}))},He="rtl"===V?"left":"right";if(null!==De.position&&Array.isArray(De.position)){var Ue=De.position.find((function(e){return-1!==e.indexOf("top")})),Xe=De.position.find((function(e){return-1!==e.indexOf("bottom")}));Ue||Xe?(Ue&&(Re=We(Ue.toLowerCase().replace("top",""))),Xe&&(je=We(Xe.toLowerCase().replace("bottom","")))):je=We(He)}else je=We(He)}"boolean"===typeof w?Fe={spinning:w}:"object"===_r(w)&&(Fe=Dr({spinning:!0},w));var Ze=o()("".concat(G,"-wrapper"),i,wr({},"".concat(G,"-wrapper-rtl"),"rtl"===V));return r["createElement"]("div",{className:Ze,style:s},r["createElement"](Ge["a"],Dr({spinning:!1},Fe),Re,r["createElement"](Ke,Dr({},P,{columns:T,direction:V,expandable:Y,prefixCls:G,className:o()((t={},wr(t,"".concat(G,"-middle"),"middle"===z),wr(t,"".concat(G,"-small"),"small"===z),wr(t,"".concat(G,"-bordered"),u),wr(t,"".concat(G,"-empty"),0===H.length),t)),data:Ne,rowKey:J,rowClassName:Ae,emptyText:M&&M.emptyText||B("Table"),internalHooks:ze,internalRefs:$,transformColumns:Be})),Ne&&Ne.length>0&&je))}Nr.defaultProps={rowKey:"key"},Nr.SELECTION_ALL=Nt,Nr.SELECTION_INVERT=Lt,Nr.Column=mr,Nr.ColumnGroup=yr,Nr.Summary=Pe;var Lr=Nr;t["a"]=Lr},wDdD:function(e,t,n){var r=n("ProS"),i=n("bYtY");n("98bh"),n("GrNh");var o=n("d4KN"),a=n("mOdp"),s=n("KS52"),l=n("0/Rx");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),r.registerVisual(a("pie")),r.registerLayout(i.curry(s,"pie")),r.registerProcessor(l("pie"))},"wF/u":function(e,t,n){var r=n("e5cp"),i=n("ExA7");function o(e,t,n,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:r(e,t,n,a,o,s))}e.exports=o},wJg7:function(e,t){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t=null==t?n:t,!!t&&("number"==i||"symbol"!=i&&r.test(e))&&e>-1&&e%1==0&&e<t}e.exports=i},wPlo:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="RC_SELECT_INTERNAL_PROPS_MARK"},wQH0:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r,i=n("T8No");(function(e){e.editorSimpleInput=new i["d"]("editorSimpleInput",!1),e.editorTextFocus=new i["d"]("editorTextFocus",!1),e.focus=new i["d"]("editorFocus",!1),e.textInputFocus=new i["d"]("textInputFocus",!1),e.readOnly=new i["d"]("editorReadonly",!1),e.writable=e.readOnly.toNegated(),e.hasNonEmptySelection=new i["d"]("editorHasSelection",!1),e.hasOnlyEmptySelection=e.hasNonEmptySelection.toNegated(),e.hasMultipleSelections=new i["d"]("editorHasMultipleSelections",!1),e.hasSingleSelection=e.hasMultipleSelections.toNegated(),e.tabMovesFocus=new i["d"]("editorTabMovesFocus",!1),e.tabDoesNotMoveFocus=e.tabMovesFocus.toNegated(),e.isInEmbeddedEditor=new i["d"]("isInEmbeddedEditor",!1),e.canUndo=new i["d"]("canUndo",!1),e.canRedo=new i["d"]("canRedo",!1),e.languageId=new i["d"]("editorLangId",""),e.hasCompletionItemProvider=new i["d"]("editorHasCompletionItemProvider",!1),e.hasCodeActionsProvider=new i["d"]("editorHasCodeActionsProvider",!1),e.hasCodeLensProvider=new i["d"]("editorHasCodeLensProvider",!1),e.hasDefinitionProvider=new i["d"]("editorHasDefinitionProvider",!1),e.hasDeclarationProvider=new i["d"]("editorHasDeclarationProvider",!1),e.hasImplementationProvider=new i["d"]("editorHasImplementationProvider",!1),e.hasTypeDefinitionProvider=new i["d"]("editorHasTypeDefinitionProvider",!1),e.hasHoverProvider=new i["d"]("editorHasHoverProvider",!1),e.hasDocumentHighlightProvider=new i["d"]("editorHasDocumentHighlightProvider",!1),e.hasDocumentSymbolProvider=new i["d"]("editorHasDocumentSymbolProvider",!1),e.hasReferenceProvider=new i["d"]("editorHasReferenceProvider",!1),e.hasRenameProvider=new i["d"]("editorHasRenameProvider",!1),e.hasSignatureHelpProvider=new i["d"]("editorHasSignatureHelpProvider",!1),e.hasDocumentFormattingProvider=new i["d"]("editorHasDocumentFormattingProvider",!1),e.hasDocumentSelectionFormattingProvider=new i["d"]("editorHasDocumentSelectionFormattingProvider",!1),e.hasMultipleDocumentFormattingProvider=new i["d"]("editorHasMultipleDocumentFormattingProvider",!1),e.hasMultipleDocumentSelectionFormattingProvider=new i["d"]("editorHasMultipleDocumentSelectionFormattingProvider",!1)})(r||(r={}))},wXyp:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("ygfH")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="CheckOutlined";var u=o.forwardRef(l);t.default=u},wgeU:function(e,t){},wgjA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};t.default=r},woZy:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return n.e(201).then(n.bind(null,"I+Au"))}})},wr5s:function(e,t,n){var r=n("IwbS"),i=r.extendShape,o=i({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,d=Math.cos(l),h=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=c?u-l<2*Math.PI:l-u<2*Math.PI;g&&(e.moveTo(d*i+n,h*i+r),e.arc(d*s+n,h*s+r,a,-Math.PI+l,l,!c)),e.arc(n,r,o,l,u,!c),e.moveTo(f*o+n,p*o+r),e.arc(f*s+n,p*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&(e.arc(n,r,i,u,l,c),e.moveTo(d*i+n,p*i+r)),e.closePath()}});e.exports=o},wt3j:function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("EMyp"),s=a.layoutCovers,l=r.extendComponentView({type:"brush",init:function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new o(t.getZr())).on("brush",i.bind(this._onBrush,this)).mount()},render:function(e){return this.model=e,u.apply(this,arguments)},updateTransform:function(e,t){return s(t),u.apply(this,arguments)},updateView:u,dispose:function(){this._brushController.dispose()},_onBrush:function(e,t){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(e,this.ecModel),(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:i.clone(e),$from:n}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:i.clone(e),$from:n})}});function u(e,t,n,r){(!r||r.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())}e.exports=l},wxcJ:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s}));var r=n("MNsG"),i="undefined"===typeof e?{cwd:function(){return"/"},env:Object.create(null),get platform(){return r["h"]?"win32":r["e"]?"darwin":"linux"},nextTick:function(e){return Object(r["i"])(e)}}:e,o=i.cwd,a=i.env,s=i.platform}).call(this,n("Q2Ig"))},wy8a:function(e,t,n){var r=n("KxBF");function i(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}e.exports=i},"x/UI":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("Cg/j"),i=Object(r["c"])("IWorkspaceEditService")},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),i=n.n(r),o=n("QbLZ"),a=n.n(o),s=n("iCc5"),l=n.n(s),u=n("FYw3"),c=n.n(u),d=n("mRg0"),h=n.n(d),f=n("q1tI"),p=n.n(f),g=n("TSYQ"),m=n.n(g),v=function(e){function t(n){l()(this,t);var r=c()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,i=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),i&&i({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var i="checked"in n?n.checked:n.defaultChecked;return r.state={checked:i},r}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,s=t.name,l=t.id,u=t.type,c=t.disabled,d=t.readOnly,h=t.tabIndex,f=t.onClick,g=t.onFocus,v=t.onBlur,y=t.autoFocus,b=t.value,_=t.required,w=i()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),x=Object.keys(w).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=w[t]),e}),{}),C=this.state.checked,S=m()(n,r,(e={},e[n+"-checked"]=C,e[n+"-disabled"]=c,e));return p.a.createElement("span",{className:S,style:o},p.a.createElement("input",a()({name:s,id:l,type:u,required:_,readOnly:d,disabled:c,tabIndex:h,className:n+"-input",checked:!!C,onClick:f,onFocus:g,onBlur:v,onChange:this.handleChange,autoFocus:y,ref:this.saveInput,value:b},x)),p.a.createElement("span",{className:n+"-inner"}))},t}(f["Component"]);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},t["a"]=v},x3X8:function(e,t,n){var r=n("KxfA"),i=r.retrieveRawValue;function o(e,t){var n=e.mapDimension("defaultedLabel",!0),r=n.length;if(1===r)return i(e,t,n[0]);if(r){for(var o=[],a=0;a<n.length;a++){var s=i(e,t,n[a]);o.push(s)}return o.join(" ")}}t.getDefaultLabel=o},x54q:function(e,t,n){},x6Kt:function(e,t,n){var r=n("y+Vt"),i=n("VpOo"),o=n("nPnh"),a=o.subPixelOptimizeRect,s={},l=r.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(e,t){var n,r,o,l;this.subPixelOptimize?(a(s,t,this.style),n=s.x,r=s.y,o=s.width,l=s.height,s.r=t.r,t=s):(n=t.x,r=t.y,o=t.width,l=t.height),t.r?i.buildPath(e,t):e.rect(n,r,o,l),e.closePath()}});e.exports=l},xCex:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("q1tI"),i=r["createContext"](null),o=i.Provider;t["b"]=i},xEkU:function(e,t,n){(function(t){for(var r=n("bQgK"),i="undefined"===typeof window?t:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],l=i["cancel"+a]||i["cancelRequest"+a],u=0;!s&&u<o.length;u++)s=i[o[u]+"Request"+a],l=i[o[u]+"Cancel"+a]||i[o[u]+"CancelRequest"+a];if(!s||!l){var c=0,d=0,h=[],f=1e3/60;s=function(e){if(0===h.length){var t=r(),n=Math.max(0,f-(t-c));c=n+t,setTimeout((function(){var e=h.slice(0);h.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return h.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return s.call(i,e)},e.exports.cancel=function(){l.apply(i,arguments)},e.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,n("yLpj"))},xKMd:function(e,t){function n(e,t){this.getAllNames=function(){var e=t();return e.mapArray(e.getName)},this.containName=function(e){var n=t();return n.indexOfName(e)>=0},this.indexOfName=function(t){var n=e();return n.indexOfName(t)},this.getItemVisual=function(t,n){var r=e();return r.getItemVisual(t,n)}}var r=n;e.exports=r},xONI:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));n("KgQ1");var r=n("EffR"),i=n("7lZ/"),o=n("pmY6"),a=n("nuFA"),s=n("qj0h"),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(){function e(e){this._element=e}return Object.defineProperty(e.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textContent",{set:function(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"className",{set:function(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{set:function(e){this.disposed||e===this._title||(this._title=e,this._title?this._element.title=e:this._element.removeAttribute("title"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"empty",{set:function(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.disposed=!0},e}(),c=function(e){function t(t,n){var o=e.call(this)||this;o.domNode=o._register(new u(r["p"](t,r["a"](".monaco-icon-label"))));var a=r["p"](o.domNode.element,r["a"](".monaco-icon-label-container")),s=r["p"](a,r["a"]("span.monaco-icon-name-container"));return o.descriptionContainer=o._register(new u(r["p"](a,r["a"]("span.monaco-icon-description-container")))),(null===n||void 0===n?void 0:n.supportHighlights)?o.nameNode=new f(s,!!n.supportCodicons):o.nameNode=new d(s),(null===n||void 0===n?void 0:n.supportDescriptionHighlights)?o.descriptionNodeFactory=function(){return new i["a"](r["p"](o.descriptionContainer.element,r["a"]("span.label-description")),!!n.supportCodicons)}:o.descriptionNodeFactory=function(){return o._register(new u(r["p"](o.descriptionContainer.element,r["a"]("span.label-description"))))},o}return l(t,e),t.prototype.setLabel=function(e,t,n){var r=["monaco-icon-label"];n&&(n.extraClasses&&r.push.apply(r,n.extraClasses),n.italic&&r.push("italic")),this.domNode.className=r.join(" "),this.domNode.title=(null===n||void 0===n?void 0:n.title)||"",this.nameNode.setLabel(e,n),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof i["a"]?(this.descriptionNode.set(t||"",n?n.descriptionMatches:void 0),(null===n||void 0===n?void 0:n.descriptionTitle)?this.descriptionNode.element.title=n.descriptionTitle:this.descriptionNode.element.removeAttribute("title")):(this.descriptionNode.textContent=t||"",this.descriptionNode.title=(null===n||void 0===n?void 0:n.descriptionTitle)||"",this.descriptionNode.empty=!t))},t}(o["a"]),d=function(){function e(e){this.container=e,this.label=void 0,this.singleLabel=void 0}return e.prototype.setLabel=function(e,t){if(this.label!==e||!Object(s["e"])(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerHTML="",r["O"](this.container,"multiple"),this.singleLabel=r["p"](this.container,r["a"]("a.label-name",{id:null===t||void 0===t?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerHTML="",r["e"](this.container,"multiple"),this.singleLabel=void 0;for(var n=0;n<e.length;n++){var i=e[n],o=(null===t||void 0===t?void 0:t.domId)&&(null===t||void 0===t?void 0:t.domId)+"_"+n;r["p"](this.container,r["a"]("a.label-name",{id:o,"data-icon-label-count":e.length,"data-icon-label-index":n},i)),n<e.length-1&&r["p"](this.container,r["a"]("span.label-separator",void 0,(null===t||void 0===t?void 0:t.separator)||"/"))}}},e}();function h(e,t,n){if(n){var r=0;return e.map((function(e){var i={start:r,end:r+e.length},o=n.map((function(e){return a["a"].intersect(i,e)})).filter((function(e){return!a["a"].isEmpty(e)})).map((function(e){var t=e.start,n=e.end;return{start:t-r,end:n-r}}));return r=i.end+t.length,o}))}}var f=function(){function e(e,t){this.container=e,this.supportCodicons=t,this.label=void 0,this.singleLabel=void 0}return e.prototype.setLabel=function(e,t){if(this.label!==e||!Object(s["e"])(this.options,t))if(this.label=e,this.options=t,"string"===typeof e)this.singleLabel||(this.container.innerHTML="",r["O"](this.container,"multiple"),this.singleLabel=new i["a"](r["p"](this.container,r["a"]("a.label-name",{id:null===t||void 0===t?void 0:t.domId})),this.supportCodicons)),this.singleLabel.set(e,null===t||void 0===t?void 0:t.matches,null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.labelEscapeNewLines);else{this.container.innerHTML="",r["e"](this.container,"multiple"),this.singleLabel=void 0;for(var n=(null===t||void 0===t?void 0:t.separator)||"/",o=h(e,n,null===t||void 0===t?void 0:t.matches),a=0;a<e.length;a++){var l=e[a],u=o?o[a]:void 0,c=(null===t||void 0===t?void 0:t.domId)&&(null===t||void 0===t?void 0:t.domId)+"_"+a,d=r["a"]("a.label-name",{id:c,"data-icon-label-count":e.length,"data-icon-label-index":a}),f=new i["a"](r["p"](this.container,d),this.supportCodicons);f.set(l,u,null===t||void 0===t?void 0:t.title,null===t||void 0===t?void 0:t.labelEscapeNewLines),a<e.length-1&&r["p"](d,r["a"]("span.label-separator",void 0,n))}}},e}()},xRUu:function(e,t,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(e,t){var n={axisPointer:1,tooltip:1,brush:1};function r(e,t,r){var i=t.getComponentByElement(e.topTarget),o=i&&i.coordinateSystem;return i&&i!==r&&!n[i.mainType]&&o&&o.model!==r}t.onIrrelevantElement=r},xTNl:function(e,t){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],r={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]};e.exports=r},xYNL:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return n.e(191).then(n.bind(null,"tGOS"))}})},xYSL:function(e,t){function n(e,t){return e.has(t)}e.exports=n},xb2K:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("5yev")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="RedoOutlined";var u=o.forwardRef(l);t.default=u},xiyX:function(e,t,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),l={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}};function u(e,t){return t.type||(t.data?"category":"value")}r.merge(s.prototype,a),o("single",s,u,l);var c=s;e.exports=c},xmOD:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return n.e(211).then(n.bind(null,"fB/Z"))}})},xzDV:function(e,t,n){},"y+Vt":function(e,t,n){var r=n("Gev7"),i=n("bYtY"),o=n("IMiH"),a=n("2DNl"),s=n("3C/r"),l=s.prototype.getCanvasPattern,u=Math.abs,c=new o(!0);function d(e){r.call(this,e),this.path=null}d.prototype={constructor:d,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(e,t){var n,r=this.style,i=this.path||c,o=r.hasStroke(),a=r.hasFill(),s=r.fill,u=r.stroke,d=a&&!!s.colorStops,h=o&&!!u.colorStops,f=a&&!!s.image,p=o&&!!u.image;(r.bind(e,this,t),this.setTransform(e),this.__dirty)&&(d&&(n=n||this.getBoundingRect(),this._fillGradient=r.getGradient(e,s,n)),h&&(n=n||this.getBoundingRect(),this._strokeGradient=r.getGradient(e,u,n)));d?e.fillStyle=this._fillGradient:f&&(e.fillStyle=l.call(s,e)),h?e.strokeStyle=this._strokeGradient:p&&(e.strokeStyle=l.call(u,e));var g=r.lineDash,m=r.lineDashOffset,v=!!e.setLineDash,y=this.getGlobalScale();if(i.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&o?(i.beginPath(e),g&&!v&&(i.setLineDash(g),i.setLineDashOffset(m)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(e.beginPath(),this.path.rebuildPath(e)),a)if(null!=r.fillOpacity){var b=e.globalAlpha;e.globalAlpha=r.fillOpacity*r.opacity,i.fill(e),e.globalAlpha=b}else i.fill(e);if(g&&v&&(e.setLineDash(g),e.lineDashOffset=m),o)if(null!=r.strokeOpacity){b=e.globalAlpha;e.globalAlpha=r.strokeOpacity*r.opacity,i.stroke(e),e.globalAlpha=b}else i.stroke(e);g&&v&&e.setLineDash([]),null!=r.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))},buildPath:function(e,t,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var e=this._rect,t=this.style,n=!e;if(n){var r=this.path;r||(r=this.path=new o),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),e=r.getBoundingRect()}if(this._rect=e,t.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=e.clone());if(this.__dirty||n){i.copy(e);var a=t.lineWidth,s=t.strokeNoScale?this.getLineScale():1;t.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=a/s,i.height+=a/s,i.x-=a/s/2,i.y-=a/s/2)}return i}return e},contain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){var o=this.path.data;if(i.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(i.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,e,t)))return!0}if(i.hasFill())return a.contain(o,e,t)}return!1},dirty:function(e){null==e&&(e=!0),e&&(this.__dirtyPath=e,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(e){return this.animate("shape",e)},attrKV:function(e,t){"shape"===e?(this.setShape(t),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,e,t)},setShape:function(e,t){var n=this.shape;if(n){if(i.isObject(e))for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);else n[e]=t;this.dirty(!0)}return this},getLineScale:function(){var e=this.transform;return e&&u(e[0]-1)>1e-10&&u(e[3]-1)>1e-10?Math.sqrt(u(e[0]*e[3]-e[2]*e[1])):1}},d.extend=function(e){var t=function(t){d.call(this,t),e.style&&this.style.extendFrom(e.style,!1);var n=e.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var i in n)!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(r[i]=n[i])}e.init&&e.init.call(this,t)};for(var n in i.inherits(t,d),e)"style"!==n&&"shape"!==n&&(t.prototype[n]=e[n]);return t},i.inherits(d,r);var h=d;e.exports=h},"y+lR":function(e,t,n){var r=n("bYtY"),i=n("mFDi"),o=n("z35g");function a(e){o.call(this,e)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},containData:function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},dataToPoint:function(e,t,n){var r=this.getAxis("x"),i=this.getAxis("y");return n=n||[],n[0]=r.toGlobalCoord(r.dataToCoord(e[0])),n[1]=i.toGlobalCoord(i.dataToCoord(e[1])),n},clampData:function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(e[0]),s=r.parse(e[1]);return t=t||[],t[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),t},pointToData:function(e,t){var n=this.getAxis("x"),r=this.getAxis("y");return t=t||[],t[0]=n.coordToData(n.toLocalCoord(e[0])),t[1]=r.coordToData(r.toLocalCoord(e[1])),t},getOtherAxis:function(e){return this.getAxis("x"===e.dim?"y":"x")},getArea:function(){var e=this.getAxis("x").getGlobalExtent(),t=this.getAxis("y").getGlobalExtent(),n=Math.min(e[0],e[1]),r=Math.min(t[0],t[1]),o=Math.max(e[0],e[1])-n,a=Math.max(t[0],t[1])-r,s=new i(n,r,o,a);return s}},r.inherits(a,o);var s=a;e.exports=s},y1pI:function(e,t,n){var r=n("ljhN");function i(e,t){var n=e.length;while(n--)if(r(e[n][0],t))return n;return-1}e.exports=i},y23F:function(e,t){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function r(e,t){return{target:e,topTarget:t&&t.topTarget}}n.prototype={constructor:n,_dragStart:function(e){var t=e.target;while(t&&!t.draggable)t=t.parent;t&&(this._draggingTarget=t,t.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.dispatchToElement(r(t,e),"dragstart",e.event))},_drag:function(e){var t=this._draggingTarget;if(t){var n=e.offsetX,i=e.offsetY,o=n-this._x,a=i-this._y;this._x=n,this._y=i,t.drift(o,a,e),this.dispatchToElement(r(t,e),"drag",e.event);var s=this.findHover(n,i,t).target,l=this._dropTarget;this._dropTarget=s,t!==s&&(l&&s!==l&&this.dispatchToElement(r(l,e),"dragleave",e.event),s&&s!==l&&this.dispatchToElement(r(s,e),"dragenter",e.event))}},_dragEnd:function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.dispatchToElement(r(t,e),"dragend",e.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null}};var i=n;e.exports=i},y2l5:function(e,t,n){var r=n("MwEJ"),i=n("T4UG"),o=i.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(e,t){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});e.exports=o},y3CF:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return n.e(198).then(n.bind(null,"YdqL"))}})},y3NT:function(e,t,n){var r=n("OELB"),i=r.parsePercent,o=n("bYtY"),a=Math.PI/180;function s(e,t,n,r){t.eachSeriesByType(e,(function(e){var t=e.get("center"),r=e.get("radius");o.isArray(r)||(r=[0,r]),o.isArray(t)||(t=[t,t]);var s=n.getWidth(),u=n.getHeight(),c=Math.min(s,u),d=i(t[0],s),h=i(t[1],u),f=i(r[0],c/2),p=i(r[1],c/2),g=-e.get("startAngle")*a,m=e.get("minAngle")*a,v=e.getData().tree.root,y=e.getViewRoot(),b=y.depth,_=e.get("sort");null!=_&&l(y,_);var w=0;o.each(y.children,(function(e){!isNaN(e.getValue())&&w++}));var x=y.getValue(),C=Math.PI/(x||w)*2,S=y.depth>0,O=y.height-(S?-1:1),k=(p-f)/(O||1),E=e.get("clockwise"),D=e.get("stillShowZeroSum"),M=E?1:-1,N=function(e,t){if(e){var n=t;if(e!==v){var r=e.getValue(),a=0===x&&D?C:r*C;a<m&&(a=m),n=t+M*a;var s=e.depth-b-(S?-1:1),l=f+k*s,u=f+k*(s+1),p=e.getModel();null!=p.get("r0")&&(l=i(p.get("r0"),c/2)),null!=p.get("r")&&(u=i(p.get("r"),c/2)),e.setLayout({angle:a,startAngle:t,endAngle:n,clockwise:E,cx:d,cy:h,r0:l,r:u})}if(e.children&&e.children.length){var g=0;o.each(e.children,(function(e){g+=N(e,t+g)}))}return n-t}};if(S){var L=f,I=f+k,T=2*Math.PI;v.setLayout({angle:T,startAngle:g,endAngle:g+T,clockwise:E,cx:d,cy:h,r0:L,r:I})}N(y,g)}))}function l(e,t){var n=e.children||[];e.children=u(n,t),n.length&&o.each(e.children,(function(e){l(e,t)}))}function u(e,t){if("function"===typeof t)return e.sort(t);var n="asc"===t;return e.sort((function(e,t){var r=(e.getValue()-t.getValue())*(n?1:-1);return 0===r?(e.dataIndex-t.dataIndex)*(n?-1:1):r}))}e.exports=s},y3Yb:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("HBhm")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="PaperClipOutlined";var u=o.forwardRef(l);t.default=u},"y4/Y":function(e,t,n){var r=n("ProS"),i=n("bYtY"),o=n("zTMp"),a=n("62sa");n("SKx+"),n("1LEl"),n("Sp2Z"),r.registerPreprocessor((function(e){if(e){(!e.axisPointer||0===e.axisPointer.length)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!i.isArray(t)&&(e.axisPointer.link=[t])}})),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=o.collect(e,t)})),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},a)},y7Aq:function(e,t,n){var r=n("bYtY"),i=n("+TT/"),o=i.getLayoutRect;function a(e,t,n){var r=e.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var a={width:t.getWidth(),height:t.getHeight()},s="horizontal"===r.orient?1:0,l=[["left","right","width"],["top","bottom","height"]],u=l[s],c=[0,null,10],d={},h=0;h<3;h++)d[l[1-s][h]]=c[h],d[u[h]]=2===h?n[0]:r[u[h]];var f=[["x","width",3],["y","height",0]][s],p=o(d,a,r.padding);return u[(p.margin[f[2]]||0)+p[f[0]]+.5*p[f[1]]<.5*a[f[1]]?0:1]}function s(e,t){return r.each(e||[],(function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")})),e}t.getItemAlign=a,t.makeHighDownBatch=s},y8nQ:function(e,t,n){"use strict";n("cIOH"),n("gwTy"),n("1GLa")},yEoX:function(e,t,n){},yGk4:function(e,t,n){var r=n("Cwc5"),i=n("Kz5y"),o=r(i,"Set");e.exports=o},yI7H:function(e,t,n){},yKqg:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return n.e(207).then(n.bind(null,"LdT9"))}})},yO87:function(e,t,n){var r=n("bYtY"),i=n("oVpE"),o=i.createSymbol,a=n("IwbS"),s=a.Group,l=n("OELB"),u=l.parsePercent,c=n("FBjb"),d=3;function h(e){return r.isArray(e)||(e=[+e,+e]),e}function f(e,t){var n=t.rippleEffectColor||t.color;e.eachChild((function(e){e.attr({z:t.z,zlevel:t.zlevel,style:{stroke:"stroke"===t.brushType?n:null,fill:"fill"===t.brushType?n:null}})}))}function p(e,t){s.call(this);var n=new c(e,t),r=new s;this.add(n),this.add(r),r.beforeUpdate=function(){this.attr(n.getScale())},this.updateData(e,t)}var g=p.prototype;g.stopEffectAnimation=function(){this.childAt(1).removeAll()},g.startEffectAnimation=function(e){for(var t=e.symbolType,n=e.color,r=this.childAt(1),i=0;i<d;i++){var a=o(t,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var s=-i/d*e.period+e.effectOffset;a.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(s).start(),a.animateStyle(!0).when(e.period,{opacity:0}).delay(s).start(),r.add(a)}f(r,e)},g.updateEffectAnimation=function(e){for(var t=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale"],i=0;i<r.length;i++){var o=r[i];if(t[o]!==e[o])return this.stopEffectAnimation(),void this.startEffectAnimation(e)}f(n,e)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateData=function(e,t){var n=e.hostModel;this.childAt(0).updateData(e,t);var r=this.childAt(1),i=e.getItemModel(t),o=e.getItemVisual(t,"symbol"),a=h(e.getItemVisual(t,"symbolSize")),s=e.getItemVisual(t,"color");r.attr("scale",a),r.traverse((function(e){e.attr({fill:s})}));var l=i.getShallow("symbolOffset");if(l){var c=r.position;c[0]=u(l[0],a[0]),c[1]=u(l[1],a[1])}var d=e.getItemVisual(t,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var f={};if(f.showEffectOn=n.get("showEffectOn"),f.rippleScale=i.get("rippleEffect.scale"),f.brushType=i.get("rippleEffect.brushType"),f.period=1e3*i.get("rippleEffect.period"),f.effectOffset=t/e.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=o,f.color=s,f.rippleEffectColor=i.get("rippleEffect.color"),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===f.showEffectOn)this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f;else{this._effectCfg=null,this.stopEffectAnimation();var p=this.childAt(0),g=function(){p.highlight(),"render"!==f.showEffectOn&&this.startEffectAnimation(f)},m=function(){p.downplay(),"render"!==f.showEffectOn&&this.stopEffectAnimation()};this.on("mouseover",g,this).on("mouseout",m,this).on("emphasis",g,this).on("normal",m,this)}this._effectCfg=f},g.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},r.inherits(p,s);var m=p;e.exports=m},yS9w:function(e,t,n){var r=n("MEGo"),i=r.parseSVG,o=r.makeViewBoxTransform,a=n("4fz+"),s=n("x6Kt"),l=n("bYtY"),u=l.assert,c=l.createHashMap,d=n("mFDi"),h=n("4NO4"),f=h.makeInner,p=f(),g={load:function(e,t){var n=p(t).originRoot;if(n)return{root:n,boundingRect:p(t).boundingRect};var r=m(t);return p(t).originRoot=r.root,p(t).boundingRect=r.boundingRect,r},makeGraphic:function(e,t,n){var r=p(t),i=r.rootMap||(r.rootMap=c()),o=i.get(n);if(o)return o;var a=r.originRoot,s=r.boundingRect;return r.originRootHostKey?o=m(t,s).root:(r.originRootHostKey=n,o=a),i.set(n,o)},removeGraphic:function(e,t,n){var r=p(t),i=r.rootMap;i&&i.removeKey(n),n===r.originRootHostKey&&(r.originRootHostKey=null)}};function m(e,t){var n,r,l=e.svgXML;try{n=l&&i(l,{ignoreViewBox:!0,ignoreRootClip:!0})||{},r=n.root,u(null!=r)}catch(m){throw new Error("Invalid svg format\n"+m.message)}var c=n.width,h=n.height,f=n.viewBoxRect;if(t||(t=null==c||null==h?r.getBoundingRect():new d(0,0,0,0),null!=c&&(t.width=c),null!=h&&(t.height=h)),f){var p=o(f,t.width,t.height),g=r;r=new a,r.add(g),g.scale=p.scale,g.position=p.position}return r.setClipPath(new s({shape:t.plain()})),{root:r,boundingRect:t}}e.exports=g},yWXo:function(e,t,n){var r=n("IwbS"),i=n("oVpE"),o=i.createSymbol,a=n("OS9S"),s=4,l=r.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(e,t){var n=t.points,r=t.size,i=this.symbolProxy,o=i.shape,a=e.getContext?e.getContext():e,l=a&&r[0]<s;if(!l)for(var u=0;u<n.length;){var c=n[u++],d=n[u++];isNaN(c)||isNaN(d)||(this.softClipShape&&!this.softClipShape.contain(c,d)||(o.x=c-r[0]/2,o.y=d-r[1]/2,o.width=r[0],o.height=r[1],i.buildPath(e,o,!0)))}},afterBrush:function(e){var t=this.shape,n=t.points,r=t.size,i=r[0]<s;if(i){this.setTransform(e);for(var o=0;o<n.length;){var a=n[o++],l=n[o++];isNaN(a)||isNaN(l)||(this.softClipShape&&!this.softClipShape.contain(a,l)||e.fillRect(a-r[0]/2,l-r[1]/2,r[0],r[1]))}this.restoreTransform(e)}},findDataIndex:function(e,t){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return-1}});function u(){this.group=new r.Group}var c=u.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(e,t){this.group.removeAll();var n=new l({rectHover:!0,cursor:"default"});n.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(n,e,!1,t),this.group.add(n),this._incremental=null},c.updateLayout=function(e){if(!this._incremental){var t=e.getLayout("symbolPoints");this.group.eachChild((function(e){if(null!=e.startIndex){var n=2*(e.endIndex-e.startIndex),r=4*e.startIndex*2;t=new Float32Array(t.buffer,r,n)}e.setShape("points",t)}))}},c.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clearIncremental(),e.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(e,t,n){var r;this._incremental?(r=new l,this._incremental.addDisplayable(r,!0)):(r=new l({rectHover:!0,cursor:"default",startIndex:e.start,endIndex:e.end}),r.incremental=!0,this.group.add(r)),r.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(r,t,!!this._incremental,n)},c._setCommon=function(e,t,n,r){var i=t.hostModel;r=r||{};var a=t.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.softClipShape=r.clipShape||null,e.symbolProxy=o(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var l=e.shape.size[0]<s;e.useStyle(i.getModel("itemStyle").getItemStyle(l?["color","shadowBlur","shadowColor"]:["color"]));var u=t.getVisual("color");u&&e.setColor(u),n||(e.seriesIndex=i.seriesIndex,e.on("mousemove",(function(t){e.dataIndex=null;var n=e.findDataIndex(t.offsetX,t.offsetY);n>=0&&(e.dataIndex=n+(e.startIndex||0))})))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._clearIncremental=function(){var e=this._incremental;e&&e.clearDisplaybles()};var d=u;e.exports=d},ycre:function(e,t,n){var r=n("711d"),i=r("length");e.exports=i},ygfH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};t.default=r},yik8:function(e,t,n){var r=n("bZqE"),i=r.eachAfter,o=r.eachBefore,a=n("Itpr"),s=a.init,l=a.firstWalk,u=a.secondWalk,c=a.separation,d=a.radialCoordinate,h=a.getViewRect;function f(e,t){e.eachSeriesByType("tree",(function(e){p(e,t)}))}function p(e,t){var n=h(e,t);e.layoutInfo=n;var r=e.get("layout"),a=0,f=0,p=null;"radial"===r?(a=2*Math.PI,f=Math.min(n.height,n.width)/2,p=c((function(e,t){return(e.parentNode===t.parentNode?1:2)/e.depth}))):(a=n.width,f=n.height,p=c());var g=e.getData().tree.root,m=g.children[0];if(m){s(g),i(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,o(m,u);var v=m,y=m,b=m;o(m,(function(e){var t=e.getLayout().x;t<v.getLayout().x&&(v=e),t>y.getLayout().x&&(y=e),e.depth>b.depth&&(b=e)}));var _=v===y?1:p(v,y)/2,w=_-v.getLayout().x,x=0,C=0,S=0,O=0;if("radial"===r)x=a/(y.getLayout().x+_+w),C=f/(b.depth-1||1),o(m,(function(e){S=(e.getLayout().x+w)*x,O=(e.depth-1)*C;var t=d(S,O);e.setLayout({x:t.x,y:t.y,rawX:S,rawY:O},!0)}));else{var k=e.getOrient();"RL"===k||"LR"===k?(C=f/(y.getLayout().x+_+w),x=a/(b.depth-1||1),o(m,(function(e){O=(e.getLayout().x+w)*C,S="LR"===k?(e.depth-1)*x:a-(e.depth-1)*x,e.setLayout({x:S,y:O},!0)}))):"TB"!==k&&"BT"!==k||(x=a/(y.getLayout().x+_+w),C=f/(b.depth-1||1),o(m,(function(e){S=(e.getLayout().x+w)*x,O="TB"===k?(e.depth-1)*C:f-(e.depth-1)*C,e.setLayout({x:S,y:O},!0)})))}}}e.exports=f},ynwM:function(e,t,n){var r=n("MFOe"),i=r.Global;e.exports={name:"oldFF-globalStorage",read:a,write:s,each:l,remove:u,clearAll:c};var o=i.globalStorage;function a(e){return o[e]}function s(e,t){o[e]=t}function l(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}function u(e){return o.removeItem(e)}function c(){l((function(e,t){delete o[e]}))}},ypgQ:function(e,t,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=r.each,s=r.clone,l=r.map,u=r.merge,c=/^(min|max)?(.+)$/;function d(e){this._api=e,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function h(e,t,n){var i,o,s=[],l=[],u=e.timeline;if(e.baseOption&&(o=e.baseOption),(u||e.options)&&(o=o||{},s=(e.options||[]).slice()),e.media){o=o||{};var c=e.media;a(c,(function(e){e&&e.option&&(e.query?l.push(e):i||(i=e))}))}return o||(o=e),o.timeline||(o.timeline=u),a([o].concat(s).concat(r.map(l,(function(e){return e.option}))),(function(e){a(t,(function(t){t(e,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:i,mediaList:l}}function f(e,t,n){var i={width:t,height:n,aspectratio:t/n},o=!0;return r.each(e,(function(e,t){var n=t.match(c);if(n&&n[1]&&n[2]){var r=n[1],a=n[2].toLowerCase();p(i[a],e,r)||(o=!1)}})),o}function p(e,t,n){return"min"===n?e>=t:"max"===n?e<=t:e===t}function g(e,t){return e.join(",")===t.join(",")}function m(e,t){t=t||{},a(t,(function(t,n){if(null!=t){var r=e[n];if(o.hasClass(n)){t=i.normalizeToArray(t),r=i.normalizeToArray(r);var a=i.mappingToExists(r,t);e[n]=l(a,(function(e){return e.option&&e.exist?u(e.exist,e.option,!0):e.exist||e.option}))}else e[n]=u(r,t,!0)}}))}d.prototype={constructor:d,setOption:function(e,t){e&&r.each(i.normalizeToArray(e.series),(function(e){e&&e.data&&r.isTypedArray(e.data)&&r.setAsPrimitive(e.data)})),e=s(e);var n=this._optionBackup,o=h.call(this,e,t,!n);this._newBaseOption=o.baseOption,n?(m(n.baseOption,o.baseOption),o.timelineOptions.length&&(n.timelineOptions=o.timelineOptions),o.mediaList.length&&(n.mediaList=o.mediaList),o.mediaDefault&&(n.mediaDefault=o.mediaDefault)):this._optionBackup=o},mountOption:function(e){var t=this._optionBackup;return this._timelineOptions=l(t.timelineOptions,s),this._mediaList=l(t.mediaList,s),this._mediaDefault=s(t.mediaDefault),this._currentMediaIndices=[],s(e?t.baseOption:this._newBaseOption)},getTimelineOption:function(e){var t,n=this._timelineOptions;if(n.length){var r=e.getComponent("timeline");r&&(t=s(n[r.getCurrentIndex()],!0))}return t},getMediaOption:function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var u=0,c=r.length;u<c;u++)f(r[u].query,t,n)&&o.push(u);return!o.length&&i&&(o=[-1]),o.length&&!g(o,this._currentMediaIndices)&&(a=l(o,(function(e){return s(-1===e?i.option:r[e].option)}))),this._currentMediaIndices=o,a}};var v=d;e.exports=v},yqFB:function(e,t,n){},yxFR:function(e,t,n){var r=n("y+Vt"),i=n("nPnh"),o=i.subPixelOptimizeLine,a={},s=r.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n,r,i,s;this.subPixelOptimize?(o(a,t,this.style),n=a.x1,r=a.y1,i=a.x2,s=a.y2):(n=t.x1,r=t.y1,i=t.x2,s=t.y2);var l=t.percent;0!==l&&(e.moveTo(n,r),l<1&&(i=n*(1-l)+i*l,s=r*(1-l)+s*l),e.lineTo(i,s))},pointAt:function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]}});e.exports=s},z35g:function(e,t,n){var r=n("bYtY");function i(e){return this._axes[e]}var o=function(e){this._axes={},this._dimList=[],this.name=e||""};o.prototype={constructor:o,type:"cartesian",getAxis:function(e){return this._axes[e]},getAxes:function(){return r.map(this._dimList,i,this)},getAxesByScale:function(e){return e=e.toLowerCase(),r.filter(this.getAxes(),(function(t){return t.scale.type===e}))},addAxis:function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},dataToCoord:function(e){return this._dataCoordConvert(e,"dataToCoord")},coordToData:function(e){return this._dataCoordConvert(e,"coordToData")},_dataCoordConvert:function(e,t){for(var n=this._dimList,r=e instanceof Array?[]:{},i=0;i<n.length;i++){var o=n[i],a=this._axes[o];r[o]=a[t](e[o])}return r}};var a=o;e.exports=a},z3hU:function(e,t,n){"use strict";n.r(t),n.d(t,"LanguageServiceDefaultsImpl",(function(){return c}));n("M/lh");var r,i,o,a,s,l="3.7.5",u=monaco.Emitter,c=function(){function e(e,t){this._onDidChange=new u,this._onDidExtraLibsChange=new u,this._extraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(e.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!0,configurable:!0}),e.prototype.getExtraLibs=function(){return this._extraLibs},e.prototype.addExtraLib=function(e,t){var n,r=this;if(n="undefined"===typeof t?"ts:extralib-"+Math.random().toString(36).substring(2,15):t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var i=1;return this._extraLibs[n]&&(i=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:i},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var e=r._extraLibs[n];e&&e.version===i&&(delete r._extraLibs[n],r._fireOnDidExtraLibsChangeSoon())}}},e.prototype.setExtraLibs=function(e){if(this._extraLibs=Object.create(null),e&&e.length>0)for(var t=0,n=e;t<n.length;t++){var r=n[t],i=r.filePath||"ts:extralib-"+Math.random().toString(36).substring(2,15),o=r.content;this._extraLibs[i]={content:o,version:1}}this._fireOnDidExtraLibsChangeSoon()},e.prototype._fireOnDidExtraLibsChangeSoon=function(){var e=this;-1===this._onDidExtraLibsChangeTimeout&&(this._onDidExtraLibsChangeTimeout=setTimeout((function(){e._onDidExtraLibsChangeTimeout=-1,e._onDidExtraLibsChange.fire(void 0)}),0))},e.prototype.getCompilerOptions=function(){return this._compilerOptions},e.prototype.setCompilerOptions=function(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.getDiagnosticsOptions=function(){return this._diagnosticsOptions},e.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)},e.prototype.setMaximumWorkerIdleTime=function(e){},e.prototype.setEagerModelSync=function(e){this._eagerModelSync=e},e.prototype.getEagerModelSync=function(){return this._eagerModelSync},e}();(function(e){e[e["None"]=0]="None",e[e["CommonJS"]=1]="CommonJS",e[e["AMD"]=2]="AMD",e[e["UMD"]=3]="UMD",e[e["System"]=4]="System",e[e["ES2015"]=5]="ES2015",e[e["ESNext"]=99]="ESNext"})(r||(r={})),function(e){e[e["None"]=0]="None",e[e["Preserve"]=1]="Preserve",e[e["React"]=2]="React",e[e["ReactNative"]=3]="ReactNative"}(i||(i={})),function(e){e[e["CarriageReturnLineFeed"]=0]="CarriageReturnLineFeed",e[e["LineFeed"]=1]="LineFeed"}(o||(o={})),function(e){e[e["ES3"]=0]="ES3",e[e["ES5"]=1]="ES5",e[e["ES2015"]=2]="ES2015",e[e["ES2016"]=3]="ES2016",e[e["ES2017"]=4]="ES2017",e[e["ES2018"]=5]="ES2018",e[e["ES2019"]=6]="ES2019",e[e["ES2020"]=7]="ES2020",e[e["ESNext"]=99]="ESNext",e[e["JSON"]=100]="JSON",e[e["Latest"]=99]="Latest"}(a||(a={})),function(e){e[e["Classic"]=1]="Classic",e[e["NodeJs"]=2]="NodeJs"}(s||(s={}));var d=new c({allowNonTsExtensions:!0,target:a.Latest},{noSemanticValidation:!1,noSyntaxValidation:!1}),h=new c({allowNonTsExtensions:!0,allowJs:!0,target:a.Latest},{noSemanticValidation:!0,noSyntaxValidation:!1});function f(){return m().then((function(e){return e.getTypeScriptWorker()}))}function p(){return m().then((function(e){return e.getJavaScriptWorker()}))}function g(){return{ModuleKind:r,JsxEmit:i,NewLineKind:o,ScriptTarget:a,ModuleResolutionKind:s,typescriptVersion:l,typescriptDefaults:d,javascriptDefaults:h,getTypeScriptWorker:f,getJavaScriptWorker:p}}function m(){return n.e(225).then(n.bind(null,"4yiN"))}monaco.languages.typescript=g(),monaco.languages.onLanguage("typescript",(function(){return m().then((function(e){return e.setupTypeScript(d)}))})),monaco.languages.onLanguage("javascript",(function(){return m().then((function(e){return e.setupJavaScript(h)}))}))},zAh6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("xEkU"),i=n.n(r),o=n("i6bk");function a(e,t,n,r){var i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,s=t.callback,l=t.duration,u=void 0===l?450:l,c=r(),d=Object(o["a"])(c,!0),h=Date.now(),f=function t(){var n=Date.now(),r=n-h,l=a(r>u?u:r,d,e,u);Object(o["b"])(c)?c.scrollTo(window.pageXOffset,l):c instanceof HTMLDocument||"HTMLDocument"===c.constructor.name?c.documentElement.scrollTop=l:c.scrollTop=l,r<u?i()(t):"function"===typeof s&&s()};i()(f)}},zDms:function(e,t,n){var r=n("bYtY"),i=n("OELB"),o=n("UOVi"),a=n("72pK"),s=r.each,l=i.asc,u=function(e,t,n,r){this._dimName=e,this._axisIndex=t,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=r,this._dataZoomModel=n};function c(e,t,n){var r=[1/0,-1/0];return s(n,(function(e){var n=e.getData();n&&s(n.mapDimension(t,!0),(function(e){var t=n.getApproximateExtent(e);t[0]<r[0]&&(r[0]=t[0]),t[1]>r[1]&&(r[1]=t[1])}))})),r[1]<r[0]&&(r=[NaN,NaN]),d(e,r),r}function d(e,t){var n=e.getAxisModel(),r=n.getMin(!0),i="category"===n.get("type"),o=i&&n.getCategories().length;null!=r&&"dataMin"!==r&&"function"!==typeof r?t[0]=r:i&&(t[0]=o>0?0:NaN);var a=n.getMax(!0);return null!=a&&"dataMax"!==a&&"function"!==typeof a?t[1]=a:i&&(t[1]=o>0?o-1:NaN),n.get("scale",!0)||(t[0]>0&&(t[0]=0),t[1]<0&&(t[1]=0)),t}function h(e,t){var n=e.getAxisModel(),r=e._percentWindow,o=e._valueWindow;if(r){var a=i.getPixelPrecision(o,[0,500]);a=Math.min(a,20);var s=t||0===r[0]&&100===r[1];n.setRange(s?null:+o[0].toFixed(a),s?null:+o[1].toFixed(a))}}function f(e){var t=e._minMaxSpan={},n=e._dataZoomModel,r=e._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=e.getAxisModel().axis.scale.parse(s)),null!=s?a=i.linearMap(r[0]+s,r,[0,100],!0):null!=a&&(s=i.linearMap(a,[0,100],r,!0)-r[0]),t[o+"Span"]=a,t[o+"ValueSpan"]=s}))}u.prototype={constructor:u,hostedBy:function(e){return this._dataZoomModel===e},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var e=[],t=this.ecModel;return t.eachSeries((function(n){if(o.isCoordSupported(n.get("coordinateSystem"))){var r=this._dimName,i=t.queryComponents({mainType:r+"Axis",index:n.get(r+"AxisIndex"),id:n.get(r+"AxisId")})[0];this._axisIndex===(i&&i.componentIndex)&&e.push(n)}}),this),e},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var e,t,n,r=this._dimName,i=this.ecModel,o=this.getAxisModel(),a="x"===r||"y"===r;return a?(t="gridIndex",e="x"===r?"y":"x"):(t="polarIndex",e="angle"===r?"radius":"angle"),i.eachComponent(e+"Axis",(function(e){(e.get(t)||0)===(o.get(t)||0)&&(n=e)})),n},getMinMaxSpan:function(){return r.clone(this._minMaxSpan)},calculateDataWindow:function(e){var t,n=this._dataExtent,r=this.getAxisModel(),o=r.axis.scale,u=this._dataZoomModel.getRangePropMode(),c=[0,100],d=[],h=[];s(["start","end"],(function(r,a){var s=e[r],l=e[r+"Value"];"percent"===u[a]?(null==s&&(s=c[a]),l=o.parse(i.linearMap(s,c,n))):(t=!0,l=null==l?n[a]:o.parse(l),s=i.linearMap(l,n,c)),h[a]=l,d[a]=s})),l(h),l(d);var f=this._minMaxSpan;function p(e,t,n,r,s){var l=s?"Span":"ValueSpan";a(0,e,n,"all",f["min"+l],f["max"+l]);for(var u=0;u<2;u++)t[u]=i.linearMap(e[u],n,r,!0),s&&(t[u]=o.parse(t[u]))}return t?p(h,d,n,c,!1):p(d,h,c,n,!0),{valueWindow:h,percentWindow:d}},reset:function(e){if(e===this._dataZoomModel){var t=this.getTargetSeriesModels();this._dataExtent=c(this,this._dimName,t),f(this);var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,h(this)}},restore:function(e){e===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,h(this,!0))},filterData:function(e,t){if(e===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=e.get("filterMode"),o=this._valueWindow;"none"!==i&&s(r,(function(e){var t=e.getData(),r=t.mapDimension(n,!0);r.length&&("weakFilter"===i?t.filterSelf((function(e){for(var n,i,a,s=0;s<r.length;s++){var l=t.get(r[s],e),u=!isNaN(l),c=l<o[0],d=l>o[1];if(u&&!c&&!d)return!0;u&&(a=!0),c&&(n=!0),d&&(i=!0)}return a&&n&&i})):s(r,(function(n){if("empty"===i)e.setData(t=t.map(n,(function(e){return a(e)?e:NaN})));else{var r={};r[n]=o,t.selectRange(r)}})),s(r,(function(e){t.setApproximateExtent(o,e)})))}))}function a(e){return e>=o[0]&&e<=o[1]}}};var p=u;e.exports=p},zLkG:function(e,t,n){t.f=n("UWiX")},zM3Q:function(e,t,n){var r=n("4NO4"),i=r.makeInner;function o(){var e=i();return function(t){var n=e(t),r=t.pipelineContext,i=n.large,o=n.progressiveRender,a=n.large=r&&r.large,s=n.progressiveRender=r&&r.progressiveRender;return!!(i^a||o^s)&&"reset"}}e.exports=o},zQEy:function(e,t,n){"use strict";n.r(t);var r=n("+hIS");Object(r["a"])({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return n.e(183).then(n.bind(null,"On+f"))}})},zRKj:function(e,t,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zT1h:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("i8i4"),i=n.n(r);function o(e,t,n,r){var o=i.a.unstable_batchedUpdates?function(e){i.a.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){e.removeEventListener&&e.removeEventListener(t,o)}}}},zTMp:function(e,t,n){var r=n("bYtY"),i=n("Qxkt"),o=r.each,a=r.curry;function s(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return l(n,e,t),n.seriesInvolved&&c(n,e),n}function l(e,t,n){var r=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),s=i.get("link",!0)||[],l=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var c=v(n.model),h=e.coordSysAxesInfo[c]={};e.coordSysMap[c]=n;var f=n.model,p=f.getModel("tooltip",r);if(o(n.getAxes(),a(_,!1,null)),n.getTooltipAxes&&r&&p.get("show")){var g="axis"===p.get("trigger"),y="cross"===p.get("axisPointer.type"),b=n.getTooltipAxes(p.get("axisPointer.axis"));(g||y)&&o(b.baseAxes,a(_,!y||"cross",g)),y&&o(b.otherAxes,a(_,"cross",!1))}}function _(r,o,a){var c=a.model.getModel("axisPointer",i),f=c.get("show");if(f&&("auto"!==f||r||m(c))){null==o&&(o=c.get("triggerTooltip")),c=r?u(a,p,i,t,r,o):c;var g=c.get("snap"),y=v(a.model),b=o||g||"category"===a.type,_=e.axesInfo[y]={key:y,axis:a,coordSys:n,axisPointerModel:c,triggerTooltip:o,involveSeries:b,snap:g,useHandle:m(c),seriesModels:[]};h[y]=_,e.seriesInvolved|=b;var w=d(s,a);if(null!=w){var x=l[w]||(l[w]={axesInfo:{}});x.axesInfo[y]=_,x.mapper=s[w].mapper,_.linkGroup=x}}}}))}function u(e,t,n,a,s,l){var u=t.getModel("axisPointer"),c={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){c[e]=r.clone(u.get(e))})),c.snap="category"!==e.type&&!!l,"cross"===u.get("type")&&(c.type="line");var d=c.label||(c.label={});if(null==d.show&&(d.show=!1),"cross"===s){var h=u.get("label.show");if(d.show=null==h||h,!l){var f=c.lineStyle=u.get("crossStyle");f&&r.defaults(d,f.textStyle)}}return e.model.getModel("axisPointer",new i(c,n,a))}function c(e,t){t.eachSeries((function(t){var n=t.coordinateSystem,r=t.get("tooltip.trigger",!0),i=t.get("tooltip.show",!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==t.get("axisPointer.show",!0)&&o(e.coordSysAxesInfo[v(n.model)],(function(e){var r=e.axis;n.getAxis(r.dim)===r&&(e.seriesModels.push(t),null==e.seriesDataCount&&(e.seriesDataCount=0),e.seriesDataCount+=t.getData().count())}))}),this)}function d(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(h(o[r+"AxisId"],n.id)||h(o[r+"AxisIndex"],n.componentIndex)||h(o[r+"AxisName"],n.name))return i}}function h(e,t){return"all"===e||r.isArray(e)&&r.indexOf(e,t)>=0||e===t}function f(e){var t=p(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=m(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=t.axis.scale.isBlank()?"hide":"show")}}function p(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[v(e)]}function g(e){var t=p(e);return t&&t.axisPointerModel}function m(e){return!!e.get("handle.show")}function v(e){return e.type+"||"+e.id}t.collect=s,t.fixValue=f,t.getAxisInfo=p,t.getAxisPointerModel=g,t.makeKey=v},zYTA:function(e,t,n){var r=n("bYtY"),i=256;function o(){var e=r.createCanvas();this.canvas=e,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}o.prototype={update:function(e,t,n,r,o,a){var s=this._getBrush(),l=this._getGradient(e,o,"inRange"),u=this._getGradient(e,o,"outOfRange"),c=this.pointSize+this.blurSize,d=this.canvas,h=d.getContext("2d"),f=e.length;d.width=t,d.height=n;for(var p=0;p<f;++p){var g=e[p],m=g[0],v=g[1],y=g[2],b=r(y);h.globalAlpha=b,h.drawImage(s,m-c,v-c)}if(!d.width||!d.height)return d;var _=h.getImageData(0,0,d.width,d.height),w=_.data,x=0,C=w.length,S=this.minOpacity,O=this.maxOpacity,k=O-S;while(x<C){b=w[x+3]/256;var E=4*Math.floor(b*(i-1));if(b>0){var D=a(b)?l:u;b>0&&(b=b*k+S),w[x++]=D[E],w[x++]=D[E+1],w[x++]=D[E+2],w[x++]=D[E+3]*b*256}else x+=4}return h.putImageData(_,0,0),d},_getBrush:function(){var e=this._brushCanvas||(this._brushCanvas=r.createCanvas()),t=this.pointSize+this.blurSize,n=2*t;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-t,t,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),e},_getGradient:function(e,t,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)t[n](s/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i}};var a=o;e.exports=a},zarK:function(e,t,n){var r=n("YH21"),i=r.addEventListener,o=r.removeEventListener,a=r.normalizeEvent,s=r.getNativeEvent,l=n("bYtY"),u=n("H6uX"),c=n("ItGF"),d=300,h=c.domSupported,f=function(){var e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=l.map(e,(function(e){var t=e.replace("mouse","pointer");return n.hasOwnProperty(t)?t:e}));return{mouse:e,touch:t,pointer:r}}(),p={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function g(e){return"mousewheel"===e&&c.browser.firefox?"DOMMouseScroll":e}function m(e){var t=e.pointerType;return"pen"===t||"touch"===t}function v(e){e.touching=!0,null!=e.touchTimer&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout((function(){e.touching=!1,e.touchTimer=null}),700)}function y(e){e&&(e.zrByTouch=!0)}function b(e,t){return a(e.dom,new w(e,t),!0)}function _(e,t){var n=t,r=!1;while(n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot))n=n.parentNode;return r}function w(e,t){this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}var x=w.prototype;x.stopPropagation=x.stopImmediatePropagation=x.preventDefault=l.noop;var C={mousedown:function(e){e=a(this.dom,e),this._mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=a(this.dom,e);var t=this._mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||M(this,!0),this.trigger("mousemove",e)},mouseup:function(e){e=a(this.dom,e),M(this,!1),this.trigger("mouseup",e)},mouseout:function(e){e=a(this.dom,e),this._pointerCapturing&&(e.zrEventControl="no_globalout");var t=e.toElement||e.relatedTarget;e.zrIsToLocalDOM=_(this,t),this.trigger("mouseout",e)},touchstart:function(e){e=a(this.dom,e),y(e),this._lastTouchMoment=new Date,this.handler.processGesture(e,"start"),C.mousemove.call(this,e),C.mousedown.call(this,e)},touchmove:function(e){e=a(this.dom,e),y(e),this.handler.processGesture(e,"change"),C.mousemove.call(this,e)},touchend:function(e){e=a(this.dom,e),y(e),this.handler.processGesture(e,"end"),C.mouseup.call(this,e),+new Date-this._lastTouchMoment<d&&C.click.call(this,e)},pointerdown:function(e){C.mousedown.call(this,e)},pointermove:function(e){m(e)||C.mousemove.call(this,e)},pointerup:function(e){C.mouseup.call(this,e)},pointerout:function(e){m(e)||C.mouseout.call(this,e)}};l.each(["click","mousewheel","dblclick","contextmenu"],(function(e){C[e]=function(t){t=a(this.dom,t),this.trigger(e,t)}}));var S={pointermove:function(e){m(e)||S.mousemove.call(this,e)},pointerup:function(e){S.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this._pointerCapturing;M(this,!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function O(e,t){var n=t.domHandlers;c.pointerEventsSupported?l.each(f.pointer,(function(r){E(t,r,(function(t){n[r].call(e,t)}))})):(c.touchEventsSupported&&l.each(f.touch,(function(r){E(t,r,(function(i){n[r].call(e,i),v(t)}))})),l.each(f.mouse,(function(r){E(t,r,(function(i){i=s(i),t.touching||n[r].call(e,i)}))})))}function k(e,t){function n(n){function r(r){r=s(r),_(e,r.target)||(r=b(e,r),t.domHandlers[n].call(e,r))}E(t,n,r,{capture:!0})}c.pointerEventsSupported?l.each(p.pointer,n):c.touchEventsSupported||l.each(p.mouse,n)}function E(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,i(e.domTarget,g(t),n,r)}function D(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&o(e.domTarget,g(n),t[n],e.listenerOpts[n]);e.mounted={}}function M(e,t){if(e._mayPointerCapture=null,h&&e._pointerCapturing^t){e._pointerCapturing=t;var n=e._globalHandlerScope;t?k(e,n):D(n)}}function N(e,t){this.domTarget=e,this.domHandlers=t,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function L(e,t){u.call(this),this.dom=e,this.painterRoot=t,this._localHandlerScope=new N(e,C),h&&(this._globalHandlerScope=new N(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,O(this,this._localHandlerScope)}var I=L.prototype;I.dispose=function(){D(this._localHandlerScope),h&&D(this._globalHandlerScope)},I.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},l.mixin(L,u);var T=L;e.exports=T},zdCA:function(e,t,n){"use strict";var r=n("TqRt"),i=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("q1tI")),a=r(n("PSzr")),s=r(n("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="BarsOutlined";var u=o.forwardRef(l);t.default=u},zeV3:function(e,t,n){"use strict";var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("Zm9Q"),s=n("H84U");function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},d={small:8,middle:16,large:24},h=function(e){var t,n=r["useContext"](s["b"]),i=n.getPrefixCls,h=n.space,f=n.direction,p=e.size,g=void 0===p?(null===h||void 0===h?void 0:h.size)||"small":p,m=e.align,v=e.className,y=e.children,b=e.direction,_=void 0===b?"horizontal":b,w=e.prefixCls,x=c(e,["size","align","className","children","direction","prefixCls"]),C=Object(a["a"])(y),S=C.length;if(0===S)return null;var O=void 0===m&&"horizontal"===_?"center":m,k=i("space",w),E=o()(k,"".concat(k,"-").concat(_),(t={},u(t,"".concat(k,"-rtl"),"rtl"===f),u(t,"".concat(k,"-align-").concat(O),O),t),v),D="".concat(k,"-item"),M="rtl"===f?"marginLeft":"marginRight";return r["createElement"]("div",l({className:E},x),C.map((function(e,t){return r["createElement"]("div",{className:D,key:"".concat(D,"-").concat(t),style:t===S-1?{}:u({},"vertical"===_?"marginBottom":M,"string"===typeof g?d[g]:g)},e)})))};t["a"]=h},zoYe:function(e,t,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;function c(e){if("string"==typeof e)return e;if(o(e))return i(e,c)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},zrhQ:function(e,t,n){"use strict";function r(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var i=function(){function e(e,t,n,i){void 0===i&&(i=1),this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=r(Math.max(Math.min(1,i),0),3)}return e.equals=function(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a},e}(),o=function(){function e(e,t,n,i){this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.l=r(Math.max(Math.min(1,n),0),3),this.a=r(Math.max(Math.min(1,i),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a},e.fromRGBA=function(t){var n=t.r/255,r=t.g/255,i=t.b/255,o=t.a,a=Math.max(n,r,i),s=Math.min(n,r,i),l=0,u=0,c=(s+a)/2,d=a-s;if(d>0){switch(u=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),a){case n:l=(r-i)/d+(r<i?6:0);break;case r:l=(i-n)/d+2;break;case i:l=(n-r)/d+4;break}l*=60,l=Math.round(l)}return new e(l,u,c,o)},e._hue2rgb=function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},e.toRGBA=function(t){var n,r,o,a=t.h/360,s=t.s,l=t.l,u=t.a;if(0===s)n=r=o=l;else{var c=l<.5?l*(1+s):l+s-l*s,d=2*l-c;n=e._hue2rgb(d,c,a+1/3),r=e._hue2rgb(d,c,a),o=e._hue2rgb(d,c,a-1/3)}return new i(Math.round(255*n),Math.round(255*r),Math.round(255*o),u)},e}(),a=function(){function e(e,t,n,i){this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.v=r(Math.max(Math.min(1,n),0),3),this.a=r(Math.max(Math.min(1,i),0),3)}return e.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a},e.fromRGBA=function(t){var n,r=t.r/255,i=t.g/255,o=t.b/255,a=Math.max(r,i,o),s=Math.min(r,i,o),l=a-s,u=0===a?0:l/a;return n=0===l?0:a===r?((i-o)/l%6+6)%6:a===i?(o-r)/l+2:(r-i)/l+4,new e(Math.round(60*n),u,a,t.a)},e.toRGBA=function(e){var t=e.h,n=e.s,r=e.v,o=e.a,a=r*n,s=a*(1-Math.abs(t/60%2-1)),l=r-a,u=[0,0,0],c=u[0],d=u[1],h=u[2];return t<60?(c=a,d=s):t<120?(c=s,d=a):t<180?(d=a,h=s):t<240?(d=s,h=a):t<300?(c=s,h=a):t<360&&(c=a,h=s),c=Math.round(255*(c+l)),d=Math.round(255*(d+l)),h=Math.round(255*(h+l)),new i(c,d,h,o)},e}(),s=function(){function e(e){if(!e)throw new Error("Color needs a value");if(e instanceof i)this.rgba=e;else if(e instanceof o)this._hsla=e,this.rgba=o.toRGBA(e);else{if(!(e instanceof a))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=a.toRGBA(e)}}return e.fromHex=function(t){return e.Format.CSS.parseHex(t)||e.red},Object.defineProperty(e.prototype,"hsla",{get:function(){return this._hsla?this._hsla:o.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hsva",{get:function(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),e.prototype.equals=function(e){return!!e&&i.equals(this.rgba,e.rgba)&&o.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)},e.prototype.getRelativeLuminance=function(){var t=e._relativeLuminanceForComponent(this.rgba.r),n=e._relativeLuminanceForComponent(this.rgba.g),i=e._relativeLuminanceForComponent(this.rgba.b),o=.2126*t+.7152*n+.0722*i;return r(o,4)},e._relativeLuminanceForComponent=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)},e.prototype.isLighter=function(){var e=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3;return e>=128},e.prototype.isLighterThan=function(e){var t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t>n},e.prototype.isDarkerThan=function(e){var t=this.getRelativeLuminance(),n=e.getRelativeLuminance();return t<n},e.prototype.lighten=function(t){return new e(new o(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*t,this.hsla.a))},e.prototype.darken=function(t){return new e(new o(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*t,this.hsla.a))},e.prototype.transparent=function(t){var n=this.rgba,r=n.r,o=n.g,a=n.b,s=n.a;return new e(new i(r,o,a,s*t))},e.prototype.isTransparent=function(){return 0===this.rgba.a},e.prototype.isOpaque=function(){return 1===this.rgba.a},e.prototype.opposite=function(){return new e(new i(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))},e.prototype.toString=function(){return""+e.Format.CSS.format(this)},e.getLighterColor=function(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;var r=e.getRelativeLuminance(),i=t.getRelativeLuminance();return n=n*(i-r)/i,e.lighten(n)},e.getDarkerColor=function(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;var r=e.getRelativeLuminance(),i=t.getRelativeLuminance();return n=n*(r-i)/r,e.darken(n)},e.white=new e(new i(255,255,255,1)),e.black=new e(new i(0,0,0,1)),e.red=new e(new i(255,0,0,1)),e.blue=new e(new i(0,0,255,1)),e.cyan=new e(new i(0,255,255,1)),e.lightgrey=new e(new i(211,211,211,1)),e.transparent=new e(new i(0,0,0,0)),e}();(function(e){(function(t){(function(t){function n(t){return 1===t.rgba.a?"rgb("+t.rgba.r+", "+t.rgba.g+", "+t.rgba.b+")":e.Format.CSS.formatRGBA(t)}function r(e){return"rgba("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+", "+ +e.rgba.a.toFixed(2)+")"}function o(t){return 1===t.hsla.a?"hsl("+t.hsla.h+", "+(100*t.hsla.s).toFixed(2)+"%, "+(100*t.hsla.l).toFixed(2)+"%)":e.Format.CSS.formatHSLA(t)}function a(e){return"hsla("+e.hsla.h+", "+(100*e.hsla.s).toFixed(2)+"%, "+(100*e.hsla.l).toFixed(2)+"%, "+e.hsla.a.toFixed(2)+")"}function s(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}function l(e){return"#"+s(e.rgba.r)+s(e.rgba.g)+s(e.rgba.b)}function u(t,n){return void 0===n&&(n=!1),n&&1===t.rgba.a?e.Format.CSS.formatHex(t):"#"+s(t.rgba.r)+s(t.rgba.g)+s(t.rgba.b)+s(Math.round(255*t.rgba.a))}function c(t){return t.isOpaque()?e.Format.CSS.formatHex(t):e.Format.CSS.formatRGBA(t)}function d(t){var n=t.length;if(0===n)return null;if(35!==t.charCodeAt(0))return null;if(7===n){var r=16*h(t.charCodeAt(1))+h(t.charCodeAt(2)),o=16*h(t.charCodeAt(3))+h(t.charCodeAt(4)),a=16*h(t.charCodeAt(5))+h(t.charCodeAt(6));return new e(new i(r,o,a,1))}if(9===n){r=16*h(t.charCodeAt(1))+h(t.charCodeAt(2)),o=16*h(t.charCodeAt(3))+h(t.charCodeAt(4)),a=16*h(t.charCodeAt(5))+h(t.charCodeAt(6));var s=16*h(t.charCodeAt(7))+h(t.charCodeAt(8));return new e(new i(r,o,a,s/255))}if(4===n){r=h(t.charCodeAt(1)),o=h(t.charCodeAt(2)),a=h(t.charCodeAt(3));return new e(new i(16*r+r,16*o+o,16*a+a))}if(5===n){r=h(t.charCodeAt(1)),o=h(t.charCodeAt(2)),a=h(t.charCodeAt(3)),s=h(t.charCodeAt(4));return new e(new i(16*r+r,16*o+o,16*a+a,(16*s+s)/255))}return null}function h(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}t.formatRGB=n,t.formatRGBA=r,t.formatHSL=o,t.formatHSLA=a,t.formatHex=l,t.formatHexA=u,t.format=c,t.parseHex=d})(t.CSS||(t.CSS={}))})(e.Format||(e.Format={}))})(s||(s={}))},zuHt:function(e,t,n){var r=n("bYtY");function i(e){var t={};e.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!t[i]){var o={};r.each(n.seriesGroup,(function(t){var n=t.coordinateSystem,r=t.originalData;t.get("showLegendSymbol")&&e.getComponent("legend")&&r.each(r.mapDimension("value"),(function(e,t){var i=r.getName(t),a=n.getRegion(i);if(a&&!isNaN(e)){var s=o[i]||0,l=n.dataToPoint(a.center);o[i]=s+1,r.setItemLayout(t,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(e){var t=a.getName(e),n=a.getItemLayout(e)||{};n.showLabel=!o[t],a.setItemLayout(e,n)})),t[i]=!0}}))}e.exports=i},zvFY:function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r=n("q1tI"),i=n("TSYQ"),o=n.n(i),a=n("BGR+"),s=n("H84U");function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function e(t){return l(this,e),new Error("unreachable case: ".concat(JSON.stringify(t)))};function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},f=function(e){return r["createElement"](s["a"],null,(function(t){var n,i=t.getPrefixCls,a=t.direction,s=e.prefixCls,l=e.size,f=e.className,p=h(e,["prefixCls","size","className"]),g=i("btn-group",s),m="";switch(l){case"large":m="lg";break;case"small":m="sm";break;case"middle":case void 0:break;default:console.warn(new u(l))}var v=o()(g,(n={},d(n,"".concat(g,"-").concat(m),m),d(n,"".concat(g,"-rtl"),"rtl"===a),n),f);return r["createElement"]("div",c({},p,{className:v}))}))},p=f,g=n("g0mS"),m=n("CWQg"),v=n("uaoM"),y=n("3Nzz"),b=n("lCnp"),_=n("gZBC"),w=n.n(_),x=function(){return{width:0,opacity:0,transform:"scale(0)"}},C=function(e){return{width:e.scrollWidth,opacity:1,transform:"scale(1)"}};function S(e){var t=e.prefixCls,n=e.loading,i=e.existIcon,a=!!n;return i?r["createElement"]("span",{className:"".concat(t,"-loading-icon")},r["createElement"](w.a,null)):r["createElement"](b["a"],{visible:a,motionName:"".concat(t,"-loading-icon-motion"),removeOnLeave:!0,onAppearStart:x,onAppearActive:C,onEnterStart:x,onEnterActive:C,onLeaveStart:C,onLeaveActive:x},(function(e,n){var i=e.className,a=e.style;return r["createElement"]("span",{className:"".concat(t,"-loading-icon"),style:a,ref:n},r["createElement"](w.a,{className:o()(i)}))}))}var O=n("0n0R");function k(){return k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e,t){return T(e)||I(e,t)||N(e,t)||M()}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function N(e,t){if(e){if("string"===typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function I(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}function T(e){if(Array.isArray(e))return e}function P(e){return P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}var A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},R=/^[\u4e00-\u9fa5]{2}$/,j=R.test.bind(R);function F(e){return"string"===typeof e}function B(e,t){if(null!=e){var n=t?" ":"";return"string"!==typeof e&&"number"!==typeof e&&F(e.type)&&j(e.props.children)?Object(O["a"])(e,{children:e.props.children.split("").join(n)}):"string"===typeof e?(j(e)&&(e=e.split("").join(n)),r["createElement"]("span",null,e)):e}}function V(e,t){var n=!1,i=[];return r["Children"].forEach(e,(function(e){var t=P(e),r="string"===t||"number"===t;if(n&&r){var o=i.length-1,a=i[o];i[o]="".concat(a).concat(e)}else i.push(e);n=r})),r["Children"].map(i,(function(e){return B(e,t)}))}Object(m["a"])("default","primary","ghost","dashed","link","text"),Object(m["a"])("circle","circle-outline","round"),Object(m["a"])("submit","button","reset");function z(e){return"danger"===e?{danger:!0}:{type:e}}var W=function(e,t){var n,i,l=e.loading,u=e.prefixCls,c=e.type,d=e.danger,h=e.shape,f=e.size,p=e.className,m=e.children,b=e.icon,_=e.ghost,w=e.block,x=A(e,["loading","prefixCls","type","danger","shape","size","className","children","icon","ghost","block"]),C=r["useContext"](y["b"]),O=r["useState"](!!l),M=D(O,2),N=M[0],L=M[1],I=r["useState"](!1),T=D(I,2),R=T[0],F=T[1],B=r["useContext"](s["b"]),z=B.getPrefixCls,W=B.autoInsertSpaceInButton,H=B.direction,U=t||r["createRef"](),K=r["useRef"](),G=function(){return 1===r["Children"].count(m)&&!b&&"link"!==c&&"text"!==c},q=function(){if(U&&U.current&&!1!==W){var e=U.current.textContent;G()&&j(e)?R||F(!0):R&&F(!1)}};i="object"===P(l)&&l.delay?l.delay||!0:!!l,r["useEffect"]((function(){clearTimeout(K.current),"number"===typeof i?K.current=window.setTimeout((function(){L(i)}),i):L(i)}),[i]),r["useEffect"]((function(){q()}),[U]);var Y=function(t){var n=e.onClick;N||n&&n(t)};Object(v["a"])(!("string"===typeof b&&b.length>2),"Button","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(b,"` at https://ant.design/components/icon"));var X=z("btn",u),Z=!1!==W,Q="";switch(f||C){case"large":Q="lg";break;case"small":Q="sm";break;default:break}var $=N?"loading":b,J=o()(X,p,(n={},E(n,"".concat(X,"-").concat(c),c),E(n,"".concat(X,"-").concat(h),h),E(n,"".concat(X,"-").concat(Q),Q),E(n,"".concat(X,"-icon-only"),!m&&0!==m&&$),E(n,"".concat(X,"-background-ghost"),_),E(n,"".concat(X,"-loading"),N),E(n,"".concat(X,"-two-chinese-chars"),R&&Z),E(n,"".concat(X,"-block"),w),E(n,"".concat(X,"-dangerous"),!!d),E(n,"".concat(X,"-rtl"),"rtl"===H),n)),ee=b&&!N?b:r["createElement"](S,{existIcon:!!b,prefixCls:X,loading:!!N}),te=m||0===m?V(m,G()&&Z):null,ne=Object(a["a"])(x,["htmlType","loading"]);if(void 0!==ne.href)return r["createElement"]("a",k({},ne,{className:J,onClick:Y,ref:U}),ee,te);var re=x,ie=re.htmlType,oe=A(re,["htmlType"]),ae=r["createElement"]("button",k({},Object(a["a"])(oe,["loading"]),{type:ie,className:J,onClick:Y,ref:U}),ee,te);return"link"===c||"text"===c?ae:r["createElement"](g["a"],null,ae)},H=r["forwardRef"](W);H.displayName="Button",H.defaultProps={loading:!1,ghost:!1,block:!1,htmlType:"button"},H.Group=p,H.__ANT_BUTTON=!0;t["b"]=H}}]); |