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
1.7 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

webpackJsonp([46],{1003:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var L=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),D=o(n(3)),k=o(n(72)),i=n(10),N=o(n(853)),I=o(n(26));function o(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var E=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},M=k.default.Group,d=function(){function e(){var S;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(S=l(this,u(e).apply(this,arguments))).renderButton=function(e){var t=e.getPopupContainer,n=e.getPrefixCls,o=S.props,i=o.prefixCls,r=o.type,a=o.disabled,s=o.onClick,l=o.htmlType,u=o.children,c=o.className,d=o.overlay,h=o.trigger,p=o.align,f=o.visible,g=o.onVisibleChange,m=o.placement,b=o.getPopupContainer,v=o.href,y=o.icon,C=void 0===y?L.createElement(I.default,{type:"ellipsis"}):y,A=o.title,_=E(o,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),w=n("dropdown-button",i),x={align:p,overlay:d,disabled:a,trigger:a?[]:h,onVisibleChange:g,placement:m,getPopupContainer:b||t};return"visible"in S.props&&(x.visible=f),L.createElement(M,O({},_,{className:(0,D.default)(w,c)}),L.createElement(k.default,{type:r,disabled:a,onClick:s,htmlType:l,href:v,title:A},u),L.createElement(N.default,x,L.createElement(k.default,{type:r},C)))},S}var t,n,o;return function(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&&c(e,t)}(e,L.Component),t=e,(n=[{key:"render",value:function(){return L.createElement(i.ConfigConsumer,null,this.renderButton)}}])&&r(t.prototype,n),o&&r(t,o),e}();(t.default=d).defaultProps={placement:"bottomRight",type:"default"}},1008:function(e,t,n){var o=n(794),i=n(773);e.exports=function(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}},1009:function(e,t,n){var o=n(872)(Object.getPrototypeOf,Object);e.exports=o},1010:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},1011:function(e,t,n){var o=n(873),i=n(1174),r=n(801);e.exports=function(e){return r(e)?o(e,!0):i(e)}},1012:function(e,t,n){"use strict";var N=n(0),o=(n.n(N),n(1)),i=(n.n(o),n(86)),r=(n.n(i),n(3)),a=n.n(r),v=n(1187),y=n(1188),I=n(1013),O=n(1191);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})(e)}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}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}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(){function e(){var k;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(k=d(this,h(e).apply(this,arguments))).handleRowHover=function(e,t){k.props.store.setState({currentHoverKey:e?t:null})},k.renderRows=function(l,u){for(var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[],e=k.context.table,d=e.columnManager,h=e.components,t=e.props,p=t.prefixCls,f=t.childrenColumnName,g=t.rowClassName,m=t.rowRef,b=t.onRowClick,v=t.onRowDoubleClick,y=t.onRowContextMenu,C=t.onRowMouseEnter,A=t.onRowMouseLeave,_=t.onRow,n=k.props,w=n.getRowKey,x=n.fixed,S=n.expander,L=n.isAnyColumnsFixed,D=[],o=function(t){var n=l[t],o=w(n,t),i="string"==typeof g?g:g(n,t,u),r={};d.isAnyColumnsFixed()&&(r.onHover=k.handleRowHover);var a=void 0;a="left"===x?d.leftLeafColumns():"right"===x?d.rightLeafColumns():k.getColumns(d.leafColumns());var s="".concat(p,"-row"),e=N.createElement(O.a,Object.assign({},S.props,{fixed:x,index:t,prefixCls:s,record:n,key:o,rowKey:o,onRowClick:b,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),function(e){return N.createElement(I.a,Object.assign({fixed:x,indent:u,className:i,record:n,index:t,prefixCls:s,childrenColumnName:f,columns:a,onRow:_,onRowDoubleClick:v,onRowContextMenu:y,onRowMouseEnter:C,onRowMouseLeave:A},r,{rowKey:o,ancestorKeys:c,ref:m(n,t,u),components:h,isAnyColumnsFixed:L},e))});D.push(e),S.renderRows(k.renderRows,D,n,t,u,x,o,c)},i=0;i<l.length;i+=1)o(i);return D},k}var t,n,o;return function(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)}(e,N["Component"]),t=e,(n=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,o=void 0===n?[]:n,i=t.fixed,r=this.context.table.props.prefixCls;return(e||o).map(function(e){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach(function(e){u(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{className:e.fixed&&!i?a()("".concat(r,"-fixed-columns-in-body"),e.className):e.className})})}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,o=n.prefixCls,i=n.scroll,r=n.data,a=n.getBodyWrapper,s=this.props,l=s.expander,u=s.tableClassName,c=s.hasHead,d=s.hasBody,h=s.fixed,p={};!h&&i.x&&(p.width=!0===i.x?"max-content":i.x);var f,g=d?t.table:"table",m=t.body.wrapper;d&&(f=N.createElement(m,{className:"".concat(o,"-tbody")},this.renderRows(r,0)),a&&(f=a(f)));var b=this.getColumns();return N.createElement(g,{className:u,style:p,key:"table"},N.createElement(v.a,{columns:b,fixed:h}),c&&N.createElement(y.a,{expander:l,columns:b,fixed:h}),f)}}])&&c(t.prototype,n),o&&c(t,o),e}();f.contextTypes={table:o.any},t.a=Object(i.connect)()(f)},1013:function(e,t,n){"use strict";var M=n(0),o=(n.n(M),n(4)),r=n.n(o),B=n(303),i=n(86),a=(n.n(i),n(7)),s=n(3),T=n.n(s),P=n(1190);function l(e){return(l="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)}function j(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function R(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(n,!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return 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){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var g=function(){function e(){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=h(this,p(e).apply(this,arguments))).state={},t.onTriggerEvent=function(i,r,a){var e=t.props,s=e.record,l=e.index;return function(){a&&a();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];r&&r(s,l,o),i&&i.apply(void 0,t)}},t.onMouseEnter=function(){var e=t.props;(0,e.onHover)(!0,e.rowKey)},t.onMouseLeave=function(){var e=t.props;(0,e.onHover)(!1,e.rowKey)},t}var t,n,o;return function(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&&f(e,t)}(e,M["Component"]),t=e,o=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(n=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,o=t.getState().expandedRowsHeight;o=R({},o,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:o})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,o=t.getState().fixedColumnsBodyRowsHeight,i=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:R({},o,c({},n,i))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=R({},this.style,{height:t})),n||this.style.display||(this.style=R({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=r.a.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,o=e.expandedRow,i=e.ancestorKeys;t&&(!n&&o&&this.setExpandedRowHeight(),!n&&0<=i.length&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,o=e.record,i=e.rowKey,r=e.index,a=e.onRow,s=e.indent,l=e.indentSize,u=e.hovered,c=e.height,d=e.visible,h=e.components,p=e.hasExpandIcon,f=e.renderExpandIcon,g=e.renderExpandIconCell,m=e.onRowClick,b=e.onRowDoubleClick,v=e.onRowMouseEnter,y=e.onRowMouseLeave,C=e.onRowContextMenu,A=h.body.row,_=h.body.cell,w=this.props.className;u&&(w+=" ".concat(t,"-hover"));var x=[];g(x);for(var S=0;S<n.length;S+=1){var L=n[S];Object(B.a)(void 0===L.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),x.push(M.createElement(P.a,{prefixCls:t,record:o,indentSize:l,indent:s,index:r,column:L,key:L.key||L.dataIndex,expandIcon:p(S)&&f(),component:_}))}var D=a(o,r)||{},k=D.className,N=D.style,I=j(D,["className","style"]),O={height:c};d||(O.display="none"),O=R({},O,{},N);var E=T()(t,w,"".concat(t,"-level-").concat(s),k);return M.createElement(A,Object.assign({},I,{onClick:this.onTriggerEvent(I.onClick,m),onDoubleClick:this.onTriggerEvent(I.onDoubleClick,b),onMouseEnter:this.onTriggerEvent(I.onMouseEnter,v,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(I.onMouseLeave,y,this.onMouseLeave),onContextMenu:this.onTriggerEvent(I.onContextMenu,C),className:E,style:O,"data-row-key":i}),x)}}])&&d(t.prototype,n),o&&d(t,o),e}();g.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},Object(a.polyfill)(g),t.a=Object(i.connect)(function(e,t){var n,o,i,r,a,s,l=e.currentHoverKey,u=e.expandedRowKeys,c=t.rowKey,d=t.ancestorKeys;return{visible:0===d.length||d.every(function(e){return u.includes(e)}),hovered:l===c,height:(n=e,o=t,i=n.expandedRowsHeight,r=n.fixedColumnsBodyRowsHeight,a=o.fixed,s=o.rowKey,a?i[s]?i[s]:r[s]?r[s]:null:null)}})(g)},1014:function(e,t,n){"use strict";t.a=function(){return null}},1015:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o=n(0);n.n(o);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})(e)}function r(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,a(e).apply(this,arguments))}return function(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)}(e,o["Component"]),e}();l.isTableColumnGroup=!0},1016:function(e,t,n){"use strict";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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.flatArray=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"children",i=[];return function n(e){e.forEach(function(e){if(e[o]){var t=l({},e);delete t[o];i.push(t);if(e[o].length>0){n(e[o])}}else{i.push(e)}})}(e),i},t.treeMap=function o(e,i){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"children";return e.map(function(e,t){var n={};return e[r]&&(n[r]=o(e[r],i,r)),l(l({},i(e,t)),n)})},t.flatFilter=function i(e,r){return e.reduce(function(e,t){if(r(t)&&e.push(t),t.children){var n=i(t.children,r);e.push.apply(e,function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(o=n)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}())}var o;return e},[])},t.normalizeColumns=function n(e){var o=[];i.Children.forEach(e,function(e){if(i.isValidElement(e)){var t=l({},e.props);e.key&&(t.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(t.children=n(t.children)),o.push(t)}});return o},t.generateValueMaps=function o(e){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};(e||[]).forEach(function(e){var t=e.value,n=e.children;i[t.toString()]=t,o(n,i)});return i};var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}},1124:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.with=function(e,t){return void 0===e&&(e=this.lineNumber),void 0===t&&(t=this.column),e===this.lineNumber&&t===this.column?this:new i(e,t)},i.prototype.delta=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),this.with(this.lineNumber+e,this.column+t)},i.prototype.equals=function(e){return i.equals(this,e)},i.equals=function(e,t){return!e&&!t||!!e&&!!t&&e.lineNumber===t.lineNumber&&e.column===t.column},i.prototype.isBefore=function(e){return i.isBefore(this,e)},i.isBefore=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<t.column},i.prototype.isBeforeOrEqual=function(e){return i.isBeforeOrEqual(this,e)},i.isBeforeOrEqual=function(e,t){return e.lineNumber<t.lineNumber||!(t.lineNumber<e.lineNumber)&&e.column<=t.column},i.compare=function(e,t){var n=0|e.lineNumber,o=0|t.lineNumber;return n!=o?n-o:(0|e.column)-(0|t.column)},i.prototype.clone=function(){return new i(this.lineNumber,this.column)},i.prototype.toString=function(){return"("+this.lineNumber+","+this.column+")"},i.lift=function(e){return new i(e.lineNumber,e.column)},i.isIPosition=function(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column},i);function i(e,t){this.lineNumber=e,this.column=t}},1125:function(e,t,n){"use strict";var i,o;n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r}),t.c=s,t.d=function(o){return function(e,t,n){if(3!==arguments.length)throw new Error("@optional-decorator can only be used to decorate a parameter");a(o,e,n,!0)}},(o=i=i||{}).serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies",o.getServiceDependencies=function(e){return e[o.DI_DEPENDENCIES]||[]};var r=s("instantiationService");function a(e,t,n,o){t[i.DI_TARGET]===t?t[i.DI_DEPENDENCIES].push({id:e,index:n,optional:o}):(t[i.DI_DEPENDENCIES]=[{id:e,index:n,optional:o}],t[i.DI_TARGET]=t)}function s(e){if(i.serviceIds.has(e))return i.serviceIds.get(e);var o=function(e,t,n){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");a(o,e,n,!1)};return o.toString=function(){return e},i.serviceIds.set(e,o),o}},1126:function(e,t,n){"use strict";t.m=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.F=function(e){e.parentNode&&e.parentNode.removeChild(e)},t.B=function(e){for(;e;){if(e===document.body)return!0;e=e.parentNode}return!1},n.d(t,"x",function(){return C}),n.d(t,"e",function(){return A}),n.d(t,"f",function(){return _}),n.d(t,"D",function(){return w}),n.d(t,"E",function(){return x}),n.d(t,"M",function(){return S}),t.g=k,n.d(t,"j",function(){return N}),t.h=function(n,o){return k(n,"mouseout",function(e){for(var t=e.relatedTarget||e.target;t&&t!==n;)t=t.parentNode;t!==n&&o(e)})},n.d(t,"I",function(){return I}),n.d(t,"K",function(){return O}),t.i=function(e,t,n,o,i){return new H(e,t,n,o,i)},t.u=function(e){var t=e.offsetParent,n=e.offsetTop,o=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){n-=e.scrollTop;var i=U(e);i&&(o-="rtl"!==i.direction?e.scrollLeft:-e.scrollLeft),e===t&&(o+=K.getBorderLeftWidth(e),n+=K.getBorderTopWidth(e),n+=e.offsetTop,o+=e.offsetLeft,t=e.offsetParent)}return{left:o,top:n}},t.s=function(e){var t=e.getBoundingClientRect();return{left:t.left+Y.scrollX,top:t.top+Y.scrollY,width:t.width,height:t.height}},n.d(t,"d",function(){return Y}),t.w=function(e){var t=K.getMarginLeft(e)+K.getMarginRight(e);return e.offsetWidth+t},t.r=function(e){var t=K.getBorderLeftWidth(e)+K.getBorderRightWidth(e),n=K.getPaddingLeft(e)+K.getPaddingRight(e);return e.offsetWidth-t-n},t.q=function(e){var t=K.getBorderTopWidth(e)+K.getBorderBottomWidth(e),n=K.getPaddingTop(e)+K.getPaddingBottom(e);return e.offsetHeight-t-n},t.v=function(e){var t=K.getMarginTop(e)+K.getMarginBottom(e);return e.offsetHeight+t},t.z=J,t.p=function(e,t,n){for(;e;){if(C(e,t))return e;if(n)if("string"==typeof n){if(C(e,n))return null}else if(e===n)return null;e=e.parentNode}return null},t.o=X,t.C=function(e,t){void 0===t&&(t=$());if(!t)return;for(var n=function(e){if(e&&e.sheet&&e.sheet.rules)return e.sheet.rules;if(e&&e.sheet&&e.sheet.cssRules)return e.sheet.cssRules;return[]}(t),o=[],i=0;i<n.length;i++){-1!==n[i].selectorText.indexOf(e)&&o.push(i)}for(i=o.length-1;0<=i;i--)t.sheet.deleteRule(o[i])},t.A=function(e){return"object"!=typeof HTMLElement?e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName:e instanceof HTMLElement},n.d(t,"c",function(){return ee}),n.d(t,"b",function(){return te}),t.J=function(e){for(var t=[],n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)t[n]=e.scrollTop,e=e.parentNode;return t},t.H=function(e,t){for(var n=0;e&&e.nodeType===e.ELEMENT_NODE;n++)e.scrollTop!==t[n]&&(e.scrollTop=t[n]),e=e.parentNode},t.N=function(e){return new ne(e)},t.l=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach(function(e){return t.appendChild(e)}),e[e.length-1]},t.a=function(e,n){for(var t=[],o=2;o<arguments.length;o++)t[o-2]=arguments[o];var i=ie.exec(e);if(!i)throw new Error("Bad use of emmet");var r=document.createElement(i[1]||"div");i[3]&&(r.id=i[3]);i[4]&&(r.className=i[4].replace(/\./g," ").trim());return n=n||{},Object.keys(n).forEach(function(e){var t=n[e];/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t)}),Object(p.b)(t).forEach(function(e){e instanceof Node?r.appendChild(e):r.appendChild(document.createTextNode(e))}),r},t.L=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,o=e;n<o.length;n++){var i=o[n];i.style.display="",i.removeAttribute("aria-hidden")}},t.y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,o=e;n<o.length;n++){var i=o[n];i.style.display="none",i.setAttribute("aria-hidden","true")}},t.G=function(e){if(!e||!e.hasAttribute("tabIndex"))return;if(document.activeElement===e){var t=function(e,t){for(;e;){if(e instanceof HTMLElement&&e.hasAttribute(t))return e;e=e.parentNode}return null}(e.parentElement,"tabIndex");t&&t.focus()}e.removeAttribute("tabindex")},t.t=function(e){return Array.prototype.slice.call(document.getElementsByTagName(e),0)},t.n=function(e){var t=window.devicePixelRatio*e;return Math.max(1,Math.floor(t))/window.devicePixelRatio},t.O=function(e){if(h.e||i.h)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}},t.k=function(e){var t=function(){e(),n=O(t)},n=O(t);return Object(d.e)(function(){return n.dispose()})};var o,i=n(1304),r=n(1544),s=n(1491),l=n(1409),c=n(1239),a=n(1222),u=n(966),d=n(868),h=n(1134),p=n(1316),f=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var g=(m.prototype._findClassName=function(e,t){var n=e.className;if(n){t=t.trim();var o=n.length,i=t.length;if(0!==i)if(o<i)this._lastStart=-1;else{if(n===t)return this._lastStart=0,void(this._lastEnd=o);for(var r,a=-1;0<=(a=n.indexOf(t,a+1));){if(r=a+i,(0===a||32===n.charCodeAt(a-1))&&32===n.charCodeAt(r))return this._lastStart=a,void(this._lastEnd=r+1);if(0<a&&32===n.charCodeAt(a-1)&&r===o)return this._lastStart=a-1,void(this._lastEnd=r);if(0===a&&r===o)return this._lastStart=0,void(this._lastEnd=r)}this._lastStart=-1}else this._lastStart=-1}else this._lastStart=-1},m.prototype.hasClass=function(e,t){return this._findClassName(e,t),-1!==this._lastStart},m.prototype.addClasses=function(t){for(var n=this,e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];e.forEach(function(e){return e.split(" ").forEach(function(e){return n.addClass(t,e)})})},m.prototype.addClass=function(e,t){e.className?(this._findClassName(e,t),-1===this._lastStart&&(e.className=e.className+" "+t)):e.className=t},m.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))},m.prototype.removeClasses=function(t){for(var n=this,e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];e.forEach(function(e){return e.split(" ").forEach(function(e){return n.removeClass(t,e)})})},m.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)},new m);function m(){}var b=(v.prototype.hasClass=function(e,t){return Boolean(t)&&e.classList&&e.classList.contains(t)},v.prototype.addClasses=function(t){for(var n=this,e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];e.forEach(function(e){return e.split(" ").forEach(function(e){return n.addClass(t,e)})})},v.prototype.addClass=function(e,t){t&&e.classList&&e.classList.add(t)},v.prototype.removeClass=function(e,t){t&&e.classList&&e.classList.remove(t)},v.prototype.removeClasses=function(t){for(var n=this,e=[],o=1;o<arguments.length;o++)e[o-1]=arguments[o];e.forEach(function(e){return e.split(" ").forEach(function(e){return n.removeClass(t,e)})})},v.prototype.toggleClass=function(e,t,n){e.classList&&e.classList.toggle(t,n)},new v);function v(){}var y=i.j?g:b,C=y.hasClass.bind(y),A=y.addClass.bind(y),_=y.addClasses.bind(y),w=y.removeClass.bind(y),x=y.removeClasses.bind(y),S=y.toggleClass.bind(y),L=(D.prototype.dispose=function(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._useCapture),this._node=null,this._handler=null)},D);function D(e,t,n,o){this._node=e,this._type=t,this._handler=n,this._useCapture=o||!1,this._node.addEventListener(this._type,this._handler,this._useCapture)}function k(e,t,n,o){return new L(e,t,n,o)}var N=function(e,t,n,o){var i,r,a=n;return"click"===t||"mousedown"===t?(r=n,a=function(e){return r(new l.a(e))}):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(i=n,a=function(e){return i(new s.a(e))}),k(e,t,a,o)};var I,O,E=null;var M,B,T,P,j=(R.prototype.dispose=function(){this._canceled=!0},R.prototype.execute=function(){if(!this._canceled)try{this._runner()}catch(e){Object(a.e)(e)}},R.sort=function(e,t){return t.priority-e.priority},R);function R(e,t){void 0===t&&(t=0),this._runner=e,this.priority=t,this._canceled=!1}function W(){for(B=M,P=!(T=!(M=[]));0<B.length;){B.sort(j.sort),B.shift().execute()}P=!1}B=null,P=T=!(M=[]),O=function(e,t){void 0===t&&(t=0);var n=new j(e,t);return M.push(n),T||(T=!0,function(e){if(!E){E=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout(function(){return e((new Date).getTime())},0)}}E.call(self,e)}(W)),n},I=function(e,t){if(P){var n=new j(e,t);return B.push(n),n}return O(e,t)};function z(e,t){return t}var F,H=(F=d.a,f(V,F),V);function V(e,t,n,o,i){void 0===o&&(o=z),void 0===i&&(i=16);function r(){l=(new Date).getTime(),n(s),s=null}var a=F.call(this)||this,s=null,l=0,u=a._register(new c.d);return a._register(k(e,t,function(e){s=o(s,e);var t=(new Date).getTime()-l;i<=t?(u.cancel(),r()):u.setIfNotSet(r,i-t)})),a}function U(e){return document.defaultView.getComputedStyle(e,null)}var Z=function(e,t){return parseFloat(t)||0};function G(e,t,n){var o=U(e),i="0";return o&&(i=o.getPropertyValue?o.getPropertyValue(t):o.getAttribute(n)),Z(e,i)}var K={getBorderLeftWidth:function(e){return G(e,"border-left-width","borderLeftWidth")},getBorderRightWidth:function(e){return G(e,"border-right-width","borderRightWidth")},getBorderTopWidth:function(e){return G(e,"border-top-width","borderTopWidth")},getBorderBottomWidth:function(e){return G(e,"border-bottom-width","borderBottomWidth")},getPaddingLeft:function(e){return G(e,"padding-left","paddingLeft")},getPaddingRight:function(e){return G(e,"padding-right","paddingRight")},getPaddingTop:function(e){return G(e,"padding-top","paddingTop")},getPaddingBottom:function(e){return G(e,"padding-bottom","paddingBottom")},getMarginLeft:function(e){return G(e,"margin-left","marginLeft")},getMarginTop:function(e){return G(e,"margin-top","marginTop")},getMarginRight:function(e){return G(e,"margin-right","marginRight")},getMarginBottom:function(e){return G(e,"margin-bottom","marginBottom")},__commaSentinel:!1};var Y=(Object.defineProperty(q.prototype,"scrollX",{get:function(){return"number"==typeof window.scrollX?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft},enumerable:!0,configurable:!0}),Object.defineProperty(q.prototype,"scrollY",{get:function(){return"number"==typeof window.scrollY?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop},enumerable:!0,configurable:!0}),new q);function q(){}function J(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function X(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 Q=null;function $(){return Q=Q||X()}var ee={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",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",UNLOAD:"unload",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",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:i.m?"webkitAnimationStart":"animationstart",ANIMATION_END:i.m?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:i.m?"webkitAnimationIteration":"animationiteration"},te={stop:function(e,t){e.preventDefault?e.preventDefault():e.returnValue=!1,t&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0)}};var ne=(oe.prototype.dispose=function(){this.disposables=Object(d.d)(this.disposables),this._onDidFocus.dispose(),this._onDidBlur.dispose()},oe);function oe(e){var t=this;this._onDidFocus=new u.a,this.onDidFocus=this._onDidFocus.event,this._onDidBlur=new u.a,this.onDidBlur=this._onDidBlur.event,this.disposables=[];var n=J(document.activeElement,e),o=!1;Object(r.a)(e,ee.FOCUS,!0)(function(){o=!1,n||(n=!0,t._onDidFocus.fire())},null,this.disposables),Object(r.a)(e,ee.BLUR,!0)(function(){n&&(o=!0,window.setTimeout(function(){o&&(n=o=!1,t._onDidBlur.fire())},0))},null,this.disposables)}var ie=/([\w\-]+)?(#([\w\-]+))?((.([\w\-]+))*)/},1134:function(e,C,A){"use strict";(function(t,e){A.d(C,"g",function(){return h}),A.d(C,"d",function(){return p}),A.d(C,"c",function(){return f}),A.d(C,"e",function(){return g}),A.d(C,"f",function(){return m}),A.d(C,"b",function(){return b}),C.h=function(e){null===v&&(v=b.setImmediate?b.setImmediate.bind(b):void 0!==t&&"function"==typeof t.nextTick?t.nextTick.bind(t):b.setTimeout.bind(b));return v(e)},A.d(C,"a",function(){return y});var n=!1,o=!1,i=!1,r=!1,a=!1,s=void 0!==t&&void 0!==t.versions&&void 0!==t.versions.electron&&"renderer"===t.type;if("object"!=typeof navigator||s){if("object"==typeof t){n="win32"===t.platform,o="darwin"===t.platform,i="linux"===t.platform,"en";var l=Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/."}).VSCODE_NLS_CONFIG;if(l)try{var u=JSON.parse(l),c=u.availableLanguages["*"];u.locale,u._translationsConfigFile}catch(e){}r=!0}}else{var d=navigator.userAgent;n=0<=d.indexOf("Windows"),o=0<=d.indexOf("Macintosh"),i=0<=d.indexOf("Linux"),a=!0,navigator.language}var h=n,p=o,f=i,g=r,m=a,b="object"==typeof self?self:"object"==typeof e?e:{},v=null;var y=o?2:n?1:3}).call(C,A(112),A(40))},1137:function(e,t,n){var o=n(1138);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},1138:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.ant-input-number{-webkit-box-sizing:border-box;box-sizing:border-box;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;display:inline-block;width:90px;margin:0;padding:0;border:1px solid #d9d9d9;border-radius:4px}.ant-input-number::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input-number:-ms-input-placeholder{color:#bfbfbf}.ant-input-number::-webkit-input-placeholder{color:#bfbfbf}.ant-input-number:placeholder-shown{-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-input-number:focus{border-color:#40a9ff;border-right-width:1px!important;outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-input-number{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;-o-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-input-number-lg{height:40px;padding:6px 11px}.ant-input-number-sm{height:24px;padding:1px 7px}.ant-input-number-handler{position:relative;display:block;width:100%;height:50%;overflow:hidden;color:rgba(0,0,0,.45);font-weight:700;line-height:0;text-align:center;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear}.ant-input-number-handler:active{background:#f4f4f4}.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#40a9ff}.ant-input-number-handler-down-inner,.ant-input-number-handler-up-inner{display:inline-block;color:inherit;font-style:normal;line-height:0;text-align:center;text-transform:none;vertical-align:-.125em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;right:4px;width:12px;height:12px;color:rgba(0,0,0,.45);line-height:12px;-webkit-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-input-number-handler-down-inner>*,.ant-input-number-handler-up-inner>*{line-height:1}.ant-input-number-handler-down-inner svg,.ant-input-number-handler-up-inner svg{display:inline-block}.ant-input-number-handler-down-inner:before,.ant-input-number-handler-up-inner:before{display:none}.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon{display:block}.ant-input-number-focused,.ant-input-number:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input-number-focused{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-input-number-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-input-number-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-input-number-disabled .ant-input-number-input{cursor:not-allowed}.ant-input-number-disabled .ant-input-number-handler-wrap{display:none}.ant-input-number-input{width:100%;height:30px;padding:0 11px;text-align:left;background-color:transparent;border:0;border-radius:4px;outline:0;-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;-moz-appearance:textfield!important}.ant-input-number-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input-number-input:-ms-input-placeholder{color:#bfbfbf}.ant-input-number-input::-webkit-input-placeholder{color:#bfbfbf}.ant-input-number-input:placeholder-shown{-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-input-number-input[type=number]::-webkit-inner-spin-button,.ant-input-number-input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.ant-input-number-lg{padding:0;font-size:16px}.ant-input-number-lg input{height:38px}.ant-input-number-sm{padding:0}.ant-input-number-sm input{height:22px;padding:0 7px}.ant-input-number-handler-wrap{position:absolute;top:0;right:0;width:22px;height:100%;background:#fff;border-left:1px solid #d9d9d9;border-radius:0 4px 4px 0;opacity:0;-webkit-transition:opacity .24s linear .1s;-o-transition:opacity .24s linear .1s;transition:opacity .24s linear .1s}.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{display:inline-block;font-size:12px;font-size:7px\\9;-webkit-transform:scale(.58333333) rotate(0deg);-ms-transform:scale(.58333333) rotate(0deg);transform:scale(.58333333) rotate(0deg);min-width:auto;margin-right:0}:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner,:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner{font-size:12px}.ant-input-number-handler-wrap:hover .ant-input-number-handler{height:40%}.ant-input-number:hover .ant-input-number-handler-wrap{opacity:1}.ant-input-number-handler-up{border-top-right-radius:4px;cursor:pointer}.ant-input-number-handler-up-inner{top:50%;margin-top:-5px;text-align:center}.ant-input-number-handler-up:hover{height:60%!important}.ant-input-number-handler-down{top:0;border-top:1px solid #d9d9d9;border-bottom-right-radius:4px;cursor:pointer}.ant-input-number-handler-down-inner{top:50%;margin-top:-6px;text-align:center}.ant-input-number-handler-down:hover{height:60%!important}.ant-input-number-handler-down-disabled,.ant-input-number-handler-up-disabled{cursor:not-allowed}.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner,.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner{color:rgba(0,0,0,.25)}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_antd@3.25.3@antd/lib/input-number/style/index.css"],names:[],mappings:"AAIA,kBACE,8BAA+B,AACvB,sBAAuB,AAC/B,0BAA2B,AAC3B,gBAAiB,AACjB,qCAAsC,AAC9B,6BAA8B,AACtC,kBAAmB,AACnB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,sBAA2B,AAC3B,eAAgB,AAChB,gBAAiB,AACjB,sBAAuB,AACvB,sBAAuB,AACvB,2BAA6B,AAC7B,sBAAwB,AACxB,mBAAqB,AACrB,qBAAsB,AACtB,WAAY,AACZ,SAAU,AACV,UAAW,AACX,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,oCACE,cAAe,AACf,SAAW,CACZ,AACD,wCACE,aAAe,CAChB,AACD,6CACE,aAAe,CAChB,AACD,oCACE,0BAA2B,AACxB,sBAAwB,CAC5B,AAKD,wBACE,qBAAsB,AACtB,iCAAmC,AACnC,UAAW,AACX,iDAAsD,AAC9C,wCAA8C,CACvD,AAWD,4BACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,kCACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,0BACE,eAAgB,AAChB,YAAa,AACb,gBAAiB,AACjB,gBAAiB,AACjB,sBAAuB,AACvB,qCAAwC,AACxC,gCAAmC,AACnC,4BAAgC,CACjC,AACD,qBACE,YAAa,AACb,gBAAkB,CAEnB,AACD,qBACE,YAAa,AACb,eAAiB,CAClB,AACD,0BACE,kBAAmB,AACnB,cAAe,AACf,WAAY,AACZ,WAAY,AACZ,gBAAiB,AACjB,sBAA2B,AAC3B,gBAAkB,AAClB,cAAe,AACf,kBAAmB,AACnB,kCAAoC,AACpC,6BAA+B,AAC/B,yBAA4B,CAC7B,AACD,iCACE,kBAAoB,CACrB,AACD,wIAEE,aAAe,CAChB,AACD,wEAEE,qBAAsB,AACtB,cAAe,AACf,kBAAmB,AACnB,cAAe,AACf,kBAAmB,AACnB,oBAAqB,AACrB,uBAAyB,AACzB,kCAAmC,AACnC,mCAAoC,AACpC,kCAAmC,AACnC,kBAAmB,AACnB,UAAW,AACX,WAAY,AACZ,YAAa,AACb,sBAA2B,AAC3B,iBAAkB,AAClB,kCAAoC,AACpC,6BAA+B,AAC/B,0BAA4B,AAC5B,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,4EAEE,aAAe,CAChB,AACD,gFAEE,oBAAsB,CACvB,AACD,sFAEE,YAAc,CACf,AACD,oTAIE,aAAe,CAChB,AAKD,kDAHE,qBAAsB,AACtB,gCAAmC,CAQpC,AAND,0BAGE,UAAW,AACX,iDAAsD,AAC9C,wCAA8C,CACvD,AACD,2BACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,iCACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,mDACE,kBAAoB,CACrB,AACD,0DACE,YAAc,CACf,AACD,wBACE,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,gBAAiB,AACjB,6BAA8B,AAC9B,SAAU,AACV,kBAAmB,AACnB,UAAW,AACX,kCAAoC,AACpC,6BAA+B,AAC/B,0BAA4B,AAC5B,mCAAsC,CACvC,AACD,0CACE,cAAe,AACf,SAAW,CACZ,AACD,8CACE,aAAe,CAChB,AACD,mDACE,aAAe,CAChB,AACD,0CACE,0BAA2B,AACxB,sBAAwB,CAC5B,AACD,gIAEE,SAAU,AACV,uBAAyB,CAC1B,AACD,qBACE,UAAW,AACX,cAAgB,CACjB,AACD,2BACE,WAAa,CACd,AACD,qBACE,SAAW,CACZ,AACD,2BACE,YAAa,AACb,aAAe,CAChB,AACD,+BACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,8BAA+B,AAC/B,0BAA2B,AAC3B,UAAW,AACX,2CAA8C,AAC9C,sCAAyC,AACzC,kCAAsC,CACvC,AACD,0LAEE,qBAAsB,AACtB,eAAgB,AAChB,gBAAkB,AAClB,gDAAkD,AAC9C,4CAA8C,AAC1C,wCAA0C,AAClD,eAAgB,AAChB,cAAgB,CACjB,AACD,sMAEE,cAAgB,CACjB,AACD,+DACE,UAAY,CACb,AACD,uDACE,SAAW,CACZ,AACD,6BACE,4BAA6B,AAC7B,cAAgB,CACjB,AACD,mCACE,QAAS,AACT,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mCACE,oBAAuB,CACxB,AACD,+BACE,MAAO,AACP,6BAA8B,AAC9B,+BAAgC,AAChC,cAAgB,CACjB,AACD,qCACE,QAAS,AACT,gBAAiB,AACjB,iBAAmB,CACpB,AACD,qCACE,oBAAuB,CACxB,AACD,8EAEE,kBAAoB,CACrB,AACD,kKAEE,qBAA2B,CAC5B",file:"index.css",sourcesContent:["/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-input-number {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-variant: tabular-nums;\n list-style: none;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n position: relative;\n width: 100%;\n height: 32px;\n padding: 4px 11px;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n line-height: 1.5;\n background-color: #fff;\n background-image: none;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n display: inline-block;\n width: 90px;\n margin: 0;\n padding: 0;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.ant-input-number::-moz-placeholder {\n color: #bfbfbf;\n opacity: 1;\n}\n.ant-input-number:-ms-input-placeholder {\n color: #bfbfbf;\n}\n.ant-input-number::-webkit-input-placeholder {\n color: #bfbfbf;\n}\n.ant-input-number:placeholder-shown {\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-input-number:hover {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.ant-input-number:focus {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n outline: 0;\n -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-input-number-disabled:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\n.ant-input-number[disabled] {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-input-number[disabled]:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\ntextarea.ant-input-number {\n max-width: 100%;\n height: auto;\n min-height: 32px;\n line-height: 1.5;\n vertical-align: bottom;\n -webkit-transition: all 0.3s, height 0s;\n -o-transition: all 0.3s, height 0s;\n transition: all 0.3s, height 0s;\n}\n.ant-input-number-lg {\n height: 40px;\n padding: 6px 11px;\n font-size: 16px;\n}\n.ant-input-number-sm {\n height: 24px;\n padding: 1px 7px;\n}\n.ant-input-number-handler {\n position: relative;\n display: block;\n width: 100%;\n height: 50%;\n overflow: hidden;\n color: rgba(0, 0, 0, 0.45);\n font-weight: bold;\n line-height: 0;\n text-align: center;\n -webkit-transition: all 0.1s linear;\n -o-transition: all 0.1s linear;\n transition: all 0.1s linear;\n}\n.ant-input-number-handler:active {\n background: #f4f4f4;\n}\n.ant-input-number-handler:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler:hover .ant-input-number-handler-down-inner {\n color: #40a9ff;\n}\n.ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-inner {\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 position: absolute;\n right: 4px;\n width: 12px;\n height: 12px;\n color: rgba(0, 0, 0, 0.45);\n line-height: 12px;\n -webkit-transition: all 0.1s linear;\n -o-transition: all 0.1s linear;\n transition: all 0.1s linear;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-input-number-handler-up-inner > *,\n.ant-input-number-handler-down-inner > * {\n line-height: 1;\n}\n.ant-input-number-handler-up-inner svg,\n.ant-input-number-handler-down-inner svg {\n display: inline-block;\n}\n.ant-input-number-handler-up-inner::before,\n.ant-input-number-handler-down-inner::before {\n display: none;\n}\n.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon {\n display: block;\n}\n.ant-input-number:hover {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.ant-input-number-focused {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n outline: 0;\n -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-input-number-disabled:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\n.ant-input-number-disabled .ant-input-number-input {\n cursor: not-allowed;\n}\n.ant-input-number-disabled .ant-input-number-handler-wrap {\n display: none;\n}\n.ant-input-number-input {\n width: 100%;\n height: 30px;\n padding: 0 11px;\n text-align: left;\n background-color: transparent;\n border: 0;\n border-radius: 4px;\n outline: 0;\n -webkit-transition: all 0.3s linear;\n -o-transition: all 0.3s linear;\n transition: all 0.3s linear;\n -moz-appearance: textfield !important;\n}\n.ant-input-number-input::-moz-placeholder {\n color: #bfbfbf;\n opacity: 1;\n}\n.ant-input-number-input:-ms-input-placeholder {\n color: #bfbfbf;\n}\n.ant-input-number-input::-webkit-input-placeholder {\n color: #bfbfbf;\n}\n.ant-input-number-input:placeholder-shown {\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-input-number-input[type='number']::-webkit-inner-spin-button,\n.ant-input-number-input[type='number']::-webkit-outer-spin-button {\n margin: 0;\n -webkit-appearance: none;\n}\n.ant-input-number-lg {\n padding: 0;\n font-size: 16px;\n}\n.ant-input-number-lg input {\n height: 38px;\n}\n.ant-input-number-sm {\n padding: 0;\n}\n.ant-input-number-sm input {\n height: 22px;\n padding: 0 7px;\n}\n.ant-input-number-handler-wrap {\n position: absolute;\n top: 0;\n right: 0;\n width: 22px;\n height: 100%;\n background: #fff;\n border-left: 1px solid #d9d9d9;\n border-radius: 0 4px 4px 0;\n opacity: 0;\n -webkit-transition: opacity 0.24s linear 0.1s;\n -o-transition: opacity 0.24s linear 0.1s;\n transition: opacity 0.24s linear 0.1s;\n}\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {\n display: inline-block;\n font-size: 12px;\n font-size: 7px \\9;\n -webkit-transform: scale(0.58333333) rotate(0deg);\n -ms-transform: scale(0.58333333) rotate(0deg);\n transform: scale(0.58333333) rotate(0deg);\n min-width: auto;\n margin-right: 0;\n}\n:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,\n:root .ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {\n font-size: 12px;\n}\n.ant-input-number-handler-wrap:hover .ant-input-number-handler {\n height: 40%;\n}\n.ant-input-number:hover .ant-input-number-handler-wrap {\n opacity: 1;\n}\n.ant-input-number-handler-up {\n border-top-right-radius: 4px;\n cursor: pointer;\n}\n.ant-input-number-handler-up-inner {\n top: 50%;\n margin-top: -5px;\n text-align: center;\n}\n.ant-input-number-handler-up:hover {\n height: 60% !important;\n}\n.ant-input-number-handler-down {\n top: 0;\n border-top: 1px solid #d9d9d9;\n border-bottom-right-radius: 4px;\n cursor: pointer;\n}\n.ant-input-number-handler-down-inner {\n top: 50%;\n margin-top: -6px;\n text-align: center;\n}\n.ant-input-number-handler-down:hover {\n height: 60% !important;\n}\n.ant-input-number-handler-up-disabled,\n.ant-input-number-handler-down-disabled {\n cursor: not-allowed;\n}\n.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {\n color: rgba(0, 0, 0, 0.25);\n}\n"],sourceRoot:""}])},1139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(71),_=n.n(o),i=n(25),w=n.n(i),r=n(11),a=n.n(r),s=n(13),l=n.n(s),u=n(14),c=n.n(u),d=n(0),x=n.n(d),h=n(1),p=n.n(h),f=n(3),S=n.n(f),g=n(49),L=n(1140);function D(){}function k(e){e.preventDefault()}function m(e){return null!=e}var b,v=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,y=(b=x.a.Component,c()(C,b),C.prototype.componentDidMount=function(){this.componentDidUpdate()},C.prototype.componentDidUpdate=function(e){var t=this.props,n=t.value,o=t.onChange,i=t.max,r=t.min,a=this.state.focused;if(e){if(e.value!==n||e.max!==i||e.min!==r){var s=a?n:this.getValidValue(n),l=void 0;l=this.pressingUpOrDown?s:this.inputting?this.rawInput:this.toPrecisionAsStep(s),this.setState({value:s,inputValue:l})}var u="value"in this.props?n:this.state.value;"max"in this.props&&e.max!==i&&"number"==typeof u&&i<u&&o&&o(i),"min"in this.props&&e.min!==r&&"number"==typeof u&&u<r&&o&&o(r)}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 g.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case g.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1)}}else{var c=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===g.a.BACKSPACE?c=this.cursorStart-1:this.lastKeyCode===g.a.DELETE&&(c=this.cursorStart):c=this.input.value.length,this.fixCaret(c,c)}}catch(e){}this.lastKeyCode=null,this.pressingUpOrDown&&(this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus(),this.pressingUpOrDown=!1)},C.prototype.componentWillUnmount=function(){this.stop()},C.prototype.getCurrentValidValue=function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t,10))?this.state.value:this.getValidValue(t),this.toNumber(t)},C.prototype.getRatio=function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},C.prototype.getValueFromEvent=function(e){var t=e.target.value.trim().replace(/。/g,".");return m(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t},C.prototype.getValidValue=function(e,t,n){var o=1<arguments.length&&void 0!==t?t:this.props.min,i=2<arguments.length&&void 0!==n?n:this.props.max,r=parseFloat(e,10);return isNaN(r)?e:(r<o&&(r=o),i<r&&(r=i),r)},C.prototype.setValue=function(e,t){var n=this.props.precision,o=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),i=this.state,r=i.value,a=void 0===r?null:r,s=i.inputValue,l=void 0===s?null:s,u="number"==typeof o?o.toFixed(n):""+o,c=o!==a||u!==""+l;return"value"in this.props?this.setState({inputValue:this.toPrecisionAsStep(this.state.value)},t):this.setState({value:o,inputValue:this.toPrecisionAsStep(e)},t),c&&this.props.onChange(o),o},C.prototype.getPrecision=function(e){if(m(this.props.precision))return this.props.precision;var t=e.toString();if(0<=t.indexOf("e-"))return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return 0<=t.indexOf(".")&&(n=t.length-t.indexOf(".")-1),n},C.prototype.getMaxPrecision=function(e,t){var n=1<arguments.length&&void 0!==t?t:1,o=this.props,i=o.precision,r=o.step;if(m(i))return i;var a=this.getPrecision(n),s=this.getPrecision(r),l=this.getPrecision(e);return e?Math.max(l,a+s):a+s},C.prototype.getPrecisionFactor=function(e,t){var n=1<arguments.length&&void 0!==t?t:1,o=this.getMaxPrecision(e,n);return Math.pow(10,o)},C.prototype.fixCaret=function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var n=this.input.selectionStart,o=this.input.selectionEnd;e===n&&t===o||this.input.setSelectionRange(e,t)}catch(e){}},C.prototype.focus=function(){this.input.focus(),this.recordCursorPosition()},C.prototype.blur=function(){this.input.blur()},C.prototype.formatWrapper=function(e){return this.props.formatter?this.props.formatter(e):e},C.prototype.toPrecisionAsStep=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)},C.prototype.isNotCompleteNumber=function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},C.prototype.toNumber=function(e){var t=this.props.precision,n=this.state.focused,o=e&&16<e.length&&n;return this.isNotCompleteNumber(e)||o?e:m(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)},C.prototype.upStep=function(e,t){var n=this.props.step,o=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),r=((o*e+o*n*t)/o).toFixed(i);return this.toNumber(r)},C.prototype.downStep=function(e,t){var n=this.props.step,o=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),r=((o*e-o*n*t)/o).toFixed(i);return this.toNumber(r)},C.prototype.step=function(e,t,n,o){var i=this,r=2<arguments.length&&void 0!==n?n:1,a=o;this.stop(),t&&(t.persist(),t.preventDefault());var s=this.props;if(!s.disabled){var l=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(l)){var u=this[e+"Step"](l,r),c=u>s.max||u<s.min;u>s.max?u=s.max:u<s.min&&(u=s.min),this.setValue(u),this.setState({focused:!0}),c||(this.autoStepTimer=setTimeout(function(){i[e](t,r,!0)},a?200:600))}}},C.prototype.render=function(){var e,t=w()({},this.props),n=t.prefixCls,o=t.disabled,i=t.readOnly,r=t.useTouch,a=t.autoComplete,s=t.upHandler,l=t.downHandler,u=(_()(t,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler"]),S()(((e={})[n]=!0,e[t.className]=!!t.className,e[n+"-disabled"]=o,e[n+"-focused"]=this.state.focused,e))),c="",d="",h=this.state.value;if(h||0===h)if(isNaN(h))c=n+"-handler-up-disabled",d=n+"-handler-down-disabled";else{var p=Number(h);p>=t.max&&(c=n+"-handler-up-disabled"),p<=t.min&&(d=n+"-handler-down-disabled")}var f={};for(var g in t)!t.hasOwnProperty(g)||"data-"!==g.substr(0,5)&&"aria-"!==g.substr(0,5)&&"role"!==g||(f[g]=t[g]);var m=!t.readOnly&&!t.disabled,b=this.getInputDisplayValue(),v=void 0,y=void 0;y=r?(v={onTouchStart:m&&!c?this.up:D,onTouchEnd:this.stop},{onTouchStart:m&&!d?this.down:D,onTouchEnd:this.stop}):(v={onMouseDown:m&&!c?this.up:D,onMouseUp:this.stop,onMouseLeave:this.stop},{onMouseDown:m&&!d?this.down:D,onMouseUp:this.stop,onMouseLeave:this.stop});var C=!!c||o||i,A=!!d||o||i;return x.a.createElement("div",{className:u,style:t.style,title:t.title,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},x.a.createElement("div",{className:n+"-handler-wrap"},x.a.createElement(L.a,w()({ref:this.saveUp,disabled:C,prefixCls:n,unselectable:"unselectable"},v,{role:"button","aria-label":"Increase Value","aria-disabled":!!C,className:n+"-handler "+n+"-handler-up "+c}),s||x.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-up-inner",onClick:k})),x.a.createElement(L.a,w()({ref:this.saveDown,disabled:A,prefixCls:n,unselectable:"unselectable"},y,{role:"button","aria-label":"Decrease Value","aria-disabled":!!A,className:n+"-handler "+n+"-handler-down "+d}),l||x.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-down-inner",onClick:k}))),x.a.createElement("div",{className:n+"-input-wrap"},x.a.createElement("input",w()({role:"spinbutton","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":h,required:t.required,type:t.type,placeholder:t.placeholder,onClick:t.onClick,onMouseUp:this.onMouseUp,className:n+"-input",tabIndex:t.tabIndex,autoComplete:a,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:m?this.onKeyDown:D,onKeyUp:m?this.onKeyUp:D,autoFocus:t.autoFocus,maxLength:t.maxLength,readOnly:t.readOnly,disabled:t.disabled,max:t.max,min:t.min,step:t.step,name:t.name,id:t.id,onChange:this.onChange,ref:this.saveInput,value:b,pattern:t.pattern},f))))},C);function C(e){a()(this,C);var t=l()(this,b.call(this,e));A.call(t);var n=void 0;n="value"in e?e.value:e.defaultValue,t.state={focused:e.autoFocus};var o=t.getValidValue(t.toNumber(n));return t.state=w()({},t.state,{inputValue:t.toPrecisionAsStep(o),value:o}),t}y.propTypes={value:p.a.oneOfType([p.a.number,p.a.string]),defaultValue:p.a.oneOfType([p.a.number,p.a.string]),focusOnUpDown:p.a.bool,autoFocus:p.a.bool,onChange:p.a.func,onPressEnter:p.a.func,onKeyDown:p.a.func,onKeyUp:p.a.func,prefixCls:p.a.string,tabIndex:p.a.oneOfType([p.a.string,p.a.number]),disabled:p.a.bool,onFocus:p.a.func,onBlur:p.a.func,readOnly:p.a.bool,max:p.a.number,min:p.a.number,step:p.a.oneOfType([p.a.number,p.a.string]),upHandler:p.a.node,downHandler:p.a.node,useTouch:p.a.bool,formatter:p.a.func,parser:p.a.func,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onMouseOver:p.a.func,onMouseOut:p.a.func,onMouseUp:p.a.func,precision:p.a.number,required:p.a.bool,pattern:p.a.string,decimalSeparator:p.a.string},y.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-v,step:1,style:{},onChange:D,onKeyDown:D,onPressEnter:D,onFocus:D,onBlur:D,parser:function(e){return e.replace(/[^\w\.-]+/g,"")},required:!1,autoComplete:"off"};var A=function(){var u=this;this.onKeyDown=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=u.props,r=i.onKeyDown,a=i.onPressEnter;if(e.keyCode===g.a.UP){var s=u.getRatio(e);u.up(e,s),u.stop()}else if(e.keyCode===g.a.DOWN){var l=u.getRatio(e);u.down(e,l),u.stop()}else e.keyCode===g.a.ENTER&&a&&a(e);u.recordCursorPosition(),u.lastKeyCode=e.keyCode,r&&r.apply(void 0,[e].concat(n))},this.onKeyUp=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=u.props.onKeyUp;u.stop(),u.recordCursorPosition(),i&&i.apply(void 0,[e].concat(n))},this.onChange=function(e){var t=u.props.onChange;u.state.focused&&(u.inputting=!0),u.rawInput=u.props.parser(u.getValueFromEvent(e)),u.setState({inputValue:u.rawInput}),t(u.toNumber(u.rawInput))},this.onMouseUp=function(){var e=u.props.onMouseUp;u.recordCursorPosition(),e&&e.apply(void 0,arguments)},this.onFocus=function(){var e;u.setState({focused:!0}),(e=u.props).onFocus.apply(e,arguments)},this.onBlur=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=u.props.onBlur;u.inputting=!1,u.setState({focused:!1});var r=u.getCurrentValidValue(u.state.inputValue);e.persist();var a=u.setValue(r);if(i){var s=u.input.value,l=u.getInputDisplayValue({focus:!1,value:a});u.input.value=l,i.apply(void 0,[e].concat(n)),u.input.value=s}},this.getInputDisplayValue=function(e){var t=e||u.state,n=t.focused,o=t.inputValue,i=t.value,r=void 0;null==(r=n?o:u.toPrecisionAsStep(i))&&(r="");var a=u.formatWrapper(r);return m(u.props.decimalSeparator)&&(a=a.toString().replace(".",u.props.decimalSeparator)),a},this.recordCursorPosition=function(){try{u.cursorStart=u.input.selectionStart,u.cursorEnd=u.input.selectionEnd,u.currentValue=u.input.value,u.cursorBefore=u.input.value.substring(0,u.cursorStart),u.cursorAfter=u.input.value.substring(u.cursorEnd)}catch(e){}},this.restoreByAfter=function(e){if(void 0===e)return!1;var t=u.input.value,n=t.lastIndexOf(e);return-1!==n&&(n+e.length===t.length&&(u.fixCaret(n,n),!0))},this.partRestoreByAfter=function(o){return void 0!==o&&Array.prototype.some.call(o,function(e,t){var n=o.substring(t);return u.restoreByAfter(n)})},this.stop=function(){u.autoStepTimer&&clearTimeout(u.autoStepTimer)},this.down=function(e,t,n){u.pressingUpOrDown=!0,u.step("down",e,t,n)},this.up=function(e,t,n){u.pressingUpOrDown=!0,u.step("up",e,t,n)},this.saveUp=function(e){u.upHandler=e},this.saveDown=function(e){u.downHandler=e},this.saveInput=function(e){u.input=e}};t.default=y},1140:function(e,t,n){"use strict";var o,i=n(71),r=n.n(i),a=n(11),s=n.n(a),l=n(13),u=n.n(l),c=n(14),d=n.n(c),h=n(0),p=n.n(h),f=n(1),g=n.n(f),m=n(1141),b=(o=h.Component,d()(v,o),v.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.disabled,o=r()(e,["prefixCls","disabled"]);return p.a.createElement(m.a,{disabled:n,activeClassName:t+"-handler-active"},p.a.createElement("span",o))},v);function v(){return s()(this,v),u()(this,o.apply(this,arguments))}b.propTypes={prefixCls:g.a.string,disabled:g.a.bool,onTouchStart:g.a.func,onTouchEnd:g.a.func,onMouseDown:g.a.func,onMouseUp:g.a.func,onMouseLeave:g.a.func},t.a=b},1141:function(e,t,n){"use strict";var o=n(1142);n.d(t,"a",function(){return o.a})},1142:function(e,t,n){"use strict";var o,i=n(25),c=n.n(i),r=n(11),a=n.n(r),s=n(44),l=n.n(s),u=n(13),d=n.n(u),h=n(14),p=n.n(h),f=n(0),g=n.n(f),m=n(3),b=n.n(m),v=(o=g.a.Component,p()(y,o),l()(y,[{key:"componentDidUpdate",value:function(){this.props.disabled&&this.state.active&&this.setState({active:!1})}},{key:"triggerEvent",value:function(e,t,n){var o="on"+e,i=this.props.children;i.props[o]&&i.props[o](n),t!==this.state.active&&this.setState({active:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.disabled,o=e.activeClassName,i=e.activeStyle,r=n?void 0:{onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchCancel,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onMouseLeave:this.onMouseLeave},a=g.a.Children.only(t);if(n||!this.state.active)return g.a.cloneElement(a,r);var s=a.props,l=s.style,u=s.className;return!1!==i&&(i&&(l=c()({},l,i)),u=b()(u,o)),g.a.cloneElement(a,c()({className:u,style:l},r))}}]),y);function y(){a()(this,y);var t=d()(this,(y.__proto__||Object.getPrototypeOf(y)).apply(this,arguments));return t.state={active:!1},t.onTouchStart=function(e){t.triggerEvent("TouchStart",!0,e)},t.onTouchMove=function(e){t.triggerEvent("TouchMove",!1,e)},t.onTouchEnd=function(e){t.triggerEvent("TouchEnd",!1,e)},t.onTouchCancel=function(e){t.triggerEvent("TouchCancel",!1,e)},t.onMouseDown=function(e){t.triggerEvent("MouseDown",!0,e)},t.onMouseUp=function(e){t.triggerEvent("MouseUp",!1,e)},t.onMouseLeave=function(e){t.triggerEvent("MouseLeave",!1,e)},t}(t.a=v).defaultProps={disabled:!1}},1143:function(e,t,n){"use strict";n(27),n(1154),n(179),n(166),n(284),n(918),n(69),n(797)},1144:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((o=n(1156))&&o.__esModule?o:{default:o}).default;t.default=i},1148:function(e,t,n){var o=n(1221);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},1154:function(e,t,n){var o=n(1155);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},1155:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.ant-table-wrapper{zoom:1}.ant-table-wrapper:after,.ant-table-wrapper:before{display:table;content:""}.ant-table-wrapper:after{clear:both}.ant-table{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:relative;clear:both}.ant-table-body{-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}.ant-table-empty .ant-table-body{overflow-x:auto!important;overflow-y:hidden!important}.ant-table table{width:100%;text-align:left;border-radius:4px 4px 0 0;border-collapse:separate;border-spacing:0}.ant-table-layout-fixed table{table-layout:fixed}.ant-table-thead>tr>th{color:rgba(0,0,0,.85);font-weight:500;text-align:left;background:#fafafa;border-bottom:1px solid #e8e8e8;-webkit-transition:background .3s ease;-o-transition:background .3s ease;transition:background .3s ease}.ant-table-thead>tr>th[colspan]{text-align:center}.ant-table-thead>tr>th .ant-table-filter-icon,.ant-table-thead>tr>th .anticon-filter{position:absolute;top:0;right:0;width:28px;height:100%;color:#bfbfbf;font-size:12px;text-align:center;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-table-thead>tr>th .ant-table-filter-icon>svg,.ant-table-thead>tr>th .anticon-filter>svg{position:absolute;top:50%;left:50%;margin-top:-5px;margin-left:-6px}.ant-table-thead>tr>th .ant-table-filter-selected.anticon-filter{color:#1890ff}.ant-table-thead>tr>th .ant-table-column-sorter{display:table-cell;vertical-align:middle}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner{height:1em;margin-top:.35em;margin-left:.57142857em;color:#bfbfbf;line-height:1em;text-align:center;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up{display:inline-block;font-size:12px;font-size:11px\\9;-webkit-transform:scale(.91666667) rotate(0deg);-ms-transform:scale(.91666667) rotate(0deg);transform:scale(.91666667) rotate(0deg);display:block;height:1em;line-height:1em;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}:root .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down,:root .ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up{font-size:12px}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on{color:#1890ff}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full{margin-top:-.15em}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-up{height:.5em;line-height:.5em}.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down{margin-top:.125em}.ant-table-thead>tr>th.ant-table-column-has-actions{position:relative;background-clip:padding-box;-webkit-background-clip:border-box}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters{padding-right:30px!important}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters .ant-table-filter-icon.ant-table-filter-open,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters .anticon-filter.ant-table-filter-open,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:hover,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:hover{color:rgba(0,0,0,.45);background:#e5e5e5}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:active,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:active{color:rgba(0,0,0,.65)}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters{cursor:pointer}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .ant-table-filter-icon,.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .anticon-filter{background:#f2f2f2}.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-down:not(.on),.ant-table-thead>tr>th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-up:not(.on){color:rgba(0,0,0,.45)}.ant-table-thead>tr>th .ant-table-header-column{display:inline-block;max-width:100%;vertical-align:top}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters{display:table}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>.ant-table-column-title{display:table-cell;vertical-align:middle}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters>:not(.ant-table-column-sorter){position:relative}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters:before{position:absolute;top:0;right:0;bottom:0;left:0;background:transparent;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;content:""}.ant-table-thead>tr>th .ant-table-header-column .ant-table-column-sorters:hover:before{background:rgba(0,0,0,.04)}.ant-table-thead>tr>th.ant-table-column-has-sorters{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-thead>tr:first-child>th:first-child{border-top-left-radius:4px}.ant-table-thead>tr:first-child>th:last-child{border-top-right-radius:4px}.ant-table-thead>tr:not(:last-child)>th[colspan]{border-bottom:0}.ant-table-tbody>tr>td{border-bottom:1px solid #e8e8e8;-webkit-transition:all .3s,border 0s;-o-transition:all .3s,border 0s;transition:all .3s,border 0s}.ant-table-tbody>tr,.ant-table-thead>tr{-webkit-transition:all .3s,height 0s;-o-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td{background:#e6f7ff}.ant-table-tbody>tr.ant-table-row-selected>td.ant-table-column-sort,.ant-table-tbody>tr:hover.ant-table-row-selected>td,.ant-table-tbody>tr:hover.ant-table-row-selected>td.ant-table-column-sort,.ant-table-thead>tr.ant-table-row-selected>td.ant-table-column-sort,.ant-table-thead>tr:hover.ant-table-row-selected>td,.ant-table-thead>tr:hover.ant-table-row-selected>td.ant-table-column-sort{background:#fafafa}.ant-table-thead>tr:hover{background:none}.ant-table-footer{position:relative;padding:16px;color:rgba(0,0,0,.85);background:#fafafa;border-top:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-table-footer:before{position:absolute;top:-1px;left:0;width:100%;height:1px;background:#fafafa;content:""}.ant-table.ant-table-bordered .ant-table-footer{border:1px solid #e8e8e8}.ant-table-title{position:relative;top:1px;padding:16px 0;border-radius:4px 4px 0 0}.ant-table.ant-table-bordered .ant-table-title{padding-right:16px;padding-left:16px;border:1px solid #e8e8e8}.ant-table-title+.ant-table-content{position:relative;border-radius:4px 4px 0 0}.ant-table-bordered .ant-table-title+.ant-table-content,.ant-table-bordered .ant-table-title+.ant-table-content .ant-table-thead>tr:first-child>th,.ant-table-bordered .ant-table-title+.ant-table-content table,.ant-table-without-column-header .ant-table-title+.ant-table-content,.ant-table-without-column-header table{border-radius:0}.ant-table-without-column-header.ant-table-bordered.ant-table-empty .ant-table-placeholder{border-top:1px solid #e8e8e8;border-radius:4px}.ant-table-tbody>tr.ant-table-row-selected td{color:inherit;background:#fafafa}.ant-table-thead>tr>th.ant-table-column-sort{background:#f5f5f5}.ant-table-tbody>tr>td.ant-table-column-sort{background:rgba(0,0,0,.01)}.ant-table-tbody>tr>td,.ant-table-thead>tr>th{padding:16px;overflow-wrap:break-word}.ant-table-expand-icon-th,.ant-table-row-expand-icon-cell{width:50px;min-width:50px;text-align:center}.ant-table-header{overflow:hidden;background:#fafafa}.ant-table-header table{border-radius:4px 4px 0 0}.ant-table-loading{position:relative}.ant-table-loading .ant-table-body{background:#fff;opacity:.5}.ant-table-loading .ant-table-spin-holder{position:absolute;top:50%;left:50%;height:20px;margin-left:-30px;line-height:20px}.ant-table-loading .ant-table-with-pagination{margin-top:-20px}.ant-table-loading .ant-table-without-pagination{margin-top:10px}.ant-table-bordered .ant-table-body>table,.ant-table-bordered .ant-table-fixed-left table,.ant-table-bordered .ant-table-fixed-right table,.ant-table-bordered .ant-table-header>table{border:1px solid #e8e8e8;border-right:0;border-bottom:0}.ant-table-bordered.ant-table-empty .ant-table-placeholder{border-right:1px solid #e8e8e8;border-left:1px solid #e8e8e8}.ant-table-bordered.ant-table-fixed-header .ant-table-header>table{border-bottom:0}.ant-table-bordered.ant-table-fixed-header .ant-table-body>table{border-top-left-radius:0;border-top-right-radius:0}.ant-table-bordered.ant-table-fixed-header .ant-table-body-inner>table,.ant-table-bordered.ant-table-fixed-header .ant-table-header+.ant-table-body>table{border-top:0}.ant-table-bordered .ant-table-thead>tr:not(:last-child)>th{border-bottom:1px solid #e8e8e8}.ant-table-bordered .ant-table-tbody>tr>td,.ant-table-bordered .ant-table-thead>tr>th{border-right:1px solid #e8e8e8}.ant-table-placeholder{position:relative;z-index:1;margin-top:-1px;padding:16px;color:rgba(0,0,0,.25);font-size:14px;text-align:center;background:#fff;border-top:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:0 0 4px 4px}.ant-table-pagination.ant-pagination{float:right;margin:16px 0}.ant-table-filter-dropdown{position:relative;min-width:96px;margin-left:-8px;background:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-filter-dropdown .ant-dropdown-menu{border:0;border-radius:4px 4px 0 0;-webkit-box-shadow:none;box-shadow:none}.ant-table-filter-dropdown .ant-dropdown-menu-without-submenu{max-height:400px;overflow-x:hidden}.ant-table-filter-dropdown .ant-dropdown-menu-item>label+span{padding-right:0}.ant-table-filter-dropdown .ant-dropdown-menu-sub{border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title:after{color:#1890ff;font-weight:700;text-shadow:0 0 2px #bae7ff}.ant-table-filter-dropdown .ant-dropdown-menu-item{overflow:hidden}.ant-table-filter-dropdown>.ant-dropdown-menu>.ant-dropdown-menu-item:last-child,.ant-table-filter-dropdown>.ant-dropdown-menu>.ant-dropdown-menu-submenu:last-child .ant-dropdown-menu-submenu-title{border-radius:0}.ant-table-filter-dropdown-btns{padding:7px 8px;overflow:hidden;border-top:1px solid #e8e8e8}.ant-table-filter-dropdown-link{color:#1890ff}.ant-table-filter-dropdown-link:hover{color:#40a9ff}.ant-table-filter-dropdown-link:active{color:#096dd9}.ant-table-filter-dropdown-link.confirm{float:left}.ant-table-filter-dropdown-link.clear{float:right}.ant-table-selection{white-space:nowrap}.ant-table-selection-select-all-custom{margin-right:4px!important}.ant-table-selection .anticon-down{color:#bfbfbf;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-table-selection-menu{min-width:96px;margin-top:5px;margin-left:-30px;background:#fff;border-radius:4px;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-table-selection-menu .ant-action-down{color:#bfbfbf}.ant-table-selection-down{display:inline-block;padding:0;line-height:1;cursor:pointer}.ant-table-selection-down:hover .anticon-down{color:rgba(0,0,0,.6)}.ant-table-row-expand-icon{color:#1890ff;text-decoration:none;cursor:pointer;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;display:inline-block;width:17px;height:17px;color:inherit;line-height:13px;text-align:center;background:#fff;border:1px solid #e8e8e8;border-radius:2px;outline:none;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}.ant-table-row-expand-icon:active{color:#096dd9}.ant-table-row-expand-icon:active,.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{border-color:currentColor}.ant-table-row-expanded:after{content:"-"}.ant-table-row-collapsed:after{content:"+"}.ant-table-row-spaced{visibility:hidden}.ant-table-row-spaced:after{content:"."}.ant-table-row-cell-ellipsis,.ant-table-row-cell-ellipsis .ant-table-column-title{overflow:hidden;white-space:nowrap;-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-table-row-cell-ellipsis .ant-table-column-title{display:block}.ant-table-row-cell-break-word{word-wrap:break-word;word-break:break-word}tr.ant-table-expanded-row,tr.ant-table-expanded-row:hover{background:#fbfbfb}tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-16px -16px -17px}.ant-table .ant-table-row-indent+.ant-table-row-expand-icon{margin-right:8px}.ant-table-scroll{overflow:auto;overflow-x:hidden}.ant-table-scroll table{min-width:100%}.ant-table-scroll table .ant-table-fixed-columns-in-body:not([colspan]){visibility:hidden}.ant-table-body-inner{height:100%}.ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body{position:relative;background:#fff}.ant-table-fixed-header .ant-table-body-inner{overflow:scroll}.ant-table-fixed-header .ant-table-scroll .ant-table-header{margin-bottom:-20px;padding-bottom:20px;overflow:scroll;opacity:.9999}.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar{border:1px solid #e8e8e8;border-width:0 0 1px}.ant-table-hide-scrollbar{scrollbar-color:transparent transparent}.ant-table-hide-scrollbar::-webkit-scrollbar{background-color:transparent}.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar{border:1px solid #e8e8e8;border-width:1px 1px 1px 0}.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header.ant-table-hide-scrollbar .ant-table-thead>tr:only-child>th:last-child{border-right-color:transparent}.ant-table-fixed-left,.ant-table-fixed-right{position:absolute;top:0;z-index:auto;overflow:hidden;border-radius:0;-webkit-transition:-webkit-box-shadow .3s ease;transition:-webkit-box-shadow .3s ease;-o-transition:box-shadow .3s ease;transition:box-shadow .3s ease;transition:box-shadow .3s ease,-webkit-box-shadow .3s ease}.ant-table-fixed-left table,.ant-table-fixed-right table{width:auto;background:#fff}.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-outer .ant-table-fixed,.ant-table-fixed-header .ant-table-fixed-right .ant-table-body-outer .ant-table-fixed{border-radius:0}.ant-table-fixed-left{left:0;-webkit-box-shadow:6px 0 6px -4px rgba(0,0,0,.15);box-shadow:6px 0 6px -4px rgba(0,0,0,.15)}.ant-table-fixed-left .ant-table-header{overflow-y:hidden}.ant-table-fixed-left .ant-table-body-inner{margin-right:-20px;padding-right:20px}.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-inner{padding-right:0}.ant-table-fixed-left,.ant-table-fixed-left table{border-radius:4px 0 0 0}.ant-table-fixed-left .ant-table-thead>tr>th:last-child{border-top-right-radius:0}.ant-table-fixed-right{right:0;-webkit-box-shadow:-6px 0 6px -4px rgba(0,0,0,.15);box-shadow:-6px 0 6px -4px rgba(0,0,0,.15)}.ant-table-fixed-right,.ant-table-fixed-right table{border-radius:0 4px 0 0}.ant-table-fixed-right .ant-table-expanded-row{color:transparent;pointer-events:none}.ant-table-fixed-right .ant-table-thead>tr>th:first-child{border-top-left-radius:0}.ant-table.ant-table-scroll-position-left .ant-table-fixed-left,.ant-table.ant-table-scroll-position-right .ant-table-fixed-right{-webkit-box-shadow:none;box-shadow:none}.ant-table colgroup>col.ant-table-selection-col{width:60px}.ant-table-thead>tr>th.ant-table-selection-column-custom .ant-table-selection{margin-right:-15px}.ant-table-tbody>tr>td.ant-table-selection-column,.ant-table-thead>tr>th.ant-table-selection-column{text-align:center}.ant-table-tbody>tr>td.ant-table-selection-column .ant-radio-wrapper,.ant-table-thead>tr>th.ant-table-selection-column .ant-radio-wrapper{margin-right:0}.ant-table-row[class*=ant-table-row-level-0] .ant-table-selection-column>span{display:inline-block}.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper+span,.ant-table-filter-dropdown .ant-checkbox-wrapper+span{padding-left:8px}@supports (-moz-appearance:meterbar){.ant-table-thead>tr>th.ant-table-column-has-actions{background-clip:padding-box}}.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-middle>.ant-table-footer,.ant-table-middle>.ant-table-title{padding:12px 8px}.ant-table-middle tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-12px -8px -13px}.ant-table-small{border:1px solid #e8e8e8;border-radius:4px}.ant-table-small>.ant-table-footer,.ant-table-small>.ant-table-title{padding:8px}.ant-table-small>.ant-table-title{top:0;border-bottom:1px solid #e8e8e8}.ant-table-small>.ant-table-content>.ant-table-body{margin:0 8px}.ant-table-small>.ant-table-content>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table{border:0}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-tbody>tr>td,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th{padding:8px}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th{background-color:transparent}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr{border-bottom:1px solid #e8e8e8}.ant-table-small>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th.ant-table-column-sort,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table>.ant-table-thead>tr>th.ant-table-column-sort{background-color:rgba(0,0,0,.01)}.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-left>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table,.ant-table-small>.ant-table-content>.ant-table-fixed-right>.ant-table-header>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-body>table,.ant-table-small>.ant-table-content>.ant-table-scroll>.ant-table-header>table{padding:0}.ant-table-small>.ant-table-content .ant-table-header{background-color:#fff;border-radius:4px 4px 0 0}.ant-table-small>.ant-table-content .ant-table-placeholder,.ant-table-small>.ant-table-content .ant-table-row:last-child td{border-bottom:0}.ant-table-small.ant-table-bordered{border-right:0}.ant-table-small.ant-table-bordered .ant-table-title{border:0;border-right:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-content{border-right:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-footer{border:0;border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-footer:before{display:none}.ant-table-small.ant-table-bordered .ant-table-placeholder{border-right:0;border-bottom:0;border-left:0}.ant-table-small.ant-table-bordered .ant-table-tbody>tr>td:last-child,.ant-table-small.ant-table-bordered .ant-table-thead>tr:only-child>th:last-child{border-right:none}.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-tbody>tr>td:last-child,.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-thead>tr>th:last-child{border-right:1px solid #e8e8e8}.ant-table-small.ant-table-bordered .ant-table-fixed-right{border-right:1px solid #e8e8e8;border-left:1px solid #e8e8e8}.ant-table-small tr.ant-table-expanded-row td>.ant-table-wrapper{margin:-8px -8px -9px}.ant-table-small.ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body{border-radius:0 0 4px 4px}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_antd@3.25.3@antd/lib/table/style/index.css"],names:[],mappings:"AAIA,mBACE,MAAQ,CACT,AACD,mDAEE,cAAe,AACf,UAAY,CACb,AACD,yBACE,UAAY,CACb,AACD,WACE,8BAA+B,AACvB,sBAAuB,AAC/B,SAAU,AACV,UAAW,AACX,sBAA2B,AAC3B,eAAgB,AAChB,0BAA2B,AAC3B,gBAAiB,AACjB,gBAAiB,AACjB,qCAAsC,AAC9B,6BAA8B,AACtC,kBAAmB,AACnB,UAAY,CACb,AACD,gBACE,+BAAiC,AACjC,0BAA4B,AAC5B,sBAAyB,CAC1B,AACD,iCACE,0BAA4B,AAC5B,2BAA8B,CAC/B,AACD,iBACE,WAAY,AACZ,gBAAiB,AACjB,0BAA2B,AAC3B,yBAA0B,AAC1B,gBAAkB,CACnB,AACD,8BACE,kBAAoB,CACrB,AACD,uBACE,sBAA2B,AAC3B,gBAAiB,AACjB,gBAAiB,AACjB,mBAAoB,AACpB,gCAAiC,AACjC,uCAAyC,AACzC,kCAAoC,AACpC,8BAAiC,CAClC,AACD,gCACE,iBAAmB,CACpB,AACD,qFAEE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,WAAY,AACZ,YAAa,AACb,cAAe,AACf,eAAgB,AAChB,kBAAmB,AACnB,eAAgB,AAChB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,6FAEE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,gBAAiB,AACjB,gBAAkB,CACnB,AACD,iEACE,aAAe,CAChB,AACD,gDACE,mBAAoB,AACpB,qBAAuB,CACxB,AACD,+EACE,WAAY,AACZ,iBAAmB,AACnB,wBAA0B,AAC1B,cAAe,AACf,gBAAiB,AACjB,kBAAmB,AACnB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,wNAEE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,gDAAkD,AAC9C,4CAA8C,AAC1C,wCAA0C,AAClD,cAAe,AACf,WAAY,AACZ,gBAAiB,AACjB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,oOAEE,cAAgB,CACjB,AACD,8NAEE,aAAe,CAChB,AACD,oFACE,iBAAoB,CACrB,AACD,kOAEE,YAAc,AACd,gBAAmB,CACpB,AACD,kHACE,iBAAoB,CACrB,AACD,oDACE,kBAAmB,AACnB,4BAA6B,AAE7B,kCAAoC,CACrC,AACD,iFACE,4BAA+B,CAChC,AAMD,sdAEE,sBAA2B,AAC3B,kBAAoB,CACrB,AACD,mOAEE,qBAA2B,CAC5B,AACD,iFACE,cAAgB,CACjB,AAID,4SAEE,kBAAoB,CACrB,AACD,4PAEE,qBAA2B,CAC5B,AACD,gDACE,qBAAsB,AACtB,eAAgB,AAChB,kBAAoB,CACrB,AACD,0EACE,aAAe,CAChB,AACD,kGACE,mBAAoB,AACpB,qBAAuB,CACxB,AACD,yGACE,iBAAmB,CACpB,AACD,iFACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,uBAAwB,AACxB,2BAA6B,AAC7B,sBAAwB,AACxB,mBAAqB,AACrB,UAAY,CACb,AACD,uFACE,0BAAgC,CACjC,AACD,oDACE,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,+CACE,0BAA4B,CAC7B,AACD,8CACE,2BAA6B,CAC9B,AACD,iDACE,eAAiB,CAClB,AACD,uBACE,gCAAiC,AACjC,qCAAwC,AACxC,gCAAmC,AACnC,4BAAgC,CACjC,AACD,wCAEE,qCAAwC,AACxC,gCAAmC,AACnC,4BAAgC,CACjC,AACD,wXAIE,kBAAoB,CACrB,AASD,oYAEE,kBAAoB,CACrB,AACD,0BACE,eAAiB,CAClB,AACD,kBACE,kBAAmB,AACnB,aAAmB,AACnB,sBAA2B,AAC3B,mBAAoB,AACpB,6BAA8B,AAC9B,yBAA2B,CAC5B,AACD,yBACE,kBAAmB,AACnB,SAAU,AACV,OAAQ,AACR,WAAY,AACZ,WAAY,AACZ,mBAAoB,AACpB,UAAY,CACb,AACD,gDACE,wBAA0B,CAC3B,AACD,iBACE,kBAAmB,AACnB,QAAS,AACT,eAAgB,AAChB,yBAA2B,CAC5B,AACD,+CACE,mBAAoB,AACpB,kBAAmB,AACnB,wBAA0B,CAC3B,AACD,oCACE,kBAAmB,AACnB,yBAA2B,CAC5B,AAMD,6TAEE,eAAiB,CAClB,AACD,2FACE,6BAA8B,AAC9B,iBAAmB,CACpB,AACD,8CACE,cAAe,AACf,kBAAoB,CACrB,AACD,6CACE,kBAAoB,CACrB,AACD,6CACE,0BAAgC,CACjC,AACD,8CAEE,aAAmB,AACnB,wBAA0B,CAC3B,AACD,0DAEE,WAAY,AACZ,eAAgB,AAChB,iBAAmB,CACpB,AACD,kBACE,gBAAiB,AACjB,kBAAoB,CACrB,AACD,wBACE,yBAA2B,CAC5B,AACD,mBACE,iBAAmB,CACpB,AACD,mCACE,gBAAiB,AACjB,UAAa,CACd,AACD,0CACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,YAAa,AACb,kBAAmB,AACnB,gBAAkB,CACnB,AACD,8CACE,gBAAkB,CACnB,AACD,iDACE,eAAiB,CAClB,AACD,uLAIE,yBAA0B,AAC1B,eAAgB,AAChB,eAAiB,CAClB,AACD,2DACE,+BAAgC,AAChC,6BAA+B,CAChC,AACD,mEACE,eAAiB,CAClB,AACD,iEACE,yBAA0B,AAC1B,yBAA2B,CAC5B,AACD,0JAEE,YAAc,CACf,AACD,4DACE,+BAAiC,CAClC,AACD,sFAEE,8BAAgC,CACjC,AACD,uBACE,kBAAmB,AACnB,UAAW,AACX,gBAAiB,AACjB,aAAmB,AACnB,sBAA2B,AAC3B,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,6BAA8B,AAC9B,gCAAiC,AACjC,yBAA2B,CAC5B,AACD,qCACE,YAAa,AACb,aAAe,CAChB,AACD,2BACE,kBAAmB,AACnB,eAAgB,AAChB,iBAAkB,AAClB,gBAAiB,AACjB,kBAAmB,AACnB,6CAAkD,AAC1C,oCAA0C,CACnD,AACD,8CACE,SAAU,AACV,0BAA2B,AAC3B,wBAAyB,AACjB,eAAiB,CAC1B,AACD,8DACE,iBAAkB,AAClB,iBAAmB,CACpB,AACD,8DACE,eAAiB,CAClB,AACD,kDACE,kBAAmB,AACnB,6CAAkD,AAC1C,oCAA0C,CACnD,AACD,4HACE,cAAe,AACf,gBAAkB,AAClB,2BAA6B,CAC9B,AACD,mDACE,eAAiB,CAClB,AACD,sMAEE,eAAiB,CAClB,AACD,gCACE,gBAAiB,AACjB,gBAAiB,AACjB,4BAA8B,CAC/B,AACD,gCACE,aAAe,CAChB,AACD,sCACE,aAAe,CAChB,AACD,uCACE,aAAe,CAChB,AACD,wCACE,UAAY,CACb,AACD,sCACE,WAAa,CACd,AACD,qBACE,kBAAoB,CACrB,AACD,uCACE,0BAA6B,CAC9B,AACD,mCACE,cAAe,AACf,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0BACE,eAAgB,AAChB,eAAgB,AAChB,kBAAmB,AACnB,gBAAiB,AACjB,kBAAmB,AACnB,6CAAkD,AAC1C,oCAA0C,CACnD,AACD,2CACE,aAAe,CAChB,AACD,0BACE,qBAAsB,AACtB,UAAW,AACX,cAAe,AACf,cAAgB,CACjB,AACD,8CACE,oBAA0B,CAC3B,AACD,2BACE,cAAe,AACf,qBAAsB,AACtB,eAAgB,AAChB,6BAA+B,AAC/B,wBAA0B,AAC1B,qBAAuB,AACvB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,cAAe,AACf,iBAAkB,AAClB,kBAAmB,AACnB,gBAAiB,AACjB,yBAA0B,AAC1B,kBAAmB,AACnB,aAAc,AACd,2BAA6B,AAC7B,sBAAwB,AACxB,mBAAqB,AACrB,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,kEAEE,aAAe,CAChB,AACD,kCACE,aAAe,CAChB,AACD,oGAGE,yBAA2B,CAC5B,AACD,8BACE,WAAa,CACd,AACD,+BACE,WAAa,CACd,AACD,sBACE,iBAAmB,CACpB,AACD,4BACE,WAAa,CACd,AACD,kFAEE,gBAAiB,AACjB,mBAAoB,AACpB,0BAA2B,AACxB,sBAAwB,CAC5B,AACD,qDACE,aAAe,CAChB,AACD,+BACE,qBAAsB,AACtB,qBAAuB,CACxB,AACD,0DAEE,kBAAoB,CACrB,AACD,gDACE,wBAA0B,CAC3B,AACD,4DACE,gBAAkB,CACnB,AACD,kBACE,cAAe,AACf,iBAAmB,CACpB,AACD,wBACE,cAAgB,CACjB,AACD,wEACE,iBAAmB,CACpB,AACD,sBACE,WAAa,CACd,AACD,6EACE,kBAAmB,AACnB,eAAiB,CAClB,AACD,8CACE,eAAiB,CAClB,AACD,4DACE,oBAAqB,AACrB,oBAAqB,AACrB,gBAAiB,AACjB,aAAgB,CACjB,AACD,+EACE,yBAA0B,AAC1B,oBAAwB,CACzB,AACD,0BACE,uCAAyC,CAC1C,AACD,6CACE,4BAA8B,CAC/B,AACD,kGACE,yBAA0B,AAC1B,0BAA4B,CAC7B,AACD,qJACE,8BAAgC,CACjC,AACD,6CAEE,kBAAmB,AACnB,MAAO,AACP,aAAc,AACd,gBAAiB,AACjB,gBAAiB,AACjB,+CAAiD,AACjD,uCAAyC,AACzC,kCAAoC,AACpC,+BAAiC,AACjC,0DAA+D,CAChE,AACD,yDAEE,WAAY,AACZ,eAAiB,CAClB,AACD,2KAEE,eAAiB,CAClB,AACD,sBACE,OAAQ,AACR,kDAAuD,AAC/C,yCAA+C,CACxD,AACD,wCACE,iBAAmB,CACpB,AACD,4CACE,mBAAoB,AACpB,kBAAoB,CACrB,AACD,oEACE,eAAiB,CAClB,AACD,kDAEE,uBAAyB,CAC1B,AACD,wDACE,yBAA2B,CAC5B,AACD,uBACE,QAAS,AACT,mDAAwD,AAChD,0CAAgD,CACzD,AACD,oDAEE,uBAAyB,CAC1B,AACD,+CACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,0DACE,wBAA0B,CAC3B,AAKD,kIACE,wBAAyB,AACjB,eAAiB,CAC1B,AACD,gDACE,UAAY,CACb,AACD,8EACE,kBAAoB,CACrB,AACD,oGAEE,iBAAmB,CACpB,AACD,0IAEE,cAAgB,CACjB,AACD,8EACE,oBAAsB,CACvB,AACD,oHAEE,gBAAkB,CACnB,AAID,qCACE,oDACE,2BAA6B,CAC9B,CACF,AAKD,muDAgBE,gBAAkB,CACnB,AACD,kEACE,uBAAyB,CAC1B,AACD,iBACE,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,qEAEE,WAAiB,CAClB,AACD,kCACE,MAAO,AACP,+BAAiC,CAClC,AACD,oDACE,YAAc,CACf,AACD,8oBAQE,QAAU,CACX,AACD,4oDAgBE,WAAiB,CAClB,AACD,s0BAQE,4BAA8B,CAC/B,AACD,8yBAQE,+BAAiC,CAClC,AACD,s/BAQE,gCAAsC,CACvC,AACD,whBAME,SAAW,CACZ,AACD,sDACE,sBAAuB,AACvB,yBAA2B,CAC5B,AACD,4HAEE,eAAiB,CAClB,AACD,oCACE,cAAgB,CACjB,AACD,qDACE,SAAU,AACV,+BAAgC,AAChC,+BAAiC,CAClC,AACD,uDACE,8BAAgC,CACjC,AACD,sDACE,SAAU,AACV,6BAA8B,AAC9B,8BAAgC,CACjC,AACD,6DACE,YAAc,CACf,AACD,2DACE,eAAgB,AAChB,gBAAiB,AACjB,aAAe,CAChB,AACD,uJAEE,iBAAmB,CACpB,AACD,wLAEE,8BAAgC,CACjC,AACD,2DACE,+BAAgC,AAChC,6BAA+B,CAChC,AACD,iEACE,qBAAuB,CACxB,AACD,6FACE,yBAA2B,CAC5B",file:"index.css",sourcesContent:["/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-table-wrapper {\n zoom: 1;\n}\n.ant-table-wrapper::before,\n.ant-table-wrapper::after {\n display: table;\n content: '';\n}\n.ant-table-wrapper::after {\n clear: both;\n}\n.ant-table {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n position: relative;\n clear: both;\n}\n.ant-table-body {\n -webkit-transition: opacity 0.3s;\n -o-transition: opacity 0.3s;\n transition: opacity 0.3s;\n}\n.ant-table-empty .ant-table-body {\n overflow-x: auto !important;\n overflow-y: hidden !important;\n}\n.ant-table table {\n width: 100%;\n text-align: left;\n border-radius: 4px 4px 0 0;\n border-collapse: separate;\n border-spacing: 0;\n}\n.ant-table-layout-fixed table {\n table-layout: fixed;\n}\n.ant-table-thead > tr > th {\n color: rgba(0, 0, 0, 0.85);\n font-weight: 500;\n text-align: left;\n background: #fafafa;\n border-bottom: 1px solid #e8e8e8;\n -webkit-transition: background 0.3s ease;\n -o-transition: background 0.3s ease;\n transition: background 0.3s ease;\n}\n.ant-table-thead > tr > th[colspan] {\n text-align: center;\n}\n.ant-table-thead > tr > th .anticon-filter,\n.ant-table-thead > tr > th .ant-table-filter-icon {\n position: absolute;\n top: 0;\n right: 0;\n width: 28px;\n height: 100%;\n color: #bfbfbf;\n font-size: 12px;\n text-align: center;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-table-thead > tr > th .anticon-filter > svg,\n.ant-table-thead > tr > th .ant-table-filter-icon > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n margin-top: -5px;\n margin-left: -6px;\n}\n.ant-table-thead > tr > th .ant-table-filter-selected.anticon-filter {\n color: #1890ff;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter {\n display: table-cell;\n vertical-align: middle;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner {\n height: 1em;\n margin-top: 0.35em;\n margin-left: 0.57142857em;\n color: #bfbfbf;\n line-height: 1em;\n text-align: center;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up,\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down {\n display: inline-block;\n font-size: 12px;\n font-size: 11px \\9;\n -webkit-transform: scale(0.91666667) rotate(0deg);\n -ms-transform: scale(0.91666667) rotate(0deg);\n transform: scale(0.91666667) rotate(0deg);\n display: block;\n height: 1em;\n line-height: 1em;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n:root .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up,\n:root .ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down {\n font-size: 12px;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on,\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on {\n color: #1890ff;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full {\n margin-top: -0.15em;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-up,\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down {\n height: 0.5em;\n line-height: 0.5em;\n}\n.ant-table-thead > tr > th .ant-table-column-sorter .ant-table-column-sorter-inner-full .ant-table-column-sorter-down {\n margin-top: 0.125em;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions {\n position: relative;\n background-clip: padding-box;\n /* stylelint-disable-next-line */\n -webkit-background-clip: border-box;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters {\n padding-right: 30px !important;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters .anticon-filter.ant-table-filter-open,\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters .ant-table-filter-icon.ant-table-filter-open {\n color: rgba(0, 0, 0, 0.45);\n background: #e5e5e5;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:hover,\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:hover {\n color: rgba(0, 0, 0, 0.45);\n background: #e5e5e5;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters:hover .anticon-filter:active,\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-filters:hover .ant-table-filter-icon:active {\n color: rgba(0, 0, 0, 0.65);\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters {\n cursor: pointer;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:hover {\n background: #f2f2f2;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .anticon-filter,\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:hover .ant-table-filter-icon {\n background: #f2f2f2;\n}\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-up:not(.on),\n.ant-table-thead > tr > th.ant-table-column-has-actions.ant-table-column-has-sorters:active .ant-table-column-sorter-down:not(.on) {\n color: rgba(0, 0, 0, 0.45);\n}\n.ant-table-thead > tr > th .ant-table-header-column {\n display: inline-block;\n max-width: 100%;\n vertical-align: top;\n}\n.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters {\n display: table;\n}\n.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters > .ant-table-column-title {\n display: table-cell;\n vertical-align: middle;\n}\n.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters > *:not(.ant-table-column-sorter) {\n position: relative;\n}\n.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters::before {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: transparent;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n content: '';\n}\n.ant-table-thead > tr > th .ant-table-header-column .ant-table-column-sorters:hover::before {\n background: rgba(0, 0, 0, 0.04);\n}\n.ant-table-thead > tr > th.ant-table-column-has-sorters {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-table-thead > tr:first-child > th:first-child {\n border-top-left-radius: 4px;\n}\n.ant-table-thead > tr:first-child > th:last-child {\n border-top-right-radius: 4px;\n}\n.ant-table-thead > tr:not(:last-child) > th[colspan] {\n border-bottom: 0;\n}\n.ant-table-tbody > tr > td {\n border-bottom: 1px solid #e8e8e8;\n -webkit-transition: all 0.3s, border 0s;\n -o-transition: all 0.3s, border 0s;\n transition: all 0.3s, border 0s;\n}\n.ant-table-thead > tr,\n.ant-table-tbody > tr {\n -webkit-transition: all 0.3s, height 0s;\n -o-transition: all 0.3s, height 0s;\n transition: all 0.3s, height 0s;\n}\n.ant-table-thead > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,\n.ant-table-tbody > tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,\n.ant-table-thead > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td,\n.ant-table-tbody > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {\n background: #e6f7ff;\n}\n.ant-table-thead > tr.ant-table-row-selected > td.ant-table-column-sort,\n.ant-table-tbody > tr.ant-table-row-selected > td.ant-table-column-sort {\n background: #fafafa;\n}\n.ant-table-thead > tr:hover.ant-table-row-selected > td,\n.ant-table-tbody > tr:hover.ant-table-row-selected > td {\n background: #fafafa;\n}\n.ant-table-thead > tr:hover.ant-table-row-selected > td.ant-table-column-sort,\n.ant-table-tbody > tr:hover.ant-table-row-selected > td.ant-table-column-sort {\n background: #fafafa;\n}\n.ant-table-thead > tr:hover {\n background: none;\n}\n.ant-table-footer {\n position: relative;\n padding: 16px 16px;\n color: rgba(0, 0, 0, 0.85);\n background: #fafafa;\n border-top: 1px solid #e8e8e8;\n border-radius: 0 0 4px 4px;\n}\n.ant-table-footer::before {\n position: absolute;\n top: -1px;\n left: 0;\n width: 100%;\n height: 1px;\n background: #fafafa;\n content: '';\n}\n.ant-table.ant-table-bordered .ant-table-footer {\n border: 1px solid #e8e8e8;\n}\n.ant-table-title {\n position: relative;\n top: 1px;\n padding: 16px 0;\n border-radius: 4px 4px 0 0;\n}\n.ant-table.ant-table-bordered .ant-table-title {\n padding-right: 16px;\n padding-left: 16px;\n border: 1px solid #e8e8e8;\n}\n.ant-table-title + .ant-table-content {\n position: relative;\n border-radius: 4px 4px 0 0;\n}\n.ant-table-bordered .ant-table-title + .ant-table-content,\n.ant-table-bordered .ant-table-title + .ant-table-content table,\n.ant-table-bordered .ant-table-title + .ant-table-content .ant-table-thead > tr:first-child > th {\n border-radius: 0;\n}\n.ant-table-without-column-header .ant-table-title + .ant-table-content,\n.ant-table-without-column-header table {\n border-radius: 0;\n}\n.ant-table-without-column-header.ant-table-bordered.ant-table-empty .ant-table-placeholder {\n border-top: 1px solid #e8e8e8;\n border-radius: 4px;\n}\n.ant-table-tbody > tr.ant-table-row-selected td {\n color: inherit;\n background: #fafafa;\n}\n.ant-table-thead > tr > th.ant-table-column-sort {\n background: #f5f5f5;\n}\n.ant-table-tbody > tr > td.ant-table-column-sort {\n background: rgba(0, 0, 0, 0.01);\n}\n.ant-table-thead > tr > th,\n.ant-table-tbody > tr > td {\n padding: 16px 16px;\n overflow-wrap: break-word;\n}\n.ant-table-expand-icon-th,\n.ant-table-row-expand-icon-cell {\n width: 50px;\n min-width: 50px;\n text-align: center;\n}\n.ant-table-header {\n overflow: hidden;\n background: #fafafa;\n}\n.ant-table-header table {\n border-radius: 4px 4px 0 0;\n}\n.ant-table-loading {\n position: relative;\n}\n.ant-table-loading .ant-table-body {\n background: #fff;\n opacity: 0.5;\n}\n.ant-table-loading .ant-table-spin-holder {\n position: absolute;\n top: 50%;\n left: 50%;\n height: 20px;\n margin-left: -30px;\n line-height: 20px;\n}\n.ant-table-loading .ant-table-with-pagination {\n margin-top: -20px;\n}\n.ant-table-loading .ant-table-without-pagination {\n margin-top: 10px;\n}\n.ant-table-bordered .ant-table-header > table,\n.ant-table-bordered .ant-table-body > table,\n.ant-table-bordered .ant-table-fixed-left table,\n.ant-table-bordered .ant-table-fixed-right table {\n border: 1px solid #e8e8e8;\n border-right: 0;\n border-bottom: 0;\n}\n.ant-table-bordered.ant-table-empty .ant-table-placeholder {\n border-right: 1px solid #e8e8e8;\n border-left: 1px solid #e8e8e8;\n}\n.ant-table-bordered.ant-table-fixed-header .ant-table-header > table {\n border-bottom: 0;\n}\n.ant-table-bordered.ant-table-fixed-header .ant-table-body > table {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n.ant-table-bordered.ant-table-fixed-header .ant-table-header + .ant-table-body > table,\n.ant-table-bordered.ant-table-fixed-header .ant-table-body-inner > table {\n border-top: 0;\n}\n.ant-table-bordered .ant-table-thead > tr:not(:last-child) > th {\n border-bottom: 1px solid #e8e8e8;\n}\n.ant-table-bordered .ant-table-thead > tr > th,\n.ant-table-bordered .ant-table-tbody > tr > td {\n border-right: 1px solid #e8e8e8;\n}\n.ant-table-placeholder {\n position: relative;\n z-index: 1;\n margin-top: -1px;\n padding: 16px 16px;\n color: rgba(0, 0, 0, 0.25);\n font-size: 14px;\n text-align: center;\n background: #fff;\n border-top: 1px solid #e8e8e8;\n border-bottom: 1px solid #e8e8e8;\n border-radius: 0 0 4px 4px;\n}\n.ant-table-pagination.ant-pagination {\n float: right;\n margin: 16px 0;\n}\n.ant-table-filter-dropdown {\n position: relative;\n min-width: 96px;\n margin-left: -8px;\n background: #fff;\n border-radius: 4px;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-filter-dropdown .ant-dropdown-menu {\n border: 0;\n border-radius: 4px 4px 0 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-table-filter-dropdown .ant-dropdown-menu-without-submenu {\n max-height: 400px;\n overflow-x: hidden;\n}\n.ant-table-filter-dropdown .ant-dropdown-menu-item > label + span {\n padding-right: 0;\n}\n.ant-table-filter-dropdown .ant-dropdown-menu-sub {\n border-radius: 4px;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title::after {\n color: #1890ff;\n font-weight: bold;\n text-shadow: 0 0 2px #bae7ff;\n}\n.ant-table-filter-dropdown .ant-dropdown-menu-item {\n overflow: hidden;\n}\n.ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-item:last-child,\n.ant-table-filter-dropdown > .ant-dropdown-menu > .ant-dropdown-menu-submenu:last-child .ant-dropdown-menu-submenu-title {\n border-radius: 0;\n}\n.ant-table-filter-dropdown-btns {\n padding: 7px 8px;\n overflow: hidden;\n border-top: 1px solid #e8e8e8;\n}\n.ant-table-filter-dropdown-link {\n color: #1890ff;\n}\n.ant-table-filter-dropdown-link:hover {\n color: #40a9ff;\n}\n.ant-table-filter-dropdown-link:active {\n color: #096dd9;\n}\n.ant-table-filter-dropdown-link.confirm {\n float: left;\n}\n.ant-table-filter-dropdown-link.clear {\n float: right;\n}\n.ant-table-selection {\n white-space: nowrap;\n}\n.ant-table-selection-select-all-custom {\n margin-right: 4px !important;\n}\n.ant-table-selection .anticon-down {\n color: #bfbfbf;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-table-selection-menu {\n min-width: 96px;\n margin-top: 5px;\n margin-left: -30px;\n background: #fff;\n border-radius: 4px;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-selection-menu .ant-action-down {\n color: #bfbfbf;\n}\n.ant-table-selection-down {\n display: inline-block;\n padding: 0;\n line-height: 1;\n cursor: pointer;\n}\n.ant-table-selection-down:hover .anticon-down {\n color: rgba(0, 0, 0, 0.6);\n}\n.ant-table-row-expand-icon {\n color: #1890ff;\n text-decoration: none;\n cursor: pointer;\n -webkit-transition: color 0.3s;\n -o-transition: color 0.3s;\n transition: color 0.3s;\n display: inline-block;\n width: 17px;\n height: 17px;\n color: inherit;\n line-height: 13px;\n text-align: center;\n background: #fff;\n border: 1px solid #e8e8e8;\n border-radius: 2px;\n outline: none;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover {\n color: #40a9ff;\n}\n.ant-table-row-expand-icon:active {\n color: #096dd9;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover,\n.ant-table-row-expand-icon:active {\n border-color: currentColor;\n}\n.ant-table-row-expanded::after {\n content: '-';\n}\n.ant-table-row-collapsed::after {\n content: '+';\n}\n.ant-table-row-spaced {\n visibility: hidden;\n}\n.ant-table-row-spaced::after {\n content: '.';\n}\n.ant-table-row-cell-ellipsis,\n.ant-table-row-cell-ellipsis .ant-table-column-title {\n overflow: hidden;\n white-space: nowrap;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-table-row-cell-ellipsis .ant-table-column-title {\n display: block;\n}\n.ant-table-row-cell-break-word {\n word-wrap: break-word;\n word-break: break-word;\n}\ntr.ant-table-expanded-row,\ntr.ant-table-expanded-row:hover {\n background: #fbfbfb;\n}\ntr.ant-table-expanded-row td > .ant-table-wrapper {\n margin: -16px -16px -17px;\n}\n.ant-table .ant-table-row-indent + .ant-table-row-expand-icon {\n margin-right: 8px;\n}\n.ant-table-scroll {\n overflow: auto;\n overflow-x: hidden;\n}\n.ant-table-scroll table {\n min-width: 100%;\n}\n.ant-table-scroll table .ant-table-fixed-columns-in-body:not([colspan]) {\n visibility: hidden;\n}\n.ant-table-body-inner {\n height: 100%;\n}\n.ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {\n position: relative;\n background: #fff;\n}\n.ant-table-fixed-header .ant-table-body-inner {\n overflow: scroll;\n}\n.ant-table-fixed-header .ant-table-scroll .ant-table-header {\n margin-bottom: -20px;\n padding-bottom: 20px;\n overflow: scroll;\n opacity: 0.9999;\n}\n.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar {\n border: 1px solid #e8e8e8;\n border-width: 0 0 1px 0;\n}\n.ant-table-hide-scrollbar {\n scrollbar-color: transparent transparent;\n}\n.ant-table-hide-scrollbar::-webkit-scrollbar {\n background-color: transparent;\n}\n.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar {\n border: 1px solid #e8e8e8;\n border-width: 1px 1px 1px 0;\n}\n.ant-table-bordered.ant-table-fixed-header .ant-table-scroll .ant-table-header.ant-table-hide-scrollbar .ant-table-thead > tr:only-child > th:last-child {\n border-right-color: transparent;\n}\n.ant-table-fixed-left,\n.ant-table-fixed-right {\n position: absolute;\n top: 0;\n z-index: auto;\n overflow: hidden;\n border-radius: 0;\n -webkit-transition: -webkit-box-shadow 0.3s ease;\n transition: -webkit-box-shadow 0.3s ease;\n -o-transition: box-shadow 0.3s ease;\n transition: box-shadow 0.3s ease;\n transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;\n}\n.ant-table-fixed-left table,\n.ant-table-fixed-right table {\n width: auto;\n background: #fff;\n}\n.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-outer .ant-table-fixed,\n.ant-table-fixed-header .ant-table-fixed-right .ant-table-body-outer .ant-table-fixed {\n border-radius: 0;\n}\n.ant-table-fixed-left {\n left: 0;\n -webkit-box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15);\n box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15);\n}\n.ant-table-fixed-left .ant-table-header {\n overflow-y: hidden;\n}\n.ant-table-fixed-left .ant-table-body-inner {\n margin-right: -20px;\n padding-right: 20px;\n}\n.ant-table-fixed-header .ant-table-fixed-left .ant-table-body-inner {\n padding-right: 0;\n}\n.ant-table-fixed-left,\n.ant-table-fixed-left table {\n border-radius: 4px 0 0 0;\n}\n.ant-table-fixed-left .ant-table-thead > tr > th:last-child {\n border-top-right-radius: 0;\n}\n.ant-table-fixed-right {\n right: 0;\n -webkit-box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.15);\n box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.15);\n}\n.ant-table-fixed-right,\n.ant-table-fixed-right table {\n border-radius: 0 4px 0 0;\n}\n.ant-table-fixed-right .ant-table-expanded-row {\n color: transparent;\n pointer-events: none;\n}\n.ant-table-fixed-right .ant-table-thead > tr > th:first-child {\n border-top-left-radius: 0;\n}\n.ant-table.ant-table-scroll-position-left .ant-table-fixed-left {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-table.ant-table-scroll-position-right .ant-table-fixed-right {\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.ant-table colgroup > col.ant-table-selection-col {\n width: 60px;\n}\n.ant-table-thead > tr > th.ant-table-selection-column-custom .ant-table-selection {\n margin-right: -15px;\n}\n.ant-table-thead > tr > th.ant-table-selection-column,\n.ant-table-tbody > tr > td.ant-table-selection-column {\n text-align: center;\n}\n.ant-table-thead > tr > th.ant-table-selection-column .ant-radio-wrapper,\n.ant-table-tbody > tr > td.ant-table-selection-column .ant-radio-wrapper {\n margin-right: 0;\n}\n.ant-table-row[class*='ant-table-row-level-0'] .ant-table-selection-column > span {\n display: inline-block;\n}\n.ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {\n padding-left: 8px;\n}\n/**\n* Another fix of Firefox:\n*/\n@supports (-moz-appearance: meterbar) {\n .ant-table-thead > tr > th.ant-table-column-has-actions {\n background-clip: padding-box;\n }\n}\n.ant-table-middle > .ant-table-title,\n.ant-table-middle > .ant-table-footer {\n padding: 12px 8px;\n}\n.ant-table-middle > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,\n.ant-table-middle > .ant-table-content > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-tbody > tr > td,\n.ant-table-middle > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-tbody > tr > td {\n padding: 12px 8px;\n}\n.ant-table-middle tr.ant-table-expanded-row td > .ant-table-wrapper {\n margin: -12px -8px -13px;\n}\n.ant-table-small {\n border: 1px solid #e8e8e8;\n border-radius: 4px;\n}\n.ant-table-small > .ant-table-title,\n.ant-table-small > .ant-table-footer {\n padding: 8px 8px;\n}\n.ant-table-small > .ant-table-title {\n top: 0;\n border-bottom: 1px solid #e8e8e8;\n}\n.ant-table-small > .ant-table-content > .ant-table-body {\n margin: 0 8px;\n}\n.ant-table-small > .ant-table-content > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-body > table,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table {\n border: 0;\n}\n.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-tbody > tr > td,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-tbody > tr > td {\n padding: 8px 8px;\n}\n.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th {\n background-color: transparent;\n}\n.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr {\n border-bottom: 1px solid #e8e8e8;\n}\n.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th.ant-table-column-sort,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr > th.ant-table-column-sort {\n background-color: rgba(0, 0, 0, 0.01);\n}\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table,\n.ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table {\n padding: 0;\n}\n.ant-table-small > .ant-table-content .ant-table-header {\n background-color: #fff;\n border-radius: 4px 4px 0 0;\n}\n.ant-table-small > .ant-table-content .ant-table-placeholder,\n.ant-table-small > .ant-table-content .ant-table-row:last-child td {\n border-bottom: 0;\n}\n.ant-table-small.ant-table-bordered {\n border-right: 0;\n}\n.ant-table-small.ant-table-bordered .ant-table-title {\n border: 0;\n border-right: 1px solid #e8e8e8;\n border-bottom: 1px solid #e8e8e8;\n}\n.ant-table-small.ant-table-bordered .ant-table-content {\n border-right: 1px solid #e8e8e8;\n}\n.ant-table-small.ant-table-bordered .ant-table-footer {\n border: 0;\n border-top: 1px solid #e8e8e8;\n border-right: 1px solid #e8e8e8;\n}\n.ant-table-small.ant-table-bordered .ant-table-footer::before {\n display: none;\n}\n.ant-table-small.ant-table-bordered .ant-table-placeholder {\n border-right: 0;\n border-bottom: 0;\n border-left: 0;\n}\n.ant-table-small.ant-table-bordered .ant-table-thead > tr:only-child > th:last-child,\n.ant-table-small.ant-table-bordered .ant-table-tbody > tr > td:last-child {\n border-right: none;\n}\n.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-thead > tr > th:last-child,\n.ant-table-small.ant-table-bordered .ant-table-fixed-left .ant-table-tbody > tr > td:last-child {\n border-right: 1px solid #e8e8e8;\n}\n.ant-table-small.ant-table-bordered .ant-table-fixed-right {\n border-right: 1px solid #e8e8e8;\n border-left: 1px solid #e8e8e8;\n}\n.ant-table-small tr.ant-table-expanded-row td > .ant-table-wrapper {\n margin: -8px -8px -9px;\n}\n.ant-table-small.ant-table-fixed-header > .ant-table-content > .ant-table-scroll > .ant-table-body {\n border-radius: 0 0 4px 4px;\n}\n"],sourceRoot:""}])},1156:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var _=N(n(0)),w=D(n(43)),x=N(n(1157)),o=N(n(1)),S=D(n(3)),d=D(n(55)),i=n(7),A=D(n(1195)),r=D(n(1199)),a=D(n(1200)),h=D(n(1201)),s=D(n(1202)),l=D(n(1203)),u=D(n(1204)),p=n(1016),c=D(n(1205)),f=D(n(798)),L=D(n(26)),g=D(n(70)),m=D(n(1208)),b=D(n(68)),v=D(n(170)),y=n(10),C=D(n(39));function D(e){return e&&e.__esModule?e:{default:e}}function k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function N(e){if(e&&e.__esModule)return e;if(null===e||"object"!==I(e)&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}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})(e)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B(e,t,n){return t&&M(e.prototype,t),n&&M(e,n),e}function T(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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&&R(e,t)}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var z=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n};function F(){}function H(e){e.stopPropagation()}function V(e){return e.rowSelection||{}}function U(e,t){return e.key||e.dataIndex||t}function Z(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||(0,d.default)(e,t,function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||(0,d.default)(e,t):void 0}))}function G(e){var t=0<arguments.length&&void 0!==e?e:{},n=t&&t.body&&t.body.row;return W(W({},t),{body:W(W({},t.body),{row:(0,u.default)(n)})})}var K={onChange:F,onShowSizeChange:F},Y={};function q(e,t){return(0,p.flatFilter)(t||(e||{}).columns||[],function(e){return void 0!==e.filteredValue})}function J(e,t){var n={};return q(0<arguments.length&&void 0!==e?e:{},1<arguments.length?t:void 0).forEach(function(e){var t=U(e);n[t]=e.filteredValue}),n}var X=function(){function i(e){var A;E(this,i),(A=T(this,P(i).call(this,e))).setTableRef=function(e){A.rcTable=e},A.getCheckboxPropsByItem=function(e,t){var n=V(A.props);if(!n.getCheckboxProps)return{};var o=A.getRecordKey(e,t);if(!A.props.checkboxPropsCache[o]){A.props.checkboxPropsCache[o]=n.getCheckboxProps(e)||{};var i=A.props.checkboxPropsCache[o];(0,C.default)(!("checked"in i||"defaultChecked"in i),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return A.props.checkboxPropsCache[o]},A.getRecordKey=function(e,t){var n=A.props.rowKey,o="function"==typeof n?n(e,t):e[n];return(0,C.default)(void 0!==o,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===o?t:o},A.onRow=function(e,t,n){var o=A.props.onRow;return W(W({},o?o(t,n):{}),{prefixCls:e,store:A.props.store,rowKey:A.getRecordKey(t,n)})},A.generatePopupContainerFunc=function(e){var t=A.props.scroll,n=A.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},A.scrollToFirstRow=function(){var e=A.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&(0,c.default)(0,{getContainer:function(){return A.rcTable.bodyTable}})},A.handleFilter=function(e,t){var n=A.props,o=W({},A.state.pagination),i=W(W({},A.state.filters),O({},U(e),t)),r=[];(0,p.treeMap)(A.state.columns,function(e){e.children||r.push(U(e))}),Object.keys(i).forEach(function(e){r.indexOf(e)<0&&delete i[e]}),n.pagination&&(o.current=1,o.onChange(o.current));var a={pagination:o,filters:{}},s=W({},i);q(A.state).forEach(function(e){var t=U(e);t&&delete s[t]}),0<Object.keys(s).length&&(a.filters=s),"object"===I(n.pagination)&&"current"in n.pagination&&(a.pagination=W(W({},o),{current:A.state.pagination.current})),A.setState(a,function(){A.scrollToFirstRow(),A.props.store.setState({selectionDirty:!1});var e=A.props.onChange;e&&e.apply(null,A.prepareParamsArguments(W(W({},A.state),{selectionDirty:!1,filters:i,pagination:o})))})},A.handleSelect=function(e,t,n){var o=n.target.checked,i=n.nativeEvent,r=A.props.store.getState().selectionDirty?[]:A.getDefaultSelection(),a=A.props.store.getState().selectedRowKeys.concat(r),s=A.getRecordKey(e,t),l=A.state.pivot,u=A.getFlatCurrentPageData(),c=t;if(A.props.expandedRowRender&&(c=u.findIndex(function(e){return A.getRecordKey(e,t)===s})),i.shiftKey&&void 0!==l&&c!==l){for(var d=[],h=Math.sign(l-c),p=Math.abs(l-c),f=0,g=function(){var e=c+f*h;f+=1;var t=u[e],n=A.getRecordKey(t,e);A.getCheckboxPropsByItem(t,e).disabled||(a.includes(n)?o||(a=a.filter(function(e){return n!==e}),d.push(n)):o&&(a.push(n),d.push(n)))};f<=p;)g();A.setState({pivot:c}),A.props.store.setState({selectionDirty:!0}),A.setSelectedRowKeys(a,{selectWay:"onSelectMultiple",record:e,checked:o,changeRowKeys:d,nativeEvent:i})}else o?a.push(A.getRecordKey(e,c)):a=a.filter(function(e){return s!==e}),A.setState({pivot:c}),A.props.store.setState({selectionDirty:!0}),A.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:o,changeRowKeys:void 0,nativeEvent:i})},A.handleRadioSelect=function(e,t,n){var o=n.target.checked,i=n.nativeEvent,r=[A.getRecordKey(e,t)];A.props.store.setState({selectionDirty:!0}),A.setSelectedRowKeys(r,{selectWay:"onSelect",record:e,checked:o,changeRowKeys:void 0,nativeEvent:i})},A.handleSelectRow=function(e,t,n){var o,i=A.getFlatCurrentPageData(),r=A.props.store.getState().selectionDirty?[]:A.getDefaultSelection(),a=A.props.store.getState().selectedRowKeys.concat(r),s=i.filter(function(e,t){return!A.getCheckboxPropsByItem(e,t).disabled}).map(function(e,t){return A.getRecordKey(e,t)}),l=[],u="onSelectAll";switch(e){case"all":s.forEach(function(e){a.indexOf(e)<0&&(a.push(e),l.push(e))}),u="onSelectAll",o=!0;break;case"removeAll":s.forEach(function(e){0<=a.indexOf(e)&&(a.splice(a.indexOf(e),1),l.push(e))}),o=!(u="onSelectAll");break;case"invert":s.forEach(function(e){a.indexOf(e)<0?a.push(e):a.splice(a.indexOf(e),1),l.push(e),u="onSelectInvert"})}A.props.store.setState({selectionDirty:!0});var c=A.props.rowSelection,d=2;if(c&&c.hideDefaultSelections&&(d=0),d<=t&&"function"==typeof n)return n(s);A.setSelectedRowKeys(a,{selectWay:u,checked:o,changeRowKeys:l})},A.handlePageChange=function(e){var t=A.props,n=W({},A.state.pagination);n.current=e||(n.current||1);for(var o=arguments.length,i=new Array(1<o?o-1:0),r=1;r<o;r++)i[r-1]=arguments[r];n.onChange.apply(n,[n.current].concat(i));var a={pagination:n};t.pagination&&"object"===I(t.pagination)&&"current"in t.pagination&&(a.pagination=W(W({},n),{current:A.state.pagination.current})),A.setState(a,A.scrollToFirstRow),A.props.store.setState({selectionDirty:!1});var s=A.props.onChange;s&&s.apply(null,A.prepareParamsArguments(W(W({},A.state),{selectionDirty:!1,pagination:n})))},A.handleShowSizeChange=function(e,t){var n=A.state.pagination;n.onShowSizeChange(e,t);var o=W(W({},n),{pageSize:t,current:e});A.setState({pagination:o},A.scrollToFirstRow);var i=A.props.onChange;i&&i.apply(null,A.prepareParamsArguments(W(W({},A.state),{pagination:o})))},A.renderExpandIcon=function(a){return function(e){var t=e.expandable,n=e.expanded,o=e.needIndentSpaced,i=e.record,r=e.onExpand;return t?_.createElement(b.default,{componentName:"Table",defaultLocale:v.default.Table},function(e){var t;return _.createElement(m.default,{className:(0,S.default)("".concat(a,"-row-expand-icon"),(t={},O(t,"".concat(a,"-row-collapsed"),!n),O(t,"".concat(a,"-row-expanded"),n),t)),onClick:function(e){r(i,e)},"aria-label":n?e.collapse:e.expand,noStyle:!0})}):o?_.createElement("span",{className:"".concat(a,"-row-expand-icon ").concat(a,"-row-spaced")}):null}},A.renderSelectionBox=function(r){return function(e,t,n){var o=A.getRecordKey(t,n),i=A.getCheckboxPropsByItem(t,n);return _.createElement("span",{onClick:H},_.createElement(a.default,W({type:r,store:A.props.store,rowIndex:o,onChange:function(e){return"radio"===r?A.handleRadioSelect(t,n,e):A.handleSelect(t,n,e)},defaultSelection:A.getDefaultSelection()},i)))}},A.renderTable=function(e){var t,n=e.prefixCls,o=e.renderEmpty,i=e.dropdownPrefixCls,r=e.contextLocale,a=e.getPopupContainer,s=A.props,l=s.showHeader,u=s.locale,c=s.getPopupContainer,d=z(s,["showHeader","locale","getPopupContainer"]),h=(0,w.default)(d,["style"]),p=A.getCurrentPageData(),f=A.props.expandedRowRender&&!1!==A.props.expandIconAsCell,g=c||a,m=W(W({},r),u);u&&u.emptyText||(m.emptyText=o("Table"));var b=(0,S.default)("".concat(n,"-").concat(A.props.size),(O(t={},"".concat(n,"-bordered"),A.props.bordered),O(t,"".concat(n,"-empty"),!p.length),O(t,"".concat(n,"-without-column-header"),!l),t)),v=A.renderRowSelection({prefixCls:n,locale:m,getPopupContainer:g}),y=A.renderColumnsDropdown({columns:v,prefixCls:n,dropdownPrefixCls:i,locale:m,getPopupContainer:g}).map(function(e,t){var n=W({},e);return n.key=U(n,t),n}),C=y[0]&&"selection-column"===y[0].key?1:0;return"expandIconColumnIndex"in h&&(C=h.expandIconColumnIndex),_.createElement(x.default,W({ref:A.setTableRef,key:"table",expandIcon:A.renderExpandIcon(n)},h,{onRow:function(e,t){return A.onRow(n,e,t)},components:A.state.components,prefixCls:n,data:p,columns:y,showHeader:l,className:b,expandIconColumnIndex:C,expandIconAsCell:f,emptyText:m.emptyText}))},A.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,i=A.props,r=i.prefixCls,a=i.dropdownPrefixCls,s=i.style,l=i.className,u=A.getCurrentPageData(),c=A.props.loading;"boolean"==typeof c&&(c={spinning:c});var d=t("table",r),h=t("dropdown",a),p=_.createElement(b.default,{componentName:"Table",defaultLocale:v.default.Table},function(e){return A.renderTable({prefixCls:d,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})}),f=A.hasPagination()&&u&&0!==u.length?"".concat(d,"-with-pagination"):"".concat(d,"-without-pagination");return _.createElement("div",{className:(0,S.default)("".concat(d,"-wrapper"),l),style:s},_.createElement(g.default,W({},c,{className:c.spinning?"".concat(f," ").concat(d,"-spin-holder"):""}),A.renderPagination(d,"top"),p,A.renderPagination(d,"bottom")))};var t=e.expandedRowRender,n=e.columns;(0,C.default)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),t&&(n||[]).some(function(e){return!!e.fixed})&&(0,C.default)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var o=n||(0,p.normalizeColumns)(e.children);return A.state=W(W({},A.getDefaultSortOrder(o||[])),{filters:J(),pagination:A.getDefaultPagination(e),pivot:void 0,prevProps:e,components:G(e.components),columns:o}),A}return j(i,_.Component),B(i,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,o=e.sortOrder;if(0<this.getSortOrderColumns(t).length){var i=this.getSortStateFromColumns(t);Z(i.sortColumn,n)&&i.sortOrder===o||this.setState(i)}}},{key:"getDefaultSelection",value:function(){var n=this;return V(this.props).getCheckboxProps?this.getFlatData().filter(function(e,t){return n.getCheckboxPropsByItem(e,t).defaultChecked}).map(function(e,t){return n.getRecordKey(e,t)}):[]}},{key:"getDefaultPagination",value:function(e){var t,n,o="object"===I(e.pagination)?e.pagination:{};return"current"in o?t=o.current:"defaultCurrent"in o&&(t=o.defaultCurrent),"pageSize"in o?n=o.pageSize:"defaultPageSize"in o&&(n=o.defaultPageSize),this.hasPagination(e)?W(W(W({},K),o),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return(0,p.flatFilter)(e||(this.state||{}).columns||[],function(e){return"sortOrder"in e})}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=(0,p.flatFilter)(e||[],function(e){return null!=e.defaultSortOrder})[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter(function(e){return e.sortOrder})[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,o=t.pageSize;return e<=(n-1)*o?Math.floor((e-1)/o)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,o=t.sortOrder,i=t.sortColumn;if(o&&i&&"function"==typeof i.sorter)return function(e,t){var n=i.sorter(e,t,o);return 0!==n?"descend"===o?-n:n:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),o=this.state;return e=this.hasPagination()?(t=o.pagination.pageSize,this.getMaxCurrent(o.pagination.total||n.length)):(t=Number.MAX_VALUE,1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return(0,p.flatArray)(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return(0,p.flatArray)(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e,t){var i=this,n=!(1<arguments.length&&void 0!==t)||t,r=e||this.state,a=this.props.dataSource||[];a=a.slice(0);var o=this.getSorterFn(r);return o&&(a=this.recursiveSort(a,o)),n&&r.filters&&Object.keys(r.filters).forEach(function(e){var t=i.findColumn(e);if(t){var n=r.filters[e]||[];if(0!==n.length){var o=t.onFilter;a=o?a.filter(function(t){return n.some(function(e){return o(e,t)})}):a}}}),a}},{key:"setSelectedRowKeys",value:function(n,e){var o=this,t=e.selectWay,i=e.record,r=e.checked,a=e.changeRowKeys,s=e.nativeEvent,l=V(this.props);!l||"selectedRowKeys"in l||this.props.store.setState({selectedRowKeys:n});var u=this.getFlatData();if(l.onChange||l[t]){var c=u.filter(function(e,t){return 0<=n.indexOf(o.getRecordKey(e,t))});if(l.onChange&&l.onChange(n,c),"onSelect"===t&&l.onSelect)l.onSelect(i,r,c,s);else if("onSelectMultiple"===t&&l.onSelectMultiple){var d=u.filter(function(e,t){return 0<=a.indexOf(o.getRecordKey(e,t))});l.onSelectMultiple(r,c,d)}else if("onSelectAll"===t&&l.onSelectAll){var h=u.filter(function(e,t){return 0<=a.indexOf(o.getRecordKey(e,t))});l.onSelectAll(r,c,h)}else"onSelectInvert"===t&&l.onSelectInvert&&l.onSelectInvert(n)}}},{key:"toggleSortOrder",value:function(e){var t,n=W({},this.state.pagination),o=e.sortDirections||this.props.sortDirections,i=this.state,r=i.sortOrder;if(Z(i.sortColumn,e)&&void 0!==r){var a=o.indexOf(r)+1;t=a===o.length?void 0:o[a]}else t=o[0];this.props.pagination&&(n.current=1,n.onChange(n.current));var s={pagination:n,sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(s,this.scrollToFirstRow);var l=this.props.onChange;l&&l.apply(null,this.prepareParamsArguments(W(W({},this.state),s),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&U(t)===U(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=W({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var o=e.filters,i={},r=t;return e.sortColumn&&e.sortOrder&&(r=e.sortColumn,i.column=e.sortColumn,i.order=e.sortOrder),r&&(i.field=r.dataIndex,i.columnKey=U(r)),[n,o,i,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(t){var n;return(0,p.treeMap)(this.state.columns,function(e){U(e)===t&&(n=e)}),n}},{key:"recursiveSort",value:function(e,t){var n=this,o=this.props.childrenColumnName,i=void 0===o?"children":o;return e.sort(t).map(function(e){return e[i]?W(W({},e),O({},i,n.recursiveSort(e[i],t))):e})}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",r=o.total||this.getLocalData().length;return 0<r&&(i===t||"both"===i)?_.createElement(f.default,W({key:"pagination-".concat(t)},o,{className:(0,S.default)(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:r,size:n,current:this.getMaxCurrent(r),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var n=this,t=e.prefixCls,o=e.locale,i=e.getPopupContainer,r=this.props.rowSelection,a=this.state.columns.concat();if(r){var s=this.getFlatCurrentPageData().filter(function(e,t){return!r.getCheckboxProps||!n.getCheckboxPropsByItem(e,t).disabled}),l=(0,S.default)("".concat(t,"-selection-column"),O({},"".concat(t,"-selection-column-custom"),r.selections)),u=O({key:"selection-column",render:this.renderSelectionBox(r.type),className:l,fixed:r.fixed,width:r.columnWidth,title:r.columnTitle},x.INTERNAL_COL_DEFINE,{className:"".concat(t,"-selection-col")});if("radio"!==r.type){var c=s.every(function(e,t){return n.getCheckboxPropsByItem(e,t).disabled});u.title=u.title||_.createElement(h.default,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:c,prefixCls:t,onSelect:this.handleSelectRow,selections:r.selections,hideDefaultSelections:r.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(i)})}"fixed"in r?u.fixed=r.fixed:a.some(function(e){return"left"===e.fixed||!0===e.fixed})&&(u.fixed="left"),a[0]&&"selection-column"===a[0].key?a[0]=u:a.unshift(u)}return a}},{key:"renderColumnsDropdown",value:function(e){var f=this,g=e.prefixCls,m=e.dropdownPrefixCls,t=e.columns,b=e.locale,v=e.getPopupContainer,n=this.state,y=n.sortOrder,C=n.filters;return(0,p.treeMap)(t,function(o,e){var t,n,i,r=U(o,e),a=o.onHeaderCell,s=f.isSortColumn(o);if(o.filters&&0<o.filters.length||o.filterDropdown){var l=r in C?C[r]:[];n=_.createElement(A.default,{locale:b,column:o,selectedKeys:l,confirmFilter:f.handleFilter,prefixCls:"".concat(g,"-filter"),dropdownPrefixCls:m||"ant-dropdown",getPopupContainer:f.generatePopupContainerFunc(v),key:"filter-dropdown"})}if(o.sorter){var u=o.sortDirections||f.props.sortDirections,c=s&&"ascend"===y,d=s&&"descend"===y,h=-1!==u.indexOf("ascend")&&_.createElement(L.default,{className:"".concat(g,"-column-sorter-up ").concat(c?"on":"off"),type:"caret-up",theme:"filled"}),p=-1!==u.indexOf("descend")&&_.createElement(L.default,{className:"".concat(g,"-column-sorter-down ").concat(d?"on":"off"),type:"caret-down",theme:"filled"});i=_.createElement("div",{title:b.sortTitle,className:(0,S.default)("".concat(g,"-column-sorter-inner"),h&&p&&"".concat(g,"-column-sorter-inner-full")),key:"sorter"},h,p),a=function(e){var t={};o.onHeaderCell&&(t=W({},o.onHeaderCell(e)));var n=t.onClick;return t.onClick=function(){f.toggleSortOrder(o),n&&n.apply(void 0,arguments)},t}}return W(W({},o),{className:(0,S.default)(o.className,(t={},O(t,"".concat(g,"-column-has-actions"),i||n),O(t,"".concat(g,"-column-has-filters"),n),O(t,"".concat(g,"-column-has-sorters"),i),O(t,"".concat(g,"-column-sort"),s&&y),t)),title:[_.createElement("span",{key:"title",className:"".concat(g,"-header-column")},_.createElement("div",{className:i?"".concat(g,"-column-sorters"):void 0},_.createElement("span",{className:"".concat(g,"-column-title")},f.renderColumnTitle(o.title)),_.createElement("span",{className:"".concat(g,"-column-sorter")},i))),n],onHeaderCell:a})})}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,o=t.sortOrder,i=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:o,sortColumn:i}):e}},{key:"render",value:function(){return _.createElement(y.ConfigConsumer,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,i=t.prevProps,r=e.columns||(0,p.normalizeColumns)(e.children),a=W(W({},t),{prevProps:e,columns:r});if("pagination"in e||"pagination"in i){var s=W(W(W({},K),t.pagination),e.pagination);s.current=s.current||1,s.pageSize=s.pageSize||10,a=W(W({},a),{pagination:!1!==e.pagination?s:Y})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):i.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==i.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),0<q(a,a.columns).length){var l=J(a,a.columns),u=W({},a.filters);Object.keys(l).forEach(function(e){u[e]=l[e]}),n=a,o=u,Object.keys(o).length===Object.keys(n.filters).length&&!Object.keys(o).some(function(e){return o[e]!==n.filters[e]})||(a=W(W({},a),{filters:u}))}if(!function(e,t){var n=0<arguments.length&&void 0!==e?e:{},o=1<arguments.length&&void 0!==t?t:{};return n===o||["table","header","body"].every(function(e){return(0,d.default)(n[e],o[e])})}(e.components,i.components)){var c=G(e.components);a=W(W({},a),{components:c})}return a}}]),i}();X.propTypes={dataSource:o.array,columns:o.array,prefixCls:o.string,useFixedHeader:o.bool,rowSelection:o.object,className:o.string,size:o.string,loading:o.oneOfType([o.bool,o.object]),bordered:o.bool,onChange:o.func,locale:o.object,dropdownPrefixCls:o.string,sortDirections:o.array,getPopupContainer:o.func},X.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},(0,i.polyfill)(X);var Q=function(){function n(e){var t;return E(this,n),(t=T(this,P(n).call(this,e))).setCheckboxPropsCache=function(e){return t.CheckboxPropsCache=e},t.CheckboxPropsCache={},t.store=(0,r.default)({selectedRowKeys:V(e).selectedRowKeys||[],selectionDirty:!1}),t}return j(n,_.Component),B(n,[{key:"render",value:function(){return _.createElement(X,W({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}();Q.displayName="withStore(Table)",Q.Column=s.default,Q.ColumnGroup=l.default;var $=Q;t.default=$},1157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1158),i=n(1014),r=n(1015),a=n(796);n.d(t,"Column",function(){return i.a}),n.d(t,"ColumnGroup",function(){return r.a}),n.d(t,"INTERNAL_COL_DEFINE",function(){return a.a}),t.default=o.a},1158:function(e,t,n){"use strict";var l=n(0),o=(n.n(l),n(1)),i=(n.n(o),n(55)),s=n.n(i),r=n(181),a=n(303),u=n(86),c=(n.n(u),n(1159)),d=n.n(c),h=n(180),p=n.n(h),f=n(3),g=n.n(f),m=n(7),b=n(796),v=n(1185),y=n(1186),C=n(1193),A=n(1014),_=n(1015),w=n(1194);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})(e)}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}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=function(){function o(t){var c,e,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),e=this,n=D(o).call(this,t),(c=!n||"object"!==x(n)&&"function"!=typeof n?k(e):n).state={},c.getRowKey=function(e,t){var n=c.props.rowKey,o="function"==typeof n?n(e,t):e[n];return Object(a.a)(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?t:o},c.handleWindowResize=function(){c.syncFixedTableRowHeight(),c.setScrollPositionClassName()},c.syncFixedTableRowHeight=function(){var e=c.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var t=c.props.prefixCls,n=c.headTable?c.headTable.querySelectorAll("thead"):c.bodyTable.querySelectorAll("thead"),o=c.bodyTable.querySelectorAll(".".concat(t,"-row"))||[],i=[].map.call(n,function(e){return e.getBoundingClientRect().height||"auto"}),r=c.store.getState(),a=[].reduce.call(o,function(e,t){var n=t.getAttribute("data-row-key"),o=t.getBoundingClientRect().height||r.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=o,e},{});s()(r.fixedColumnsHeadRowsHeight,i)&&s()(r.fixedColumnsBodyRowsHeight,a)||c.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:a})}},c.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var t=e.target,n=c.props.scroll,o=void 0===n?{}:n,i=k(c),r=i.headTable,a=i.bodyTable;t.scrollLeft!==c.lastScrollLeft&&o.x&&(t===a&&r?r.scrollLeft=t.scrollLeft:t===r&&a&&(a.scrollLeft=t.scrollLeft),c.setScrollPositionClassName()),c.lastScrollLeft=t.scrollLeft}},c.handleBodyScrollTop=function(e){var t=e.target;if(e.currentTarget===t){var n=c.props.scroll,o=void 0===n?{}:n,i=k(c),r=i.headTable,a=i.bodyTable,s=i.fixedColumnsBodyLeft,l=i.fixedColumnsBodyRight;if(t.scrollTop!==c.lastScrollTop&&o.y&&t!==r){var u=t.scrollTop;s&&t!==s&&(s.scrollTop=u),l&&t!==l&&(l.scrollTop=u),a&&t!==a&&(a.scrollTop=u)}c.lastScrollTop=t.scrollTop}},c.handleBodyScroll=function(e){c.handleBodyScrollLeft(e),c.handleBodyScrollTop(e)},c.handleWheel=function(e){var t=c.props.scroll,n=void 0===t?{}:t;if(window.navigator.userAgent.match(/Trident\/7\./)&&n.y){e.preventDefault();var o=e.deltaY,i=e.target,r=k(c),a=r.bodyTable,s=r.fixedColumnsBodyLeft,l=r.fixedColumnsBodyRight,u=0;u=c.lastScrollTop?c.lastScrollTop+o:o,s&&i!==s&&(s.scrollTop=u),l&&i!==l&&(l.scrollTop=u),a&&i!==a&&(a.scrollTop=u)}},c.saveRef=function(t){return function(e){c[t]=e}},c.saveTableNodeRef=function(e){c.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach(function(e){Object(a.a)(void 0===t[e],"".concat(e," is deprecated, please use onRow instead."))}),Object(a.a)(void 0===t.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),c.columnManager=new v.a(t.columns,t.children),c.store=Object(u.create)({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),c.setScrollPosition("left"),c.debouncedWindowResize=Object(b.b)(c.handleWindowResize,150),c}var e,t,n;return function(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&&N(e,t)}(o,l["Component"]),e=o,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(t=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:d()({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=Object(r.a)(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=Object(r.a)(window,"resize",this.debouncedWindowResize))),0<e.data.length&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?p()(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):p()(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,o=void 0===n?[]:n,i=e.useFixedHeader,r=e.scroll,a=void 0===r?{}:r;return void 0!==t?"fixed"===t:!!o.some(function(e){return!!e.ellipsis})||(!(!i&&!a.y)||!(!a.x||!0===a.x||"max-content"===a.x))}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,o=this.columnManager.isAnyColumnsFixed(),i=o||t.x||t.y,r=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:o}),this.renderEmptyText(),this.renderFooter()];return i?l.createElement("div",{className:"".concat(n,"-scroll")},r):r}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return l.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return l.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,o=e.isAnyColumnsFixed,i=this.props,r=i.prefixCls,a=i.scroll,s=(void 0===a?{}:a).x||n?"".concat(r,"-fixed"):"";return[l.createElement(y.a,{key:"head",columns:t,fixed:n,tableClassName:s,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),l.createElement(C.a,{key:"body",columns:t,fixed:n,tableClassName:s,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:o})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?l.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?l.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var o="".concat(n,"-placeholder");return l.createElement("div",{className:o,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,o=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=g()(n.prefixCls,n.className,(S(e={},"".concat(o,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),S(e,"".concat(o,"-scroll-position-left ").concat(o,"-scroll-position-right"),"both"===this.scrollPosition),S(e,"".concat(o,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),S(e,"".concat(o,"-layout-fixed"),this.isTableLayoutFixed()),e)),r=this.columnManager.isAnyColumnsLeftFixed(),a=this.columnManager.isAnyColumnsRightFixed(),s=Object(b.c)(n);return l.createElement(u.Provider,{store:this.store},l.createElement(w.a,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),function(e){return t.expander=e,l.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},s),t.renderTitle(),l.createElement("div",{className:"".concat(o,"-content")},t.renderMainTable(),r&&t.renderLeftFixedTable(),a&&t.renderRightFixedTable()))}))}}])&&L(e.prototype,t),n&&L(e,n),o}();I.childContextTypes={table:o.any,components:o.any},I.Column=A.a,I.ColumnGroup=_.a,I.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},Object(m.polyfill)(I),t.a=I},1159:function(e,t,n){var o=n(1160),i=n(1176)(function(e,t,n){o(e,t,n)});e.exports=i},1160:function(e,t,n){var u=n(807),c=n(1008),d=n(1161),h=n(1163),p=n(160),f=n(1011),g=n(1010);e.exports=function o(i,r,a,s,l){i!==r&&d(r,function(e,t){if(l=l||new u,p(e))h(i,r,t,a,o,s,l);else{var n=s?s(g(i,t),e,t+"",i,r,l):void 0;void 0===n&&(n=e),c(i,t,n)}},f)}},1161:function(e,t,n){var o=n(1162)();e.exports=o},1162:function(e,t){e.exports=function(l){return function(e,t,n){for(var o=-1,i=Object(e),r=n(e),a=r.length;a--;){var s=r[l?a:++o];if(!1===t(i[s],s,i))break}return e}}},1163:function(e,t,n){var g=n(1008),m=n(1164),b=n(1165),v=n(1167),y=n(1168),C=n(787),A=n(767),_=n(1170),w=n(799),x=n(784),S=n(160),L=n(1171),D=n(800),k=n(1010),N=n(1172);e.exports=function(e,t,n,o,i,r,a){var s=k(e,n),l=k(t,n),u=a.get(l);if(u)g(e,n,u);else{var c=r?r(s,l,n+"",e,t,a):void 0,d=void 0===c;if(d){var h=A(l),p=!h&&w(l),f=!h&&!p&&D(l);c=l,h||p||f?c=A(s)?s:_(s)?v(s):p?m(l,!(d=!1)):f?b(l,!(d=!1)):[]:L(l)||C(l)?C(c=s)?c=N(s):S(s)&&!x(s)||(c=y(l)):d=!1}d&&(a.set(l,c),i(c,l,o,r,a),a.delete(l)),g(e,n,c)}}},1164:function(e,a,s){(function(e){var t=s(159),n="object"==typeof a&&a&&!a.nodeType&&a,o=n&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===n?t.Buffer:void 0,r=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,o=r?r(n):new e.constructor(n);return e.copy(o),o}}).call(a,s(292)(e))},1165:function(e,t,n){var o=n(1166);e.exports=function(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},1166:function(e,t,n){var o=n(871);e.exports=function(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}},1167:function(e,t){e.exports=function(e,t){var n=-1,o=e.length;for(t=t||Array(o);++n<o;)t[n]=e[n];return t}},1168:function(e,t,n){var o=n(1169),i=n(1009),r=n(857);e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:o(i(e))}},1169:function(e,t,n){function o(e){if(!i(e))return{};if(r)return r(e);a.prototype=e;var t=new a;return a.prototype=void 0,t}var i=n(160),r=Object.create;function a(){}e.exports=o},1170:function(e,t,n){var o=n(801),i=n(285);e.exports=function(e){return i(e)&&o(e)}},1171:function(e,t,n){var o=n(288),i=n(1009),r=n(285),a=Function.prototype,s=Object.prototype,l=a.toString,u=s.hasOwnProperty,c=l.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=o(e))return!1;var t=i(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}},1172:function(e,t,n){var o=n(1173),i=n(1011);e.exports=function(e){return o(e,i(e))}},1173:function(e,t,n){var u=n(858),c=n(794);e.exports=function(e,t,n,o){var i=!n;n=n||{};for(var r=-1,a=t.length;++r<a;){var s=t[r],l=o?o(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),i?c(n,s,l):u(n,s,l)}return n}},1174:function(e,t,n){var i=n(160),r=n(857),a=n(1175),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return a(e);var t=r(e),n=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&n.push(o);return n}},1175:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1176:function(e,t,n){var o=n(1177),l=n(1184);e.exports=function(s){return o(function(e,t){var n=-1,o=t.length,i=1<o?t[o-1]:void 0,r=2<o?t[2]:void 0;for(i=3<s.length&&"function"==typeof i?(o--,i):void 0,r&&l(t[0],t[1],r)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var a=t[n];a&&s(e,a,n,i)}return e})}},1177:function(e,t,n){var o=n(859),i=n(1178),r=n(1180);e.exports=function(e,t){return r(i(e,t,o),e+"")}},1178:function(e,t,n){var l=n(1179),u=Math.max;e.exports=function(r,a,s){return a=u(void 0===a?r.length-1:a,0),function(){for(var e=arguments,t=-1,n=u(e.length-a,0),o=Array(n);++t<n;)o[t]=e[a+t];t=-1;for(var i=Array(a+1);++t<a;)i[t]=e[t];return i[a]=s(o),l(r,this,i)}}},1179:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},1180:function(e,t,n){var o=n(1181),i=n(1183)(o);e.exports=i},1181:function(e,t,n){var o=n(1182),i=n(805),r=n(859),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:r;e.exports=a},1182:function(e,t){e.exports=function(e){return function(){return e}}},1183:function(e,t){var r=Date.now;e.exports=function(n){var o=0,i=0;return function(){var e=r(),t=16-(e-i);if(i=e,0<t){if(800<=++o)return arguments[0]}else o=0;return n.apply(void 0,arguments)}}},1184:function(e,t,n){var i=n(773),r=n(801),a=n(777),s=n(160);e.exports=function(e,t,n){if(!s(n))return!1;var o=typeof t;return!!("number"==o?r(n)&&a(t,n.length):"string"==o&&t in n)&&i(n[t],e)}},1185:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n(0);n.n(i);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(n,!0).forEach(function(e){a(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return 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 s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var l=function(){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this._cached={},this.columns=e||this.normalize(t)}var e,t,o;return e=n,(t=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",function(){return e.columns.some(function(e){return!!e.fixed})})}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",function(){return e.columns.some(function(e){return"left"===e.fixed||!0===e.fixed})})}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",function(){return e.columns.some(function(e){return"right"===e.fixed})})}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",function(){return e.groupedColumns().filter(function(e){return"left"===e.fixed||!0===e.fixed})})}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",function(){return e.groupedColumns().filter(function(e){return"right"===e.fixed})})}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",function(){return e._leafColumns(e.columns)})}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",function(){return e._leafColumns(e.leftColumns())})}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",function(){return e._leafColumns(e.rightColumns())})}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",function(){return function i(r,e,t,n){var a=1<arguments.length&&void 0!==e?e:0,s=2<arguments.length&&void 0!==t?t:{},l=3<arguments.length&&void 0!==n?n:[];l[a]=l[a]||[];function u(e){var t=l.length-a;e&&!e.children&&1<t&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)}var c=[];return r.forEach(function(e,t){var n=d({},e);l[a].push(n),s.colSpan=s.colSpan||0,n.children&&0<n.children.length?(n.children=i(n.children,a+1,n,l),s.colSpan+=n.colSpan):s.colSpan+=1;for(var o=0;o<l[a].length-1;o+=1)u(l[a][o]);t+1===r.length&&u(n),c.push(n)}),c}(e.columns)})}},{key:"normalize",value:function(e){var n=this,o=[];return i.Children.forEach(e,function(e){if(i.isValidElement(e)){var t=d({},e.props);e.key&&(t.key=e.key),e.type.isTableColumnGroup&&(t.children=n.normalize(t.children)),o.push(t)}}),o}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach(function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)}),n}}])&&s(e.prototype,t),o&&s(e,o),n}()},1186:function(e,t,n){"use strict";t.a=r;var C=n(0),o=(n.n(C),n(1)),i=(n.n(o),n(3)),A=n.n(i),_=n(796),w=n(1012);function r(e,t){var n,o,i,r=t.table,a=r.props,s=a.prefixCls,l=a.scroll,u=a.showHeader,c=e.columns,d=e.fixed,h=e.tableClassName,p=e.handleBodyScrollLeft,f=e.expander,g=r.saveRef,m=r.props.useFixedHeader,b={},v=Object(_.d)({direction:"vertical"});if(l.y){m=!0;var y=Object(_.d)({direction:"horizontal",prefixCls:s});0<y&&!d&&(b.marginBottom="-".concat(y,"px"),b.paddingBottom="0px",b.overflowX="scroll",b.overflowY=0===v?"hidden":"scroll")}return m&&u?C.createElement("div",{key:"headTable",ref:d?null:g("headTable"),className:A()("".concat(s,"-header"),(n={},o="".concat(s,"-hide-scrollbar"),i=0<v,o in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n)),style:b,onScroll:p},C.createElement(w.a,{tableClassName:h,hasHead:!0,hasBody:!1,fixed:d,columns:c,expander:f})):null}r.contextTypes={table:o.any}},1187:function(e,t,n){"use strict";function o(e,t){var n,o=t.table,i=o.props,r=i.prefixCls,a=i.expandIconAsCell,s=e.fixed,l=[];return a&&"right"!==s&&l.push(u.createElement("col",{className:"".concat(r,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===s?o.columnManager.leftLeafColumns():"right"===s?o.columnManager.rightLeafColumns():o.columnManager.leafColumns(),l=l.concat(n.map(function(e){var t=e.key,n=e.dataIndex,o=e.width,i=e[c.a],r=void 0!==t?t:n;return u.createElement("col",Object.assign({key:r,style:{width:o,minWidth:o}},i))})),u.createElement("colgroup",null,l)}var u=n(0),i=(n.n(u),n(1)),c=(n.n(i),n(796));o.contextTypes={table:i.any},t.a=o},1188:function(e,t,n){"use strict";var p=n(0),o=(n.n(p),n(1)),f=(n.n(o),n(1189));function i(e,t){var n=t.table,o=n.components,i=n.props,r=i.prefixCls,a=i.showHeader,s=i.onHeaderRow,l=e.expander,u=e.columns,c=e.fixed;if(!a)return null;var d=function n(e,t,o){var i=1<arguments.length&&void 0!==t?t:0,r=2<arguments.length&&void 0!==o?o:[];return r[i]=r[i]||[],e.forEach(function(e){if(e.rowSpan&&r.length<e.rowSpan)for(;r.length<e.rowSpan;)r.push([]);var t={key:e.key,className:e.className||"",children:e.title,column:e};e.children&&n(e.children,i+1,r),"colSpan"in e&&(t.colSpan=e.colSpan),"rowSpan"in e&&(t.rowSpan=e.rowSpan),0!==t.colSpan&&r[i].push(t)}),r.filter(function(e){return 0<e.length})}(u);l.renderExpandIndentCell(d,c);var h=o.header.wrapper;return p.createElement(h,{className:"".concat(r,"-thead")},d.map(function(e,t){return p.createElement(f.a,{prefixCls:r,key:t,index:t,fixed:c,columns:u,rows:d,row:e,components:o,onHeaderRow:s})}))}i.contextTypes={table:o.any},t.a=i},1189:function(e,t,n){"use strict";var d=n(0),o=(n.n(d),n(86)),i=(n.n(o),n(3)),h=n.n(i);function p(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(n,!0).forEach(function(e){g(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}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}t.a=Object(o.connect)(function(e,t){return{height:(n=e,o=t,i=n.fixedColumnsHeadRowsHeight,r=o.columns,a=o.rows,s=o.fixed,l=i[0],s&&l&&r?"auto"===l?"auto":l/a.length:null)};var n,o,i,r,a,s,l})(function(e){var t=e.row,n=e.index,o=e.height,i=e.components,r=e.onHeaderRow,a=e.prefixCls,s=i.header.row,l=i.header.cell,u=r(t.map(function(e){return e.column}),n),c=f({height:o},u?u.style:{});return d.createElement(s,Object.assign({},u,{style:c}),t.map(function(e,t){var n,o=e.column,i=p(e,["column"]),r=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(r.style=f({},r.style,{textAlign:o.align})),r.className=h()(r.className,o.className,(g(n={},"".concat(a,"-align-").concat(o.align),!!o.align),g(n,"".concat(a,"-row-cell-ellipsis"),!!o.ellipsis),g(n,"".concat(a,"-row-cell-break-word"),!!o.width),n)),d.createElement(l,Object.assign({},i,r,{key:o.key||o.dataIndex||t}))}))})},1190:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var _=n(0),o=(n.n(_),n(3)),w=n.n(o),i=n(792),x=n.n(i);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})(e)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(n,!0).forEach(function(e){L(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}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 s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){return e&&!_.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var d=function(){function e(){var i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(i=l(this,u(e).apply(this,arguments))).handleClick=function(e){var t=i.props,n=t.record,o=t.column.onCellClick;o&&o(n,e)},i}var t,n,o;return function(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&&c(e,t)}(e,_["Component"]),t=e,(n=[{key:"render",value:function(){var e,t,n=this.props,o=n.record,i=n.indentSize,r=n.prefixCls,a=n.indent,s=n.index,l=n.expandIcon,u=n.column,c=n.component,d=u.dataIndex,h=u.render,p=u.className,f=void 0===p?"":p;t="number"==typeof d?x()(o,d):d&&0!==d.length?x()(o,d):o;var g,m,b={};if(h&&D(t=h(t,o,s))){var v=b=t.props||b;g=v.colSpan,m=v.rowSpan,t=t.children}u.onCell&&(b=S({},b,{},u.onCell(o,s))),D(t)&&(t=null);var y=l?_.createElement("span",{style:{paddingLeft:"".concat(i*a,"px")},className:"".concat(r,"-indent indent-level-").concat(a)}):null;if(0===m||0===g)return null;u.align&&(b.style=S({textAlign:u.align},b.style));var C=w()(f,(L(e={},"".concat(r,"-cell-ellipsis"),!!u.ellipsis),L(e,"".concat(r,"-cell-break-word"),!!u.width),e));if(u.ellipsis)if("string"==typeof t)b.title=t;else if(t){var A=t.props;A&&A.children&&"string"==typeof A.children&&(b.title=A.children)}return _.createElement(c,Object.assign({className:C,onClick:this.handleClick},b),y,l,t)}}])&&s(t.prototype,n),o&&s(t,o),e}()},1191:function(e,t,n){"use strict";var s=n(0),o=(n.n(s),n(86)),l=(n.n(o),n(1192));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})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(){function e(){var a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(a=u(this,c(e).apply(this,arguments))).hasExpandIcon=function(e){var t=a.props,n=t.expandRowByClick,o=t.expandIcon;return!a.expandIconAsCell&&e===a.expandIconColumnIndex&&(!!o||!n)},a.handleExpandChange=function(e,t){var n=a.props,o=n.onExpandedChange,i=n.expanded,r=n.rowKey;a.expandable&&o(!i,e,t,r)},a.handleRowClick=function(e,t,n){var o=a.props,i=o.expandRowByClick,r=o.onRowClick;i&&a.handleExpandChange(e,n),r&&r(e,t,n)},a.renderExpandIcon=function(){var e=a.props,t=e.prefixCls,n=e.expanded,o=e.record,i=e.needIndentSpaced,r=e.expandIcon;return r?r({prefixCls:t,expanded:n,record:o,needIndentSpaced:i,expandable:a.expandable,onExpand:a.handleExpandChange}):s.createElement(l.a,{expandable:a.expandable,prefixCls:t,onExpand:a.handleExpandChange,needIndentSpaced:i,expanded:n,record:o})},a.renderExpandIconCell=function(e){if(a.expandIconAsCell){var t=a.props.prefixCls;e.push(s.createElement("td",{className:"".concat(t,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},a.renderExpandIcon()))}},a}var t,n,o;return function(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)}(e,s["Component"]),t=e,(n=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,o=e.record;this.expandable&&t(!1,o,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,o=e.indentSize,i=e.record,r=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==r&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==r?this.props.expandIconColumnIndex:-1;var s=i[t];this.expandable=!(!s&&!n);var l={indentSize:o,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&r(t.prototype,n),o&&r(t,o),e}();t.a=Object(o.connect)(function(e,t){var n=e.expandedRowKeys,o=t.rowKey;return{expanded:n.includes(o)}})(d)},1192:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var l=n(0),o=(n.n(l),n(55)),i=n.n(o);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})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,u(e).apply(this,arguments))}var t,n,o;return function(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&&c(e,t)}(e,l["Component"]),t=e,(n=[{key:"shouldComponentUpdate",value:function(e){return!i()(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,o=e.onExpand,i=e.needIndentSpaced,r=e.expanded,a=e.record;if(t){var s=r?"expanded":"collapsed";return l.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(s),onClick:function(e){return o(a,e)}})}return i?l.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&a(t.prototype,n),o&&a(t,o),e}()},1193:function(e,t,n){"use strict";t.a=a;var _=n(0),o=(n.n(_),n(1)),w=(n.n(o),n(796)),x=n(1012);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function S(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(n,!0).forEach(function(e){r(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}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 a(e,t){var n=t.table,o=n.props,i=o.prefixCls,r=o.scroll,a=e.columns,s=e.fixed,l=e.tableClassName,u=e.getRowKey,c=e.handleBodyScroll,d=e.handleWheel,h=e.expander,p=e.isAnyColumnsFixed,f=n.saveRef,g=n.props.useFixedHeader,m=S({},n.props.bodyStyle),b={};if((r.x||s)&&(m.overflowX=m.overflowX||"scroll",m.WebkitTransform="translate3d (0, 0, 0)"),r.y){s?(b.maxHeight=m.maxHeight||r.y,b.overflowY=m.overflowY||"scroll"):m.maxHeight=m.maxHeight||r.y,m.overflowY=m.overflowY||"scroll",g=!0;var v=Object(w.d)({direction:"vertical"});0<v&&s&&(m.marginBottom="-".concat(v,"px"),m.paddingBottom="0px")}var y,C=_.createElement(x.a,{tableClassName:l,hasHead:!g,hasBody:!0,fixed:s,columns:a,expander:h,getRowKey:u,isAnyColumnsFixed:p});if(s&&a.length)return"left"===a[0].fixed||!0===a[0].fixed?y="fixedColumnsBodyLeft":"right"===a[0].fixed&&(y="fixedColumnsBodyRight"),delete m.overflowX,delete m.overflowY,_.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:S({},m)},_.createElement("div",{className:"".concat(i,"-body-inner"),style:b,ref:f(y),onWheel:d,onScroll:c},C));var A=r&&(r.x||r.y);return _.createElement("div",{tabIndex:A?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:m,ref:f("bodyTable"),onWheel:d,onScroll:c},C)}a.contextTypes={table:o.any}},1194:function(e,t,n){"use strict";var m=n(0),o=(n.n(m),n(86)),i=(n.n(o),n(7)),r=n(55),h=n.n(r),b=n(1013),p=n(796);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})(e)}function g(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}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(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function C(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(){function d(e){var f;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(f=C(this,A(d).call(this,e))).handleExpandChange=function(e,t,n,o){var i=4<arguments.length&&void 0!==arguments[4]&&arguments[4];n&&n.stopPropagation();var r=f.props,a=r.onExpandedRowsChange,s=r.onExpand,l=f.store.getState().expandedRowKeys;e?l=[].concat(y(l),[o]):-1!==l.indexOf(o)&&(l=Object(p.e)(l,o));f.props.expandedRowKeys||f.store.setState({expandedRowKeys:l}),f.latestExpandedRows&&h()(f.latestExpandedRows,l)||a(f.latestExpandedRows=l),i||s(e,t)},f.renderExpandIndentCell=function(e,t){var n=f.props,o=n.prefixCls;if(n.expandIconAsCell&&"right"!==t&&e.length){var i={key:"rc-table-expand-icon-cell",className:"".concat(o,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(n,!0).forEach(function(e){v(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},i,{column:i}))}},f.renderRows=function(e,t,n,o,i,r,a,s){var l=f.props,u=l.expandedRowClassName,c=l.expandedRowRender,d=n[l.childrenColumnName],h=[].concat(y(s),[a]),p=i+1;c&&t.push(f.renderExpandedRow(n,o,c,u(n,o,i),h,p,r)),d&&t.push.apply(t,y(e(d,p,h)))};var t=e.data,n=e.childrenColumnName,o=e.defaultExpandAllRows,i=e.expandedRowKeys,r=e.defaultExpandedRowKeys,a=e.getRowKey,s=[],l=y(t);if(o)for(var u=0;u<l.length;u+=1){var c=l[u];s.push(a(c,u)),l=l.concat(c[n]||[])}else s=i||r;return f.columnManager=e.columnManager,f.store=e.store,f.store.setState({expandedRowsHeight:{},expandedRowKeys:s}),f}var e,t,n;return function(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&&l(e,t)}(d,m["Component"]),e=d,(t=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(t,n,o,e,i,r,a){var s,l=this,u=this.props,c=u.prefixCls,d=u.expandIconAsCell,h=u.indentSize,p=i[i.length-1],f="".concat(p,"-extra-row");s="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var g=[{key:"extra-row",render:function(){var e=l.store.getState().expandedRowKeys.includes(p);return{props:{colSpan:s},children:"right"!==a?o(t,n,r,e):"&nbsp;"}}}];return d&&"right"!==a&&g.unshift({key:"expand-icon-placeholder",render:function(){return null}}),m.createElement(b.a,{key:f,columns:g,className:e,rowKey:f,ancestorKeys:i,prefixCls:"".concat(c,"-expanded-row"),indentSize:h,indent:r,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,o=e.children,i=t.some(function(e){return e[n]});return o({props:this.props,needIndentSpaced:i,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&s(e.prototype,t),n&&s(e,n),d}();u.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},Object(i.polyfill)(u),t.a=Object(o.connect)()(u)},1195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=v(n(0)),r=v(n(4)),o=n(7),p=v(n(164)),a=i(n(1196)),f=i(n(3)),l=i(n(55)),g=i(n(921)),c=i(n(26)),s=i(n(282)),u=i(n(165)),m=i(n(1198)),d=n(1016);function i(e){return e&&e.__esModule?e:{default:e}}function b(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return b=function(){return e},e}function v(e){if(e&&e.__esModule)return e;if(null===e||"object"!==y(e)&&"function"!=typeof e)return{default:e};var t=b();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function y(e){return(y="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)}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 A(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var L=function(){function i(e){var u,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=this,n=_(i).call(this,e),(u=!n||"object"!==y(n)&&"function"!=typeof n?w(t):n).setNeverShown=function(e){var t=r.findDOMNode(w(u));!(0,a.default)(t,".ant-table-scroll")||(u.neverShown=!!e.fixed)},u.setSelectedKeys=function(e){var t=e.selectedKeys;u.setState({selectedKeys:t})},u.handleClearFilters=function(){u.setState({selectedKeys:[]},u.handleConfirm)},u.handleConfirm=function(){u.setVisible(!1),u.setState({},u.confirmFilter)},u.onVisibleChange=function(e){u.setVisible(e);var t=u.props.column;e||t.filterDropdown instanceof Function||u.confirmFilter()},u.handleMenuItemClick=function(e){var t=u.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var n=u.state.keyPathOfSelectedItem;t&&0<=t.indexOf(e.key)?delete n[e.key]:n[e.key]=e.keyPath,u.setState({keyPathOfSelectedItem:n})}},u.renderFilterIcon=function(){var e,t=u.props,n=t.column,o=t.locale,i=t.prefixCls,r=t.selectedKeys,a=r&&0<r.length,s=n.filterIcon;"function"==typeof s&&(s=s(a));var l=(0,f.default)((C(e={},"".concat(i,"-selected"),a),C(e,"".concat(i,"-open"),u.getDropdownVisible()),e));return s?h.cloneElement(s,{title:o.filterTitle,className:(0,f.default)("".concat(i,"-icon"),l,s.props.className),onClick:S}):h.createElement(c.default,{title:o.filterTitle,type:"filter",theme:"filled",className:l,onClick:S})};var o="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return u.state={selectedKeys:e.selectedKeys,valueKeys:(0,d.generateValueMaps)(e.column.filters),keyPathOfSelectedItem:{},visible:o,prevProps:e},u}var e,t,n;return function(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)}(i,h.Component),e=i,n=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,o=t.prevProps,i={prevProps:e};return"selectedKeys"in e&&!(0,l.default)(o.selectedKeys,e.selectedKeys)&&(i.selectedKeys=e.selectedKeys),(0,l.default)((o.column||{}).filters,(e.column||{}).filters)||(i.valueKeys=(0,d.generateValueMaps)(e.column.filters)),"filterDropdownVisible"in n&&(i.visible=n.filterDropdownVisible),i}}],(t=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some(function(e){return!!(e.children&&0<e.children.length)})}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,o=e.confirmFilter,i=this.state,r=i.selectedKeys,a=i.valueKeys,s=t.filterDropdown;(0,l.default)(r,n)||o(t,s?r:r.map(function(e){return a[e]}).filter(function(e){return void 0!==e}))}},{key:"renderMenus",value:function(e){var i=this,t=this.props,r=t.dropdownPrefixCls,a=t.prefixCls;return e.map(function(t){if(t.children&&0<t.children.length){var n=i.state.keyPathOfSelectedItem,e=Object.keys(n).some(function(e){return 0<=n[e].indexOf(t.value)}),o=(0,f.default)("".concat(a,"-dropdown-submenu"),C({},"".concat(r,"-submenu-contain-selected"),e));return h.createElement(p.SubMenu,{title:t.text,popupClassName:o,key:t.value.toString()},i.renderMenus(t.children))}return i.renderMenuItem(t)})}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map(function(e){return e.toString()}),r=o?h.createElement(s.default,{checked:0<=i.indexOf(e.value.toString())}):h.createElement(u.default,{checked:0<=i.indexOf(e.value.toString())});return h.createElement(p.Item,{key:e.value},r,h.createElement("span",null,e.text))}},{key:"render",value:function(){var t=this,e=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,r=n.prefixCls,a=n.dropdownPrefixCls,s=n.getPopupContainer,l=!("filterMultiple"in o)||o.filterMultiple,u=(0,f.default)(C({},"".concat(a,"-menu-without-submenu"),!this.hasSubMenu())),c=o.filterDropdown;c instanceof Function&&(c=c({prefixCls:"".concat(a,"-custom"),setSelectedKeys:function(e){return t.setSelectedKeys({selectedKeys:e})},selectedKeys:e,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=c?h.createElement(m.default,{className:"".concat(r,"-dropdown")},c):h.createElement(m.default,{className:"".concat(r,"-dropdown")},h.createElement(p.default,{multiple:l,onClick:this.handleMenuItemClick,prefixCls:"".concat(a,"-menu"),className:u,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:e&&e.map(function(e){return e.toString()}),getPopupContainer:s},this.renderMenus(o.filters)),h.createElement("div",{className:"".concat(r,"-dropdown-btns")},h.createElement("a",{className:"".concat(r,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),h.createElement("a",{className:"".concat(r,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return h.createElement(g.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:s,forceRender:!0},this.renderFilterIcon())}}])&&A(e.prototype,t),n&&A(e,n),i}();L.defaultProps={column:{}},(0,o.polyfill)(L);var D=L;t.default=D},1196:function(e,t,n){var o=n(1197);e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(o(e,t))return e}},1197:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,o=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var i=e.parentNode;if(o)return o.call(e,t);for(var r=i.querySelectorAll(t),a=r.length,s=0;s<a;s++)if(r[s]===e)return!0;return!1}},1198:function(e,t,n){"use strict";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})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function i(e){return o.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)}t.default=i},1199:function(e,t,n){"use strict";function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var n=e,o=[];return{setState:function(e){n=i(i({},n),e);for(var t=0;t<o.length;t++)o[t]()},getState:function(){return n},subscribe:function(t){return o.push(t),function(){var e=o.indexOf(t);o.splice(e,1)}}}}},1200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),a=o(n(282)),s=o(n(165));function o(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){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})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},g=function(){function n(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(t=d(this,h(n).call(this,e))).state={checked:t.getCheckState(e)},t}var e,t,o;return function(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)}(n,r.Component),e=n,(t=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,o=e.rowIndex;return t.getState().selectionDirty?0<=t.getState().selectedRowKeys.indexOf(o):0<=t.getState().selectedRowKeys.indexOf(o)||0<=n.indexOf(o)}},{key:"subscribe",value:function(){var t=this,e=this.props.store;this.unsubscribe=e.subscribe(function(){var e=t.getCheckState(t.props);t.setState({checked:e})})}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=f(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(s.default,c({checked:i,value:n},o)):r.createElement(a.default,c({checked:i},o))}}])&&i(e.prototype,t),o&&i(e,o),n}();t.default=g},1201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),m=i(n(3)),o=n(7),b=i(n(282)),v=i(n(921)),y=i(n(839)),C=i(n(26));function i(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function h(e){var n=e.store,o=e.getCheckboxPropsByItem,i=e.getRecordKey,t=e.data,r=e.type;return e.byDefaultChecked?t[r](function(e,t){return o(e,t).defaultChecked}):t[r](function(e,t){return 0<=n.getState().selectedRowKeys.indexOf(i(e,t))})}function p(e){var t=e.store,n=e.data;if(!n.length)return!1;var o=h(d(d({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!h(d(d({},e),{data:n,type:"every",byDefaultChecked:!1})),i=h(d(d({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!h(d(d({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?o:o||i}function f(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?h(d(d({},e),{data:n,type:"every",byDefaultChecked:!1})):h(d(d({},e),{data:n,type:"every",byDefaultChecked:!1}))||h(d(d({},e),{data:n,type:"every",byDefaultChecked:!0})))}var A=function(){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,u(t).call(this,e))).state={checked:!1,indeterminate:!1},n.handleSelectAllChange=function(e){var t=e.target.checked;n.props.onSelect(t?"all":"removeAll",0,null)},n.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],n}var e,n,o;return function(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&&c(e,t)}(t,g.Component),e=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=f(e),o=p(e),i={};return o!==t.indeterminate&&(i.indeterminate=o),n!==t.checked&&(i.checked=n),i}}],(n=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var n=f(e),o=p(e);this.setState(function(e){var t={};return o!==e.indeterminate&&(t.indeterminate=o),n!==e.checked&&(t.checked=n),t})}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe(function(){e.setCheckState(e.props)})}},{key:"renderMenus",value:function(e){var n=this;return e.map(function(e,t){return g.createElement(y.default.Item,{key:e.key||t},g.createElement("div",{onClick:function(){n.props.onSelect(e.key,t,e.onSelect)}},e.text))})}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,r=o.prefixCls,a=o.selections,s=o.getPopupContainer,l=this.state,u=l.checked,c=l.indeterminate,d="".concat(r,"-selection"),h=null;if(a){var p=Array.isArray(a)?this.defaultSelections.concat(a):this.defaultSelections,f=g.createElement(y.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(p));h=0<p.length?g.createElement(v.default,{overlay:f,getPopupContainer:s},g.createElement("div",{className:"".concat(d,"-down")},g.createElement(C.default,{type:"down"}))):null}return g.createElement("div",{className:d},g.createElement(b.default,{className:(0,m.default)((e={},t="".concat(d,"-select-all-custom"),n=h,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:u,indeterminate:c,disabled:i,onChange:this.handleSelectAllChange}),h)}}])&&r(e.prototype,n),o&&r(e,o),t}();(0,o.polyfill)(A);var _=A;t.default=_},1202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function i(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,r(e).apply(this,arguments))}return function(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&&l(e,t)}(e,o.Component),e}();t.default=u},1203:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function i(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,r(e).apply(this,arguments))}return function(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&&l(e,t)}(e,o.Component),e}();(t.default=u).__ANT_TABLE_COLUMN_GROUP=!0},1204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"tr";return function(){function r(e){var t,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n=this,(t=!(o=d(r).call(this,e))||"object"!==l(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(n):o).store=e.store;var i=t.store.getState().selectedRowKeys;return t.state={selected:0<=i.indexOf(e.rowKey)},t}return function(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)}(r,o.Component),function(e,t,n){t&&c(e.prototype,t);n&&c(e,n)}(r,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var t=this,e=this.props,n=e.store,o=e.rowKey;this.unsubscribe=n.subscribe(function(){var e=0<=t.store.getState().selectedRowKeys.indexOf(o);e!==t.state.selected&&t.setState({selected:e})})}},{key:"render",value:function(){var e=(0,a.default)(this.props,["prefixCls","rowKey","store"]),t=(0,i.default)(this.props.className,function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return o.createElement(n,u(u({},e),{className:t}),this.props.children)}}]),r}()};var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=r(n(3)),a=r(n(43));function r(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return(l="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)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}},1205:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(o){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},t=e.getContainer,n=void 0===t?function(){return window}:t,i=e.callback,r=e.duration,a=void 0===r?450:r,s=n(),l=(0,d.default)(s,!0),u=Date.now();(0,c.default)(function e(){var t=Date.now()-u,n=(0,h.easeInOutCubic)(a<t?a:t,l,o,a);s===window?window.scrollTo(window.pageXOffset,n):s.scrollTop=n,t<a?(0,c.default)(e):"function"==typeof i&&i()})};var c=o(n(89)),d=o(n(1206)),h=n(1207);function o(e){return e&&e.__esModule?e:{default:e}}},1206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("undefined"==typeof window)return 0;var n=t?"pageYOffset":"pageXOffset",o=t?"scrollTop":"scrollLeft",i=e===window,r=i?e[n]:e[o];i&&"number"!=typeof r&&(r=document.documentElement[o]);return r}},1207:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.easeInOutCubic=function(e,t,n,o){var i=n-t;if((e/=o/2)<1)return i/2*e*e*e+t;return i/2*((e-=2)*e*e+2)+t}},1208:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),r=(o=n(291))&&o.__esModule?o:{default:o};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},f={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},g=function(){function e(){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(o=c(this,d(e).apply(this,arguments))).onKeyDown=function(e){e.keyCode===r.default.ENTER&&e.preventDefault()},o.onKeyUp=function(e){var t=e.keyCode,n=o.props.onClick;t===r.default.ENTER&&n&&n()},o.setRef=function(e){o.div=e},o}var t,n,o;return function(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)}(e,i.Component),t=e,(n=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=p(e,["style","noStyle"]);return i.createElement("div",l({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:l(l({},n?null:f),t)}))}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=g},1215:function(e,t,n){"use strict";t.a=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return function(e,o){var t;t=0===o.length?e:e.replace(/\{(\d+)\}/g,function(e,t){var n=t[0];return void 0!==o[n]?o[n]:e});return t}(t,n)}},1216:function(e,t,n){"use strict";n.d(t,"c",function(){return s}),t.f=function(e){return{id:e}},n.d(t,"b",function(){return u}),t.d=function(e){switch(e){case l:return"vs-dark";case u:return"hc-black";default:return"vs"}},n.d(t,"a",function(){return c}),t.e=function(e){return h.onThemeChange(e)};var o=n(1125),i=n(868),r=n(1317),a=n(966),s=Object(o.c)("themeService");var l="dark",u="hc";var c={ThemingContribution:"base.contributions.theming"};function d(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new a.a}var h=new(d.prototype.onThemeChange=function(t){var n=this;return this.themingParticipants.push(t),this.onThemingParticipantAddedEmitter.fire(t),Object(i.e)(function(){var e=n.themingParticipants.indexOf(t);n.themingParticipants.splice(e,1)})},d.prototype.getThemingParticipants=function(){return this.themingParticipants},d);r.a.add(c.ThemingContribution,h)},1221:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".courseForm .formBlock{padding:20px 30px 30px;border-bottom:1px solid #ededed;margin-bottom:0;background:#fff}.courseForm .noBorder{border-bottom:none}.edu-class-container{width:1200px;margin:10px auto 20px}.courseForm .ant-form-item-label{margin-left:-10px}.courseForm .notRequired .ant-form-item-label{margin-left:0}.courseForm .ant-input:focus{border-color:#40a9ff}@media (min-width:576px){.courseForm .ant-col-sm-24{text-align:left}}.ant-form-item-control-wrapper.ant-col-xs-24.ant-col-sm-24{margin-left:2px}.errorInline.ant-form-item{margin-bottom:8px}.errorInline .ant-form-item-children input{width:auto}.errorInline .ant-form-explain{display:inline;margin-left:10px}.setemailposition{position:absolute;right:40px;top:10px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/common/formCommon.css"],names:[],mappings:"AAAA,uBACE,uBAA6B,AAC7B,gCAAiC,AACjC,gBAAmB,AACnB,eAAiB,CAClB,AACD,sBACE,kBAAoB,CACrB,AAGD,qBACE,aAAc,AACd,qBAAuB,CACxB,AAGD,iCACE,iBAAmB,CACpB,AACD,8CACE,aAAiB,CAClB,AAID,6BACE,oBAAsB,CACvB,AACD,yBACE,2BACE,eAAiB,CAClB,CACF,AACD,2DACE,eAAiB,CAClB,AAID,2BACE,iBAAmB,CACpB,AAED,2CACE,UAAW,CACZ,AACD,+BACE,eAAgB,AAChB,gBAAkB,CACnB,AAGD,kBACI,kBAAmB,AACnB,WAAY,AACZ,QAAU,CACb",file:"formCommon.css",sourcesContent:[".courseForm .formBlock {\r\n padding: 20px 30px 30px 30px;\r\n border-bottom: 1px solid #EDEDED;\r\n margin-bottom: 0px;\r\n background: #fff;\r\n}\r\n.courseForm .noBorder {\r\n border-bottom: none;\r\n}\r\n\r\n/* common */\r\n.edu-class-container {\r\n width: 1200px;\r\n margin: 10px auto 20px;\r\n}\r\n\r\n/* 小红点 */\r\n.courseForm .ant-form-item-label {\r\n margin-left: -10px;\r\n}\r\n.courseForm .notRequired .ant-form-item-label {\r\n margin-left: 0px;\r\n}\r\n\r\n\r\n/* 不知道被哪个样式影响,这里需要重置 */\r\n.courseForm .ant-input:focus {\r\n border-color: #40a9ff;\r\n}\r\n@media (min-width: 576px) {\r\n .courseForm .ant-col-sm-24 {\r\n text-align: left;\r\n }\r\n}\r\n.ant-form-item-control-wrapper.ant-col-xs-24.ant-col-sm-24 {\r\n margin-left: 2px;\r\n}\r\n\r\n\r\n/* errorInline ----------- */\r\n.errorInline.ant-form-item {\r\n margin-bottom: 8px;\r\n}\r\n/* 这里需要指定form组件的宽度 style={{ width: 270 }} */ \r\n.errorInline .ant-form-item-children input {\r\n width: auto\r\n}\r\n.errorInline .ant-form-explain {\r\n display: inline;\r\n margin-left: 10px;\r\n}\r\n/* errorInline ----------- */\r\n\r\n.setemailposition{\r\n position: absolute;\r\n right: 40px;\r\n top: 10px;\r\n}"],sourceRoot:""}])},1222:function(e,t,n){"use strict";function o(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(function(){if(e.stack)throw new Error(e.message+"\n\n"+e.stack);throw e},0)}}t.e=function(e){a(e)||i.onUnexpectedError(e);return},t.f=function(e){if(e instanceof Error){var t=e.name,n=e.message,o=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:o}}return e},t.d=a,t.a=function(){var e=new Error(r);return e.name=e.message,e},t.b=function(e){return e?new Error("Illegal argument: "+e):new Error("Illegal argument")},t.c=function(e){return e?new Error("Illegal state: "+e):new Error("Illegal state")};var i=new(o.prototype.emit=function(t){this.listeners.forEach(function(e){e(t)})},o.prototype.onUnexpectedError=function(e){this.unexpectedErrorHandler(e),this.emit(e)},o.prototype.onUnexpectedExternalError=function(e){this.unexpectedErrorHandler(e)},o);var r="Canceled";function a(e){return e instanceof Error&&e.name===r&&e.message===r}},1223:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),t.b=function(e){return new i(e)};var o=n(1126),i=(r.prototype.setMaxWidth=function(e){this._maxWidth!==e&&(this._maxWidth=e,this.domNode.style.maxWidth=this._maxWidth+"px")},r.prototype.setWidth=function(e){this._width!==e&&(this._width=e,this.domNode.style.width=this._width+"px")},r.prototype.setHeight=function(e){this._height!==e&&(this._height=e,this.domNode.style.height=this._height+"px")},r.prototype.setTop=function(e){this._top!==e&&(this._top=e,this.domNode.style.top=this._top+"px")},r.prototype.unsetTop=function(){-1!==this._top&&(this._top=-1,this.domNode.style.top="")},r.prototype.setLeft=function(e){this._left!==e&&(this._left=e,this.domNode.style.left=this._left+"px")},r.prototype.setBottom=function(e){this._bottom!==e&&(this._bottom=e,this.domNode.style.bottom=this._bottom+"px")},r.prototype.setRight=function(e){this._right!==e&&(this._right=e,this.domNode.style.right=this._right+"px")},r.prototype.setFontFamily=function(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)},r.prototype.setFontWeight=function(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)},r.prototype.setFontSize=function(e){this._fontSize!==e&&(this._fontSize=e,this.domNode.style.fontSize=this._fontSize+"px")},r.prototype.setLineHeight=function(e){this._lineHeight!==e&&(this._lineHeight=e,this.domNode.style.lineHeight=this._lineHeight+"px")},r.prototype.setLetterSpacing=function(e){this._letterSpacing!==e&&(this._letterSpacing=e,this.domNode.style.letterSpacing=this._letterSpacing+"px")},r.prototype.setClassName=function(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)},r.prototype.toggleClassName=function(e,t){o.M(this.domNode,e,t),this._className=this.domNode.className},r.prototype.setDisplay=function(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)},r.prototype.setPosition=function(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)},r.prototype.setVisibility=function(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)},r.prototype.setLayerHinting=function(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.willChange=this._layerHint?"transform":"auto")},r.prototype.setAttribute=function(e,t){this.domNode.setAttribute(e,t)},r.prototype.removeAttribute=function(e){this.domNode.removeAttribute(e)},r.prototype.appendChild=function(e){this.domNode.appendChild(e.domNode)},r.prototype.removeChild=function(e){this.domNode.removeChild(e.domNode)},r);function r(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._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._layerHint=!1}},1239:function(e,t,n){"use strict";t.g=function(e){return e&&"function"==typeof e.then},t.e=l,n.d(t,"a",function(){return u}),t.h=function t(o,i){if(!i)return l(function(e){return t(o,e)});return new Promise(function(e,t){var n=setTimeout(e,o);i.onCancellationRequested(function(){clearTimeout(n),t(a.a())})})},t.f=function(e,t){void 0===t&&(t=0);var n=setTimeout(e,t);return Object(i.e)(function(){return clearTimeout(n)})},n.d(t,"d",function(){return h}),n.d(t,"b",function(){return g}),n.d(t,"c",function(){return v});var o,r=n(2056),a=n(1222),i=n(868),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function l(e){var o=new r.a,i=e(o.token),n=new Promise(function(t,n){o.token.onCancellationRequested(function(){n(a.a())}),Promise.resolve(i).then(function(e){o.dispose(),t(e)},function(e){o.dispose(),n(e)})});return t.prototype.cancel=function(){o.cancel()},t.prototype.then=function(e,t){return n.then(e,t)},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.finally=function(e){return n.finally(e)},new t;function t(){}}var u=(c.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(){n.completionPromise=null,n.doResolve=null;var e=n.task;return n.task=null,e()})),this.timeout=setTimeout(function(){n.timeout=null,n.doResolve(null)},t),this.completionPromise},c.prototype.isTriggered=function(){return null!==this.timeout},c.prototype.cancel=function(){this.cancelTimeout(),this.completionPromise&&(this.doReject(a.a()),this.completionPromise=null)},c.prototype.cancelTimeout=function(){null!==this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},c.prototype.dispose=function(){this.cancelTimeout()},c);function c(e){this.defaultDelay=e,this.timeout=null,this.completionPromise=null,this.doResolve=null,this.task=null}var d,h=(d=i.a,s(p,d),p.prototype.dispose=function(){this.cancel(),d.prototype.dispose.call(this)},p.prototype.cancel=function(){-1!==this._token&&(clearTimeout(this._token),this._token=-1)},p.prototype.cancelAndSet=function(e,t){var n=this;this.cancel(),this._token=setTimeout(function(){n._token=-1,e()},t)},p.prototype.setIfNotSet=function(e,t){var n=this;-1===this._token&&(this._token=setTimeout(function(){n._token=-1,e()},t))},p);function p(e,t){var n=d.call(this)||this;return n._token=-1,"function"==typeof e&&"number"==typeof t&&n.setIfNotSet(e,t),n}var f,g=(f=i.a,s(m,f),m.prototype.dispose=function(){this.cancel(),f.prototype.dispose.call(this)},m.prototype.cancel=function(){-1!==this._token&&(clearInterval(this._token),this._token=-1)},m.prototype.cancelAndSet=function(e,t){this.cancel(),this._token=setInterval(function(){e()},t)},m);function m(){var e=f.call(this)||this;return e._token=-1,e}var b,v=(y.prototype.dispose=function(){this.cancel(),this.runner=null},y.prototype.cancel=function(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)},y.prototype.schedule=function(e){void 0===e&&(e=this.timeout),this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)},y.prototype.isScheduled=function(){return-1!==this.timeoutToken},y.prototype.onTimeout=function(){this.timeoutToken=-1,this.runner&&this.doRun()},y.prototype.doRun=function(){this.runner&&this.runner()},y);function y(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}!function(){if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var o=Object.freeze({didTimeout:!0,timeRemaining:function(){return 15}});b=function(e){var t=setTimeout(function(){return e(o)}),n=!1;return{dispose:function(){n||(n=!0,clearTimeout(t))}}}}else b=function(e,t){var n=requestIdleCallback(e,"number"==typeof t?{timeout:t}:void 0),o=!1;return{dispose:function(){o||(o=!0,cancelIdleCallback(n))}}}}();C.prototype.dispose=function(){this._handle.dispose()},C.prototype.getValue=function(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value};function C(e){var t=this;this._executor=function(){try{t._value=e()}catch(e){t._error=e}finally{t._didRun=!0}},this._handle=b(function(){return t._executor()})}},1251:function(e,t,n){"use strict";n.d(t,"o",function(){return a}),n.d(t,"u",function(){return s}),n.d(t,"x",function(){return g}),n.d(t,"k",function(){return b}),t.y=function(e){return Object(o.h)(e)&&e.resource&&Array.isArray(e.edits)},n.d(t,"r",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"d",function(){return A}),n.d(t,"t",function(){return _}),n.d(t,"m",function(){return w}),n.d(t,"j",function(){return x}),n.d(t,"h",function(){return S}),n.d(t,"f",function(){return L}),n.d(t,"e",function(){return D}),n.d(t,"n",function(){return k}),n.d(t,"w",function(){return N}),n.d(t,"b",function(){return I}),n.d(t,"a",function(){return O}),n.d(t,"g",function(){return E}),n.d(t,"i",function(){return M}),n.d(t,"q",function(){return B}),n.d(t,"p",function(){return T}),n.d(t,"c",function(){return P}),n.d(t,"l",function(){return j}),n.d(t,"v",function(){return R});var o=n(1255),i=(n(1408),n(988),n(2347)),r=n(2349),a=function(e,t){this.language=e,this.id=t},s=(l.getLanguageId=function(e){return(255&e)>>>0},l.getTokenType=function(e){return(1792&e)>>>8},l.getFontStyle=function(e){return(14336&e)>>>11},l.getForeground=function(e){return(8372224&e)>>>14},l.getBackground=function(e){return(4286578688&e)>>>23},l.getClassNameFromMetadata=function(e){var t="mtk"+this.getForeground(e),n=this.getFontStyle(e);return 1&n&&(t+=" mtki"),2&n&&(t+=" mtkb"),4&n&&(t+=" mtku"),t},l.getInlineStyleFromMetadata=function(e,t){var n=this.getForeground(e),o=this.getFontStyle(e),i="color: "+t[n]+";";return 1&o&&(i+="font-style: italic;"),2&o&&(i+="font-weight: bold;"),4&o&&(i+="text-decoration: underline;"),i},l);function l(){}(u=Object.create(null))[0]="method",u[1]="function",u[2]="constructor",u[3]="field",u[4]="variable",u[5]="class",u[6]="struct",u[7]="interface",u[8]="module",u[9]="property",u[10]="event",u[11]="operator",u[12]="unit",u[13]="value",u[14]="constant",u[15]="enum",u[16]="enum-member",u[17]="keyword",u[25]="snippet",u[18]="text",u[19]="color",u[20]="file",u[21]="reference",u[22]="customcolor",u[23]="folder",u[24]="type-parameter";var u,c,d,h,p,f,g=((c=Object.create(null)).method=0,c.function=1,c.constructor=2,c.field=3,c.variable=4,c.class=5,c.struct=6,c.interface=7,c.module=8,c.property=9,c.event=10,c.operator=11,c.unit=12,c.value=13,c.constant=14,c.enum=15,c["enum-member"]=16,c.keyword=17,c.snippet=25,c.text=18,c.color=19,c.file=20,c.reference=21,c.customcolor=22,c.folder=23,c["type-parameter"]=24,function(e){return c[e]||"property"});(h=d=d||{})[h.Invoke=1]="Invoke",h[h.TriggerCharacter=2]="TriggerCharacter",h[h.ContentChange=3]="ContentChange",(f=p=p||{})[f.Text=0]="Text",f[f.Read=1]="Read",f[f.Write=2]="Write";(m=Object.create(null))[0]="file",m[1]="module",m[2]="namespace",m[3]="package",m[4]="class",m[5]="method",m[6]="property",m[7]="field",m[8]="constructor",m[9]="enum",m[10]="interface",m[11]="function",m[12]="variable",m[13]="constant",m[14]="string",m[15]="number",m[16]="boolean",m[17]="array",m[18]="object",m[19]="key",m[20]="null",m[21]="enum-member",m[22]="struct",m[23]="event",m[24]="operator",m[25]="type-parameter";var m,b=(v.Comment=new v("comment"),v.Imports=new v("imports"),v.Region=new v("region"),v);function v(e){this.value=e}var y=new i.a,C=new i.a,A=new i.a,_=new i.a,w=new i.a,x=new i.a,S=new i.a,L=new i.a,D=new i.a,k=new i.a,N=new i.a,I=new i.a,O=new i.a,E=new i.a,M=new i.a,B=new i.a,T=new i.a,P=new i.a,j=(new i.a,new i.a),R=new r.a},1255:function(e,t,n){"use strict";t.c=function(e){if(Array.isArray)return Array.isArray(e);if(e&&typeof e.length===o.number&&e.constructor===Array)return!0;return!1},t.i=i,t.h=r,t.g=function(e){return(typeof e===o.number||e instanceof Number)&&!isNaN(e)},t.d=function(e){return!0===e||!1===e},t.j=a,t.k=s,t.e=function(e){if(!r(e))return!1;for(var t in e)if(l.call(e,t))return!1;return!0},t.f=u,t.l=function(e,t){for(var n=Math.min(e.length,t.length),o=0;o<n;o++)c(e[o],t[o])},t.a=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];{if(function(e){return"function"==typeof e&&e.hasOwnProperty("prototype")&&!e.hasOwnProperty("arguments")}(e))return new((t=e).bind.apply(t,[void 0].concat(n)));var i=Object.create(e.prototype);return e.apply(i,n),i}},t.b=function(e){var t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t};var o={number:"number",string:"string",undefined:"undefined",object:"object",function:"function"};function i(e){return typeof e===o.string||e instanceof String}function r(e){return!(typeof e!==o.object||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function a(e){return typeof e===o.undefined}function s(e){return a(e)||null===e}var l=Object.prototype.hasOwnProperty;function u(e){return typeof e===o.function}function c(e,t){if(i(t)){if(typeof e!==t)throw new Error("argument does not match constraint: typeof "+t)}else if(u(t)){try{if(e instanceof t)return}catch(e){}if(!s(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")}}},1283:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c});var o,i,r=n(1223),a=n(1589),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.a,s(u,i),u.prototype.dispose=function(){this._context.removeEventHandler(this),i.prototype.dispose.call(this)},u);function u(e){var t=i.call(this)||this;return t._context=e,t._context.addEventHandler(t),t}var c=(d.write=function(e,t){r.a,e.setAttribute("data-mprt",String(t))},d.read=function(e){var t=e.getAttribute("data-mprt");return null===t?0:parseInt(t,10)},d.collect=function(e,t){for(var n=[],o=0;e&&e!==document.body&&e!==t;)e.nodeType===e.ELEMENT_NODE&&(n[o++]=this.read(e)),e=e.parentElement;for(var i=new Uint8Array(o),r=0;r<o;r++)i[r]=n[o-r-1];return i},d);function d(){}},1291:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return C}),n.d(t,"d",function(){return w}),n.d(t,"c",function(){return S}),n.d(t,"e",function(){return L});var o,a=n(989),i=n(1125),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(l.has=function(e){return new c(e)},l.equals=function(e,t){return new h(e,t)},l.regex=function(e,t){return new v(e,t)},l.not=function(e){return new m(e)},l.and=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new C(e)},l.deserialize=function(e,t){var n=this;if(void 0===t&&(t=!1),!e)return null;var o=e.split("&&");return new C(o.map(function(e){return n._deserializeOne(e,t)})).normalize()},l._deserializeOne=function(e,t){if(0<=(e=e.trim()).indexOf("!=")){var n=e.split("!=");return new f(n[0].trim(),this._deserializeValue(n[1],t))}return 0<=e.indexOf("==")?(n=e.split("=="),new h(n[0].trim(),this._deserializeValue(n[1],t))):0<=e.indexOf("=~")?(n=e.split("=~"),new v(n[0].trim(),this._deserializeRegexValue(n[1],t))):/^\!\s*/.test(e)?new m(e.substr(1).trim()):new c(e)},l._deserializeValue=function(e,t){if("true"===(e=e.trim()))return!0;if("false"===e)return!1;var n=/^'([^']*)'$/.exec(e);return n?n[1].trim():e},l._deserializeRegexValue=function(t,n){if(Object(a.r)(t)){if(n)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}var e=t.indexOf("/"),o=t.lastIndexOf("/");if(e===o||e<0){if(n)throw new Error("bad regexp-value '"+t+"', missing /-enclosure");return console.warn("bad regexp-value '"+t+"', missing /-enclosure"),null}var i=t.slice(e+1,o),r="i"===t[o+1]?"i":"";try{return new RegExp(i,r)}catch(e){if(n)throw new Error("bad regexp-value '"+t+"', parse error: "+e);return console.warn("bad regexp-value '"+t+"', parse error: "+e),null}},l);function l(){}function u(e,t){var n=e.getType(),o=t.getType();if(n!==o)return n-o;switch(n){case 1:case 2:case 3:case 4:case 6:return e.cmp(t);default:throw new Error("Unknown ContextKeyExpr!")}}var c=(d.prototype.getType=function(){return 1},d.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},d.prototype.equals=function(e){return e instanceof d&&this.key===e.key},d.prototype.evaluate=function(e){return!!e.getValue(this.key)},d.prototype.normalize=function(){return this},d.prototype.keys=function(){return[this.key]},d);function d(e){this.key=e}var h=(p.prototype.getType=function(){return 3},p.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},p.prototype.equals=function(e){return e instanceof p&&this.key===e.key&&this.value===e.value},p.prototype.evaluate=function(e){return e.getValue(this.key)==this.value},p.prototype.normalize=function(){return"boolean"==typeof this.value?this.value?new c(this.key):new m(this.key):this},p.prototype.keys=function(){return[this.key]},p);function p(e,t){this.key=e,this.value=t}var f=(g.prototype.getType=function(){return 4},g.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},g.prototype.equals=function(e){return e instanceof g&&this.key===e.key&&this.value===e.value},g.prototype.evaluate=function(e){return e.getValue(this.key)!=this.value},g.prototype.normalize=function(){return"boolean"==typeof this.value?this.value?new m(this.key):new c(this.key):this},g.prototype.keys=function(){return[this.key]},g);function g(e,t){this.key=e,this.value=t}var m=(b.prototype.getType=function(){return 2},b.prototype.cmp=function(e){return this.key<e.key?-1:this.key>e.key?1:0},b.prototype.equals=function(e){return e instanceof b&&this.key===e.key},b.prototype.evaluate=function(e){return!e.getValue(this.key)},b.prototype.normalize=function(){return this},b.prototype.keys=function(){return[this.key]},b);function b(e){this.key=e}var v=(y.prototype.getType=function(){return 6},y.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:n<t?1:0},y.prototype.equals=function(e){if(e instanceof y){var t=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&t===n}return!1},y.prototype.evaluate=function(e){var t=e.getValue(this.key);return!!this.regexp&&this.regexp.test(t)},y.prototype.normalize=function(){return this},y.prototype.keys=function(){return[this.key]},y);function y(e,t){this.key=e,this.regexp=t}var C=(A.prototype.getType=function(){return 5},A.prototype.equals=function(e){if(e instanceof A){if(this.expr.length!==e.expr.length)return!1;for(var t=0,n=this.expr.length;t<n;t++)if(!this.expr[t].equals(e.expr[t]))return!1;return!0}return!1},A.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},A._normalizeArr=function(e){var t=[];if(e){for(var n=0,o=e.length;n<o;n++){var i=e[n];(i=i&&i.normalize())&&(i instanceof A?t=t.concat(i.expr):t.push(i))}t.sort(u)}return t},A.prototype.normalize=function(){return 0===this.expr.length?null:1===this.expr.length?this.expr[0]:this},A.prototype.keys=function(){for(var e=[],t=0,n=this.expr;t<n.length;t++){var o=n[t];e.push.apply(e,o.keys())}return e},A);function A(e){this.expr=A._normalizeArr(e)}var _,w=(r(x,_=c),x.prototype.bindTo=function(e){return e.createKey(this.key,this._defaultValue)},x.prototype.getValue=function(e){return e.getContextKeyValue(this.key)},x.prototype.toNegated=function(){return s.not(this.key)},x);function x(e,t){var n=_.call(this,e)||this;return n._defaultValue=t,n}var S=Object(i.c)("contextKeyService"),L="setContext"},1299:function(e,t,n){var o=n(1452);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},1303:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,r,i=n(1124),a=n(988),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(r=a.a,s(u,r),u.prototype.clone=function(){return new u(this.selectionStartLineNumber,this.selectionStartColumn,this.positionLineNumber,this.positionColumn)},u.prototype.toString=function(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"},u.prototype.equalsSelection=function(e){return u.selectionsEqual(this,e)},u.selectionsEqual=function(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn},u.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},u.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new u(this.startLineNumber,this.startColumn,e,t):new u(e,t,this.startLineNumber,this.startColumn)},u.prototype.getPosition=function(){return new i.a(this.positionLineNumber,this.positionColumn)},u.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new u(e,t,this.endLineNumber,this.endColumn):new u(this.endLineNumber,this.endColumn,e,t)},u.fromPositions=function(e,t){return void 0===t&&(t=e),new u(e.lineNumber,e.column,t.lineNumber,t.column)},u.liftSelection=function(e){return new u(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},u.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,o=e.length;n<o;n++)if(!this.selectionsEqual(e[n],t[n]))return!1;return!0},u.isISelection=function(e){return e&&"number"==typeof e.selectionStartLineNumber&&"number"==typeof e.selectionStartColumn&&"number"==typeof e.positionLineNumber&&"number"==typeof e.positionColumn},u.createWithDirection=function(e,t,n,o,i){return 0===i?new u(e,t,n,o):new u(n,o,e,t)},u);function u(e,t,n,o){var i=r.call(this,e,t,n,o)||this;return i.selectionStartLineNumber=e,i.selectionStartColumn=t,i.positionLineNumber=n,i.positionColumn=o,i}},1304:function(e,t,n){"use strict";t.c=function(){return i.INSTANCE.getZoomLevel()},t.b=function(){return i.INSTANCE.getTimeSinceLastZoomLevelChanged()},t.o=function(e){return i.INSTANCE.onDidChangeZoomLevel(e)},t.a=function(){return i.INSTANCE.getPixelRatio()},n.d(t,"j",function(){return s}),n.d(t,"f",function(){return l}),n.d(t,"g",function(){return u}),n.d(t,"i",function(){return c}),n.d(t,"m",function(){return d}),n.d(t,"e",function(){return h}),n.d(t,"l",function(){return p}),n.d(t,"n",function(){return f}),n.d(t,"k",function(){return g}),n.d(t,"h",function(){return m}),t.d=function(){if(s)return!1;if(l){var e=a.indexOf("Edge/"),t=parseInt(a.substring(e+5,a.indexOf(".",e)),10);if(!t||12<=t&&t<=16)return!1}return!0};var o=n(966),i=(r.prototype.getZoomLevel=function(){return this._zoomLevel},r.prototype.getTimeSinceLastZoomLevelChanged=function(){return Date.now()-this._lastZoomLevelChangeTime},r.prototype.getPixelRatio=function(){var e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)},r.INSTANCE=new r,r);function r(){this._zoomLevel=0,this._lastZoomLevelChangeTime=0,this._onDidChangeZoomLevel=new o.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}var a=navigator.userAgent,s=0<=a.indexOf("Trident"),l=0<=a.indexOf("Edge/"),u=s||l,c=0<=a.indexOf("Firefox"),d=0<=a.indexOf("AppleWebKit"),h=0<=a.indexOf("Chrome"),p=!h&&0<=a.indexOf("Safari"),f=!h&&!p&&d,g=0<=a.indexOf("iPad"),m=l&&0<=a.indexOf("WebView/")},1316:function(e,t,n){"use strict";function o(e,t){return function e(t,n,o,i,r){if(i<=o)return;var a=o+(i-o)/2|0;e(t,n,o,a,r);e(t,n,1+a,i,r);if(n(t[a],t[1+a])<=0)return;s(t,n,o,a,i,r)}(e,t,0,e.length-1,[]),e}function s(e,t,n,o,i,r){for(var a=n,s=o+1,l=n;l<=i;l++)r[l]=e[l];for(l=n;l<=i;l++)o<a?e[l]=r[s++]:i<s?e[l]=r[a++]:t(r[s],r[a])<0?e[l]=r[s++]:e[l]=r[a++]}function i(e,t){for(var n=0;n<e.length;n++){if(t(e[n]))return n}return-1}t.j=function(e,t){void 0===t&&(t=0);return e[e.length-(1+t)]},t.k=function(e){if(0!==e.length)return[e.slice(0,e.length-1),e[e.length-1]];throw new Error("Invalid tail call")},t.d=function(e,t,n){void 0===n&&(n=function(e,t){return e===t});if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(var o=0,i=e.length;o<i;o++)if(!n(e[o],t[o]))return!1;return!0},t.h=o,t.b=function(e){return e?e.filter(function(e){return!!e}):e},t.g=function(e){return!Array.isArray(e)||0===e.length},t.c=function(n,o){if(!o)return n.filter(function(e,t){return n.indexOf(e)===t});var i=Object.create(null);return n.filter(function(e){var t=o(e);return!i[t]&&(i[t]=!0)})},t.f=i,t.e=function(e,t,n){void 0===n&&(n=null);var o=i(e,t);return o<0?n:e[o]},t.i=function(e,t){var n="number"==typeof t?e:0;"number"==typeof t?n=e:(n=0,t=e);var o=[];if(n<=t)for(var i=n;i<t;i++)o.push(i);else for(i=n;t<i;i--)o.push(i);return o},t.a=function(e,t,n){var o=e.slice(0,t),i=e.slice(t);return o.concat(n,i)}},1317:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(1255),i=n(2061);function r(){this.data={}}var a=new(r.prototype.add=function(e,t){i.a(o.i(e)),i.a(o.h(t)),i.a(!this.data.hasOwnProperty(e),"There is already an extension with this id"),this.data[e]=t},r.prototype.as=function(e){return this.data[e]||null},r)},1318: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 b}),n.d(t,"d",function(){return A}),n.d(t,"e",function(){return w}),n.d(t,"a",function(){return x}),t.g=function(e){return"'"===e||'"'===e||"`"===e};function o(e){return!0}function i(e){return!1}function r(e){return" "===e||"\t"===e}var a=n(1222),l=n(989),s=n(1124),u=n(988),c=n(1303),d=n(1676),h=n(1495),p=(f.shouldRecreate=function(e){return e.layoutInfo||e.wordSeparators||e.emptySelectionClipboard||e.multiCursorMergeOverlapping||e.autoClosingBrackets||e.autoClosingQuotes||e.autoSurround||e.useTabStops||e.lineHeight||e.readOnly},Object.defineProperty(f.prototype,"electricChars",{get:function(){if(!this._electricChars){this._electricChars={};var e=f._getElectricCharacters(this._languageIdentifier);if(e)for(var t=0,n=e;t<n.length;t++){var o=n[t];this._electricChars[o]=!0}}return this._electricChars},enumerable:!0,configurable:!0}),f.prototype.normalizeIndentation=function(e){return d.b.normalizeIndentation(e,this.indentSize,this.insertSpaces)},f._getElectricCharacters=function(e){try{return h.a.getElectricCharacters(e.id)}catch(e){return Object(a.e)(e),null}},f._getAutoClosingPairs=function(e){try{return h.a.getAutoClosingPairs(e.id)}catch(e){return Object(a.e)(e),null}},f._getShouldAutoClose=function(e,t){switch(t){case"beforeWhitespace":return r;case"languageDefined":return f._getLanguageDefinedShouldAutoClose(e);case"always":return o;case"never":return i}},f._getLanguageDefinedShouldAutoClose=function(e){try{var t=h.a.getAutoCloseBeforeSet(e.id);return function(e){return-1!==t.indexOf(e)}}catch(e){return Object(a.e)(e),i}},f._getSurroundingPairs=function(e){try{return h.a.getSurroundingPairs(e.id)}catch(e){return Object(a.e)(e),null}},f);function f(e,t,n){this._languageIdentifier=e;var o=n.editor;this.readOnly=o.readOnly,this.tabSize=t.tabSize,this.indentSize=t.indentSize,this.insertSpaces=t.insertSpaces,this.pageSize=Math.max(1,Math.floor(o.layoutInfo.height/o.fontInfo.lineHeight)-2),this.lineHeight=o.lineHeight,this.useTabStops=o.useTabStops,this.wordSeparators=o.wordSeparators,this.emptySelectionClipboard=o.emptySelectionClipboard,this.copyWithSyntaxHighlighting=o.copyWithSyntaxHighlighting,this.multiCursorMergeOverlapping=o.multiCursorMergeOverlapping,this.autoClosingBrackets=o.autoClosingBrackets,this.autoClosingQuotes=o.autoClosingQuotes,this.autoSurround=o.autoSurround,this.autoIndent=o.autoIndent,this.autoClosingPairsOpen={},this.autoClosingPairsClose={},this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:f._getShouldAutoClose(e,this.autoClosingQuotes),bracket:f._getShouldAutoClose(e,this.autoClosingBrackets)};var i=f._getAutoClosingPairs(e);if(i)for(var r=0,a=i;r<a.length;r++){var s=a[r];this.autoClosingPairsOpen[s.open]=s.close,this.autoClosingPairsClose[s.close]=s.open}var l=f._getSurroundingPairs(e);if(l)for(var u=0,c=l;u<c.length;u++){s=c[u];this.surroundingPairs[s.open]=s.close}}var g=(m.prototype.equals=function(e){return this.selectionStartLeftoverVisibleColumns===e.selectionStartLeftoverVisibleColumns&&this.leftoverVisibleColumns===e.leftoverVisibleColumns&&this.position.equals(e.position)&&this.selectionStart.equalsRange(e.selectionStart)},m.prototype.hasSelection=function(){return!this.selection.isEmpty()||!this.selectionStart.isEmpty()},m.prototype.move=function(e,t,n,o){return e?new m(this.selectionStart,this.selectionStartLeftoverVisibleColumns,new s.a(t,n),o):new m(new u.a(t,n,t,n),o,new s.a(t,n),o)},m._computeSelection=function(e,t){var n,o,i,r;return o=e.isEmpty()?(n=e.startLineNumber,e.startColumn):t.isBeforeOrEqual(e.getStartPosition())?(n=e.endLineNumber,e.endColumn):(n=e.startLineNumber,e.startColumn),i=t.lineNumber,r=t.column,new c.a(n,o,i,r)},m);function m(e,t,n,o){this.selectionStart=e,this.selectionStartLeftoverVisibleColumns=t,this.position=n,this.leftoverVisibleColumns=o,this.selection=m._computeSelection(this.selectionStart,this.position)}var b=(v.prototype.validateViewPosition=function(e,t){return this.viewModel.coordinatesConverter.validateViewPosition(e,t)},v.prototype.validateViewRange=function(e,t){return this.viewModel.coordinatesConverter.validateViewRange(e,t)},v.prototype.convertViewRangeToModelRange=function(e){return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},v.prototype.convertViewPositionToModelPosition=function(e,t){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(new s.a(e,t))},v.prototype.convertModelPositionToViewPosition=function(e){return this.viewModel.coordinatesConverter.convertModelPositionToViewPosition(e)},v.prototype.convertModelRangeToViewRange=function(e){return this.viewModel.coordinatesConverter.convertModelRangeToViewRange(e)},v.prototype.getCurrentScrollTop=function(){return this.viewModel.viewLayout.getCurrentScrollTop()},v.prototype.getCompletelyVisibleViewRange=function(){return this.viewModel.getCompletelyVisibleViewRange()},v.prototype.getCompletelyVisibleModelRange=function(){var e=this.viewModel.getCompletelyVisibleViewRange();return this.viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},v.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){return this.viewModel.getCompletelyVisibleViewRangeAtScrollTop(e)},v.prototype.getVerticalOffsetForViewLine=function(e){return this.viewModel.viewLayout.getVerticalOffsetForLineNumber(e)},v);function v(e,t,n){this.model=t,this.viewModel=n,this.config=new p(this.model.getLanguageIdentifier(),this.model.getOptions(),e)}var y=function(e){this.modelState=e,this.viewState=null},C=function(e){this.modelState=null,this.viewState=e},A=(_.fromModelState=function(e){return new y(e)},_.fromViewState=function(e){return new C(e)},_.fromModelSelection=function(e){var t=e.selectionStartLineNumber,n=e.selectionStartColumn,o=e.positionLineNumber,i=e.positionColumn,r=new g(new u.a(t,n,t,n),0,new s.a(o,i),0);return _.fromModelState(r)},_.fromModelSelections=function(e){for(var t=[],n=0,o=e.length;n<o;n++)t[n]=this.fromModelSelection(e[n]);return t},_.prototype.equals=function(e){return this.viewState.equals(e.viewState)&&this.modelState.equals(e.modelState)},_);function _(e,t){this.modelState=e,this.viewState=t}var w=function(e,t,n){this.type=e,this.commands=t,this.shouldPushStackElementBefore=n.shouldPushStackElementBefore,this.shouldPushStackElementAfter=n.shouldPushStackElementAfter},x=(S.isLowSurrogate=function(e,t,n){var o=e.getLineContent(t);return!(n<0||n>=o.length)&&l.u(o.charCodeAt(n))},S.isHighSurrogate=function(e,t,n){var o=e.getLineContent(t);return!(n<0||n>=o.length)&&l.t(o.charCodeAt(n))},S.isInsideSurrogatePair=function(e,t,n){return this.isHighSurrogate(e,t,n-2)},S.visibleColumnFromColumn=function(e,t,n){var o=e.length;t-1<o&&(o=t-1);for(var i=0,r=0;r<o;r++){var a=e.charCodeAt(r);9===a?i=this.nextRenderTabStop(i,n):l.s(a)?i+=2:i+=1}return i},S.visibleColumnFromColumn2=function(e,t,n){return this.visibleColumnFromColumn(t.getLineContent(n.lineNumber),n.column,e.tabSize)},S.columnFromVisibleColumn=function(e,t,n){if(t<=0)return 1;for(var o=e.length,i=0,r=0;r<o;r++){var a=e.charCodeAt(r),s=void 0;if(t<=(s=9===a?this.nextRenderTabStop(i,n):l.s(a)?i+2:i+1))return s-t<t-i?r+2:r+1;i=s}return o+1},S.columnFromVisibleColumn2=function(e,t,n,o){var i=this.columnFromVisibleColumn(t.getLineContent(n),o,e.tabSize),r=t.getLineMinColumn(n);if(i<r)return r;var a=t.getLineMaxColumn(n);return a<i?a:i},S.nextRenderTabStop=function(e,t){return e+t-e%t},S.nextIndentTabStop=function(e,t){return e+t-e%t},S.prevRenderTabStop=function(e,t){return e-1-(e-1)%t},S.prevIndentTabStop=function(e,t){return e-1-(e-1)%t},S);function S(){}},1350:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var h=n(868),p=n(1255),o=n(1125),i=n(966),f=n(2057),r=Object(o.c)("commandService"),a=(s.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=[],i=0,r=e.description.args;i<r.length;i++){var a=r[i];o.push(a.constraint)}var s=e.handler;e.handler=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object(p.l)(t,o),s.apply(void 0,[e].concat(t))}}var l=e.id,u=this._commands.get(l);u||(u=new f.a,this._commands.set(l,u));var c=u.unshift(e),d=Object(h.e)(function(){c();var e=n._commands.get(l);e&&e.isEmpty()&&n._commands.delete(l)});return this._onDidRegisterCommand.fire(l),d},s.prototype.registerCommandAlias=function(e,i){return a.registerCommand(e,function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return(t=e.get(r)).executeCommand.apply(t,[i].concat(n))})},s.prototype.getCommand=function(e){var t=this._commands.get(e);if(t&&!t.isEmpty())return t.iterator().next().value},s.prototype.getCommands=function(){var n=this,o=Object.create(null);return this._commands.forEach(function(e,t){o[t]=n.getCommand(t)}),o},new s);function s(){this._commands=new Map,this._onDidRegisterCommand=new i.a,this.onDidRegisterCommand=this._onDidRegisterCommand.event}},1351:function(e,t,n){"use strict";n.d(t,"l",function(){return a}),n.d(t,"m",function(){return s}),n.d(t,"d",function(){return d}),n.d(t,"c",function(){return h}),n.d(t,"i",function(){return f}),n.d(t,"a",function(){return g}),n.d(t,"n",function(){return m}),n.d(t,"b",function(){return v}),n.d(t,"p",function(){return y}),n.d(t,"o",function(){return C}),n.d(t,"f",function(){return _}),n.d(t,"e",function(){return w}),n.d(t,"t",function(){return x}),n.d(t,"s",function(){return S}),n.d(t,"k",function(){return L}),n.d(t,"j",function(){return D}),n.d(t,"h",function(){return k}),n.d(t,"g",function(){return N}),n.d(t,"q",function(){return I}),n.d(t,"r",function(){return O}),n.d(t,"u",function(){return E}),n.d(t,"w",function(){return M}),n.d(t,"v",function(){return B});var o=n(1215),i=n(1499),l=n(1426),r=n(1216),a=Object(l._3)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},o.a("lineHighlight","Background color for the highlight of line at the cursor position.")),s=Object(l._3)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},o.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),u=Object(l._3)("editor.rangeHighlightBackground",{dark:"#ffffff0b",light:"#fdff0033",hc:null},o.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(l._3)("editor.rangeHighlightBorder",{dark:null,light:null,hc:l.b},o.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),d=Object(l._3)("editorCursor.foreground",{dark:"#AEAFAD",light:i.a.black,hc:i.a.white},o.a("caret","Color of the editor cursor.")),h=Object(l._3)("editorCursor.background",null,o.a("editorCursorBackground","The background color of the editor cursor. Allows customizing the color of a character overlapped by a block cursor.")),p=Object(l._3)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},o.a("editorWhitespaces","Color of whitespace characters in the editor.")),f=Object(l._3)("editorIndentGuide.background",{dark:p,light:p,hc:p},o.a("editorIndentGuides","Color of the editor indentation guides.")),g=Object(l._3)("editorIndentGuide.activeBackground",{dark:p,light:p,hc:p},o.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),m=Object(l._3)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:i.a.white},o.a("editorLineNumbers","Color of editor line numbers.")),b=Object(l._3)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:l.b},o.a("editorActiveLineNumber","Color of editor active line number"),!1,o.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),v=Object(l._3)("editorLineNumber.activeForeground",{dark:b,light:b,hc:b},o.a("editorActiveLineNumber","Color of editor active line number")),y=Object(l._3)("editorRuler.foreground",{dark:"#5A5A5A",light:i.a.lightgrey,hc:i.a.white},o.a("editorRuler","Color of the editor rulers.")),C=(Object(l._3)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},o.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(l._3)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},o.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(l._3)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:"#fff"},o.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(l._3)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},o.a("editorOverviewRulerBorder","Color of the overview ruler border."))),A=Object(l._3)("editorGutter.background",{dark:l.n,light:l.n,hc:l.n},o.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),_=Object(l._3)("editorError.foreground",{dark:"#ea4646",light:"#d60a0a",hc:null},o.a("errorForeground","Foreground color of error squigglies in the editor.")),w=Object(l._3)("editorError.border",{dark:null,light:null,hc:i.a.fromHex("#E47777").transparent(.8)},o.a("errorBorder","Border color of error squigglies in the editor.")),x=Object(l._3)("editorWarning.foreground",{dark:"#4d9e4d",light:"#117711",hc:null},o.a("warningForeground","Foreground color of warning squigglies in the editor.")),S=Object(l._3)("editorWarning.border",{dark:null,light:null,hc:i.a.fromHex("#71B771").transparent(.8)},o.a("warningBorder","Border color of warning squigglies in the editor.")),L=Object(l._3)("editorInfo.foreground",{dark:"#008000",light:"#008000",hc:null},o.a("infoForeground","Foreground color of info squigglies in the editor.")),D=Object(l._3)("editorInfo.border",{dark:null,light:null,hc:i.a.fromHex("#71B771").transparent(.8)},o.a("infoBorder","Border color of info squigglies in the editor.")),k=Object(l._3)("editorHint.foreground",{dark:i.a.fromHex("#eeeeee").transparent(.7),light:"#6c6c6c",hc:null},o.a("hintForeground","Foreground color of hint squigglies in the editor.")),N=Object(l._3)("editorHint.border",{dark:null,light:null,hc:i.a.fromHex("#eeeeee").transparent(.8)},o.a("hintBorder","Border color of hint squigglies in the editor.")),I=Object(l._3)("editorUnnecessaryCode.border",{dark:null,light:null,hc:i.a.fromHex("#fff").transparent(.8)},o.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),O=Object(l._3)("editorUnnecessaryCode.opacity",{dark:i.a.fromHex("#000a"),light:i.a.fromHex("#0007"),hc:null},o.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.")),E=Object(l._3)("editorOverviewRuler.errorForeground",{dark:new i.a(new i.b(255,18,18,.7)),light:new i.a(new i.b(255,18,18,.7)),hc:new i.a(new i.b(255,50,50,1))},o.a("overviewRuleError","Overview ruler marker color for errors.")),M=Object(l._3)("editorOverviewRuler.warningForeground",{dark:new i.a(new i.b(18,136,18,.7)),light:new i.a(new i.b(18,136,18,.7)),hc:new i.a(new i.b(50,255,50,1))},o.a("overviewRuleWarning","Overview ruler marker color for warnings.")),B=Object(l._3)("editorOverviewRuler.infoForeground",{dark:new i.a(new i.b(18,18,136,.7)),light:new i.a(new i.b(18,18,136,.7)),hc:new i.a(new i.b(50,50,255,1))},o.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(r.e)(function(e,t){var n=e.getColor(l.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var o=e.getColor(l.o);o&&t.addRule(".monaco-editor, .monaco-editor .inputarea.ime-input { color: "+o+"; }");var i=e.getColor(A);i&&t.addRule(".monaco-editor .margin { background-color: "+i+"; }");var r=e.getColor(u);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var a=e.getColor(c);a&&t.addRule(".monaco-editor .rangeHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+a+"; }");var s=e.getColor(p);s&&t.addRule(".vs-whitespace { color: "+s+" !important; }")})},1408:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o,i,r=n(1134),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=/^\w[\w\d+.-]*$/,l=/^\//,u=/^\/\//,c=!0;var h="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=(f.isUri=function(e){return e instanceof f||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"function"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString},Object.defineProperty(f.prototype,"fsPath",{get:function(){return A(this)},enumerable:!0,configurable:!0}),f.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,o=e.path,i=e.query,r=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===o?o=this.path:null===o&&(o=""),void 0===i?i=this.query:null===i&&(i=""),void 0===r?r=this.fragment:null===r&&(r=""),t===this.scheme&&n===this.authority&&o===this.path&&i===this.query&&r===this.fragment?this:new m(t,n,o,i,r)},f.parse=function(e,t){void 0===t&&(t=!1);var n=d.exec(e);return n?new m(n[2]||"",decodeURIComponent(n[4]||""),decodeURIComponent(n[5]||""),decodeURIComponent(n[7]||""),decodeURIComponent(n[9]||""),t):new m("","","","","")},f.file=function(e){var t="";if(r.g&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);e=-1===n?(t=e.substring(2),h):(t=e.substring(2,n),e.substring(n)||h)}return new m("file",t,e,"","")},f.from=function(e){return new m(e.scheme,e.authority,e.path,e.query,e.fragment)},f.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},f.prototype.toJSON=function(){return this},f.revive=function(e){if(e){if(e instanceof f)return e;var t=new m(e);return t._fsPath=e.fsPath,t._formatted=e.external,t}return e},f);function f(e,t,n,o,i,r){"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=e||"",this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||""),this.query=o||"",this.fragment=i||"",function(e,t){if(!e.scheme){if(t||c)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');console.warn('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}')}if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!l.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(u.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 ("//")')}(this,r))}var g,m=(a(b,g=p),Object.defineProperty(b.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=A(this)),this._fsPath},enumerable:!0,configurable:!0}),b.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},b.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath),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},b);function b(){var e=null!==g&&g.apply(this,arguments)||this;return e._formatted=null,e._fsPath=null,e}var v=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function y(e,t){for(var n=void 0,o=-1,i=0;i<e.length;i++){var r=e.charCodeAt(i);if(97<=r&&r<=122||65<=r&&r<=90||48<=r&&r<=57||45===r||46===r||95===r||126===r||t&&47===r)-1!==o&&(n+=encodeURIComponent(e.substring(o,i)),o=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var a=v[r];void 0!==a?(-1!==o&&(n+=encodeURIComponent(e.substring(o,i)),o=-1),n+=a):-1===o&&(o=i)}}return-1!==o&&(n+=encodeURIComponent(e.substring(o))),void 0!==n?n:e}function C(e){for(var t=void 0,n=0;n<e.length;n++){var o=e.charCodeAt(n);35===o||63===o?(void 0===t&&(t=e.substr(0,n)),t+=v[o]):void 0!==t&&(t+=e[n])}return void 0!==t?t:e}function A(e){var t;return t=e.authority&&1<e.path.length&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(65<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=90||97<=e.path.charCodeAt(1)&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,r.g&&(t=t.replace(/\//g,"\\")),t}function _(e,t){var n=t?C:y,o="",i=e.scheme,r=e.authority,a=e.path,s=e.query,l=e.fragment;if(i&&(o+=i,o+=":"),!r&&"file"!==i||(o+=h,o+=h),r){var u=r.indexOf("@");if(-1!==u){var c=r.substr(0,u);r=r.substr(u+1),-1===(u=c.indexOf(":"))?o+=n(c,!1):(o+=n(c.substr(0,u),!1),o+=":",o+=n(c.substr(u+1),!1)),o+="@"}-1===(u=(r=r.toLowerCase()).indexOf(":"))?o+=n(r,!1):(o+=n(r.substr(0,u),!1),o+=r.substr(u))}if(a){if(3<=a.length&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))65<=(d=a.charCodeAt(1))&&d<=90&&(a="/"+String.fromCharCode(d+32)+":"+a.substr(3));else if(2<=a.length&&58===a.charCodeAt(1)){var d;65<=(d=a.charCodeAt(0))&&d<=90&&(a=String.fromCharCode(d+32)+":"+a.substr(2))}o+=n(a,!0)}return s&&(o+="?",o+=n(s,!1)),l&&(o+="#",o+=t?l:y(l,!1)),o}},1409:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return h});var o,r=n(1304),i=n(2058),a=n(1134),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(u.prototype.preventDefault=function(){this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},u.prototype.stopPropagation=function(){this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},u);function u(e){this.timestamp=Date.now(),this.browserEvent=e,this.leftButton=0===e.button,this.middleButton=1===e.button,this.rightButton=2===e.button,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}var c;s(d,c=l);function d(e){var t=c.call(this,e)||this;return t.dataTransfer=e.dataTransfer,t}var h=(p.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},p.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},p);function p(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 o=e,i=e;void 0!==o.wheelDeltaY?this.deltaY=o.wheelDeltaY/120:void 0!==i.VERTICAL_AXIS&&i.axis===i.VERTICAL_AXIS&&(this.deltaY=-i.detail/3),void 0!==o.wheelDeltaX?r.l&&a.g?this.deltaX=-o.wheelDeltaX/120:this.deltaX=o.wheelDeltaX/120:void 0!==i.HORIZONTAL_AXIS&&i.axis===i.HORIZONTAL_AXIS&&(this.deltaX=-e.detail/3),0===this.deltaY&&0===this.deltaX&&e.wheelDelta&&(this.deltaY=e.wheelDelta/120)}}},1422:function(e,t,n){"use strict";t.h=function(e){{if(1===e)return"blink";if(4===e)return"expand";if(3===e)return"phase";if(2===e)return"smooth";if(5===e)return"solid";throw new Error("blinkingStyleToString: Unknown blinkingStyle")}},n.d(t,"g",function(){return v}),t.i=function(e){{if(e===v.Line)return"line";if(e===v.Block)return"block";if(e===v.Underline)return"underline";if(e===v.LineThin)return"line-thin";if(e===v.BlockOutline)return"block-outline";if(e===v.UnderlineThin)return"underline-thin";throw new Error("cursorStyleToString: Unknown cursorStyle")}},n.d(t,"e",function(){return p}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return g}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return L}),n.d(t,"a",function(){return D});var v,o,i=n(1215),r=n(1316),a=n(1423),h=n(1134),s=n(1665),l=this&&this.__assign||function(){return(l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};(o=v=v||{})[o.Line=1]="Line",o[o.Block=2]="Block",o[o.Underline=3]="Underline",o[o.LineThin=4]="LineThin",o[o.BlockOutline=5]="BlockOutline",o[o.UnderlineThin=6]="UnderlineThin";var p=(u.prototype.equals=function(e){return this.canUseLayerHinting===e.canUseLayerHinting&&this.pixelRatio===e.pixelRatio&&this.editorClassName===e.editorClassName&&this.lineHeight===e.lineHeight&&this.readOnly===e.readOnly&&this.accessibilitySupport===e.accessibilitySupport&&this.multiCursorModifier===e.multiCursorModifier&&this.multiCursorMergeOverlapping===e.multiCursorMergeOverlapping&&this.wordSeparators===e.wordSeparators&&this.autoClosingBrackets===e.autoClosingBrackets&&this.autoClosingQuotes===e.autoClosingQuotes&&this.autoSurround===e.autoSurround&&this.autoIndent===e.autoIndent&&this.useTabStops===e.useTabStops&&this.tabFocusMode===e.tabFocusMode&&this.dragAndDrop===e.dragAndDrop&&this.showUnused===e.showUnused&&this.emptySelectionClipboard===e.emptySelectionClipboard&&this.copyWithSyntaxHighlighting===e.copyWithSyntaxHighlighting&&u._equalsLayoutInfo(this.layoutInfo,e.layoutInfo)&&this.fontInfo.equals(e.fontInfo)&&u._equalsViewOptions(this.viewInfo,e.viewInfo)&&u._equalsWrappingInfo(this.wrappingInfo,e.wrappingInfo)&&u._equalsContribOptions(this.contribInfo,e.contribInfo)},u.prototype.createChangeEvent=function(e){return{canUseLayerHinting:this.canUseLayerHinting!==e.canUseLayerHinting,pixelRatio:this.pixelRatio!==e.pixelRatio,editorClassName:this.editorClassName!==e.editorClassName,lineHeight:this.lineHeight!==e.lineHeight,readOnly:this.readOnly!==e.readOnly,accessibilitySupport:this.accessibilitySupport!==e.accessibilitySupport,multiCursorModifier:this.multiCursorModifier!==e.multiCursorModifier,multiCursorMergeOverlapping:this.multiCursorMergeOverlapping!==e.multiCursorMergeOverlapping,wordSeparators:this.wordSeparators!==e.wordSeparators,autoClosingBrackets:this.autoClosingBrackets!==e.autoClosingBrackets,autoClosingQuotes:this.autoClosingQuotes!==e.autoClosingQuotes,autoSurround:this.autoSurround!==e.autoSurround,autoIndent:this.autoIndent!==e.autoIndent,useTabStops:this.useTabStops!==e.useTabStops,tabFocusMode:this.tabFocusMode!==e.tabFocusMode,dragAndDrop:this.dragAndDrop!==e.dragAndDrop,emptySelectionClipboard:this.emptySelectionClipboard!==e.emptySelectionClipboard,copyWithSyntaxHighlighting:this.copyWithSyntaxHighlighting!==e.copyWithSyntaxHighlighting,layoutInfo:!u._equalsLayoutInfo(this.layoutInfo,e.layoutInfo),fontInfo:!this.fontInfo.equals(e.fontInfo),viewInfo:!u._equalsViewOptions(this.viewInfo,e.viewInfo),wrappingInfo:!u._equalsWrappingInfo(this.wrappingInfo,e.wrappingInfo),contribInfo:!u._equalsContribOptions(this.contribInfo,e.contribInfo)}},u._equalsLayoutInfo=function(e,t){return e.width===t.width&&e.height===t.height&&e.glyphMarginLeft===t.glyphMarginLeft&&e.glyphMarginWidth===t.glyphMarginWidth&&e.glyphMarginHeight===t.glyphMarginHeight&&e.lineNumbersLeft===t.lineNumbersLeft&&e.lineNumbersWidth===t.lineNumbersWidth&&e.lineNumbersHeight===t.lineNumbersHeight&&e.decorationsLeft===t.decorationsLeft&&e.decorationsWidth===t.decorationsWidth&&e.decorationsHeight===t.decorationsHeight&&e.contentLeft===t.contentLeft&&e.contentWidth===t.contentWidth&&e.contentHeight===t.contentHeight&&e.renderMinimap===t.renderMinimap&&e.minimapLeft===t.minimapLeft&&e.minimapWidth===t.minimapWidth&&e.viewportColumn===t.viewportColumn&&e.verticalScrollbarWidth===t.verticalScrollbarWidth&&e.horizontalScrollbarHeight===t.horizontalScrollbarHeight&&this._equalsOverviewRuler(e.overviewRuler,t.overviewRuler)},u._equalsOverviewRuler=function(e,t){return e.width===t.width&&e.height===t.height&&e.top===t.top&&e.right===t.right},u._equalsViewOptions=function(e,t){return e.extraEditorClassName===t.extraEditorClassName&&e.disableMonospaceOptimizations===t.disableMonospaceOptimizations&&r.d(e.rulers,t.rulers)&&e.ariaLabel===t.ariaLabel&&e.renderLineNumbers===t.renderLineNumbers&&e.renderCustomLineNumbers===t.renderCustomLineNumbers&&e.renderFinalNewline===t.renderFinalNewline&&e.selectOnLineNumbers===t.selectOnLineNumbers&&e.glyphMargin===t.glyphMargin&&e.revealHorizontalRightPadding===t.revealHorizontalRightPadding&&e.roundedSelection===t.roundedSelection&&e.overviewRulerLanes===t.overviewRulerLanes&&e.overviewRulerBorder===t.overviewRulerBorder&&e.cursorBlinking===t.cursorBlinking&&e.mouseWheelZoom===t.mouseWheelZoom&&e.cursorSmoothCaretAnimation===t.cursorSmoothCaretAnimation&&e.cursorStyle===t.cursorStyle&&e.cursorWidth===t.cursorWidth&&e.hideCursorInOverviewRuler===t.hideCursorInOverviewRuler&&e.scrollBeyondLastLine===t.scrollBeyondLastLine&&e.scrollBeyondLastColumn===t.scrollBeyondLastColumn&&e.smoothScrolling===t.smoothScrolling&&e.stopRenderingLineAfter===t.stopRenderingLineAfter&&e.renderWhitespace===t.renderWhitespace&&e.renderControlCharacters===t.renderControlCharacters&&e.fontLigatures===t.fontLigatures&&e.renderIndentGuides===t.renderIndentGuides&&e.highlightActiveIndentGuide===t.highlightActiveIndentGuide&&e.renderLineHighlight===t.renderLineHighlight&&this._equalsScrollbarOptions(e.scrollbar,t.scrollbar)&&this._equalsMinimapOptions(e.minimap,t.minimap)&&e.fixedOverflowWidgets===t.fixedOverflowWidgets},u._equalsScrollbarOptions=function(e,t){return e.arrowSize===t.arrowSize&&e.vertical===t.vertical&&e.horizontal===t.horizontal&&e.useShadows===t.useShadows&&e.verticalHasArrows===t.verticalHasArrows&&e.horizontalHasArrows===t.horizontalHasArrows&&e.handleMouseWheel===t.handleMouseWheel&&e.horizontalScrollbarSize===t.horizontalScrollbarSize&&e.horizontalSliderSize===t.horizontalSliderSize&&e.verticalScrollbarSize===t.verticalScrollbarSize&&e.verticalSliderSize===t.verticalSliderSize&&e.mouseWheelScrollSensitivity===t.mouseWheelScrollSensitivity&&e.fastScrollSensitivity===t.fastScrollSensitivity},u._equalsMinimapOptions=function(e,t){return e.enabled===t.enabled&&e.side===t.side&&e.showSlider===t.showSlider&&e.renderCharacters===t.renderCharacters&&e.maxColumn===t.maxColumn},u._equalFindOptions=function(e,t){return e.seedSearchStringFromSelection===t.seedSearchStringFromSelection&&e.autoFindInSelection===t.autoFindInSelection&&e.globalFindClipboard===t.globalFindClipboard&&e.addExtraSpaceOnTop===t.addExtraSpaceOnTop},u._equalsParameterHintOptions=function(e,t){return e.enabled===t.enabled&&e.cycle===t.cycle},u._equalsHoverOptions=function(e,t){return e.enabled===t.enabled&&e.delay===t.delay&&e.sticky===t.sticky},u._equalsSuggestOptions=function(e,t){return e===t||!(!e||!t)&&e.filterGraceful===t.filterGraceful&&e.snippets===t.snippets&&e.snippetsPreventQuickSuggestions===t.snippetsPreventQuickSuggestions&&e.localityBonus===t.localityBonus&&e.shareSuggestSelections===t.shareSuggestSelections},u._equalsWrappingInfo=function(e,t){return e.inDiffEditor===t.inDiffEditor&&e.isDominatedByLongLines===t.isDominatedByLongLines&&e.isWordWrapMinified===t.isWordWrapMinified&&e.isViewportWrapping===t.isViewportWrapping&&e.wrappingColumn===t.wrappingColumn&&e.wrappingIndent===t.wrappingIndent&&e.wordWrapBreakBeforeCharacters===t.wordWrapBreakBeforeCharacters&&e.wordWrapBreakAfterCharacters===t.wordWrapBreakAfterCharacters&&e.wordWrapBreakObtrusiveCharacters===t.wordWrapBreakObtrusiveCharacters},u._equalsContribOptions=function(e,t){return e.selectionClipboard===t.selectionClipboard&&this._equalsHoverOptions(e.hover,t.hover)&&e.links===t.links&&e.contextmenu===t.contextmenu&&u._equalsQuickSuggestions(e.quickSuggestions,t.quickSuggestions)&&e.quickSuggestionsDelay===t.quickSuggestionsDelay&&this._equalsParameterHintOptions(e.parameterHints,t.parameterHints)&&e.iconsInSuggestions===t.iconsInSuggestions&&e.formatOnType===t.formatOnType&&e.formatOnPaste===t.formatOnPaste&&e.suggestOnTriggerCharacters===t.suggestOnTriggerCharacters&&e.acceptSuggestionOnEnter===t.acceptSuggestionOnEnter&&e.acceptSuggestionOnCommitCharacter===t.acceptSuggestionOnCommitCharacter&&e.wordBasedSuggestions===t.wordBasedSuggestions&&e.suggestSelection===t.suggestSelection&&e.suggestFontSize===t.suggestFontSize&&e.suggestLineHeight===t.suggestLineHeight&&e.tabCompletion===t.tabCompletion&&this._equalsSuggestOptions(e.suggest,t.suggest)&&e.selectionHighlight===t.selectionHighlight&&e.occurrencesHighlight===t.occurrencesHighlight&&e.codeLens===t.codeLens&&e.folding===t.folding&&e.foldingStrategy===t.foldingStrategy&&e.showFoldingControls===t.showFoldingControls&&e.matchBrackets===t.matchBrackets&&this._equalFindOptions(e.find,t.find)&&e.colorDecorators===t.colorDecorators&&a.d(e.codeActionsOnSave,t.codeActionsOnSave)&&e.codeActionsOnSaveTimeout===t.codeActionsOnSaveTimeout&&e.lightbulbEnabled===t.lightbulbEnabled},u._equalsQuickSuggestions=function(e,t){return"boolean"==typeof e?"boolean"==typeof t&&e===t:"boolean"!=typeof t&&e.comments===t.comments&&e.other===t.other&&e.strings===t.strings},u);function u(e){this.canUseLayerHinting=e.canUseLayerHinting,this.pixelRatio=e.pixelRatio,this.editorClassName=e.editorClassName,this.lineHeight=0|e.lineHeight,this.readOnly=e.readOnly,this.accessibilitySupport=e.accessibilitySupport,this.multiCursorModifier=e.multiCursorModifier,this.multiCursorMergeOverlapping=e.multiCursorMergeOverlapping,this.wordSeparators=e.wordSeparators,this.autoClosingBrackets=e.autoClosingBrackets,this.autoClosingQuotes=e.autoClosingQuotes,this.autoSurround=e.autoSurround,this.autoIndent=e.autoIndent,this.useTabStops=e.useTabStops,this.tabFocusMode=e.tabFocusMode,this.dragAndDrop=e.dragAndDrop,this.emptySelectionClipboard=e.emptySelectionClipboard,this.copyWithSyntaxHighlighting=e.copyWithSyntaxHighlighting,this.layoutInfo=e.layoutInfo,this.fontInfo=e.fontInfo,this.viewInfo=e.viewInfo,this.wrappingInfo=e.wrappingInfo,this.contribInfo=e.contribInfo,this.showUnused=e.showUnused}function y(e,t){return void 0===e?t:"false"!==e&&Boolean(e)}function C(e,t){return"string"!=typeof e?t:e}function A(e,t,n){return"string"!=typeof e?t:-1===n.indexOf(e)?t:e}function _(e,t,n,o){var i;return void 0===e?i=t:(i=parseInt(e,10),isNaN(i)&&(i=t)),i=Math.max(n,i),0|(i=Math.min(o,i))}function w(e,t){var n=parseFloat(e);return isNaN(n)&&(n=t),n}function c(e,t){if("string"!=typeof e)return t;switch(e){case"hidden":return 2;case"visible":return 3;default:return 1}}var d=(f.validate=function(e,t){var n=e.wordWrap;!0===n?n="on":!1===n&&(n="off"),n=A(n,t.wordWrap,["off","on","wordWrapColumn","bounded"]);var o=this._sanitizeViewInfo(e,t.viewInfo),i=this._sanitizeContribInfo(e,t.contribInfo),r=void 0;"string"==typeof e.multiCursorModifier&&(r="ctrlCmd"===e.multiCursorModifier?h.d?"metaKey":"ctrlKey":"altKey");var a,s,l,u,c,d=A(r,t.multiCursorModifier,["altKey","metaKey","ctrlKey"]);return l="boolean"==typeof e.autoClosingBrackets&&!1===e.autoClosingBrackets?s=a="never":(a=A(e.autoClosingBrackets,t.autoClosingBrackets,["always","languageDefined","beforeWhitespace","never"]),s=A(e.autoClosingQuotes,t.autoClosingQuotes,["always","languageDefined","beforeWhitespace","never"]),A(e.autoSurround,t.autoSurround,["languageDefined","brackets","quotes","never"])),{inDiffEditor:y(e.inDiffEditor,t.inDiffEditor),wordSeparators:C(e.wordSeparators,t.wordSeparators),lineNumbersMinChars:_(e.lineNumbersMinChars,t.lineNumbersMinChars,1,10),lineDecorationsWidth:void 0===e.lineDecorationsWidth?t.lineDecorationsWidth:e.lineDecorationsWidth,readOnly:y(e.readOnly,t.readOnly),mouseStyle:A(e.mouseStyle,t.mouseStyle,["text","default","copy"]),disableLayerHinting:y(e.disableLayerHinting,t.disableLayerHinting),automaticLayout:y(e.automaticLayout,t.automaticLayout),wordWrap:n,wordWrapColumn:_(e.wordWrapColumn,t.wordWrapColumn,1,1073741824),wordWrapMinified:y(e.wordWrapMinified,t.wordWrapMinified),wrappingIndent:(u=e.wrappingIndent,c=t.wrappingIndent,"string"!=typeof u?c:"same"===u?1:"indent"===u?2:"deepIndent"===u?3:0),wordWrapBreakBeforeCharacters:C(e.wordWrapBreakBeforeCharacters,t.wordWrapBreakBeforeCharacters),wordWrapBreakAfterCharacters:C(e.wordWrapBreakAfterCharacters,t.wordWrapBreakAfterCharacters),wordWrapBreakObtrusiveCharacters:C(e.wordWrapBreakObtrusiveCharacters,t.wordWrapBreakObtrusiveCharacters),autoClosingBrackets:a,autoClosingQuotes:s,autoSurround:l,autoIndent:y(e.autoIndent,t.autoIndent),dragAndDrop:y(e.dragAndDrop,t.dragAndDrop),emptySelectionClipboard:y(e.emptySelectionClipboard,t.emptySelectionClipboard),copyWithSyntaxHighlighting:y(e.copyWithSyntaxHighlighting,t.copyWithSyntaxHighlighting),useTabStops:y(e.useTabStops,t.useTabStops),multiCursorModifier:d,multiCursorMergeOverlapping:y(e.multiCursorMergeOverlapping,t.multiCursorMergeOverlapping),accessibilitySupport:A(e.accessibilitySupport,t.accessibilitySupport,["auto","on","off"]),showUnused:y(e.showUnused,t.showUnused),viewInfo:o,contribInfo:i}},f._sanitizeScrollbarOpts=function(e,t,n,o){if("object"!=typeof e)return t;var i=_(e.horizontalScrollbarSize,t.horizontalScrollbarSize,0,1e3),r=_(e.verticalScrollbarSize,t.verticalScrollbarSize,0,1e3);return{vertical:c(e.vertical,t.vertical),horizontal:c(e.horizontal,t.horizontal),arrowSize:_(e.arrowSize,t.arrowSize,0,1e3),useShadows:y(e.useShadows,t.useShadows),verticalHasArrows:y(e.verticalHasArrows,t.verticalHasArrows),horizontalHasArrows:y(e.horizontalHasArrows,t.horizontalHasArrows),horizontalScrollbarSize:i,horizontalSliderSize:_(e.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:r,verticalSliderSize:_(e.verticalSliderSize,r,0,1e3),handleMouseWheel:y(e.handleMouseWheel,t.handleMouseWheel),mouseWheelScrollSensitivity:n,fastScrollSensitivity:o}},f._sanitizeMinimapOpts=function(e,t){return"object"!=typeof e?t:{enabled:y(e.enabled,t.enabled),side:A(e.side,t.side,["right","left"]),showSlider:A(e.showSlider,t.showSlider,["always","mouseover"]),renderCharacters:y(e.renderCharacters,t.renderCharacters),maxColumn:_(e.maxColumn,t.maxColumn,1,1e4)}},f._sanitizeFindOpts=function(e,t){return"object"!=typeof e?t:{seedSearchStringFromSelection:y(e.seedSearchStringFromSelection,t.seedSearchStringFromSelection),autoFindInSelection:y(e.autoFindInSelection,t.autoFindInSelection),globalFindClipboard:y(e.globalFindClipboard,t.globalFindClipboard),addExtraSpaceOnTop:y(e.addExtraSpaceOnTop,t.addExtraSpaceOnTop)}},f._sanitizeParameterHintOpts=function(e,t){return"object"!=typeof e?t:{enabled:y(e.enabled,t.enabled),cycle:y(e.cycle,t.cycle)}},f._sanitizeHoverOpts=function(e,t){var n;if("boolean"==typeof e)n={enabled:e};else{if("object"!=typeof e)return t;n=e}return{enabled:y(n.enabled,t.enabled),delay:_(n.delay,t.delay,0,1e4),sticky:y(n.sticky,t.sticky)}},f._sanitizeSuggestOpts=function(e,t){var n=e.suggest||{};return{filterGraceful:y(n.filterGraceful,t.filterGraceful),snippets:A(e.snippetSuggestions,t.snippets,["top","bottom","inline","none"]),snippetsPreventQuickSuggestions:y(n.snippetsPreventQuickSuggestions,t.filterGraceful),localityBonus:y(n.localityBonus,t.localityBonus),shareSuggestSelections:y(n.shareSuggestSelections,t.shareSuggestSelections)}},f._sanitizeTabCompletionOpts=function(e,t){return!1===e?"off":!0===e?"onlySnippets":A(e,t,["on","off","onlySnippets"])},f._sanitizeViewInfo=function(e,t){var n=[];if(Array.isArray(e.rulers)){for(var o=0,i=e.rulers.length;o<i;o++)n.push(_(e.rulers[o],0,0,1e4));n.sort()}var r=t.renderLineNumbers,a=t.renderCustomLineNumbers;if(void 0!==e.lineNumbers){var s=e.lineNumbers;!0===s?s="on":!1===s&&(s="off"),"function"==typeof s?(r=4,a=s):r="interval"===s?3:"relative"===s?2:"on"===s?1:0}var l=y(e.fontLigatures,t.fontLigatures),u=y(e.disableMonospaceOptimizations,t.disableMonospaceOptimizations)||l,c=e.renderWhitespace;!0===c?c="boundary":!1===c&&(c="none"),c=A(c,t.renderWhitespace,["none","boundary","all"]);var d=e.renderLineHighlight;!0===d?d="line":!1===d&&(d="none"),d=A(d,t.renderLineHighlight,["none","gutter","line","all"]);var h=w(e.mouseWheelScrollSensitivity,t.scrollbar.mouseWheelScrollSensitivity);0===h&&(h=1);var p=w(e.fastScrollSensitivity,t.scrollbar.fastScrollSensitivity);p<=0&&(p=t.scrollbar.fastScrollSensitivity);var f,g,m=this._sanitizeScrollbarOpts(e.scrollbar,t.scrollbar,h,p),b=this._sanitizeMinimapOpts(e.minimap,t.minimap);return{extraEditorClassName:C(e.extraEditorClassName,t.extraEditorClassName),disableMonospaceOptimizations:u,rulers:n,ariaLabel:C(e.ariaLabel,t.ariaLabel),renderLineNumbers:r,renderCustomLineNumbers:a,renderFinalNewline:y(e.renderFinalNewline,t.renderFinalNewline),selectOnLineNumbers:y(e.selectOnLineNumbers,t.selectOnLineNumbers),glyphMargin:y(e.glyphMargin,t.glyphMargin),revealHorizontalRightPadding:_(e.revealHorizontalRightPadding,t.revealHorizontalRightPadding,0,1e3),roundedSelection:y(e.roundedSelection,t.roundedSelection),overviewRulerLanes:_(e.overviewRulerLanes,t.overviewRulerLanes,0,3),overviewRulerBorder:y(e.overviewRulerBorder,t.overviewRulerBorder),cursorBlinking:function(e,t){if("string"!=typeof e)return t;switch(e){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"visible":case"solid":return 5}return 1}(e.cursorBlinking,t.cursorBlinking),mouseWheelZoom:y(e.mouseWheelZoom,t.mouseWheelZoom),cursorSmoothCaretAnimation:y(e.cursorSmoothCaretAnimation,t.cursorSmoothCaretAnimation),cursorStyle:(f=e.cursorStyle,g=t.cursorStyle,"string"!=typeof f?g:"line"===f?v.Line:"block"===f?v.Block:"underline"===f?v.Underline:"line-thin"===f?v.LineThin:"block-outline"===f?v.BlockOutline:"underline-thin"===f?v.UnderlineThin:v.Line),cursorWidth:_(e.cursorWidth,t.cursorWidth,0,Number.MAX_VALUE),hideCursorInOverviewRuler:y(e.hideCursorInOverviewRuler,t.hideCursorInOverviewRuler),scrollBeyondLastLine:y(e.scrollBeyondLastLine,t.scrollBeyondLastLine),scrollBeyondLastColumn:_(e.scrollBeyondLastColumn,t.scrollBeyondLastColumn,0,1073741824),smoothScrolling:y(e.smoothScrolling,t.smoothScrolling),stopRenderingLineAfter:_(e.stopRenderingLineAfter,t.stopRenderingLineAfter,-1,1073741824),renderWhitespace:c,renderControlCharacters:y(e.renderControlCharacters,t.renderControlCharacters),fontLigatures:l,renderIndentGuides:y(e.renderIndentGuides,t.renderIndentGuides),highlightActiveIndentGuide:y(e.highlightActiveIndentGuide,t.highlightActiveIndentGuide),renderLineHighlight:d,scrollbar:m,minimap:b,fixedOverflowWidgets:y(e.fixedOverflowWidgets,t.fixedOverflowWidgets)}},f._sanitizeContribInfo=function(e,t){var n;n="object"==typeof e.quickSuggestions?l({other:!0},e.quickSuggestions):y(e.quickSuggestions,t.quickSuggestions),"boolean"==typeof e.acceptSuggestionOnEnter&&(e.acceptSuggestionOnEnter=e.acceptSuggestionOnEnter?"on":"off");var o=this._sanitizeFindOpts(e.find,t.find);return{selectionClipboard:y(e.selectionClipboard,t.selectionClipboard),hover:this._sanitizeHoverOpts(e.hover,t.hover),links:y(e.links,t.links),contextmenu:y(e.contextmenu,t.contextmenu),quickSuggestions:n,quickSuggestionsDelay:_(e.quickSuggestionsDelay,t.quickSuggestionsDelay,-1073741824,1073741824),parameterHints:this._sanitizeParameterHintOpts(e.parameterHints,t.parameterHints),iconsInSuggestions:y(e.iconsInSuggestions,t.iconsInSuggestions),formatOnType:y(e.formatOnType,t.formatOnType),formatOnPaste:y(e.formatOnPaste,t.formatOnPaste),suggestOnTriggerCharacters:y(e.suggestOnTriggerCharacters,t.suggestOnTriggerCharacters),acceptSuggestionOnEnter:A(e.acceptSuggestionOnEnter,t.acceptSuggestionOnEnter,["on","smart","off"]),acceptSuggestionOnCommitCharacter:y(e.acceptSuggestionOnCommitCharacter,t.acceptSuggestionOnCommitCharacter),wordBasedSuggestions:y(e.wordBasedSuggestions,t.wordBasedSuggestions),suggestSelection:A(e.suggestSelection,t.suggestSelection,["first","recentlyUsed","recentlyUsedByPrefix"]),suggestFontSize:_(e.suggestFontSize,t.suggestFontSize,0,1e3),suggestLineHeight:_(e.suggestLineHeight,t.suggestLineHeight,0,1e3),tabCompletion:this._sanitizeTabCompletionOpts(e.tabCompletion,t.tabCompletion),suggest:this._sanitizeSuggestOpts(e,t.suggest),selectionHighlight:y(e.selectionHighlight,t.selectionHighlight),occurrencesHighlight:y(e.occurrencesHighlight,t.occurrencesHighlight),codeLens:y(e.codeLens,t.codeLens),folding:y(e.folding,t.folding),foldingStrategy:A(e.foldingStrategy,t.foldingStrategy,["auto","indentation"]),showFoldingControls:A(e.showFoldingControls,t.showFoldingControls,["always","mouseover"]),matchBrackets:y(e.matchBrackets,t.matchBrackets),find:o,colorDecorators:y(e.colorDecorators,t.colorDecorators),lightbulbEnabled:y(!!e.lightbulb&&e.lightbulb.enabled,t.lightbulbEnabled),codeActionsOnSave:function(e,t){if(!e)return t;for(var n=Object.create(null),o=0,i=Object.keys(e);o<i.length;o++){var r=i[o],a=e[r];"boolean"==typeof a&&(n[r]=a)}return n}(e.codeActionsOnSave,{}),codeActionsOnSaveTimeout:_(e.codeActionsOnSaveTimeout,t.codeActionsOnSaveTimeout,1,1e4)}},f);function f(){}var g=(m._tweakValidatedOptions=function(e,t){var n=2===t,o=1===t;return{inDiffEditor:e.inDiffEditor,wordSeparators:e.wordSeparators,lineNumbersMinChars:e.lineNumbersMinChars,lineDecorationsWidth:e.lineDecorationsWidth,readOnly:e.readOnly,mouseStyle:e.mouseStyle,disableLayerHinting:e.disableLayerHinting,automaticLayout:e.automaticLayout,wordWrap:e.wordWrap,wordWrapColumn:e.wordWrapColumn,wordWrapMinified:e.wordWrapMinified,wrappingIndent:e.wrappingIndent,wordWrapBreakBeforeCharacters:e.wordWrapBreakBeforeCharacters,wordWrapBreakAfterCharacters:e.wordWrapBreakAfterCharacters,wordWrapBreakObtrusiveCharacters:e.wordWrapBreakObtrusiveCharacters,autoClosingBrackets:e.autoClosingBrackets,autoClosingQuotes:e.autoClosingQuotes,autoSurround:e.autoSurround,autoIndent:e.autoIndent,dragAndDrop:e.dragAndDrop,emptySelectionClipboard:e.emptySelectionClipboard,copyWithSyntaxHighlighting:e.copyWithSyntaxHighlighting,useTabStops:e.useTabStops,multiCursorModifier:e.multiCursorModifier,multiCursorMergeOverlapping:e.multiCursorMergeOverlapping,accessibilitySupport:e.accessibilitySupport,showUnused:e.showUnused,viewInfo:{extraEditorClassName:e.viewInfo.extraEditorClassName,disableMonospaceOptimizations:e.viewInfo.disableMonospaceOptimizations,rulers:e.viewInfo.rulers,ariaLabel:o?i.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.viewInfo.ariaLabel,renderLineNumbers:e.viewInfo.renderLineNumbers,renderCustomLineNumbers:e.viewInfo.renderCustomLineNumbers,renderFinalNewline:e.viewInfo.renderFinalNewline,selectOnLineNumbers:e.viewInfo.selectOnLineNumbers,glyphMargin:e.viewInfo.glyphMargin,revealHorizontalRightPadding:e.viewInfo.revealHorizontalRightPadding,roundedSelection:!n&&e.viewInfo.roundedSelection,overviewRulerLanes:e.viewInfo.overviewRulerLanes,overviewRulerBorder:e.viewInfo.overviewRulerBorder,cursorBlinking:e.viewInfo.cursorBlinking,mouseWheelZoom:e.viewInfo.mouseWheelZoom,cursorSmoothCaretAnimation:e.viewInfo.cursorSmoothCaretAnimation,cursorStyle:e.viewInfo.cursorStyle,cursorWidth:e.viewInfo.cursorWidth,hideCursorInOverviewRuler:e.viewInfo.hideCursorInOverviewRuler,scrollBeyondLastLine:e.viewInfo.scrollBeyondLastLine,scrollBeyondLastColumn:e.viewInfo.scrollBeyondLastColumn,smoothScrolling:e.viewInfo.smoothScrolling,stopRenderingLineAfter:e.viewInfo.stopRenderingLineAfter,renderWhitespace:n?"none":e.viewInfo.renderWhitespace,renderControlCharacters:!n&&e.viewInfo.renderControlCharacters,fontLigatures:!n&&e.viewInfo.fontLigatures,renderIndentGuides:!n&&e.viewInfo.renderIndentGuides,highlightActiveIndentGuide:e.viewInfo.highlightActiveIndentGuide,renderLineHighlight:e.viewInfo.renderLineHighlight,scrollbar:e.viewInfo.scrollbar,minimap:{enabled:!n&&e.viewInfo.minimap.enabled,side:e.viewInfo.minimap.side,renderCharacters:e.viewInfo.minimap.renderCharacters,showSlider:e.viewInfo.minimap.showSlider,maxColumn:e.viewInfo.minimap.maxColumn},fixedOverflowWidgets:e.viewInfo.fixedOverflowWidgets},contribInfo:{selectionClipboard:e.contribInfo.selectionClipboard,hover:e.contribInfo.hover,links:!n&&e.contribInfo.links,contextmenu:e.contribInfo.contextmenu,quickSuggestions:e.contribInfo.quickSuggestions,quickSuggestionsDelay:e.contribInfo.quickSuggestionsDelay,parameterHints:e.contribInfo.parameterHints,iconsInSuggestions:e.contribInfo.iconsInSuggestions,formatOnType:e.contribInfo.formatOnType,formatOnPaste:e.contribInfo.formatOnPaste,suggestOnTriggerCharacters:e.contribInfo.suggestOnTriggerCharacters,acceptSuggestionOnEnter:e.contribInfo.acceptSuggestionOnEnter,acceptSuggestionOnCommitCharacter:e.contribInfo.acceptSuggestionOnCommitCharacter,wordBasedSuggestions:e.contribInfo.wordBasedSuggestions,suggestSelection:e.contribInfo.suggestSelection,suggestFontSize:e.contribInfo.suggestFontSize,suggestLineHeight:e.contribInfo.suggestLineHeight,tabCompletion:e.contribInfo.tabCompletion,suggest:e.contribInfo.suggest,selectionHighlight:!n&&e.contribInfo.selectionHighlight,occurrencesHighlight:!n&&e.contribInfo.occurrencesHighlight,codeLens:!n&&e.contribInfo.codeLens,folding:!n&&e.contribInfo.folding,foldingStrategy:e.contribInfo.foldingStrategy,showFoldingControls:e.contribInfo.showFoldingControls,matchBrackets:!n&&e.contribInfo.matchBrackets,find:e.contribInfo.find,colorDecorators:e.contribInfo.colorDecorators,lightbulbEnabled:e.contribInfo.lightbulbEnabled,codeActionsOnSave:e.contribInfo.codeActionsOnSave,codeActionsOnSaveTimeout:e.contribInfo.codeActionsOnSaveTimeout}}},m.createInternalEditorOptions=function(e,t){var n;n="auto"===t.accessibilitySupport?e.accessibilitySupport:"on"===t.accessibilitySupport?2:1;var o,i=this._tweakValidatedOptions(t,n);o="string"==typeof i.lineDecorationsWidth&&/^\d+(\.\d+)?ch$/.test(i.lineDecorationsWidth)?parseFloat(i.lineDecorationsWidth.substr(0,i.lineDecorationsWidth.length-2))*e.fontInfo.typicalHalfwidthCharacterWidth:_(i.lineDecorationsWidth,0,0,1e3),i.contribInfo.folding&&(o+=16);var r=b.compute({outerWidth:e.outerWidth,outerHeight:e.outerHeight,showGlyphMargin:i.viewInfo.glyphMargin,lineHeight:e.fontInfo.lineHeight,showLineNumbers:0!==i.viewInfo.renderLineNumbers,lineNumbersMinChars:i.lineNumbersMinChars,lineNumbersDigitCount:e.lineNumbersDigitCount,lineDecorationsWidth:o,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,verticalScrollbarWidth:i.viewInfo.scrollbar.verticalScrollbarSize,horizontalScrollbarHeight:i.viewInfo.scrollbar.horizontalScrollbarSize,scrollbarArrowSize:i.viewInfo.scrollbar.arrowSize,verticalScrollbarHasArrows:i.viewInfo.scrollbar.verticalHasArrows,minimap:i.viewInfo.minimap.enabled,minimapSide:i.viewInfo.minimap.side,minimapRenderCharacters:i.viewInfo.minimap.renderCharacters,minimapMaxColumn:i.viewInfo.minimap.maxColumn,pixelRatio:e.pixelRatio}),a=null,s=i.wordWrap,l=i.wordWrapColumn,u=i.wordWrapMinified;a=2===n?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1}:u&&e.isDominatedByLongLines?{isWordWrapMinified:!0,isViewportWrapping:!0,wrappingColumn:Math.max(1,r.viewportColumn)}:"on"===s?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.max(1,r.viewportColumn)}:"bounded"===s?{isWordWrapMinified:!1,isViewportWrapping:!0,wrappingColumn:Math.min(Math.max(1,r.viewportColumn),l)}:"wordWrapColumn"===s?{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:l}:{isWordWrapMinified:!1,isViewportWrapping:!1,wrappingColumn:-1};var c={inDiffEditor:i.inDiffEditor,isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:a.isWordWrapMinified,isViewportWrapping:a.isViewportWrapping,wrappingColumn:a.wrappingColumn,wrappingIndent:i.wrappingIndent,wordWrapBreakBeforeCharacters:i.wordWrapBreakBeforeCharacters,wordWrapBreakAfterCharacters:i.wordWrapBreakAfterCharacters,wordWrapBreakObtrusiveCharacters:i.wordWrapBreakObtrusiveCharacters},d="monaco-editor";return i.viewInfo.extraEditorClassName&&(d+=" "+i.viewInfo.extraEditorClassName),e.extraEditorClassName&&(d+=" "+e.extraEditorClassName),i.viewInfo.fontLigatures&&(d+=" enable-ligatures"),"default"===i.mouseStyle?d+=" mouse-default":"copy"===i.mouseStyle&&(d+=" mouse-copy"),new p({canUseLayerHinting:!i.disableLayerHinting,pixelRatio:e.pixelRatio,editorClassName:d,lineHeight:e.fontInfo.lineHeight,readOnly:i.readOnly,accessibilitySupport:n,multiCursorModifier:i.multiCursorModifier,multiCursorMergeOverlapping:i.multiCursorMergeOverlapping,wordSeparators:i.wordSeparators,autoClosingBrackets:i.autoClosingBrackets,autoClosingQuotes:i.autoClosingQuotes,autoSurround:i.autoSurround,autoIndent:i.autoIndent,useTabStops:i.useTabStops,tabFocusMode:!!i.readOnly||e.tabFocusMode,dragAndDrop:i.dragAndDrop,emptySelectionClipboard:i.emptySelectionClipboard&&e.emptySelectionClipboard,copyWithSyntaxHighlighting:i.copyWithSyntaxHighlighting,layoutInfo:r,fontInfo:e.fontInfo,viewInfo:i.viewInfo,wrappingInfo:c,contribInfo:i.contribInfo,showUnused:i.showUnused})},m);function m(){}var b=(x.compute=function(e){var t=0|e.outerWidth,n=0|e.outerHeight,o=e.showGlyphMargin,i=0|e.lineHeight,r=e.showLineNumbers,a=0|e.lineNumbersMinChars,s=0|e.lineNumbersDigitCount,l=0|e.lineDecorationsWidth,u=e.typicalHalfwidthCharacterWidth,c=e.maxDigitWidth,d=0|e.verticalScrollbarWidth,h=e.verticalScrollbarHasArrows,p=0|e.scrollbarArrowSize,f=0|e.horizontalScrollbarHeight,g=e.minimap,m=e.minimapSide,b=e.minimapRenderCharacters,v=0|e.minimapMaxColumn,y=e.pixelRatio,C=0;if(r){var A=Math.max(s,a);C=Math.round(A*c)}var _=0;o&&(_=i);var w,x,S,L,D=0,k=D+_,N=k+C,I=N+l,O=t-_-C-l;if(g){var E=void 0;E=2<=y?(w=b?2:4,2/y):(w=b?1:3,1/y),v<(S=Math.max(0,Math.floor((O-d-2)*E/(u+E))))/E&&(S=Math.floor(v*E)),L=O-S,"left"===m?(x=0,D+=S,k+=S,N+=S,I+=S):x=t-S-d}else w=S=x=0,L=O;var M=h?p:0;return{width:t,height:n,glyphMarginLeft:D,glyphMarginWidth:_,glyphMarginHeight:n,lineNumbersLeft:k,lineNumbersWidth:C,lineNumbersHeight:n,decorationsLeft:N,decorationsWidth:l,decorationsHeight:n,contentLeft:I,contentWidth:L,contentHeight:n,renderMinimap:w,minimapLeft:x,minimapWidth:S,viewportColumn:Math.max(1,Math.floor((L-d-2)/u)),verticalScrollbarWidth:d,horizontalScrollbarHeight:f,overviewRuler:{top:M,width:d,height:n-2*M,right:0}}},x);function x(){}var S={fontFamily:h.d?"Menlo, Monaco, 'Courier New', monospace":h.c?"'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'":"Consolas, 'Courier New', monospace",fontWeight:"normal",fontSize:h.d?12:14,lineHeight:0,letterSpacing:0},L={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0},D={inDiffEditor:!1,wordSeparators:s.b,lineNumbersMinChars:5,lineDecorationsWidth:10,readOnly:!1,mouseStyle:"text",disableLayerHinting:!1,automaticLayout:!1,wordWrap:"off",wordWrapColumn:80,wordWrapMinified:!0,wrappingIndent:1,wordWrapBreakBeforeCharacters:"([{‘“〈《「『【〔([{「£¥$£¥+",wordWrapBreakAfterCharacters:" \t})]?|/&,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」",wordWrapBreakObtrusiveCharacters:".",autoClosingBrackets:"languageDefined",autoClosingQuotes:"languageDefined",autoSurround:"languageDefined",autoIndent:!0,dragAndDrop:!0,emptySelectionClipboard:!0,copyWithSyntaxHighlighting:!0,useTabStops:!0,multiCursorModifier:"altKey",multiCursorMergeOverlapping:!0,accessibilitySupport:"auto",showUnused:!0,viewInfo:{extraEditorClassName:"",disableMonospaceOptimizations:!1,rulers:[],ariaLabel:i.a("editorViewAccessibleLabel","Editor content"),renderLineNumbers:1,renderCustomLineNumbers:null,renderFinalNewline:!h.c,selectOnLineNumbers:!0,glyphMargin:!0,revealHorizontalRightPadding:30,roundedSelection:!0,overviewRulerLanes:2,overviewRulerBorder:!0,cursorBlinking:1,mouseWheelZoom:!1,cursorSmoothCaretAnimation:!1,cursorStyle:v.Line,cursorWidth:0,hideCursorInOverviewRuler:!1,scrollBeyondLastLine:!0,scrollBeyondLastColumn:5,smoothScrolling:!1,stopRenderingLineAfter:1e4,renderWhitespace:"none",renderControlCharacters:!1,fontLigatures:!1,renderIndentGuides:!0,highlightActiveIndentGuide:!0,renderLineHighlight:"line",scrollbar:{vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:10,horizontalSliderSize:10,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,mouseWheelScrollSensitivity:1,fastScrollSensitivity:5},minimap:{enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120},fixedOverflowWidgets:!1},contribInfo:{selectionClipboard:!0,hover:{enabled:!0,delay:300,sticky:!0},links:!0,contextmenu:!0,quickSuggestions:{other:!0,comments:!1,strings:!1},quickSuggestionsDelay:10,parameterHints:{enabled:!0,cycle:!1},iconsInSuggestions:!0,formatOnType:!1,formatOnPaste:!1,suggestOnTriggerCharacters:!0,acceptSuggestionOnEnter:"on",acceptSuggestionOnCommitCharacter:!0,wordBasedSuggestions:!0,suggestSelection:"recentlyUsed",suggestFontSize:0,suggestLineHeight:0,tabCompletion:"off",suggest:{filterGraceful:!0,snippets:"inline",snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1},selectionHighlight:!0,occurrencesHighlight:!0,codeLens:!0,folding:!0,foldingStrategy:"auto",showFoldingControls:"mouseover",matchBrackets:!0,find:{seedSearchStringFromSelection:!0,autoFindInSelection:!1,globalFindClipboard:!1,addExtraSpaceOnTop:!0},colorDecorators:!0,lightbulbEnabled:!0,codeActionsOnSave:{},codeActionsOnSaveTimeout:750}}},1423:function(e,t,n){"use strict";t.b=function t(n){if(!n||"object"!=typeof n)return n;if(n instanceof RegExp)return n;var o=Array.isArray(n)?[]:{};Object.keys(n).forEach(function(e){n[e]&&"object"==typeof n[e]?o[e]=t(n[e]):o[e]=n[e]});return o},t.c=function(e){if(!e||"object"!=typeof e)return e;var t=[e];for(;0<t.length;){var n=t.shift();for(var o in Object.freeze(n),n)if(a.call(n,o)){var i=n[o];"object"!=typeof i||Object.isFrozen(i)||t.push(i)}}return e},t.f=function t(n,o,i){void 0===i&&(i=!0);if(!Object(r.h)(n))return o;Object(r.h)(o)&&Object.keys(o).forEach(function(e){e in n?i&&(Object(r.h)(n[e])&&Object(r.h)(o[e])?t(n[e],o[e],i):n[e]=o[e]):n[e]=o[e]});return n},t.d=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(typeof t!=typeof n)return!1;if("object"!=typeof t)return!1;if(Array.isArray(t)!==Array.isArray(n))return!1;var o;var i;if(Array.isArray(t)){if(t.length!==n.length)return!1;for(o=0;o<t.length;o++)if(!e(t[o],n[o]))return!1}else{var r=[];for(i in t)r.push(i);r.sort();var a=[];for(i in n)a.push(i);if(a.sort(),!e(r,a))return!1;for(o=0;o<r.length;o++)if(!e(t[r[o]],n[r[o]]))return!1}return!0},t.a=function(e,t){void 0===t&&(t=!1);t&&(e=e.map(function(e){return e.toLowerCase()}));var n=function(e){for(var t={},n=0,o=e;n<o.length;n++){var i=o[n];t[i]=!0}return t}(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)}},t.e=function(e,t,n){var o=t(e);return void 0===o?n:o};var r=n(1255);var a=Object.prototype.hasOwnProperty},1424:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("codeEditorService")},1425:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),t.i=function(e,t){var n=Object.create(null);for(var o in e)s(n,o,e[o],t);return n},t.b=s,t.h=function(e,t){var n=t.split(".");!function e(t,n){var o=n.shift();if(0===n.length)return void delete t[o];if(-1!==Object.keys(t).indexOf(o)){var i=t[o];"object"!=typeof i||Array.isArray(i)||(e(i,n),0===Object.keys(i).length&&delete t[o])}}(e,n)},t.d=function(e,t,n){var o=t.split("."),i=function(e,t){for(var n=e,o=0,i=t;o<i.length;o++){var r=i[o];if("object"!=typeof n||null===n)return;n=n[r]}return n}(e,o);return void 0===i?n:i},t.c=function(){var e=i.a.as(r.a.Configuration).getConfigurationProperties();return Object.keys(e)},t.e=function(){var e=Object.create(null),t=i.a.as(r.a.Configuration).getConfigurationProperties();for(var n in t){var o=t[n].default;s(e,n,o,function(e){return console.error("Conflict in default settings: "+e)})}return e},t.g=function(e){return e.substring(1,e.length-1)},t.f=function(e,t,n){var o=e.inspect(t),i=e.inspect(n);return void 0!==o.user||void 0!==o.workspace||void 0!==o.workspaceFolder?o.value:void 0!==i.user||void 0!==i.workspace||void 0!==i.workspaceFolder?i.value:o.default};var i=n(1317),o=n(1125),r=n(1586),a=Object(o.c)("configurationService");function s(e,t,n,o){for(var i=t.split("."),r=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 o("Ignoring "+t+" as "+i.slice(0,s+1).join(".")+" is "+JSON.stringify(u))}a=u}"object"==typeof a?a[r]=n:o("Ignoring "+t+" as "+i.join(".")+" is "+JSON.stringify(a))}},1426:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),t._3=h,n.d(t,"t",function(){return g}),n.d(t,"e",function(){return b}),n.d(t,"b",function(){return v}),n.d(t,"_8",function(){return y}),n.d(t,"u",function(){return C}),n.d(t,"w",function(){return A}),n.d(t,"v",function(){return _}),n.d(t,"A",function(){return w}),n.d(t,"C",function(){return x}),n.d(t,"B",function(){return S}),n.d(t,"D",function(){return L}),n.d(t,"F",function(){return D}),n.d(t,"E",function(){return k}),n.d(t,"x",function(){return N}),n.d(t,"z",function(){return I}),n.d(t,"y",function(){return O}),n.d(t,"M",function(){return B}),n.d(t,"N",function(){return T}),n.d(t,"G",function(){return P}),n.d(t,"H",function(){return j}),n.d(t,"R",function(){return R}),n.d(t,"S",function(){return W}),n.d(t,"Q",function(){return z}),n.d(t,"O",function(){return F}),n.d(t,"P",function(){return H}),n.d(t,"I",function(){return V}),n.d(t,"J",function(){return U}),n.d(t,"L",function(){return Z}),n.d(t,"K",function(){return G}),n.d(t,"_1",function(){return K}),n.d(t,"_0",function(){return Y}),n.d(t,"c",function(){return q}),n.d(t,"d",function(){return J}),n.d(t,"_4",function(){return X}),n.d(t,"_6",function(){return Q}),n.d(t,"_7",function(){return $}),n.d(t,"_5",function(){return ee}),n.d(t,"_2",function(){return te}),n.d(t,"U",function(){return ne}),n.d(t,"V",function(){return oe}),n.d(t,"T",function(){return ie}),n.d(t,"Y",function(){return re}),n.d(t,"W",function(){return ae}),n.d(t,"X",function(){return se}),n.d(t,"Z",function(){return le}),n.d(t,"n",function(){return ue}),n.d(t,"o",function(){return ce}),n.d(t,"q",function(){return pe}),n.d(t,"r",function(){return fe}),n.d(t,"p",function(){return ge}),n.d(t,"s",function(){return me}),n.d(t,"g",function(){return ve}),n.d(t,"h",function(){return ye}),n.d(t,"j",function(){return Ce}),n.d(t,"l",function(){return Ae}),n.d(t,"k",function(){return _e}),n.d(t,"m",function(){return we}),n.d(t,"i",function(){return xe}),t.f=Le;var o=n(1317),s=n(1499),i=n(966),r=n(1215),a=n(2070),l=n(1239),u={ColorContribution:"base.contributions.colors"};function c(){this._onDidChangeSchema=new i.a,this.onDidChangeSchema=this._onDidChangeSchema.event,this.colorSchema={type:"object",properties:{}},this.colorReferenceSchema={type:"string",enum:[],enumDescriptions:[]},this.colorsById={}}var d=new(c.prototype.registerColor=function(e,t,n,o,i){void 0===o&&(o=!1);var r={id:e,description:n,defaults:t,needsTransparency:o,deprecationMessage:i};this.colorsById[e]=r;var a={type:"string",description:n,format:"color-hex",default:"#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},c.prototype.resolveDefaultColor=function(e,t){var n=this.colorsById[e];if(n&&n.defaults)return Ne(n.defaults[t.type],t)},c.prototype.getColorSchema=function(){return this.colorSchema},c.prototype.toString=function(){var t=this;return Object.keys(this.colorsById).sort(function(e,t){var n=-1===e.indexOf(".")?0:1,o=-1===t.indexOf(".")?0:1;return n!=o?n-o:e.localeCompare(t)}).map(function(e){return"- `"+e+"`: "+t.colorsById[e].description}).join("\n")},c);function h(e,t,n,o,i){return d.registerColor(e,t,n,o,i)}o.a.add(u.ColorContribution,d);var p,f,g=h("foreground",{dark:"#CCCCCC",light:"#616161",hc:"#FFFFFF"},r.a("foreground","Overall foreground color. This color is only used if not overridden by a component.")),m=(h("errorForeground",{dark:"#F48771",light:"#A1260D",hc:"#F48771"},r.a("errorForeground","Overall foreground color for error messages. This color is only used if not overridden by a component.")),h("focusBorder",{dark:s.a.fromHex("#0E639C").transparent(.8),light:s.a.fromHex("#007ACC").transparent(.4),hc:"#F38518"},r.a("focusBorder","Overall border color for focused elements. This color is only used if not overridden by a component."))),b=h("contrastBorder",{light:null,dark:null,hc:"#6FC3DF"},r.a("contrastBorder","An extra border around elements to separate them from others for greater contrast.")),v=h("contrastActiveBorder",{light:null,dark:null,hc:m},r.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"},r.a("textLinkForeground","Foreground color for links in text.")),h("textCodeBlock.background",{light:"#dcdcdc66",dark:"#0a0a0a66",hc:s.a.black},r.a("textCodeBlockBackground","Background color for code blocks in text.")),h("widget.shadow",{dark:"#000000",light:"#A8A8A8",hc:null},r.a("widgetShadow","Shadow color of widgets such as find/replace inside the editor."))),C=h("input.background",{dark:"#3C3C3C",light:s.a.white,hc:s.a.black},r.a("inputBoxBackground","Input box background.")),A=h("input.foreground",{dark:g,light:g,hc:g},r.a("inputBoxForeground","Input box foreground.")),_=h("input.border",{dark:null,light:null,hc:b},r.a("inputBoxBorder","Input box border.")),w=(h("inputOption.activeBorder",{dark:"#007ACC",light:"#007ACC",hc:v},r.a("inputBoxActiveOptionBorder","Border color of activated options in input fields.")),h("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:s.a.black},r.a("inputValidationInfoBackground","Input validation background color for information severity."))),x=h("inputValidation.infoForeground",{dark:null,light:null,hc:null},r.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),S=h("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:b},r.a("inputValidationInfoBorder","Input validation border color for information severity.")),L=h("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:s.a.black},r.a("inputValidationWarningBackground","Input validation background color for warning severity.")),D=h("inputValidation.warningForeground",{dark:null,light:null,hc:null},r.a("inputValidationWarningForeground","Input validation foreground color for warning severity.")),k=h("inputValidation.warningBorder",{dark:"#B89500",light:"#B89500",hc:b},r.a("inputValidationWarningBorder","Input validation border color for warning severity.")),N=h("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:s.a.black},r.a("inputValidationErrorBackground","Input validation background color for error severity.")),I=h("inputValidation.errorForeground",{dark:null,light:null,hc:null},r.a("inputValidationErrorForeground","Input validation foreground color for error severity.")),O=h("inputValidation.errorBorder",{dark:"#BE1100",light:"#BE1100",hc:b},r.a("inputValidationErrorBorder","Input validation border color for error severity.")),E=h("dropdown.background",{dark:"#3C3C3C",light:s.a.white,hc:s.a.black},r.a("dropdownBackground","Dropdown background.")),M=h("dropdown.foreground",{dark:"#F0F0F0",light:null,hc:s.a.white},r.a("dropdownForeground","Dropdown foreground.")),B=h("list.focusBackground",{dark:"#062F4A",light:"#D6EBFF",hc:null},r.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.")),T=h("list.focusForeground",{dark:null,light:null,hc:null},r.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.")),P=h("list.activeSelectionBackground",{dark:"#094771",light:"#0074E8",hc:null},r.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.")),j=h("list.activeSelectionForeground",{dark:s.a.white,light:s.a.white,hc:null},r.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.")),R=h("list.inactiveSelectionBackground",{dark:"#37373D",light:"#E4E6F1",hc:null},r.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.")),W=h("list.inactiveSelectionForeground",{dark:null,light:null,hc:null},r.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.")),z=h("list.inactiveFocusBackground",{dark:"#313135",light:"#d8dae6",hc:null},r.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.")),F=h("list.hoverBackground",{dark:"#2A2D2E",light:"#F0F0F0",hc:null},r.a("listHoverBackground","List/Tree background when hovering over items using the mouse.")),H=h("list.hoverForeground",{dark:null,light:null,hc:null},r.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),V=h("list.dropBackground",{dark:B,light:B,hc:null},r.a("listDropBackground","List/Tree drag and drop background when moving items around using the mouse.")),U=(h("list.highlightForeground",{dark:"#0097fb",light:"#0066BF",hc:m},r.a("highlight","List/Tree foreground color of the match highlights when searching inside the list/tree.")),h("listFilterWidget.background",{light:"#efc1ad",dark:"#653723",hc:s.a.black},r.a("listFilterWidgetBackground","Background color of the type filter widget in lists and trees."))),Z=h("listFilterWidget.outline",{dark:s.a.transparent,light:s.a.transparent,hc:"#f38518"},r.a("listFilterWidgetOutline","Outline color of the type filter widget in lists and trees.")),G=h("listFilterWidget.noMatchesOutline",{dark:"#BE1100",light:"#BE1100",hc:b},r.a("listFilterWidgetNoMatchesOutline","Outline color of the type filter widget in lists and trees, when there are no matches.")),K=h("pickerGroup.foreground",{dark:"#3794FF",light:"#0066BF",hc:s.a.white},r.a("pickerGroupForeground","Quick picker color for grouping labels.")),Y=h("pickerGroup.border",{dark:"#3F3F46",light:"#CCCEDB",hc:s.a.white},r.a("pickerGroupBorder","Quick picker color for grouping borders.")),q=h("badge.background",{dark:"#4D4D4D",light:"#C4C4C4",hc:s.a.black},r.a("badgeBackground","Badge background color. Badges are small information labels, e.g. for search results count.")),J=h("badge.foreground",{dark:s.a.white,light:"#333",hc:s.a.white},r.a("badgeForeground","Badge foreground color. Badges are small information labels, e.g. for search results count.")),X=h("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},r.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),Q=h("scrollbarSlider.background",{dark:s.a.fromHex("#797979").transparent(.4),light:s.a.fromHex("#646464").transparent(.4),hc:De(b,.6)},r.a("scrollbarSliderBackground","Scrollbar slider background color.")),$=h("scrollbarSlider.hoverBackground",{dark:s.a.fromHex("#646464").transparent(.7),light:s.a.fromHex("#646464").transparent(.7),hc:De(b,.8)},r.a("scrollbarSliderHoverBackground","Scrollbar slider background color when hovering.")),ee=h("scrollbarSlider.activeBackground",{dark:s.a.fromHex("#BFBFBF").transparent(.4),light:s.a.fromHex("#000000").transparent(.6),hc:b},r.a("scrollbarSliderActiveBackground","Scrollbar slider background color when clicked on.")),te=h("progressBar.background",{dark:s.a.fromHex("#0E70C0"),light:s.a.fromHex("#0E70C0"),hc:b},r.a("progressBarBackground","Background color of the progress bar that can show for long running operations.")),ne=h("menu.border",{dark:null,light:null,hc:b},r.a("menuBorder","Border color of menus.")),oe=h("menu.foreground",{dark:M,light:g,hc:M},r.a("menuForeground","Foreground color of menu items.")),ie=h("menu.background",{dark:E,light:E,hc:E},r.a("menuBackground","Background color of menu items.")),re=h("menu.selectionForeground",{dark:j,light:j,hc:j},r.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),ae=h("menu.selectionBackground",{dark:P,light:P,hc:P},r.a("menuSelectionBackground","Background color of the selected menu item in menus.")),se=h("menu.selectionBorder",{dark:null,light:null,hc:v},r.a("menuSelectionBorder","Border color of the selected menu item in menus.")),le=h("menu.separatorBackground",{dark:"#BBBBBB",light:"#888888",hc:b},r.a("menuSeparatorBackground","Color of a separator menu item in menus.")),ue=h("editor.background",{light:"#fffffe",dark:"#1E1E1E",hc:s.a.black},r.a("editorBackground","Editor background color.")),ce=h("editor.foreground",{light:"#333333",dark:"#BBBBBB",hc:s.a.white},r.a("editorForeground","Editor default foreground color.")),de=h("editorWidget.background",{dark:"#252526",light:"#F3F3F3",hc:"#0C141F"},r.a("editorWidgetBackground","Background color of editor widgets, such as find/replace.")),he=h("editorWidget.border",{dark:"#454545",light:"#C8C8C8",hc:b},r.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.")),pe=(h("editorWidget.resizeBorder",{light:null,dark:null,hc:null},r.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.")),h("editor.selectionBackground",{light:"#ADD6FF",dark:"#264F78",hc:"#f3f518"},r.a("editorSelectionBackground","Color of the editor selection."))),fe=h("editor.selectionForeground",{light:null,dark:null,hc:"#000000"},r.a("editorSelectionForeground","Color of the selected text for high contrast.")),ge=h("editor.inactiveSelectionBackground",{light:De(pe,.5),dark:De(pe,.5),hc:De(pe,.5)},r.a("editorInactiveSelection","Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."),!0),me=h("editor.selectionHighlightBackground",{light:ke(pe,ue,.3,.6),dark:ke(pe,ue,.3,.6),hc:null},r.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),be=(h("editor.selectionHighlightBorder",{light:null,dark:null,hc:v},r.a("editorSelectionHighlightBorder","Border color for regions with the same content as the selection.")),h("editor.findMatchBackground",{light:"#A8AC94",dark:"#515C6A",hc:null},r.a("editorFindMatch","Color of the current search match.")),h("editor.findMatchHighlightBackground",{light:"#EA5C0055",dark:"#EA5C0055",hc:null},r.a("findMatchHighlight","Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."),!0),h("editor.findRangeHighlightBackground",{dark:"#3a3d4166",light:"#b4b4b44d",hc:null},r.a("findRangeHighlight","Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),h("editor.findMatchBorder",{light:null,dark:null,hc:v},r.a("editorFindMatchBorder","Border color of the current search match.")),h("editor.findMatchHighlightBorder",{light:null,dark:null,hc:v},r.a("findMatchHighlightBorder","Border color of the other search matches.")),h("editor.findRangeHighlightBorder",{dark:null,light:null,hc:De(v,.4)},r.a("findRangeHighlightBorder","Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."),!0),h("editor.hoverHighlightBackground",{light:"#ADD6FF26",dark:"#264f7840",hc:"#ADD6FF26"},r.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),h("editorHoverWidget.background",{light:de,dark:de,hc:de},r.a("hoverBackground","Background color of the editor hover."))),ve=(h("editorHoverWidget.border",{light:he,dark:he,hc:he},r.a("hoverBorder","Border color of the editor hover.")),h("editorHoverWidget.statusBarBackground",{dark:(p=be,f=.2,function(e){var t=Ne(p,e);if(t)return t.lighten(f)}),light:Le(be,.05),hc:de},r.a("statusBarBackground","Background color of the editor hover status bar.")),h("editorLink.activeForeground",{dark:"#4E94CE",light:s.a.blue,hc:s.a.cyan},r.a("activeLinkForeground","Color of active links.")),new s.a(new s.b(155,185,85,.2))),ye=new s.a(new s.b(255,0,0,.2)),Ce=h("diffEditor.insertedTextBackground",{dark:ve,light:ve,hc:null},r.a("diffEditorInserted","Background color for text that got inserted. The color must not be opaque so as not to hide underlying decorations."),!0),Ae=h("diffEditor.removedTextBackground",{dark:ye,light:ye,hc:null},r.a("diffEditorRemoved","Background color for text that got removed. The color must not be opaque so as not to hide underlying decorations."),!0),_e=h("diffEditor.insertedTextBorder",{dark:null,light:null,hc:"#33ff2eff"},r.a("diffEditorInsertedOutline","Outline color for the text that got inserted.")),we=h("diffEditor.removedTextBorder",{dark:null,light:null,hc:"#FF008F"},r.a("diffEditorRemovedOutline","Outline color for text that got removed.")),xe=h("diffEditor.border",{dark:null,light:null,hc:b},r.a("diffEditorBorder","Border color between the two text editors.")),Se=(h("editor.snippetTabstopHighlightBackground",{dark:new s.a(new s.b(124,124,124,.3)),light:new s.a(new s.b(10,50,100,.2)),hc:new s.a(new s.b(124,124,124,.3))},r.a("snippetTabstopHighlightBackground","Highlight background color of a snippet tabstop.")),h("editor.snippetTabstopHighlightBorder",{dark:null,light:null,hc:null},r.a("snippetTabstopHighlightBorder","Highlight border color of a snippet tabstop.")),h("editor.snippetFinalTabstopHighlightBackground",{dark:null,light:null,hc:null},r.a("snippetFinalTabstopHighlightBackground","Highlight background color of the final tabstop of a snippet.")),h("editor.snippetFinalTabstopHighlightBorder",{dark:"#525252",light:new s.a(new s.b(10,50,100,.5)),hc:"#525252"},r.a("snippetFinalTabstopHighlightBorder","Highlight border color of the final stabstop of a snippet.")),new s.a(new s.b(246,185,77,.7)));h("editorOverviewRuler.findMatchForeground",{dark:Se,light:Se,hc:Se},r.a("overviewRulerFindMatchForeground","Overview ruler marker color for find matches. The color must not be opaque so as not to hide underlying decorations."),!0),h("editorOverviewRuler.selectionHighlightForeground",{dark:"#A0A0A0CC",light:"#A0A0A0CC",hc:"#A0A0A0CC"},r.a("overviewRulerSelectionHighlightForeground","Overview ruler marker color for selection highlights. The color must not be opaque so as not to hide underlying decorations."),!0);function Le(n,o){return function(e){var t=Ne(n,e);if(t)return t.darken(o)}}function De(n,o){return function(e){var t=Ne(n,e);if(t)return t.transparent(o)}}function ke(o,i,r,a){return function(e){var t=Ne(o,e);if(t){var n=Ne(i,e);return n?t.isDarkerThan(n)?s.a.getLighterColor(t,n,r).transparent(a):s.a.getDarkerColor(t,n,r).transparent(a):t.transparent(r*a)}}}function Ne(e,t){if(null!==e)return"string"==typeof e?"#"===e[0]?s.a.fromHex(e):t.getColor(e):e instanceof s.a?e:"function"==typeof e?e(t):void 0}var Ie="vscode://schemas/workbench-colors",Oe=o.a.as(a.a.JSONContribution);Oe.registerSchema(Ie,d.getColorSchema());var Ee=new l.c(function(){return Oe.notifySchemaChanged(Ie)},200);d.onDidChangeSchema(function(){Ee.isScheduled()||Ee.schedule()})},1452:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".ant-checkbox-group>div .boardsList{padding:10px 0 20px!important}.ant-checkbox-group>div:first-child .boardsList{border-top:none}.boardsList .contentSection{-ms-flex:1 1;flex:1 1;margin-left:15px}.ant-select-selection--single,.ant-select-selection__rendered{height:40px;line-height:40px}.ant-input:focus+.ant-input-group-addon{background-color:#fff!important}.ant-input-group-addon{color:#666!important;font-size:12px;border:1px solid #d9d9d9!important;border-left:none!important}.courseForm .ant-form-item-label{margin-left:unset}.TopicDetailTable .topHead{background-color:#f5f5f5;height:56px;color:#666;padding:0 30px}.TopicDetailTable .bottomBody li span,.TopicDetailTable .topHead span{display:block;float:left;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;display:-webkit-flex;height:56px}.TopicDetailTable .bottomBody{padding:0 30px}.TopicDetailTable .bottomBody li{border-bottom:1px solid #eee;clear:both}.TopicDetailTable .bottomBody li:last-child{border-bottom:none}.maxnamewidth100,.maxnamewidth110{max-width:100px}.maxnamewidth100,.maxnamewidth110,.maxnamewidth120{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.maxnamewidth120{max-width:120px}.maxnamewidth200{max-width:200px}.maxnamewidth145,.maxnamewidth200{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default}.maxnamewidth145{max-width:145px}.ysyslxh{background:#fafafa}.z666{color:#666;font-size:14px}.z000{color:#000;font-size:16px}.pd30bt{padding:10px 30px 0}.bor-reds,.bor-reds input{border:1px solid red!important;border-radius:1px!important;border-top-left-radius:1px!important;border-top-right-radius:1px!important;border-bottom-right-radius:1px!important;border-bottom-left-radius:1px!important}.myslHeight{height:20px;min-height:20px}.maxnamewidth340{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;cursor:default;width:340px;max-width:340px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/src/modules/courses/shixunHomework/style.css"],names:[],mappings:"AAAA,oCAEE,6BAAgC,CACjC,AACD,gDACE,eAAiB,CAClB,AACD,4BACE,aAAc,AACV,SAAU,AACd,gBAAkB,CACnB,AAGD,8DACE,YAAa,AACb,gBAAkB,CACnB,AAED,wCACE,+BAAiC,CAClC,AACD,uBACE,qBAAsB,AACtB,eAAgB,AAChB,mCAAoC,AACpC,0BAA4B,CAC7B,AAED,iCACE,iBAAmB,CACpB,AAGD,2BAA2B,yBAA0B,YAAa,WAAe,cAAgB,CAAC,AAClG,sEAAsE,cAAe,WAAY,qBAAsB,uBAAwB,sBAAuB,mBAAoB,qBAAsB,WAAa,CAAC,AAC9N,8BAA8B,cAAgB,CAAC,AAC/C,iCAAiC,6BAA8B,UAAY,CAAC,AAC5E,4CAA4C,kBAAoB,CAAC,AAUjE,kCACE,eAAiB,CAMlB,AAED,mDAPE,gBAAgB,AAChB,0BAA0B,AACvB,uBAAuB,AAC1B,mBAAmB,AACnB,cAAgB,CAUjB,AAPD,iBACE,eAAiB,CAMlB,AACD,iBACE,eAAiB,CAMlB,AASD,kCAdE,gBAAgB,AAChB,0BAA0B,AACvB,uBAAuB,AAC1B,mBAAmB,AACnB,cAAgB,CAiBjB,AAPD,iBACE,eAAiB,CAMlB,AACD,SACE,kBAAoB,CACrB,AAED,MACI,WAAY,AACZ,cAAe,CAClB,AACD,MACI,WAAY,AACZ,cAAe,CAClB,AAED,QACI,mBAA4B,CAC/B,AASD,0BACE,+BAAmC,AACnC,4BAA6B,AAC7B,qCAAsC,AACtC,sCAAuC,AACvC,yCAA0C,AAC1C,uCAAyC,CAC1C,AAED,YACE,YAAa,AACb,eAAiB,CAClB,AAED,iBAEE,gBAAiB,AACjB,0BAA2B,AACxB,uBAAwB,AAC3B,mBAAoB,AACpB,eAAgB,AAChB,YAAa,AACb,eAAiB,CAClB",file:"style.css",sourcesContent:[".ant-checkbox-group > div .boardsList{\n /* border-top: 1px solid #ebebeb; */\n padding:10px 0px 20px!important;\n}\n.ant-checkbox-group > div:first-child .boardsList{\n border-top: none;\n}\n.boardsList .contentSection {\n -ms-flex: 1 1;\n flex: 1 1;\n margin-left: 15px;\n}\n\n\n.ant-select-selection--single,.ant-select-selection__rendered{\n height: 40px;\n line-height: 40px;\n}\n\n.ant-input:focus + .ant-input-group-addon{\n background-color: #fff!important;\n}\n.ant-input-group-addon{\n color: #666!important;\n font-size: 12px;\n border: 1px solid #d9d9d9!important;\n border-left: none!important;\n}\n\n.courseForm .ant-form-item-label{\n margin-left: unset;\n}\n\n/* 毕设选题列表 */\n.TopicDetailTable .topHead{background-color: #F5F5F5;height: 56px;color: #666666;padding:0px 30px}\n.TopicDetailTable .topHead span,.TopicDetailTable .bottomBody li span{display: block;float: left;-ms-flex-pack: center;justify-content: center;-ms-flex-align: center;align-items: center;display: -webkit-flex;height: 56px;}\n.TopicDetailTable .bottomBody{padding:0px 30px}\n.TopicDetailTable .bottomBody li{border-bottom: 1px solid #eee;clear: both;}\n.TopicDetailTable .bottomBody li:last-child{border-bottom: none;}\n\n.maxnamewidth100{\n max-width: 100px;\n overflow:hidden;\n -o-text-overflow:ellipsis;\n text-overflow:ellipsis;\n white-space:nowrap;\n cursor: default;\n}\n.maxnamewidth110{\n max-width: 100px;\n overflow:hidden;\n -o-text-overflow:ellipsis;\n text-overflow:ellipsis;\n white-space:nowrap;\n cursor: default;\n}\n\n.maxnamewidth120 {\n max-width: 120px;\n overflow: hidden;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: default;\n}\n.maxnamewidth200{\n max-width: 200px;\n overflow:hidden;\n -o-text-overflow:ellipsis;\n text-overflow:ellipsis;\n white-space:nowrap;\n cursor: default;\n}\n.maxnamewidth145{\n max-width: 145px;\n overflow:hidden;\n -o-text-overflow:ellipsis;\n text-overflow:ellipsis;\n white-space:nowrap;\n cursor: default;\n}\n.maxnamewidth145{\n max-width: 145px;\n overflow:hidden;\n -o-text-overflow:ellipsis;\n text-overflow:ellipsis;\n white-space:nowrap;\n cursor: default;\n}\n.ysyslxh{\n background: #fafafa;\n}\n\n.z666{\n color: #666;\n font-size:14px;\n}\n.z000{\n color: #000;\n font-size:16px;\n}\n\n.pd30bt{\n padding: 10px 30px 0px 30px;\n}\n.bor-reds{\n border:1px solid #FF0000!important;\n border-radius: 1px!important;\n border-top-left-radius: 1px!important;\n border-top-right-radius: 1px!important;\n border-bottom-right-radius: 1px!important;\n border-bottom-left-radius: 1px!important;\n}\n.bor-reds input {\n border:1px solid #FF0000!important;\n border-radius: 1px!important;\n border-top-left-radius: 1px!important;\n border-top-right-radius: 1px!important;\n border-bottom-right-radius: 1px!important;\n border-bottom-left-radius: 1px!important;\n}\n\n.myslHeight{\n height: 20px;\n min-height: 20px;\n}\n\n.maxnamewidth340 {\n max-width: 340px;\n overflow: hidden;\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: default;\n width: 340px;\n max-width: 340px;\n}\n"],sourceRoot:""}])},1462:function(e,t,n){"use strict";t.e=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},t.d=function(e){var n=[];return e.forEach(function(e,t){return n.push(t)}),n},n.d(t,"c",function(){return c}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return b});var o,i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var r=(a.prototype.reset=function(e){return this._value=e,this._pos=0,this},a.prototype.next=function(){return this._pos+=1,this},a.prototype.hasNext=function(){return this._pos<this._value.length-1},a.prototype.cmp=function(e){return e.charCodeAt(0)-this._value.charCodeAt(this._pos)},a.prototype.value=function(){return this._value[this._pos]},a);function a(){this._value="",this._pos=0}var s=(l.prototype.reset=function(e){return this._value=e.replace(/\\$|\/$/,""),this._from=0,this._to=0,this.next()},l.prototype.hasNext=function(){return this._to<this._value.length},l.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||92===t){if(!e)break;this._from++}else e=!1}return this},l.prototype.cmp=function(e){for(var t=0,n=e.length,o=this._from;t<n&&o<this._to;){var i=e.charCodeAt(t)-this._value.charCodeAt(o);if(0!=i)return i;t+=1,o+=1}return n===this._to-this._from?0:t<n?-1:1},l.prototype.value=function(){return this._value.substring(this._from,this._to)},l);function l(){}var u=function(){},c=(d.forPaths=function(){return new d(new s)},d.forStrings=function(){return new d(new r)},d.prototype.clear=function(){this._root=void 0},d.prototype.set=function(e,t){var n,o=this._iter.reset(e);for(this._root||(this._root=new u,this._root.segment=o.value()),n=this._root;;){var i=o.cmp(n.segment);if(0<i)n.left||(n.left=new u,n.left.segment=o.value()),n=n.left;else if(i<0)n.right||(n.right=new u,n.right.segment=o.value()),n=n.right;else{if(!o.hasNext())break;o.next(),n.mid||(n.mid=new u,n.mid.segment=o.value()),n=n.mid}}var r=n.value;return n.value=t,n.key=e,r},d.prototype.get=function(e){for(var t=this._iter.reset(e),n=this._root;n;){var o=t.cmp(n.segment);if(0<o)n=n.left;else if(o<0)n=n.right;else{if(!t.hasNext())break;t.next(),n=n.mid}}return n?n.value:void 0},d.prototype.findSubstr=function(e){for(var t=this._iter.reset(e),n=this._root,o=void 0;n;){var i=t.cmp(n.segment);if(0<i)n=n.left;else if(i<0)n=n.right;else{if(!t.hasNext())break;t.next(),o=n.value||o,n=n.mid}}return n&&n.value||o},d.prototype.forEach=function(e){this._forEach(this._root,e)},d.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))},d);function d(e){this._iter=e}var h=(p.prototype.set=function(e,t){this.map.set(this.toKey(e),t)},p.prototype.get=function(e){return this.map.get(this.toKey(e))},p.prototype.toKey=function(e){var t=e.toString();return this.ignoreCase&&(t=t.toLowerCase()),t},p);function p(){this.map=new Map,this.ignoreCase=!1}var f=(g.prototype.clear=function(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0},Object.defineProperty(g.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),g.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},g.prototype.set=function(e,t,n){void 0===n&&(n=0);var o=this._map.get(e);if(o)o.value=t,0!==n&&this.touch(o,n);else{switch(o={key:e,value:t,next:void 0,previous:void 0},n){case 0:this.addItemLast(o);break;case 1:this.addItemFirst(o);break;case 2:default:this.addItemLast(o)}this._map.set(e,o),this._size++}},g.prototype.forEach=function(e,t){for(var n=this._head;n;)t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),n=n.next},g.prototype.trimOld=function(e){if(!(e>=this.size))if(0!==e){for(var t=this._head,n=this.size;t&&e<n;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0)}else this.clear()},g.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},g.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},g.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,o=e.previous;e===this._tail?(o.next=void 0,this._tail=o):(n.previous=o).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,o=e.previous,e===this._head?(n.previous=void 0,this._head=n):(n.previous=o).next=n,e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}},g.prototype.toJSON=function(){var n=[];return this.forEach(function(e,t){n.push([t,e])}),n},g);function g(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}var m,b=(i(v,m=f),v.prototype.get=function(e){return m.prototype.get.call(this,e,2)},v.prototype.set=function(e,t){m.prototype.set.call(this,e,t,2),this.checkTrim()},v.prototype.checkTrim=function(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))},v);function v(e,t){void 0===t&&(t=1);var n=m.call(this)||this;return n._limit=e,n._ratio=Math.min(Math.max(0,t),1),n}},1463:function(e,t,n){"use strict";t.b=function(){p.INSTANCE.clearCache()},n.d(t,"a",function(){return m});var o,L=n(1304),i=n(966),r=n(868),a=n(1134),D=n(2379),s=n(2380),l=n(2069),k=n(1773),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(d.prototype.has=function(e){var t=e.getId();return!!this._values[t]},d.prototype.get=function(e){var t=e.getId();return this._values[t]},d.prototype.put=function(e,t){var n=e.getId();this._keys[n]=e,this._values[n]=t},d.prototype.remove=function(e){var t=e.getId();delete this._keys[t],delete this._values[t]},d.prototype.getValues=function(){var t=this;return Object.keys(this._keys).map(function(e){return t._values[e]})},d);function d(){this._keys=Object.create(null),this._values=Object.create(null)}var h,p=(h=r.a,u(f,h),f.prototype.dispose=function(){-1!==this._evictUntrustedReadingsTimeout&&(clearTimeout(this._evictUntrustedReadingsTimeout),this._evictUntrustedReadingsTimeout=-1),h.prototype.dispose.call(this)},f.prototype.clearCache=function(){this._cache=new c,this._onDidChange.fire()},f.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))},f.prototype._evictUntrustedReadings=function(){for(var e=this._cache.getValues(),t=!1,n=0,o=e.length;n<o;n++){var i=e[n];i.isTrusted||(t=!0,this._cache.remove(i))}t&&this._onDidChange.fire()},f.prototype.readConfiguration=function(e){if(!this._cache.has(e)){var t=f._actualReadConfiguration(e);(t.typicalHalfwidthCharacterWidth<=2||t.typicalFullwidthCharacterWidth<=2||t.spaceWidth<=2||t.maxDigitWidth<=2)&&(t=new k.b({zoomLevel:L.c(),fontFamily:t.fontFamily,fontWeight:t.fontWeight,fontSize:t.fontSize,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing,isMonospace:t.isMonospace,typicalHalfwidthCharacterWidth:Math.max(t.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(t.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:t.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(t.spaceWidth,5),maxDigitWidth:Math.max(t.maxDigitWidth,5)},!1)),this._writeToCache(e,t)}return this._cache.get(e)},f.createRequest=function(e,t,n,o){var i=new D.a(e,t);return n.push(i),o&&o.push(i),i},f._actualReadConfiguration=function(e){var t=[],n=[],o=this.createRequest("n",0,t,n),i=this.createRequest("",0,t,null),r=this.createRequest(" ",0,t,n),a=this.createRequest("0",0,t,n),s=this.createRequest("1",0,t,n),l=this.createRequest("2",0,t,n),u=this.createRequest("3",0,t,n),c=this.createRequest("4",0,t,n),d=this.createRequest("5",0,t,n),h=this.createRequest("6",0,t,n),p=this.createRequest("7",0,t,n),f=this.createRequest("8",0,t,n),g=this.createRequest("9",0,t,n),m=this.createRequest("→",0,t,n),b=this.createRequest("→",0,t,null);this.createRequest("·",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),Object(D.b)(e,t);for(var v=Math.max(a.width,s.width,l.width,u.width,c.width,d.width,h.width,p.width,f.width,g.width),y=!0,C=n[0].width,A=1,_=n.length;A<_;A++){var w=C-n[A].width;if(w<-.001||.001<w){y=!1;break}}var x=!0;y&&b.width!==C&&(x=!1),b.width>m.width&&(x=!1);var S=2e3<L.b();return new k.b({zoomLevel:L.c(),fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:y,typicalHalfwidthCharacterWidth:o.width,typicalFullwidthCharacterWidth:i.width,canUseHalfwidthRightwardsArrow:x,spaceWidth:r.width,maxDigitWidth:v},S)},f.INSTANCE=new f,f);function f(){var e=h.call(this)||this;return e._onDidChange=e._register(new i.a),e.onDidChange=e._onDidChange.event,e._cache=new c,e._evictUntrustedReadingsTimeout=-1,e}var g,m=(g=l.a,u(b,g),b.applyFontInfoSlow=function(e,t){e.style.fontFamily=t.getMassagedFontFamily(),e.style.fontWeight=t.fontWeight,e.style.fontSize=t.fontSize+"px",e.style.lineHeight=t.lineHeight+"px",e.style.letterSpacing=t.letterSpacing+"px"},b.applyFontInfo=function(e,t){e.setFontFamily(t.getMassagedFontFamily()),e.setFontWeight(t.fontWeight),e.setFontSize(t.fontSize),e.setLineHeight(t.lineHeight),e.setLetterSpacing(t.letterSpacing)},b.prototype._onReferenceDomElementSizeChanged=function(){this._recomputeOptions()},b.prototype._onCSSBasedConfigurationChanged=function(){this._recomputeOptions()},b.prototype.observeReferenceElement=function(e){this._elementSizeObserver.observe(e)},b.prototype.dispose=function(){g.prototype.dispose.call(this)},b.prototype._getExtraEditorClassName=function(){var e="";return L.l||L.n||(e+="no-user-select "),a.d&&(e+="mac "),e},b.prototype._getEnvConfiguration=function(){return{extraEditorClassName:this._getExtraEditorClassName(),outerWidth:this._elementSizeObserver.getWidth(),outerHeight:this._elementSizeObserver.getHeight(),emptySelectionClipboard:L.m||L.i,pixelRatio:L.a(),zoomLevel:L.c(),accessibilitySupport:this.accessibilityService.getAccessibilitySupport()}},b.prototype.readConfiguration=function(e){return p.INSTANCE.readConfiguration(e)},b);function b(e,t,n){void 0===t&&(t=null);var o=g.call(this,e)||this;return o.accessibilityService=n,o._elementSizeObserver=o._register(new s.a(t,function(){return o._onReferenceDomElementSizeChanged()})),o._register(p.INSTANCE.onDidChange(function(){return o._onCSSBasedConfigurationChanged()})),o._validatedOptions.automaticLayout&&o._elementSizeObserver.startObserving(),o._register(L.o(function(e){return o._recomputeOptions()})),o._register(o.accessibilityService.onDidChangeAccessibilitySupport(function(){return o._recomputeOptions()})),o._recomputeOptions(),o}},1491:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o=n(1304),i=n(1543),r=n(1134),a=new Array(230),s=new Array(112);!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),o.j?t(91,57):o.i?(t(59,80),t(107,81),t(109,83),r.d&&t(224,57)):o.m&&(t(91,57),r.d?t(93,57):t(92,57))}();var l=r.d?256:2048,u=r.d?2048:256,c=(d.prototype.preventDefault=function(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()},d.prototype.stopPropagation=function(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()},d.prototype.toKeybinding=function(){return this._asRuntimeKeybinding},d.prototype.equals=function(e){return this._asKeybinding===e},d.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|=l),this.altKey&&(t|=512),this.shiftKey&&(t|=1024),this.metaKey&&(t|=u),t|=e},d.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)},d);function d(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=function(e){if(e.charCode){var t=String.fromCharCode(e.charCode).toUpperCase();return i.b.fromString(t)}return a[e.keyCode]||0}(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()}},1492:function(e,t,n){"use strict";t.c=function(e){return e&&"string"==typeof e.id},n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var o={ICodeEditor:"vs.editor.ICodeEditor",IDiffEditor:"vs.editor.IDiffEditor"},i={ExecuteCommand:"executeCommand",ExecuteCommands:"executeCommands",Type:"type",ReplacePreviousChar:"replacePreviousChar",CompositionStart:"compositionStart",CompositionEnd:"compositionEnd",Paste:"paste",Cut:"cut",Undo:"undo",Redo:"redo"}},1493:function(e,t,n){"use strict";var o,i;n.d(t,"c",function(){return o}),n.d(t,"d",function(){return r}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return l}),(i=o=o||{})[i.Left=1]="Left",i[i.Center=2]="Center",i[i.Right=4]="Right",i[i.Full=7]="Full";var r=(a.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},a.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}},a);function a(e){this.tabSize=0|e.tabSize,this.indentSize=0|e.tabSize,this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace)}var s=function(e,t){this.range=e,this.matches=t},l=function(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}},1494: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}),t.d=function(e,t,n,o){return new r.b([new r.a(o,"",e)],n)},t.e=function(e,t,n,o){var i=new Uint32Array(2);return i[0]=o,i[1]=(e<<0|16384|2<<23)>>>0,new r.c(i,null===n?a:n)};var r=n(1666),o=n(1251);function i(){}var a=new(i.prototype.clone=function(){return this},i.prototype.equals=function(e){return this===e},i),s="vs.editor.nullMode",l=new o.o(s,0)},1495:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var h=n(1222),o=n(966),r=n(868),y=n(989),i=n(988),a=n(1665),C=n(1585),A=n(1775),s=n(2352),l=n(2353),u=n(2354),c=n(2355),d=n(1776),p=(Object.defineProperty(f.prototype,"brackets",{get:function(){return!this._brackets&&this._conf.brackets&&(this._brackets=new d.b(this._languageIdentifier,this._conf.brackets)),this._brackets},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"electricCharacter",{get:function(){if(!this._electricCharacter){var e=[];this._conf.autoClosingPairs?e=this._conf.autoClosingPairs:this._conf.brackets&&(e=this._conf.brackets.map(function(e){return{open:e[0],close:e[1]}})),this._electricCharacter=new l.a(this.brackets,e,this._conf.__electricCharacterSupport)}return this._electricCharacter},enumerable:!0,configurable:!0}),f._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}},f._handleOnEnter=function(e){var t={},n=!0;return e.brackets&&(n=!1,t.brackets=e.brackets),e.indentationRules&&(n=!1),e.onEnterRules&&(n=!1,t.regExpRules=e.onEnterRules),n?null:new c.a(t)},f._handleComments=function(e){var t=e.comments;if(!t)return null;var n={};if(t.lineComment&&(n.lineCommentToken=t.lineComment),t.blockComment){var o=t.blockComment,i=o[0],r=o[1];n.blockCommentStartToken=i,n.blockCommentEndToken=r}return n},f);function f(e,t,n){this._languageIdentifier=e,this._brackets=null;var o=this._electricCharacter=null;t&&(o=t._conf),this._conf=f._mergeConf(o,n),this.onEnter=f._handleOnEnter(this._conf),this.comments=f._handleComments(this._conf),this.characterPair=new s.a(this._conf),this.wordDefinition=this._conf.wordPattern||a.a,this.indentationRules=this._conf.indentationRules,this._conf.indentationRules&&(this.indentRulesSupport=new u.a(this._conf.indentationRules)),this.foldingRules=this._conf.folding||{}}function g(){this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event,this._entries=[]}var m=new(g.prototype.register=function(e,t){var n=this,o=this._getRichEditSupport(e.id),i=new p(e,o,t);return this._entries[e.id]=i,this._onDidChange.fire({languageIdentifier:e}),Object(r.e)(function(){n._entries[e.id]===i&&(n._entries[e.id]=o,n._onDidChange.fire({languageIdentifier:e}))})},g.prototype._getRichEditSupport=function(e){return this._entries[e]||null},g.prototype._getElectricCharacterSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.electricCharacter||null},g.prototype.getElectricCharacters=function(e){var t=this._getElectricCharacterSupport(e);return t?t.getElectricCharacters():[]},g.prototype.onElectricCharacter=function(e,t,n){var o=Object(A.a)(t,n-1),i=this._getElectricCharacterSupport(o.languageId);return i?i.onElectricCharacter(e,o,n-o.firstCharOffset):null},g.prototype.getComments=function(e){var t=this._getRichEditSupport(e);return t&&t.comments||null},g.prototype._getCharacterPairSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.characterPair||null},g.prototype.getAutoClosingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoClosingPairs():[]},g.prototype.getAutoCloseBeforeSet=function(e){var t=this._getCharacterPairSupport(e);return t?t.getAutoCloseBeforeSet():s.a.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED},g.prototype.getSurroundingPairs=function(e){var t=this._getCharacterPairSupport(e);return t?t.getSurroundingPairs():[]},g.prototype.shouldAutoClosePair=function(e,t,n){var o=Object(A.a)(t,n-1),i=this._getCharacterPairSupport(o.languageId);return!!i&&i.shouldAutoClosePair(e,o,n-o.firstCharOffset)},g.prototype.getWordDefinition=function(e){var t=this._getRichEditSupport(e);return t?Object(a.c)(t.wordDefinition||null):Object(a.c)(null)},g.prototype.getFoldingRules=function(e){var t=this._getRichEditSupport(e);return t?t.foldingRules:{}},g.prototype.getIndentRulesSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.indentRulesSupport||null},g.prototype.getPrecedingValidLine=function(e,t,n){var o=e.getLanguageIdAtPosition(t,0);if(1<t){var i=void 0,r=-1;for(i=t-1;1<=i;i--){if(e.getLanguageIdAtPosition(i,0)!==o)return r;var a=e.getLineContent(i);if(!n.shouldIgnore(a)&&!/^\s+$/.test(a)&&""!==a)return i;r=i}}return-1},g.prototype.getInheritIndentForLine=function(e,t,n){void 0===n&&(n=!0);var o=this.getIndentRulesSupport(e.getLanguageIdentifier().id);if(!o)return null;if(t<=1)return{indentation:"",action:null};var i=this.getPrecedingValidLine(e,t,o);if(i<0)return null;if(i<1)return{indentation:"",action:null};var r=e.getLineContent(i);if(o.shouldIncrease(r)||o.shouldIndentNextLine(r))return{indentation:y.p(r),action:C.a.Indent,line:i};if(o.shouldDecrease(r))return{indentation:y.p(r),action:null,line:i};if(1===i)return{indentation:y.p(e.getLineContent(i)),action:null,line:i};var a=i-1,s=o.getIndentMetadata(e.getLineContent(a));if(!(3&s)&&4&s){for(var l=0,u=a-1;0<u;u--)if(!o.shouldIndentNextLine(e.getLineContent(u))){l=u;break}return{indentation:y.p(e.getLineContent(l+1)),action:null,line:l+1}}if(n)return{indentation:y.p(e.getLineContent(i)),action:null,line:i};for(u=i;0<u;u--){var c=e.getLineContent(u);if(o.shouldIncrease(c))return{indentation:y.p(c),action:C.a.Indent,line:u};if(o.shouldIndentNextLine(c)){l=0;for(var d=u-1;0<d;d--)if(!o.shouldIndentNextLine(e.getLineContent(u))){l=d;break}return{indentation:y.p(e.getLineContent(l+1)),action:null,line:l+1}}if(o.shouldDecrease(c))return{indentation:y.p(c),action:null,line:u}}return{indentation:y.p(e.getLineContent(1)),action:null,line:1}},g.prototype.getGoodIndentForLine=function(e,t,n,o){var i=this.getIndentRulesSupport(t);if(!i)return null;var r=this.getInheritIndentForLine(e,n),a=e.getLineContent(n);if(r){var s=r.line;if(void 0!==s){var l=this._getOnEnterSupport(t),u=null;try{l&&(u=l.onEnter("",e.getLineContent(s),""))}catch(e){Object(h.e)(e)}if(u){var c=y.p(e.getLineContent(s));return u.removeText&&(c=c.substring(0,c.length-u.removeText)),u.indentAction===C.a.Indent||u.indentAction===C.a.IndentOutdent?c=o.shiftIndent(c):u.indentAction===C.a.Outdent&&(c=o.unshiftIndent(c)),i.shouldDecrease(a)&&(c=o.unshiftIndent(c)),u.appendText&&(c+=u.appendText),y.p(c)}}return i.shouldDecrease(a)?r.action===C.a.Indent?r.indentation:o.unshiftIndent(r.indentation):r.action===C.a.Indent?o.shiftIndent(r.indentation):r.indentation}return null},g.prototype.getIndentForEnter=function(n,t,e,o){n.forceTokenization(t.startLineNumber);var i,r,a=n.getLineTokens(t.startLineNumber),s=Object(A.a)(a,t.startColumn-1),l=s.getLineContent(),u=!1;i=0<s.firstCharOffset&&a.getLanguageId(0)!==s.languageId?(u=!0,l.substr(0,t.startColumn-1-s.firstCharOffset)):a.getLineContent().substring(0,t.startColumn-1),r=t.isEmpty()?l.substr(t.startColumn-1-s.firstCharOffset):this.getScopedLineTokens(n,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-s.firstCharOffset);var c=this.getIndentRulesSupport(s.languageId);if(!c)return null;var d=i,h=y.p(i);if(!o&&!u){var p=this.getInheritIndentForLine(n,t.startLineNumber);c.shouldDecrease(i)&&p&&(h=p.indentation,p.action!==C.a.Indent&&(h=e.unshiftIndent(h))),d=h+y.y(y.y(i," "),"\t")}var f={getLineTokens:function(e){return n.getLineTokens(e)},getLanguageIdentifier:function(){return n.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,t){return n.getLanguageIdAtPosition(e,t)},getLineContent:function(e){return e===t.startLineNumber?d:n.getLineContent(e)}},g=y.p(a.getLineContent()),m=this.getInheritIndentForLine(f,t.startLineNumber+1);if(!m){var b=u?g:h;return{beforeEnter:b,afterEnter:b}}var v=u?g:m.indentation;return m.action===C.a.Indent&&(v=e.shiftIndent(v)),c.shouldDecrease(r)&&(v=e.unshiftIndent(v)),{beforeEnter:u?g:h,afterEnter:v}},g.prototype.getIndentActionForType=function(e,t,n,o){var i=this.getScopedLineTokens(e,t.startLineNumber,t.startColumn),r=this.getIndentRulesSupport(i.languageId);if(!r)return null;var a,s=i.getLineContent(),l=s.substr(0,t.startColumn-1-i.firstCharOffset);if(a=t.isEmpty()?s.substr(t.startColumn-1-i.firstCharOffset):this.getScopedLineTokens(e,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-i.firstCharOffset),r.shouldDecrease(l+a)||!r.shouldDecrease(l+n+a))return null;var u=this.getInheritIndentForLine(e,t.startLineNumber,!1);if(!u)return null;var c=u.indentation;return u.action!==C.a.Indent&&(c=o.unshiftIndent(c)),c},g.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},g.prototype._getOnEnterSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.onEnter||null},g.prototype.getRawEnterActionAtPosition=function(e,t,n){var o=this.getEnterAction(e,new i.a(t,n,t,n));return o?o.enterAction:null},g.prototype.getEnterAction=function(e,t){var n=this.getIndentationAtPosition(e,t.startLineNumber,t.startColumn),o=this.getScopedLineTokens(e,t.startLineNumber,t.startColumn),i=this._getOnEnterSupport(o.languageId);if(!i)return null;var r,a=o.getLineContent(),s=a.substr(0,t.startColumn-1-o.firstCharOffset);r=t.isEmpty()?a.substr(t.startColumn-1-o.firstCharOffset):this.getScopedLineTokens(e,t.endLineNumber,t.endColumn).getLineContent().substr(t.endColumn-1-o.firstCharOffset);var l=t.startLineNumber,u="";if(1<l&&0===o.firstCharOffset){var c=this.getScopedLineTokens(e,l-1);c.languageId===o.languageId&&(u=c.getLineContent())}var d=null;try{d=i.onEnter(u,s,r)}catch(e){Object(h.e)(e)}return d?(d.appendText||(d.indentAction===C.a.Indent||d.indentAction===C.a.IndentOutdent?d.appendText="\t":d.appendText=""),d.removeText&&(n=n.substring(0,n.length-d.removeText)),{enterAction:d,indentation:n}):null},g.prototype.getIndentationAtPosition=function(e,t,n){var o=e.getLineContent(t),i=y.p(o);return i.length>n-1&&(i=i.substring(0,n-1)),i},g.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var o=e.getLineTokens(t),i=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(A.a)(o,i)},g.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},g)},1496:function(e,t,n){"use strict";n.d(t,"f",function(){return i}),n.d(t,"b",function(){return r}),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 c});var o=n(989),i=function(e,t,n,o){this.top=0|e,this.left=0|t,this.width=0|n,this.height=0|o},r=function(e,t){this.tabSize=e,this.data=t},a=function(e,t,n,o,i){this.content=e,this.continuesWithWrappedLine=t,this.minColumn=n,this.maxColumn=o,this.tokens=i},s=(u.isBasicASCII=function(e,t){return!t||o.q(e)},u.containsRTL=function(e,t,n){return!(t||!n)&&o.f(e)},u);function u(e,t,n,o,i,r,a,s,l){this.minColumn=e,this.maxColumn=t,this.content=n,this.continuesWithWrappedLine=o,this.isBasicASCII=u.isBasicASCII(n,r),this.containsRTL=u.containsRTL(n,this.isBasicASCII,i),this.tokens=a,this.inlineDecorations=s,this.tabSize=l}var l=function(e,t,n){this.range=e,this.inlineClassName=t,this.type=n},c=function(e,t){this.range=e,this.options=t}},1497:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var o=n(1783),i=n(1125),r=(o.a,Object(i.c)("notificationService")),a=function(){}},1498:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,r=n(1589),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=r.a,a(l,i),l);function l(){return null!==i&&i.apply(this,arguments)||this}},1499:function(e,t,n){"use strict";function i(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,"b",function(){return h}),n.d(t,"a",function(){return p});var h=(o.equals=function(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a},o);function o(e,t,n,o){void 0===o&&(o=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=i(Math.max(Math.min(1,o),0),3)}var r=(d.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a},d.fromRGBA=function(e){var t=e.r/255,n=e.g/255,o=e.b/255,i=e.a,r=Math.max(t,n,o),a=Math.min(t,n,o),s=0,l=0,u=(a+r)/2,c=r-a;if(0<c){switch(l=Math.min(u<=.5?c/(2*u):c/(2-2*u),1),r){case t:s=(n-o)/c+(n<o?6:0);break;case n:s=(o-t)/c+2;break;case o:s=(t-n)/c+4}s*=60,s=Math.round(s)}return new d(s,l,u,i)},d._hue2rgb=function(e,t,n){return n<0&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e},d.toRGBA=function(e){var t,n,o,i=e.h/360,r=e.s,a=e.l,s=e.a;if(0===r)t=n=o=a;else{var l=a<.5?a*(1+r):a+r-a*r,u=2*a-l;t=d._hue2rgb(u,l,i+1/3),n=d._hue2rgb(u,l,i),o=d._hue2rgb(u,l,i-1/3)}return new h(Math.round(255*t),Math.round(255*n),Math.round(255*o),s)},d);function d(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.l=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}var a=(l.equals=function(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a},l.fromRGBA=function(e){var t,n=e.r/255,o=e.g/255,i=e.b/255,r=Math.max(n,o,i),a=r-Math.min(n,o,i),s=0===r?0:a/r;return t=0==a?0:r===n?((o-i)/a%6+6)%6:r===o?(i-n)/a+2:(n-o)/a+4,new l(Math.round(60*t),s,r,e.a)},l.toRGBA=function(e){var t=e.h,n=e.s,o=e.v,i=e.a,r=o*n,a=r*(1-Math.abs(t/60%2-1)),s=o-r,l=[0,0,0],u=l[0],c=l[1],d=l[2];return t<60?(u=r,c=a):t<120?(u=a,c=r):t<180?(c=r,d=a):t<240?(c=a,d=r):t<300?(u=a,d=r):t<360&&(u=r,d=a),u=Math.round(255*(u+s)),c=Math.round(255*(c+s)),d=Math.round(255*(d+s)),new h(u,c,d,i)},l);function l(e,t,n,o){this.h=0|Math.max(Math.min(360,e),0),this.s=i(Math.max(Math.min(1,t),0),3),this.v=i(Math.max(Math.min(1,n),0),3),this.a=i(Math.max(Math.min(1,o),0),3)}var s,u,c,p=(f.fromHex=function(e){return f.Format.CSS.parseHex(e)||f.red},Object.defineProperty(f.prototype,"hsla",{get:function(){return this._hsla?this._hsla:r.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),Object.defineProperty(f.prototype,"hsva",{get:function(){return this._hsva?this._hsva:a.fromRGBA(this.rgba)},enumerable:!0,configurable:!0}),f.prototype.equals=function(e){return!!e&&h.equals(this.rgba,e.rgba)&&r.equals(this.hsla,e.hsla)&&a.equals(this.hsva,e.hsva)},f.prototype.getRelativeLuminance=function(){return i(.2126*f._relativeLuminanceForComponent(this.rgba.r)+.7152*f._relativeLuminanceForComponent(this.rgba.g)+.0722*f._relativeLuminanceForComponent(this.rgba.b),4)},f._relativeLuminanceForComponent=function(e){var t=e/255;return t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4)},f.prototype.isLighter=function(){return 128<=(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3},f.prototype.isLighterThan=function(e){var t=this.getRelativeLuminance();return e.getRelativeLuminance()<t},f.prototype.isDarkerThan=function(e){return this.getRelativeLuminance()<e.getRelativeLuminance()},f.prototype.lighten=function(e){return new f(new r(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))},f.prototype.darken=function(e){return new f(new r(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))},f.prototype.transparent=function(e){var t=this.rgba,n=t.r,o=t.g,i=t.b,r=t.a;return new f(new h(n,o,i,r*e))},f.prototype.isTransparent=function(){return 0===this.rgba.a},f.prototype.isOpaque=function(){return 1===this.rgba.a},f.prototype.opposite=function(){return new f(new h(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))},f.prototype.toString=function(){return""+f.Format.CSS.format(this)},f.getLighterColor=function(e,t,n){if(e.isLighterThan(t))return e;n=n||.5;var o=e.getRelativeLuminance(),i=t.getRelativeLuminance();return n=n*(i-o)/i,e.lighten(n)},f.getDarkerColor=function(e,t,n){if(e.isDarkerThan(t))return e;n=n||.5;var o=e.getRelativeLuminance();return n=n*(o-t.getRelativeLuminance())/o,e.darken(n)},f.white=new f(new h(255,255,255,1)),f.black=new f(new h(0,0,0,1)),f.red=new f(new h(255,0,0,1)),f.blue=new f(new h(0,0,255,1)),f.cyan=new f(new h(0,255,255,1)),f.lightgrey=new f(new h(211,211,211,1)),f.transparent=new f(new h(0,0,0,0)),f);function f(e){if(!e)throw new Error("Color needs a value");if(e instanceof h)this.rgba=e;else if(e instanceof r)this._hsla=e,this.rgba=r.toRGBA(e);else{if(!(e instanceof a))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=a.toRGBA(e)}}function g(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}function m(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:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}s=p=p||{},u=s.Format||(s.Format={}),(c=u.CSS||(u.CSS={})).formatRGB=function(e){return 1===e.rgba.a?"rgb("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+")":s.Format.CSS.formatRGBA(e)},c.formatRGBA=function(e){return"rgba("+e.rgba.r+", "+e.rgba.g+", "+e.rgba.b+", "+ +e.rgba.a.toFixed(2)+")"},c.formatHSL=function(e){return 1===e.hsla.a?"hsl("+e.hsla.h+", "+(100*e.hsla.s).toFixed(2)+"%, "+(100*e.hsla.l).toFixed(2)+"%)":s.Format.CSS.formatHSLA(e)},c.formatHSLA=function(e){return"hsla("+e.hsla.h+", "+(100*e.hsla.s).toFixed(2)+"%, "+(100*e.hsla.l).toFixed(2)+"%, "+e.hsla.a.toFixed(2)+")"},c.formatHex=function(e){return"#"+g(e.rgba.r)+g(e.rgba.g)+g(e.rgba.b)},c.formatHexA=function(e,t){return void 0===t&&(t=!1),t&&1===e.rgba.a?s.Format.CSS.formatHex(e):"#"+g(e.rgba.r)+g(e.rgba.g)+g(e.rgba.b)+g(Math.round(255*e.rgba.a))},c.format=function(e){return e?e.isOpaque()?s.Format.CSS.formatHex(e):s.Format.CSS.formatRGBA(e):null},c.parseHex=function(e){if(!e)return null;var t=e.length;if(0===t)return null;if(35!==e.charCodeAt(0))return null;if(7===t){var n=16*m(e.charCodeAt(1))+m(e.charCodeAt(2)),o=16*m(e.charCodeAt(3))+m(e.charCodeAt(4)),i=16*m(e.charCodeAt(5))+m(e.charCodeAt(6));return new s(new h(n,o,i,1))}if(9!==t)return 4!==t?5!==t?null:(n=m(e.charCodeAt(1)),o=m(e.charCodeAt(2)),i=m(e.charCodeAt(3)),r=m(e.charCodeAt(4)),new s(new h(16*n+n,16*o+o,16*i+i,(16*r+r)/255))):(n=m(e.charCodeAt(1)),o=m(e.charCodeAt(2)),i=m(e.charCodeAt(3)),new s(new h(16*n+n,16*o+o,16*i+i)));n=16*m(e.charCodeAt(1))+m(e.charCodeAt(2)),o=16*m(e.charCodeAt(3))+m(e.charCodeAt(4)),i=16*m(e.charCodeAt(5))+m(e.charCodeAt(6));var r=16*m(e.charCodeAt(7))+m(e.charCodeAt(8));return new s(new h(n,o,i,r/255))}},1543:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),t.a=function(e,t){return(e|(65535&t)<<16>>>0)>>>0},t.f=function(e,t){if(0===e)return null;var n=(65535&e)>>>0,o=(4294901760&e)>>>16;return new g(0==o?[h(n,t)]:[h(n,t),h(o,t)])},n.d(t,"e",function(){return p}),n.d(t,"d",function(){return b}),n.d(t,"c",function(){return v});var o=n(1222),i=(r.prototype.define=function(e,t){this._keyCodeToStr[e]=t,this._strToKeyCode[t.toLowerCase()]=e},r.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},r.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},r);function r(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}var a,s,l=new i,u=new i,c=new i;function d(e,t,n,o){void 0===n&&(n=t),void 0===o&&(o=n),l.define(e,t),u.define(e,n),c.define(e,o)}function h(e,t){var n=!!(2048&e),o=!!(256&e);return new p(2===t?o:n,!!(1024&e),!!(512&e),2===t?n:o,255&e)}d(0,"unknown"),d(1,"Backspace"),d(2,"Tab"),d(3,"Enter"),d(4,"Shift"),d(5,"Ctrl"),d(6,"Alt"),d(7,"PauseBreak"),d(8,"CapsLock"),d(9,"Escape"),d(10,"Space"),d(11,"PageUp"),d(12,"PageDown"),d(13,"End"),d(14,"Home"),d(15,"LeftArrow","Left"),d(16,"UpArrow","Up"),d(17,"RightArrow","Right"),d(18,"DownArrow","Down"),d(19,"Insert"),d(20,"Delete"),d(21,"0"),d(22,"1"),d(23,"2"),d(24,"3"),d(25,"4"),d(26,"5"),d(27,"6"),d(28,"7"),d(29,"8"),d(30,"9"),d(31,"A"),d(32,"B"),d(33,"C"),d(34,"D"),d(35,"E"),d(36,"F"),d(37,"G"),d(38,"H"),d(39,"I"),d(40,"J"),d(41,"K"),d(42,"L"),d(43,"M"),d(44,"N"),d(45,"O"),d(46,"P"),d(47,"Q"),d(48,"R"),d(49,"S"),d(50,"T"),d(51,"U"),d(52,"V"),d(53,"W"),d(54,"X"),d(55,"Y"),d(56,"Z"),d(57,"Meta"),d(58,"ContextMenu"),d(59,"F1"),d(60,"F2"),d(61,"F3"),d(62,"F4"),d(63,"F5"),d(64,"F6"),d(65,"F7"),d(66,"F8"),d(67,"F9"),d(68,"F10"),d(69,"F11"),d(70,"F12"),d(71,"F13"),d(72,"F14"),d(73,"F15"),d(74,"F16"),d(75,"F17"),d(76,"F18"),d(77,"F19"),d(78,"NumLock"),d(79,"ScrollLock"),d(80,";",";","OEM_1"),d(81,"=","=","OEM_PLUS"),d(82,",",",","OEM_COMMA"),d(83,"-","-","OEM_MINUS"),d(84,".",".","OEM_PERIOD"),d(85,"/","/","OEM_2"),d(86,"`","`","OEM_3"),d(110,"ABNT_C1"),d(111,"ABNT_C2"),d(87,"[","[","OEM_4"),d(88,"\\","\\","OEM_5"),d(89,"]","]","OEM_6"),d(90,"'","'","OEM_7"),d(91,"OEM_8"),d(92,"OEM_102"),d(93,"NumPad0"),d(94,"NumPad1"),d(95,"NumPad2"),d(96,"NumPad3"),d(97,"NumPad4"),d(98,"NumPad5"),d(99,"NumPad6"),d(100,"NumPad7"),d(101,"NumPad8"),d(102,"NumPad9"),d(103,"NumPad_Multiply"),d(104,"NumPad_Add"),d(105,"NumPad_Separator"),d(106,"NumPad_Subtract"),d(107,"NumPad_Decimal"),d(108,"NumPad_Divide"),(s=a=a||{}).toString=function(e){return l.keyCodeToStr(e)},s.fromString=function(e){return l.strToKeyCode(e)},s.toUserSettingsUS=function(e){return u.keyCodeToStr(e)},s.toUserSettingsGeneral=function(e){return c.keyCodeToStr(e)},s.fromUserSettings=function(e){return u.strToKeyCode(e)||c.strToKeyCode(e)};var p=(f.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},f.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},f.prototype.toChord=function(){return new g([this])},f.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode},f);function f(e,t,n,o,i){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=o,this.keyCode=i}var g=(m.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},m);function m(e){if(0===e.length)throw Object(o.b)("parts");this.parts=e}var b=function(e,t,n,o,i,r){this.ctrlKey=e,this.shiftKey=t,this.altKey=n,this.metaKey=o,this.keyLabel=i,this.keyAriaLabel=r},v=function(){}},1544:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(966),o=function(e,t,n){function o(e){return i.fire(e)}var i=new r.a({onFirstListenerAdd:function(){e.addEventListener(t,o,n)},onLastListenerRemove:function(){e.removeEventListener(t,o,n)}});return i.event}},1545:function(e,t,n){"use strict";var o,i;n.d(t,"a",function(){return o}),(i=o=o||{}).inMemory="inmemory",i.vscode="vscode",i.internal="private",i.walkThrough="walkThrough",i.walkThroughSnippet="walkThroughSnippet",i.http="http",i.https="https",i.file="file",i.mailto="mailto",i.untitled="untitled",i.data="data",i.command="command"},1546:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return h}),n.d(t,"h",function(){return p}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return g}),n.d(t,"k",function(){return m}),n.d(t,"l",function(){return b}),n.d(t,"m",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"n",function(){return C}),n.d(t,"p",function(){return A}),n.d(t,"q",function(){return _}),n.d(t,"g",function(){return w}),n.d(t,"d",function(){return x});var o,i,r=n(1222),a=n(868),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e){this.type=1,this.canUseLayerHinting=e.canUseLayerHinting,this.pixelRatio=e.pixelRatio,this.editorClassName=e.editorClassName,this.lineHeight=e.lineHeight,this.readOnly=e.readOnly,this.accessibilitySupport=e.accessibilitySupport,this.emptySelectionClipboard=e.emptySelectionClipboard,this.copyWithSyntaxHighlighting=e.copyWithSyntaxHighlighting,this.layoutInfo=e.layoutInfo,this.fontInfo=e.fontInfo,this.viewInfo=e.viewInfo,this.wrappingInfo=e.wrappingInfo},u=function(e){this.type=2,this.selections=e},c=function(){this.type=3},d=function(){this.type=4},h=function(e){this.type=5,this.isFocused=e},p=function(){this.type=6},f=function(e,t){this.type=7,this.fromLineNumber=e,this.toLineNumber=t},g=function(e,t){this.type=8,this.fromLineNumber=e,this.toLineNumber=t},m=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},b=function(e,t,n,o){this.type=10,this.range=e,this.verticalType=t,this.revealHorizontal=n,this.scrollType=o},v=function(e){this.type=11,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},y=function(e){this.type=12,this.ranges=e},C=function(){this.type=15},A=function(){this.type=13},_=function(){this.type=14},w=function(){this.type=16},x=(i=a.a,s(S,i),S.prototype.dispose=function(){this._listeners=[],i.prototype.dispose.call(this)},S.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new L),this._collector},S.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,0<e.length&&this._emit(e)}},S.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,o=t.length;n<o;n++)k(t[n],e)},S.prototype.addEventListener=function(o){var i=this;return this._listeners.push(o),Object(a.e)(function(){for(var e=i._listeners,t=0,n=e.length;t<n;t++)if(e[t]===o){e.splice(t,1);break}})},S);function S(){var e=i.call(this)||this;return e._listeners=[],e._collector=null,e._collectorCnt=0,e}var L=(D.prototype.emit=function(e){this._events[this._eventsLen++]=e},D.prototype.finalize=function(){var e=this._events;return this._events=[],e},D);function D(){this._eventsLen=0,this._events=[],this._eventsLen=0}function k(e,t){try{e(t)}catch(e){r.e(e)}}},1583:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return i}),t.c=function(e){return Array.isArray(e)?i.fromArray(e):e};var o,i,r,a,s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l={done:!0,value:void 0};function u(e,t){for(var n=e.next();!n.done;n=e.next())t(n.value)}r=i=i||{},a={next:function(){return l}},r.empty=function(){return a},r.fromArray=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=e.length),{next:function(){return n<=t?l:{done:!1,value:e[t++]}}}},r.from=function(e){return e?Array.isArray(e)?r.fromArray(e):e:r.empty()},r.map=function(t,n){return{next:function(){var e=t.next();return e.done?l:{done:!1,value:n(e.value)}}}},r.filter=function(t,n){return{next:function(){for(;;){var e=t.next();if(e.done)return l;if(n(e.value))return{done:!1,value:e.value}}}}},r.forEach=u,r.collect=function(e){var t=[];return u(e,function(e){return t.push(e)}),t};var c=(d.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},d.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},d);function d(e,t,n,o){void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===o&&(o=t-1),this.items=e,this.start=t,this.end=n,this.index=o}var h;s(p,h=c),p.prototype.current=function(){return h.prototype.current.call(this)},p.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},p.prototype.first=function(){return this.index=this.start,this.current()},p.prototype.last=function(){return this.index=this.end-1,this.current()},p.prototype.parent=function(){return null};function p(e,t,n,o){return void 0===t&&(t=0),void 0===n&&(n=e.length),void 0===o&&(o=t-1),h.call(this,e,t,n,o)||this}f.prototype.next=function(){return this.fn(this.iterator.next())};function f(e,t){this.iterator=e,this.fn=t}},1584:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),t.b=function(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget};var o=n(1125),i=Object(o.c)("modelService")},1585:function(e,t,n){"use strict";var o,i;n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),(i=o=o||{})[i.None=0]="None",i[i.Indent=1]="Indent",i[i.IndentOutdent=2]="IndentOutdent",i[i.Outdent=3]="Outdent";var r=(a.prototype.isOK=function(e){return 0==(this._standardTokenMask&e)},a);function a(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++){switch(e.notIn[t]){case"string":this._standardTokenMask|=2;break;case"comment":this._standardTokenMask|=1;break;case"regex":this._standardTokenMask|=4}}}},1586:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return A});var o=n(1215),i=n(966),r=n(1317),f=n(1255),a=n(989),s=n(2070),l={Configuration:"base.contributions.configuration"},u={properties:{},patternProperties:{}},c={properties:{},patternProperties:{}},d={properties:{},patternProperties:{}},h={properties:{},patternProperties:{}},p="vscode://schemas/settings/editor",g=r.a.as(s.a.JSONContribution),m=(b.prototype.registerConfiguration=function(e,t){void 0===t&&(t=!0),this.registerConfigurations([e],t)},b.prototype.registerConfigurations=function(e,t){var n=this;void 0===t&&(t=!0);var o=[];e.forEach(function(e){o.push.apply(o,n.validateAndRegisterProperties(e,t)),n.configurationContributors.push(e),n.registerJSONConfiguration(e),n.updateSchemaForOverrideSettingsConfiguration(e)}),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(o)},b.prototype.registerOverrideIdentifiers=function(e){var t;(t=this.overrideIdentifiers).push.apply(t,e),this.updateOverridePropertyPatternKey()},b.prototype.validateAndRegisterProperties=function(e,t,n,o){void 0===t&&(t=!0),void 0===n&&(n=2),void 0===o&&(o=!1),n=f.k(e.scope)?n:e.scope,o=e.overridable||o;var i=[],r=e.properties;if(r)for(var a in r){var s=void 0;if(t&&(s=x(a)))console.warn(s),delete r[a];else{var l=r[a],u=l.default;f.j(u)&&(l.default=_(l.type)),o&&(l.overridable=!0),A.test(a)?l.scope=void 0:l.scope=f.k(l.scope)?n:l.scope,!r[a].hasOwnProperty("included")||r[a].included?(this.configurationProperties[a]=r[a],i.push(a)):(this.excludedConfigurationProperties[a]=r[a],delete r[a])}}var c=e.allOf;if(c)for(var d=0,h=c;d<h.length;d++){var p=h[d];i.push.apply(i,this.validateAndRegisterProperties(p,t,n,o))}return i},b.prototype.getConfigurationProperties=function(){return this.configurationProperties},b.prototype.registerJSONConfiguration=function(e){!function e(t){var n=t.properties;if(n)for(var o in n)switch(u.properties[o]=n[o],n[o].scope){case 1:c.properties[o]=n[o];break;case 2:d.properties[o]=n[o];break;case 3:h.properties[o]=n[o]}var i=t.allOf;i&&i.forEach(e)}(e)},b.prototype.updateSchemaForOverrideSettingsConfiguration=function(e){e.id!==v&&(this.update(e),g.registerSchema(p,this.editorConfigurationSchema))},b.prototype.updateOverridePropertyPatternKey=function(){var e=u.patternProperties[this.overridePropertyPattern];e=e||{type:"object",description:o.a("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:"Unknown Identifier. Use language identifiers",$ref:p},delete u.patternProperties[this.overridePropertyPattern],delete c.patternProperties[this.overridePropertyPattern],delete d.patternProperties[this.overridePropertyPattern],delete h.patternProperties[this.overridePropertyPattern],this.computeOverridePropertyPattern(),u.patternProperties[this.overridePropertyPattern]=e,c.patternProperties[this.overridePropertyPattern]=e,d.patternProperties[this.overridePropertyPattern]=e,h.patternProperties[this.overridePropertyPattern]=e,this._onDidSchemaChange.fire()},b.prototype.update=function(e){var t=this,n=e.properties;if(n)for(var o in n)n[o].overridable&&(this.editorConfigurationSchema.properties[o]=this.getConfigurationProperties()[o]);var i=e.allOf;i&&i.forEach(function(e){return t.update(e)})},b.prototype.computeOverridePropertyPattern=function(){this.overridePropertyPattern=this.overrideIdentifiers.length?C.replace("${0}",this.overrideIdentifiers.map(function(e){return a.h(e,!1).source}).join("|")):y},b);function b(){this.overrideIdentifiers=[],this._onDidSchemaChange=new i.a,this._onDidUpdateConfiguration=new i.a,this.defaultOverridesConfigurationNode={id:"defaultOverrides",title:o.a("defaultConfigurations.title","Default Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultOverridesConfigurationNode],this.editorConfigurationSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting"},this.configurationProperties={},this.excludedConfigurationProperties={},this.computeOverridePropertyPattern(),g.registerSchema(p,this.editorConfigurationSchema)}var v="override",y="\\[.*\\]$",C="\\[(${0})\\]$",A=new RegExp(y);function _(e){switch(Array.isArray(e)?e[0]:e){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}var w=new m;function x(e){return A.test(e)?o.a("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",e):void 0!==w.getConfigurationProperties()[e]?o.a("config.property.duplicate","Cannot register '{0}'. This property is already registered.",e):null}r.a.add(l.Configuration,w)},1587:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return c});var o,i=n(868),r=n(966),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(Object.defineProperty(l.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"label",{get:function(){return this._label},set:function(e){this._setLabel(e)},enumerable:!0,configurable:!0}),l.prototype._setLabel=function(e){this._label!==e&&(this._label=e,this._onDidChange.fire({label:e}))},Object.defineProperty(l.prototype,"tooltip",{get:function(){return this._tooltip},set:function(e){this._setTooltip(e)},enumerable:!0,configurable:!0}),l.prototype._setTooltip=function(e){this._tooltip!==e&&(this._tooltip=e,this._onDidChange.fire({tooltip:e}))},Object.defineProperty(l.prototype,"class",{get:function(){return this._cssClass},set:function(e){this._setClass(e)},enumerable:!0,configurable:!0}),l.prototype._setClass=function(e){this._cssClass!==e&&(this._cssClass=e,this._onDidChange.fire({class:e}))},Object.defineProperty(l.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._setEnabled(e)},enumerable:!0,configurable:!0}),l.prototype._setEnabled=function(e){this._enabled!==e&&(this._enabled=e,this._onDidChange.fire({enabled:e}))},Object.defineProperty(l.prototype,"checked",{get:function(){return this._checked},set:function(e){this._setChecked(e)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"radio",{get:function(){return this._radio},set:function(e){this._setRadio(e)},enumerable:!0,configurable:!0}),l.prototype._setChecked=function(e){this._checked!==e&&(this._checked=e,this._onDidChange.fire({checked:e}))},l.prototype._setRadio=function(e){this._radio!==e&&(this._radio=e,this._onDidChange.fire({radio:e}))},l.prototype.run=function(e,t){return this._actionCallback?this._actionCallback(e):Promise.resolve(!0)},l.prototype.dispose=function(){this._onDidChange.dispose()},l);function l(e,t,n,o,i){void 0===t&&(t=""),void 0===n&&(n=""),void 0===o&&(o=!0),this._onDidChange=new r.a,this.onDidChange=this._onDidChange.event,this._id=e,this._label=t,this._cssClass=n,this._enabled=o,this._actionCallback=i}var u,c=(u=i.a,a(d,u),d.prototype.run=function(t,e){var n=this;return t.enabled?(this._onDidBeforeRun.fire({action:t}),this.runAction(t,e).then(function(e){n._onDidRun.fire({action:t,result:e})},function(e){n._onDidRun.fire({action:t,error:e})})):Promise.resolve(null)},d.prototype.runAction=function(e,t){var n=t?e.run(t):e.run();return Promise.resolve(n)},d);function d(){var e=null!==u&&u.apply(this,arguments)||this;return e._onDidBeforeRun=e._register(new r.a),e.onDidBeforeRun=e._onDidBeforeRun.event,e._onDidRun=e._register(new r.a),e.onDidRun=e._onDidRun.event,e}},1588:function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return c});var o,m,i,b=n(1316),r=n(868),g=n(1126),a=n(1785),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a};(i=m=m||{}).Tap="-monaco-gesturetap",i.Change="-monaco-gesturechange",i.Start="-monaco-gesturestart",i.End="-monaco-gesturesend",i.Contextmenu="-monaco-gesturecontextmenu";var u,c=(u=r.a,s(v,u),v.addTarget=function(e){v.isTouchDevice()&&(v.INSTANCE||(v.INSTANCE=new v),v.INSTANCE.targets.push(e))},v.isTouchDevice=function(){return"ontouchstart"in window||0<navigator.maxTouchPoints||0<window.navigator.msMaxTouchPoints},v.prototype.dispose=function(){this.handle&&(this.handle.dispose(),this.handle=null),u.prototype.dispose.call(this)},v.prototype.onTouchStart=function(e){var t=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(var n=0,o=e.targetTouches.length;n<o;n++){var i=e.targetTouches.item(n);this.activeTouches[i.identifier]={id:i.identifier,initialTarget:i.target,initialTimeStamp:t,initialPageX:i.pageX,initialPageY:i.pageY,rollingTimestamps:[t],rollingPageX:[i.pageX],rollingPageY:[i.pageY]};var r=this.newGestureEvent(m.Start,i.target);r.pageX=i.pageX,r.pageY=i.pageY,this.dispatchEvent(r)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},v.prototype.onTouchEnd=function(h){for(var p=Date.now(),f=Object.keys(this.activeTouches).length,e=function(e,t){var n=h.changedTouches.item(e);if(!g.activeTouches.hasOwnProperty(String(n.identifier)))return console.warn("move of an UNKNOWN touch",n),"continue";var o=g.activeTouches[n.identifier],i=Date.now()-o.initialTimeStamp;if(i<v.HOLD_DELAY&&Math.abs(o.initialPageX-b.j(o.rollingPageX))<30&&Math.abs(o.initialPageY-b.j(o.rollingPageY))<30)(r=g.newGestureEvent(m.Tap,o.initialTarget)).pageX=b.j(o.rollingPageX),r.pageY=b.j(o.rollingPageY),g.dispatchEvent(r);else if(v.HOLD_DELAY<=i&&Math.abs(o.initialPageX-b.j(o.rollingPageX))<30&&Math.abs(o.initialPageY-b.j(o.rollingPageY))<30){var r;(r=g.newGestureEvent(m.Contextmenu,o.initialTarget)).pageX=b.j(o.rollingPageX),r.pageY=b.j(o.rollingPageY),g.dispatchEvent(r)}else if(1===f){var a=b.j(o.rollingPageX),s=b.j(o.rollingPageY),l=b.j(o.rollingTimestamps)-o.rollingTimestamps[0],u=a-o.rollingPageX[0],c=s-o.rollingPageY[0],d=g.targets.filter(function(e){return o.initialTarget instanceof Node&&e.contains(o.initialTarget)});g.inertia(d,p,Math.abs(u)/l,0<u?1:-1,a,Math.abs(c)/l,0<c?1:-1,s)}g.dispatchEvent(g.newGestureEvent(m.End,o.initialTarget)),delete g.activeTouches[n.identifier]},g=this,t=0,n=h.changedTouches.length;t<n;t++)e(t);this.dispatched&&(h.preventDefault(),h.stopPropagation(),this.dispatched=!1)},v.prototype.newGestureEvent=function(e,t){var n=document.createEvent("CustomEvent");return n.initEvent(e,!1,!0),n.initialTarget=t,n},v.prototype.dispatchEvent=function(t){var n=this;this.targets.forEach(function(e){t.initialTarget instanceof Node&&e.contains(t.initialTarget)&&(e.dispatchEvent(t),n.dispatched=!0)})},v.prototype.inertia=function(a,s,l,u,c,d,h,p){var f=this;this.handle=g.K(function(){var e=Date.now(),t=e-s,n=0,o=0,i=!0;0<(l+=v.SCROLL_FRICTION*t)&&(i=!1,n=u*l*t),0<(d+=v.SCROLL_FRICTION*t)&&(i=!1,o=h*d*t);var r=f.newGestureEvent(m.Change);r.translationX=n,r.translationY=o,a.forEach(function(e){return e.dispatchEvent(r)}),i||f.inertia(a,e,l,u,c+n,d,h,p+o)})},v.prototype.onTouchMove=function(e){for(var t=Date.now(),n=0,o=e.changedTouches.length;n<o;n++){var i=e.changedTouches.item(n);if(this.activeTouches.hasOwnProperty(String(i.identifier))){var r=this.activeTouches[i.identifier],a=this.newGestureEvent(m.Change,r.initialTarget);a.translationX=i.pageX-b.j(r.rollingPageX),a.translationY=i.pageY-b.j(r.rollingPageY),a.pageX=i.pageX,a.pageY=i.pageY,this.dispatchEvent(a),3<r.rollingPageX.length&&(r.rollingPageX.shift(),r.rollingPageY.shift(),r.rollingTimestamps.shift()),r.rollingPageX.push(i.pageX),r.rollingPageY.push(i.pageY),r.rollingTimestamps.push(t)}else console.warn("end of an UNKNOWN touch",i)}this.dispatched&&(e.preventDefault(),e.stopPropagation(),this.dispatched=!1)},v.SCROLL_FRICTION=-.005,v.HOLD_DELAY=700,l([a.a],v,"isTouchDevice",null),v);function v(){var t=u.call(this)||this;return t.activeTouches={},t.handle=null,t.targets=[],t._register(g.g(document,"touchstart",function(e){return t.onTouchStart(e)})),t._register(g.g(document,"touchend",function(e){return t.onTouchEnd(e)})),t._register(g.g(document,"touchmove",function(e){return t.onTouchMove(e)})),t}},1589:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,r=n(868),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=r.a,a(l,i),l.prototype.shouldRender=function(){return this._shouldRender},l.prototype.forceShouldRender=function(){this._shouldRender=!0},l.prototype.setShouldRender=function(){this._shouldRender=!0},l.prototype.onDidRender=function(){this._shouldRender=!1},l.prototype.onConfigurationChanged=function(e){return!1},l.prototype.onCursorStateChanged=function(e){return!1},l.prototype.onDecorationsChanged=function(e){return!1},l.prototype.onFlushed=function(e){return!1},l.prototype.onFocusChanged=function(e){return!1},l.prototype.onLanguageConfigurationChanged=function(e){return!1},l.prototype.onLineMappingChanged=function(e){return!1},l.prototype.onLinesChanged=function(e){return!1},l.prototype.onLinesDeleted=function(e){return!1},l.prototype.onLinesInserted=function(e){return!1},l.prototype.onRevealRangeRequest=function(e){return!1},l.prototype.onScrollChanged=function(e){return!1},l.prototype.onTokensChanged=function(e){return!1},l.prototype.onTokensColorsChanged=function(e){return!1},l.prototype.onZonesChanged=function(e){return!1},l.prototype.onThemeChanged=function(e){return!1},l.prototype.handleEvents=function(e){for(var t=!1,n=0,o=e.length;n<o;n++){var i=e[n];switch(i.type){case 1:this.onConfigurationChanged(i)&&(t=!0);break;case 2:this.onCursorStateChanged(i)&&(t=!0);break;case 3:this.onDecorationsChanged(i)&&(t=!0);break;case 4:this.onFlushed(i)&&(t=!0);break;case 5:this.onFocusChanged(i)&&(t=!0);break;case 16:this.onLanguageConfigurationChanged(i)&&(t=!0);break;case 6:this.onLineMappingChanged(i)&&(t=!0);break;case 7:this.onLinesChanged(i)&&(t=!0);break;case 8:this.onLinesDeleted(i)&&(t=!0);break;case 9:this.onLinesInserted(i)&&(t=!0);break;case 10:this.onRevealRangeRequest(i)&&(t=!0);break;case 11:this.onScrollChanged(i)&&(t=!0);break;case 12:this.onTokensChanged(i)&&(t=!0);break;case 13:this.onTokensColorsChanged(i)&&(t=!0);break;case 14:this.onZonesChanged(i)&&(t=!0);break;case 15:this.onThemeChanged(i)&&(t=!0);break;default:console.info("View received unknown event: "),console.info(i)}}t&&(this._shouldRender=!0)},l);function l(){var e=i.call(this)||this;return e._shouldRender=!0,e}},1590:function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return d});var o,i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=(a.prototype.getScrolledTopFromAbsoluteTop=function(e){return e-this.scrollTop},a.prototype.getVerticalOffsetForLineNumber=function(e){return this._viewLayout.getVerticalOffsetForLineNumber(e)},a.prototype.getDecorationsInViewport=function(){return this.viewportData.getDecorationsInViewport()},a);function a(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}var s,l=(i(u,s=r),u.prototype.linesVisibleRangesForRange=function(e,t){return this._viewLines.linesVisibleRangesForRange(e,t)},u.prototype.visibleRangeForPosition=function(e){return this._viewLines.visibleRangeForPosition(e)},u);function u(e,t,n){var o=s.call(this,e,t)||this;return o._viewLines=n,o}var c=function(e,t){this.lineNumber=e,this.ranges=t},d=(h.prototype.toString=function(){return"["+this.left+","+this.width+"]"},h);function h(e,t){this.left=Math.round(e),this.width=Math.round(t)}},1591:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("keybindingService")},1665:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o}),t.c=function(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},t.d=function(e,t,n,o){t.lastIndex=0;var i=t.exec(n);if(!i)return null;var r=0<=i[0].indexOf(" ")?function(e,t,n,o){var i,r=e-1-o;t.lastIndex=0;for(;i=t.exec(n);){var a=i.index||0;if(r<a)return null;if(t.lastIndex>=r)return{word:i[0],startColumn:o+1+a,endColumn:o+1+t.lastIndex}}return null}(e,t,n,o):function(e,t,n,o){var i,r=e-1-o,a=n.lastIndexOf(" ",r-1)+1;t.lastIndex=a;for(;i=t.exec(n);){var s=i.index||0;if(s<=r&&t.lastIndex>=r)return{word:i[0],startColumn:o+1+s,endColumn:o+1+t.lastIndex}}return null}(e,t,n,o);return t.lastIndex=0,r};var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";var o=function(e){void 0===e&&(e="");for(var t="(-?\\d*\\.\\d\\w*)|([^",n=0,o=r;n<o.length;n++){var i=o[n];0<=e.indexOf(i)||(t+="\\"+i)}return t+="\\s]+)",new RegExp(t,"g")}()},1666: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 o=(i.prototype.toString=function(){return"("+this.offset+", "+this.type+")"},i);function i(e,t,n){this.offset=0|e,this.type=t,this.language=n}var r=function(e,t){this.tokens=e,this.endState=t},a=function(e,t){this.tokens=e,this.endState=t}},1667:function(e,I,O){"use strict";Object.defineProperty(I,"__esModule",{value:!0}),function(e){O.d(I,"win32",function(){return A}),O.d(I,"posix",function(){return _}),O.d(I,"normalize",function(){return w}),O.d(I,"join",function(){return x}),O.d(I,"relative",function(){return S}),O.d(I,"dirname",function(){return L}),O.d(I,"basename",function(){return D}),O.d(I,"extname",function(){return k}),O.d(I,"sep",function(){return N});var o,a,t=O(1134),n=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=65,r=97,s=90,l=122,p=46,h=47,g=92,m=void 0===e?{cwd:function(){return"/"},env:{},get platform(){return t.g?"win32":"posix"}}:e,u=(a=Error,n(c,a),c);function c(e,t,n){var o,i;"string"==typeof t&&0===t.indexOf("not ")?(o="must not be",t=t.replace(/^not /,"")):o="must be";var r=-1!==e.indexOf(".")?"property":"argument";return i='The "'+e+'" '+r+" "+o+" of type "+t,i+=". Received type "+typeof n,a.call(this,i)||this}function b(e,t){if("string"!=typeof e)throw new u(t,"string",e)}function v(e){return e===h||e===g}function d(e){return e===h}function y(e){return i<=e&&e<=s||r<=e&&e<=l}function C(e,t,n,o){for(var i,r="",a=0,s=-1,l=0,u=0;u<=e.length;++u){if(u<e.length)i=e.charCodeAt(u);else{if(o(i))break;i=h}if(o(i)){if(s!==u-1&&1!==l)if(s!==u-1&&2===l){if(r.length<2||2!==a||r.charCodeAt(r.length-1)!==p||r.charCodeAt(r.length-2)!==p){if(2<r.length){var c=r.lastIndexOf(n);a=-1===c?(r="",0):(r=r.slice(0,c)).length-1-r.lastIndexOf(n),s=u,l=0;continue}if(2===r.length||1===r.length){r="",s=u,l=a=0;continue}}t&&(0<r.length?r+=n+"..":r="..",a=2)}else 0<r.length?r+=n+e.slice(s+1,u):r=e.slice(s+1,u),a=u-s-1;s=u,l=0}else i===p&&-1!==l?++l:l=-1}return r}function f(e,t){var n=t.dir||t.root,o=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+o:n+e+o:o}var A={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",o="",i=!1,r=e.length-1;-1<=r;r--){var a=void 0;if(0<=r?a=e[r]:n?void 0!==(a=m.env["="+n]||m.cwd())&&a.slice(0,3).toLowerCase()===n.toLowerCase()+"\\"||(a=n+"\\"):a=m.cwd(),b(a,"path"),0!==a.length){var s=a.length,l=0,u="",c=!1,d=a.charCodeAt(0);if(1<s)if(v(d))if(c=!0,v(a.charCodeAt(1))){for(var h=2,p=h;h<s&&!v(a.charCodeAt(h));++h);if(h<s&&h!==p){var f=a.slice(p,h);for(p=h;h<s&&v(a.charCodeAt(h));++h);if(h<s&&h!==p){for(p=h;h<s&&!v(a.charCodeAt(h));++h);h===s?(u="\\\\"+f+"\\"+a.slice(p),l=h):h!==p&&(u="\\\\"+f+"\\"+a.slice(p,h),l=h)}}}else l=1;else y(d)&&58===a.charCodeAt(1)&&(u=a.slice(0,2),(l=2)<s&&v(a.charCodeAt(2))&&(c=!0,l=3));else v(d)&&(l=1,c=!0);if(!(0<u.length&&0<n.length&&u.toLowerCase()!==n.toLowerCase())&&(0===n.length&&0<u.length&&(n=u),i||(o=a.slice(l)+"\\"+o,i=c),0<n.length&&i))break}}return n+(i?"\\":"")+(o=C(o,!i,"\\",v))||"."},normalize:function(e){b(e,"path");var t=e.length;if(0===t)return".";var n,o,i=0,r=!1,a=e.charCodeAt(0);if(1<t)if(v(a))if(r=!0,v(e.charCodeAt(1))){for(var s=2,l=s;s<t&&!v(e.charCodeAt(s));++s);if(s<t&&s!==l){var u=e.slice(l,s);for(l=s;s<t&&v(e.charCodeAt(s));++s);if(s<t&&s!==l){for(l=s;s<t&&!v(e.charCodeAt(s));++s);if(s===t)return"\\\\"+u+"\\"+e.slice(l)+"\\";s!==l&&(n="\\\\"+u+"\\"+e.slice(l,s),i=s)}}}else i=1;else y(a)&&58===e.charCodeAt(1)&&(n=e.slice(0,2),(i=2)<t&&v(e.charCodeAt(2))&&(r=!0,i=3));else if(v(a))return"\\";return 0!==(o=i<t?C(e.slice(i),!r,"\\",v):"").length||r||(o="."),0<o.length&&v(e.charCodeAt(t-1))&&(o+="\\"),void 0===n?r?0<o.length?"\\"+o:"\\":0<o.length?o:"":r?0<o.length?n+"\\"+o:n+"\\":0<o.length?n+o:n},isAbsolute:function(e){b(e,"path");var t=e.length;if(0===t)return!1;var n=e.charCodeAt(0);return!!v(n)||!!(y(n)&&2<t&&58===e.charCodeAt(1)&&v(e.charCodeAt(2)))},join:function(){for(var e,t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(0===n.length)return".";for(var i=0;i<n.length;++i){var r=n[i];b(r,"path"),0<r.length&&(void 0===e?e=t=r:e+="\\"+r)}if(void 0===e)return".";var a=!0,s=0;if(v(t.charCodeAt(0))){++s;var l=t.length;1<l&&v(t.charCodeAt(1))&&(++s,2<l&&(v(t.charCodeAt(2))?++s:a=!1))}if(a){for(;s<e.length&&v(e.charCodeAt(s));++s);2<=s&&(e="\\"+e.slice(s))}return A.normalize(e)},relative:function(e,t){if(b(e,"from"),b(t,"to"),e===t)return"";var n=A.resolve(e),o=A.resolve(t);if(n===o)return"";if((e=n.toLowerCase())===(t=o.toLowerCase()))return"";for(var i=0;i<e.length&&e.charCodeAt(i)===g;++i);for(var r=e.length;i<r-1&&e.charCodeAt(r-1)===g;--r);for(var a=r-i,s=0;s<t.length&&t.charCodeAt(s)===g;++s);for(var l=t.length;s<l-1&&t.charCodeAt(l-1)===g;--l);for(var u=l-s,c=a<u?a:u,d=-1,h=0;h<=c;++h){if(h===c){if(c<u){if(t.charCodeAt(s+h)===g)return o.slice(s+h+1);if(2===h)return o.slice(s+h)}c<a&&(e.charCodeAt(i+h)===g?d=h:2===h&&(d=3));break}var p=e.charCodeAt(i+h);if(p!==t.charCodeAt(s+h))break;p===g&&(d=h)}if(h!==c&&-1===d)return o;var f="";for(-1===d&&(d=0),h=i+d+1;h<=r;++h)h!==r&&e.charCodeAt(h)!==g||(0===f.length?f+="..":f+="\\..");return 0<f.length?f+o.slice(s+d,l):(s+=d,o.charCodeAt(s)===g&&++s,o.slice(s,l))},toNamespacedPath:function(e){if("string"!=typeof e)return e;if(0===e.length)return"";var t=A.resolve(e);if(3<=t.length)if(t.charCodeAt(0)===g){if(t.charCodeAt(1)===g){var n=t.charCodeAt(2);if(63!==n&&n!==p)return"\\\\?\\UNC\\"+t.slice(2)}}else if(y(t.charCodeAt(0))&&58===t.charCodeAt(1)&&t.charCodeAt(2)===g)return"\\\\?\\"+t;return e},dirname:function(e){b(e,"path");var t=e.length;if(0===t)return".";var n=-1,o=-1,i=!0,r=0,a=e.charCodeAt(0);if(1<t)if(v(a)){if(n=r=1,v(e.charCodeAt(1))){for(var s=2,l=s;s<t&&!v(e.charCodeAt(s));++s);if(s<t&&s!==l){for(l=s;s<t&&v(e.charCodeAt(s));++s);if(s<t&&s!==l){for(l=s;s<t&&!v(e.charCodeAt(s));++s);if(s===t)return e;s!==l&&(n=r=s+1)}}}}else y(a)&&58===e.charCodeAt(1)&&(n=r=2,2<t&&v(e.charCodeAt(2))&&(n=r=3));else if(v(a))return e;for(var u=t-1;r<=u;--u)if(v(e.charCodeAt(u))){if(!i){o=u;break}}else i=!1;if(-1===o){if(-1===n)return".";o=n}return e.slice(0,o)},basename:function(e,t){void 0!==t&&b(t,"ext"),b(e,"path");var n,o=0,i=-1,r=!0;2<=e.length&&y(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(o=2);if(void 0!==t&&0<t.length&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;o<=n;--n){var l=e.charCodeAt(n);if(v(l)){if(!r){o=n+1;break}}else-1===s&&(r=!1,s=n+1),0<=a&&(l===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=s))}return o===i?i=s:-1===i&&(i=e.length),e.slice(o,i)}for(n=e.length-1;o<=n;--n)if(v(e.charCodeAt(n))){if(!r){o=n+1;break}}else-1===i&&(r=!1,i=n+1);return-1===i?"":e.slice(o,i)},extname:function(e){b(e,"path");var t=0,n=-1,o=0,i=-1,r=!0,a=0;2<=e.length&&58===e.charCodeAt(1)&&y(e.charCodeAt(0))&&(t=o=2);for(var s=e.length-1;t<=s;--s){var l=e.charCodeAt(s);if(v(l)){if(r)continue;o=s+1;break}-1===i&&(r=!1,i=s+1),l===p?-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===o+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new u("pathObject","Object",e);return f("\\",e)},parse:function(e){b(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n=e.length,o=0,i=e.charCodeAt(0);if(1<n){if(v(i)){if(o=1,v(e.charCodeAt(1))){for(var r=2,a=r;r<n&&!v(e.charCodeAt(r));++r);if(r<n&&r!==a){for(a=r;r<n&&v(e.charCodeAt(r));++r);if(r<n&&r!==a){for(a=r;r<n&&!v(e.charCodeAt(r));++r);r===n?o=r:r!==a&&(o=r+1)}}}}else if(y(i)&&58===e.charCodeAt(1)){if(!((o=2)<n))return t.root=t.dir=e,t;if(v(e.charCodeAt(2))){if(3===n)return t.root=t.dir=e,t;o=3}}}else if(v(i))return t.root=t.dir=e,t;0<o&&(t.root=e.slice(0,o));for(var s=-1,l=o,u=-1,c=!0,d=e.length-1,h=0;o<=d;--d){if(v(i=e.charCodeAt(d))){if(c)continue;l=d+1;break}-1===u&&(c=!1,u=d+1),i===p?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}return-1===s||-1===u||0===h||1===h&&s===u-1&&s===l+1?-1!==u&&(t.base=t.name=e.slice(l,u)):(t.name=e.slice(l,s),t.base=e.slice(l,u),t.ext=e.slice(s,u)),t.dir=0<l&&l!==o?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},_={resolve:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",o=!1,i=e.length-1;-1<=i&&!o;i--){var r=void 0;b(r=0<=i?e[i]:m.cwd(),"path"),0!==r.length&&(n=r+"/"+n,o=r.charCodeAt(0)===h)}return n=C(n,!o,"/",d),o?0<n.length?"/"+n:"/":0<n.length?n:"."},normalize:function(e){if(b(e,"path"),0===e.length)return".";var t=e.charCodeAt(0)===h,n=e.charCodeAt(e.length-1)===h;return 0!==(e=C(e,!t,"/",d)).length||t||(e="."),0<e.length&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return b(e,"path"),0<e.length&&e.charCodeAt(0)===h},join:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(0===t.length)return".";for(var o=0;o<t.length;++o){var i=arguments[o];b(i,"path"),0<i.length&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":_.normalize(e)},relative:function(e,t){if(b(e,"from"),b(t,"to"),e===t)return"";if((e=_.resolve(e))===(t=_.resolve(t)))return"";for(var n=1;n<e.length&&e.charCodeAt(n)===h;++n);for(var o=e.length,i=o-n,r=1;r<t.length&&t.charCodeAt(r)===h;++r);for(var a=t.length-r,s=i<a?i:a,l=-1,u=0;u<=s;++u){if(u===s){if(s<a){if(t.charCodeAt(r+u)===h)return t.slice(r+u+1);if(0===u)return t.slice(r+u)}else s<i&&(e.charCodeAt(n+u)===h?l=u:0===u&&(l=0));break}var c=e.charCodeAt(n+u);if(c!==t.charCodeAt(r+u))break;c===h&&(l=u)}var d="";for(u=n+l+1;u<=o;++u)u!==o&&e.charCodeAt(u)!==h||(0===d.length?d+="..":d+="/..");return 0<d.length?d+t.slice(r+l):(r+=l,t.charCodeAt(r)===h&&++r,t.slice(r))},toNamespacedPath:function(e){return e},dirname:function(e){if(b(e,"path"),0===e.length)return".";for(var t=e.charCodeAt(0)===h,n=-1,o=!0,i=e.length-1;1<=i;--i)if(e.charCodeAt(i)===h){if(!o){n=i;break}}else o=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename:function(e,t){void 0!==t&&b(t,"ext"),b(e,"path");var n,o=0,i=-1,r=!0;if(void 0!==t&&0<t.length&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;0<=n;--n){var l=e.charCodeAt(n);if(l===h){if(!r){o=n+1;break}}else-1===s&&(r=!1,s=n+1),0<=a&&(l===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=s))}return o===i?i=s:-1===i&&(i=e.length),e.slice(o,i)}for(n=e.length-1;0<=n;--n)if(e.charCodeAt(n)===h){if(!r){o=n+1;break}}else-1===i&&(r=!1,i=n+1);return-1===i?"":e.slice(o,i)},extname:function(e){b(e,"path");for(var t=-1,n=0,o=-1,i=!0,r=0,a=e.length-1;0<=a;--a){var s=e.charCodeAt(a);if(s===h){if(i)continue;n=a+1;break}-1===o&&(i=!1,o=a+1),s===p?-1===t?t=a:1!==r&&(r=1):-1!==t&&(r=-1)}return-1===t||-1===o||0===r||1===r&&t===o-1&&t===n+1?"":e.slice(t,o)},format:function(e){if(null===e||"object"!=typeof e)throw new u("pathObject","Object",e);return f("/",e)},parse:function(e){b(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,o=e.charCodeAt(0)===h;n=o?(t.root="/",1):0;for(var i=-1,r=0,a=-1,s=!0,l=e.length-1,u=0;n<=l;--l){var c=e.charCodeAt(l);if(c===h){if(s)continue;r=l+1;break}-1===a&&(s=!1,a=l+1),c===p?-1===i?i=l:1!==u&&(u=1):-1!==i&&(u=-1)}return-1===i||-1===a||0===u||1===u&&i===a-1&&i===r+1?-1!==a&&(t.base=t.name=0===r&&o?e.slice(1,a):e.slice(r,a)):(0===r&&o?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(r,i),t.base=e.slice(r,a)),t.ext=e.slice(i,a)),0<r?t.dir=e.slice(0,r-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};_.win32=A.win32=A,_.posix=A.posix=_;var w="win32"===m.platform?A.normalize:_.normalize,x="win32"===m.platform?A.join:_.join,S="win32"===m.platform?A.relative:_.relative,L="win32"===m.platform?A.dirname:_.dirname,D="win32"===m.platform?A.basename:_.basename,k="win32"===m.platform?A.extname:_.extname,N="win32"===m.platform?A.sep:_.sep}.call(I,O(112))},1668:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("editorWorkerService")},1669:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.d=function(e){if(e<0)return 0;if(255<e)return 255;return 0|e},t.b=r,t.c=function(e){for(var t=e.length,n=new Uint32Array(t),o=0;o<t;o++)n[o]=r(e[o]);return n};var o=(i.prototype.get=function(e,t){return this._data[e*this.cols+t]},i.prototype.set=function(e,t,n){this._data[e*this.cols+t]=n},i);function i(e,t,n){for(var o=new Uint8Array(e*t),i=0,r=e*t;i<r;i++)o[i]=n;this._data=o,this.rows=e,this.cols=t}function r(e){return e<0?0:4294967295<e?4294967295:0|e}},1670:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1251),i=(r.prototype.equals=function(e){return e instanceof r&&this.slicedEquals(e,0,this._tokensCount)},r.prototype.slicedEquals=function(e,t,n){if(this._text!==e._text)return!1;if(this._tokensCount!==e._tokensCount)return!1;for(var o=t<<1,i=o+(n<<1),r=o;r<i;r++)if(this._tokens[r]!==e._tokens[r])return!1;return!0},r.prototype.getLineContent=function(){return this._text},r.prototype.getCount=function(){return this._tokensCount},r.prototype.getStartOffset=function(e){return 0<e?this._tokens[e-1<<1]:0},r.prototype.getLanguageId=function(e){var t=this._tokens[1+(e<<1)];return o.u.getLanguageId(t)},r.prototype.getStandardTokenType=function(e){var t=this._tokens[1+(e<<1)];return o.u.getTokenType(t)},r.prototype.getForeground=function(e){var t=this._tokens[1+(e<<1)];return o.u.getForeground(t)},r.prototype.getClassName=function(e){var t=this._tokens[1+(e<<1)];return o.u.getClassNameFromMetadata(t)},r.prototype.getInlineStyle=function(e,t){var n=this._tokens[1+(e<<1)];return o.u.getInlineStyleFromMetadata(n,t)},r.prototype.getEndOffset=function(e){return this._tokens[e<<1]},r.prototype.findTokenIndexAtOffset=function(e){return r.findIndexInTokensArray(this._tokens,e)},r.prototype.inflate=function(){return this},r.prototype.sliceAndInflate=function(e,t,n){return new a(this,e,t,n)},r.convertToEndOffset=function(e,t){for(var n=(e.length>>>1)-1,o=0;o<n;o++)e[o<<1]=e[o+1<<1];e[n<<1]=t},r.findIndexInTokensArray=function(e,t){if(e.length<=2)return 0;for(var n=0,o=(e.length>>>1)-1;n<o;){var i=n+Math.floor((o-n)/2),r=e[i<<1];if(r===t)return i+1;r<t?n=i+1:t<r&&(o=i)}return n},r);function r(e,t){this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=t}var a=(s.prototype.equals=function(e){return e instanceof s&&this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount)},s.prototype.getCount=function(){return this._tokensCount},s.prototype.getForeground=function(e){return this._source.getForeground(this._firstTokenIndex+e)},s.prototype.getEndOffset=function(e){var t=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,t)-this._startOffset+this._deltaOffset},s.prototype.getClassName=function(e){return this._source.getClassName(this._firstTokenIndex+e)},s.prototype.getInlineStyle=function(e,t){return this._source.getInlineStyle(this._firstTokenIndex+e,t)},s.prototype.findTokenIndexAtOffset=function(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex},s);function s(e,t,n,o){this._source=e,this._startOffset=t,this._endOffset=n,this._deltaOffset=o,this._firstTokenIndex=e.findTokenIndexAtOffset(t),this._tokensCount=0;for(var i=this._firstTokenIndex,r=e.getCount();i<r;i++){if(n<=e.getStartOffset(i))break;this._tokensCount++}}},1671:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return E}),t.c=a,t.d=function(e){var t=Object(o.a)(1e4),n=a(e,t);return new s(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)};var O=n(989),o=n(1780),v=n(1781),S=function(e,t){this.endIndex=e,this.type=t},i=(r.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.spaceWidth===e.spaceWidth&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.fontLigatures===e.fontLigatures&&v.a.equalsArr(this.lineDecorations,e.lineDecorations)&&this.lineTokens.equals(e.lineTokens)},r);function r(e,t,n,o,i,r,a,s,l,u,c,d,h,p,f){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.continuesWithWrappedLine=o,this.isBasicASCII=i,this.containsRTL=r,this.fauxIndentLength=a,this.lineTokens=s,this.lineDecorations=l,this.tabSize=u,this.spaceWidth=c,this.stopRenderingLineAfter=d,this.renderWhitespace="all"===h?2:"boundary"===h?1:0,this.renderControlCharacters=p,this.fontLigatures=f}var E=(d.getPartIndex=function(e){return(4294901760&e)>>>16},d.getCharIndex=function(e){return(65535&e)>>>0},d.prototype.setPartData=function(e,t,n,o){var i=(t<<16|n<<0)>>>0;this._data[e]=i,this._absoluteOffsets[e]=o+n},d.prototype.getAbsoluteOffsets=function(){return this._absoluteOffsets},d.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]},d.prototype.partDataToCharOffset=function(e,t,n){if(0===this.length)return 0;for(var o=(e<<16|n<<0)>>>0,i=0,r=this.length-1;i+1<r;){var a=i+r>>>1,s=this._data[a];if(s===o)return a;o<s?r=a:i=a}if(i===r)return i;var l=this._data[i],u=this._data[r];if(l===o)return i;if(u===o)return r;var c=d.getPartIndex(l);return n-d.getCharIndex(l)<=(c!==d.getPartIndex(u)?t:d.getCharIndex(u))-n?i:r},d);function d(e,t){this.length=e,this._data=new Uint32Array(this.length),this._absoluteOffsets=new Uint32Array(this.length)}var M=function(e,t,n){this.characterMapping=e,this.containsRTL=t,this.containsForeignElements=n};function a(e,t){if(0!==e.lineContent.length)return function(e,t){var n=e.fontIsMonospace,o=e.canUseHalfwidthRightwardsArrow,i=e.containsForeignElements,r=e.lineContent,a=e.len,s=e.isOverflowing,l=e.parts,u=e.tabSize,c=e.containsRTL,d=e.spaceWidth,h=e.renderWhitespace,p=e.renderControlCharacters,f=new E(a+1,l.length),g=0,m=0,b=0,v=0,y=0;t.appendASCIIString("<span>");for(var C=0,A=l.length;C<A;C++){y+=v;var _=l[C],w=_.endIndex,x=_.type,S=0!==h&&0<=x.indexOf("vs-whitespace");if(b=0,t.appendASCIIString('<span class="'),t.appendASCIIString(x),t.appendASCII(34),S){for(var L=0,D=g,k=m;D<w;D++){if(9===(N=r.charCodeAt(D)))k+=(I=u-(D+k)%u)-1,L+=I;else L++}if(!n)!("vs-whitespace"===x)&&i||(t.appendASCIIString(' style="width:'),t.appendASCIIString(String(d*L)),t.appendASCIIString('px"'));for(t.appendASCII(62);g<w;g++){if(f.setPartData(g,C,b,y),9===(N=r.charCodeAt(g)))for(m+=(I=u-(g+m)%u)-1,b+=I-1,0<I&&(!o||1<I?t.write1(8594):t.write1(65515),I--);0<I;)t.write1(160),I--;else t.write1(183);b++}v=L}else{L=0;for(c&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);g<w;g++){var N;switch(f.setPartData(g,C,b,y),N=r.charCodeAt(g)){case 9:var I;for(m+=(I=u-(g+m)%u)-1,b+=I-1;0<I;)t.write1(160),L++,I--;break;case 32:t.write1(160),L++;break;case 60:t.appendASCIIString("&lt;"),L++;break;case 62:t.appendASCIIString("&gt;"),L++;break;case 38:t.appendASCIIString("&amp;"),L++;break;case 0:t.appendASCIIString("&#00;"),L++;break;case 65279:case 8232:t.write1(65533),L++;break;default:O.s(N)&&m++,p&&N<32?t.write1(9216+N):t.write1(N),L++}b++}v=L}t.appendASCIIString("</span>")}f.setPartData(a,l.length-1,b,y),s&&t.appendASCIIString("<span>&hellip;</span>");return t.appendASCIIString("</span>"),new M(f,c,i)}(function(e){var t,n,o=e.useMonospaceOptimizations,i=e.lineContent;n=-1!==e.stopRenderingLineAfter&&e.stopRenderingLineAfter<i.length?(t=!0,e.stopRenderingLineAfter):(t=!1,i.length);var r=function(e,t,n){var o=[],i=0;0<t&&(o[i++]=new S(t,""));for(var r=0,a=e.getCount();r<a;r++){var s=e.getEndOffset(r);if(!(s<=t)){var l=e.getClassName(r);if(n<=s){o[i++]=new S(n,l);break}o[i++]=new S(s,l)}}return o}(e.lineTokens,e.fauxIndentLength,n);2!==e.renderWhitespace&&1!==e.renderWhitespace||(r=function(e,t,n,o,i,r,a,s){var l,u=[],c=0,d=0,h=o[d].type,p=o[d].endIndex,f=o.length,g=O.n(e);l=-1===g?g=t:O.x(e);for(var m=0,b=0;b<i;b++){9===(y=e.charCodeAt(b))?m=r:O.s(y)?m+=2:m++}m%=r;var v=!1;for(b=i;b<t;b++){var y=e.charCodeAt(b),C=void 0;if(b<g||l<b)C=!0;else if(9===y)C=!0;else if(32===y)if(s)if(v)C=!0;else{var A=b+1<t?e.charCodeAt(b+1):0;C=32===A||9===A}else C=!0;else C=!1;v?(!C||!a&&r<=m)&&(u[c++]=new S(b,"vs-whitespace"),m%=r):(b===p||C&&i<b)&&(u[c++]=new S(b,h),m%=r),9===y?m=r:O.s(y)?m+=2:m++,v=C,b===p&&++d<f&&(h=o[d].type,p=o[d].endIndex)}var _=!1;if(v)if(n&&s){var w=0<t?e.charCodeAt(t-1):0,x=1<t?e.charCodeAt(t-2):0;32===w&&32!==x&&9!==x||(_=!0)}else _=!0;return u[c++]=new S(t,_?"vs-whitespace":h),u}(i,n,e.continuesWithWrappedLine,r,e.fauxIndentLength,e.tabSize,o,1===e.renderWhitespace));var a=0;if(0<e.lineDecorations.length){for(var s=0,l=e.lineDecorations.length;s<l;s++){var u=e.lineDecorations[s];3===u.type?a|=1:1===u.type?a|=1:2===u.type&&(a|=2)}r=function(e,t,n,o){o.sort(v.a.compare);for(var i=v.b.normalize(e,o),r=i.length,a=0,s=[],l=0,u=0,c=0,d=n.length;c<d;c++){for(var h=n[c],p=h.endIndex,f=h.type;a<r&&i[a].startOffset<p;){var g=i[a];if(g.startOffset>u&&(u=g.startOffset,s[l++]=new S(u,f)),!(g.endOffset+1<=p)){u=p,s[l++]=new S(u,f+" "+g.className);break}u=g.endOffset+1,s[l++]=new S(u,f+" "+g.className),a++}u<p&&(u=p,s[l++]=new S(u,f))}var m=n[n.length-1].endIndex;if(a<r&&i[a].startOffset===m){for(var b=[];a<r&&i[a].startOffset===m;)b.push(i[a].className),a++;s[l++]=new S(u,b.join(" "))}return s}(i,0,r,e.lineDecorations)}e.containsRTL||(r=function(e,t,n){var o=0,i=[],r=0;if(n)for(var a=0,s=t.length;a<s;a++){var l=(p=t[a]).endIndex;if(o+50<l){for(var u=p.type,c=-1,d=o,h=o;h<l;h++)32===e.charCodeAt(h)&&(c=h),-1!==c&&50<=h-d&&(i[r++]=new S(c+1,u),d=c+1,c=-1);d!==l&&(i[r++]=new S(l,u))}else i[r++]=p;o=l}else for(a=0,s=t.length;a<s;a++){var p=t[a],f=(l=p.endIndex)-o;if(50<f){u=p.type;var g=Math.ceil(f/50);for(h=1;h<g;h++){var m=o+50*h;i[r++]=new S(m,u)}i[r++]=new S(l,u)}else i[r++]=p;o=l}return i}(i,r,!e.isBasicASCII||e.fontLigatures));return new c(o,e.canUseHalfwidthRightwardsArrow,i,n,t,r,a,e.tabSize,e.containsRTL,e.spaceWidth,e.renderWhitespace,e.renderControlCharacters)}(e),t);var n=0,o="<span><span> </span></span>";if(0<e.lineDecorations.length){for(var i=[],r=0,a=e.lineDecorations.length;r<a;r++){var s=e.lineDecorations[r];1===s.type&&(i.push(e.lineDecorations[r].className),n|=1),2===s.type&&(i.push(e.lineDecorations[r].className),n|=2)}0!==n&&(o='<span><span class="'+i.join(" ")+'"></span></span>')}return t.appendASCIIString(o),new M(new E(0,0),!1,n)}var s=function(e,t,n,o){this.characterMapping=e,this.html=t,this.containsRTL=n,this.containsForeignElements=o};var c=function(e,t,n,o,i,r,a,s,l,u,c,d){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=t,this.lineContent=n,this.len=o,this.isOverflowing=i,this.parts=r,this.containsForeignElements=a,this.tabSize=s,this.containsRTL=l,this.spaceWidth=u,this.renderWhitespace=c,this.renderControlCharacters=d}},1672:function(e,t,n){"use strict";t.e=h,n.d(t,"a",function(){return p}),n.d(t,"c",function(){return f}),n.d(t,"d",function(){return C}),n.d(t,"b",function(){return w});var o,i=n(1587),r=n(1125),a=n(1291),s=n(1350),l=n(966),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},d=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}};function h(e){return void 0!==e.command}var p=Object(r.c)("menuService"),f=(g.prototype.addCommand=function(e){var t=this;return this._commands[e.id]=e,this._onDidChangeMenu.fire(0),{dispose:function(){delete t._commands[e.id]&&t._onDidChangeMenu.fire(0)}}},g.prototype.getCommand=function(e){return this._commands[e]},g.prototype.getCommands=function(){var e=Object.create(null);for(var t in this._commands)e[t]=this.getCommand(t);return e},g.prototype.appendMenuItem=function(t,n){var o=this,i=this._menuItems[t];return i?i.push(n):this._menuItems[t]=i=[n],this._onDidChangeMenu.fire(t),{dispose:function(){var e=i.indexOf(n);0<=e&&(i.splice(e,1),o._onDidChangeMenu.fire(t))}}},g.prototype.getMenuItems=function(e){var t=(this._menuItems[e]||[]).slice(0);return 0===e&&this._appendImplicitItems(t),t},g.prototype._appendImplicitItems=function(e){for(var t=new Set,n=0,o=e.filter(function(e){return h(e)});n<o.length;n++){var i=o[n],r=i.command,a=i.alt;t.add(r.id),a&&t.add(a.id)}for(var s in this._commands)t.has(s)||e.push({command:this._commands[s]})},new g);function g(){this._commands=Object.create(null),this._menuItems=Object.create(null),this._onDidChangeMenu=new l.a,this.onDidChangeMenu=this._onDidChangeMenu.event}var m,b=(m=i.a,u(v,m),v.prototype.run=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(e=this._commandService).executeCommand.apply(e,[this.id].concat(t))},v=c([d(2,s.b)],v));function v(e,t,n){var o=m.call(this,e,t)||this;return o._commandService=n,o}var y,C=(y=i.a,u(A,y),A);function A(e){var t=this;return(t="string"==typeof e.title?y.call(this,"",e.title,"submenu")||this:y.call(this,"",e.title.value,"submenu")||this).item=e,t}var _,w=(u(x,_=b),x.prototype.run=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[];return this._options.arg&&(n=n.concat([this._options.arg])),this._options.shouldForwardArgs&&(n=n.concat(e)),_.prototype.run.apply(this,n)},x=c([d(3,a.c),d(4,s.b)],x));function x(e,t,n,o,i){var r=this;return(r="string"==typeof e.title?_.call(this,e.id,e.title,i)||this:_.call(this,e.id,e.title.value,i)||this)._cssClass=void 0,r._enabled=!e.precondition||o.contextMatchesRules(e.precondition),r._checked=Boolean(e.toggled&&o.contextMatchesRules(e.toggled)),r._options=n||{},r.item=e,r.alt=t?new x(t,void 0,r._options,o,i):void 0,r}},1673:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("telemetryService")},1674:function(e,t,n){"use strict";t.b=function(e,t){var n=new d.a(t);return n.preventDefault(),{leftButton:n.leftButton,posx:n.posx,posy:n.posy}},n.d(t,"a",function(){return s});var o,u=n(1126),c=n(2058),d=n(1409),i=n(868),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var a,s=(a=i.a,r(l,a),l.prototype.dispose=function(){this.stopMonitoring(!1),a.prototype.dispose.call(this)},l.prototype.stopMonitoring=function(e){if(this.isMonitoring()){this.hooks=Object(i.d)(this.hooks),this.mouseMoveEventMerger=null,this.mouseMoveCallback=null;var t=this.onStopCallback;this.onStopCallback=null,e&&t&&t()}},l.prototype.isMonitoring=function(){return 0<this.hooks.length},l.prototype.startMonitoring=function(e,t,n){var o=this;if(!this.isMonitoring()){this.mouseMoveEventMerger=e,this.mouseMoveCallback=t,this.onStopCallback=n;for(var i=c.a.getSameOriginWindowChain(),r=0,a=i;r<a.length;r++){var s=a[r];this.hooks.push(u.i(s.window.document,"mousemove",function(e){return o.mouseMoveCallback(e)},function(e,t){return o.mouseMoveEventMerger(e,t)})),this.hooks.push(u.g(s.window.document,"mouseup",function(e){return o.stopMonitoring(!0)}))}if(c.a.hasDifferentOriginAncestor()){var l=i[i.length-1];this.hooks.push(u.g(l.window.document,"mouseout",function(e){"html"===new d.a(e).target.tagName.toLowerCase()&&o.stopMonitoring(!0)})),this.hooks.push(u.g(l.window.document,"mouseover",function(e){"html"===new d.a(e).target.tagName.toLowerCase()&&o.stopMonitoring(!0)})),this.hooks.push(u.g(l.window.document.body,"mouseleave",function(e){o.stopMonitoring(!0)}))}}},l);function l(){var e=a.call(this)||this;return e.hooks=[],e.mouseMoveEventMerger=null,e.mouseMoveCallback=null,e.onStopCallback=null,e}},1675:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o,i,r=n(1778),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=r.a,a(l,i),l);function l(e){for(var t=i.call(this,0)||this,n=0,o=e.length;n<o;n++)t.set(e.charCodeAt(n),2);return t.set(32,1),t.set(9,1),t}var u,c,d=(u=function(e){return new s(e)},c={},function(e){return c.hasOwnProperty(e)||(c[e]=u(e)),c[e]})},1676:function(e,t,n){"use strict";n.d(t,"b",function(){return B}),n.d(t,"a",function(){return F});var o,r=n(1222),l=n(966),i=n(868),a=n(2394),d=n(989),u=n(1408),s=n(1422),c=n(1124),y=n(988),h=n(1303),p=n(1493),f=n(2395),g=n(2396),b=n(2397),m=n(2398),N=n(2401),v=n(2081),I=n(2402),C=n(1665),A=n(1251),D=n(1495),_=n(1494),w=n(1775),x=n(1776),S=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function L(e){var t=new m.a;return t.acceptChunk(e),t.finish()}function k(e,t){return("string"==typeof e?L(e):e).create(t)}var O=0;function E(){throw new Error("Invalid change accessor")}var M,B=(M=i.a,S(T,M),T.createFromString=function(e,t,n,o){return void 0===t&&(t=T.DEFAULT_CREATION_OPTIONS),void 0===n&&(n=null),void 0===o&&(o=null),new T(e,t,n,o)},T.resolveOptions=function(e,t){if(t.detectIndentation){var n=Object(g.a)(e,t.tabSize,t.insertSpaces);return new p.d({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new p.d({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},T.prototype.onDidChangeRawContentFast=function(t){return this._eventEmitter.fastEvent(function(e){return t(e.rawContentChangedEvent)})},T.prototype.onDidChangeRawContent=function(t){return this._eventEmitter.slowEvent(function(e){return t(e.rawContentChangedEvent)})},T.prototype.onDidChangeContent=function(t){return this._eventEmitter.slowEvent(function(e){return t(e.contentChangedEvent)})},T.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._tokenizationListener.dispose(),this._languageRegistryListener.dispose(),this._clearTimers(),this._isDisposed=!0,M.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 N.a(e,t))},T.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=k(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},T.prototype._createContentChanged2=function(e,t,n,o,i,r,a){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:o}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:i,isRedoing:r,isFlush:a}},T.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),o=this.getLineCount(),i=this.getLineMaxColumn(o);this._buffer=e,this._increaseVersionId(),this._resetTokenizationState(),this._decorations=Object.create(null),this._decorationsTree=new P,this._commandManager=new f.a(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new N.b([new N.d],this._versionId,!1,!1),this._createContentChanged2(new y.a(1,1,o,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(),o=this.getValueLengthInRange(n),i=this.getLineCount(),r=this.getLineMaxColumn(i);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new N.b([new N.c],this._versionId,!1,!1),this._createContentChanged2(new y.a(1,1,i,r),0,o,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,o=t.length;n<o;n++){var i=t[n],r=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-r,i.end=s-r,Object(b.d)(i)}},T.prototype._resetTokenizationState=function(){this._clearTimers();var e=this._isTooLargeForTokenization?null:A.v.get(this._languageIdentifier.language);this._tokens=new I.a(this._languageIdentifier,e),this._beginBackgroundTokenization()},T.prototype._clearTimers=function(){-1!==this._revalidateTokensTimeout&&(clearTimeout(this._revalidateTokensTimeout),this._revalidateTokensTimeout=-1)},T.prototype.onBeforeAttached=function(){this._attachedEditorCount++,this._warmUpTokens()},T.prototype.onBeforeDetached=function(){this._attachedEditorCount--},T.prototype._shouldAutoTokenize=function(){return this.isAttachedToEditor()},T.prototype.isAttachedToEditor=function(){return 0<this._attachedEditorCount},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(),o=1;o<=n;o++){var i=this._buffer.getLineLength(o);1e4<=i?t+=i:e+=i}return e<t},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=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,o=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,i=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new p.d({tabSize:t,indentSize:n,insertSpaces:o,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:i});if(!this._options.equals(r)){var a=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(a)}},T.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=Object(g.a)(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},T._normalizeIndentationFromWhitespace=function(e,t,n){for(var o=0,i=0;i<e.length;i++)"\t"===e.charAt(i)?o+=t:o++;var r="";if(!n){var a=Math.floor(o/t);for(o%=t,i=0;i<a;i++)r+="\t"}for(i=0;i<o;i++)r+=" ";return r},T.normalizeIndentation=function(e,t,n){var o=d.n(e);return-1===o&&(o=e.length),T._normalizeIndentationFromWhitespace(e.substring(0,o),t,n)+e.substring(o)},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,!1);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._setVersionId(this._versionId+1)},T.prototype._setVersionId=function(e){this._versionId=e,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(),o=this.getValueInRange(n,e);return t?this._buffer.getBOM()+o:o},T.prototype.getValueLength=function(e,t){void 0===t&&(t=!1),this._assertNotDisposed();var n=this.getFullModelRange(),o=this.getValueLengthInRange(n,e);return t?this._buffer.getBOM().length+o:o},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.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,o=this._buffer.getLineCount(),i=e.startLineNumber,r=e.startColumn;n=i<1?t=1:o<i?(t=o,this.getLineMaxColumn(t)):(t=0|i,r<=1?1:(c=this.getLineMaxColumn(t))<=r?c:0|r);var a,s,l=e.endLineNumber,u=e.endColumn;if(l<1)s=a=1;else if(o<l)a=o,s=this.getLineMaxColumn(a);else{var c;a=0|l,s=u<=1?1:(c=this.getLineMaxColumn(a))<=u?c:0|u}return i===t&&r===n&&l===a&&u===s&&e instanceof y.a&&!(e instanceof h.a)?e:new y.a(t,n,a,s)},T.prototype._isValidPosition=function(e,t,n){if(isNaN(e))return!1;if(e<1)return!1;if(this._buffer.getLineCount()<e)return!1;if(isNaN(t))return!1;if(t<1)return!1;if(this.getLineMaxColumn(e)<t)return!1;if(n&&1<t){var o=this._buffer.getLineCharCode(e,t-2);if(d.t(o))return!1}return!0},T.prototype._validatePosition=function(e,t,n){var o=Math.floor("number"!=typeof e||isNaN(e)?1:e),i=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(o<1)return new c.a(1,1);if(r<o)return new c.a(r,this.getLineMaxColumn(r));if(i<=1)return new c.a(o,1);var a=this.getLineMaxColumn(o);if(a<=i)return new c.a(o,a);if(n){var s=this._buffer.getLineCharCode(o,i-2);if(d.t(s))return new c.a(o,i-1)}return new c.a(o,i)},T.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof c.a&&this._isValidPosition(e.lineNumber,e.column,!0)?e:this._validatePosition(e.lineNumber,e.column,!0)},T.prototype._isValidRange=function(e,t){var n=e.startLineNumber,o=e.startColumn,i=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,o,!1))return!1;if(!this._isValidPosition(i,r,!1))return!1;if(t){var a=1<o?this._buffer.getLineCharCode(n,o-2):0,s=1<r&&r<=this._buffer.getLineLength(i)?this._buffer.getLineCharCode(i,r-2):0,l=d.t(a),u=d.t(s);return!l&&!u}return!0},T.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof y.a&&!(e instanceof h.a)&&this._isValidRange(e,!0))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,!1),n=this._validatePosition(e.endLineNumber,e.endColumn,!1),o=t.lineNumber,i=t.column,r=n.lineNumber,a=n.column,s=1<i?this._buffer.getLineCharCode(o,i-2):0,l=1<a&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,u=d.t(s),c=d.t(l);return u||c?o===r&&i===a?new y.a(o,i-1,r,a-1):u&&c?new y.a(o,i-1,r,a+1):u?new y.a(o,i-1,r,a):new y.a(o,i,r,a+1):new y.a(o,i,r,a)},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 y.a(1,1,e,this.getLineMaxColumn(e))},T.prototype.findMatchesLineByLine=function(e,t,n,o){return this._buffer.findMatchesLineByLine(e,t,n,o)},T.prototype.findMatches=function(e,t,n,o,i,r,a){var s;if(void 0===a&&(a=999),this._assertNotDisposed(),s=y.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var l=new v.a(e,n,o,i).parseSearchRequest();return l?this.findMatchesLineByLine(s,l,r,a):[]}return v.c.findMatches(this,new v.a(e,n,o,i),s,r,a)},T.prototype.findNextMatch=function(e,t,n,o,i,r){this._assertNotDisposed();var a=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var s=new v.a(e,n,o,i).parseSearchRequest();if(!s)return null;var l=this.getLineCount(),u=new y.a(a.lineNumber,a.column,l,this.getLineMaxColumn(l)),c=this.findMatchesLineByLine(u,s,r,1);return v.c.findNextMatch(this,new v.a(e,n,o,i),a,r),0<c.length?c[0]:(u=new y.a(1,1,a.lineNumber,this.getLineMaxColumn(a.lineNumber)),0<(c=this.findMatchesLineByLine(u,s,r,1)).length?c[0]:null)}return v.c.findNextMatch(this,new v.a(e,n,o,i),a,r)},T.prototype.findPreviousMatch=function(e,t,n,o,i,r){this._assertNotDisposed();var a=this.validatePosition(t);return v.c.findPreviousMatch(this,new v.a(e,n,o,i),a,r)},T.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},T.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==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 o=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var i=t.map(function(e){return{range:o.validateRange(e.range),text:e.text}}),r=!0,a=0,s=e.length;a<s;a++){for(var l=e[a],u=!1,c=0,d=i.length;c<d;c++){var h=(b=i[c].range).startLineNumber>l.endLineNumber,p=l.startLineNumber>b.endLineNumber;if(!h&&!p){u=!0;break}}if(!u){r=!1;break}}if(r)for(a=0,s=this._trimAutoWhitespaceLines.length;a<s;a++){var f=this._trimAutoWhitespaceLines[a],g=this.getLineMaxColumn(f),m=!0;for(c=0,d=i.length;c<d;c++){var b=i[c].range,v=i[c].text;if(!(f<b.startLineNumber||f>b.endLineNumber||f===b.startLineNumber&&b.startColumn===g&&b.isEmpty()&&v&&0<v.length&&"\n"===v.charAt(0)||f===b.startLineNumber&&1===b.startColumn&&b.isEmpty()&&v&&0<v.length&&"\n"===v.charAt(v.length-1))){m=!1;break}}m&&t.push({range:new y.a(f,1,f,g),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._eolCount=function(e){for(var t=0,n=0,o=0,i=e.length;o<i;o++){var r=e.charCodeAt(o);13===r?(0===t&&(n=o),t++,o+1<i&&10===e.charCodeAt(o+1)&&o++):10===r&&(0===t&&(n=o),t++)}return 0===t&&(n=e.length),[t,n]},T.prototype._applyEdits=function(e){for(var t=0,n=e.length;t<n;t++)e[t].range=this.validateRange(e[t].range);var o=this._buffer.getLineCount(),i=this._buffer.applyEdits(e,this._options.trimAutoWhitespace),r=this._buffer.getLineCount(),a=i.changes;if(this._trimAutoWhitespaceLines=i.trimAutoWhitespaceLineNumbers,0!==a.length){var s=[],l=o;for(t=0,n=a.length;t<n;t++){var u=a[t],c=T._eolCount(u.text),d=c[0],h=c[1];try{this._tokens.applyEdits(u.range,d,h)}catch(e){this._tokens=new I.a(this._tokens.languageIdentifier,this._tokens.tokenizationSupport)}this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(u.rangeOffset,u.rangeLength,u.text.length,u.forceMoveMarkers);for(var p=u.range.startLineNumber,f=u.range.endLineNumber,g=f-p,m=d,b=Math.min(g,m),v=m-g,y=b;0<=y;y--){var C=p+y,A=r-l-v+C;s.push(new N.e(C,this.getLineContent(A)))}if(b<g){var _=p+b;s.push(new N.f(_+1,f))}if(b<m){for(var w=p+b,x=m-b,S=r-l-x+w+1,L=[],D=0;D<x;D++){var k=S+D;L[k-S]=this.getLineContent(k)}s.push(new N.g(w+1,p+m,L))}l+=v}this._increaseVersionId(),this._emitContentChangedEvent(new N.b(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 this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization(),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(n,e){var o=this,t={addDecoration:function(e,t){return o._onDidChangeDecorations.fire(),o._deltaDecorationsImpl(n,[],[{range:e,options:t}])[0]},changeDecoration:function(e,t){o._onDidChangeDecorations.fire(),o._changeDecorationImpl(e,t)},changeDecorationOptions:function(e,t){o._onDidChangeDecorations.fire(),o._changeDecorationOptionsImpl(e,U(t))},removeDecoration:function(e){o._onDidChangeDecorations.fire(),o._deltaDecorationsImpl(n,[e],[])},deltaDecorations:function(e,t){return 0===e.length&&0===t.length?[]:(o._onDidChangeDecorations.fire(),o._deltaDecorationsImpl(n,e,t))}},i=null;try{i=e(t)}catch(e){Object(r.e)(e)}return t.addDecoration=E,t.changeDecoration=E,t.changeDecorationOptions=E,t.removeDecoration=E,t.deltaDecorations=E,i},T.prototype.deltaDecorations=function(e,t,n){if(void 0===n&&(n=0),this._assertNotDisposed(),0===(e=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 o=e?this._decorations[e]:null;if(!o)return t?this._deltaDecorationsImpl(0,[],[{range:t,options:V[n]}])[0]:null;if(!t)return this._decorationsTree.delete(o),delete this._decorations[o.id],null;var i=this._validateRangeRelaxedNoAllocations(t),r=this._buffer.getOffsetAt(i.startLineNumber,i.startColumn),a=this._buffer.getOffsetAt(i.endLineNumber,i.endColumn);return this._decorationsTree.delete(o),o.reset(this.getVersionId(),r,a,i),o.setOptions(V[n]),this._decorationsTree.insert(o),o.id},T.prototype.removeAllDecorationsWithOwnerId=function(e){if(!this._isDisposed)for(var t=this._decorationsTree.collectNodesFromOwner(e),n=0,o=t.length;n<o;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,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=this.getLineCount(),r=Math.min(i,Math.max(1,e)),a=Math.min(i,Math.max(1,t)),s=this.getLineMaxColumn(a);return this._getDecorationsInRange(new y.a(r,1,a,s),n,o)},T.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var o=this.validateRange(e);return this._getDecorationsInRange(o,t,n)},T.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),o=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(o)},T.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),o=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(o)},T.prototype._getDecorationsInRange=function(e,t,n){var o=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),i=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),a=this._decorationsTree.intervalSearch(o,i,t,n,r);return this._ensureNodesHaveRanges(a)},T.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;t<n;t++){var o=e[t];null===o.range&&(o.range=this._getRangeAt(o.cachedAbsoluteStart,o.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 o=this._validateRangeRelaxedNoAllocations(t),i=this._buffer.getOffsetAt(o.startLineNumber,o.startColumn),r=this._buffer.getOffsetAt(o.endLineNumber,o.endColumn);this._decorationsTree.delete(n),n.reset(this.getVersionId(),i,r,o),this._decorationsTree.insert(n)}},T.prototype._changeDecorationOptionsImpl=function(e,t){var n=this._decorations[e];n&&(!(!n.options.overviewRuler||!n.options.overviewRuler.color)!=!(!t.overviewRuler||!t.overviewRuler.color)?(this._decorationsTree.delete(n),n.setOptions(t),this._decorationsTree.insert(n)):n.setOptions(t))},T.prototype._deltaDecorationsImpl=function(e,t,n){for(var o=this.getVersionId(),i=t.length,r=0,a=n.length,s=0,l=new Array(a);r<i||s<a;){var u=null;if(r<i){for(;!(u=this._decorations[t[r++]])&&r<i;);u&&this._decorationsTree.delete(u)}if(s<a){if(!u){var c=++this._lastDecorationId,d=this._instanceId+";"+c;u=new b.a(d,0,0),this._decorations[d]=u}var h=n[s],p=this._validateRangeRelaxedNoAllocations(h.range),f=U(h.options),g=this._buffer.getOffsetAt(p.startLineNumber,p.startColumn),m=this._buffer.getOffsetAt(p.endLineNumber,p.endColumn);u.ownerId=e,u.reset(o,g,m,p),u.setOptions(f),this._decorationsTree.insert(u),l[s]=u.id,s++}else u&&delete this._decorations[u.id]}return l},T.prototype.tokenizeViewport=function(e,t){if(this._tokens.tokenizationSupport&&(e=Math.max(1,e),!((t=Math.min(this.getLineCount(),t))<=this._tokens.inValidLineStartIndex)))if(e<=this._tokens.inValidLineStartIndex)this.forceTokenization(t);else{for(var n=this.getLineFirstNonWhitespaceColumn(e),o=[],i=null,r=e-1;0<n&&1<=r;r--){var a=this.getLineFirstNonWhitespaceColumn(r);if(0!==a&&a<n){if(i=this._tokens._getState(r-1))break;o.push(this.getLineContent(r)),n=a}}var s=(i=i||this._tokens.tokenizationSupport.getInitialState()).clone();for(r=o.length-1;0<=r;r--)s=(u=this._tokens._tokenizeText(this._buffer,o[r],s))?u.endState.clone():i.clone();var l=new I.b;for(r=e;r<=t;r++){var u,c=this.getLineContent(r);(u=this._tokens._tokenizeText(this._buffer,c,s))?(this._tokens._setTokens(this._tokens.languageIdentifier.id,r-1,c.length,u.tokens),this._tokens._setIsInvalid(r-1,!0),this._tokens._setState(r-1,s),s=u.endState.clone(),l.registerChangedTokens(r)):s=i.clone()}var d=l.build();d&&this._onDidChangeTokens.fire(d)}},T.prototype.flushTokens=function(){this._resetTokenizationState(),this.emitModelTokensChangedEvent({tokenizationSupportChanged:!1,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]})},T.prototype.forceTokenization=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");var t=new I.b;this._tokens._updateTokensUntilLine(this._buffer,t,e);var n=t.build();n&&this._onDidChangeTokens.fire(n)},T.prototype.isCheapToTokenize=function(e){return!!this._tokens.isCheapToTokenize(e)&&(e<this._tokens.inValidLineStartIndex+1||this.getLineLength(e)<2048)},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._buffer.getLineContent(e);return this._tokens.getTokens(this._languageIdentifier.id,e-1,t)},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._resetTokenizationState(),this.emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:this.getLineCount()}]}),this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},T.prototype.getLanguageIdAtPosition=function(e,t){if(!this._tokens.tokenizationSupport)return this._languageIdentifier.id;var n=this.validatePosition({lineNumber:e,column:t}),o=n.lineNumber,i=n.column,r=this._getLineTokens(o);return r.getLanguageId(r.findTokenIndexAtOffset(i-1))},T.prototype._beginBackgroundTokenization=function(){var e=this;this._shouldAutoTokenize()&&-1===this._revalidateTokensTimeout&&(this._revalidateTokensTimeout=setTimeout(function(){e._revalidateTokensTimeout=-1,e._revalidateTokensNow()},0))},T.prototype._warmUpTokens=function(){var e=Math.min(100,this.getLineCount());this._revalidateTokensNow(e),this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization()},T.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._buffer.getLineCount());for(var t=new I.b,n=a.a.create(!1);this._tokens.hasLinesToTokenize(this._buffer)&&!(20<n.elapsed())&&!(e<=this._tokens._tokenizeOneLine(this._buffer,t)););this._tokens.hasLinesToTokenize(this._buffer)&&this._beginBackgroundTokenization();var o=t.build();o&&this._onDidChangeTokens.fire(o)},T.prototype.emitModelTokensChangedEvent=function(e){this._isDisposing||this._onDidChangeTokens.fire(e)},T.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var t=this.validatePosition(e),n=this.getLineContent(t.lineNumber),o=this._getLineTokens(t.lineNumber),i=o.findTokenIndexAtOffset(t.column-1),r=T._findLanguageBoundaries(o,i),a=r[0],s=r[1],l=Object(C.d)(t.column,D.a.getWordDefinition(o.getLanguageId(i)),n.substring(a,s),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(0<i&&a===t.column-1){var u=T._findLanguageBoundaries(o,i-1),c=u[0],d=u[1],h=Object(C.d)(t.column,D.a.getWordDefinition(o.getLanguageId(i-1)),n.substring(c,d),c);if(h&&h.startColumn<=e.column&&e.column<=h.endColumn)return h}return null},T._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),o=0,i=t;0<=i&&e.getLanguageId(i)===n;i--)o=e.getStartOffset(i);for(var r=e.getLineContent().length,a=(i=t,e.getCount());i<a&&e.getLanguageId(i)===n;i++)r=e.getEndOffset(i);return[o,r]},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(),o=this.validatePosition(t),i=this._getLineTokens(o.lineNumber),r=i.getLanguageId(i.findTokenIndexAtOffset(o.column-1)),a=D.a.getBracketsSupport(r);if(!a)return null;var s=a.textIsBracket[n];return s?this._findMatchingBracketUp(s,o):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),o=this._buffer.getLineContent(t),i=n.findTokenIndexAtOffset(e.column-1);if(i<0)return null;var r=D.a.getBracketsSupport(n.getLanguageId(i));if(r&&!Object(w.b)(n.getStandardTokenType(i))){for(var a=Math.max(n.getStartOffset(i),e.column-1-r.maxBracketLength),s=Math.min(n.getEndOffset(i),e.column-1+r.maxBracketLength),l=null;u=x.a.findNextBracketInToken(r.forwardRegex,t,o,a,s);)u.startColumn<=e.column&&e.column<=u.endColumn&&(c=(c=o.substring(u.startColumn-1,u.endColumn-1)).toLowerCase(),(d=this._matchFoundBracket(u,r.textIsBracket[c],r.textIsOpenBracket[c]))&&(l=d)),a=u.endColumn-1;if(l)return l}if(0<i&&n.getStartOffset(i)===e.column-1){s=n.getStartOffset(i),i--;var u,c,d,h=D.a.getBracketsSupport(n.getLanguageId(i));if(h&&!Object(w.b)(n.getStandardTokenType(i)))if(a=Math.max(n.getStartOffset(i),e.column-1-h.maxBracketLength),(u=x.a.findPrevBracketInToken(h.reversedRegex,t,o,a,s))&&u.startColumn<=e.column&&e.column<=u.endColumn&&(c=(c=o.substring(u.startColumn-1,u.endColumn-1)).toLowerCase(),d=this._matchFoundBracket(u,h.textIsBracket[c],h.textIsOpenBracket[c])))return d}return null},T.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var o;if(n){if(o=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,o]}else if(o=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,o];return null},T.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,o=e.reversedRegex,i=-1,r=t.lineNumber;1<=r;r--){var a=this._getLineTokens(r),s=a.getCount(),l=this._buffer.getLineContent(r),u=s-1,c=-1;for(r===t.lineNumber&&(u=a.findTokenIndexAtOffset(t.column-1),c=t.column-1);0<=u;u--){var d=a.getLanguageId(u),h=a.getStandardTokenType(u),p=a.getStartOffset(u),f=a.getEndOffset(u);if(-1===c&&(c=f),d===n&&!Object(w.b)(h))for(;;){var g=x.a.findPrevBracketInToken(o,r,l,p,c);if(!g)break;var m=l.substring(g.startColumn-1,g.endColumn-1);if((m=m.toLowerCase())===e.open?i++:m===e.close&&i--,0===i)return g;c=g.startColumn-1}c=-1}}return null},T.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,o=e.forwardRegex,i=1,r=t.lineNumber,a=this.getLineCount();r<=a;r++){var s=this._getLineTokens(r),l=s.getCount(),u=this._buffer.getLineContent(r),c=0,d=0;for(r===t.lineNumber&&(c=s.findTokenIndexAtOffset(t.column-1),d=t.column-1);c<l;c++){var h=s.getLanguageId(c),p=s.getStandardTokenType(c),f=s.getStartOffset(c),g=s.getEndOffset(c);if(0===d&&(d=f),h===n&&!Object(w.b)(p))for(;;){var m=x.a.findNextBracketInToken(o,r,u,d,g);if(!m)break;var b=u.substring(m.startColumn-1,m.endColumn-1);if((b=b.toLowerCase())===e.open?i++:b===e.close&&i--,0===i)return m;d=m.endColumn-1}d=0}}return null},T.prototype.findPrevBracket=function(e){for(var t=this.validatePosition(e),n=-1,o=null,i=t.lineNumber;1<=i;i--){var r=this._getLineTokens(i),a=r.getCount(),s=this._buffer.getLineContent(i),l=a-1,u=-1;for(i===t.lineNumber&&(l=r.findTokenIndexAtOffset(t.column-1),u=t.column-1);0<=l;l--){var c=r.getLanguageId(l),d=r.getStandardTokenType(l),h=r.getStartOffset(l),p=r.getEndOffset(l);if(-1===u&&(u=p),n!==c&&(n=c,o=D.a.getBracketsSupport(n)),o&&!Object(w.b)(d)){var f=x.a.findPrevBracketInToken(o.reversedRegex,i,s,h,u);if(f)return this._toFoundBracket(o,f)}u=-1}}return null},T.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=-1,o=null,i=t.lineNumber,r=this.getLineCount();i<=r;i++){var a=this._getLineTokens(i),s=a.getCount(),l=this._buffer.getLineContent(i),u=0,c=0;for(i===t.lineNumber&&(u=a.findTokenIndexAtOffset(t.column-1),c=t.column-1);u<s;u++){var d=a.getLanguageId(u),h=a.getStandardTokenType(u),p=a.getStartOffset(u),f=a.getEndOffset(u);if(0===c&&(c=p),n!==d&&(n=d,o=D.a.getBracketsSupport(n)),o&&!Object(w.b)(h)){var g=x.a.findNextBracketInToken(o.forwardRegex,i,l,c,f);if(g)return this._toFoundBracket(o,g)}c=0}}return null},T.prototype._toFoundBracket=function(e,t){if(!t)return null;var n=this.getValueInRange(t);n=n.toLowerCase();var o=e.textIsBracket[n];return o?{range:t,open:o.open,close:o.close,isOpen:e.textIsOpenBracket[n]}:null},T.computeIndentLevel=function(e,t){for(var n=0,o=0,i=e.length;o<i;){var r=e.charCodeAt(o);if(32===r)n++;else{if(9!==r)break;n=n-n%t+t}o++}return o===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 i=this;this._assertNotDisposed();var r=this.getLineCount();if(e<1||r<e)throw new Error("Illegal value for lineNumber");for(var o=D.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||e-1<s)){l=s=-1;for(var t=e-2;0<=t;t--){var n=i._computeIndentLevel(t);if(0<=n){s=t,l=n;break}}}if(-2===u)for(c=u=-1,t=e;t<r;t++){var o=i._computeIndentLevel(t);if(0<=o){u=t,c=o;break}}},h=-2,p=-1,f=-2,g=-1,m=function(e){if(-2===h){p=h=-1;for(var t=e-2;0<=t;t--){var n=i._computeIndentLevel(t);if(0<=n){h=t,p=n;break}}}if(-1!==f&&(-2===f||f<e-1))for(g=f=-1,t=e;t<r;t++){var o=i._computeIndentLevel(t);if(0<=o){f=t,g=o;break}}},b=0,v=!0,y=0,C=!0,A=0,_=0;v||C;_++){var w,x=e-_,S=e+_;if(0!==_&&(x<1||x<t)&&(v=!1),0!==_&&(r<S||n<S)&&(C=!1),5e4<_&&(C=v=!1),v){var L=void 0;if(L=0<=(w=this._computeIndentLevel(x-1))?(u=x-1,c=w,Math.ceil(w/this._options.indentSize)):(d(x),this._getIndentLevelForWhitespaceLine(a,l,c)),0===_){if(b=x,y=S,0===(A=L))return{startLineNumber:b,endLineNumber:y,indent:A};continue}A<=L?b=x:v=!1}if(C)A<=(0<=(w=this._computeIndentLevel(S-1))?(h=S-1,p=w,Math.ceil(w/this._options.indentSize)):(m(S),this._getIndentLevelForWhitespaceLine(a,p,g)))?y=S:C=!1}return{startLineNumber:b,endLineNumber:y,indent:A}},T.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||n<e)throw new Error("Illegal value for startLineNumber");if(t<1||n<t)throw new Error("Illegal value for endLineNumber");for(var o=D.a.getFoldingRules(this._languageIdentifier.id),i=Boolean(o&&o.offSide),r=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(0<=h)a=c-1,s=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===a){s=a=-1;for(var p=c-2;0<=p;p--)if(0<=(f=this._computeIndentLevel(p))){a=p,s=f;break}}if(-1!==l&&(-2===l||l<c-1))for(u=l=-1,p=c;p<n;p++){var f;if(0<=(f=this._computeIndentLevel(p))){l=p,u=f;break}}r[d]=this._getIndentLevelForWhitespaceLine(i,s,u)}}return r},T.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t<n?1+Math.floor(t/this._options.indentSize):t===n?Math.ceil(n/this._options.indentSize):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:s.c.tabSize,indentSize:s.c.indentSize,insertSpaces:s.c.insertSpaces,detectIndentation:!1,defaultEOL:1,trimAutoWhitespace:s.c.trimAutoWhitespace,largeFileOptimizations:s.c.largeFileOptimizations},T);function T(e,t,n,o){void 0===o&&(o=null);var i=M.call(this)||this;i._onWillDispose=i._register(new l.a),i.onWillDispose=i._onWillDispose.event,i._onDidChangeDecorations=i._register(new G),i.onDidChangeDecorations=i._onDidChangeDecorations.event,i._onDidChangeLanguage=i._register(new l.a),i.onDidChangeLanguage=i._onDidChangeLanguage.event,i._onDidChangeLanguageConfiguration=i._register(new l.a),i.onDidChangeLanguageConfiguration=i._onDidChangeLanguageConfiguration.event,i._onDidChangeTokens=i._register(new l.a),i.onDidChangeTokens=i._onDidChangeTokens.event,i._onDidChangeOptions=i._register(new l.a),i.onDidChangeOptions=i._onDidChangeOptions.event,i._eventEmitter=i._register(new q),O++,i.id="$model"+O,i.isForSimpleWidget=t.isForSimpleWidget,i._associatedResource=null==o?u.a.parse("inmemory://model/"+O):o,i._attachedEditorCount=0,i._buffer=k(e,t.defaultEOL),i._options=T.resolveOptions(i._buffer,t);var r,a=i._buffer.getLineCount(),s=i._buffer.getValueLengthInRange(new y.a(1,1,a,i._buffer.getLineLength(a)+1),0);return t.largeFileOptimizations?i._isTooLargeForTokenization=T.LARGE_FILE_SIZE_THRESHOLD<s||T.LARGE_FILE_LINE_COUNT_THRESHOLD<a:i._isTooLargeForTokenization=!1,i._isTooLargeForSyncing=T.MODEL_SYNC_LIMIT<s,i._setVersionId(1),i._isDisposed=!1,i._isDisposing=!1,i._languageIdentifier=n||_.a,i._tokenizationListener=A.v.onDidChange(function(e){-1!==e.changedLanguages.indexOf(i._languageIdentifier.language)&&(i._resetTokenizationState(),i.emitModelTokensChangedEvent({tokenizationSupportChanged:!0,ranges:[{fromLineNumber:1,toLineNumber:i.getLineCount()}]}),i._shouldAutoTokenize()&&i._warmUpTokens())}),i._revalidateTokensTimeout=-1,i._languageRegistryListener=D.a.onDidChange(function(e){e.languageIdentifier.id===i._languageIdentifier.id&&i._onDidChangeLanguageConfiguration.fire({})}),i._resetTokenizationState(),i._instanceId=(r=O,(r%=52)<26?String.fromCharCode(97+r):String.fromCharCode(65+r-26)),i._lastDecorationId=0,i._decorations=Object.create(null),i._decorationsTree=new P,i._commandManager=new f.a(i),i._isUndoing=!1,i._isRedoing=!1,i._trimAutoWhitespaceLines=null,i}var P=(j.prototype.intervalSearch=function(e,t,n,o,i){var r=this._decorationsTree0.intervalSearch(e,t,n,o,i),a=this._decorationsTree1.intervalSearch(e,t,n,o,i);return r.concat(a)},j.prototype.search=function(e,t,n,o){if(n)return this._decorationsTree1.search(e,t,o);var i=this._decorationsTree0.search(e,t,o),r=this._decorationsTree1.search(e,t,o);return i.concat(r)},j.prototype.collectNodesFromOwner=function(e){var t=this._decorationsTree0.collectNodesFromOwner(e),n=this._decorationsTree1.collectNodesFromOwner(e);return t.concat(n)},j.prototype.collectNodesPostOrder=function(){var e=this._decorationsTree0.collectNodesPostOrder(),t=this._decorationsTree1.collectNodesPostOrder();return e.concat(t)},j.prototype.insert=function(e){Object(b.c)(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},j.prototype.delete=function(e){Object(b.c)(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},j.prototype.resolveNode=function(e,t){Object(b.c)(e)?this._decorationsTree1.resolveNode(e,t):this._decorationsTree0.resolveNode(e,t)},j.prototype.acceptReplace=function(e,t,n,o){this._decorationsTree0.acceptReplace(e,t,n,o),this._decorationsTree1.acceptReplace(e,t,n,o)},j);function j(){this._decorationsTree0=new b.b,this._decorationsTree1=new b.b}function R(e){return e.replace(/[^a-z0-9\-_]/gi," ")}var W=(z.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},z.prototype.invalidateCachedColor=function(){this._resolvedColor=null},z.prototype._resolveColor=function(e,t){if("string"==typeof e)return e;var n=e?t.getColor(e.id):null;return n?n.toString():d.i},z);function z(e){this.color=e.color||d.i,this.darkColor=e.darkColor||d.i,this.position="number"==typeof e.position?e.position:p.c.Center,this._resolvedColor=null}var F=(H.register=function(e){return new H(e)},H.createDynamic=function(e){return new H(e)},H);function H(e){this.stickiness=e.stickiness||0,this.zIndex=e.zIndex||0,this.className=e.className?R(e.className):null,this.hoverMessage=e.hoverMessage||null,this.glyphMarginHoverMessage=e.glyphMarginHoverMessage||null,this.isWholeLine=e.isWholeLine||!1,this.showIfCollapsed=e.showIfCollapsed||!1,this.collapseOnReplaceEdit=e.collapseOnReplaceEdit||!1,this.overviewRuler=e.overviewRuler?new W(e.overviewRuler):null,this.glyphMarginClassName=e.glyphMarginClassName?R(e.glyphMarginClassName):null,this.linesDecorationsClassName=e.linesDecorationsClassName?R(e.linesDecorationsClassName):null,this.marginClassName=e.marginClassName?R(e.marginClassName):null,this.inlineClassName=e.inlineClassName?R(e.inlineClassName):null,this.inlineClassNameAffectsLetterSpacing=e.inlineClassNameAffectsLetterSpacing||!1,this.beforeContentClassName=e.beforeContentClassName?R(e.beforeContentClassName):null,this.afterContentClassName=e.afterContentClassName?R(e.afterContentClassName):null}F.EMPTY=F.register({});var V=[F.register({stickiness:0}),F.register({stickiness:1}),F.register({stickiness:2}),F.register({stickiness:3})];function U(e){return e instanceof F?e:F.createDynamic(e)}var Z,G=(Z=i.a,S(K,Z),K.prototype.beginDeferredEmit=function(){this._deferredCnt++},K.prototype.endDeferredEmit=function(){this._deferredCnt--,0===this._deferredCnt&&this._shouldFire&&(this._shouldFire=!1,this._actual.fire({}))},K.prototype.fire=function(){this._shouldFire=!0},K);function K(){var e=Z.call(this)||this;return e._actual=e._register(new l.a),e.event=e._actual.event,e._deferredCnt=0,e._shouldFire=!1,e}var Y,q=(Y=i.a,S(J,Y),J.prototype.beginDeferredEmit=function(){this._deferredCnt++},J.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)}},J.prototype.fire=function(e){0<this._deferredCnt?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},J);function J(){var e=Y.call(this)||this;return e._fastEmitter=e._register(new l.a),e.fastEvent=e._fastEmitter.event,e._slowEmitter=e._register(new l.a),e.slowEvent=e._slowEmitter.event,e._deferredCnt=0,e._deferredEvent=null,e}},1677:function(e,t,n){"use strict";n.d(t,"b",function(){return x}),n.d(t,"c",function(){return D}),n.d(t,"a",function(){return I});var o,i=n(2419),r=(n.n(i),n(1126)),a=n(1223),s=n(1409),l=n(2421),u=n(2423),c=n(1789),d=n(1239),h=n(966),p=n(868),f=n(1134),g=n(2089),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},v=(y.prototype.isPhysicalMouseWheel=function(){if(-1===this._front&&-1===this._rear)return!1;for(var e=1,t=0,n=1,o=this._rear;;){var i=o===this._front?e:Math.pow(2,-n);if(e-=i,t+=this._memory[o].score*i,o===this._front)break;o=(this._capacity+o-1)%this._capacity,n++}return t<=.5},y.prototype.accept=function(e,t,n){var o=new b(e,t,n);o.score=this._computeScore(o),-1===this._front&&-1===this._rear?(this._memory[0]=o,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]=o)},y.prototype._computeScore=function(e){if(0<Math.abs(e.deltaX)&&0<Math.abs(e.deltaY))return 1;var t=.5;return-1===this._front&&-1===this._rear||this._memory[this._rear],(0<Math.abs(e.deltaX-Math.round(e.deltaX))||0<Math.abs(e.deltaY-Math.round(e.deltaY)))&&(t+=.25),Math.min(Math.max(t,0),1)},y.INSTANCE=new y,y);function y(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}var C,A=(C=c.a,m(_,C),_.prototype.dispose=function(){this._mouseWheelToDispose=Object(p.d)(this._mouseWheelToDispose),C.prototype.dispose.call(this)},_.prototype.getDomNode=function(){return this._domNode},_.prototype.getOverviewRulerLayoutInfo=function(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}},_.prototype.delegateVerticalScrollbarMouseDown=function(e){this._verticalScrollbar.delegateMouseDown(e)},_.prototype.getScrollDimensions=function(){return this._scrollable.getScrollDimensions()},_.prototype.setScrollDimensions=function(e){this._scrollable.setScrollDimensions(e)},_.prototype.updateClassName=function(e){this._options.className=e,f.d&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className},_.prototype.updateOptions=function(e){var t=E(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()},_.prototype._setListeningToMouseWheel=function(e){var t=this;0<this._mouseWheelToDispose.length!==e&&(this._mouseWheelToDispose=Object(p.d)(this._mouseWheelToDispose),e)&&this._mouseWheelToDispose.push(r.g(this._listenOnDomNode,"mousewheel",function(e){t._onMouseWheel(new s.b(e))}))},_.prototype._onMouseWheel=function(e){var t,n=v.INSTANCE;if(n.accept(Date.now(),e.deltaX,e.deltaY),e.deltaY||e.deltaX){var o=e.deltaY*this._options.mouseWheelScrollSensitivity,i=e.deltaX*this._options.mouseWheelScrollSensitivity;this._options.flipAxes&&(o=(t=[i,o])[0],i=t[1]);var r=!f.d&&e.browserEvent&&e.browserEvent.shiftKey;!this._options.scrollYToX&&!r||i||(i=o,o=0),e.browserEvent&&e.browserEvent.altKey&&(i*=this._options.fastScrollSensitivity,o*=this._options.fastScrollSensitivity);var a=this._scrollable.getFutureScrollPosition(),s={};if(o){var l=a.scrollTop-50*o;this._verticalScrollbar.writeScrollPosition(s,l)}if(i){var u=a.scrollLeft-50*i;this._horizontalScrollbar.writeScrollPosition(s,u)}s=this._scrollable.validateScrollPosition(s),a.scrollLeft===s.scrollLeft&&a.scrollTop===s.scrollTop||(this._options.mouseWheelSmoothScroll&&n.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(s):this._scrollable.setScrollPositionNow(s),this._shouldRender=!0)}(this._options.alwaysConsumeMouseWheel||this._shouldRender)&&(e.preventDefault(),e.stopPropagation())},_.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()},_.prototype.renderNow=function(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()},_.prototype._render=function(){if(this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){var e=this._scrollable.getCurrentScrollPosition(),t=0<e.scrollTop,n=0<e.scrollLeft;this._leftShadowDomNode.setClassName("shadow"+(n?" left":"")),this._topShadowDomNode.setClassName("shadow"+(t?" top":"")),this._topLeftShadowDomNode.setClassName("shadow top-left-corner"+(t?" top":"")+(n?" left":""))}},_.prototype._onDragStart=function(){this._isDragging=!0,this._reveal()},_.prototype._onDragEnd=function(){this._isDragging=!1,this._hide()},_.prototype._onMouseOut=function(e){this._mouseIsOver=!1,this._hide()},_.prototype._onMouseOver=function(e){this._mouseIsOver=!0,this._reveal()},_.prototype._reveal=function(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()},_.prototype._hide=function(){this._mouseIsOver||this._isDragging||(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())},_.prototype._scheduleHide=function(){var e=this;this._mouseIsOver||this._isDragging||this._hideTimeout.cancelAndSet(function(){return e._hide()},500)},_);function _(e,t,n){var o=C.call(this)||this;o._onScroll=o._register(new h.a),o.onScroll=o._onScroll.event,e.style.overflow="hidden",o._options=E(t),o._scrollable=n,o._register(o._scrollable.onScroll(function(e){o._onDidScroll(e),o._onScroll.fire(e)}));var i={onMouseWheel:function(e){return o._onMouseWheel(e)},onDragStart:function(){return o._onDragStart()},onDragEnd:function(){return o._onDragEnd()}};return o._verticalScrollbar=o._register(new u.a(o._scrollable,o._options,i)),o._horizontalScrollbar=o._register(new l.a(o._scrollable,o._options,i)),o._domNode=document.createElement("div"),o._domNode.className="monaco-scrollable-element "+o._options.className,o._domNode.setAttribute("role","presentation"),o._domNode.style.position="relative",o._domNode.style.overflow="hidden",o._domNode.appendChild(e),o._domNode.appendChild(o._horizontalScrollbar.domNode.domNode),o._domNode.appendChild(o._verticalScrollbar.domNode.domNode),o._options.useShadows&&(o._leftShadowDomNode=Object(a.b)(document.createElement("div")),o._leftShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._leftShadowDomNode.domNode),o._topShadowDomNode=Object(a.b)(document.createElement("div")),o._topShadowDomNode.setClassName("shadow"),o._domNode.appendChild(o._topShadowDomNode.domNode),o._topLeftShadowDomNode=Object(a.b)(document.createElement("div")),o._topLeftShadowDomNode.setClassName("shadow top-left-corner"),o._domNode.appendChild(o._topLeftShadowDomNode.domNode)),o._listenOnDomNode=o._options.listenOnDomNode||o._domNode,o._mouseWheelToDispose=[],o._setListeningToMouseWheel(o._options.handleMouseWheel),o.onmouseover(o._listenOnDomNode,function(e){return o._onMouseOver(e)}),o.onnonbubblingmouseout(o._listenOnDomNode,function(e){return o._onMouseOut(e)}),o._hideTimeout=o._register(new d.d),o._isDragging=!1,o._mouseIsOver=!1,o._shouldRender=!0,o._revealOnScroll=!0,o}var w,x=(m(S,w=A),S.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},S.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},S);function S(e,t){var n=this;(t=t||{}).mouseWheelSmoothScroll=!1;var o=new g.a(0,function(e){return r.K(e)});return(n=w.call(this,e,t,o)||this)._register(o),n}var L,D=(m(k,L=A),k);function k(e,t,n){return L.call(this,e,t,n)||this}var N,I=(m(O,N=x),O.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})},O);function O(e,t){var n=N.call(this,e,t)||this;return n._element=e,n.onScroll(function(e){e.scrollTopChanged&&(n._element.scrollTop=e.scrollTop),e.scrollLeftChanged&&(n._element.scrollLeft=e.scrollLeft)}),n.scanDomNode(),n}function E(e){var t={lazyRender:void 0!==e.lazyRender&&e.lazyRender,className:void 0!==e.className?e.className:"",useShadows:void 0===e.useShadows||e.useShadows,handleMouseWheel:void 0===e.handleMouseWheel||e.handleMouseWheel,flipAxes:void 0!==e.flipAxes&&e.flipAxes,alwaysConsumeMouseWheel:void 0!==e.alwaysConsumeMouseWheel&&e.alwaysConsumeMouseWheel,scrollYToX:void 0!==e.scrollYToX&&e.scrollYToX,mouseWheelScrollSensitivity:void 0!==e.mouseWheelScrollSensitivity?e.mouseWheelScrollSensitivity:1,fastScrollSensitivity:void 0!==e.fastScrollSensitivity?e.fastScrollSensitivity:5,mouseWheelSmoothScroll:void 0===e.mouseWheelSmoothScroll||e.mouseWheelSmoothScroll,arrowSize:void 0!==e.arrowSize?e.arrowSize:11,listenOnDomNode:void 0!==e.listenOnDomNode?e.listenOnDomNode:null,horizontal:void 0!==e.horizontal?e.horizontal:1,horizontalScrollbarSize:void 0!==e.horizontalScrollbarSize?e.horizontalScrollbarSize:10,horizontalSliderSize:void 0!==e.horizontalSliderSize?e.horizontalSliderSize:0,horizontalHasArrows:void 0!==e.horizontalHasArrows&&e.horizontalHasArrows,vertical:void 0!==e.vertical?e.vertical:1,verticalScrollbarSize:void 0!==e.verticalScrollbarSize?e.verticalScrollbarSize:10,verticalHasArrows:void 0!==e.verticalHasArrows&&e.verticalHasArrows,verticalSliderSize:void 0!==e.verticalSliderSize?e.verticalSliderSize:0};return t.horizontalSliderSize=void 0!==e.horizontalSliderSize?e.horizontalSliderSize:t.horizontalScrollbarSize,t.verticalSliderSize=void 0!==e.verticalSliderSize?e.verticalSliderSize:t.verticalScrollbarSize,f.d&&(t.className+=" mac"),t}},1678:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.set=function(e,t){var n=this._entries.get(e);return this._entries.set(e,t),n},i.prototype.has=function(e){return this._entries.has(e)},i.prototype.get=function(e){return this._entries.get(e)},i);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._entries=new Map;for(var n=0,o=e;n<o.length;n++){var i=o[n],r=i[0],a=i[1];this.set(r,a)}}},1679:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("accessibilityService")},1680:function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return r});var o=n(1125),i=Object(o.c)("contextViewService"),r=Object(o.c)("contextMenuService")},1772:function(e,t,n){"use strict";var o,i,r,a,s,l,u,c,d,h,p,f,g,m,b,v,y,C,A,_,w,x,S,L,D,k,N,I,O,E,M,B,T,P,j,R,W,z,F,H,V,U,Z,G,K,Y,q,J,X,Q,$,ee,te,ne;n.d(t,"m",function(){return o}),n.d(t,"l",function(){return r}),n.d(t,"k",function(){return s}),n.d(t,"u",function(){return u}),n.d(t,"t",function(){return d}),n.d(t,"p",function(){return p}),n.d(t,"h",function(){return g}),n.d(t,"f",function(){return b}),n.d(t,"i",function(){return y}),n.d(t,"z",function(){return A}),n.d(t,"s",function(){return w}),n.d(t,"e",function(){return S}),n.d(t,"r",function(){return D}),n.d(t,"A",function(){return N}),n.d(t,"x",function(){return O}),n.d(t,"y",function(){return M}),n.d(t,"q",function(){return T}),n.d(t,"d",function(){return j}),n.d(t,"o",function(){return W}),n.d(t,"n",function(){return F}),n.d(t,"j",function(){return V}),n.d(t,"b",function(){return Z}),n.d(t,"a",function(){return K}),n.d(t,"c",function(){return q}),n.d(t,"v",function(){return X}),n.d(t,"g",function(){return $}),n.d(t,"w",function(){return te}),(i=o=o||{})[i.Unnecessary=1]="Unnecessary",(a=r=r||{})[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error",(l=s=s||{})[l.Unknown=0]="Unknown",l[l.Backspace=1]="Backspace",l[l.Tab=2]="Tab",l[l.Enter=3]="Enter",l[l.Shift=4]="Shift",l[l.Ctrl=5]="Ctrl",l[l.Alt=6]="Alt",l[l.PauseBreak=7]="PauseBreak",l[l.CapsLock=8]="CapsLock",l[l.Escape=9]="Escape",l[l.Space=10]="Space",l[l.PageUp=11]="PageUp",l[l.PageDown=12]="PageDown",l[l.End=13]="End",l[l.Home=14]="Home",l[l.LeftArrow=15]="LeftArrow",l[l.UpArrow=16]="UpArrow",l[l.RightArrow=17]="RightArrow",l[l.DownArrow=18]="DownArrow",l[l.Insert=19]="Insert",l[l.Delete=20]="Delete",l[l.KEY_0=21]="KEY_0",l[l.KEY_1=22]="KEY_1",l[l.KEY_2=23]="KEY_2",l[l.KEY_3=24]="KEY_3",l[l.KEY_4=25]="KEY_4",l[l.KEY_5=26]="KEY_5",l[l.KEY_6=27]="KEY_6",l[l.KEY_7=28]="KEY_7",l[l.KEY_8=29]="KEY_8",l[l.KEY_9=30]="KEY_9",l[l.KEY_A=31]="KEY_A",l[l.KEY_B=32]="KEY_B",l[l.KEY_C=33]="KEY_C",l[l.KEY_D=34]="KEY_D",l[l.KEY_E=35]="KEY_E",l[l.KEY_F=36]="KEY_F",l[l.KEY_G=37]="KEY_G",l[l.KEY_H=38]="KEY_H",l[l.KEY_I=39]="KEY_I",l[l.KEY_J=40]="KEY_J",l[l.KEY_K=41]="KEY_K",l[l.KEY_L=42]="KEY_L",l[l.KEY_M=43]="KEY_M",l[l.KEY_N=44]="KEY_N",l[l.KEY_O=45]="KEY_O",l[l.KEY_P=46]="KEY_P",l[l.KEY_Q=47]="KEY_Q",l[l.KEY_R=48]="KEY_R",l[l.KEY_S=49]="KEY_S",l[l.KEY_T=50]="KEY_T",l[l.KEY_U=51]="KEY_U",l[l.KEY_V=52]="KEY_V",l[l.KEY_W=53]="KEY_W",l[l.KEY_X=54]="KEY_X",l[l.KEY_Y=55]="KEY_Y",l[l.KEY_Z=56]="KEY_Z",l[l.Meta=57]="Meta",l[l.ContextMenu=58]="ContextMenu",l[l.F1=59]="F1",l[l.F2=60]="F2",l[l.F3=61]="F3",l[l.F4=62]="F4",l[l.F5=63]="F5",l[l.F6=64]="F6",l[l.F7=65]="F7",l[l.F8=66]="F8",l[l.F9=67]="F9",l[l.F10=68]="F10",l[l.F11=69]="F11",l[l.F12=70]="F12",l[l.F13=71]="F13",l[l.F14=72]="F14",l[l.F15=73]="F15",l[l.F16=74]="F16",l[l.F17=75]="F17",l[l.F18=76]="F18",l[l.F19=77]="F19",l[l.NumLock=78]="NumLock",l[l.ScrollLock=79]="ScrollLock",l[l.US_SEMICOLON=80]="US_SEMICOLON",l[l.US_EQUAL=81]="US_EQUAL",l[l.US_COMMA=82]="US_COMMA",l[l.US_MINUS=83]="US_MINUS",l[l.US_DOT=84]="US_DOT",l[l.US_SLASH=85]="US_SLASH",l[l.US_BACKTICK=86]="US_BACKTICK",l[l.US_OPEN_SQUARE_BRACKET=87]="US_OPEN_SQUARE_BRACKET",l[l.US_BACKSLASH=88]="US_BACKSLASH",l[l.US_CLOSE_SQUARE_BRACKET=89]="US_CLOSE_SQUARE_BRACKET",l[l.US_QUOTE=90]="US_QUOTE",l[l.OEM_8=91]="OEM_8",l[l.OEM_102=92]="OEM_102",l[l.NUMPAD_0=93]="NUMPAD_0",l[l.NUMPAD_1=94]="NUMPAD_1",l[l.NUMPAD_2=95]="NUMPAD_2",l[l.NUMPAD_3=96]="NUMPAD_3",l[l.NUMPAD_4=97]="NUMPAD_4",l[l.NUMPAD_5=98]="NUMPAD_5",l[l.NUMPAD_6=99]="NUMPAD_6",l[l.NUMPAD_7=100]="NUMPAD_7",l[l.NUMPAD_8=101]="NUMPAD_8",l[l.NUMPAD_9=102]="NUMPAD_9",l[l.NUMPAD_MULTIPLY=103]="NUMPAD_MULTIPLY",l[l.NUMPAD_ADD=104]="NUMPAD_ADD",l[l.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",l[l.NUMPAD_SUBTRACT=106]="NUMPAD_SUBTRACT",l[l.NUMPAD_DECIMAL=107]="NUMPAD_DECIMAL",l[l.NUMPAD_DIVIDE=108]="NUMPAD_DIVIDE",l[l.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",l[l.ABNT_C1=110]="ABNT_C1",l[l.ABNT_C2=111]="ABNT_C2",l[l.MAX_VALUE=112]="MAX_VALUE",(c=u=u||{})[c.LTR=0]="LTR",c[c.RTL=1]="RTL",(h=d=d||{})[h.Auto=1]="Auto",h[h.Hidden=2]="Hidden",h[h.Visible=3]="Visible",(f=p=p||{})[f.Left=1]="Left",f[f.Center=2]="Center",f[f.Right=4]="Right",f[f.Full=7]="Full",(m=g=g||{})[m.TextDefined=0]="TextDefined",m[m.LF=1]="LF",m[m.CRLF=2]="CRLF",(v=b=b||{})[v.LF=1]="LF",v[v.CRLF=2]="CRLF",(C=y=y||{})[C.LF=0]="LF",C[C.CRLF=1]="CRLF",(_=A=A||{})[_.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",_[_.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",_[_.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",_[_.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter",(x=w=w||{})[x.Smooth=0]="Smooth",x[x.Immediate=1]="Immediate",(L=S=S||{})[L.NotSet=0]="NotSet",L[L.ContentFlush=1]="ContentFlush",L[L.RecoverFromMarkers=2]="RecoverFromMarkers",L[L.Explicit=3]="Explicit",L[L.Paste=4]="Paste",L[L.Undo=5]="Undo",L[L.Redo=6]="Redo",(k=D=D||{})[k.None=0]="None",k[k.Small=1]="Small",k[k.Large=2]="Large",k[k.SmallBlocks=3]="SmallBlocks",k[k.LargeBlocks=4]="LargeBlocks",(I=N=N||{})[I.None=0]="None",I[I.Same=1]="Same",I[I.Indent=2]="Indent",I[I.DeepIndent=3]="DeepIndent",(E=O=O||{})[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",(B=M=M||{})[B.Line=1]="Line",B[B.Block=2]="Block",B[B.Underline=3]="Underline",B[B.LineThin=4]="LineThin",B[B.BlockOutline=5]="BlockOutline",B[B.UnderlineThin=6]="UnderlineThin",(P=T=T||{})[P.Off=0]="Off",P[P.On=1]="On",P[P.Relative=2]="Relative",P[P.Interval=3]="Interval",P[P.Custom=4]="Custom",(R=j=j||{})[R.EXACT=0]="EXACT",R[R.ABOVE=1]="ABOVE",R[R.BELOW=2]="BELOW",(z=W=W||{})[z.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",z[z.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",z[z.TOP_CENTER=2]="TOP_CENTER",(H=F=F||{})[H.UNKNOWN=0]="UNKNOWN",H[H.TEXTAREA=1]="TEXTAREA",H[H.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",H[H.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",H[H.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",H[H.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",H[H.CONTENT_TEXT=6]="CONTENT_TEXT",H[H.CONTENT_EMPTY=7]="CONTENT_EMPTY",H[H.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",H[H.CONTENT_WIDGET=9]="CONTENT_WIDGET",H[H.OVERVIEW_RULER=10]="OVERVIEW_RULER",H[H.SCROLLBAR=11]="SCROLLBAR",H[H.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",H[H.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR",(U=V=V||{})[U.None=0]="None",U[U.Indent=1]="Indent",U[U.IndentOutdent=2]="IndentOutdent",U[U.Outdent=3]="Outdent",(G=Z=Z||{})[G.Method=0]="Method",G[G.Function=1]="Function",G[G.Constructor=2]="Constructor",G[G.Field=3]="Field",G[G.Variable=4]="Variable",G[G.Class=5]="Class",G[G.Struct=6]="Struct",G[G.Interface=7]="Interface",G[G.Module=8]="Module",G[G.Property=9]="Property",G[G.Event=10]="Event",G[G.Operator=11]="Operator",G[G.Unit=12]="Unit",G[G.Value=13]="Value",G[G.Constant=14]="Constant",G[G.Enum=15]="Enum",G[G.EnumMember=16]="EnumMember",G[G.Keyword=17]="Keyword",G[G.Text=18]="Text",G[G.Color=19]="Color",G[G.File=20]="File",G[G.Reference=21]="Reference",G[G.Customcolor=22]="Customcolor",G[G.Folder=23]="Folder",G[G.TypeParameter=24]="TypeParameter",G[G.Snippet=25]="Snippet",(Y=K=K||{})[Y.KeepWhitespace=1]="KeepWhitespace",Y[Y.InsertAsSnippet=4]="InsertAsSnippet",(J=q=q||{})[J.Invoke=0]="Invoke",J[J.TriggerCharacter=1]="TriggerCharacter",J[J.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions",(Q=X=X||{})[Q.Invoke=1]="Invoke",Q[Q.TriggerCharacter=2]="TriggerCharacter",Q[Q.ContentChange=3]="ContentChange",(ee=$=$||{})[ee.Text=0]="Text",ee[ee.Read=1]="Read",ee[ee.Write=2]="Write",(ne=te=te||{})[ne.File=0]="File",ne[ne.Module=1]="Module",ne[ne.Namespace=2]="Namespace",ne[ne.Package=3]="Package",ne[ne.Class=4]="Class",ne[ne.Method=5]="Method",ne[ne.Property=6]="Property",ne[ne.Field=7]="Field",ne[ne.Constructor=8]="Constructor",ne[ne.Enum=9]="Enum",ne[ne.Interface=10]="Interface",ne[ne.Function=11]="Function",ne[ne.Variable=12]="Variable",ne[ne.Constant=13]="Constant",ne[ne.String=14]="String",ne[ne.Number=15]="Number",ne[ne.Boolean=16]="Boolean",ne[ne.Array=17]="Array",ne[ne.Object=18]="Object",ne[ne.Key=19]="Key",ne[ne.Null=20]="Null",ne[ne.EnumMember=21]="EnumMember",ne[ne.Struct=22]="Struct",ne[ne.Event=23]="Event",ne[ne.Operator=24]="Operator",ne[ne.TypeParameter=25]="TypeParameter"},1773:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return g});var o,i=n(1134),l=n(1422),u=n(1774),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=i.d?1.5:1.35;function d(e,t){if("number"==typeof e)return e;if(void 0===e)return t;var n=parseFloat(e);return isNaN(n)?t:n}function h(e,t,n){return e<t?t:n<e?n:e}function p(e,t){return"string"!=typeof e?t:e}var a=(f.createFromRawSettings=function(e,t){var n=p(e.fontFamily,l.b.fontFamily),o=p(e.fontWeight,l.b.fontWeight),i=d(e.fontSize,l.b.fontSize);0===(i=h(i,0,100))?i=l.b.fontSize:i<8&&(i=8);var r=function(e,t){if("number"==typeof e)return Math.round(e);if(void 0===e)return t;var n=parseInt(e);return isNaN(n)?t:n}(e.lineHeight,0);0===(r=h(r,0,150))?r=Math.round(c*i):r<8&&(r=8);var a=d(e.letterSpacing,0);a=h(a,-5,20);var s=1+.1*u.a.getZoomLevel();return new f({zoomLevel:t,fontFamily:n,fontWeight:o,fontSize:i*=s,lineHeight:r*=s,letterSpacing:a})},f.prototype.getId=function(){return this.zoomLevel+"-"+this.fontFamily+"-"+this.fontWeight+"-"+this.fontSize+"-"+this.lineHeight+"-"+this.letterSpacing},f.prototype.getMassagedFontFamily=function(){return/[,"']/.test(this.fontFamily)?this.fontFamily:/[+ ]/.test(this.fontFamily)?'"'+this.fontFamily+'"':this.fontFamily},f);function f(e){this.zoomLevel=e.zoomLevel,this.fontFamily=String(e.fontFamily),this.fontWeight=String(e.fontWeight),this.fontSize=e.fontSize,this.lineHeight=0|e.lineHeight,this.letterSpacing=e.letterSpacing}var s,g=(r(m,s=a),m.prototype.equals=function(e){return this.fontFamily===e.fontFamily&&this.fontWeight===e.fontWeight&&this.fontSize===e.fontSize&&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.maxDigitWidth===e.maxDigitWidth},m);function m(e,t){var n=s.call(this,e)||this;return n.isTrusted=t,n.isMonospace=e.isMonospace,n.typicalHalfwidthCharacterWidth=e.typicalHalfwidthCharacterWidth,n.typicalFullwidthCharacterWidth=e.typicalFullwidthCharacterWidth,n.canUseHalfwidthRightwardsArrow=e.canUseHalfwidthRightwardsArrow,n.spaceWidth=e.spaceWidth,n.maxDigitWidth=e.maxDigitWidth,n}},1774:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(966),i=(r.prototype.getZoomLevel=function(){return this._zoomLevel},r.prototype.setZoomLevel=function(e){e=Math.min(Math.max(-5,e),20),this._zoomLevel!==e&&(this._zoomLevel=e,this._onDidChangeZoomLevel.fire(this._zoomLevel))},new r);function r(){this._zoomLevel=0,this._onDidChangeZoomLevel=new o.a,this.onDidChangeZoomLevel=this._onDidChangeZoomLevel.event}},1775:function(e,t,n){"use strict";t.a=function(e,t){var n=e.getCount(),o=e.findTokenIndexAtOffset(t),i=e.getLanguageId(o),r=o;for(;r+1<n&&e.getLanguageId(r+1)===i;)r++;var a=o;for(;0<a&&e.getLanguageId(a-1)===i;)a--;return new s(e,i,a,r+1,e.getStartOffset(a),e.getEndOffset(r))},t.b=function(e){return 0!=(7&e)};var s=(o.prototype.getLineContent=function(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)},o.prototype.getTokenCount=function(){return this._lastTokenIndex-this._firstTokenIndex},o.prototype.findTokenIndexAtOffset=function(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex},o.prototype.getStandardTokenType=function(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)},o);function o(e,t,n,o,i,r){this._actual=e,this.languageId=t,this._firstTokenIndex=n,this._lastTokenIndex=o,this.firstCharOffset=i,this._lastCharOffset=r}},1776:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return b});var o=n(989),l=n(988),i=function(e,t,n,o,i){this.languageIdentifier=e,this.open=t,this.close=n,this.forwardRegex=o,this.reversedRegex=i},r=function(t,e){var n=this;this.brackets=e.map(function(e){return new i(t,e[0],e[1],s({open:e[0],close:e[1]}),u({open:e[0],close:e[1]}))}),this.forwardRegex=c(this.brackets),this.reversedRegex=d(this.brackets),this.textIsBracket={},this.textIsOpenBracket={};var o=0;this.brackets.forEach(function(e){n.textIsBracket[e.open.toLowerCase()]=e,n.textIsBracket[e.close.toLowerCase()]=e,n.textIsOpenBracket[e.open.toLowerCase()]=!0,n.textIsOpenBracket[e.close.toLowerCase()]=!1,o=Math.max(o,e.open.length),o=Math.max(o,e.close.length)}),this.maxBracketLength=o};function a(n,o){var i={};return function(e){var t=n(e);return i.hasOwnProperty(t)||(i[t]=o(e)),i[t]}}var s=a(function(e){return e.open+";"+e.close},function(e){return p([e.open,e.close])}),u=a(function(e){return e.open+";"+e.close},function(e){return p([m(e.open),m(e.close)])}),c=a(function(e){return e.map(function(e){return e.open+";"+e.close}).join(";")},function(e){var t=[];return e.forEach(function(e){t.push(e.open),t.push(e.close)}),p(t)}),d=a(function(e){return e.map(function(e){return e.open+";"+e.close}).join(";")},function(e){var t=[];return e.forEach(function(e){t.push(m(e.open)),t.push(m(e.close))}),p(t)});function h(e){var t=/^[\w]+$/.test(e);return e=o.m(e),t?"\\b"+e+"\\b":e}function p(e){var t="("+e.map(h).join(")|(")+")";return o.h(t,!0)}var f,g,m=(g=f=null,function(e){return f!==e&&(g=function(e){for(var t="",n=e.length-1;0<=n;n--)t+=e.charAt(n);return t}(f=e)),g}),b=(v._findPrevBracketInText=function(e,t,n,o){var i=n.match(e);if(!i)return null;var r=n.length-(i.index||0),a=i[0].length,s=o+r;return new l.a(t,s-a+1,t,s+1)},v.findPrevBracketInToken=function(e,t,n,o,i){var r=m(n).substring(n.length-i,n.length-o);return this._findPrevBracketInText(e,t,r,o)},v.findNextBracketInText=function(e,t,n,o){var i=n.match(e);if(!i)return null;var r=i.index||0,a=i[0].length;if(0===a)return null;var s=o+r;return new l.a(t,s+1,t,s+1+a)},v.findNextBracketInToken=function(e,t,n,o,i){var r=n.substring(o,i);return this.findNextBracketInText(e,t,r,o)},v);function v(){}},1777:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var r=n(1669),a=function(e,t){this.index=e,this.remainder=t},o=(i.prototype.getCount=function(){return this.values.length},i.prototype.insertValues=function(e,t){e=Object(r.b)(e);var n=this.values,o=this.prefixSum,i=t.length;return 0!==i&&(this.values=new Uint32Array(n.length+i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+i),this.values.set(t,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},i.prototype.changeValue=function(e,t){return e=Object(r.b)(e),t=Object(r.b)(t),this.values[e]!==t&&(this.values[e]=t,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)},i.prototype.removeValues=function(e,t){e=Object(r.b)(e),t=Object(r.b)(t);var n=this.values,o=this.prefixSum;if(e>=n.length)return!1;var i=n.length-e;return i<=t&&(t=i),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),0<=this.prefixSumValidIndex[0]&&this.prefixSum.set(o.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},i.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},i.prototype.getAccumulatedValue=function(e){return e<0?0:(e=Object(r.b)(e),this._getAccumulatedValue(e))},i.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]},i.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var t=0,n=this.values.length-1,o=0,i=0,r=0;t<=n;)if(o=t+(n-t)/2|0,e<(r=(i=this.prefixSum[o])-this.values[o]))n=o-1;else{if(!(i<=e))break;t=o+1}return new a(o,e-r)},i);function i(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}var s=(l.prototype._bustCache=function(){this._cacheAccumulatedValueStart=0,this._cache=null},l.prototype.insertValues=function(e,t){this._actual.insertValues(e,t)&&this._bustCache()},l.prototype.changeValue=function(e,t){this._actual.changeValue(e,t)&&this._bustCache()},l.prototype.removeValues=function(e,t){this._actual.removeValues(e,t)&&this._bustCache()},l.prototype.getTotalValue=function(){return this._actual.getTotalValue()},l.prototype.getAccumulatedValue=function(e){return this._actual.getAccumulatedValue(e)},l.prototype.getIndexOf=function(e){if(e=Math.floor(e),null!==this._cache){var t=e-this._cacheAccumulatedValueStart;if(0<=t&&t<this._cache.length)return this._cache[t]}return this._actual.getIndexOf(e)},l.prototype.warmUpCache=function(e,t){for(var n=[],o=e;o<=t;o++)n[o-e]=this.getIndexOf(o);this._cache=n,this._cacheAccumulatedValueStart=e},l);function l(e){this._cacheAccumulatedValueStart=0,this._cache=null,this._actual=new o(e),this._bustCache()}},1778:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1669),i=(r._createAsciiMap=function(e){for(var t=new Uint8Array(256),n=0;n<256;n++)t[n]=e;return t},r.prototype.set=function(e,t){var n=Object(o.d)(t);0<=e&&e<256?this._asciiMap[e]=n:this._map.set(e,n)},r.prototype.get=function(e){return 0<=e&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},r);function r(e){var t=Object(o.d)(e);this._defaultValue=t,this._asciiMap=r._createAsciiMap(t),this._map=new Map}a.prototype.add=function(e){this._actual.set(e,1)},a.prototype.has=function(e){return 1===this._actual.get(e)};function a(){this._actual=new i(0)}},1779:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var o=n(1125),i=Object(o.c)("textResourceConfigurationService"),r=Object(o.c)("textResourcePropertiesService")},1780:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o,i=n(989);o="undefined"!=typeof TextDecoder?function(e){return new r(e)}:function(e){return new s};var r=(a.prototype.reset=function(){this._completedStrings=null,this._bufferLength=0},a.prototype.build=function(){return null!==this._completedStrings?(this._flushBuffer(),this._completedStrings.join("")):this._buildBuffer()},a.prototype._buildBuffer=function(){if(0===this._bufferLength)return"";var e=new Uint16Array(this._buffer.buffer,0,this._bufferLength);return this._decoder.decode(e)},a.prototype._flushBuffer=function(){var e=this._buildBuffer();this._bufferLength=0,null===this._completedStrings?this._completedStrings=[e]:this._completedStrings[this._completedStrings.length]=e},a.prototype.write1=function(e){var t=this._capacity-this._bufferLength;t<=1&&(0!=t&&!i.t(e)||this._flushBuffer()),this._buffer[this._bufferLength++]=e},a.prototype.appendASCII=function(e){this._bufferLength===this._capacity&&this._flushBuffer(),this._buffer[this._bufferLength++]=e},a.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)},a);function a(e){this._decoder=new TextDecoder("UTF-16LE"),this._capacity=0|e,this._buffer=new Uint16Array(this._capacity),this._completedStrings=null,this._bufferLength=0}var s=(l.prototype.reset=function(){this._pieces=[],this._piecesLen=0},l.prototype.build=function(){return this._pieces.join("")},l.prototype.write1=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},l.prototype.appendASCII=function(e){this._pieces[this._piecesLen++]=String.fromCharCode(e)},l.prototype.appendASCIIString=function(e){this._pieces[this._piecesLen++]=e},l);function l(){this._pieces=[],this._piecesLen=0}},1781:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var f=n(989),o=(h._equals=function(e,t){return e.startColumn===t.startColumn&&e.endColumn===t.endColumn&&e.className===t.className&&e.type===t.type},h.equalsArr=function(e,t){var n=e.length;if(n!==t.length)return!1;for(var o=0;o<n;o++)if(!h._equals(e[o],t[o]))return!1;return!0},h.filter=function(e,t,n,o){if(0===e.length)return[];for(var i=[],r=0,a=0,s=e.length;a<s;a++){var l=e[a],u=l.range;if(!(u.endLineNumber<t||u.startLineNumber>t||u.isEmpty()&&(0===l.type||3===l.type))){var c=u.startLineNumber===t?u.startColumn:n,d=u.endLineNumber===t?u.endColumn:o;i[r++]=new h(c,d,l.inlineClassName,l.type)}}return i},h.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},h);function h(e,t,n,o){this.startColumn=e,this.endColumn=t,this.className=n,this.type=o}var i=function(e,t,n){this.startOffset=e,this.endOffset=t,this.className=n},g=(r.prototype.consumeLowerThan=function(e,t,n){for(;0<this.count&&this.stopOffsets[0]<e;){for(var o=0;o+1<this.count&&this.stopOffsets[o]===this.stopOffsets[o+1];)o++;n.push(new i(t,this.stopOffsets[o],this.classNames.join(" "))),t=this.stopOffsets[o]+1,this.stopOffsets.splice(0,o+1),this.classNames.splice(0,o+1),this.count-=o+1}return 0<this.count&&t<e&&(n.push(new i(t,e-1,this.classNames.join(" "))),t=e),t},r.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++},r);function r(){this.stopOffsets=[],this.classNames=[],this.count=0}var a=(s.normalize=function(e,t){if(0===t.length)return[];for(var n=[],o=new g,i=0,r=0,a=t.length;r<a;r++){var s=t[r],l=s.startColumn,u=s.endColumn,c=s.className;if(1<l){var d=e.charCodeAt(l-2);f.t(d)&&l--}1<u&&(d=e.charCodeAt(u-2),f.t(d)&&u--);var h=l-1,p=u-2;i=o.consumeLowerThan(h,i,n),0===o.count&&(i=h),o.insert(p,c)}return o.consumeLowerThan(1073741824,i,n),n},s);function s(){}},1782:function(e,t,n){"use strict";n.d(t,"e",function(){return B}),n.d(t,"g",function(){return P}),n.d(t,"d",function(){return R}),n.d(t,"f",function(){return W}),n.d(t,"a",function(){return F}),n.d(t,"l",function(){return V}),n.d(t,"m",function(){return G}),n.d(t,"c",function(){return q}),n.d(t,"h",function(){return X}),n.d(t,"i",function(){return $}),n.d(t,"n",function(){return te}),n.d(t,"k",function(){return oe}),t.o=function(t,n,o){if(!n)return;if(!(t instanceof q))return;Object.keys(n).forEach(function(e){Object(f.c)(e)&&t.updateValue("editor."+e,n[e]),o&&Object(f.b)(e)&&t.updateValue("diffEditor."+e,n[e])})},n.d(t,"b",function(){return re}),n.d(t,"j",function(){return se});var o,c=n(1215),a=n(1126),s=n(1491),i=n(966),l=n(1543),u=n(868),d=n(1134),r=n(1783),h=n(1408),p=n(2363),f=n(2069),g=n(2364),m=n(1124),b=n(988),v=n(1251),y=n(1350),C=n(1425),A=n(2365),_=n(2366),w=n(2071),x=n(2072),S=n(2367),L=n(2368),D=n(1497),k=n(2073),N=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),I=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},O=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},E=(Object.defineProperty(M.prototype,"textEditorModel",{get:function(){return this.model},enumerable:!0,configurable:!0}),M.prototype.dispose=function(){this._onDispose.fire()},M);function M(e){this.model=e,this._onDispose=new i.a}var B=(T.prototype.setEditor=function(e){this.editor=e},T.prototype.createModelReference=function(t){var e,n,o,i=this,r=(e=this.editor,n=function(e){return i.findModel(e,t)},o=function(e){return i.findModel(e.getOriginalEditor(),t)||i.findModel(e.getModifiedEditor(),t)},Object(p.a)(e)?n(e):o(e));return r?Promise.resolve(new u.b(new E(r))):Promise.reject(new Error("Model not found"))},T.prototype.findModel=function(e,t){var n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},T);function T(){}var P=(j.prototype.showWhile=function(e,t){return Promise.resolve(void 0)},j);function j(){}var R=function(){},W=(z.prototype.info=function(e){return this.notify({severity:r.a.Info,message:e})},z.prototype.warn=function(e){return this.notify({severity:r.a.Warning,message:e})},z.prototype.error=function(e){return this.notify({severity:r.a.Error,message:e})},z.prototype.notify=function(e){switch(e.severity){case r.a.Error:console.error(e.message);break;case r.a.Warning:console.warn(e.message);break;default:console.log(e.message)}return z.NO_OP},z.NO_OP=new D.b,z);function z(){}var F=(H.prototype.getAccessibilitySupport=function(){return this._accessibilitySupport},H);function H(){this._accessibilitySupport=0,this._onDidChangeAccessibilitySupport=new i.a,this.onDidChangeAccessibilitySupport=this._onDidChangeAccessibilitySupport.event}var V=(U.prototype.addCommand=function(e){var t=this,n=e.id;return this._dynamicCommands[n]=e,Object(u.e)(function(){delete t._dynamicCommands[n]})},U.prototype.executeCommand=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=y.a.getCommand(e)||this._dynamicCommands[e];if(!o)return Promise.reject(new Error("command '"+e+"' not found"));try{this._onWillExecuteCommand.fire({commandId:e});var i=this._instantiationService.invokeFunction.apply(this._instantiationService,[o.handler].concat(t));return Promise.resolve(i)}catch(e){return Promise.reject(e)}},U);function U(e){this._onWillExecuteCommand=new i.a,this._instantiationService=e,this._dynamicCommands=Object.create(null)}var Z,G=(Z=_.a,N(K,Z),K.prototype.addDynamicKeybinding=function(t,e,n,o){var i=this,r=Object(l.f)(e,d.a);if(!r)throw new Error("Invalid keybinding");var a=[];this._dynamicKeybindings.push({keybinding:r,command:t,when:o,weight1:1e3,weight2:0}),a.push(Object(u.e)(function(){for(var e=0;e<i._dynamicKeybindings.length;e++)if(i._dynamicKeybindings[e].command===t)return i._dynamicKeybindings.splice(e,1),void i.updateResolver({source:1})}));var s=this._commandService;if(!(s instanceof V))throw new Error("Unknown command service!");return a.push(s.addCommand({id:t,handler:n})),this.updateResolver({source:1}),Object(u.c)(a)},K.prototype.updateResolver=function(e){this._cachedResolver=null,this._onDidUpdateKeybindings.fire(e)},K.prototype._getResolver=function(){if(!this._cachedResolver){var e=this._toNormalizedKeybindingItems(x.a.getDefaultKeybindings(),!0),t=this._toNormalizedKeybindingItems(this._dynamicKeybindings,!1);this._cachedResolver=new w.a(e,t)}return this._cachedResolver},K.prototype._documentHasFocus=function(){return document.hasFocus()},K.prototype._toNormalizedKeybindingItems=function(e,t){for(var n=[],o=0,i=0,r=e;i<r.length;i++){var a=r[i],s=a.when?a.when.normalize():null,l=a.keybinding;if(l)for(var u=0,c=this.resolveKeybinding(l);u<c.length;u++){var d=c[u];n[o++]=new S.a(d,a.command,a.commandArgs,s,t)}else n[o++]=new S.a(null,a.command,a.commandArgs,s,t)}return n},K.prototype.resolveKeybinding=function(e){return[new L.a(e,d.a)]},K.prototype.resolveKeyboardEvent=function(e){var t=new l.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new L.a(t,d.a)},K);function K(e,t,n,o,i){var r=Z.call(this,e,t,n,o)||this;return r._cachedResolver=null,r._dynamicKeybindings=[],r._register(a.g(i,a.c.KEY_DOWN,function(e){var t=new s.a(e);r._dispatch(t,t.target)&&t.preventDefault()})),r}function Y(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof h.a)}var q=(J.prototype.configuration=function(){return this._configuration},J.prototype.getValue=function(e,t){var n="string"==typeof e?e:void 0,o=Y(e)?e:Y(t)?t:{};return this.configuration().getValue(n,o,void 0)},J.prototype.updateValue=function(e,t,n,o){return this.configuration().updateValue(e,t),Promise.resolve()},J.prototype.inspect=function(e,t){return void 0===t&&(t={}),this.configuration().inspect(e,t,void 0)},J);function J(){this._onDidChangeConfiguration=new i.a,this.onDidChangeConfiguration=this._onDidChangeConfiguration.event,this._configuration=new A.a(new A.c,new A.b)}var X=(Q.prototype.getValue=function(e,t,n){var o=m.a.isIPosition(t)&&t?"string"==typeof n?n:void 0:"string"==typeof t?t:void 0;return void 0===o?this.configurationService.getValue():this.configurationService.getValue(o)},Q);function Q(e){var t=this;this.configurationService=e,this._onDidChangeConfigurationEmitter=new i.a,this.configurationService.onDidChangeConfiguration(function(e){t._onDidChangeConfigurationEmitter.fire(e)})}var $=(ee.prototype.getEOL=function(e){var t=this.configurationService.getValue("files");return t&&t.eol&&"auto"!==t.eol?t.eol:d.c||d.d?"\n":"\r\n"},ee=I([O(0,C.a)],ee));function ee(e){this.configurationService=e}var te=(ne.prototype.publicLog=function(e,t){return Promise.resolve(void 0)},ne);function ne(){}var oe=(ie.prototype.getWorkspace=function(){return this.workspace},ie.prototype.getWorkspaceFolder=function(e){return e&&e.scheme===ie.SCHEME?this.workspace.folders[0]:null},ie.SCHEME="inmemory",ie);function ie(){var e=h.a.from({scheme:ie.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new k.b({uri:e,name:"",index:0})]}}var re=(ae.prototype.apply=function(e,t){var n=new Map;if(e.edits)for(var o=0,i=e.edits;o<i.length;o++){var r=i[o];if(!Object(v.y)(r))return Promise.reject(new Error("bad edit - only text edits are supported"));var a=this._modelService.getModel(r.resource);if(!a)return Promise.reject(new Error("bad edit - model not found"));var s=n.get(a);s=s||[],n.set(a,s.concat(r.edits))}var l=0,u=0;return n.forEach(function(e,t){t.applyEdits(e.map(function(e){return g.a.replaceMove(b.a.lift(e.range),e.text)})),u+=1,l+=e.length}),Promise.resolve({selection:void 0,ariaSummary:Object(c.a)("summary","Made {0} edits in {1} files",l,u)})},ae);function ae(e){this._modelService=e}var se=(le.prototype.getUriLabel=function(e,t){return"file"===e.scheme?e.fsPath:e.path},le);function le(){}},1783:function(e,t,n){"use strict";var o,i,r,a,s=n(1215),l=n(989);(i=o=o||{})[i.Ignore=0]="Ignore",i[i.Info=1]="Info",i[i.Warning=2]="Warning",i[i.Error=3]="Error",r=o=o||{},(a=Object.create(null))[r.Error]=s.a("sev.error","Error"),a[r.Warning]=s.a("sev.warning","Warning"),a[r.Info]=s.a("sev.info","Info"),r.fromValue=function(e){return e?l.k("error",e)?r.Error:l.k("warning",e)||l.k("warn",e)?r.Warning:l.k("info",e)?r.Info:r.Ignore:r.Ignore},t.a=o},1784:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"c",function(){return m}),n.d(t,"b",function(){return A}),t.f=function(e){return w.INSTANCE.registerEditorCommand(e),e},t.e=function(e){w.INSTANCE.registerEditorAction(new e)},n.d(t,"d",function(){return y});n(1222),n(1408);var o,r=n(1424),i=(n(1124),n(1584),n(2063),n(1672)),a=n(1350),s=n(1291),l=n(2072),u=n(1317),c=n(1673),d=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=this&&this.__assign||function(){return(h=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},p=(f.prototype.register=function(){var n=this;if(this._menubarOpts&&i.c.appendMenuItem(this._menubarOpts.menuId,{group:this._menubarOpts.group,command:{id:this.id,title:this._menubarOpts.title},when:this._menubarOpts.when,order:this._menubarOpts.order}),this._kbOpts){var e=this._kbOpts.kbExpr;this.precondition&&(e=e?s.b.and(e,this.precondition):this.precondition),l.a.registerCommandAndKeybindingRule({id:this.id,handler:function(e,t){return n.runCommand(e,t)},weight:this._kbOpts.weight,when:e||null,primary:this._kbOpts.primary,secondary:this._kbOpts.secondary,win:this._kbOpts.win,linux:this._kbOpts.linux,mac:this._kbOpts.mac,description:this._description})}else a.a.registerCommand({id:this.id,handler:function(e,t){return n.runCommand(e,t)},description:this._description})},f);function f(e){this.id=e.id,this.precondition=e.precondition,this._kbOpts=e.kbOpts,this._menubarOpts=e.menubarOpts,this._description=e.description}var g,m=(d(b,g=p),b.bindToContribution=function(o){return d(e,n=b),e.prototype.runEditorCommand=function(e,t,n){o(t)&&this._callback(o(t),n)},e;function e(e){var t=n.call(this,e)||this;return t._callback=e.handler,t}var n},b.prototype.runCommand=function(e,t){var n=this,o=e.get(r.a),i=o.getFocusedCodeEditor()||o.getActiveCodeEditor();if(i)return i.invokeWithinContext(function(e){if(e.get(s.c).contextMatchesRules(n.precondition))return n.runEditorCommand(e,i,t)})},b);function b(){return null!==g&&g.apply(this,arguments)||this}var v,y,C,A=(d(_,v=m),_.prototype.register=function(){this.menuOpts&&i.c.appendMenuItem(7,{command:{id:this.id,title:this.label},when:s.b.and(this.precondition,this.menuOpts.when),group:this.menuOpts.group,order:this.menuOpts.order}),v.prototype.register.call(this)},_.prototype.runEditorCommand=function(e,t,n){return this.reportTelemetry(e,t),this.run(e,t,n||{})},_.prototype.reportTelemetry=function(e,t){e.get(c.a).publicLog("editorActionInvoked",h({name:this.label,id:this.id},t.getTelemetryData()))},_);function _(e){var t=v.call(this,e)||this;return t.label=e.label,t.alias=e.alias,t.menuOpts=e.menuOpts,t}(C=y=y||{}).getEditorCommand=function(e){return w.INSTANCE.getEditorCommand(e)},C.getEditorActions=function(){return w.INSTANCE.getEditorActions()},C.getEditorContributions=function(){return w.INSTANCE.getEditorContributions()};var w=(x.prototype.registerEditorContribution=function(e){this.editorContributions.push(e)},x.prototype.registerEditorAction=function(e){e.register(),this.editorActions.push(e)},x.prototype.getEditorContributions=function(){return this.editorContributions.slice(0)},x.prototype.getEditorActions=function(){return this.editorActions.slice(0)},x.prototype.registerEditorCommand=function(e){e.register(),this.editorCommands[e.id]=e},x.prototype.getEditorCommand=function(e){return this.editorCommands[e]||null},x.INSTANCE=new x,x);function x(){this.editorContributions=[],this.editorActions=[],this.editorCommands=Object.create(null)}u.a.add("editor.contributions",w.INSTANCE)},1785:function(e,t,n){"use strict";t.a=function(e,t,n){var o=null,i=null;"function"==typeof n.value?(o="value",0!==(i=n.value).length&&console.warn("Memoize should only be used in functions with zero parameters")):"function"==typeof n.get&&(o="get",i=n.get);if(!i)throw new Error("not supported");var r="$memoize$"+t;n[o]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.hasOwnProperty(r)||Object.defineProperty(this,r,{configurable:!1,enumerable:!1,writable:!1,value:i.apply(this,e)}),this[r]}}},1786:function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"a",function(){return d}),t.f=f,n.d(t,"b",function(){return m}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return A});var o,r=n(1126),i=n(1674),a=n(1409),s=n(868),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(c.prototype.toClientCoordinates=function(){return new d(this.x-r.d.scrollX,this.y-r.d.scrollY)},c);function c(e,t){this.x=e,this.y=t}var d=(h.prototype.toPageCoordinates=function(){return new u(this.clientX+r.d.scrollX,this.clientY+r.d.scrollY)},h);function h(e,t){this.clientX=e,this.clientY=t}var p=function(e,t,n,o){this.x=e,this.y=t,this.width=n,this.height=o};function f(e){var t=r.s(e);return new p(t.left,t.top,t.width,t.height)}var g,m=(g=a.a,l(b,g),b);function b(e,t){var n=g.call(this,e)||this;return n.pos=new u(n.posx,n.posy),n.editorPos=f(t),n}var v=(y.prototype._create=function(e){return new m(e,this._editorViewDomNode)},y.prototype.onContextMenu=function(e,t){var n=this;return r.g(e,"contextmenu",function(e){t(n._create(e))})},y.prototype.onMouseUp=function(e,t){var n=this;return r.g(e,"mouseup",function(e){t(n._create(e))})},y.prototype.onMouseDown=function(e,t){var n=this;return r.g(e,"mousedown",function(e){t(n._create(e))})},y.prototype.onMouseLeave=function(e,t){var n=this;return r.h(e,function(e){t(n._create(e))})},y.prototype.onMouseMoveThrottled=function(e,t,n,o){var i=this;return r.i(e,"mousemove",t,function(e,t){return n(e,i._create(t))},o)},y);function y(e){this._editorViewDomNode=e}var C,A=(C=s.a,l(_,C),_.prototype.startMonitoring=function(n,e,t){var o=this;this._keydownListener=r.j(document,"keydown",function(e){e.toKeybinding().isModifierKey()||o._globalMouseMoveMonitor.stopMonitoring(!0)},!0),this._globalMouseMoveMonitor.startMonitoring(function(e,t){return n(e,new m(t,o._editorViewDomNode))},e,function(){o._keydownListener.dispose(),t()})},_);function _(e){var t=C.call(this)||this;return t._editorViewDomNode=e,t._globalMouseMoveMonitor=t._register(new i.a),t._keydownListener=null,t}},1787:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s});var o=n(1223),i=n(1780),r=(a.prototype.flush=function(){this._set(1,[])},a.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},a.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},a.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},a.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},a.prototype.getCount=function(){return this._lines.length},a.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]},a.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),o=this.getEndLineNumber();if(t<n){var i=t-e+1;return this._rendLineNumberStart-=i,null}if(o<e)return null;for(var r=0,a=0,s=n;s<=o;s++){var l=s-this._rendLineNumberStart;e<=s&&s<=t&&(0===a?(r=l,a=1):a++)}if(e<n){var u=0;u=t<n?t-e+1:n-e,this._rendLineNumberStart-=u}return this._lines.splice(r,a)},a.prototype.onLinesChanged=function(e,t){if(0===this.getCount())return!1;for(var n=this.getStartLineNumber(),o=this.getEndLineNumber(),i=!1,r=e;r<=t;r++)n<=r&&r<=o&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),i=!0);return i},a.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,o=this.getStartLineNumber(),i=this.getEndLineNumber();if(e<=o)return this._rendLineNumberStart+=n,null;if(i<e)return null;if(i<n+e)return this._lines.splice(e-this._rendLineNumberStart,i-e+1);for(var r=[],a=0;a<n;a++)r[a]=this._createLine();var s=e-this._rendLineNumberStart,l=this._lines.slice(0,s),u=this._lines.slice(s,this._lines.length-n),c=this._lines.slice(this._lines.length-n,this._lines.length);return this._lines=l.concat(r).concat(u),c},a.prototype.onTokensChanged=function(e){if(0===this.getCount())return!1;for(var t=this.getStartLineNumber(),n=this.getEndLineNumber(),o=!1,i=0,r=e.length;i<r;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(),o=!0}}return o},a);function a(e){this._createLine=e,this._set(1,[])}var s=(l.prototype._createDomNode=function(){var e=Object(o.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},l.prototype.onConfigurationChanged=function(e){return e.layoutInfo},l.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},l.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},l.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,o=t.length;n<o;n++){var i=t[n].getDomNode();i&&this.domNode.domNode.removeChild(i)}return!0},l.prototype.onLinesInserted=function(e){var t=this._linesCollection.onLinesInserted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,o=t.length;n<o;n++){var i=t[n].getDomNode();i&&this.domNode.domNode.removeChild(i)}return!0},l.prototype.onScrollChanged=function(e){return e.scrollTopChanged},l.prototype.onTokensChanged=function(e){return this._linesCollection.onTokensChanged(e.ranges)},l.prototype.onZonesChanged=function(e){return!0},l.prototype.getStartLineNumber=function(){return this._linesCollection.getStartLineNumber()},l.prototype.getEndLineNumber=function(){return this._linesCollection.getEndLineNumber()},l.prototype.getVisibleLine=function(e){return this._linesCollection.getLine(e)},l.prototype.renderLines=function(e){var t=this._linesCollection._get(),n=new u(this.domNode.domNode,this._host,e),o={rendLineNumberStart:t.rendLineNumberStart,lines:t.lines,linesLength:t.lines.length},i=n.render(o,e.startLineNumber,e.endLineNumber,e.relativeVerticalOffset);this._linesCollection._set(i.rendLineNumberStart,i.lines)},l);function l(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new r(function(){return t._host.createVisibleLine()})}var u=(p.prototype.render=function(e,t,n,o){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 r=t;r<=n;r++)i.lines[r-t]=this.host.createVisibleLine();return this._finishRendering(i,!0,o),i}if(this._renderUntouchedLines(i,Math.max(t-i.rendLineNumberStart,0),Math.min(n-i.rendLineNumberStart,i.linesLength-1),o,t),i.rendLineNumberStart>t?(l=t)<=(a=Math.min(n,i.rendLineNumberStart-1))&&(this._insertLinesBefore(i,l,a,o,t),i.linesLength+=a-l+1):i.rendLineNumberStart<t&&0<(s=Math.min(i.linesLength,t-i.rendLineNumberStart))&&(this._removeLinesBefore(i,s),i.linesLength-=s),i.rendLineNumberStart=t,i.rendLineNumberStart+i.linesLength-1<n)(l=i.rendLineNumberStart+i.linesLength)<=(a=n)&&(this._insertLinesAfter(i,l,a,o,t),i.linesLength+=a-l+1);else if(i.rendLineNumberStart+i.linesLength-1>n){var a,s,l=Math.max(0,n-i.rendLineNumberStart+1);0<(s=(a=i.linesLength-1)-l+1)&&(this._removeLinesAfter(i,s),i.linesLength-=s)}return this._finishRendering(i,!1,o),i},p.prototype._renderUntouchedLines=function(e,t,n,o,i){for(var r=e.rendLineNumberStart,a=e.lines,s=t;s<=n;s++){var l=r+s;a[s].layoutLine(l,o[l-i])}},p.prototype._insertLinesBefore=function(e,t,n,o,i){for(var r=[],a=0,s=t;s<=n;s++)r[a++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)},p.prototype._removeLinesBefore=function(e,t){for(var n=0;n<t;n++){var o=e.lines[n].getDomNode();o&&this.domNode.removeChild(o)}e.lines.splice(0,t)},p.prototype._insertLinesAfter=function(e,t,n,o,i){for(var r=[],a=0,s=t;s<=n;s++)r[a++]=this.host.createVisibleLine();e.lines=e.lines.concat(r)},p.prototype._removeLinesAfter=function(e,t){for(var n=e.linesLength-t,o=0;o<t;o++){var i=e.lines[n+o].getDomNode();i&&this.domNode.removeChild(i)}e.lines.splice(n,t)},p.prototype._finishRenderingNewLines=function(e,t,n,o){var i=this.domNode.lastChild;t||!i?this.domNode.innerHTML=n:i.insertAdjacentHTML("afterend",n);for(var r=this.domNode.lastChild,a=e.linesLength-1;0<=a;a--){var s=e.lines[a];o[a]&&(s.setDomNode(r),r=r.previousSibling)}},p.prototype._finishRenderingInvalidLines=function(e,t,n){var o=document.createElement("div");o.innerHTML=t;for(var i=0;i<e.linesLength;i++){var r=e.lines[i];if(n[i]){var a=o.firstChild,s=r.getDomNode();s.parentNode.replaceChild(a,s),r.setDomNode(a)}}},p.prototype._finishRendering=function(e,t,n){var o=p._sb,i=e.linesLength,r=e.lines,a=e.rendLineNumberStart,s=[];o.reset();for(var l=!1,u=0;u<i;u++){var c=r[u];s[u]=!1,c.getDomNode()||c.renderLine(u+a,n[u],this.viewportData,o)&&(l=s[u]=!0)}l&&this._finishRenderingNewLines(e,t,o.build(),s),o.reset();var d=!1,h=[];for(u=0;u<i;u++)c=r[u],h[u]=!1,s[u]||c.renderLine(u+a,n[u],this.viewportData,o)&&(d=h[u]=!0);d&&this._finishRenderingInvalidLines(e,o.build(),h)},p._sb=Object(i.a)(1e5),p);function p(e,t,n){this.domNode=e,this.host=t,this.viewportData=n}},1788:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return c});var o,i,r=n(1674),a=n(1789),s=n(1239),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=11,c=(i=a.a,l(d,i),d.prototype._arrowMouseDown=function(e){var t=this;this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(function(){t._mousedownRepeatTimer.cancelAndSet(function(){return t._onActivate()},1e3/24)},200),this._mouseMoveMonitor.startMonitoring(r.b,function(e){},function(){t._mousedownRepeatTimer.cancel(),t._mousedownScheduleRepeatTimer.cancel()}),e.preventDefault()},d);function d(e){var t=i.call(this)||this;return t._onActivate=e.onActivate,t.bgDomNode=document.createElement("div"),t.bgDomNode.className="arrow-background",t.bgDomNode.style.position="absolute",t.bgDomNode.style.width=e.bgWidth+"px",t.bgDomNode.style.height=e.bgHeight+"px",void 0!==e.top&&(t.bgDomNode.style.top="0px"),void 0!==e.left&&(t.bgDomNode.style.left="0px"),void 0!==e.bottom&&(t.bgDomNode.style.bottom="0px"),void 0!==e.right&&(t.bgDomNode.style.right="0px"),t.domNode=document.createElement("div"),t.domNode.className=e.className,t.domNode.style.position="absolute",t.domNode.style.width=u+"px",t.domNode.style.height=u+"px",void 0!==e.top&&(t.domNode.style.top=e.top+"px"),void 0!==e.left&&(t.domNode.style.left=e.left+"px"),void 0!==e.bottom&&(t.domNode.style.bottom=e.bottom+"px"),void 0!==e.right&&(t.domNode.style.right=e.right+"px"),t._mouseMoveMonitor=t._register(new r.a),t.onmousedown(t.bgDomNode,function(e){return t._arrowMouseDown(e)}),t.onmousedown(t.domNode,function(e){return t._arrowMouseDown(e)}),t._mousedownRepeatTimer=t._register(new s.b),t._mousedownScheduleRepeatTimer=t._register(new s.d),t}},1789:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(1126),a=n(1491),s=n(1409),l=n(868),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=l.a,u(d,i),d.prototype.onclick=function(e,t){this._register(r.g(e,r.c.CLICK,function(e){return t(new s.a(e))}))},d.prototype.onmousedown=function(e,t){this._register(r.g(e,r.c.MOUSE_DOWN,function(e){return t(new s.a(e))}))},d.prototype.onmouseover=function(e,t){this._register(r.g(e,r.c.MOUSE_OVER,function(e){return t(new s.a(e))}))},d.prototype.onnonbubblingmouseout=function(e,t){this._register(r.h(e,function(e){return t(new s.a(e))}))},d.prototype.onkeydown=function(e,t){this._register(r.g(e,r.c.KEY_DOWN,function(e){return t(new a.a(e))}))},d.prototype.onkeyup=function(e,t){this._register(r.g(e,r.c.KEY_UP,function(e){return t(new a.a(e))}))},d.prototype.oninput=function(e,t){this._register(r.g(e,r.c.INPUT,t))},d.prototype.onblur=function(e,t){this._register(r.g(e,r.c.BLUR,t))},d.prototype.onfocus=function(e,t){this._register(r.g(e,r.c.FOCUS,t))},d.prototype.onchange=function(e,t){this._register(r.g(e,r.c.CHANGE,t))},d);function d(){return null!==i&&i.apply(this,arguments)||this}},1790:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return h});var o,i,r=n(2424),a=(n.n(r),n(1498)),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},u=(i=a.a,s(c,i),c.prototype._render=function(e,t,n){for(var o=[],i=e;i<=t;i++)o[i-e]=[];if(0===n.length)return o;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 r=null,a=0,s=0,l=n.length;s<l;s++){var u=n[s],c=u.className,d=Math.max(u.startLineNumber,e)-e,h=Math.min(u.endLineNumber,t)-e;a=r===c?(d=Math.max(a+1,d),Math.max(a,h)):(r=c,h);for(var p=d;p<=a;p++)o[p].push(r)}return o},c);function c(){return null!==i&&i.apply(this,arguments)||this}var d,h=(s(p,d=u),p.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,d.prototype.dispose.call(this)},p.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._glyphMargin=this._context.configuration.editor.viewInfo.glyphMargin),e.layoutInfo&&(this._glyphMarginLeft=this._context.configuration.editor.layoutInfo.glyphMarginLeft,this._glyphMarginWidth=this._context.configuration.editor.layoutInfo.glyphMarginWidth),!0},p.prototype.onDecorationsChanged=function(e){return!0},p.prototype.onFlushed=function(e){return!0},p.prototype.onLinesChanged=function(e){return!0},p.prototype.onLinesDeleted=function(e){return!0},p.prototype.onLinesInserted=function(e){return!0},p.prototype.onScrollChanged=function(e){return e.scrollTopChanged},p.prototype.onZonesChanged=function(e){return!0},p.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],o=0,i=0,r=t.length;i<r;i++){var a=t[i],s=a.options.glyphMarginClassName;s&&(n[o++]=new l(a.range.startLineNumber,a.range.endLineNumber,s))}return n},p.prototype.prepareRender=function(e){if(this._glyphMargin){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._render(t,n,this._getDecorations(e)),i=this._lineHeight.toString(),r='" style="left:'+this._glyphMarginLeft.toString()+"px;width:"+this._glyphMarginWidth.toString()+"px;height:"+i+'px;"></div>',a=[],s=t;s<=n;s++){var l=s-t,u=o[l];0===u.length?a[l]="":a[l]='<div class="cgmr '+u.join(" ")+r}this._renderResult=a}else this._renderResult=null},p.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},p);function p(e){var t=d.call(this)||this;return t._context=e,t._lineHeight=t._context.configuration.editor.lineHeight,t._glyphMargin=t._context.configuration.editor.viewInfo.glyphMargin,t._glyphMarginLeft=t._context.configuration.editor.layoutInfo.glyphMarginLeft,t._glyphMarginWidth=t._context.configuration.editor.layoutInfo.glyphMarginWidth,t._renderResult=null,t._context.addEventHandler(t),t}},1791:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return l});var o=n(966),i=n(2441),r=n(1251),a=(s.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new s),this._INSTANCE},s.prototype._updateColorMap=function(){var e=r.v.getColorMap();if(!e)return this._colors=[i.a.Empty],void(this._backgroundIsLight=!0);this._colors=[i.a.Empty];for(var t=1;t<e.length;t++){var n=e[t].rgba;this._colors[t]=new i.a(n.r,n.g,n.b,Math.round(255*n.a))}var o=e[2].getRelativeLuminance();this._backgroundIsLight=.5<=o,this._onDidChange.fire(void 0)},s.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},s.prototype.backgroundIsLight=function(){return this._backgroundIsLight},s._INSTANCE=null,s);function s(){var t=this;this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),r.v.onDidChange(function(e){e.changedColorMap&&t._updateColorMap()})}var l=(C.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),o=0,i=e.length;o<i;o++)n[o]=e[o]*t;return n},C._getChIndex=function(e){return(e-=32)<0&&(e+=95),e%95},C.prototype.x2RenderChar=function(e,t,n,o,i,r,a){if(t+2>e.width||n+4>e.height)console.warn("bad render request outside image data");else{var s=a?this.x2charDataLight:this.x2charData,l=C._getChIndex(o),u=4*e.width,c=r.r,d=r.g,h=r.b,p=i.r-c,f=i.g-d,g=i.b-h,m=e.data,b=4*l*2,v=n*u+4*t,y=s[b]/255;m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y,y=s[1+b]/255,m[v+4]=c+p*y,m[v+5]=d+f*y,m[v+6]=h+g*y,v+=u,y=s[2+b]/255,m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y,y=s[3+b]/255,m[v+4]=c+p*y,m[v+5]=d+f*y,m[v+6]=h+g*y,v+=u,y=s[4+b]/255,m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y,y=s[5+b]/255,m[v+4]=c+p*y,m[v+5]=d+f*y,m[v+6]=h+g*y,v+=u,y=s[6+b]/255,m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y,y=s[7+b]/255,m[v+4]=c+p*y,m[v+5]=d+f*y,m[v+6]=h+g*y}},C.prototype.x1RenderChar=function(e,t,n,o,i,r,a){if(t+1>e.width||n+2>e.height)console.warn("bad render request outside image data");else{var s=a?this.x1charDataLight:this.x1charData,l=C._getChIndex(o),u=4*e.width,c=r.r,d=r.g,h=r.b,p=i.r-c,f=i.g-d,g=i.b-h,m=e.data,b=2*l*1,v=n*u+4*t,y=s[b]/255;m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y,v+=u,y=s[1+b]/255,m[v+0]=c+p*y,m[v+1]=d+f*y,m[v+2]=h+g*y}},C.prototype.x2BlockRenderChar=function(e,t,n,o,i,r){if(t+2>e.width||n+4>e.height)console.warn("bad render request outside image data");else{var a=4*e.width,s=i.r,l=i.g,u=i.b,c=s+.5*(o.r-s),d=l+.5*(o.g-l),h=u+.5*(o.b-u),p=e.data,f=n*a+4*t;p[f+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=a)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=a)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h,p[(f+=a)+0]=c,p[f+1]=d,p[f+2]=h,p[f+4]=c,p[f+5]=d,p[f+6]=h}},C.prototype.x1BlockRenderChar=function(e,t,n,o,i,r){if(t+1>e.width||n+2>e.height)console.warn("bad render request outside image data");else{var a=4*e.width,s=i.r,l=i.g,u=i.b,c=s+.5*(o.r-s),d=l+.5*(o.g-l),h=u+.5*(o.b-u),p=e.data,f=n*a+4*t;p[f+0]=c,p[f+1]=d,p[f+2]=h,p[(f+=a)+0]=c,p[f+1]=d,p[f+2]=h}},C);function C(e,t){if(760!==e.length)throw new Error("Invalid x2CharData");if(190!==t.length)throw new Error("Invalid x1CharData");this.x2charData=e,this.x1charData=t,this.x2charDataLight=C.soften(e,.8),this.x1charDataLight=C.soften(t,50/60)}},1792:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("themeService")},1793:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return c});var o=n(1215),i=n(966),r=n(1251),a=n(1495),s=n(1317);function l(){this._onDidChangeLanguages=new i.a,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[],this._dynamicLanguages=[]}var u=new(l.prototype.registerLanguage=function(e){this._languages.push(e),this._onDidChangeLanguages.fire(void 0)},l.prototype.getLanguages=function(){return[].concat(this._languages).concat(this._dynamicLanguages)},l);s.a.add("editor.modesRegistry",u);var c=new r.o("plaintext",1);u.registerLanguage({id:"plaintext",extensions:[".txt",".gitignore"],aliases:[o.a("plainText.alias","Plain Text"),"text"],mimetypes:["text/plain"]}),a.a.register(c,{brackets:[["(",")"],["[","]"],["{","}"]]})},1794:function(e,t,n){"use strict";var o,i;function r(e,t){if(e.start>=t.end||t.start>=e.end)return{start:0,end:0};var n=Math.max(e.start,t.start),o=Math.min(e.end,t.end);return o-n<=0?{start:0,end:0}:{start:n,end:o}}function a(e){return e.end-e.start<=0}n.d(t,"a",function(){return o}),(i=o=o||{}).intersect=r,i.isEmpty=a,i.intersects=function(e,t){return!a(r(e,t))},i.relativeComplement=function(e,t){var n=[],o={start:e.start,end:Math.min(t.start,e.end)},i={start:Math.max(t.end,e.start),end:e.end};return a(o)||n.push(o),a(i)||n.push(i),n}},1795:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return x});var l=n(1423),L=n(868),u=n(1588),c=n(1126),d=n(966),h=n(1544),p=n(1677),D=n(2522),f=n(2523),b=n(1134),v=n(1304),o=n(1785),k=n(1794),g=n(1316),m=n(2099),y=n(1239),i=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},C={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},a=(r.prototype.update=function(){},r.prototype.getData=function(){return this.elements},r);function r(e){this.elements=e}var s=(A.prototype.update=function(){},A.prototype.getData=function(){return this.elements},A);function A(e){this.elements=e}var _=(w.prototype.update=function(e){var t;if(e.types&&(t=this.types).splice.apply(t,[0,this.types.length].concat(e.types)),e.files){this.files.splice(0,this.files.length);for(var n=0;n<e.files.length;n++){var o=e.files.item(n);o&&(o.size||o.type)&&this.files.push(o)}}},w.prototype.getData=function(){return{types:this.types,files:this.files}},w);function w(){this.types=[],this.files=[]}var x=(Object.defineProperty(S.prototype,"contentHeight",{get:function(){return this.rangeMap.size},enumerable:!0,configurable:!0}),S.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)}},S.prototype._splice=function(e,t,n){var o,i=this;void 0===n&&(n=[]);for(var r=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),a={start:e,end:e+t},s=k.a.intersect(r,a),l=s.start;l<s.end;l++)this.removeItemFromDOM(l);var u,c={start:e+t,end:this.items.length},d=k.a.intersect(c,r),h=k.a.relativeComplement(c,r),p=n.map(function(e){return{id:String(i.itemId++),element:e,templateId:i.virtualDelegate.getTemplateId(e),size:i.virtualDelegate.getHeight(e),width:void 0,hasDynamicHeight:!!i.virtualDelegate.hasDynamicHeight&&i.virtualDelegate.hasDynamicHeight(e),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:L.a.None}});u=0===e&&t>=this.items.length?(this.rangeMap=new D.a,this.rangeMap.splice(0,0,p),this.items=p,[]):(this.rangeMap.splice(e,t,p),(o=this.items).splice.apply(o,[e,t].concat(p)));var f=n.length-t,g=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),m=Object(D.b)(d,f),b=k.a.intersect(g,m);for(l=b.start;l<b.end;l++)this.updateItemInDOM(this.items[l],l);for(var v=0,y=k.a.relativeComplement(m,g);v<y.length;v++)for(l=(S=y[v]).start;l<S.end;l++)this.removeItemFromDOM(l);for(var C=h.map(function(e){return Object(D.b)(e,f)}),A=[{start:e,end:e+n.length}].concat(C).map(function(e){return k.a.intersect(g,e)}),_=this.getNextToLastElement(A),w=0,x=A;w<x.length;w++){var S;for(l=(S=x[w]).start;l<S.end;l++)this.insertItemInDOM(l,_)}return this.eventuallyUpdateScrollDimensions(),this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),u.map(function(e){return e.element})},S.prototype.eventuallyUpdateScrollDimensions=function(){var e=this;this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=this._scrollHeight+"px",this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=c.K(function(){e.scrollableElement.setScrollDimensions({scrollHeight:e.scrollHeight}),e.updateScrollWidth(),e.scrollableElementUpdateDisposable=null}))},S.prototype.eventuallyUpdateScrollWidth=function(){var e=this;this.horizontalScrolling&&this.scrollableElementWidthDelayer.trigger(function(){return e.updateScrollWidth()})},S.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 o=n[t];void 0!==o.width&&(e=Math.max(e,o.width))}this.scrollWidth=e,this.scrollableElement.setScrollDimensions({scrollWidth:e+10})}},S.prototype.rerender=function(){if(this.supportDynamicHeights){for(var e=0,t=this.items;e<t.length;e++)t[e].lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}},Object.defineProperty(S.prototype,"length",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"renderHeight",{get:function(){return this.scrollableElement.getScrollDimensions().height},enumerable:!0,configurable:!0}),S.prototype.element=function(e){return this.items[e].element},S.prototype.domElement=function(e){var t=this.items[e].row;return t&&t.domNode},S.prototype.elementHeight=function(e){return this.items[e].size},S.prototype.elementTop=function(e){return this.rangeMap.positionAt(e)},S.prototype.indexAt=function(e){return this.rangeMap.indexAt(e)},S.prototype.indexAfter=function(e){return this.rangeMap.indexAfter(e)},S.prototype.layout=function(e,t){var n={height:"number"==typeof e?e:c.q(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,n.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(n),void 0!==t&&(this.renderWidth=t,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:"number"==typeof t?t:c.r(this.domNode)}))},S.prototype.render=function(e,t,n,o){for(var i=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),r=this.getRenderRange(e,t),a=k.a.relativeComplement(r,i),s=k.a.relativeComplement(i,r),l=this.getNextToLastElement(a),u=0,c=a;u<c.length;u++)for(var d=(f=c[u]).start;d<f.end;d++)this.insertItemInDOM(d,l);for(var h=0,p=s;h<p.length;h++){var f;for(d=(f=p[h]).start;d<f.end;d++)this.removeItemFromDOM(d)}var g=!b.g&&!v.i&&0===v.c();if(g){var m="translate3d(-"+n+"px, -"+e+"px, 0px)";this.rowsContainer.style.transform=m,this.rowsContainer.style.webkitTransform=m,g!==this.canUseTranslate3d&&(this.rowsContainer.style.left="0",this.rowsContainer.style.top="0")}else this.rowsContainer.style.left="-"+n+"px",this.rowsContainer.style.top="-"+e+"px",g!==this.canUseTranslate3d&&(this.rowsContainer.style.transform="",this.rowsContainer.style.webkitTransform="");this.horizontalScrolling&&(this.rowsContainer.style.width=Math.max(o,this.renderWidth)+"px"),this.canUseTranslate3d=g,this.lastRenderTop=e,this.lastRenderHeight=t},S.prototype.insertItemInDOM=function(e,t){var n=this,o=this.items[e];o.row||(o.row=this.cache.alloc(o.templateId),o.row.domNode.setAttribute("role","treeitem")),o.row.domNode.parentElement||(t?this.rowsContainer.insertBefore(o.row.domNode,t):this.rowsContainer.appendChild(o.row.domNode)),this.updateItemInDOM(o,e);var i=this.renderers.get(o.templateId);if(!i)throw new Error("No renderer found for template id "+o.templateId);i&&i.renderElement(o.element,e,o.row.templateData);var r=this.dnd.getDragURI(o.element);if(o.dragStartDisposable.dispose(),o.row.domNode.draggable=!!r,r){var a=Object(h.a)(o.row.domNode,"dragstart");o.dragStartDisposable=a(function(e){return n.onDragStart(o.element,r,e)})}this.horizontalScrolling&&(this.measureItemWidth(o),this.eventuallyUpdateScrollWidth())},S.prototype.measureItemWidth=function(e){if(e.row&&e.row.domNode){e.row.domNode.style.width="fit-content",e.width=c.r(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=""}},S.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.ariaSetProvider.getSetSize(e.element,t,this.length))),e.row.domNode.setAttribute("aria-posinset",String(this.ariaSetProvider.getPosInSet(e.element,t))),e.row.domNode.setAttribute("id",this.getElementDomId(t)),c.M(e.row.domNode,"drop-target",e.dropTarget)},S.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),this.cache.release(t.row),t.row=null,this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()},S.prototype.getScrollTop=function(){return this.scrollableElement.getScrollPosition().scrollTop},S.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(S.prototype,"scrollTop",{get:function(){return this.getScrollTop()},set:function(e){this.setScrollTop(e)},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"scrollHeight",{get:function(){return this._scrollHeight+(this.horizontalScrolling?10:0)},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onMouseClick",{get:function(){var t=this;return d.b.map(Object(h.a)(this.domNode,"click"),function(e){return t.toMouseEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onMouseDblClick",{get:function(){var t=this;return d.b.map(Object(h.a)(this.domNode,"dblclick"),function(e){return t.toMouseEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onMouseMiddleClick",{get:function(){var t=this;return d.b.filter(d.b.map(Object(h.a)(this.domNode,"auxclick"),function(e){return t.toMouseEvent(e)}),function(e){return 1===e.browserEvent.button})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onMouseDown",{get:function(){var t=this;return d.b.map(Object(h.a)(this.domNode,"mousedown"),function(e){return t.toMouseEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onContextMenu",{get:function(){var t=this;return d.b.map(Object(h.a)(this.domNode,"contextmenu"),function(e){return t.toMouseEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onTouchStart",{get:function(){var t=this;return d.b.map(Object(h.a)(this.domNode,"touchstart"),function(e){return t.toTouchEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"onTap",{get:function(){var t=this;return d.b.map(Object(h.a)(this.rowsContainer,u.a.Tap),function(e){return t.toGestureEvent(e)})},enumerable:!0,configurable:!0}),S.prototype.toMouseEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},S.prototype.toTouchEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},S.prototype.toGestureEvent=function(e){var t=this.getItemIndexFromEventTarget(e.initialTarget||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},S.prototype.toDragEvent=function(e){var t=this.getItemIndexFromEventTarget(e.target||null),n=void 0===t?void 0:this.items[t];return{browserEvent:e,index:t,element:n&&n.element}},S.prototype.onScroll=function(t){try{this.render(t.scrollTop,t.height,t.scrollLeft,t.scrollWidth),this.supportDynamicHeights&&this._rerender(t.scrollTop,t.height)}catch(e){throw console.error("Got bad scroll event:",t),e}},S.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},S.prototype.onDragStart=function(e,t,n){if(n.dataTransfer){var o=this.dnd.getDragElements(e);if(n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setData(m.a.RESOURCES,JSON.stringify([t])),n.dataTransfer.setDragImage){var i=void 0;this.dnd.getDragLabel&&(i=this.dnd.getDragLabel(o)),void 0===i&&(i=String(o.length));var r=c.a(".monaco-drag-image");r.textContent=i,document.body.appendChild(r),n.dataTransfer.setDragImage(r,-10,-10),setTimeout(function(){return document.body.removeChild(r)},0)}this.currentDragData=new a(o),m.c.CurrentDragAndDropData=new s(o),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,n)}},S.prototype.onDragOver=function(e){var i=this;if(this.onDragLeaveTimeout.dispose(),m.c.CurrentDragAndDropData&&"vscode-ui"===m.c.CurrentDragAndDropData.getData())return!1;if(this.setupDragAndDropScrollTopAnimation(e.browserEvent),!e.browserEvent.dataTransfer)return!1;if(!this.currentDragData)if(m.c.CurrentDragAndDropData)this.currentDragData=m.c.CurrentDragAndDropData;else{if(!e.browserEvent.dataTransfer.types)return!1;this.currentDragData=new _}var r,t,n,o=this.dnd.onDragOver(this.currentDragData,e.element,e.index,e.browserEvent);if(this.canDrop="boolean"==typeof o?o:o.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;if(e.browserEvent.dataTransfer.dropEffect="boolean"!=typeof o&&0===o.effect?"copy":"move",r="boolean"!=typeof o&&o.feedback?o.feedback:void 0===e.index?[-1]:[e.index],0===(r=-1===(r=Object(g.c)(r).filter(function(e){return-1<=e&&e<i.length}).sort())[0]?[-1]:r).length)throw new Error("Invalid empty feedback list");if(t=this.currentDragFeedback,n=r,Array.isArray(t)&&Array.isArray(n)?Object(g.d)(t,n):t===n)return!0;if(this.currentDragFeedback=r,this.currentDragFeedbackDisposable.dispose(),-1===r[0])c.e(this.domNode,"drop-target"),this.currentDragFeedbackDisposable=Object(L.e)(function(){return c.D(i.domNode,"drop-target")});else{for(var a=0,s=r;a<s.length;a++){var l=s[a],u=this.items[l];u.dropTarget=!0,u.row&&u.row.domNode&&c.e(u.row.domNode,"drop-target")}this.currentDragFeedbackDisposable=Object(L.e)(function(){for(var e=0,t=r;e<t.length;e++){var n=t[e],o=i.items[n];o.dropTarget=!1,o.row&&o.row.domNode&&c.D(o.row.domNode,"drop-target")}})}return!0},S.prototype.onDragLeave=function(){var e=this;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=Object(y.f)(function(){return e.clearDragOverFeedback()},100)},S.prototype.onDrop=function(e){if(this.canDrop){var t=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.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))}},S.prototype.onDragEnd=function(){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.c.CurrentDragAndDropData=void 0},S.prototype.clearDragOverFeedback=function(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=L.a.None},S.prototype.setupDragAndDropScrollTopAnimation=function(e){var t=this;if(!this.dragOverAnimationDisposable){var n=c.u(this.domNode).top;this.dragOverAnimationDisposable=c.k(this.animateDragAndDropScrollTop.bind(this,n))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=Object(y.f)(function(){t.dragOverAnimationDisposable&&(t.dragOverAnimationDisposable.dispose(),t.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=e.pageY},S.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))):n<t&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},S.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},S.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var o=Number(n);if(!isNaN(o))return o}t=t.parentElement}},S.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},S.prototype._rerender=function(e,t){var n,o,i=this.getRenderRange(e,t);e===this.elementTop(i.start)?(n=i.start,o=0):1<i.end-i.start&&(n=i.start+1,o=this.elementTop(n)-e);for(var r=0;;){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]]),r+=u,s=s||0!==u}if(!s){0!==r&&this.eventuallyUpdateScrollDimensions();for(var c=0,d=k.a.relativeComplement(i,a);c<d.length;c++)for(l=(f=d[c]).start;l<f.end;l++)this.items[l].row&&this.removeItemFromDOM(l);for(var h=0,p=k.a.relativeComplement(a,i);h<p.length;h++){var f;for(l=(f=p[h]).start;l<f.end;l++){var g=l+1,m=g<this.items.length?this.items[g].row:null,b=m?m.domNode:null;this.insertItemInDOM(l,b)}}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)-o),void this._onDidChangeContentHeight.fire(this.contentHeight)}}},S.prototype.probeDynamicHeight=function(e){var t=this.items[e];if(!t.hasDynamicHeight||t.lastDynamicHeightWidth===this.renderWidth)return 0;var n=t.size,o=this.cache.alloc(t.templateId);o.domNode.style.height="",this.rowsContainer.appendChild(o.domNode);var i=this.renderers.get(t.templateId);return i&&(i.renderElement(t.element,e,o.templateData,!0),i.disposeElement&&i.disposeElement(t.element,e,o.templateData,!0)),t.size=o.domNode.offsetHeight,t.lastDynamicHeightWidth=this.renderWidth,this.rowsContainer.removeChild(o.domNode),this.cache.release(o),t.size-n},S.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},S.prototype.getElementDomId=function(e){return this.domId+"_"+e},S.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 o=this.renderers.get(n.row.templateId);o&&o.disposeTemplate(n.row.templateData)}}this.items=[]}this.domNode&&this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.disposables=Object(L.d)(this.disposables)},S.InstanceCount=0,i([o.a],S.prototype,"onMouseClick",null),i([o.a],S.prototype,"onMouseDblClick",null),i([o.a],S.prototype,"onMouseMiddleClick",null),i([o.a],S.prototype,"onMouseDown",null),i([o.a],S.prototype,"onContextMenu",null),i([o.a],S.prototype,"onTouchStart",null),i([o.a],S.prototype,"onTap",null),S);function S(e,t,n,o){void 0===o&&(o=C);var i=this;if(this.virtualDelegate=t,this.domId="list_id_"+ ++S.InstanceCount,this.renderers=new Map,this.renderWidth=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new y.a(50),this.splicing=!1,this.dragOverAnimationStopDisposable=L.a.None,this.canUseTranslate3d=void 0,this.canDrop=!1,this.currentDragFeedbackDisposable=L.a.None,this.onDragLeaveTimeout=L.a.None,this._onDidChangeContentHeight=new d.a,o.horizontalScrolling&&o.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new D.a;for(var r=0,a=n;r<a.length;r++){var s=a[r];this.renderers.set(s.templateId,s)}this.cache=new f.a(this.renderers),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",c.e(this.domNode,this.domId),this.domNode.tabIndex=0,c.M(this.domNode,"mouse-support","boolean"!=typeof o.mouseSupport||o.mouseSupport),this.horizontalScrolling=Object(l.e)(o,function(e){return e.horizontalScrolling},C.horizontalScrolling),c.M(this.domNode,"horizontal-scrolling",this.horizontalScrolling),this.ariaSetProvider=o.ariaSetProvider||{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",u.b.addTarget(this.rowsContainer),this.scrollableElement=new p.b(this.rowsContainer,{alwaysConsumeMouseWheel:!0,horizontal:this.horizontalScrolling?1:2,vertical:Object(l.e)(o,function(e){return e.verticalScrollMode},C.verticalScrollMode),useShadows:Object(l.e)(o,function(e){return e.useShadows},C.useShadows)}),this.domNode.appendChild(this.scrollableElement.getDomNode()),e.appendChild(this.domNode),this.disposables=[this.rangeMap,this.gesture,this.scrollableElement,this.cache],this.onDidScroll=d.b.signal(this.scrollableElement.onScroll),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),Object(h.a)(this.rowsContainer,u.a.Change)(this.onTouchChange,this,this.disposables),Object(h.a)(this.scrollableElement.getDomNode(),"scroll")(function(e){return e.target.scrollTop=0},null,this.disposables),d.b.map(Object(h.a)(this.domNode,"dragover"),function(e){return i.toDragEvent(e)})(this.onDragOver,this,this.disposables),d.b.map(Object(h.a)(this.domNode,"drop"),function(e){return i.toDragEvent(e)})(this.onDrop,this,this.disposables),Object(h.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(h.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(l.e)(o,function(e){return e.setRowLineHeight},C.setRowLineHeight),this.supportDynamicHeights=Object(l.e)(o,function(e){return e.supportDynamicHeights},C.supportDynamicHeights),this.dnd=Object(l.e)(o,function(e){return e.dnd},C.dnd),this.layout()}},1796:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u});var o,i,r,a=n(1125),s=n(1215),l=n(1783);(i=o=o||{})[i.Hint=1]="Hint",i[i.Info=2]="Info",i[i.Warning=4]="Warning",i[i.Error=8]="Error",function(t){t.compare=function(e,t){return t-e};var n=Object.create(null);n[t.Error]=Object(s.a)("sev.error","Error"),n[t.Warning]=Object(s.a)("sev.warning","Warning"),n[t.Info]=Object(s.a)("sev.info","Info"),t.toString=function(e){return n[e]||""},t.fromSeverity=function(e){switch(e){case l.a.Error:return t.Error;case l.a.Warning:return t.Warning;case l.a.Info:return t.Info;case l.a.Ignore:return t.Hint}}}(o=o||{}),(r=r||{}).makeKey=function(e){var t=[""];return e.source?t.push(e.source.replace("¦","¦")):t.push(""),e.code?t.push(e.code.replace("¦","¦")):t.push(""),void 0!==e.severity&&null!==e.severity?t.push(o.toString(e.severity)):t.push(""),e.message?t.push(e.message.replace("¦","¦")):t.push(""),void 0!==e.startLineNumber&&null!==e.startLineNumber?t.push(e.startLineNumber.toString()):t.push(""),void 0!==e.startColumn&&null!==e.startColumn?t.push(e.startColumn.toString()):t.push(""),void 0!==e.endLineNumber&&null!==e.endLineNumber?t.push(e.endLineNumber.toString()):t.push(""),void 0!==e.endColumn&&null!==e.endColumn?t.push(e.endColumn.toString()):t.push(""),t.push(""),t.join("¦")};var u=Object(a.c)("markerService")},2054:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"CancellationTokenSource",function(){return u}),n.d(t,"Emitter",function(){return c}),n.d(t,"KeyCode",function(){return d}),n.d(t,"KeyMod",function(){return h}),n.d(t,"Position",function(){return p}),n.d(t,"Range",function(){return f}),n.d(t,"Selection",function(){return g}),n.d(t,"SelectionDirection",function(){return m}),n.d(t,"MarkerSeverity",function(){return b}),n.d(t,"MarkerTag",function(){return v}),n.d(t,"Uri",function(){return y}),n.d(t,"Token",function(){return C}),n.d(t,"editor",function(){return A}),n.d(t,"languages",function(){return _});var o=n(1422),i=n(2055),r=n(2341),a=n(2538),s=self;o.a.wrappingIndent=0,o.a.viewInfo.glyphMargin=!1,o.a.autoIndent=!1;var l=Object(i.a)();l.editor=Object(r.a)(),l.languages=Object(a.a)();var u=l.CancellationTokenSource,c=l.Emitter,d=l.KeyCode,h=l.KeyMod,p=l.Position,f=l.Range,g=l.Selection,m=l.SelectionDirection,b=l.MarkerSeverity,v=l.MarkerTag,y=l.Uri,C=l.Token,A=l.editor,_=l.languages;s.monaco=l,void 0!==s.require&&"function"==typeof s.require.config&&s.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"]})},2055:function(e,t,n){"use strict";t.a=function(){return{editor:void 0,languages:void 0,CancellationTokenSource:i.a,Emitter:r.a,KeyCode:h.k,KeyMod:p,Position:l.a,Range:u.a,Selection:c.a,SelectionDirection:h.u,MarkerSeverity:h.l,MarkerTag:h.m,Uri:s.a,Token:d.a}};var o=n(2337),i=(n.n(o),n(2056)),r=n(966),a=n(1543),s=n(1408),l=n(1124),u=n(988),c=n(1303),d=n(1666),h=n(1772),p=(f.chord=function(e,t){return Object(a.a)(e,t)},f.CtrlCmd=2048,f.Shift=1024,f.Alt=512,f.WinCtrl=256,f);function f(){}},2056:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o,i,r=n(966),a=Object.freeze(function(e,t){var n=setTimeout(e.bind(t),0);return{dispose:function(){clearTimeout(n)}}});(i=o=o||{}).isCancellationToken=function(e){return e===i.None||e===i.Cancelled||(e instanceof s||!(!e||"object"!=typeof e)&&("boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested))},i.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.b.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:a});var s=(l.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(l.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?a:(this._emitter||(this._emitter=new r.a),this._emitter.event)},enumerable:!0,configurable:!0}),l.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},l);function l(){this._isCancelled=!1,this._emitter=null}var u=(Object.defineProperty(c.prototype,"token",{get:function(){return this._token||(this._token=new s),this._token},enumerable:!0,configurable:!0}),c.prototype.cancel=function(){this._token?this._token instanceof s&&this._token.cancel():this._token=o.Cancelled},c.prototype.dispose=function(){this._token?this._token instanceof s&&this._token.dispose():this._token=o.None},c);function c(){}},2057:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1583),r=function(e){this.element=e},i=(Object.defineProperty(a.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),a.prototype.isEmpty=function(){return!this._first},a.prototype.unshift=function(e){return this._insert(e,!1)},a.prototype.push=function(e){return this._insert(e,!0)},a.prototype._insert=function(e,t){var n=new r(e);if(this._first)if(t){var o=this._last;((this._last=n).prev=o).next=n}else{var i=this._first;((this._first=n).next=i).prev=n}else this._first=n,this._last=n;return this._size+=1,this._remove.bind(this,n)},a.prototype.shift=function(){if(this._first){var e=this._first.element;return this._remove(this._first),e}},a.prototype._remove=function(e){for(var t=this._first;t instanceof r;){if(t===e){if(t.prev&&t.next){var n=t.prev;n.next=t.next,t.next.prev=n}else t.prev||t.next?t.next?t.prev||(this._first=this._first.next,this._first.prev=void 0):(this._last=this._last.prev,this._last.next=void 0):(this._first=void 0,this._last=void 0);this._size-=1;break}t=t.next}},a.prototype.iterator=function(){var e,t=this._first;return{next:function(){return t?(e?e.value=t.element:e={done:!1,value:t.element},t=t.next,e):o.a}}},a);function a(){this._size=0}},2058:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o=!1,i=null;function r(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 o=!0,null}catch(e){return o=!0,null}return e.parent}function a(e,t){for(var n,o=e.document.getElementsByTagName("iframe"),i=0,r=o.length;i<r;i++)if((n=o[i]).contentWindow===t)return n;return null}var s=(l.getSameOriginWindowChain=function(){if(!i){i=[];for(var e,t=window;(e=r(t))?i.push({window:t,iframeElement:a(e,t)}):i.push({window:t,iframeElement:null}),t=e;);}return i.slice(0)},l.hasDifferentOriginAncestor=function(){return i||this.getSameOriginWindowChain(),o},l.getPositionOfChildWindowRelativeToAncestorWindow=function(e,t){if(!t||e===t)return{top:0,left:0};for(var n=0,o=0,i=0,r=this.getSameOriginWindowChain();i<r.length;i++){var a=r[i];if(a.window===t)break;if(!a.iframeElement)break;var s=a.iframeElement.getBoundingClientRect();n+=s.top,o+=s.left}return{top:n,left:o}},l);function l(){}},2059:function(e,t,n){"use strict";t.a=function(e){for(var t,n,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];n=e.scheme===l.a.file?s.a.file(a.join.apply(a,[c(e)].concat(o))).path:(t=a.posix).join.apply(t,[e.path||"/"].concat(o));return e.with({path:n})},t.b=function(e){if(!e.path.length)return e;var t;t=e.scheme===l.a.file?s.a.file(a.normalize(c(e))).path:a.posix.normalize(e.path);return e.with({path:t})};var o,r,i=n(2060),a=n(1667),s=n(1408),l=(n(989),n(1545)),u=n(1134);function c(e){var t,n=e.path;return t=e.authority&&1<n.length&&"file"===e.scheme?"//"+e.authority+n:u.g&&47===n.charCodeAt(0)&&i.b(n.charCodeAt(1))&&58===n.charCodeAt(2)?n.substr(1):n,u.g&&(t=t.replace(/\//g,"\\")),t}(r=o=o||{}).META_DATA_LABEL="label",r.META_DATA_DESCRIPTION="description",r.META_DATA_SIZE="size",r.META_DATA_MIME="mime",r.parseMetaData=function(e){var i=new Map;e.path.substring(e.path.indexOf(";")+1,e.path.lastIndexOf(";")).split(";").forEach(function(e){var t=e.split(":"),n=t[0],o=t[1];n&&o&&i.set(n,o)});var t=e.path.substring(0,e.path.indexOf(";"));return t&&i.set(r.META_DATA_MIME,t),i}},2060:function(e,t,n){"use strict";t.a=function(e,t,n,o){void 0===o&&(o=a.sep);if(e===t)return!0;if(!e||!t)return!1;if(t.length>e.length)return!1;if(n){if(!Object(r.C)(e,t))return!1;if(t.length===e.length)return!0;var i=t.length;return t.charAt(t.length-1)===o&&i--,e.charAt(i)===o}t.charAt(t.length-1)!==o&&(t+=o);return 0===e.indexOf(t)},t.b=function(e){return 65<=e&&e<=90||97<=e&&e<=122};var r=n(989),a=n(1667)},2061:function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error(t?"Assertion failed ("+t+")":"Assertion Failed")}},2062:function(e,t,n){"use strict";t.a=function(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t){void 0===t&&(t={});if(!e)return r;if("string"==typeof e||function(e){var t=e;return t&&"string"==typeof t.base&&"string"==typeof t.pattern}(e)){var n=N(e,t);if(n===k)return r;var o=function(e,t){return!!n(e,t)};return n.allBasenames&&(o.allBasenames=n.allBasenames),n.allPaths&&(o.allPaths=n.allPaths),o}return function(t,n){var l=M(Object.getOwnPropertyNames(t).map(function(e){return function(r,e,t){if(!1===e)return k;var a=N(r,t);if(a===k)return k;if("boolean"==typeof e)return a;if(e){var s=e.when;if("string"==typeof s){var n=function(e,t,n,o){if(!o||!a(e,t))return null;var i=o(s.replace("$(basename)",n));return Object(d.g)(i)?i.then(function(e){return e?r:null}):i?r:null};return n.requiresSiblings=!0,n}}return a}(e,t[e],n)}).filter(function(e){return e!==k})),e=l.length;if(!e)return k;if(!l.some(function(e){return!!e.requiresSiblings})){if(1===e)return l[0];var o=function(e,t){for(var n=0,o=l.length;n<o;n++){var i=l[n](e,t);if(i)return i}return null},i=p.e(l,function(e){return!!e.allBasenames});i&&(o.allBasenames=i.allBasenames);var r=l.reduce(function(e,t){return t.allPaths?e.concat(t.allPaths):e},[]);return r.length&&(o.allPaths=r),o}function a(e,t,n){for(var o=void 0,i=0,r=l.length;i<r;i++){var a=l[i];a.requiresSiblings&&n&&(t=t||c.basename(e),o=o||t.substr(0,t.length-c.extname(e).length));var s=a(e,t,o,n);if(s)return s}return null}var s=p.e(l,function(e){return!!e.allBasenames});s&&(a.allBasenames=s.allBasenames);var u=l.reduce(function(e,t){return t.allPaths?e.concat(t.allPaths):e},[]);u.length&&(a.allPaths=u);return a}(e,t)}(e)(t,void 0,n)};var p=n(1316),f=n(989),i=n(2060),c=n(1667),o=n(1462),d=n(1239),g="**",m="/",b="[/\\\\]",v="[^/\\\\]",a=/\//g;function y(e){switch(e){case 0:return"";case 1:return v+"*?";default:return"(?:"+b+"|"+v+"+"+b+"|"+b+v+"+)*?"}}function C(e,t){if(!e)return[];for(var n=[],o=!1,i=!1,r="",a=0,s=e;a<s.length;a++){var l=s[a];switch(l){case t:if(o||i)break;n.push(r),r="";continue;case"{":o=!0;break;case"}":o=!1;break;case"[":i=!0;break;case"]":i=!1}r+=l}return r&&n.push(r),n}var A=/^\*\*\/\*\.[\w\.-]+$/,_=/^\*\*\/([\w\.-]+)\/?$/,w=/^{\*\*\/[\*\.]?[\w\.-]+\/?(,\*\*\/[\*\.]?[\w\.-]+\/?)*}$/,x=/^{\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?(,\*\*\/[\*\.]?[\w\.-]+(\/(\*\*)?)?)*}$/,S=/^\*\*((\/[\w\.-]+)+)\/?$/,L=/^([\w\.-]+(\/[\w\.-]+)*)\/?$/,D=new o.a(1e4),r=function(){return!1},k=function(){return null};function N(e,t){if(!e)return k;var n,o,i,r,a,s,l,u=(n=(n="string"!=typeof e?e.pattern:e).trim())+"_"+!!t.trimForExclusions,c=D.get(u);if(c)return I(c,e);if(A.test(n)){var d=n.substr(4);c=function(e,t){return"string"==typeof e&&f.j(e,d)?n:null}}else c=(o=_.exec(O(n,t)))?(i=o[1],r=n,a="/"+i,s="\\"+i,h.basenames=l=[i],h.patterns=[r],h.allBasenames=l,h):(t.trimForExclusions?x:w).test(n)?function(i,t){var r=M(i.slice(1,-1).split(",").map(function(e){return N(e,t)}).filter(function(e){return e!==k}),i),e=r.length;if(!e)return k;if(1===e)return r[0];function n(e,t){for(var n=0,o=r.length;n<o;n++)if(r[n](e,t))return i;return null}var o=p.e(r,function(e){return!!e.allBasenames});o&&(n.allBasenames=o.allBasenames);var a=r.reduce(function(e,t){return t.allPaths?e.concat(t.allPaths):e},[]);a.length&&(n.allPaths=a);return n}(n,t):(o=S.exec(O(n,t)))?E(o[1].substr(1),n,!0):(o=L.exec(O(n,t)))?E(o[1],n,!1):function(n){try{var o=new RegExp("^"+function c(e){if(!e)return"";var d="",h=C(e,m);if(h.every(function(e){return e===g}))d=".*";else{var p=!1;h.forEach(function(e,t){if(e!==g){for(var n=!1,o="",i=!1,r="",a=0,s=e;a<s.length;a++){var l=s[a];if("}"!==l&&n)o+=l;else if(!i||"]"===l&&r)switch(l){case"{":n=!0;continue;case"[":i=!0;continue;case"}":var u="(?:"+C(o,",").map(function(e){return c(e)}).join("|")+")";d+=u,n=!1,o="";break;case"]":d+="["+r+"]",i=!1,r="";break;case"?":d+=v;continue;case"*":d+=y(1);continue;default:d+=f.m(l)}else r+="-"===l?l:"^"!==l&&"!"!==l||r?l===m?"":f.m(l):"^"}t<h.length-1&&(h[t+1]!==g||t+2<h.length)&&(d+=b),p=!1}else p||(d+=y(2),p=!0)})}return d}(n)+"$");return function(e,t){return o.lastIndex=0,"string"==typeof e&&o.test(e)?n:null}}catch(e){return k}}(n);function h(e,t){return"string"!=typeof e?null:t?t===i?r:null:e===i||f.j(e,a)||f.j(e,s)?r:null}return D.set(u,c),I(c,e)}function I(n,o){return"string"==typeof o?n:function(e,t){return i.a(e,o.base)?n(c.relative(o.base,e),t):null}}function O(e,t){return t.trimForExclusions&&f.j(e,"/**")?e.substr(0,e.length-2):e}function E(e,n,t){var o=c.sep!==c.posix.sep?e.replace(a,c.sep):e,i=c.sep+o,r=t?function(e,t){return"string"!=typeof e||e!==o&&!f.j(e,i)?null:n}:function(e,t){return"string"==typeof e&&e===o?n:null};return r.allPaths=[(t?"*/":"./")+e],r}function M(e,t){var n=e.filter(function(e){return!!e.basenames});if(n.length<2)return e;var r,a=n.reduce(function(e,t){var n=t.basenames;return n?e.concat(n):e},[]);if(t){r=[];for(var o=0,i=a.length;o<i;o++)r.push(t)}else r=n.reduce(function(e,t){var n=t.patterns;return n?e.concat(n):e},[]);function s(e,t){if("string"!=typeof e)return null;if(!t){var n=void 0;for(n=e.length;0<n;n--){var o=e.charCodeAt(n-1);if(47===o||92===o)break}t=e.substr(n)}var i=a.indexOf(t);return-1!==i?r[i]:null}s.basenames=a,s.patterns=r,s.allBasenames=a;var l=e.filter(function(e){return!e.basenames});return l.push(s),l}},2063:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("textModelService")},2064:function(e,t,n){"use strict";n.d(t,"b",function(){return y}),n.d(t,"a",function(){return E});var o,r=n(1239),a=n(868),i=n(2065),s=n(2351),l=n(1251),u=n(1495),c=n(2356),d=n(1584),h=n(1779),p=n(989),f=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},m=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}};function b(e,t){var n=e.getModel(t);return!!n&&!n.isTooLargeForSyncing()}var v,y=(v=a.a,f(C,v),C.prototype.dispose=function(){v.prototype.dispose.call(this)},C.prototype.canComputeDiff=function(e,t){return b(this._modelService,e)&&b(this._modelService,t)},C.prototype.computeDiff=function(t,n,o){return this._workerManager.withWorker().then(function(e){return e.computeDiff(t,n,o)})},C.prototype.computeMoreMinimalEdits=function(t,n){return Array.isArray(n)&&0!==n.length&&b(this._modelService,t)?this._workerManager.withWorker().then(function(e){return e.computeMoreMinimalEdits(t,n)}):Promise.resolve(n)},C.prototype.canNavigateValueSet=function(e){return b(this._modelService,e)},C.prototype.navigateValueSet=function(t,n,o){return this._workerManager.withWorker().then(function(e){return e.navigateValueSet(t,n,o)})},C.prototype.canComputeWordRanges=function(e){return b(this._modelService,e)},C.prototype.computeWordRanges=function(t,n){return this._workerManager.withWorker().then(function(e){return e.computeWordRanges(t,n)})},C=g([m(0,d.a),m(1,h.a)],C));function C(e,t){var n=v.call(this)||this;return n._modelService=e,n._workerManager=n._register(new x(n._modelService)),n._register(l.p.register("*",{provideLinks:function(t,e){return b(n._modelService,t.uri)?n._workerManager.withWorker().then(function(e){return e.computeLinks(t.uri)}):Promise.resolve([])}})),n._register(l.d.register("*",new A(n._workerManager,t,n._modelService))),n}var A=(_.prototype.provideCompletionItems=function(t,n){if(this._configurationService.getValue(t.uri,n,"editor").wordBasedSuggestions&&b(this._modelService,t.uri))return this._workerManager.withWorker().then(function(e){return e.textualSuggest(t.uri,n)})},_);function _(e,t,n){this._workerManager=e,this._configurationService=t,this._modelService=n}var w,x=(w=a.a,f(S,w),S.prototype.dispose=function(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),w.prototype.dispose.call(this)},S.prototype._checkStopEmptyWorker=function(){this._editorWorkerClient&&0===this._modelService.getModels().length&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},S.prototype._checkStopIdleWorker=function(){this._editorWorkerClient&&3e5<(new Date).getTime()-this._lastWorkerUsedTime&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)},S.prototype.withWorker=function(){return this._lastWorkerUsedTime=(new Date).getTime(),this._editorWorkerClient||(this._editorWorkerClient=new E(this._modelService,"editorWorkerService")),Promise.resolve(this._editorWorkerClient)},S);function S(e){var t=w.call(this)||this;return t._modelService=e,t._editorWorkerClient=null,t._register(new r.b).cancelAndSet(function(){return t._checkStopIdleWorker()},Math.round(15e4)),t._register(t._modelService.onModelRemoved(function(e){return t._checkStopEmptyWorker()})),t}var L,D=(L=a.a,f(k,L),k.prototype.dispose=function(){for(var e in this._syncedModels)Object(a.d)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),L.prototype.dispose.call(this)},k.prototype.esureSyncedResources=function(e){for(var t=0,n=e;t<n.length;t++){var o=n[t],i=o.toString();this._syncedModels[i]||this._beginModelSync(o),this._syncedModels[i]&&(this._syncedModelsLastUsedTime[i]=(new Date).getTime())}},k.prototype._checkStopModelSync=function(){var e=(new Date).getTime(),t=[];for(var n in this._syncedModelsLastUsedTime)6e4<e-this._syncedModelsLastUsedTime[n]&&t.push(n);for(var o=0,i=t;o<i.length;o++){var r=i[o];this._stopModelSync(r)}},k.prototype._beginModelSync=function(e){var t=this,n=this._modelService.getModel(e);if(n&&!n.isTooLargeForSyncing()){var o=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});var i=[];i.push(n.onDidChangeContent(function(e){t._proxy.acceptModelChanged(o.toString(),e)})),i.push(n.onWillDispose(function(){t._stopModelSync(o)})),i.push(Object(a.e)(function(){t._proxy.acceptRemovedModel(o)})),this._syncedModels[o]=i}},k.prototype._stopModelSync=function(e){var t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],Object(a.d)(t)},k);function k(e,t,n){var o=L.call(this)||this;if(o._syncedModels=Object.create(null),o._syncedModelsLastUsedTime=Object.create(null),o._proxy=e,o._modelService=t,!n){var i=new r.b;i.cancelAndSet(function(){return o._checkStopModelSync()},Math.round(3e4)),o._register(i)}return o}var N=(I.prototype.dispose=function(){this._instance.dispose()},I.prototype.getProxyObject=function(){return this._proxyObj},I);function I(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}var O,E=(O=a.a,f(M,O),M.prototype._getOrCreateWorker=function(){if(!this._worker)try{this._worker=this._register(new i.a(this._workerFactory,"vs/editor/common/services/editorSimpleWorker"))}catch(e){Object(i.b)(e),this._worker=new N(new c.a(null))}return this._worker},M.prototype._getProxy=function(){var t=this;return this._getOrCreateWorker().getProxyObject().then(void 0,function(e){return Object(i.b)(e),t._worker=new N(new c.a(null)),t._getOrCreateWorker().getProxyObject()})},M.prototype._getOrCreateModelManager=function(e){return this._modelManager||(this._modelManager=this._register(new D(e,this._modelService,!1))),this._modelManager},M.prototype._withSyncedResources=function(t){var n=this;return this._getProxy().then(function(e){return n._getOrCreateModelManager(e).esureSyncedResources(t),e})},M.prototype.computeDiff=function(t,n,o){return this._withSyncedResources([t,n]).then(function(e){return e.computeDiff(t.toString(),n.toString(),o)})},M.prototype.computeMoreMinimalEdits=function(t,n){return this._withSyncedResources([t]).then(function(e){return e.computeMoreMinimalEdits(t.toString(),n)})},M.prototype.computeLinks=function(t){return this._withSyncedResources([t]).then(function(e){return e.computeLinks(t.toString())})},M.prototype.textualSuggest=function(r,a){var s=this;return this._withSyncedResources([r]).then(function(e){var t=s._modelService.getModel(r);if(!t)return null;var n=u.a.getWordDefinition(t.getLanguageIdentifier().id),o=n.source,i=Object(p.z)(n);return e.textualSuggest(r.toString(),a,o,i)})},M.prototype.computeWordRanges=function(r,a){var s=this;return this._withSyncedResources([r]).then(function(e){var t=s._modelService.getModel(r);if(!t)return Promise.resolve(null);var n=u.a.getWordDefinition(t.getLanguageIdentifier().id),o=n.source,i=Object(p.z)(n);return e.computeWordRanges(r.toString(),a,o,i)})},M.prototype.navigateValueSet=function(r,a,s){var l=this;return this._withSyncedResources([r]).then(function(e){var t=l._modelService.getModel(r);if(!t)return null;var n=u.a.getWordDefinition(t.getLanguageIdentifier().id),o=n.source,i=Object(p.z)(n);return e.navigateValueSet(r.toString(),a,s,o,i)})},M);function M(e,t){var n=O.call(this)||this;return n._modelService=e,n._workerFactory=new s.a(t),n._worker=null,n._modelManager=null,n}},2065:function(e,t,n){"use strict";t.b=function(e){if(!r.f)return;u||(u=!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)},n.d(t,"a",function(){return f});var o,s=n(1222),i=n(868),r=n(1134),c=n(1255),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l="$initialize",u=!1;var d=(h.prototype.setWorkerId=function(e){this._workerId=e},h.prototype.sendMessage=function(n,o){var i=this,r=String(++this._lastSentReq);return new Promise(function(e,t){i._pendingReplies[r]={resolve:e,reject:t},i._send({vsWorker:i._workerId,req:r,method:n,args:o})})},h.prototype.handleMessage=function(e){var t;try{t=JSON.parse(e)}catch(e){return}t&&t.vsWorker&&(-1!==this._workerId&&t.vsWorker!==this._workerId||this._handleMessage(t))},h.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 o=this._pendingReplies[n.seq];if(delete this._pendingReplies[n.seq],n.err){var i=n.err;return n.err.$isError&&((i=new Error).name=n.err.name,i.message=n.err.message,i.stack=n.err.stack),void o.reject(i)}o.resolve(n.res)}else{var r=e,a=r.req;this._handler.handleMessage(r.method,r.args).then(function(e){t._send({vsWorker:t._workerId,seq:a,res:e,err:void 0})},function(e){e.detail instanceof Error&&(e.detail=Object(s.f)(e.detail)),t._send({vsWorker:t._workerId,seq:a,res:void 0,err:Object(s.f)(e)})})}},h.prototype._send=function(e){var t=JSON.stringify(e);this._handler.sendMessage(t)},h);function h(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}var p,f=(p=i.a,a(g,p),g.prototype.getProxyObject=function(){return this._lazyProxy},g.prototype._request=function(n,o){var i=this;return new Promise(function(e,t){i._onModuleLoaded.then(function(){i._protocol.sendMessage(n,o).then(e,t)},t)})},g.prototype._onError=function(e,t){console.error(e),console.info(t)},g);function g(e,n){var o=p.call(this)||this,i=null;o._worker=o._register(e.create("vs/base/common/worker/simpleWorker",function(e){o._protocol.handleMessage(e)},function(e){i&&i(e)})),o._protocol=new d({sendMessage:function(e){o._worker.postMessage(e)},handleMessage:function(e,t){return Promise.resolve(null)}}),o._protocol.setWorkerId(o._worker.getId());var t=null;void 0!==self.require&&"function"==typeof self.require.getConfig?t=self.require.getConfig():void 0!==self.requirejs&&(t=self.requirejs.s.contexts._.config),o._onModuleLoaded=o._protocol.sendMessage(l,[o._worker.getId(),n,t]),o._lazyProxy=new Promise(function(r,t){i=t,o._onModuleLoaded.then(function(e){for(var t={},n=0,o=e;n<o.length;n++){var i=o[n];t[i]=s(i,a)}r(t)},function(e){t(e),o._onError("Worker failed to load "+n,e)})});var a=function(e,t){return o._request(e,t)},s=function(t,n){return function(){var e=Array.prototype.slice.call(arguments,0);return n(t,e)}};return o}m.prototype.onmessage=function(e){this._protocol.handleMessage(e)},m.prototype._handleMessage=function(e,t){if(e===l)return this.initialize(t[0],t[1],t[2]);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(e){return Promise.reject(e)}},m.prototype.initialize=function(e,t,n){var u=this;if(this._protocol.setWorkerId(e),this._requestHandler){for(var o=[],i=0,r=Object(c.b)(this._requestHandler);i<r.length;i++){var a=r[i];"function"==typeof this._requestHandler[a]&&o.push(a)}return Promise.resolve(o)}return n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,n.catchError=!0,self.require.config(n)),new Promise(function(s,l){self.require([t],function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[0];if(u._requestHandler=n.create(),u._requestHandler){for(var o=[],i=0,r=Object(c.b)(u._requestHandler);i<r.length;i++){var a=r[i];"function"==typeof u._requestHandler[a]&&o.push(a)}s(o)}else l(new Error("No RequestHandler!"))},l)})};function m(t,e){var n=this;this._requestHandler=e,this._protocol=new d({sendMessage:function(e){t(e)},handleMessage:function(e,t){return n._handleMessage(e,t)}})}},2066:function(e,t,n){"use strict";t.b=function(e,t,n){return new s(o(e),o(t)).ComputeDiff(n)},n.d(t,"a",function(){return s});var I=n(2357);function o(t){return{getLength:function(){return t.length},getElementAtIndex:function(e){return t.charCodeAt(e)}}}var h=(i.Assert=function(e,t){if(!e)throw new Error(t)},i);function i(){}var N=(r.Copy=function(e,t,n,o,i){for(var r=0;r<i;r++)n[o+r]=e[t+r]},r);function r(){}var O=(a.prototype.MarkNextChange=function(){(0<this.m_originalCount||0<this.m_modifiedCount)&&this.m_changes.push(new I.a(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE},a.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++},a.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++},a.prototype.getChanges=function(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes},a.prototype.getReverseChanges=function(){return(0<this.m_originalCount||0<this.m_modifiedCount)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},a);function a(){this.m_changes=[],this.m_originalStart=Number.MAX_VALUE,this.m_modifiedStart=Number.MAX_VALUE,this.m_originalCount=0,this.m_modifiedCount=0}var s=(l.prototype.ElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},l.prototype.OriginalElementsAreEqual=function(e,t){return this.OriginalSequence.getElementAtIndex(e)===this.OriginalSequence.getElementAtIndex(t)},l.prototype.ModifiedElementsAreEqual=function(e,t){return this.ModifiedSequence.getElementAtIndex(e)===this.ModifiedSequence.getElementAtIndex(t)},l.prototype.ComputeDiff=function(e){return this._ComputeDiff(0,this.OriginalSequence.getLength()-1,0,this.ModifiedSequence.getLength()-1,e)},l.prototype._ComputeDiff=function(e,t,n,o,i){var r=this.ComputeDiffRecursive(e,t,n,o,[!1]);return i?this.PrettifyChanges(r):r},l.prototype.ComputeDiffRecursive=function(e,t,n,o,i){for(i[0]=!1;e<=t&&n<=o&&this.ElementsAreEqual(e,n);)e++,n++;for(;e<=t&&n<=o&&this.ElementsAreEqual(t,o);)t--,o--;if(t<e||o<n)return n<=o?(h.Assert(e===t+1,"originalStart should only be one more than originalEnd"),[new I.a(e,0,n,o-n+1)]):e<=t?(h.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),[new I.a(e,t-e+1,n,0)]):(h.Assert(e===t+1,"originalStart should only be one more than originalEnd"),h.Assert(n===o+1,"modifiedStart should only be one more than modifiedEnd"),[]);var r=[0],a=[0],s=this.ComputeRecursionPoint(e,t,n,o,r,a,i),l=r[0],u=a[0];if(null!==s)return s;if(i[0])return[new I.a(e,t-e+1,n,o-n+1)];var c=this.ComputeDiffRecursive(e,l,n,u,i),d=[];return d=i[0]?[new I.a(l+1,t-(l+1)+1,u+1,o-(u+1)+1)]:this.ComputeDiffRecursive(l+1,t,u+1,o,i),this.ConcatenateChanges(c,d)},l.prototype.WALKTRACE=function(e,t,n,o,i,r,a,s,l,u,c,d,h,p,f,g,m,b){for(var v,y,C=null,A=new O,_=t,w=n,x=h[0]-g[0]-o,S=Number.MIN_VALUE,L=this.m_forwardHistory.length-1;x=(y=x+e)===_||y<w&&l[y-1]<l[y+1]?(p=(c=l[y+1])-x-o,c<S&&A.MarkNextChange(),S=c,A.AddModifiedElement(c+1,p),y+1-e):(p=(c=l[y-1]+1)-x-o,c<S&&A.MarkNextChange(),S=c-1,A.AddOriginalElement(c,p+1),y-1-e),0<=L&&(e=(l=this.m_forwardHistory[L])[0],_=1,w=l.length-1),-1<=--L;);if(v=A.getReverseChanges(),b[0]){var D=h[0]+1,k=g[0]+1;if(null!==v&&0<v.length){var N=v[v.length-1];D=Math.max(D,N.getOriginalEnd()),k=Math.max(k,N.getModifiedEnd())}C=[new I.a(D,d-D+1,k,f-k+1)]}else{for(A=new O,_=r,w=a,x=h[0]-g[0]-s,S=Number.MAX_VALUE,L=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;x=(y=x+i)===_||y<w&&u[y-1]>=u[y+1]?(p=(c=u[y+1]-1)-x-s,S<c&&A.MarkNextChange(),S=c+1,A.AddOriginalElement(c+1,p+1),y+1-i):(p=(c=u[y-1])-x-s,S<c&&A.MarkNextChange(),S=c,A.AddModifiedElement(c+1,p+1),y-1-i),0<=L&&(i=(u=this.m_reverseHistory[L])[0],_=1,w=u.length-1),-1<=--L;);C=A.getChanges()}return this.ConcatenateChanges(v,C)},l.prototype.ComputeRecursionPoint=function(e,t,n,o,i,r,a){var s,l=0,u=0,c=0,d=0,h=0,p=0;e--,n--,r[i[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var f,g,m=t-e+(o-n),b=1+m,v=new Array(b),y=new Array(b),C=o-n,A=t-e,_=e-n,w=t-o,x=(A-C)%2==0;for(v[C]=e,y[A]=t,a[0]=!1,s=1;s<=m/2+1;s++){var S=0,L=0;for(c=this.ClipDiagonalBound(C-s,s,C,b),d=this.ClipDiagonalBound(C+s,s,C,b),f=c;f<=d;f+=2){for(u=(l=f===c||f<d&&v[f-1]<v[f+1]?v[f+1]:v[f-1]+1)-(f-C)-_,g=l;l<t&&u<o&&this.ElementsAreEqual(l+1,u+1);)l++,u++;if(S+L<(v[f]=l)+u&&(S=l,L=u),!x&&Math.abs(f-A)<=s-1&&l>=y[f])return i[0]=l,r[0]=u,g<=y[f]&&s<=1448?this.WALKTRACE(C,c,d,_,A,h,p,w,v,y,l,t,i,u,o,r,x,a):null}var D=(S-e+(L-n)-s)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,this.OriginalSequence,D))return a[0]=!0,i[0]=S,r[0]=L,0<D&&s<=1448?this.WALKTRACE(C,c,d,_,A,h,p,w,v,y,l,t,i,u,o,r,x,a):(e++,n++,[new I.a(e,t-e+1,n,o-n+1)]);for(h=this.ClipDiagonalBound(A-s,s,A,b),p=this.ClipDiagonalBound(A+s,s,A,b),f=h;f<=p;f+=2){for(u=(l=f===h||f<p&&y[f-1]>=y[f+1]?y[f+1]-1:y[f-1])-(f-A)-w,g=l;e<l&&n<u&&this.ElementsAreEqual(l,u);)l--,u--;if(y[f]=l,x&&Math.abs(f-C)<=s&&l<=v[f])return i[0]=l,r[0]=u,g>=v[f]&&s<=1448?this.WALKTRACE(C,c,d,_,A,h,p,w,v,y,l,t,i,u,o,r,x,a):null}if(s<=1447){var k=new Array(d-c+2);k[0]=C-c+1,N.Copy(v,c,k,1,d-c+1),this.m_forwardHistory.push(k),(k=new Array(p-h+2))[0]=A-h+1,N.Copy(y,h,k,1,p-h+1),this.m_reverseHistory.push(k)}}return this.WALKTRACE(C,c,d,_,A,h,p,w,v,y,l,t,i,u,o,r,x,a)},l.prototype.PrettifyChanges=function(e){for(var t=0;t<e.length;t++){for(var n=e[t],o=t<e.length-1?e[t+1].originalStart:this.OriginalSequence.getLength(),i=t<e.length-1?e[t+1].modifiedStart:this.ModifiedSequence.getLength(),r=0<n.originalLength,a=0<n.modifiedLength;n.originalStart+n.originalLength<o&&n.modifiedStart+n.modifiedLength<i&&(!r||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;0<=t;t--){if(n=e[t],(i=o=0)<t){var l=e[t-1];0<l.originalLength&&(o=l.originalStart+l.originalLength),0<l.modifiedLength&&(i=l.modifiedStart+l.modifiedLength)}r=0<n.originalLength,a=0<n.modifiedLength;for(var u=0,c=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength),d=1;;d++){var h=n.originalStart-d,p=n.modifiedStart-d;if(h<o||p<i)break;if(r&&!this.OriginalElementsAreEqual(h,h+n.originalLength))break;if(a&&!this.ModifiedElementsAreEqual(p,p+n.modifiedLength))break;var f=this._boundaryScore(h,n.originalLength,p,n.modifiedLength);c<f&&(c=f,u=d)}n.originalStart-=u,n.modifiedStart-=u}return e},l.prototype._OriginalIsBoundary=function(e){if(e<=0||e>=this.OriginalSequence.getLength()-1)return!0;var t=this.OriginalSequence.getElementAtIndex(e);return"string"==typeof t&&/^\s*$/.test(t)},l.prototype._OriginalRegionIsBoundary=function(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(0<t){var n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1},l.prototype._ModifiedIsBoundary=function(e){if(e<=0||e>=this.ModifiedSequence.getLength()-1)return!0;var t=this.ModifiedSequence.getElementAtIndex(e);return"string"==typeof t&&/^\s*$/.test(t)},l.prototype._ModifiedRegionIsBoundary=function(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(0<t){var n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1},l.prototype._boundaryScore=function(e,t,n,o){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,o)?1:0)},l.prototype.ConcatenateChanges=function(e,t){var n=[];if(0===e.length||0===t.length)return 0<t.length?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){var o=new Array(e.length+t.length-1);return N.Copy(e,0,o,0,e.length-1),o[e.length-1]=n[0],N.Copy(t,1,o,e.length,t.length-1),o}return o=new Array(e.length+t.length),N.Copy(e,0,o,0,e.length),N.Copy(t,0,o,e.length,t.length),o},l.prototype.ChangesOverlap=function(e,t,n){if(h.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),h.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 o=e.originalStart,i=e.originalLength,r=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 I.a(o,i,r,a),!0}return n[0]=null,!1},l.prototype.ClipDiagonalBound=function(e,t,n,o){if(0<=e&&e<o)return e;var i=t%2==0;return e<0?i==(n%2==0)?0:1:i==((o-n-1)%2==0)?o-1:o-2},l);function l(e,t,n){void 0===n&&(n=null),this.OriginalSequence=e,this.ModifiedSequence=t,this.ContinueProcessingPredicate=n,this.m_forwardHistory=[],this.m_reverseHistory=[]}},2067:function(e,t,n){"use strict";n.d(t,"a",function(){return y}),t.b=function(e,t,n,o){return new y(e,t,n,o)};var o=n(1666),s=n(1251),i=n(1494),B=n(2068),r=(a.create=function(e,t){return this._INSTANCE.create(e,t)},a.prototype.create=function(e,t){if(null!==e&&e.depth>=this._maxCacheDepth)return new l(e,t);var n=l.getStackElementId(e);0<n.length&&(n+="|"),n+=t;var o=this._entries[n];return o||(o=new l(e,t),this._entries[n]=o)},a._INSTANCE=new a(5),a);function a(e){this._maxCacheDepth=e,this._entries=Object.create(null)}var l=(u.getStackElementId=function(e){for(var t="";null!==e;)0<t.length&&(t+="|"),t+=e.state,e=e.parent;return t},u._equals=function(e,t){for(;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},u.prototype.equals=function(e){return u._equals(this,e)},u.prototype.push=function(e){return r.create(this,e)},u.prototype.pop=function(){return this.parent},u.prototype.popall=function(){for(var e=this;e.parent;)e=e.parent;return e},u.prototype.switchTo=function(e){return r.create(this.parent,e)},u);function u(e,t){this.parent=e,this.state=t,this.depth=(this.parent?this.parent.depth:0)+1}var c=(d.prototype.equals=function(e){return this.modeId===e.modeId&&this.state.equals(e.state)},d.prototype.clone=function(){return this.state.clone()===this.state?this:new d(this.modeId,this.state)},d);function d(e,t){this.modeId=e,this.state=t}var T=(h.create=function(e,t){return this._INSTANCE.create(e,t)},h.prototype.create=function(e,t){if(null!==t)return new p(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new p(e,t);var n=l.getStackElementId(e),o=this._entries[n];return o||(o=new p(e,null),this._entries[n]=o)},h._INSTANCE=new h(5),h);function h(e){this._maxCacheDepth=e,this._entries=Object.create(null)}var p=(f.prototype.clone=function(){return(this.embeddedModeData?this.embeddedModeData.clone():null)===this.embeddedModeData?this:T.create(this.stack,this.embeddedModeData)},f.prototype.equals=function(e){return e instanceof f&&!!this.stack.equals(e.stack)&&(null===this.embeddedModeData&&null===e.embeddedModeData||null!==this.embeddedModeData&&null!==e.embeddedModeData&&this.embeddedModeData.equals(e.embeddedModeData))},f);function f(e,t){this.stack=e,this.embeddedModeData=t}var P=Object.hasOwnProperty,g=(m.prototype.enterMode=function(e,t){this._language=t},m.prototype.emit=function(e,t){this._lastTokenType===t&&this._lastTokenLanguage===this._language||(this._lastTokenType=t,this._lastTokenLanguage=this._language,this._tokens.push(new o.a(e,t,this._language)))},m.prototype.nestedModeTokenize=function(e,t,n){var o=t.modeId,i=t.state,r=s.v.get(o);if(!r)return this.enterMode(n,o),this.emit(n,""),i;var a=r.tokenize(e,i,n);return this._tokens=this._tokens.concat(a.tokens),this._lastTokenType=null,this._lastTokenLanguage=null,this._language=null,a.endState},m.prototype.finalize=function(e){return new o.b(this._tokens,e)},m);function m(){this._tokens=[],this._language=null,this._lastTokenType=null,this._lastTokenLanguage=null}var b=(v.prototype.enterMode=function(e,t){this._currentLanguageId=this._modeService.getLanguageIdentifier(t).id},v.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))},v._merge=function(e,t,n){var o=null!==e?e.length:0,i=t.length,r=null!==n?n.length:0;if(0===o&&0===i&&0===r)return new Uint32Array(0);if(0===o&&0===i)return n;if(0===i&&0===r)return e;var a=new Uint32Array(o+i+r);null!==e&&a.set(e);for(var s=0;s<i;s++)a[o+s]=t[s];return null!==n&&a.set(n,o+i),a},v.prototype.nestedModeTokenize=function(e,t,n){var o=t.modeId,i=t.state,r=s.v.get(o);if(!r)return this.enterMode(n,o),this.emit(n,""),i;var a=r.tokenize2(e,i,n);return this._prependTokens=v._merge(this._prependTokens,this._tokens,a.tokens),this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0,a.endState},v.prototype.finalize=function(e){return new o.c(v._merge(this._prependTokens,this._tokens,null),e)},v);function v(e,t){this._modeService=e,this._theme=t,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}var y=(C.prototype.dispose=function(){this._tokenizationRegistryListener.dispose()},C.prototype.getLoadStatus=function(){var e=[];for(var t in this._embeddedModes){var n=s.v.get(t);if(n){if(n instanceof C){var o=n.getLoadStatus();!1===o.loaded&&e.push(o.promise)}}else{var i=s.v.getPromise(t);i&&e.push(i)}}return 0===e.length?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(function(e){})}},C.prototype.getInitialState=function(){var e=r.create(null,this._lexer.start);return T.create(e,null)},C.prototype.tokenize=function(e,t,n){var o=new g,i=this._tokenize(e,t,n,o);return o.finalize(i)},C.prototype.tokenize2=function(e,t,n){var o=new b(this._modeService,this._standaloneThemeService.getTheme().tokenTheme),i=this._tokenize(e,t,n,o);return o.finalize(i)},C.prototype._tokenize=function(e,t,n,o){return t.embeddedModeData?this._nestedTokenize(e,t,n,o):this._myTokenize(e,t,n,o)},C.prototype._findLeavingNestedModeOffset=function(e,t){var n=this._lexer.tokenizer[t.stack.state];if(!n&&!(n=B.c(this._lexer,t.stack.state)))throw B.a(this._lexer,"tokenizer state is not defined: "+t.stack.state);var o=-1,i=!1;for(var r in n)if(P.call(n,r)){var a=n[r];if(B.f(a.action)&&"@pop"===a.action.nextEmbedded){i=!0;var s=a.regex,l=a.regex.source;"^(?:"===l.substr(0,4)&&")"===l.substr(l.length-1,1)&&(s=new RegExp(l.substr(4,l.length-5),s.ignoreCase?"i":""));var u=e.search(s);-1!==u&&(-1===o||u<o)&&(o=u)}}if(!i)throw B.a(this._lexer,'no rule containing nextEmbedded: "@pop" in tokenizer embedded state: '+t.stack.state);return o},C.prototype._nestedTokenize=function(e,t,n,o){var i=this._findLeavingNestedModeOffset(e,t);if(-1===i){var r=o.nestedModeTokenize(e,t.embeddedModeData,n);return T.create(t.stack,new c(t.embeddedModeData.modeId,r))}var a=e.substring(0,i);0<a.length&&o.nestedModeTokenize(a,t.embeddedModeData,n);var s=e.substring(i);return this._myTokenize(s,t,n+i,o)},C.prototype._safeRuleName=function(e){return e?e.name:"(unknown)"},C.prototype._myTokenize=function(e,t,n,o){o.enterMode(n,this._modeId);for(var i=e.length,r=t.embeddedModeData,a=t.stack,s=0,l=null,u=!0;u||s<i;){var c=s,d=a.depth,h=l?l.groups.length:0,p=a.state,f=null,g=null,m=null,b=null,v=null;if(l){f=l.matches;var y=l.groups.shift();g=y.matched,m=y.action,b=l.rule,0===l.groups.length&&(l=null)}else{if(!u&&i<=s)break;u=!1;var C=this._lexer.tokenizer[p];if(!C&&!(C=B.c(this._lexer,p)))throw B.a(this._lexer,"tokenizer state is not defined: "+p);var A=e.substr(s);for(var _ in C)if(P.call(C,_)){var w=C[_];if((0===s||!w.matchOnlyAtLineStart)&&(f=A.match(w.regex))){g=f[0],m=w.action;break}}}if(f||(f=[""],g=""),m||(s<i&&(g=(f=[e.charAt(s)])[0]),m=this._lexer.defaultToken),null===g)break;for(s+=g.length;B.e(m)&&B.f(m)&&m.test;)m=m.test(g,f,p,s===i);var x=null;if("string"==typeof m||Array.isArray(m))x=m;else if(m.group)x=m.group;else if(null!==m.token&&void 0!==m.token){if(x=m.tokenSubst?B.k(this._lexer,m.token,g,f,p):m.token,m.nextEmbedded)if("@pop"===m.nextEmbedded){if(!r)throw B.a(this._lexer,"cannot pop embedded mode if not inside one");r=null}else{if(r)throw B.a(this._lexer,"cannot enter embedded mode from within an embedded mode");v=B.k(this._lexer,m.nextEmbedded,g,f,p)}if(m.goBack&&(s=Math.max(0,s-m.goBack)),m.switchTo&&"string"==typeof m.switchTo){if("@"===(S=B.k(this._lexer,m.switchTo,g,f,p))[0]&&(S=S.substr(1)),!B.c(this._lexer,S))throw B.a(this._lexer,"trying to switch to a state '"+S+"' that is undefined in rule: "+this._safeRuleName(b));a=a.switchTo(S)}else{if(m.transform&&"function"==typeof m.transform)throw B.a(this._lexer,"action.transform not supported");if(m.next)if("@push"===m.next){if(a.depth>=this._lexer.maxStack)throw B.a(this._lexer,"maximum tokenizer stack size reached: ["+a.state+","+a.parent.state+",...]");a=a.push(p)}else if("@pop"===m.next){if(a.depth<=1)throw B.a(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(b));a=a.pop()}else if("@popall"===m.next)a=a.popall();else{var S;if("@"===(S=B.k(this._lexer,m.next,g,f,p))[0]&&(S=S.substr(1)),!B.c(this._lexer,S))throw B.a(this._lexer,"trying to set a next state '"+S+"' that is undefined in rule: "+this._safeRuleName(b));a=a.push(S)}}m.log&&"string"==typeof m.log&&B.h(this._lexer,this._lexer.languageId+": "+B.k(this._lexer,m.log,g,f,p))}if(null===x)throw B.a(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(b));if(Array.isArray(x)){if(l&&0<l.groups.length)throw B.a(this._lexer,"groups cannot be nested: "+this._safeRuleName(b));if(f.length!==x.length+1)throw B.a(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(b));for(var L=0,D=1;D<f.length;D++)L+=f[D].length;if(L!==g.length)throw B.a(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(b));for(l={rule:b,matches:f,groups:[]},D=0;D<x.length;D++)l.groups[D]={action:x[D],matched:f[D+1]};s-=g.length}else{if("@rematch"===x&&(s-=g.length,f=null,x=g=""),0===g.length){if(0===i||d!==a.depth||p!==a.state||(l?l.groups.length:0)!==h)continue;throw B.a(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(b))}var k=null;if(B.g(x)&&0===x.indexOf("@brackets")){var N=x.substr("@brackets".length),I=j(this._lexer,g);if(!I)throw B.a(this._lexer,"@brackets token returned but no bracket defined as: "+g);k=B.i(I.token+N)}else{var O=""===x?"":x+this._lexer.tokenPostfix;k=B.i(O)}if(o.emit(c+n,k),null!==v){var E=this._modeService.getModeIdForLanguageName(v);E&&(v=E);var M=this._getNestedEmbeddedModeData(v);return s<i?(A=e.substr(s),this._nestedTokenize(A,T.create(a,M),n+s,o)):T.create(a,M)}}}return T.create(a,r)},C.prototype._getNestedEmbeddedModeData=function(e){var t=this._locateMode(e);if(t){var n=s.v.get(t);if(n)return new c(t,n.getInitialState())}return new c(t||i.b,i.c)},C.prototype._locateMode=function(e){if(!e||!this._modeService.isRegisteredMode(e))return null;var t=this._modeService.getModeId(e);return t&&(this._modeService.triggerMode(t),this._embeddedModes[t]=!0),t},C);function C(e,t,n,o){var r=this;this._modeService=e,this._standaloneThemeService=t,this._modeId=n,this._lexer=o,this._embeddedModes=Object.create(null),this.embeddedLoaded=Promise.resolve(void 0);var a=!1;this._tokenizationRegistryListener=s.v.onDidChange(function(e){if(!a){for(var t=!1,n=0,o=e.changedLanguages.length;n<o;n++){var i=e.changedLanguages[n];if(r._embeddedModes[i]){t=!0;break}}t&&(a=!0,s.v.fire([r._modeId]),a=!1)}})}function j(e,t){if(!t)return null;t=B.d(e,t);for(var n=0,o=e.brackets;n<o.length;n++){var i=o[n];if(i.open===t)return{token:i.token,bracketType:1};if(i.close===t)return{token:i.token,bracketType:-1}}return null}},2068:function(e,t,n){"use strict";function o(e){return"string"==typeof e}function f(e){return!e}function g(e,t){return e.ignoreCase&&t?t.toLowerCase():t}t.e=function(e){return!function(e){return Array.isArray(e)}(e)},t.g=o,t.f=function(e){return!o(e)},t.b=f,t.d=g,t.i=function(e){return e.replace(/[&<>'"_]/g,"-")},t.h=function(e,t){console.log(e.languageId+": "+t)},t.a=function(e,t){return new Error(e.languageId+": "+t)},t.k=function(u,e,c,d,h){var p=null;return e.replace(/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g,function(e,t,n,o,i,r,a,s,l){return f(n)?f(o)?!f(i)&&i<d.length?g(u,d[i]):!f(a)&&u&&"string"==typeof u[a]?u[a]:(null===p&&(p=h.split(".")).unshift(h),!f(r)&&r<p.length?g(u,p[r]):""):g(u,c):"$"})},t.c=function(e,t){var n=t;for(;n&&0<n.length;){var o=e.tokenizer[n];if(o)return o;var i=n.lastIndexOf(".");n=i<0?null:n.substr(0,i)}return null},t.j=function(e,t){var n=t;for(;n&&0<n.length;){if(e.stateNames[n])return!0;var o=n.lastIndexOf(".");n=o<0?null:n.substr(0,o)}return!1}},2069:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),t.c=function(e){return D()["editor."+e]||!1},t.b=function(e){return D()["diffEditor."+e]||!1};var o,i=n(1215),r=n(966),a=n(868),s=n(1423),l=n(1134),u=n(1422),c=n(1774),d=n(1773),h=n(1586),p=n(1317),f=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=u.a,m=u.b,b=u.c,v=(y.prototype.getTabFocusMode=function(){return this._tabFocus},y.prototype.setTabFocusMode=function(e){this._tabFocus!==e&&(this._tabFocus=e,this._onDidChangeTabFocus.fire(this._tabFocus))},new y);function y(){this._tabFocus=!1,this._onDidChangeTabFocus=new r.a,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}var C,A=Object.hasOwnProperty,_=(C=a.a,f(w,C),w.prototype.observeReferenceElement=function(e){},w.prototype.dispose=function(){C.prototype.dispose.call(this)},w.prototype._recomputeOptions=function(){var e=this.editor,t=this._computeInternalOptions();e&&e.equals(t)||(this.editor=t,e&&this._onDidChange.fire(e.createChangeEvent(t)))},w.prototype.getRawOptions=function(){return this._rawOptions},w.prototype._computeInternalOptions=function(){var e=this._validatedOptions,t=this._getEnvConfiguration(),n=d.a.createFromRawSettings(this._rawOptions,t.zoomLevel),o={outerWidth:t.outerWidth,outerHeight:t.outerHeight,fontInfo:this.readConfiguration(n),extraEditorClassName:t.extraEditorClassName,isDominatedByLongLines:this._isDominatedByLongLines,lineNumbersDigitCount:this._lineNumbersDigitCount,emptySelectionClipboard:t.emptySelectionClipboard,pixelRatio:t.pixelRatio,tabFocusMode:v.getTabFocusMode(),accessibilitySupport:t.accessibilitySupport};return u.f.createInternalEditorOptions(o,e)},w._primitiveArrayEquals=function(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},w._subsetEquals=function(e,t){for(var n in t)if(A.call(t,n)){var o=t[n],i=e[n];if(i===o)continue;if(Array.isArray(i)&&Array.isArray(o)){if(!this._primitiveArrayEquals(i,o))return!1;continue}if("object"!=typeof i||"object"!=typeof o)return!1;if(!this._subsetEquals(i,o))return!1}return!0},w.prototype.updateOptions=function(e){void 0!==e&&(w._subsetEquals(this._rawOptions,e)||(this._rawOptions=s.f(this._rawOptions,e||{}),this._validatedOptions=u.d.validate(this._rawOptions,g),this._recomputeOptions()))},w.prototype.setIsDominatedByLongLines=function(e){this._isDominatedByLongLines=e,this._recomputeOptions()},w.prototype.setMaxLineNumber=function(e){var t=w._digitCount(e);this._lineNumbersDigitCount!==t&&(this._lineNumbersDigitCount=t,this._recomputeOptions())},w._digitCount=function(e){for(var t=0;e;)e=Math.floor(e/10),t++;return t||1},w);function w(e){var t=C.call(this)||this;return t._onDidChange=t._register(new r.a),t.onDidChange=t._onDidChange.event,t._rawOptions=s.f({},e||{}),t._rawOptions.scrollbar=s.f({},t._rawOptions.scrollbar||{}),t._rawOptions.minimap=s.f({},t._rawOptions.minimap||{}),t._rawOptions.find=s.f({},t._rawOptions.find||{}),t._rawOptions.hover=s.f({},t._rawOptions.hover||{}),t._rawOptions.parameterHints=s.f({},t._rawOptions.parameterHints||{}),t._validatedOptions=u.d.validate(t._rawOptions,g),t._isDominatedByLongLines=!1,t._lineNumbersDigitCount=1,t._register(c.a.onDidChangeZoomLevel(function(e){return t._recomputeOptions()})),t._register(v.onDidChangeTabFocus(function(e){return t._recomputeOptions()})),t}var x=p.a.as(h.a.Configuration),S={id:"editor",order:5,type:"object",title:i.a("editorConfigurationTitle","Editor"),overridable:!0,scope:3,properties:{"editor.fontFamily":{type:"string",default:m.fontFamily,description:i.a("fontFamily","Controls the font family.")},"editor.fontWeight":{type:"string",enum:["normal","bold","100","200","300","400","500","600","700","800","900"],default:m.fontWeight,description:i.a("fontWeight","Controls the font weight.")},"editor.fontSize":{type:"number",default:m.fontSize,description:i.a("fontSize","Controls the font size in pixels.")},"editor.lineHeight":{type:"number",default:m.lineHeight,description:i.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")},"editor.letterSpacing":{type:"number",default:m.letterSpacing,description:i.a("letterSpacing","Controls the letter spacing in pixels.")},"editor.lineNumbers":{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[i.a("lineNumbers.off","Line numbers are not rendered."),i.a("lineNumbers.on","Line numbers are rendered as absolute number."),i.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),i.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:i.a("lineNumbers","Controls the display of line numbers.")},"editor.renderFinalNewline":{type:"boolean",default:g.viewInfo.renderFinalNewline,description:i.a("renderFinalNewline","Render last line number when the file ends with a newline.")},"editor.rulers":{type:"array",items:{type:"number"},default:g.viewInfo.rulers,description:i.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.")},"editor.wordSeparators":{type:"string",default:g.wordSeparators,description:i.a("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")},"editor.tabSize":{type:"number",default:b.tabSize,minimum:1,markdownDescription:i.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:b.insertSpaces,markdownDescription:i.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:b.detectIndentation,markdownDescription:i.a("detectIndentation","Controls whether `#editor.tabSize#` and `#editor.insertSpaces#` will be automatically detected when a file is opened based on the file contents.")},"editor.roundedSelection":{type:"boolean",default:g.viewInfo.roundedSelection,description:i.a("roundedSelection","Controls whether selections should have rounded corners.")},"editor.scrollBeyondLastLine":{type:"boolean",default:g.viewInfo.scrollBeyondLastLine,description:i.a("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")},"editor.scrollBeyondLastColumn":{type:"number",default:g.viewInfo.scrollBeyondLastColumn,description:i.a("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")},"editor.smoothScrolling":{type:"boolean",default:g.viewInfo.smoothScrolling,description:i.a("smoothScrolling","Controls whether the editor will scroll using an animation.")},"editor.minimap.enabled":{type:"boolean",default:g.viewInfo.minimap.enabled,description:i.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:g.viewInfo.minimap.side,description:i.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:g.viewInfo.minimap.showSlider,description:i.a("minimap.showSlider","Controls whether the minimap slider is automatically hidden.")},"editor.minimap.renderCharacters":{type:"boolean",default:g.viewInfo.minimap.renderCharacters,description:i.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:g.viewInfo.minimap.maxColumn,description:i.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")},"editor.hover.enabled":{type:"boolean",default:g.contribInfo.hover.enabled,description:i.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:g.contribInfo.hover.delay,description:i.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:g.contribInfo.hover.sticky,description:i.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.find.seedSearchStringFromSelection":{type:"boolean",default:g.contribInfo.find.seedSearchStringFromSelection,description:i.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"boolean",default:g.contribInfo.find.autoFindInSelection,description:i.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:g.contribInfo.find.globalFindClipboard,description:i.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:l.d},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:!0,description:i.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.")},"editor.wordWrap":{type:"string",enum:["off","on","wordWrapColumn","bounded"],markdownEnumDescriptions:[i.a("wordWrap.off","Lines will never wrap."),i.a("wordWrap.on","Lines will wrap at the viewport width."),i.a({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),i.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#`.")],default:g.wordWrap,description:i.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.")},"editor.wordWrapColumn":{type:"integer",default:g.wordWrapColumn,minimum:1,markdownDescription:i.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`.")},"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[i.a("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),i.a("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),i.a("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),i.a("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],default:"same",description:i.a("wrappingIndent","Controls the indentation of wrapped lines.")},"editor.mouseWheelScrollSensitivity":{type:"number",default:g.viewInfo.scrollbar.mouseWheelScrollSensitivity,markdownDescription:i.a("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},"editor.fastScrollSensitivity":{type:"number",default:g.viewInfo.scrollbar.fastScrollSensitivity,markdownDescription:i.a("fastScrollSensitivity","Scrolling speed mulitiplier when pressing `Alt`.")},"editor.multiCursorModifier":{type:"string",enum:["ctrlCmd","alt"],markdownEnumDescriptions:[i.a("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),i.a("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"alt",markdownDescription:i.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).")},"editor.multiCursorMergeOverlapping":{type:"boolean",default:g.multiCursorMergeOverlapping,description:i.a("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")},"editor.quickSuggestions":{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:!1,description:i.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:!1,description:i.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:!0,description:i.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:g.contribInfo.quickSuggestions,description:i.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")},"editor.quickSuggestionsDelay":{type:"integer",default:g.contribInfo.quickSuggestionsDelay,minimum:0,description:i.a("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")},"editor.parameterHints.enabled":{type:"boolean",default:g.contribInfo.parameterHints.enabled,description:i.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:g.contribInfo.parameterHints.cycle,description:i.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")},"editor.autoClosingBrackets":{type:"string",enum:["always","languageDefined","beforeWhitespace","never"],enumDescriptions:["",i.a("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),i.a("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],default:g.autoClosingBrackets,description:i.a("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")},"editor.autoClosingQuotes":{type:"string",enum:["always","languageDefined","beforeWhitespace","never"],enumDescriptions:["",i.a("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),i.a("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],default:g.autoClosingQuotes,description:i.a("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")},"editor.autoSurround":{type:"string",enum:["languageDefined","brackets","quotes","never"],enumDescriptions:[i.a("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),i.a("editor.autoSurround.brackets","Surround with brackets but not quotes."),i.a("editor.autoSurround.quotes","Surround with quotes but not brackets."),""],default:g.autoSurround,description:i.a("autoSurround","Controls whether the editor should automatically surround selections.")},"editor.formatOnType":{type:"boolean",default:g.contribInfo.formatOnType,description:i.a("formatOnType","Controls whether the editor should automatically format the line after typing.")},"editor.formatOnPaste":{type:"boolean",default:g.contribInfo.formatOnPaste,description:i.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.")},"editor.autoIndent":{type:"boolean",default:g.autoIndent,description:i.a("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste or move lines. Extensions with indentation rules of the language must be available.")},"editor.suggestOnTriggerCharacters":{type:"boolean",default:g.contribInfo.suggestOnTriggerCharacters,description:i.a("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")},"editor.acceptSuggestionOnEnter":{type:"string",enum:["on","smart","off"],default:g.contribInfo.acceptSuggestionOnEnter,markdownEnumDescriptions:["",i.a("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:i.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.")},"editor.acceptSuggestionOnCommitCharacter":{type:"boolean",default:g.contribInfo.acceptSuggestionOnCommitCharacter,markdownDescription:i.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.")},"editor.snippetSuggestions":{type:"string",enum:["top","bottom","inline","none"],enumDescriptions:[i.a("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),i.a("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),i.a("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),i.a("snippetSuggestions.none","Do not show snippet suggestions.")],default:g.contribInfo.suggest.snippets,description:i.a("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")},"editor.emptySelectionClipboard":{type:"boolean",default:g.emptySelectionClipboard,description:i.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")},"editor.copyWithSyntaxHighlighting":{type:"boolean",default:g.copyWithSyntaxHighlighting,description:i.a("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")},"editor.wordBasedSuggestions":{type:"boolean",default:g.contribInfo.wordBasedSuggestions,description:i.a("wordBasedSuggestions","Controls whether completions should be computed based on words in the document.")},"editor.suggestSelection":{type:"string",enum:["first","recentlyUsed","recentlyUsedByPrefix"],markdownEnumDescriptions:[i.a("suggestSelection.first","Always select the first suggestion."),i.a("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),i.a("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],default:"recentlyUsed",description:i.a("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")},"editor.suggestFontSize":{type:"integer",default:0,minimum:0,markdownDescription:i.a("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")},"editor.suggestLineHeight":{type:"integer",default:0,minimum:0,markdownDescription:i.a("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used.")},"editor.tabCompletion":{type:"string",default:"off",enum:["on","off","onlySnippets"],enumDescriptions:[i.a("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),i.a("tabCompletion.off","Disable tab completions."),i.a("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:i.a("tabCompletion","Enables tab completions.")},"editor.suggest.filterGraceful":{type:"boolean",default:!0,description:i.a("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:!1,description:i.a("suggest.localityBonus","Controls whether sorting favours words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:!1,markdownDescription:i.a("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:!0,description:i.a("suggest.snippetsPreventQuickSuggestions","Control whether an active snippet prevents quick suggestions.")},"editor.selectionHighlight":{type:"boolean",default:g.contribInfo.selectionHighlight,description:i.a("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")},"editor.occurrencesHighlight":{type:"boolean",default:g.contribInfo.occurrencesHighlight,description:i.a("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")},"editor.overviewRulerLanes":{type:"integer",default:3,description:i.a("overviewRulerLanes","Controls the number of decorations that can show up at the same position in the overview ruler.")},"editor.overviewRulerBorder":{type:"boolean",default:g.viewInfo.overviewRulerBorder,description:i.a("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")},"editor.cursorBlinking":{type:"string",enum:["blink","smooth","phase","expand","solid"],default:u.h(g.viewInfo.cursorBlinking),description:i.a("cursorBlinking","Control the cursor animation style.")},"editor.mouseWheelZoom":{type:"boolean",default:g.viewInfo.mouseWheelZoom,markdownDescription:i.a("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")},"editor.cursorSmoothCaretAnimation":{type:"boolean",default:g.viewInfo.cursorSmoothCaretAnimation,description:i.a("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")},"editor.cursorStyle":{type:"string",enum:["block","block-outline","line","line-thin","underline","underline-thin"],default:u.i(g.viewInfo.cursorStyle),description:i.a("cursorStyle","Controls the cursor style.")},"editor.cursorWidth":{type:"integer",default:g.viewInfo.cursorWidth,markdownDescription:i.a("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")},"editor.fontLigatures":{type:"boolean",default:g.viewInfo.fontLigatures,description:i.a("fontLigatures","Enables/Disables font ligatures.")},"editor.hideCursorInOverviewRuler":{type:"boolean",default:g.viewInfo.hideCursorInOverviewRuler,description:i.a("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")},"editor.renderWhitespace":{type:"string",enum:["none","boundary","all"],enumDescriptions:["",i.a("renderWhiteSpace.boundary","Render whitespace characters except for single spaces between words."),""],default:g.viewInfo.renderWhitespace,description:i.a("renderWhitespace","Controls how the editor should render whitespace characters.")},"editor.renderControlCharacters":{type:"boolean",default:g.viewInfo.renderControlCharacters,description:i.a("renderControlCharacters","Controls whether the editor should render control characters.")},"editor.renderIndentGuides":{type:"boolean",default:g.viewInfo.renderIndentGuides,description:i.a("renderIndentGuides","Controls whether the editor should render indent guides.")},"editor.highlightActiveIndentGuide":{type:"boolean",default:g.viewInfo.highlightActiveIndentGuide,description:i.a("highlightActiveIndentGuide","Controls whether the editor should highlight the active indent guide.")},"editor.renderLineHighlight":{type:"string",enum:["none","gutter","line","all"],enumDescriptions:["","","",i.a("renderLineHighlight.all","Highlights both the gutter and the current line.")],default:g.viewInfo.renderLineHighlight,description:i.a("renderLineHighlight","Controls how the editor should render the current line highlight.")},"editor.codeLens":{type:"boolean",default:g.contribInfo.codeLens,description:i.a("codeLens","Controls whether the editor shows CodeLens.")},"editor.folding":{type:"boolean",default:g.contribInfo.folding,description:i.a("folding","Controls whether the editor has code folding enabled.")},"editor.foldingStrategy":{type:"string",enum:["auto","indentation"],default:g.contribInfo.foldingStrategy,markdownDescription:i.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.")},"editor.showFoldingControls":{type:"string",enum:["always","mouseover"],default:g.contribInfo.showFoldingControls,description:i.a("showFoldingControls","Controls whether the fold controls on the gutter are automatically hidden.")},"editor.matchBrackets":{type:"boolean",default:g.contribInfo.matchBrackets,description:i.a("matchBrackets","Highlight matching brackets when one of them is selected.")},"editor.glyphMargin":{type:"boolean",default:g.viewInfo.glyphMargin,description:i.a("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")},"editor.useTabStops":{type:"boolean",default:g.useTabStops,description:i.a("useTabStops","Inserting and deleting whitespace follows tab stops.")},"editor.trimAutoWhitespace":{type:"boolean",default:b.trimAutoWhitespace,description:i.a("trimAutoWhitespace","Remove trailing auto inserted whitespace.")},"editor.stablePeek":{type:"boolean",default:!1,markdownDescription:i.a("stablePeek","Keep peek editors open even when double clicking their content or when hitting `Escape`.")},"editor.dragAndDrop":{type:"boolean",default:g.dragAndDrop,description:i.a("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")},"editor.accessibilitySupport":{type:"string",enum:["auto","on","off"],enumDescriptions:[i.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),i.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),i.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:g.accessibilitySupport,description:i.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")},"editor.showUnused":{type:"boolean",default:g.showUnused,description:i.a("showUnused","Controls fading out of unused code.")},"editor.links":{type:"boolean",default:g.contribInfo.links,description:i.a("links","Controls whether the editor should detect links and make them clickable.")},"editor.colorDecorators":{type:"boolean",default:g.contribInfo.colorDecorators,description:i.a("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")},"editor.lightbulb.enabled":{type:"boolean",default:g.contribInfo.lightbulbEnabled,description:i.a("codeActions","Enables the code action lightbulb in the editor.")},"editor.maxTokenizationLineLength":{type:"integer",default:2e4,description:i.a("maxTokenizationLineLength","Lines above this length will not be tokenized for performance reasons")},"editor.codeActionsOnSave":{type:"object",properties:{"source.organizeImports":{type:"boolean",description:i.a("codeActionsOnSave.organizeImports","Controls whether organize imports action should be run on file save.")},"source.fixAll":{type:"boolean",description:i.a("codeActionsOnSave.fixAll","Controls whether auto fix action should be run on file save.")}},additionalProperties:{type:"boolean"},default:g.contribInfo.codeActionsOnSave,description:i.a("codeActionsOnSave","Code action kinds to be run on save.")},"editor.codeActionsOnSaveTimeout":{type:"number",default:g.contribInfo.codeActionsOnSaveTimeout,description:i.a("codeActionsOnSaveTimeout","Timeout in milliseconds after which the code actions that are run on save are cancelled.")},"editor.selectionClipboard":{type:"boolean",default:g.contribInfo.selectionClipboard,description:i.a("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:l.c},"diffEditor.renderSideBySide":{type:"boolean",default:!0,description:i.a("sideBySide","Controls whether the diff editor shows the diff side by side or inline.")},"diffEditor.ignoreTrimWhitespace":{type:"boolean",default:!0,description:i.a("ignoreTrimWhitespace","Controls whether the diff editor shows changes in leading or trailing whitespace as diffs.")},"editor.largeFileOptimizations":{type:"boolean",default:b.largeFileOptimizations,description:i.a("largeFileOptimizations","Special handling for large files to disable certain memory intensive features.")},"diffEditor.renderIndicators":{type:"boolean",default:!0,description:i.a("renderIndicators","Controls whether the diff editor shows +/- indicators for added/removed changes.")}}},L=null;function D(){return null===L&&(L=Object.create(null),Object.keys(S.properties).forEach(function(e){L[e]=!0})),L}x.registerConfiguration(S)},2070:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1317),i=n(966),r={JSONContribution:"base.contributions.json"};function a(){this._onDidChangeSchema=new i.a,this.schemasById={}}var s=new(a.prototype.registerSchema=function(e,t){var n;this.schemasById[0<(n=e).length&&"#"===n.charAt(n.length-1)?n.substring(0,n.length-1):n]=t,this._onDidChangeSchema.fire(e)},a.prototype.notifySchemaChanged=function(e){this._onDidChangeSchema.fire(e)},a);o.a.add(r.JSONContribution,s)},2071:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n(1291),o=(s._isTargetedForRemoval=function(e,t,n,o,i){if(e.command!==o)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},s.combine=function(e,t){e=e.slice(0);for(var n=[],o=0,i=t;o<i.length;o++){var r=i[o];if(r.command&&0!==r.command.length&&"-"===r.command.charAt(0))for(var a=r.command.substr(1),s=r.keypressParts[0],l=r.keypressParts[1],u=r.when,c=e.length-1;0<=c;c--)this._isTargetedForRemoval(e[c],s,l,a,u)&&e.splice(c,1);else n.push(r)}return e.concat(n)},s.prototype._addKeyPress=function(e,t){var n=this._map.get(e);if(void 0===n)return this._map.set(e,[t]),void this._addToLookupMap(t);for(var o=n.length-1;0<=o;o--){var i=n[o];if(i.command!==t.command){var r=1<i.keypressParts.length,a=1<t.keypressParts.length;r&&a&&i.keypressParts[1]!==t.keypressParts[1]||s.whenIsEntirelyIncluded(i.when,t.when)&&this._removeFromLookupMap(i)}}n.push(t),this._addToLookupMap(t)},s.prototype._addToLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);void 0===t?(t=[e],this._lookupMap.set(e.command,t)):t.push(e)}},s.prototype._removeFromLookupMap=function(e){if(e.command){var t=this._lookupMap.get(e.command);if(void 0!==t)for(var n=0,o=t.length;n<o;n++)if(t[n]===e)return void t.splice(n,1)}},s.whenIsEntirelyIncluded=function(e,t){if(!t)return!0;if(!e)return!1;for(var n=e instanceof l.a?e.expr:[e],o=0,i=0,r=t instanceof l.a?t.expr:[t];i<r.length;i++){for(var a=r[i],s=!1;!s&&o<n.length;)n[o].equals(a)&&(s=!0),o++;if(!s)return!1}return!0},s.prototype.lookupPrimaryKeybinding=function(e){var t=this._lookupMap.get(e);return void 0===t||0===t.length?null:t[t.length-1]},s.prototype.resolve=function(e,t,n){var o=null;if(null!==t){if(void 0===(s=this._map.get(t)))return null;o=[];for(var i=0,r=s.length;i<r;i++){var a=s[i];a.keypressParts[1]===n&&o.push(a)}}else{var s;if(void 0===(s=this._map.get(n)))return null;o=s}var l=this._findCommand(e,o);return l?null===t&&1<l.keypressParts.length&&null!==l.keypressParts[1]?{enterChord:!0,commandId:null,commandArgs:null,bubble:!1}:{enterChord:!1,commandId:l.command,commandArgs:l.commandArgs,bubble:l.bubble}:null},s.prototype._findCommand=function(e,t){for(var n=t.length-1;0<=n;n--){var o=t[n];if(s.contextMatchesRules(e,o.when))return o}return null},s.contextMatchesRules=function(e,t){return!t||t.evaluate(e)},s);function s(e,t){this._defaultKeybindings=e,this._defaultBoundCommands=new Map;for(var n=0,o=e.length;n<o;n++){var i=e[n].command;i&&this._defaultBoundCommands.set(i,!0)}this._map=new Map,this._lookupMap=new Map,this._keybindings=s.combine(e,t);for(n=0,o=this._keybindings.length;n<o;n++){var r=this._keybindings[n];0!==r.keypressParts.length&&this._addKeyPress(r.keypressParts[0],r)}}},2072:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var a=n(1543),s=n(1134),o=n(1350),i=n(1317);function l(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}var r=new(l.bindToCurrentPlatform=function(e){if(1===s.a){if(e&&e.win)return e.win}else if(2===s.a){if(e&&e.mac)return e.mac}else if(e&&e.linux)return e.linux;return e},l.prototype.registerKeybindingRule=function(e){var t=l.bindToCurrentPlatform(e);if(t&&t.primary&&(i=Object(a.f)(t.primary,s.a))&&this._registerDefaultKeybinding(i,e.id,void 0,e.weight,0,e.when),t&&Array.isArray(t.secondary))for(var n=0,o=t.secondary.length;n<o;n++){var i,r=t.secondary[n];(i=Object(a.f)(r,s.a))&&this._registerDefaultKeybinding(i,e.id,void 0,e.weight,-n-1,e.when)}},l.prototype.registerCommandAndKeybindingRule=function(e){this.registerKeybindingRule(e),o.a.registerCommand(e)},l._mightProduceChar=function(e){return 21<=e&&e<=30||31<=e&&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},l.prototype._assertNoCtrlAlt=function(e,t){e.ctrlKey&&e.altKey&&!e.metaKey&&l._mightProduceChar(e.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",e," for ",t)},l.prototype._registerDefaultKeybinding=function(e,t,n,o,i,r){1===s.a&&this._assertNoCtrlAlt(e.parts[0],t),this._coreKeybindings.push({keybinding:e,command:t,commandArgs:n,when:r,weight1:o,weight2:i}),this._cachedMergedKeybindings=null},l.prototype.getDefaultKeybindings=function(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(u)),this._cachedMergedKeybindings.slice(0)},l);function u(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}i.a.add("platform.keybindingsRegistry",r)},2073:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d});var o,i,r=n(1408),a=n(2059),s=n(1125),l=n(1462),u=Object(s.c)("contextService");(o||(o={})).isIWorkspace=function(e){return e&&"object"==typeof e&&"string"==typeof e.id&&Array.isArray(e.folders)},(i||(i={})).isIWorkspaceFolder=function(e){return e&&"object"==typeof e&&r.a.isUri(e.uri)&&"string"==typeof e.name&&"function"==typeof e.toResource};Object.defineProperty(c.prototype,"folders",{get:function(){return this._folders},set:function(e){this._folders=e,this.updateFoldersMap()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"configuration",{get:function(){return this._configuration},set:function(e){this._configuration=e},enumerable:!0,configurable:!0}),c.prototype.getFolder=function(e){return e&&this._foldersMap.findSubstr(e.toString())||null},c.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)}},c.prototype.toJSON=function(){return{id:this.id,folders:this.folders,configuration:this.configuration}};function c(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}var d=(h.prototype.toResource=function(e){return a.a(this.uri,e)},h.prototype.toJSON=function(){return{uri:this.uri,name:this.name,index:this.index}},h);function h(e,t){this.raw=t,this.uri=e.uri,this.index=e.index,this.name=e.name}},2074:function(e,t,n){"use strict";n.d(t,"a",function(){return V});var o,i=n(2375),r=(n.n(i),n(2377)),h=(n.n(r),n(1215)),p=n(1126),m=n(1222),b=n(966),a=n(868),s=n(1545),l=n(1463),v=n(1784),u=n(1424),c=n(2381),d=n(2465),f=n(2466),g=n(1318),y=n(1124),C=n(988),A=n(1303),_=n(2091),w=n(1492),x=n(2086),S=n(1251),L=n(1351),D=n(2469),k=n(1350),N=n(1291),I=n(1125),O=n(1678),E=n(1497),M=n(1216),B=n(1679),T=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),P=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},j=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},R=0,W="showUnused",z=(F.prototype.dispose=function(){Object(a.d)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},F);function F(e,t,n,o,i,r){this.model=e,this.viewModel=t,this.cursor=n,this.view=o,this.hasRealView=i,this.listenersToRemove=r}var H,V=(H=a.a,T(U,H),U.prototype._createConfiguration=function(e,t){return new l.a(e,this._domElement,t)},U.prototype.getId=function(){return this.getEditorType()+":"+this._id},U.prototype.getEditorType=function(){return w.a.ICodeEditor},U.prototype.dispose=function(){this._codeEditorService.removeCodeEditor(this),this._focusTracker.dispose();for(var e=Object.keys(this._contributions),t=0,n=e.length;t<n;t++){var o=e[t];this._contributions[o].dispose()}this._removeDecorationTypes(),this._postDetachModelCleanup(this._detachModel()),this._onDidDispose.fire(),H.prototype.dispose.call(this)},U.prototype.invokeWithinContext=function(e){return this._instantiationService.invokeFunction(e)},U.prototype.updateOptions=function(e){this._configuration.updateOptions(e)},U.prototype.getConfiguration=function(){return this._configuration.editor},U.prototype.getRawConfiguration=function(){return this._configuration.getRawOptions()},U.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)},U.prototype.setValue=function(e){this._modelData&&this._modelData.model.setValue(e)},U.prototype.getModel=function(){return this._modelData?this._modelData.model:null},U.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._detachModel();this._attachModel(t);var o={oldModelUrl:n?n.uri:null,newModelUrl:t?t.uri:null};this._removeDecorationTypes(),this._onDidChangeModel.fire(o),this._postDetachModelCleanup(n)}},U.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={}}},U.prototype.getVisibleRanges=function(){return this._modelData?this._modelData.viewModel.getVisibleRanges():[]},U.prototype.getWhitespaces=function(){return this._modelData?this._modelData.viewModel.viewLayout.getWhitespaces():[]},U._getVerticalOffsetForPosition=function(e,t,n){var o=e.model.validatePosition({lineNumber:t,column:n}),i=e.viewModel.coordinatesConverter.convertModelPositionToViewPosition(o);return e.viewModel.viewLayout.getVerticalOffsetForLineNumber(i.lineNumber)},U.prototype.getTopForLineNumber=function(e){return this._modelData?U._getVerticalOffsetForPosition(this._modelData,e,1):-1},U.prototype.getTopForPosition=function(e,t){return this._modelData?U._getVerticalOffsetForPosition(this._modelData,e,t):-1},U.prototype.setHiddenAreas=function(e){this._modelData&&this._modelData.viewModel.setHiddenAreas(e.map(function(e){return C.a.lift(e)}))},U.prototype.getVisibleColumnFromPosition=function(e){if(!this._modelData)return e.column;var t=this._modelData.model.validatePosition(e),n=this._modelData.model.getOptions().tabSize;return g.a.visibleColumnFromColumn(this._modelData.model.getLineContent(t.lineNumber),t.column,n)+1},U.prototype.getPosition=function(){return this._modelData?this._modelData.cursor.getPosition():null},U.prototype.setPosition=function(e){if(this._modelData){if(!y.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}])}},U.prototype._sendRevealRange=function(e,t,n,o){if(this._modelData){if(!C.a.isIRange(e))throw new Error("Invalid arguments");var i=this._modelData.model.validateRange(e),r=this._modelData.viewModel.coordinatesConverter.convertModelRangeToViewRange(i);this._modelData.cursor.emitCursorRevealRange(r,t,n,o)}},U.prototype.revealLine=function(e,t){void 0===t&&(t=0),this._revealLine(e,0,t)},U.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this._revealLine(e,1,t)},U.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealLine(e,2,t)},U.prototype._revealLine=function(e,t,n){if("number"!=typeof e)throw new Error("Invalid arguments");this._sendRevealRange(new C.a(e,1,e,1),t,!1,n)},U.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this._revealPosition(e,0,!0,t)},U.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this._revealPosition(e,1,!0,t)},U.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealPosition(e,2,!0,t)},U.prototype._revealPosition=function(e,t,n,o){if(!y.a.isIPosition(e))throw new Error("Invalid arguments");this._sendRevealRange(new C.a(e.lineNumber,e.column,e.lineNumber,e.column),t,n,o)},U.prototype.getSelection=function(){return this._modelData?this._modelData.cursor.getSelection():null},U.prototype.getSelections=function(){return this._modelData?this._modelData.cursor.getSelections():null},U.prototype.setSelection=function(e){var t=A.a.isISelection(e),n=C.a.isIRange(e);if(!t&&!n)throw new Error("Invalid arguments");if(t)this._setSelectionImpl(e);else if(n){var o={selectionStartLineNumber:e.startLineNumber,selectionStartColumn:e.startColumn,positionLineNumber:e.endLineNumber,positionColumn:e.endColumn};this._setSelectionImpl(o)}},U.prototype._setSelectionImpl=function(e){if(this._modelData){var t=new A.a(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn);this._modelData.cursor.setSelections("api",[t])}},U.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,0,n)},U.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,1,n)},U.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this._revealLines(e,t,2,n)},U.prototype._revealLines=function(e,t,n,o){if("number"!=typeof e||"number"!=typeof t)throw new Error("Invalid arguments");this._sendRevealRange(new C.a(e,1,t,1),n,!1,o)},U.prototype.revealRange=function(e,t,n,o){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===o&&(o=!0),this._revealRange(e,n?1:0,o,t)},U.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this._revealRange(e,1,!0,t)},U.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this._revealRange(e,2,!0,t)},U.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this._revealRange(e,3,!0,t)},U.prototype._revealRange=function(e,t,n,o){if(!C.a.isIRange(e))throw new Error("Invalid arguments");this._sendRevealRange(C.a.lift(e),t,n,o)},U.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,o=e.length;n<o;n++)if(!A.a.isISelection(e[n]))throw new Error("Invalid arguments");this._modelData.cursor.setSelections(t,e)}},U.prototype.getScrollWidth=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollWidth():-1},U.prototype.getScrollLeft=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollLeft():-1},U.prototype.getScrollHeight=function(){return this._modelData?this._modelData.viewModel.viewLayout.getScrollHeight():-1},U.prototype.getScrollTop=function(){return this._modelData?this._modelData.viewModel.viewLayout.getCurrentScrollTop():-1},U.prototype.setScrollLeft=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollLeft:e})}},U.prototype.setScrollTop=function(e){if(this._modelData){if("number"!=typeof e)throw new Error("Invalid arguments");this._modelData.viewModel.viewLayout.setScrollPositionNow({scrollTop:e})}},U.prototype.setScrollPosition=function(e){this._modelData&&this._modelData.viewModel.viewLayout.setScrollPositionNow(e)},U.prototype.saveViewState=function(){if(!this._modelData)return null;for(var e={},t=0,n=Object.keys(this._contributions);t<n.length;t++){var o=n[t],i=this._contributions[o];"function"==typeof i.saveViewState&&(e[o]=i.saveViewState())}return{cursorState:this._modelData.cursor.saveState(),viewState:this._modelData.viewModel.saveState(),contributionsState:e}},U.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 o=t.contributionsState||{},i=Object.keys(this._contributions),r=0,a=i.length;r<a;r++){var s=i[r],l=this._contributions[s];"function"==typeof l.restoreViewState&&l.restoreViewState(o[s])}var u=this._modelData.viewModel.reduceRestoreState(t.viewState);this._modelData.view.restoreState(u)}}},U.prototype.getContribution=function(e){return this._contributions[e]||null},U.prototype.getActions=function(){for(var e=[],t=Object.keys(this._actions),n=0,o=t.length;n<o;n++){var i=t[n];e.push(this._actions[i])}return e},U.prototype.getSupportedActions=function(){var e=this.getActions();return e=e.filter(function(e){return e.isSupported()})},U.prototype.getAction=function(e){return this._actions[e]||null},U.prototype.trigger=function(e,t,n){if(n=n||{},t===w.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!==w.b.Paste){t===w.b.CompositionStart&&this._onCompositionStart.fire(),t===w.b.CompositionEnd&&this._onCompositionEnd.fire();var o=this.getAction(t);o?Promise.resolve(o.run()).then(void 0,m.e):this._modelData&&(this._triggerEditorCommand(e,t,n)||this._modelData.cursor.trigger(e,t,n))}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 r=this._modelData.cursor.getSelection().getStartPosition();"keyboard"===e&&this._onDidPaste.fire(new C.a(i.lineNumber,i.column,r.lineNumber,r.column))}},U.prototype._triggerEditorCommand=function(e,t,n){var o=this,i=v.d.getEditorCommand(t);return!!i&&((n=n||{}).source=e,this._instantiationService.invokeFunction(function(e){Promise.resolve(i.runEditorCommand(e,o,n)).then(void 0,m.e)}),!0)},U.prototype._getCursors=function(){return this._modelData?this._modelData.cursor:null},U.prototype.pushUndoStop=function(){return!!this._modelData&&!this._configuration.editor.readOnly&&(this._modelData.model.pushStackElement(),!0)},U.prototype.executeEdits=function(e,t,n){return!!this._modelData&&!this._configuration.editor.readOnly&&(this._modelData.model.pushEditOperations(this._modelData.cursor.getSelections(),t,function(){return n||null}),n&&this._modelData.cursor.setSelections(e,n),!0)},U.prototype.executeCommand=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,w.b.ExecuteCommand,t)},U.prototype.executeCommands=function(e,t){this._modelData&&this._modelData.cursor.trigger(e,w.b.ExecuteCommands,t)},U.prototype.changeDecorations=function(e){return this._modelData?this._modelData.model.changeDecorations(e,this._id):null},U.prototype.getLineDecorations=function(e){return this._modelData?this._modelData.model.getLineDecorations(e,this._id,this._configuration.editor.readOnly):null},U.prototype.deltaDecorations=function(e,t){return this._modelData?0===e.length&&0===t.length?e:this._modelData.model.deltaDecorations(e,t,this._id):[]},U.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]},U.prototype.getLayoutInfo=function(){return this._configuration.editor.layoutInfo},U.prototype.createOverviewRuler=function(e){return this._modelData&&this._modelData.hasRealView?this._modelData.view.createOverviewRuler(e):null},U.prototype.getDomNode=function(){return this._modelData&&this._modelData.hasRealView?this._modelData.view.domNode.domNode:null},U.prototype.delegateVerticalScrollbarMouseDown=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.delegateVerticalScrollbarMouseDown(e)},U.prototype.layout=function(e){this._configuration.observeReferenceElement(e),this.render()},U.prototype.focus=function(){this._modelData&&this._modelData.hasRealView&&this._modelData.view.focus()},U.prototype.hasTextFocus=function(){return!(!this._modelData||!this._modelData.hasRealView)&&this._modelData.view.isFocused()},U.prototype.hasWidgetFocus=function(){return this._focusTracker&&this._focusTracker.hasFocus()},U.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)},U.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)}},U.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)}},U.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)},U.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)}},U.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)}},U.prototype.changeViewZones=function(e){this._modelData&&this._modelData.hasRealView&&this._modelData.view.change(e)&&this._onDidChangeViewZones.fire()},U.prototype.getTargetAtClientPoint=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getTargetAtClientPoint(e,t):null},U.prototype.getScrolledVisiblePosition=function(e){if(!this._modelData||!this._modelData.hasRealView)return null;var t=this._modelData.model.validatePosition(e),n=this._configuration.editor.layoutInfo;return{top:U._getVerticalOffsetForPosition(this._modelData,t.lineNumber,t.column)-this.getScrollTop(),left:this._modelData.view.getOffsetForColumn(t.lineNumber,t.column)+n.glyphMarginWidth+n.lineNumbersWidth+n.decorationsWidth-this.getScrollLeft(),height:this._configuration.editor.lineHeight}},U.prototype.getOffsetForColumn=function(e,t){return this._modelData&&this._modelData.hasRealView?this._modelData.view.getOffsetForColumn(e,t):-1},U.prototype.render=function(e){void 0===e&&(e=!1),this._modelData&&this._modelData.hasRealView&&this._modelData.view.render(!0,e)},U.prototype.applyFontInfo=function(e){l.a.applyFontInfoSlow(e,this._configuration.editor.fontInfo)},U.prototype._attachModel=function(t){var a=this;if(t){var e=[];this._domElement.setAttribute("data-mode-id",t.getLanguageIdentifier().language),this._configuration.setIsDominatedByLongLines(t.isDominatedByLongLines()),this._configuration.setMaxLineNumber(t.getLineCount()),t.onBeforeAttached();var n=new D.a(this._id,this._configuration,t,function(e){return p.K(e)});e.push(t.onDidChangeDecorations(function(e){return a._onDidChangeModelDecorations.fire(e)})),e.push(t.onDidChangeLanguage(function(e){a._domElement.setAttribute("data-mode-id",t.getLanguageIdentifier().language),a._onDidChangeModelLanguage.fire(e)})),e.push(t.onDidChangeLanguageConfiguration(function(e){return a._onDidChangeModelLanguageConfiguration.fire(e)})),e.push(t.onDidChangeContent(function(e){return a._onDidChangeModelContent.fire(e)})),e.push(t.onDidChangeOptions(function(e){return a._onDidChangeModelOptions.fire(e)})),e.push(t.onWillDispose(function(){return a.setModel(null)}));var o=new f.a(this._configuration,t,n);e.push(o.onDidReachMaxCursorCount(function(){a._notificationService.warn(h.a("cursors.maximum","The number of cursors has been limited to {0}.",f.a.MAX_CURSOR_COUNT))})),e.push(o.onDidAttemptReadOnlyEdit(function(){a._onDidAttemptReadOnlyEdit.fire(void 0)})),e.push(o.onDidChange(function(e){for(var t=[],n=0,o=e.selections.length;n<o;n++)t[n]=e.selections[n].getPosition();var i={position:t[0],secondaryPositions:t.slice(1),reason:e.reason,source:e.source};a._onDidChangeCursorPosition.fire(i);var r={selection:e.selections[0],secondarySelections:e.selections.slice(1),source:e.source,reason:e.reason};a._onDidChangeCursorSelection.fire(r)}));var i=this._createView(n,o),r=i[0],s=i[1];if(s){this._domElement.appendChild(r.domNode.domNode);for(var l=Object.keys(this._contentWidgets),u=0,c=l.length;u<c;u++){var d=l[u];r.addContentWidget(this._contentWidgets[d])}for(u=0,c=(l=Object.keys(this._overlayWidgets)).length;u<c;u++)d=l[u],r.addOverlayWidget(this._overlayWidgets[d]);r.render(!1,!0),r.domNode.domNode.setAttribute("data-uri",t.uri.toString())}this._modelData=new z(t,n,o,r,s,e)}else this._modelData=null},U.prototype._createView=function(e,n){var t,i=this;t=this.isSimpleWidget?{executeEditorCommand:function(e,t){e.runCoreEditorCommand(n,t)},paste:function(e,t,n,o){i.trigger(e,w.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o})},type:function(e,t){i.trigger(e,w.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i.trigger(e,w.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i.trigger(e,w.b.CompositionStart,void 0)},compositionEnd:function(e){i.trigger(e,w.b.CompositionEnd,void 0)},cut:function(e){i.trigger(e,w.b.Cut,void 0)}}:{executeEditorCommand:function(e,t){e.runCoreEditorCommand(n,t)},paste:function(e,t,n,o){i._commandService.executeCommand(w.b.Paste,{text:t,pasteOnNewLine:n,multicursorText:o})},type:function(e,t){i._commandService.executeCommand(w.b.Type,{text:t})},replacePreviousChar:function(e,t,n){i._commandService.executeCommand(w.b.ReplacePreviousChar,{text:t,replaceCharCnt:n})},compositionStart:function(e){i._commandService.executeCommand(w.b.CompositionStart,{})},compositionEnd:function(e){i._commandService.executeCommand(w.b.CompositionEnd,{})},cut:function(e){i._commandService.executeCommand(w.b.Cut,{})}};var o=new d.a(e);return o.onDidGainFocus=function(){i._editorTextFocus.setValue(!0),i._editorWidgetFocus.setValue(!0)},o.onDidScroll=function(e){return i._onDidScrollChange.fire(e)},o.onDidLoseFocus=function(){return i._editorTextFocus.setValue(!1)},o.onContextMenu=function(e){return i._onContextMenu.fire(e)},o.onMouseDown=function(e){return i._onMouseDown.fire(e)},o.onMouseUp=function(e){return i._onMouseUp.fire(e)},o.onMouseDrag=function(e){return i._onMouseDrag.fire(e)},o.onMouseDrop=function(e){return i._onMouseDrop.fire(e)},o.onKeyUp=function(e){return i._onKeyUp.fire(e)},o.onMouseMove=function(e){return i._onMouseMove.fire(e)},o.onMouseLeave=function(e){return i._onMouseLeave.fire(e)},o.onKeyDown=function(e){return i._onKeyDown.fire(e)},[new c.a(t,this._configuration,this._themeService,e,n,o),!0]},U.prototype._postDetachModelCleanup=function(e){e&&e.removeAllDecorationsWithOwnerId(this._id)},U.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},U.prototype._removeDecorationType=function(e){this._codeEditorService.removeDecorationType(e)},U.prototype.getTelemetryData=function(){return this._telemetryData},U.prototype.hasModel=function(){return null!==this._modelData},U=P([j(3,I.a),j(4,u.a),j(5,k.b),j(6,N.c),j(7,M.c),j(8,E.a),j(9,B.a)],U));function U(e,t,n,o,i,r,a,s,l,u){var c,d=H.call(this)||this;d._onDidDispose=d._register(new b.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new b.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new b.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new b.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new b.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new b.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new b.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new b.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new b.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new b.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new b.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new b.a),d.onDidLayoutChange=d._onDidLayoutChange.event,d._editorTextFocus=d._register(new G),d.onDidFocusEditorText=d._editorTextFocus.onDidChangeToTrue,d.onDidBlurEditorText=d._editorTextFocus.onDidChangeToFalse,d._editorWidgetFocus=d._register(new G),d.onDidFocusEditorWidget=d._editorWidgetFocus.onDidChangeToTrue,d.onDidBlurEditorWidget=d._editorWidgetFocus.onDidChangeToFalse,d._onWillType=d._register(new b.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new b.a),d.onDidType=d._onDidType.event,d._onCompositionStart=d._register(new b.a),d.onCompositionStart=d._onCompositionStart.event,d._onCompositionEnd=d._register(new b.a),d.onCompositionEnd=d._onCompositionEnd.event,d._onDidPaste=d._register(new b.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new b.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new b.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new b.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new b.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new b.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new b.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new b.a),d.onMouseLeave=d._onMouseLeave.event,d._onKeyUp=d._register(new b.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new b.a),d.onKeyDown=d._onKeyDown.event,d._onDidScrollChange=d._register(new b.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new b.a),d.onDidChangeViewZones=d._onDidChangeViewZones.event,d._domElement=e,d._id=++R,d._decorationTypeKeysToIds={},d._decorationTypeSubtypes={},d.isSimpleWidget=n.isSimpleWidget||!1,d._telemetryData=n.telemetryData,t=t||{},d._configuration=d._register(d._createConfiguration(t,u)),d._register(d._configuration.onDidChange(function(e){d._onDidChangeConfiguration.fire(e),e.layoutInfo&&d._onDidLayoutChange.fire(d._configuration.editor.layoutInfo),d._configuration.editor.showUnused?d._domElement.classList.add(W):d._domElement.classList.remove(W)})),d._contextKeyService=d._register(a.createScoped(d._domElement)),d._notificationService=l,d._codeEditorService=i,d._commandService=r,d._themeService=s,d._register(new q(d,d._contextKeyService)),d._register(new Q(d,d._contextKeyService)),d._instantiationService=o.createChild(new O.a([N.c,d._contextKeyService])),d._attachModel(null),d._contributions={},d._actions={},d._focusTracker=new te(e),d._focusTracker.onChange(function(){d._editorWidgetFocus.setValue(d._focusTracker.hasFocus())}),d._contentWidgets={},d._overlayWidgets={};for(var h=0,p=(c=Array.isArray(n.contributions)?n.contributions:v.d.getEditorContributions()).length;h<p;h++){var f=c[h];try{var g=d._instantiationService.createInstance(f,d);d._contributions[g.getId()]=g}catch(e){Object(m.e)(e)}}return v.d.getEditorActions().forEach(function(t){var e=new _.a(t.id,t.label,t.alias,t.precondition,function(){return d._instantiationService.invokeFunction(function(e){return Promise.resolve(t.runEditorCommand(e,d,null))})},d._contextKeyService);d._actions[e.id]=e}),d._codeEditorService.addCodeEditor(d),d}var Z,G=(Z=a.a,T(K,Z),K.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())},K);function K(){var e=Z.call(this)||this;return e._onDidChangeToTrue=e._register(new b.a),e.onDidChangeToTrue=e._onDidChangeToTrue.event,e._onDidChangeToFalse=e._register(new b.a),e.onDidChangeToFalse=e._onDidChangeToFalse.event,e._value=0,e}var Y,q=(Y=a.a,T(J,Y),J.prototype._updateFromConfig=function(){var e=this._editor.getConfiguration();this._editorTabMovesFocus.set(e.tabFocusMode),this._editorReadonly.set(e.readOnly)},J.prototype._updateFromSelection=function(){var e=this._editor.getSelections();e?(this._hasMultipleSelections.set(1<e.length),this._hasNonEmptySelection.set(e.some(function(e){return!e.isEmpty()}))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},J.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())},J.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},J);function J(e,t){var n=Y.call(this)||this;return n._editor=e,t.createKey("editorId",e.getId()),n._editorFocus=x.a.focus.bindTo(t),n._textInputFocus=x.a.textInputFocus.bindTo(t),n._editorTextFocus=x.a.editorTextFocus.bindTo(t),n._editorTabMovesFocus=x.a.tabMovesFocus.bindTo(t),n._editorReadonly=x.a.readOnly.bindTo(t),n._hasMultipleSelections=x.a.hasMultipleSelections.bindTo(t),n._hasNonEmptySelection=x.a.hasNonEmptySelection.bindTo(t),n._canUndo=x.a.canUndo.bindTo(t),n._canRedo=x.a.canRedo.bindTo(t),n._register(n._editor.onDidChangeConfiguration(function(){return n._updateFromConfig()})),n._register(n._editor.onDidChangeCursorSelection(function(){return n._updateFromSelection()})),n._register(n._editor.onDidFocusEditorWidget(function(){return n._updateFromFocus()})),n._register(n._editor.onDidBlurEditorWidget(function(){return n._updateFromFocus()})),n._register(n._editor.onDidFocusEditorText(function(){return n._updateFromFocus()})),n._register(n._editor.onDidBlurEditorText(function(){return n._updateFromFocus()})),n._register(n._editor.onDidChangeModel(function(){return n._updateFromModel()})),n._register(n._editor.onDidChangeConfiguration(function(){return n._updateFromModel()})),n._updateFromConfig(),n._updateFromSelection(),n._updateFromFocus(),n._updateFromModel(),n}var X,Q=(X=a.a,T($,X),$.prototype.dispose=function(){X.prototype.dispose.call(this)},$.prototype.reset=function(){this._langId.reset(),this._hasCompletionItemProvider.reset(),this._hasCodeActionsProvider.reset(),this._hasCodeLensProvider.reset(),this._hasDefinitionProvider.reset(),this._hasDeclarationProvider.reset(),this._hasImplementationProvider.reset(),this._hasTypeDefinitionProvider.reset(),this._hasHoverProvider.reset(),this._hasDocumentHighlightProvider.reset(),this._hasDocumentSymbolProvider.reset(),this._hasReferenceProvider.reset(),this._hasRenameProvider.reset(),this._hasDocumentFormattingProvider.reset(),this._hasDocumentSelectionFormattingProvider.reset(),this._hasSignatureHelpProvider.reset(),this._isInWalkThrough.reset()},$.prototype._update=function(){var e=this._editor.getModel();e?(this._langId.set(e.getLanguageIdentifier().language),this._hasCompletionItemProvider.set(S.d.has(e)),this._hasCodeActionsProvider.set(S.a.has(e)),this._hasCodeLensProvider.set(S.b.has(e)),this._hasDefinitionProvider.set(S.f.has(e)),this._hasDeclarationProvider.set(S.e.has(e)),this._hasImplementationProvider.set(S.n.has(e)),this._hasTypeDefinitionProvider.set(S.w.has(e)),this._hasHoverProvider.set(S.m.has(e)),this._hasDocumentHighlightProvider.set(S.h.has(e)),this._hasDocumentSymbolProvider.set(S.j.has(e)),this._hasReferenceProvider.set(S.r.has(e)),this._hasRenameProvider.set(S.s.has(e)),this._hasSignatureHelpProvider.set(S.t.has(e)),this._hasDocumentFormattingProvider.set(S.g.has(e)||S.i.has(e)),this._hasDocumentSelectionFormattingProvider.set(S.i.has(e)),this._isInWalkThrough.set(e.uri.scheme===s.a.walkThroughSnippet)):this.reset()},$);function $(e,t){var n=X.call(this)||this;n._editor=e,n._langId=x.a.languageId.bindTo(t),n._hasCompletionItemProvider=x.a.hasCompletionItemProvider.bindTo(t),n._hasCodeActionsProvider=x.a.hasCodeActionsProvider.bindTo(t),n._hasCodeLensProvider=x.a.hasCodeLensProvider.bindTo(t),n._hasDefinitionProvider=x.a.hasDefinitionProvider.bindTo(t),n._hasDeclarationProvider=x.a.hasDeclarationProvider.bindTo(t),n._hasImplementationProvider=x.a.hasImplementationProvider.bindTo(t),n._hasTypeDefinitionProvider=x.a.hasTypeDefinitionProvider.bindTo(t),n._hasHoverProvider=x.a.hasHoverProvider.bindTo(t),n._hasDocumentHighlightProvider=x.a.hasDocumentHighlightProvider.bindTo(t),n._hasDocumentSymbolProvider=x.a.hasDocumentSymbolProvider.bindTo(t),n._hasReferenceProvider=x.a.hasReferenceProvider.bindTo(t),n._hasRenameProvider=x.a.hasRenameProvider.bindTo(t),n._hasDocumentFormattingProvider=x.a.hasDocumentFormattingProvider.bindTo(t),n._hasDocumentSelectionFormattingProvider=x.a.hasDocumentSelectionFormattingProvider.bindTo(t),n._hasSignatureHelpProvider=x.a.hasSignatureHelpProvider.bindTo(t),n._isInWalkThrough=x.a.isInEmbeddedEditor.bindTo(t);function o(){return n._update()}return n._register(e.onDidChangeModel(o)),n._register(e.onDidChangeModelLanguage(o)),n._register(S.d.onDidChange(o)),n._register(S.a.onDidChange(o)),n._register(S.b.onDidChange(o)),n._register(S.f.onDidChange(o)),n._register(S.e.onDidChange(o)),n._register(S.n.onDidChange(o)),n._register(S.w.onDidChange(o)),n._register(S.m.onDidChange(o)),n._register(S.h.onDidChange(o)),n._register(S.j.onDidChange(o)),n._register(S.r.onDidChange(o)),n._register(S.s.onDidChange(o)),n._register(S.g.onDidChange(o)),n._register(S.i.onDidChange(o)),n._register(S.t.onDidChange(o)),o(),n}var ee,te=(ee=a.a,T(ne,ee),ne.prototype.hasFocus=function(){return this._hasFocus},ne);function ne(e){var t=ee.call(this)||this;return t._onChange=t._register(new b.a),t.onChange=t._onChange.event,t._hasFocus=!1,t._domFocusTracker=t._register(p.N(e)),t._register(t._domFocusTracker.onDidFocus(function(){t._hasFocus=!0,t._onChange.fire(void 0)})),t._register(t._domFocusTracker.onDidBlur(function(){t._hasFocus=!1,t._onChange.fire(void 0)})),t}var oe=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='"),ie=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 re(e){return oe+encodeURIComponent(e.toString())+ie}var ae=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),se=encodeURIComponent('"><circle cx="1" cy="1" r="1"/><circle cx="5" cy="1" r="1"/><circle cx="9" cy="1" r="1"/></g></svg>');Object(M.e)(function(e,t){var n=e.getColor(L.e);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var o=e.getColor(L.f);o&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+re(o)+'") repeat-x bottom left; }');var i=e.getColor(L.s);i&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+i+"; }");var r=e.getColor(L.t);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+re(r)+'") repeat-x bottom left; }');var a=e.getColor(L.j);a&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+a+"; }");var s=e.getColor(L.k);s&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+re(s)+'") repeat-x bottom left; }');var l=e.getColor(L.g);l&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+l+"; }");var u=e.getColor(L.h);u&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(ae+encodeURIComponent(u.toString())+se)+'") no-repeat bottom left; }');var c=e.getColor(L.r);c&&t.addRule("."+W+" .monaco-editor .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(L.q);d&&t.addRule("."+W+" .monaco-editor .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }")})},2075:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return h}),n.d(t,"c",function(){return _});var o,b=n(1304),s=n(1786),r=n(1283),u=n(2076),v=n(1124),y=n(988),i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(l._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"},l.toString=function(e){return this._typeToString(e.type)+": "+e.position+" - "+e.range+" - "+e.detail},l.prototype.toString=function(){return l.toString(this)},l);function l(e,t,n,o,i,r){void 0===n&&(n=0),void 0===o&&(o=null),void 0===i&&(i=null),void 0===r&&(r=null),this.element=e,this.type=t,this.mouseColumn=n,this.position=o,!i&&o&&(i=new y.a(o.lineNumber,o.column,o.lineNumber,o.column)),this.range=i,this.detail=r}var c=(d.isTextArea=function(e){return 2===e.length&&3===e[0]&&6===e[1]},d.isChildOfViewLines=function(e){return 4<=e.length&&3===e[0]&&7===e[3]},d.isStrictChildOfViewLines=function(e){return 4<e.length&&3===e[0]&&7===e[3]},d.isChildOfScrollableElement=function(e){return 2<=e.length&&3===e[0]&&5===e[1]},d.isChildOfMinimap=function(e){return 2<=e.length&&3===e[0]&&8===e[1]},d.isChildOfContentWidgets=function(e){return 4<=e.length&&3===e[0]&&1===e[3]},d.isChildOfOverflowingContentWidgets=function(e){return 1<=e.length&&2===e[0]},d.isChildOfOverlayWidgets=function(e){return 2<=e.length&&3===e[0]&&4===e[1]},d);function d(){}var h=(p.prototype.getZoneAtCoord=function(e){return p.getZoneAtCoord(this._context,e)},p.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var o=n.verticalOffset+n.height/2,i=e.model.getLineCount(),r=null,a=void 0,s=null;return n.afterLineNumber!==i&&(s=new v.a(n.afterLineNumber+1,1)),0<n.afterLineNumber&&(r=new v.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),a=null===s?r:null===r?s:t<o?r:s,{viewZoneId:n.id,afterLineNumber:n.afterLineNumber,positionBefore:r,positionAfter:s,position:a}}return null},p.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 y.a(t,n,t,n),isAfterLines:!0}}var o=this._context.viewLayout.getLineNumberAtVerticalOffset(e),i=this._context.model.getLineMaxColumn(o);return{range:new y.a(o,1,o,i),isAfterLines:!1}},p.prototype.getLineNumberAtVerticalOffset=function(e){return this._context.viewLayout.getLineNumberAtVerticalOffset(e)},p.prototype.isAfterLines=function(e){return this._context.viewLayout.isAfterLines(e)},p.prototype.getVerticalOffsetForLineNumber=function(e){return this._context.viewLayout.getVerticalOffsetForLineNumber(e)},p.prototype.findAttribute=function(e,t){return p._findAttribute(e,t,this._viewHelper.viewDomNode)},p._findAttribute=function(e,t,n){for(;e&&e!==document.body;){if(e.hasAttribute&&e.hasAttribute(t))return e.getAttribute(t);if(e===n)return null;e=e.parentNode}return null},p.prototype.getLineWidth=function(e){return this._viewHelper.getLineWidth(e)},p.prototype.visibleRangeForPosition2=function(e,t){return this._viewHelper.visibleRangeForPosition2(e,t)},p.prototype.getPositionFromDOMInfo=function(e,t){return this._viewHelper.getPositionFromDOMInfo(e,t)},p.prototype.getCurrentScrollTop=function(){return this._context.viewLayout.getCurrentScrollTop()},p.prototype.getCurrentScrollLeft=function(){return this._context.viewLayout.getCurrentScrollLeft()},p);function p(e,t,n){this.model=e.model,this.layoutInfo=e.configuration.editor.layoutInfo,this.viewDomNode=t.viewDomNode,this.lineHeight=e.configuration.editor.lineHeight,this.typicalHalfwidthCharacterWidth=e.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this.lastViewCursorsRenderData=n,this._context=e,this._viewHelper=t}var f,g=(i(m,f=function(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,_._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))}),m.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)},m.prototype.fulfill=function(e,t,n,o){return void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o=null),new a(this.target,e,this.mouseColumn,t,n,o)},m.prototype.withTarget=function(e){return new m(this._ctx,this.editorPos,this.pos,e)},m);function m(e,t,n,o){var i=f.call(this,e,t,n)||this;return i._ctx=e,o?(i.target=o,i.targetPath=r.a.collect(o,e.viewDomNode)):(i.target=null,i.targetPath=new Uint8Array(0)),i}var C={isAfterLines:!0};function A(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var _=(w.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=r.a.collect(t,this._viewHelper.viewDomNode);return!(!c.isChildOfContentWidgets(n)&&!c.isChildOfOverflowingContentWidgets(n)&&!c.isChildOfOverlayWidgets(n))},w.prototype.createMouseTarget=function(e,t,n,o){var i=new h(this._context,this._viewHelper,e),r=new g(i,t,n,o);try{return w._createMouseTarget(i,r,!1)}catch(e){return r.fulfill(0)}},w._createMouseTarget=function(e,t,n){if(null===t.target){if(n)return t.fulfill(0);var o=w._doHitTest(e,t);return o.position?w.createMouseTargetFromHitTestPosition(e,t,o.position.lineNumber,o.position.column):this._createMouseTarget(e,t.withTarget(o.hitTarget),!0)}var i=t,r=null;return(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r||w._hitTestContentWidget(e,i))||w._hitTestOverlayWidget(e,i))||w._hitTestMinimap(e,i))||w._hitTestScrollbarSlider(e,i))||w._hitTestViewZone(e,i))||w._hitTestMargin(e,i))||w._hitTestViewCursor(e,i))||w._hitTestTextArea(e,i))||w._hitTestViewLines(e,i,n))||w._hitTestScrollbar(e,i))||t.fulfill(0)},w._hitTestContentWidget=function(e,t){if(c.isChildOfContentWidgets(t.targetPath)||c.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},w._hitTestOverlayWidget=function(e,t){if(c.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},w._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,o=r=e.lastViewCursorsRenderData;n<o.length;n++){var i=o[n];if(t.target===i.domNode)return t.fulfill(6,i.position)}if(t.isInContentArea)for(var r=e.lastViewCursorsRenderData,a=t.mouseContentHorizontalOffset,s=t.mouseVerticalOffset,l=0,u=r;l<u.length;l++)if(!(a<(i=u[l]).contentLeft||a>i.contentLeft+i.width)){var c=e.getVerticalOffsetForLineNumber(i.position.lineNumber);if(c<=s&&s<=c+i.height)return t.fulfill(6,i.position)}return null},w._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var o=t.isInContentArea?8:5;return t.fulfill(o,n.position,null,n)}return null},w._hitTestTextArea=function(e,t){return c.isTextArea(t.targetPath)?t.fulfill(1):null},w._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),o=n.range.getStartPosition(),i=Math.abs(t.pos.x-t.editorPos.x),r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:i};return(i-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,o,n.range,r):(i-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,o,n.range,r):(i-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,o,n.range,r))}return null},w._hitTestViewLines=function(e,t,n){if(!c.isChildOfViewLines(t.targetPath))return null;if(e.isAfterLines(t.mouseVerticalOffset)){var o=e.model.getLineCount(),i=e.model.getLineMaxColumn(o);return t.fulfill(7,new v.a(o,i),void 0,C)}if(n){if(c.isStrictChildOfViewLines(t.targetPath)){var r=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset);if(0===e.model.getLineLength(r)){var a=e.getLineWidth(r),s=A(t.mouseContentHorizontalOffset-a);return t.fulfill(7,new v.a(r,1),void 0,s)}}return t.fulfill(0)}var l=w._doHitTest(e,t);return l.position?w.createMouseTargetFromHitTestPosition(e,t,l.position.lineNumber,l.position.column):this._createMouseTarget(e,t.withTarget(l.hitTarget),!0)},w._hitTestMinimap=function(e,t){if(c.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(n);return t.fulfill(11,new v.a(n,o))}return null},w._hitTestScrollbarSlider=function(e,t){if(c.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var o=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(o);return t.fulfill(11,new v.a(o,i))}}return null},w._hitTestScrollbar=function(e,t){if(c.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(n);return t.fulfill(11,new v.a(n,o))}return null},w.prototype.getMouseColumn=function(e,t){var n=this._context.configuration.editor.layoutInfo,o=this._context.viewLayout.getCurrentScrollLeft()+t.x-e.x-n.contentLeft;return w._getMouseColumn(o,this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth)},w._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},w.createMouseTargetFromHitTestPosition=function(e,t,n,o){var i=new v.a(n,o),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(b.f&&1===i.column){var a=A(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new v.a(n,e.model.getLineMaxColumn(n)),void 0,a)}var s=A(t.mouseContentHorizontalOffset-r);return t.fulfill(7,i,void 0,s)}var l=e.visibleRangeForPosition2(n,o);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:o}),1<o){var d=e.visibleRangeForPosition2(n,o-1);d&&c.push({offset:d.left,column:o-1})}if(o<e.model.getLineMaxColumn(n)){var h=e.visibleRangeForPosition2(n,o+1);h&&c.push({offset:h.left,column:o+1})}c.sort(function(e,t){return e.offset-t.offset});for(var p=1;p<c.length;p++){var f=c[p-1],g=c[p];if(f.offset<=t.mouseContentHorizontalOffset&&t.mouseContentHorizontalOffset<=g.offset){var m=new y.a(n,f.column,n,g.column);return t.fulfill(6,i,m)}}return t.fulfill(6,i)},w._doHitTestWithCaretRangeFromPoint=function(e,t){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.getVerticalOffsetForLineNumber(n)+Math.floor(e.lineHeight/2),i=t.pos.y+(o-t.mouseVerticalOffset);i<=t.editorPos.y&&(i=t.editorPos.y+1),i>=t.editorPos.y+e.layoutInfo.height&&(i=t.editorPos.y+e.layoutInfo.height-1);var r=new s.e(t.pos.x,i),a=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return a.position?a:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},w._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n=document.caretRangeFromPoint(t.clientX,t.clientY);if(!n||!n.startContainer)return{position:null,hitTarget:null};var o=n.startContainer,i=null;if(o.nodeType===o.TEXT_NODE){var r=(s=(a=o.parentNode)?a.parentNode:null)?s.parentNode:null;if((r&&r.nodeType===r.ELEMENT_NODE?r.className:null)===u.b.CLASS_NAME)return{position:e.getPositionFromDOMInfo(a,n.startOffset),hitTarget:null};i=o.parentNode}else if(o.nodeType===o.ELEMENT_NODE){var a,s;if(((s=(a=o.parentNode)?a.parentNode:null)&&s.nodeType===s.ELEMENT_NODE?s.className:null)===u.b.CLASS_NAME)return{position:e.getPositionFromDOMInfo(o,o.textContent.length),hitTarget:null};i=o}return{position:null,hitTarget:i}},w._doHitTestWithCaretPositionFromPoint=function(e,t){var n=document.caretPositionFromPoint(t.clientX,t.clientY);if(n.offsetNode.nodeType!==n.offsetNode.TEXT_NODE)return{position:null,hitTarget:n.offsetNode};var o=n.offsetNode.parentNode,i=o?o.parentNode:null,r=i?i.parentNode:null;return(r&&r.nodeType===r.ELEMENT_NODE?r.className:null)!==u.b.CLASS_NAME?{position:null,hitTarget:n.offsetNode.parentNode}:{position:e.getPositionFromDOMInfo(n.offsetNode.parentNode,n.offset),hitTarget:null}},w._doHitTestWithMoveToPoint=function(e,t){var n=null,o=null,i=document.body.createTextRange();try{i.moveToPoint(t.clientX,t.clientY)}catch(e){return{position:null,hitTarget:null}}i.collapse(!0);var r=i?i.parentElement():null,a=r?r.parentNode:null,s=a?a.parentNode:null;if((s&&s.nodeType===s.ELEMENT_NODE?s.className:"")===u.b.CLASS_NAME){var l=i.duplicate();l.moveToElementText(r),l.setEndPoint("EndToStart",i),n=e.getPositionFromDOMInfo(r,l.text.length),l.moveToElementText(e.viewDomNode)}else o=r;return i.moveToElementText(e.viewDomNode),{position:n,hitTarget:o}},w._doHitTest=function(e,t){return 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}},w);function w(e,t){this._context=e,this._viewHelper=t}},2076:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"c",function(){return h}),n.d(t,"b",function(){return f});var o,i=n(1304),r=n(1223),a=n(1134),u=n(2384),c=n(1590),g=n(1781),m=n(1671),b=n(1216),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=!!a.e||!(a.c||i.i||i.l),y=i.g,l=(Object.defineProperty(d.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),d);function d(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}var h=(p.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},p);function p(e,t){this.themeType=t,this.renderWhitespace=e.editor.viewInfo.renderWhitespace,this.renderControlCharacters=e.editor.viewInfo.renderControlCharacters,this.spaceWidth=e.editor.fontInfo.spaceWidth,this.useMonospaceOptimizations=e.editor.fontInfo.isMonospace&&!e.editor.viewInfo.disableMonospaceOptimizations,this.canUseHalfwidthRightwardsArrow=e.editor.fontInfo.canUseHalfwidthRightwardsArrow,this.lineHeight=e.editor.lineHeight,this.stopRenderingLineAfter=e.editor.viewInfo.stopRenderingLineAfter,this.fontLigatures=e.editor.viewInfo.fontLigatures}var f=(C.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},C.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(r.b)(e)},C.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},C.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},C.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},C.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},C.prototype.onSelectionChanged=function(){return!(!y&&this._options.themeType!==b.b)&&(this._isMaybeInvalid=!0)},C.prototype.renderLine=function(e,t,n,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var i=n.getViewLineRenderingData(e),r=this._options,a=g.a.filter(i.inlineDecorations,e,i.minColumn,i.maxColumn);if(y||r.themeType===b.b)for(var s=0,l=n.selections;s<l.length;s++){var u=l[s];if(!(u.endLineNumber<e||u.startLineNumber>e)){var c=u.startLineNumber===e?u.startColumn:i.minColumn,d=u.endLineNumber===e?u.endColumn:i.maxColumn;c<d&&a.push(new g.a(c,d,"inline-selected-text",0))}}var h=new m.b(r.useMonospaceOptimizations,r.canUseHalfwidthRightwardsArrow,i.content,i.continuesWithWrappedLine,i.isBasicASCII,i.containsRTL,i.minColumn-1,i.tokens,a,i.tabSize,r.spaceWidth,r.stopRenderingLineAfter,r.renderWhitespace,r.renderControlCharacters,r.fontLigatures);if(this._renderedViewLine&&this._renderedViewLine.input.equals(h))return!1;o.appendASCIIString('<div style="top:'),o.appendASCIIString(String(t)),o.appendASCIIString("px;height:"),o.appendASCIIString(String(this._options.lineHeight)),o.appendASCIIString('px;" class="'),o.appendASCIIString(C.CLASS_NAME),o.appendASCIIString('">');var p=Object(m.c)(h,o);o.appendASCIIString("</div>");var f=null;return v&&i.isBasicASCII&&r.useMonospaceOptimizations&&0===p.containsForeignElements&&i.content.length<300&&h.lineTokens.getCount()<100&&(f=new A(this._renderedViewLine?this._renderedViewLine.domNode:null,h,p.characterMapping)),f=f||k(this._renderedViewLine?this._renderedViewLine.domNode:null,h,p.characterMapping,p.containsRTL,p.containsForeignElements),this._renderedViewLine=f,!0},C.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},C.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},C.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},C.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 o=0|this._renderedViewLine.input.stopRenderingLineAfter;return-1!=o&&o<e&&o<t?null:(-1!=o&&o<e&&(e=o),-1!=o&&o<t&&(t=o),this._renderedViewLine.getVisibleRangesForRange(e,t,n))},C.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},C.CLASS_NAME="view-line",C);function C(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}var A=(_.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},_.prototype.getWidthIsFast=function(){return!0},_.prototype.getVisibleRangesForRange=function(e,t,n){var o=this._getCharPosition(e),i=this._getCharPosition(t);return[new c.a(o,i-o)]},_.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},_.prototype.getColumnOfNodeOffset=function(e,t,n){for(var o=t.textContent.length,i=-1;t;)t=t.previousSibling,i++;return this._characterMapping.partDataToCharOffset(i,o,n)+1},_);function _(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}var w=(x.prototype._getReadingTarget=function(){return this.domNode.domNode.firstChild},x.prototype.getWidth=function(){return-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget().offsetWidth),this._cachedWidth},x.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},x.prototype.getVisibleRangesForRange=function(e,t,n){if(null===this._pixelOffsetCache)return this._readVisibleRangesForRange(e,t,n);var o=this._readPixelOffset(e,n);if(-1===o)return null;var i=this._readPixelOffset(t,n);return-1===i?null:[new c.a(o,i-o)]},x.prototype._readVisibleRangesForRange=function(e,t,n){if(e!==t)return this._readRawVisibleRangesForRange(e,t,n);var o=this._readPixelOffset(e,n);return-1===o?null:[new c.a(o,0)]},x.prototype._readPixelOffset=function(e,t){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth()}if(null===this._pixelOffsetCache)return this._actualReadPixelOffset(e,t);var n=this._pixelOffsetCache[e];if(-1!==n)return n;var o=this._actualReadPixelOffset(e,t);return this._pixelOffsetCache[e]=o},x.prototype._actualReadPixelOffset=function(e,t){if(0===this._characterMapping.length){var n=u.a.readHorizontalRanges(this._getReadingTarget(),0,0,0,0,t.clientRectDeltaLeft,t.endNode);return n&&0!==n.length?n[0].left:-1}if(e===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var o=this._characterMapping.charOffsetToPartData(e-1),i=m.a.getPartIndex(o),r=m.a.getCharIndex(o),a=u.a.readHorizontalRanges(this._getReadingTarget(),i,r,i,r,t.clientRectDeltaLeft,t.endNode);return a&&0!==a.length?a[0].left:-1},x.prototype._readRawVisibleRangesForRange=function(e,t,n){if(1===e&&t===this._characterMapping.length)return[new c.a(0,this.getWidth())];var o=this._characterMapping.charOffsetToPartData(e-1),i=m.a.getPartIndex(o),r=m.a.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(t-1),s=m.a.getPartIndex(a),l=m.a.getCharIndex(a);return u.a.readHorizontalRanges(this._getReadingTarget(),i,r,s,l,n.clientRectDeltaLeft,n.endNode)},x.prototype.getColumnOfNodeOffset=function(e,t,n){for(var o=t.textContent.length,i=-1;t;)t=t.previousSibling,i++;return this._characterMapping.partDataToCharOffset(i,o,n)+1},x);function x(e,t,n,o,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,!o||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var r=0,a=this._characterMapping.length;r<=a;r++)this._pixelOffsetCache[r]=-1}}var S,L=(s(D,S=w),D.prototype._readVisibleRangesForRange=function(e,t,n){var o=S.prototype._readVisibleRangesForRange.call(this,e,t,n);if(!o||0===o.length||e===t||1===e&&t===this._characterMapping.length)return o;if(!this.input.containsRTL){var i=this._readPixelOffset(t,n);if(-1!==i){var r=o[o.length-1];r.left<i&&(r.width=i-r.left)}}return o},D);function D(){return null!==S&&S.apply(this,arguments)||this}var k=i.m?N:I;function N(e,t,n,o,i){return new L(e,t,n,o,i)}function I(e,t,n,o,i){return new w(e,t,n,o,i)}},2077:function(e,t,n){"use strict";n.d(t,"b",function(){return C}),n.d(t,"a",function(){return i});var b=n(989),v=n(1124),y=n(988),C=(o.prototype.toString=function(){return"[ <"+this.value+">, selectionStart: "+this.selectionStart+", selectionEnd: "+this.selectionEnd+"]"},o.readFromTextArea=function(e){return new o(e.getValue(),e.getSelectionStart(),e.getSelectionEnd(),null,null)},o.prototype.collapseSelection=function(){return new o(this.value,this.value.length,this.value.length,null,null)},o.prototype.writeToTextArea=function(e,t,n){t.setValue(e,this.value),n&&t.setSelectionRange(e,this.selectionStart,this.selectionEnd)},o.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)return t=this.value.substring(this.selectionEnd,e),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 o=this.value.substring(e,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,o,-1)},o.prototype._finishDeduceEditorPosition=function(e,t,n){for(var o=0,i=-1;-1!==(i=t.indexOf("\n",i+1));)o++;return[e,n*t.length,o]},o.selectedText=function(e){return new o(e,0,e.length,null,null)},o.deduceInput=function(e,t,n,o){if(!e)return{text:"",replaceCharCnt:0};var i=e.value,r=e.selectionStart,a=e.selectionEnd,s=t.value,l=t.selectionStart,u=t.selectionEnd;o&&0<i.length&&r===a&&l===u&&!b.B(s,i)&&b.j(s,i)&&(a=r=0);var c=i.substring(a),d=s.substring(u),h=b.c(c,d);s=s.substring(0,s.length-h);var p=(i=i.substring(0,i.length-h)).substring(0,r),f=s.substring(0,l),g=b.b(p,f);if(s=s.substring(g),i=i.substring(g),l-=g,r-=g,u-=g,a-=g,n&&l===u&&0<i.length){var m=null;if(l===s.length?b.B(s,i)&&(m=s.substring(i.length)):b.j(s,i)&&(m=s.substring(0,s.length-i.length)),null!==m&&0<m.length&&(/\uFE0F/.test(m)||b.d(m)))return{text:m,replaceCharCnt:0}}return l===u?i===s&&0===r&&a===i.length&&l===s.length&&-1===s.indexOf("\n")&&b.e(s)?{text:"",replaceCharCnt:0}:{text:s,replaceCharCnt:p.length-g}:{text:s,replaceCharCnt:a-r}},o.EMPTY=new o("",0,0,null,null),o);function o(e,t,n,o,i){this.value=e,this.selectionStart=t,this.selectionEnd=n,this.selectionStartPosition=o,this.selectionEndPosition=i}var i=(A._getPageOfLine=function(e){return Math.floor((e-1)/A._LINES_PER_PAGE)},A._getRangeForPage=function(e){var t=e*A._LINES_PER_PAGE,n=1+t,o=t+A._LINES_PER_PAGE;return new y.a(n,1,o+1,1)},A.fromEditorSelection=function(e,t,n,o){var i,r=A._getPageOfLine(n.startLineNumber),a=A._getRangeForPage(r),s=A._getPageOfLine(n.endLineNumber),l=A._getRangeForPage(s),u=a.intersectRanges(new y.a(1,1,n.startLineNumber,n.startColumn)),c=t.getValueInRange(u,1),d=t.getLineCount(),h=t.getLineMaxColumn(d),p=l.intersectRanges(new y.a(n.endLineNumber,n.endColumn,d,h)),f=t.getValueInRange(p,1);if(r===s||r+1===s)i=t.getValueInRange(n,1);else{var g=a.intersectRanges(n),m=l.intersectRanges(n);i=t.getValueInRange(g,1)+String.fromCharCode(8230)+t.getValueInRange(m,1)}return o&&(500<c.length&&(c=c.substring(c.length-500,c.length)),500<f.length&&(f=f.substring(0,500)),1e3<i.length&&(i=i.substring(0,500)+String.fromCharCode(8230)+i.substring(i.length-500,i.length))),new C(c+i+f,c.length,c.length+i.length,new v.a(n.startLineNumber,n.startColumn),new v.a(n.endLineNumber,n.endColumn))},A._LINES_PER_PAGE=10,A);function A(){}},2078:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o,i,r=n(2389),u=(n.n(r),n(1134)),a=n(1498),s=n(1124),l=n(1351),c=n(1216),d=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=(i=a.a,d(p,i),p.prototype._readConfig=function(){var e=this._context.configuration.editor;this._lineHeight=e.lineHeight,this._renderLineNumbers=e.viewInfo.renderLineNumbers,this._renderCustomLineNumbers=e.viewInfo.renderCustomLineNumbers,this._renderFinalNewline=e.viewInfo.renderFinalNewline,this._lineNumbersLeft=e.layoutInfo.lineNumbersLeft,this._lineNumbersWidth=e.layoutInfo.lineNumbersWidth},p.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,i.prototype.dispose.call(this)},p.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},p.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},p.prototype.onFlushed=function(e){return!0},p.prototype.onLinesChanged=function(e){return!0},p.prototype.onLinesDeleted=function(e){return!0},p.prototype.onLinesInserted=function(e){return!0},p.prototype.onScrollChanged=function(e){return e.scrollTopChanged},p.prototype.onZonesChanged=function(e){return!0},p.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new s.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(!this._renderFinalNewline){var o=this._context.model.getLineCount(),i=this._context.model.getLineContent(n);if(n===o&&""===i)return""}if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2!==this._renderLineNumbers)return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n?String(n):n%10==0?String(n):"":String(n);var r=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===r?'<span class="relative-current-line-number">'+n+"</span>":String(r)},p.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var t=u.c?this._lineHeight%2==0?" lh-even":" lh-odd":"",n=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,i='<div class="'+p.CLASS_NAME+t+'" style="left:'+this._lineNumbersLeft.toString()+"px;width:"+this._lineNumbersWidth.toString()+'px;">',r=[],a=n;a<=o;a++){var s=a-n,l=this._getLineRenderLineNumber(a);r[s]=l?i+l+"</div>":""}this._renderResult=r}else this._renderResult=null},p.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},p.CLASS_NAME="line-numbers",p);function p(e){var t=i.call(this)||this;return t._context=e,t._readConfig(),t._lastCursorModelPosition=new s.a(1,1),t._renderResult=null,t._context.addEventHandler(t),t}Object(c.e)(function(e,t){var n=e.getColor(l.n);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var o=e.getColor(l.b);o&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+o+"; }")})},2079:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(1223),a=n(1283),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.b,s(u,i),u.prototype.dispose=function(){i.prototype.dispose.call(this)},u.prototype.getDomNode=function(){return this._domNode},u.prototype._createDomNode=function(){var e=Object(r.b)(document.createElement("div"));return e.setClassName(u.OUTER_CLASS_NAME),e.setPosition("absolute"),e.setAttribute("role","presentation"),e.setAttribute("aria-hidden","true"),this._glyphMarginBackgroundDomNode=Object(r.b)(document.createElement("div")),this._glyphMarginBackgroundDomNode.setClassName(u.CLASS_NAME),e.appendChild(this._glyphMarginBackgroundDomNode),e},u.prototype.onConfigurationChanged=function(e){return e.canUseLayerHinting&&(this._canUseLayerHinting=this._context.configuration.editor.canUseLayerHinting),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._glyphMarginLeft=this._context.configuration.editor.layoutInfo.glyphMarginLeft,this._glyphMarginWidth=this._context.configuration.editor.layoutInfo.glyphMarginWidth),!0},u.prototype.onScrollChanged=function(e){return i.prototype.onScrollChanged.call(this,e)||e.scrollTopChanged},u.prototype.prepareRender=function(e){},u.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting);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)},u.CLASS_NAME="glyph-margin",u.OUTER_CLASS_NAME="margin",u);function u(e){var t=i.call(this,e)||this;return t._canUseLayerHinting=t._context.configuration.editor.canUseLayerHinting,t._contentLeft=t._context.configuration.editor.layoutInfo.contentLeft,t._glyphMarginLeft=t._context.configuration.editor.layoutInfo.glyphMarginLeft,t._glyphMarginWidth=t._context.configuration.editor.layoutInfo.glyphMarginWidth,t._domNode=t._createDomNode(),t}},2080:function(e,t,n){"use strict";t.d=f,t.c=function(e,t){e.length=0,e[0]=0;for(var n=1,o=0,i=0,r=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)?(r++,e[n++]=s+2,s++):(o++,e[n++]=s+1):10===u?(i++,e[n++]=s+1):a&&9!==u&&(u<32||126<u)&&(a=!1)}var c=new h(d(e),o,i,r,a);return e.length=0,c},n.d(t,"b",function(){return m}),n.d(t,"a",function(){return i});var a=n(1124),C=n(988),g=n(1493),v=n(2399),_=n(2081),y=65535;function d(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var h=function(e,t,n,o,i){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=o,this.isBasicASCII=i};function f(e,t){void 0===t&&(t=!0);for(var n=[0],o=1,i=0,r=e.length;i<r;i++){var a=e.charCodeAt(i);13===a?i+1<r&&10===e.charCodeAt(i+1)?(n[o++]=i+2,i++):n[o++]=i+1:10===a&&(n[o++]=i+1)}return t?d(n):n}var A=function(e,t,n,o,i){this.bufferIndex=e,this.start=t,this.end=n,this.lineFeedCnt=o,this.length=i},m=function(e,t){this.buffer=e,this.lineStarts=t},s=(o.prototype.get=function(e){for(var t=this._cache.length-1;0<=t;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},o.prototype.get2=function(e){for(var t=this._cache.length-1;0<=t;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber<e&&n.nodeStartLineNumber+n.node.piece.lineFeedCnt>=e)return n}return null},o.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},o.prototype.valdiate=function(e){for(var t=!1,n=this._cache,o=0;o<n.length;o++){var i=n[o];(null===i.node.parent||i.nodeStartOffset>=e)&&(t=!(n[o]=null))}if(t){for(var r=[],a=0,s=n;a<s.length;a++){var l=s[a];null!==l&&r.push(l)}this._cache=r}},o);function o(e){this._limit=e,this._cache=[]}var i=(r.prototype.create=function(e,t,n){this._buffers=[new m("",[0])],this._lastChangeBufferPos={line:0,column:0},this.root=v.a,this._lineCnt=1,this._length=0,this._EOL=t,this._EOLLength=t.length,this._EOLNormalized=n;for(var o=null,i=0,r=e.length;i<r;i++)if(0<e[i].buffer.length){e[i].lineStarts||(e[i].lineStarts=f(e[i].buffer));var a=new A(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]),o=this.rbInsertRight(o,a)}this._searchCache=new s(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},r.prototype.normalizeEOL=function(i){var r=this,a=65535-Math.floor(21845),s=2*a,l="",u=0,c=[];if(this.iterate(this.root,function(e){var t=r.getNodeContent(e),n=t.length;if(u<=a||u+n<s)return l+=t,u+=n,!0;var o=l.replace(/\r\n|\r|\n/g,i);return c.push(new m(o,f(o))),l=t,u=n,!0}),0<u){var e=l.replace(/\r\n|\r|\n/g,i);c.push(new m(e,f(e)))}this.create(c,i,!0)},r.prototype.getEOL=function(){return this._EOL},r.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},r.prototype.getOffsetAt=function(e,t){for(var n=0,o=this.root;o!==v.a;)if(o.left!==v.a&&o.lf_left+1>=e)o=o.left;else{if(o.lf_left+o.piece.lineFeedCnt+1>=e)return(n+=o.size_left)+(this.getAccumulatedValue(o,e-o.lf_left-2)+t-1);e-=o.lf_left+o.piece.lineFeedCnt,n+=o.size_left+o.piece.length,o=o.right}return n},r.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,o=e;t!==v.a;)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)return new a.a(n+1,i.remainder+1);var r=o-this.getOffsetAt(n+1,1);return new a.a(n+1,r+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===v.a)return r=o-e-this.getOffsetAt(n+1,1),new a.a(n+1,r+1);t=t.right}return new a.a(1,1)},r.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),o=this.nodeAt2(e.endLineNumber,e.endColumn),i=this.getValueInRange2(n,o);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?i:i.replace(/\r\n|\r|\n/g,t):i},r.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,o=this._buffers[n.piece.bufferIndex].buffer,i=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return o.substring(i+e.remainder,i+t.remainder)}var r=e.node,a=this._buffers[r.piece.bufferIndex].buffer,s=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),l=a.substring(s+e.remainder,s+r.piece.length);for(r=r.next();r!==v.a;){var u=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){l+=u.substring(c,c+t.remainder);break}l+=u.substr(c,r.piece.length),r=r.next()}return l},r.prototype.getLinesContent=function(){return this.getContentOfSubTree(this.root).split(/\r\n|\r|\n/)},r.prototype.getLength=function(){return this._length},r.prototype.getLineCount=function(){return this._lineCnt},r.prototype.getLineContent=function(e){return this._lastVisitedLine.lineNumber===e||((this._lastVisitedLine.lineNumber=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},r.prototype.getLineCharCode=function(e,t){var n=this.nodeAt2(e,t+1);if(n.remainder===n.node.piece.length){var o=n.node.next();if(!o)return 0;var i=this._buffers[o.piece.bufferIndex],r=this.offsetInBuffer(o.piece.bufferIndex,o.piece.start);return i.buffer.charCodeAt(r)}i=this._buffers[n.node.piece.bufferIndex];var a=(r=this.offsetInBuffer(n.node.piece.bufferIndex,n.node.piece.start))+n.remainder;return i.buffer.charCodeAt(a)},r.prototype.getLineLength=function(e){if(e!==this.getLineCount())return this.getOffsetAt(e+1,1)-this.getOffsetAt(e,1)-this._EOLLength;var t=this.getOffsetAt(e,1);return this.getLength()-t},r.prototype.findMatchesInNode=function(e,t,n,o,i,r,a,s,l,u,c){var d,h=this._buffers[e.piece.bufferIndex],p=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start),f=this.offsetInBuffer(e.piece.bufferIndex,i),g=this.offsetInBuffer(e.piece.bufferIndex,r);t.reset(f);var m={line:0,column:0};do{if(d=t.next(h.buffer)){if(d.index>=g)return u;this.positionInBuffer(e,d.index-p,m);var b=this.getLineFeedCnt(e.piece.bufferIndex,i,m),v=m.line===i.line?m.column-i.column+o:m.column+1,y=v+d[0].length;if(c[u++]=Object(_.d)(new C.a(n+b,v,n+b,y),d,s),d.index+d[0].length>=g)return u;if(l<=u)return u}}while(d);return u},r.prototype.findMatchesLineByLine=function(e,t,n,o){var i=[],r=0,a=new _.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,o,r,i),i;for(var d=e.startLineNumber,h=s.node;h!==l.node;){var p=this.getLineFeedCnt(h.piece.bufferIndex,u,h.piece.end);if(1<=p){var f=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=f[u.line+p],b=d===e.startLineNumber?e.startColumn:1;if(o<=(r=this.findMatchesInNode(h,a,d,b,u,this.positionInBuffer(h,m-g),t,n,o,r,i)))return i;d+=p}var v=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var y=this.getLineContent(d).substring(v,e.endColumn-1);return r=this._findMatchesInLine(t,a,y,e.endLineNumber,v,r,i,n,o),i}if(o<=(r=this._findMatchesInLine(t,a,this.getLineContent(d).substr(v),d,v,r,i,n,o)))return i;d++,h=(s=this.nodeAt2(d,1)).node,u=this.positionInBuffer(s.node,s.remainder)}if(d===e.endLineNumber){var C=d===e.startLineNumber?e.startColumn-1:0;return y=this.getLineContent(d).substring(C,e.endColumn-1),r=this._findMatchesInLine(t,a,y,e.endLineNumber,C,r,i,n,o),i}var A=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(l.node,a,d,A,u,c,t,n,o,r,i),i},r.prototype._findMatchesInLine=function(e,t,n,o,i,r,a,s,l){var u,c=e.wordSeparators;if(!s&&e.simpleSearch){for(var d=e.simpleSearch,h=d.length,p=n.length,f=-h;-1!==(f=n.indexOf(d,f+h));)if((!c||Object(_.e)(c,n,p,f,h))&&(a[r++]=new g.b(new C.a(o,f+1+i,o,f+1+h+i),null),l<=r))return r;return r}t.reset(0);do{if((u=t.next(n))&&(a[r++]=Object(_.d)(new C.a(o,u.index+1+i,o,u.index+1+u[0].length+i),u,s),l<=r))return r}while(u);return r},r.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!==v.a){var o=this.nodeAt(e),i=o.node,r=o.remainder,a=o.nodeStartOffset,s=i.piece,l=s.bufferIndex,u=this.positionInBuffer(i,r);if(0===i.piece.bufferIndex&&s.end.line===this._lastChangeBufferPos.line&&s.end.column===this._lastChangeBufferPos.column&&a+s.length===e&&t.length<y)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 A(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)&&10===this.nodeCharCodeAt(i,r)){var h={line:d.start.line+1,column:0};d=new A(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(i,r-1)){var p=this.positionInBuffer(i,r-1);this.deleteNodeTail(i,p),t="\r"+t,0===i.piece.length&&c.push(i)}else this.deleteNodeTail(i,u);else this.deleteNodeTail(i,u);var f=this.createNewPieces(t);0<d.length&&this.rbInsertRight(i,d);for(var g=i,m=0;m<f.length;m++)g=this.rbInsertRight(g,f[m]);this.deleteNodes(c)}else this.insertContentToNodeRight(t,i)}else{var b=this.createNewPieces(t);for(i=this.rbInsertLeft(null,b[0]),m=1;m<b.length;m++)i=this.rbInsertRight(i,b[m])}this.computeBufferMetadata()},r.prototype.delete=function(e,t){if(this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",!(t<=0||this.root===v.a)){var n=this.nodeAt(e),o=this.nodeAt(e+t),i=n.node,r=o.node;if(i===r){var a=this.positionInBuffer(i,n.remainder),s=this.positionInBuffer(i,o.remainder);if(n.nodeStartOffset!==e)return n.nodeStartOffset+i.piece.length===e+t?(this.deleteNodeTail(i,a),this.validateCRLFWithNextNode(i)):this.shrinkNode(i,a,s),void this.computeBufferMetadata();if(t!==i.piece.length)return this.deleteNodeHead(i,s),this._searchCache.valdiate(e),this.validateCRLFWithPrevNode(i),void this.computeBufferMetadata();var l=i.next();return Object(v.e)(this,i),this.validateCRLFWithPrevNode(l),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(r,o.remainder);this.deleteNodeHead(r,d),0===r.piece.length&&u.push(r);for(var h=i.next();h!==v.a&&h!==r;h=h.next())u.push(h);var p=0===i.piece.length?i.prev():i;this.deleteNodes(u),this.validateCRLFWithNextNode(p),this.computeBufferMetadata()}},r.prototype.insertContentToNodeLeft=function(e,t){var n=[];if(this.shouldCheckCRLF()&&this.endWithCR(e)&&this.startWithLF(t)){var o=t.piece,i={line:o.start.line+1,column:0},r=new A(o.bufferIndex,i,o.end,this.getLineFeedCnt(o.bufferIndex,i,o.end),o.length-1);t.piece=r,e+="\n",Object(v.g)(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;0<=l;l--)s=this.rbInsertLeft(s,a[l]);this.validateCRLFWithPrevNode(s),this.deleteNodes(n)},r.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),o=this.rbInsertRight(t,n[0]),i=o,r=1;r<n.length;r++)i=this.rbInsertRight(i,n[r]);this.validateCRLFWithPrevNode(o)},r.prototype.positionInBuffer=function(e,t,n){for(var o=e.piece,i=e.piece.bufferIndex,r=this._buffers[i].lineStarts,a=r[o.start.line]+o.start.column+t,s=o.start.line,l=o.end.line,u=0,c=0,d=0;s<=l&&(d=r[u=s+(l-s)/2|0],u!==l);)if(c=r[u+1],a<d)l=u-1;else{if(!(c<=a))break;s=u+1}return n?(n.line=u,n.column=a-d,null):{line:u,column:a-d}},r.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var o=this._buffers[e].lineStarts;if(n.line===o.length-1)return n.line-t.line;var i=o[n.line+1],r=o[n.line]+n.column;if(r+1<i)return n.line-t.line;var a=r-1;return 13===this._buffers[e].buffer.charCodeAt(a)?n.line-t.line+1:n.line-t.line},r.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},r.prototype.deleteNodes=function(e){for(var t=0;t<e.length;t++)Object(v.e)(this,e[t])},r.prototype.createNewPieces=function(e){if(e.length>y){for(var t=[];e.length>y;){var n=e.charCodeAt(65534),o=void 0;e=13===n||55296<=n&&n<=56319?(o=e.substring(0,65534),e.substring(65534)):(o=e.substring(0,y),e.substring(y));var i=f(o);t.push(new A(this._buffers.length,{line:0,column:0},{line:i.length-1,column:o.length-i[i.length-1]},i.length-1,o.length)),this._buffers.push(new m(o,i))}var r=f(e);return t.push(new A(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new m(e,r)),t}var a=this._buffers[0].buffer.length,s=f(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={line:d,column:c-this._buffers[0].lineStarts[d]},p=new A(0,l,h,this.getLineFeedCnt(0,l,h),c-a);return this._lastChangeBufferPos=h,[p]},r.prototype.getLineRawContent=function(e,t){void 0===t&&(t=0);var n=this.root,o="",i=this._searchCache.get2(e);if(i){n=i.node;var r=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+r,s+l-t)}o=a.substring(s+r,s+n.piece.length)}else for(var u=0,c=e;n!==v.a;)if(n.left!==v.a&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1)return r=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),u+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:u,nodeStartLineNumber:c-(e-1-n.lf_left)}),a.substring(s+r,s+l-t);if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),a=this._buffers[n.piece.bufferIndex].buffer,s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),o=a.substring(s+r,s+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,u+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==v.a;){if(a=this._buffers[n.piece.bufferIndex].buffer,0<n.piece.lineFeedCnt)return l=this.getAccumulatedValue(n,0),s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),o+=a.substring(s,s+l-t);s=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start),o+=a.substr(s,n.piece.length),n=n.next()}return o},r.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==v.a;)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)},r.prototype.getIndexOf=function(e,t){var n=e.piece,o=this.positionInBuffer(e,t),i=o.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,o);if(r!==i)return{index:r,remainder:0}}return{index:i,remainder:o.column}},r.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,o=this._buffers[n.bufferIndex].lineStarts,i=n.start.line+t+1;return i>n.end.line?o[n.end.line]+n.end.column-o[n.start.line]-n.start.column:o[i]-o[n.start.line]-n.start.column},r.prototype.deleteNodeTail=function(e,t){var n=e.piece,o=n.lineFeedCnt,i=this.offsetInBuffer(n.bufferIndex,n.end),r=t,a=this.offsetInBuffer(n.bufferIndex,r),s=this.getLineFeedCnt(n.bufferIndex,n.start,r),l=s-o,u=a-i,c=n.length+u;e.piece=new A(n.bufferIndex,n.start,r,s,c),Object(v.g)(this,e,u,l)},r.prototype.deleteNodeHead=function(e,t){var n=e.piece,o=n.lineFeedCnt,i=this.offsetInBuffer(n.bufferIndex,n.start),r=t,a=this.getLineFeedCnt(n.bufferIndex,r,n.end),s=a-o,l=i-this.offsetInBuffer(n.bufferIndex,r),u=n.length+l;e.piece=new A(n.bufferIndex,r,n.end,a,u),Object(v.g)(this,e,l,s)},r.prototype.shrinkNode=function(e,t,n){var o=e.piece,i=o.start,r=o.end,a=o.length,s=o.lineFeedCnt,l=t,u=this.getLineFeedCnt(o.bufferIndex,o.start,l),c=this.offsetInBuffer(o.bufferIndex,t)-this.offsetInBuffer(o.bufferIndex,i);e.piece=new A(o.bufferIndex,o.start,l,u,c),Object(v.g)(this,e,c-a,u-s);var d=new A(o.bufferIndex,n,r,this.getLineFeedCnt(o.bufferIndex,n,r),this.offsetInBuffer(o.bufferIndex,r)-this.offsetInBuffer(o.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},r.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),o=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var i=f(t,!1),r=0;r<i.length;r++)i[r]+=o;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:o-a}}this._buffers[0].lineStarts=this._buffers[0].lineStarts.concat(i.slice(1));var s=this._buffers[0].lineStarts.length-1,l={line:s,column:this._buffers[0].buffer.length-this._buffers[0].lineStarts[s]},u=e.piece.length+t.length,c=e.piece.lineFeedCnt,d=this.getLineFeedCnt(0,e.piece.start,l),h=d-c;e.piece=new A(e.piece.bufferIndex,e.piece.start,l,d,u),this._lastChangeBufferPos=l,Object(v.g)(this,e,t.length,h)},r.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};for(var o=0;t!==v.a;)if(t.size_left>e)t=t.left;else{if(t.size_left+t.piece.length>=e){o+=t.size_left;var i={node:t,remainder:e-t.size_left,nodeStartOffset:o};return this._searchCache.set(i),i}e-=t.size_left+t.piece.length,o+=t.size_left+t.piece.length,t=t.right}return null},r.prototype.nodeAt2=function(e,t){for(var n=this.root,o=0;n!==v.a;)if(n.left!==v.a&&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),r=this.getAccumulatedValue(n,e-n.lf_left-1);return o+=n.size_left,{node:n,remainder:Math.min(i+t-1,r),nodeStartOffset:o}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((i=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:i+t-1,nodeStartOffset:o};t-=n.piece.length-i;break}e-=n.lf_left+n.piece.lineFeedCnt,o+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==v.a;){if(0<n.piece.lineFeedCnt){r=this.getAccumulatedValue(n,0);var a=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:a}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},r.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],o=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(o)},r.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},r.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},r.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===v.a||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,o=t.start.line,i=n[o]+t.start.column;return o!==n.length-1&&!(i+1<n[o+1])&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(i)},r.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==v.a&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},r.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},r.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},r.prototype.fixCRLF=function(e,t){var n,o=[],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 r=e.piece.length-1,a=e.piece.lineFeedCnt-1;e.piece=new A(e.piece.bufferIndex,e.piece.start,n,a,r),Object(v.g)(this,e,-1,-1),0===e.piece.length&&o.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 A(t.piece.bufferIndex,s,t.piece.end,u,l),Object(v.g)(this,t,-1,-1),0===t.piece.length&&o.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d<o.length;d++)Object(v.e)(this,o[d])},r.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)Object(v.e)(this,n);else{var o=n.piece,i={line:o.start.line+1,column:0},r=o.length-1,a=this.getLineFeedCnt(o.bufferIndex,i,o.end);n.piece=new A(o.bufferIndex,i,o.end,a,r),Object(v.g)(this,n,-1,-1)}return!0}}return!1},r.prototype.iterate=function(e,t){if(e===v.a)return t(v.a);var n=this.iterate(e.left,t);return n?t(e)&&this.iterate(e.right,t):n},r.prototype.getNodeContent=function(e){if(e===v.a)return"";var t=this._buffers[e.piece.bufferIndex],n=e.piece,o=this.offsetInBuffer(n.bufferIndex,n.start),i=this.offsetInBuffer(n.bufferIndex,n.end);return t.buffer.substring(o,i)},r.prototype.rbInsertRight=function(e,t){var n=new v.b(t,1);if(n.left=v.a,n.right=v.a,n.parent=v.a,n.size_left=0,n.lf_left=0,this.root===v.a)(this.root=n).color=0;else if(e.right===v.a)(e.right=n).parent=e;else{var o=Object(v.d)(e.right);(o.left=n).parent=o}return Object(v.c)(this,n),n},r.prototype.rbInsertLeft=function(e,t){var n=new v.b(t,1);if(n.left=v.a,n.right=v.a,n.parent=v.a,n.size_left=0,n.lf_left=0,this.root===v.a)(this.root=n).color=0;else if(e.left===v.a)(e.left=n).parent=e;else{var o=Object(v.f)(e.left);(o.right=n).parent=o}return Object(v.c)(this,n),n},r.prototype.getContentOfSubTree=function(e){var t=this,n="";return this.iterate(e,function(e){return n+=t.getNodeContent(e),!0}),n},r);function r(e,t,n){this.create(e,t,n)}},2081:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),t.d=b,n.d(t,"c",function(){return u}),t.e=v,n.d(t,"b",function(){return y});var o=n(989),i=n(1675),c=n(1124),g=n(988),m=n(1493),r=(a.prototype.parseSearchRequest=function(){if(""===this.searchString)return null;var e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(var t=0,n=e.length;t<n;t++)if(92===e.charCodeAt(t)){if(n<=++t)break;var o=e.charCodeAt(t);if(110===o||114===o||87===o)return!0}return!1}(this.searchString):0<=this.searchString.indexOf("\n");var t=null;try{t=o.h(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0})}catch(e){return null}if(!t)return null;var n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new s(t,this.wordSeparators?Object(i.a)(this.wordSeparators):null,n?this.searchString:null)},a);function a(e,t,n,o){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=o}var s=function(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n};function b(e,t,n){if(!n)return new m.b(e,null);for(var o=[],i=0,r=t.length;i<r;i++)o[i]=t[i];return new m.b(e,o)}var d=(l.prototype.findLineFeedCountBeforeOffset=function(e){var t=this._lineFeedsOffsets,n=0,o=t.length-1;if(-1===o)return 0;if(e<=t[0])return 0;for(;n<o;){var i=n+((o-n)/2>>0);t[i]>=e?o=i-1:t[i+1]>=e?o=n=i:n=i+1}return n+1},l);function l(e){for(var t=[],n=0,o=0,i=e.length;o<i;o++)10===e.charCodeAt(o)&&(t[n++]=o);this._lineFeedsOffsets=t}var u=(h.findMatches=function(e,t,n,o,i){var r=t.parseSearchRequest();return r?r.regex.multiline?this._doFindMatchesMultiline(e,n,new y(r.wordSeparators,r.regex),o,i):this._doFindMatchesLineByLine(e,n,r,o,i):[]},h._getMultilineMatchRange=function(e,t,n,o,i,r){var a,s,l=0;if(a=o?t+i+(l=o.findLineFeedCountBeforeOffset(i)):t+i,o){var u=o.findLineFeedCountBeforeOffset(i+r.length)-l;s=a+r.length+u}else s=a+r.length;var c=e.getPositionAt(a),d=e.getPositionAt(s);return new g.a(c.lineNumber,c.column,d.lineNumber,d.column)},h._doFindMatchesMultiline=function(e,t,n,o,i){var r,a=e.getOffsetAt(t.getStartPosition()),s=e.getValueInRange(t,1),l="\r\n"===e.getEOL()?new d(s):null,u=[],c=0;for(n.reset(0);r=n.next(s);)if(u[c++]=b(this._getMultilineMatchRange(e,a,s,l,r.index,r[0]),r,o),i<=c)return u;return u},h._doFindMatchesLineByLine=function(e,t,n,o,i){var r=[],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,r,o,i),r}var l=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);a=this._findMatchesInLine(n,l,t.startLineNumber,t.startColumn-1,a,r,o,i);for(var u=t.startLineNumber+1;u<t.endLineNumber&&a<i;u++)a=this._findMatchesInLine(n,e.getLineContent(u),u,0,a,r,o,i);if(a<i){var c=e.getLineContent(t.endLineNumber).substring(0,t.endColumn-1);a=this._findMatchesInLine(n,c,t.endLineNumber,0,a,r,o,i)}return r},h._findMatchesInLine=function(e,t,n,o,i,r,a,s){var l=e.wordSeparators;if(!a&&e.simpleSearch){for(var u=e.simpleSearch,c=u.length,d=t.length,h=-c;-1!==(h=t.indexOf(u,h+c));)if((!l||v(l,t,d,h,c))&&(r[i++]=new m.b(new g.a(n,h+1+o,n,h+1+c+o),null),s<=i))return i;return i}var p,f=new y(e.wordSeparators,e.regex);f.reset(0);do{if((p=f.next(t))&&(r[i++]=b(new g.a(n,p.index+1+o,n,p.index+1+p[0].length+o),p,a),s<=i))return i}while(p);return i},h.findNextMatch=function(e,t,n,o){var i=t.parseSearchRequest();if(!i)return null;var r=new y(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindNextMatchMultiline(e,n,r,o):this._doFindNextMatchLineByLine(e,n,r,o)},h._doFindNextMatchMultiline=function(e,t,n,o){var i=new c.a(t.lineNumber,1),r=e.getOffsetAt(i),a=e.getLineCount(),s=e.getValueInRange(new g.a(i.lineNumber,i.column,a,e.getLineMaxColumn(a)),1),l="\r\n"===e.getEOL()?new d(s):null;n.reset(t.column-1);var u=n.next(s);return u?b(this._getMultilineMatchRange(e,r,s,l,u.index,u[0]),u,o):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new c.a(1,1),n,o):null},h._doFindNextMatchLineByLine=function(e,t,n,o){var i=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r),s=this._findFirstMatchInLine(n,a,r,t.column,o);if(s)return s;for(var l=1;l<=i;l++){var u=(r+l-1)%i,c=e.getLineContent(1+u),d=this._findFirstMatchInLine(n,c,1+u,1,o);if(d)return d}return null},h._findFirstMatchInLine=function(e,t,n,o,i){e.reset(o-1);var r=e.next(t);return r?b(new g.a(n,r.index+1,n,r.index+1+r[0].length),r,i):null},h.findPreviousMatch=function(e,t,n,o){var i=t.parseSearchRequest();if(!i)return null;var r=new y(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindPreviousMatchMultiline(e,n,r,o):this._doFindPreviousMatchLineByLine(e,n,r,o)},h._doFindPreviousMatchMultiline=function(e,t,n,o){var i=this._doFindMatchesMultiline(e,new g.a(1,1,t.lineNumber,t.column),n,o,9990);if(0<i.length)return i[i.length-1];var r=e.getLineCount();return t.lineNumber!==r||t.column!==e.getLineMaxColumn(r)?this._doFindPreviousMatchMultiline(e,new c.a(r,e.getLineMaxColumn(r)),n,o):null},h._doFindPreviousMatchLineByLine=function(e,t,n,o){var i=e.getLineCount(),r=t.lineNumber,a=e.getLineContent(r).substring(0,t.column-1),s=this._findLastMatchInLine(n,a,r,o);if(s)return s;for(var l=1;l<=i;l++){var u=(i+r-l-1)%i,c=e.getLineContent(1+u),d=this._findLastMatchInLine(n,c,1+u,o);if(d)return d}return null},h._findLastMatchInLine=function(e,t,n,o){var i,r=null;for(e.reset(0);i=e.next(t);)r=b(new g.a(n,i.index+1,n,i.index+1+i[0].length),i,o);return r},h);function h(){}function v(e,t,n,o,i){return function(e,t,n,o,i){if(0===o)return!0;var r=t.charCodeAt(o-1);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(0<i){var a=t.charCodeAt(o);if(0!==e.get(a))return!0}return!1}(e,t,0,o,i)&&function(e,t,n,o,i){if(o+i===n)return!0;var r=t.charCodeAt(o+i);if(0!==e.get(r))return!0;if(13===r||10===r)return!0;if(0<i){var a=t.charCodeAt(o+i-1);if(0!==e.get(a))return!0}return!1}(e,t,n,o,i)}var y=(p.prototype.reset=function(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0},p.prototype.next=function(e){var t,n=e.length;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(!(t=this._searchRegex.exec(e)))return null;var o=t.index,i=t[0].length;if(o===this._prevMatchStartIndex&&i===this._prevMatchLength)return null;if(this._prevMatchStartIndex=o,this._prevMatchLength=i,!this._wordSeparators||v(this._wordSeparators,e,n,o,i))return t}while(t);return null},p);function p(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}},2082:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var v=n(989),y=n(2083),C=n(1318),A=n(2084),_=n(988),o=(i.deleteRight=function(e,t,n,o){for(var i=[],r=3!==e,a=0,s=o.length;a<s;a++){var l=o[a],u=l;if(u.isEmpty()){var c=l.getPosition(),d=A.a.right(t,n,c.lineNumber,c.column);u=new _.a(d.lineNumber,d.column,c.lineNumber,c.column)}u.isEmpty()?i[a]=null:(u.startLineNumber!==u.endLineNumber&&(r=!0),i[a]=new y.a(u,""))}return[r,i]},i._isAutoClosingPairDelete=function(e,t,n){if("never"===e.autoClosingBrackets&&"never"===e.autoClosingQuotes)return!1;for(var o=0,i=n.length;o<i;o++){var r=n[o],a=r.getPosition();if(!r.isEmpty())return!1;var s=t.getLineContent(a.lineNumber),l=s[a.column-2];if(!e.autoClosingPairsOpen.hasOwnProperty(l))return!1;if(Object(C.g)(l)){if("never"===e.autoClosingQuotes)return!1}else if("never"===e.autoClosingBrackets)return!1;if(s[a.column-1]!==e.autoClosingPairsOpen[l])return!1}return!0},i._runAutoClosingPairDelete=function(e,t,n){for(var o=[],i=0,r=n.length;i<r;i++){var a=n[i].getPosition(),s=new _.a(a.lineNumber,a.column-1,a.lineNumber,a.column+1);o[i]=new y.a(s,"")}return[!0,o]},i.deleteLeft=function(e,t,n,o){if(this._isAutoClosingPairDelete(t,n,o))return this._runAutoClosingPairDelete(t,n,o);for(var i=[],r=2!==e,a=0,s=o.length;a<s;a++){var l=o[a],u=l;if(u.isEmpty()){var c=l.getPosition();if(t.useTabStops&&1<c.column){var d=n.getLineContent(c.lineNumber),h=v.n(d),p=-1===h?d.length+1:h+1;if(c.column<=p){var f=C.a.visibleColumnFromColumn2(t,n,c),g=C.a.prevIndentTabStop(f,t.indentSize),m=C.a.columnFromVisibleColumn2(t,n,c.lineNumber,g);u=new _.a(c.lineNumber,m,c.lineNumber,c.column)}else u=new _.a(c.lineNumber,c.column-1,c.lineNumber,c.column)}else{var b=A.a.left(t,n,c.lineNumber,c.column);u=new _.a(b.lineNumber,b.column,c.lineNumber,c.column)}}u.isEmpty()?i[a]=null:(u.startLineNumber!==u.endLineNumber&&(r=!0),i[a]=new y.a(u,""))}return[r,i]},i.cut=function(e,t,n){for(var o=[],i=0,r=n.length;i<r;i++){var a=n[i];if(a.isEmpty())if(e.emptySelectionClipboard){var s=a.getPosition(),l=void 0,u=void 0,c=void 0,d=void 0;d=s.lineNumber<t.getLineCount()?(l=s.lineNumber,u=1,c=s.lineNumber+1,1):(u=1<s.lineNumber?(l=s.lineNumber-1,t.getLineMaxColumn(s.lineNumber-1)):(l=s.lineNumber,1),c=s.lineNumber,t.getLineMaxColumn(s.lineNumber));var h=new _.a(l,u,c,d);h.isEmpty()?o[i]=null:o[i]=new y.a(h,"")}else o[i]=null;else o[i]=new y.a(a,"")}return new C.e(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},i);function i(){}},2083:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"b",function(){return l});var o=n(1303),i=(r.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},r.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new o.a(n.endLineNumber,n.endColumn,n.endLineNumber,n.endColumn)},r);function r(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}var a=(s.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},s.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new o.a(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},s);function s(e,t,n){void 0===n&&(n=!1),this._range=e,this._text=t,this.insertsAutoWhitespace=n}var l=(u.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(this._range,this._text)},u.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations()[0].range;return new o.a(n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset,n.endLineNumber+this._lineNumberDeltaOffset,n.endColumn+this._columnDeltaOffset)},u);function u(e,t,n,o,i){void 0===i&&(i=!1),this._range=e,this._text=t,this._columnDeltaOffset=o,this._lineNumberDeltaOffset=n,this.insertsAutoWhitespace=i}c.prototype.getEditOperations=function(e,t){t.addEditOperation(this._range,this._text),this._selectionId=t.trackSelection(this._initialSelection)},c.prototype.computeCursorState=function(e,t){return t.getTrackedSelection(this._selectionId)};function c(e,t,n){this._range=e,this._text=t,this._initialSelection=n}},2084:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var u=n(1318),a=n(1124),s=n(988),c=function(e,t,n){this.lineNumber=e,this.column=t,this.leftoverVisibleColumns=n},o=(l.left=function(e,t,n,o){return o>t.getLineMinColumn(n)?u.a.isLowSurrogate(t,n,o-2)?o-=2:o-=1:1<n&&(n-=1,o=t.getLineMaxColumn(n)),new c(n,o,0)},l.moveLeft=function(e,t,n,o,i){var r,a;if(n.hasSelection()&&!o)r=n.selection.startLineNumber,a=n.selection.startColumn;else{var s=l.left(e,t,n.position.lineNumber,n.position.column-(i-1));r=s.lineNumber,a=s.column}return n.move(o,r,a,0)},l.right=function(e,t,n,o){return o<t.getLineMaxColumn(n)?u.a.isHighSurrogate(t,n,o-1)?o+=2:o+=1:n<t.getLineCount()&&(n+=1,o=t.getLineMinColumn(n)),new c(n,o,0)},l.moveRight=function(e,t,n,o,i){var r,a;if(n.hasSelection()&&!o)r=n.selection.endLineNumber,a=n.selection.endColumn;else{var s=l.right(e,t,n.position.lineNumber,n.position.column+(i-1));r=s.lineNumber,a=s.column}return n.move(o,r,a,0)},l.down=function(e,t,n,o,i,r,a){var s=u.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+i;n+=r;var l=t.getLineCount();return l<n?(n=l,a?o=t.getLineMaxColumn(n):(o=Math.min(t.getLineMaxColumn(n),o),u.a.isInsideSurrogatePair(t,n,o)&&(o-=1))):(o=u.a.columnFromVisibleColumn2(e,t,n,s),u.a.isInsideSurrogatePair(t,n,o)&&(o-=1)),i=s-u.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new c(n,o,i)},l.moveDown=function(e,t,n,o,i){var r,a;a=n.hasSelection()&&!o?(r=n.selection.endLineNumber,n.selection.endColumn):(r=n.position.lineNumber,n.position.column);var s=l.down(e,t,r,a,n.leftoverVisibleColumns,i,!0);return n.move(o,s.lineNumber,s.column,s.leftoverVisibleColumns)},l.translateDown=function(e,t,n){var o=n.selection,i=l.down(e,t,o.selectionStartLineNumber,o.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=l.down(e,t,o.positionLineNumber,o.positionColumn,n.leftoverVisibleColumns,1,!1);return new u.f(new s.a(i.lineNumber,i.column,i.lineNumber,i.column),i.leftoverVisibleColumns,new a.a(r.lineNumber,r.column),r.leftoverVisibleColumns)},l.up=function(e,t,n,o,i,r,a){var s=u.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize)+i;return(n-=r)<1?(n=1,a?o=t.getLineMinColumn(n):(o=Math.min(t.getLineMaxColumn(n),o),u.a.isInsideSurrogatePair(t,n,o)&&(o-=1))):(o=u.a.columnFromVisibleColumn2(e,t,n,s),u.a.isInsideSurrogatePair(t,n,o)&&(o-=1)),i=s-u.a.visibleColumnFromColumn(t.getLineContent(n),o,e.tabSize),new c(n,o,i)},l.moveUp=function(e,t,n,o,i){var r,a;a=n.hasSelection()&&!o?(r=n.selection.startLineNumber,n.selection.startColumn):(r=n.position.lineNumber,n.position.column);var s=l.up(e,t,r,a,n.leftoverVisibleColumns,i,!0);return n.move(o,s.lineNumber,s.column,s.leftoverVisibleColumns)},l.translateUp=function(e,t,n){var o=n.selection,i=l.up(e,t,o.selectionStartLineNumber,o.selectionStartColumn,n.selectionStartLeftoverVisibleColumns,1,!1),r=l.up(e,t,o.positionLineNumber,o.positionColumn,n.leftoverVisibleColumns,1,!1);return new u.f(new s.a(i.lineNumber,i.column,i.lineNumber,i.column),i.leftoverVisibleColumns,new a.a(r.lineNumber,r.column),r.leftoverVisibleColumns)},l.moveToBeginningOfLine=function(e,t,n,o){var i,r=n.position.lineNumber,a=t.getLineMinColumn(r),s=t.getLineFirstNonWhitespaceColumn(r)||a;return i=n.position.column===s?a:s,n.move(o,r,i,0)},l.moveToEndOfLine=function(e,t,n,o){var i=n.position.lineNumber,r=t.getLineMaxColumn(i);return n.move(o,i,r,0)},l.moveToBeginningOfBuffer=function(e,t,n,o){return n.move(o,1,1,0)},l.moveToEndOfBuffer=function(e,t,n,o){var i=t.getLineCount(),r=t.getLineMaxColumn(i);return n.move(o,i,r,0)},l);function l(){}},2085:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var v=n(1222),x=n(989),S=n(2083),d=n(2405),c=n(2406),L=n(1318),y=n(1675),D=n(988),k=n(1585),N=n(1495),o=(I.indent=function(e,t,n){if(null===t||null===n)return[];for(var o=[],i=0,r=n.length;i<r;i++)o[i]=new d.a(n[i],{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops});return o},I.outdent=function(e,t,n){for(var o=[],i=0,r=n.length;i<r;i++)o[i]=new d.a(n[i],{isUnshift:!0,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops});return o},I.shiftIndent=function(e,t,n){return n=n||1,d.a.shiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},I.unshiftIndent=function(e,t,n){return n=n||1,d.a.unshiftIndent(t,t.length+n,e.tabSize,e.indentSize,e.insertSpaces)},I._distributedPaste=function(e,t,n,o){for(var i=[],r=0,a=n.length;r<a;r++)i[r]=new S.a(n[r],o[r]);return new L.e(0,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},I._simplePaste=function(e,t,n,o,i){for(var r=[],a=0,s=n.length;a<s;a++){var l=n[a],u=l.getPosition();if(i&&o.indexOf("\n")!==o.length-1&&(i=!1),i&&l.startLineNumber!==l.endLineNumber&&(i=!1),i&&l.startColumn===t.getLineMinColumn(l.startLineNumber)&&l.endColumn===t.getLineMaxColumn(l.startLineNumber)&&(i=!1),i){var c=new D.a(u.lineNumber,1,u.lineNumber,1);r[a]=new S.a(c,o)}else r[a]=new S.a(l,o)}return new L.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},I._distributePasteToCursors=function(e,t,n,o){if(n)return null;if(1===e.length)return null;if(o&&o.length===e.length)return o;10===t.charCodeAt(t.length-1)&&(t=t.substr(0,t.length-1));var i=t.split(/\r\n|\r|\n/);return i.length===e.length?i:null},I.paste=function(e,t,n,o,i,r){var a=this._distributePasteToCursors(n,o,i,r);return a?(n=n.sort(D.a.compareRangesUsingStarts),this._distributedPaste(e,t,n,a)):this._simplePaste(e,t,n,o,i)},I._goodIndentForLine=function(e,t,n){var o=null,i="",r=e.autoIndent?N.a.getInheritIndentForLine(t,n,!1):null;if(r)o=r.action,i=r.indentation;else if(1<n){var a=void 0;for(a=n-1;1<=a;a--){var s=t.getLineContent(a);if(0<=x.x(s))break}if(a<1)return null;var l=t.getLineMaxColumn(a),u=N.a.getEnterAction(t,new D.a(a,l,a,l));u&&(i=u.indentation,(o=u.enterAction)&&(i+=o.appendText))}return o&&(o===k.a.Indent&&(i=I.shiftIndent(e,i)),o===k.a.Outdent&&(i=I.unshiftIndent(e,i)),i=e.normalizeIndentation(i)),i||null},I._replaceJumpToNextIndent=function(e,t,n,o){var i="",r=n.getStartPosition();if(e.insertSpaces)for(var a=L.a.visibleColumnFromColumn2(e,t,r),s=e.indentSize,l=s-a%s,u=0;u<l;u++)i+=" ";else i="\t";return new S.a(n,i,o)},I.tab=function(e,t,n){for(var o=[],i=0,r=n.length;i<r;i++){var a=n[i];if(a.isEmpty()){var s=t.getLineContent(a.startLineNumber);if(/^\s*$/.test(s)&&t.isCheapToTokenize(a.startLineNumber)){var l=this._goodIndentForLine(e,t,a.startLineNumber);l=l||"\t";var u=e.normalizeIndentation(l);if(!x.B(s,u)){o[i]=new S.a(new D.a(a.startLineNumber,1,a.startLineNumber,s.length+1),u,!0);continue}}o[i]=this._replaceJumpToNextIndent(e,t,a,!0)}else{if(a.startLineNumber===a.endLineNumber){var c=t.getLineMaxColumn(a.startLineNumber);if(1!==a.startColumn||a.endColumn!==c){o[i]=this._replaceJumpToNextIndent(e,t,a,!1);continue}}o[i]=new d.a(a,{isUnshift:!1,tabSize:e.tabSize,indentSize:e.indentSize,insertSpaces:e.insertSpaces,useTabStops:e.useTabStops})}}return o},I.replacePreviousChar=function(e,t,n,o,i,r){for(var a=[],s=0,l=o.length;s<l;s++){var u=o[s];if(u.isEmpty()){var c=u.getPosition(),d=Math.max(1,c.column-r),h=new D.a(c.lineNumber,d,c.lineNumber,c.column);a[s]=new S.a(h,i)}else a[s]=null}return new L.e(1,a,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},I._typeCommand=function(e,t,n){return n?new S.c(e,t,!0):new S.a(e,t,!0)},I._enter=function(t,e,n,o){if(!e.isCheapToTokenize(o.getStartPosition().lineNumber)){var i=e.getLineContent(o.startLineNumber),r=x.p(i).substring(0,o.startColumn-1);return I._typeCommand(o,"\n"+t.normalizeIndentation(r),n)}var a=N.a.getEnterAction(e,o);if(a){var s=a.enterAction,l=a.indentation;if(s.indentAction===k.a.None)return I._typeCommand(o,"\n"+t.normalizeIndentation(l+s.appendText),n);if(s.indentAction===k.a.Indent)return I._typeCommand(o,"\n"+t.normalizeIndentation(l+s.appendText),n);if(s.indentAction===k.a.IndentOutdent){var u=t.normalizeIndentation(l),c=t.normalizeIndentation(l+s.appendText),d="\n"+c+"\n"+u;return n?new S.c(o,d,!0):new S.b(o,d,-1,c.length-u.length,!0)}if(s.indentAction===k.a.Outdent){var h=I.unshiftIndent(t,l);return I._typeCommand(o,"\n"+t.normalizeIndentation(h+s.appendText),n)}}if(!t.autoIndent){var p=e.getLineContent(o.startLineNumber),f=x.p(p).substring(0,o.startColumn-1);return I._typeCommand(o,"\n"+t.normalizeIndentation(f),n)}var g=N.a.getIndentForEnter(e,o,{unshiftIndent:function(e){return I.unshiftIndent(t,e)},shiftIndent:function(e){return I.shiftIndent(t,e)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}},t.autoIndent),m=e.getLineContent(o.startLineNumber),b=x.p(m).substring(0,o.startColumn-1);if(g){var v=L.a.visibleColumnFromColumn2(t,e,o.getEndPosition()),y=o.endColumn,C="\n";b!==t.normalizeIndentation(g.beforeEnter)&&(C=t.normalizeIndentation(g.beforeEnter)+m.substring(b.length,o.startColumn-1)+"\n",o=new D.a(o.startLineNumber,1,o.endLineNumber,o.endColumn));var A=e.getLineContent(o.endLineNumber),_=x.n(A);if(o=0<=_?o.setEndPosition(o.endLineNumber,Math.max(o.endColumn,_+1)):o.setEndPosition(o.endLineNumber,e.getLineMaxColumn(o.endLineNumber)),n)return new S.c(o,C+t.normalizeIndentation(g.afterEnter),!0);var w=0;return y<=_+1&&(t.insertSpaces||(v=Math.ceil(v/t.indentSize)),w=Math.min(v+1-t.normalizeIndentation(g.afterEnter).length-1,0)),new S.b(o,C+t.normalizeIndentation(g.afterEnter),0,w,!0)}return I._typeCommand(o,"\n"+t.normalizeIndentation(b),n)},I._isAutoIndentType=function(e,t,n){if(!e.autoIndent)return!1;for(var o=0,i=n.length;o<i;o++)if(!t.isCheapToTokenize(n[o].getEndPosition().lineNumber))return!1;return!0},I._runAutoIndentType=function(t,e,n,o){var i=N.a.getIndentationAtPosition(e,n.startLineNumber,n.startColumn),r=N.a.getIndentActionForType(e,n,o,{shiftIndent:function(e){return I.shiftIndent(t,e)},unshiftIndent:function(e){return I.unshiftIndent(t,e)}});if(null===r)return null;if(r===t.normalizeIndentation(i))return null;var a=e.getLineFirstNonWhitespaceColumn(n.startLineNumber);return I._typeCommand(new D.a(n.startLineNumber,0,n.endLineNumber,n.endColumn),0===a?t.normalizeIndentation(r)+o:t.normalizeIndentation(r)+e.getLineContent(n.startLineNumber).substring(a-1,n.startColumn-1)+o,!1)},I._isAutoClosingCloseCharType=function(e,t,n,o){if("never"===(Object(L.g)(o)?e.autoClosingQuotes:e.autoClosingBrackets)||!e.autoClosingPairsClose.hasOwnProperty(o))return!1;for(var i=o===e.autoClosingPairsClose[o],r=0,a=n.length;r<a;r++){var s=n[r];if(!s.isEmpty())return!1;var l=s.getPosition(),u=t.getLineContent(l.lineNumber);if(u.charAt(l.column-1)!==o)return!1;if(i){var c=u.substr(0,l.column-1);if(this._countNeedlesInHaystack(c,o)%2==0)return!1}}return!0},I._countNeedlesInHaystack=function(e,t){for(var n=0,o=-1;-1!==(o=e.indexOf(t,o+1));)n++;return n},I._runAutoClosingCloseCharType=function(e,t,n,o,i){for(var r=[],a=0,s=o.length;a<s;a++){var l=o[a].getPosition(),u=new D.a(l.lineNumber,l.column,l.lineNumber,l.column+1);r[a]=new S.a(u,i)}return new L.e(1,r,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},I._isBeforeClosingBrace=function(e,t,n){var o=e.autoClosingPairsOpen[t]===t,i=!1;for(var r in e.autoClosingPairsClose){var a=e.autoClosingPairsOpen[r]===r;if((o||!a)&&n===r){i=!0;break}}return i},I._isAutoClosingOpenCharType=function(e,t,n,o){var i=Object(L.g)(o);if("never"===(i?e.autoClosingQuotes:e.autoClosingBrackets)||!e.autoClosingPairsOpen.hasOwnProperty(o))return!1;for(var r=i?e.shouldAutoCloseBefore.quote:e.shouldAutoCloseBefore.bracket,a=0,s=n.length;a<s;a++){var l=n[a];if(!l.isEmpty())return!1;var u=l.getPosition(),c=t.getLineContent(u.lineNumber);if(i&&1<u.column){var d=Object(y.a)(e.wordSeparators),h=c.charCodeAt(u.column-2);if(0===d.get(h))return!1}var p=c.charAt(u.column-1);if(p&&!I._isBeforeClosingBrace(e,o,p)&&!r(p))return!1;if(!t.isCheapToTokenize(u.lineNumber))return!1;t.forceTokenization(u.lineNumber);var f=t.getLineTokens(u.lineNumber),g=!1;try{g=N.a.shouldAutoClosePair(o,f,u.column)}catch(e){Object(v.e)(e)}if(!g)return!1}return!0},I._runAutoClosingOpenCharType=function(e,t,n,o,i){for(var r=[],a=0,s=o.length;a<s;a++){var l=o[a],u=t.autoClosingPairsOpen[i];r[a]=new S.b(l,i+u,0,-u.length)}return new L.e(1,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},I._shouldSurroundChar=function(e,t){return Object(L.g)(t)?"quotes"===e.autoSurround||"languageDefined"===e.autoSurround:"brackets"===e.autoSurround||"languageDefined"===e.autoSurround},I._isSurroundSelectionType=function(e,t,n,o){if(!I._shouldSurroundChar(e,o)||!e.surroundingPairs.hasOwnProperty(o))return!1;for(var i=Object(L.g)(o),r=0,a=n.length;r<a;r++){var s=n[r];if(s.isEmpty())return!1;for(var l=!0,u=s.startLineNumber;u<=s.endLineNumber;u++){var c=t.getLineContent(u),d=u===s.startLineNumber?s.startColumn-1:0,h=u===s.endLineNumber?s.endColumn-1:c.length,p=c.substring(d,h);if(/[^ \t]/.test(p)){l=!1;break}}if(l)return!1;if(i&&s.startLineNumber===s.endLineNumber&&s.startColumn+1===s.endColumn){var f=t.getValueInRange(s);if(Object(L.g)(f))return!1}}return!0},I._runSurroundSelectionType=function(e,t,n,o,i){for(var r=[],a=0,s=o.length;a<s;a++){var l=o[a],u=t.surroundingPairs[i];r[a]=new c.a(l,i,u)}return new L.e(0,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})},I._isTypeInterceptorElectricChar=function(e,t,n){return!(1!==n.length||!t.isCheapToTokenize(n[0].getEndPosition().lineNumber))},I._typeInterceptorElectricChar=function(e,t,n,o,i){if(!t.electricChars.hasOwnProperty(i)||!o.isEmpty())return null;var r=o.getPosition();n.forceTokenization(r.lineNumber);var a,s=n.getLineTokens(r.lineNumber);try{a=N.a.onElectricCharacter(i,s,r.column)}catch(e){return Object(v.e)(e),null}if(!a)return null;if(a.appendText){var l=new S.b(o,i+a.appendText,0,-a.appendText.length);return new L.e(1,[l],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}if(a.matchOpenBracket){var u=(s.getLineContent()+i).lastIndexOf(a.matchOpenBracket)+1,c=n.findMatchingBracketUp(a.matchOpenBracket,{lineNumber:r.lineNumber,column:u});if(c){if(c.startLineNumber===r.lineNumber)return null;var d=n.getLineContent(c.startLineNumber),h=x.p(d),p=t.normalizeIndentation(h),f=n.getLineContent(r.lineNumber),g=n.getLineFirstNonWhitespaceColumn(r.lineNumber)||r.column,m=p+f.substring(g-1,r.column-1)+i,b=new D.a(r.lineNumber,1,r.lineNumber,r.column);return l=new S.a(b,m),new L.e(1,[l],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!0})}}return null},I.compositionEndWithInterceptors=function(e,t,n,o){if("never"===t.autoClosingQuotes)return null;for(var i=[],r=0;r<o.length;r++)if(o[r].isEmpty()){var a=o[r].getPosition(),s=n.getLineContent(a.lineNumber),l=s.charAt(a.column-2);if(t.autoClosingPairsClose.hasOwnProperty(l)&&l===t.autoClosingPairsClose[l]){var u=s.substr(0,a.column-2);if(this._countNeedlesInHaystack(u,l)%2==1)continue}if(t.autoClosingPairsOpen.hasOwnProperty(l)){if(Object(L.g)(l)&&2<a.column){var c=Object(y.a)(t.wordSeparators),d=s.charCodeAt(a.column-3);if(0===c.get(d))continue}var h=s.charAt(a.column-1);if(h){var p=I._isBeforeClosingBrace(t,l,h),f=Object(L.g)(l)?t.shouldAutoCloseBefore.quote:t.shouldAutoCloseBefore.bracket;if(p)continue;if(!f(h))continue}if(!n.isCheapToTokenize(a.lineNumber))continue;n.forceTokenization(a.lineNumber);var g=n.getLineTokens(a.lineNumber),m=!1;try{m=N.a.shouldAutoClosePair(l,g,a.column-1)}catch(e){Object(v.e)(e)}if(m){var b=t.autoClosingPairsOpen[l];i[r]=new S.b(o[r],b,0,-b.length)}}}return new L.e(1,i,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})},I.typeWithInterceptors=function(e,t,n,o,i){if("\n"===i){for(var r=[],a=0,s=o.length;a<s;a++)r[a]=I._enter(t,n,!1,o[a]);return new L.e(1,r,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoIndentType(t,n,o)){var l=[],u=!1;for(a=0,s=o.length;a<s;a++)if(l[a]=this._runAutoIndentType(t,n,o[a],i),!l[a]){u=!0;break}if(!u)return new L.e(1,l,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!1})}if(this._isAutoClosingCloseCharType(t,n,o,i))return this._runAutoClosingCloseCharType(e,t,n,o,i);if(this._isAutoClosingOpenCharType(t,n,o,i))return this._runAutoClosingOpenCharType(e,t,n,o,i);if(this._isSurroundSelectionType(t,n,o,i))return this._runSurroundSelectionType(e,t,n,o,i);if(this._isTypeInterceptorElectricChar(t,n,o)){var c=this._typeInterceptorElectricChar(e,t,n,o[0],i);if(c)return c}var d=[];for(a=0,s=o.length;a<s;a++)d[a]=new S.a(o[a],i);var h=1!==e;return" "===i&&(h=!0),new L.e(1,d,{shouldPushStackElementBefore:h,shouldPushStackElementAfter:!1})},I.typeWithoutInterceptors=function(e,t,n,o,i){for(var r=[],a=0,s=o.length;a<s;a++)r[a]=new S.a(o[a],i);return new L.e(1,r,{shouldPushStackElementBefore:1!==e,shouldPushStackElementAfter:!1})},I.lineInsertBefore=function(e,t,n){if(null===t||null===n)return[];for(var o=[],i=0,r=n.length;i<r;i++){var a=n[i].positionLineNumber;if(1===a)o[i]=new S.c(new D.a(1,1,1,1),"\n");else{a--;var s=t.getLineMaxColumn(a);o[i]=this._enter(e,t,!1,new D.a(a,s,a,s))}}return o},I.lineInsertAfter=function(e,t,n){if(null===t||null===n)return[];for(var o=[],i=0,r=n.length;i<r;i++){var a=n[i].positionLineNumber,s=t.getLineMaxColumn(a);o[i]=this._enter(e,t,!1,new D.a(a,s,a,s))}return o},I.lineBreakInsert=function(e,t,n){for(var o=[],i=0,r=n.length;i<r;i++)o[i]=this._enter(e,t,!0,n[i]);return o},I);function I(){}},2086:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o,i,r=n(1291);(i=o=o||{}).editorTextFocus=new r.d("editorTextFocus",!1),i.focus=new r.d("editorFocus",!1),i.textInputFocus=new r.d("textInputFocus",!1),i.readOnly=new r.d("editorReadonly",!1),i.writable=i.readOnly.toNegated(),i.hasNonEmptySelection=new r.d("editorHasSelection",!1),i.hasOnlyEmptySelection=i.hasNonEmptySelection.toNegated(),i.hasMultipleSelections=new r.d("editorHasMultipleSelections",!1),i.hasSingleSelection=i.hasMultipleSelections.toNegated(),i.tabMovesFocus=new r.d("editorTabMovesFocus",!1),i.tabDoesNotMoveFocus=i.tabMovesFocus.toNegated(),i.isInEmbeddedEditor=new r.d("isInEmbeddedEditor",!1),i.canUndo=new r.d("canUndo",!1),i.canRedo=new r.d("canRedo",!1),i.languageId=new r.d("editorLangId",""),i.hasCompletionItemProvider=new r.d("editorHasCompletionItemProvider",!1),i.hasCodeActionsProvider=new r.d("editorHasCodeActionsProvider",!1),i.hasCodeLensProvider=new r.d("editorHasCodeLensProvider",!1),i.hasDefinitionProvider=new r.d("editorHasDefinitionProvider",!1),i.hasDeclarationProvider=new r.d("editorHasDeclarationProvider",!1),i.hasImplementationProvider=new r.d("editorHasImplementationProvider",!1),i.hasTypeDefinitionProvider=new r.d("editorHasTypeDefinitionProvider",!1),i.hasHoverProvider=new r.d("editorHasHoverProvider",!1),i.hasDocumentHighlightProvider=new r.d("editorHasDocumentHighlightProvider",!1),i.hasDocumentSymbolProvider=new r.d("editorHasDocumentSymbolProvider",!1),i.hasReferenceProvider=new r.d("editorHasReferenceProvider",!1),i.hasRenameProvider=new r.d("editorHasRenameProvider",!1),i.hasDocumentFormattingProvider=new r.d("editorHasDocumentFormattingProvider",!1),i.hasDocumentSelectionFormattingProvider=new r.d("editorHasDocumentSelectionFormattingProvider",!1),i.hasSignatureHelpProvider=new r.d("editorHasSignatureHelpProvider",!1)},2087:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o,i,r=n(1126),a=n(1223),l=n(1674),s=n(1788),u=n(2422),c=n(1789),d=n(1134),h=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=(i=c.a,h(f,i),f.prototype._createArrow=function(e){var t=this._register(new s.b(e));this.domNode.domNode.appendChild(t.bgDomNode),this.domNode.domNode.appendChild(t.domNode)},f.prototype._createSlider=function(e,t,n,o){var i=this;this.slider=Object(a.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 o&&this.slider.setHeight(o),this.slider.setLayerHinting(!0),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,function(e){e.leftButton&&(e.preventDefault(),i._sliderMouseDown(e,function(){}))})},f.prototype._onElementSize=function(e){return this._scrollbarState.setVisibleSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},f.prototype._onElementScrollSize=function(e){return this._scrollbarState.setScrollSize(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},f.prototype._onElementScrollPosition=function(e){return this._scrollbarState.setScrollPosition(e)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender},f.prototype.beginReveal=function(){this._visibilityController.setShouldBeVisible(!0)},f.prototype.beginHide=function(){this._visibilityController.setShouldBeVisible(!1)},f.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()))},f.prototype._domNodeMouseDown=function(e){e.target===this.domNode.domNode&&this._onMouseDown(e)},f.prototype.delegateMouseDown=function(e){var t=this.domNode.domNode.getClientRects()[0].top,n=t+this._scrollbarState.getSliderPosition(),o=t+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),i=this._sliderMousePosition(e);n<=i&&i<=o?e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,function(){})):this._onMouseDown(e)},f.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 o=r.s(this.domNode.domNode);t=e.posx-o.left,n=e.posy-o.top}this._setDesiredScrollPositionNow(this._scrollbarState.getDesiredScrollPositionFromOffset(this._mouseDownRelativePosition(t,n))),e.leftButton&&(e.preventDefault(),this._sliderMouseDown(e,function(){}))},f.prototype._sliderMouseDown=function(e,t){var i=this,r=this._sliderMousePosition(e),a=this._sliderOrthogonalMousePosition(e),s=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(l.b,function(e){var t=i._sliderOrthogonalMousePosition(e),n=Math.abs(t-a);if(d.g&&140<n)i._setDesiredScrollPositionNow(s.getScrollPosition());else{var o=i._sliderMousePosition(e)-r;i._setDesiredScrollPositionNow(s.getDesiredScrollPositionFromDelta(o))}},function(){i.slider.toggleClassName("active",!1),i._host.onDragEnd(),t()}),this._host.onDragStart()},f.prototype._setDesiredScrollPositionNow=function(e){var t={};this.writeScrollPosition(t,e),this._scrollable.setScrollPositionNow(t)},f);function f(e){var t=i.call(this)||this;return t._lazyRender=e.lazyRender,t._host=e.host,t._scrollable=e.scrollable,t._scrollbarState=e.scrollbarState,t._visibilityController=t._register(new u.a(e.visibility,"visible scrollbar "+e.extraScrollbarClassName,"invisible scrollbar "+e.extraScrollbarClassName)),t._mouseMoveMonitor=t._register(new l.a),t._shouldRender=!0,t.domNode=Object(a.b)(document.createElement("div")),t.domNode.setAttribute("role","presentation"),t.domNode.setAttribute("aria-hidden","true"),t._visibilityController.setDomNode(t.domNode),t.domNode.setPosition("absolute"),t.onmousedown(t.domNode.domNode,function(e){return t._domNodeMouseDown(e)}),t}},2088:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.clone=function(){var e=new i(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize);return e.setVisibleSize(this._visibleSize),e.setScrollSize(this._scrollSize),e.setScrollPosition(this._scrollPosition),e},i.prototype.setVisibleSize=function(e){var t=Math.round(e);return this._visibleSize!==t&&(this._visibleSize=t,this._refreshComputedValues(),!0)},i.prototype.setScrollSize=function(e){var t=Math.round(e);return this._scrollSize!==t&&(this._scrollSize=t,this._refreshComputedValues(),!0)},i.prototype.setScrollPosition=function(e){var t=Math.round(e);return this._scrollPosition!==t&&(this._scrollPosition=t,this._refreshComputedValues(),!0)},i._computeValues=function(e,t,n,o,i){var r=Math.max(0,n-e),a=Math.max(0,r-2*t),s=0<o&&n<o;if(!s)return{computedAvailableSize:Math.round(r),computedIsNeeded:s,computedSliderSize:Math.round(a),computedSliderRatio:0,computedSliderPosition:0};var l=Math.round(Math.max(20,Math.floor(n*a/o))),u=(a-l)/(o-n),c=i*u;return{computedAvailableSize:Math.round(r),computedIsNeeded:s,computedSliderSize:Math.round(l),computedSliderRatio:u,computedSliderPosition:Math.round(c)}},i.prototype._refreshComputedValues=function(){var e=i._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=e.computedAvailableSize,this._computedIsNeeded=e.computedIsNeeded,this._computedSliderSize=e.computedSliderSize,this._computedSliderRatio=e.computedSliderRatio,this._computedSliderPosition=e.computedSliderPosition},i.prototype.getArrowSize=function(){return this._arrowSize},i.prototype.getScrollPosition=function(){return this._scrollPosition},i.prototype.getRectangleLargeSize=function(){return this._computedAvailableSize},i.prototype.getRectangleSmallSize=function(){return this._scrollbarSize},i.prototype.isNeeded=function(){return this._computedIsNeeded},i.prototype.getSliderSize=function(){return this._computedSliderSize},i.prototype.getSliderPosition=function(){return this._computedSliderPosition},i.prototype.getDesiredScrollPositionFromOffset=function(e){if(!this._computedIsNeeded)return 0;var t=e-this._arrowSize-this._computedSliderSize/2;return Math.round(t/this._computedSliderRatio)},i.prototype.getDesiredScrollPositionFromDelta=function(e){if(!this._computedIsNeeded)return 0;var t=this._computedSliderPosition+e;return Math.round(t/this._computedSliderRatio)},i);function i(e,t,n){this._scrollbarSize=Math.round(t),this._oppositeScrollbarSize=Math.round(n),this._arrowSize=Math.round(e),this._visibleSize=0,this._scrollSize=0,this._scrollPosition=0,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}},2089:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i=n(966),r=n(868),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(l.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},l.prototype.withScrollDimensions=function(e){return new l(void 0!==e.width?e.width:this.width,void 0!==e.scrollWidth?e.scrollWidth:this.scrollWidth,this.scrollLeft,void 0!==e.height?e.height:this.height,void 0!==e.scrollHeight?e.scrollHeight:this.scrollHeight,this.scrollTop)},l.prototype.withScrollPosition=function(e){return new l(this.width,this.scrollWidth,void 0!==e.scrollLeft?e.scrollLeft:this.scrollLeft,this.height,this.scrollHeight,void 0!==e.scrollTop?e.scrollTop:this.scrollTop)},l.prototype.createScrollEvent=function(e){var t=this.width!==e.width,n=this.scrollWidth!==e.scrollWidth,o=this.scrollLeft!==e.scrollLeft,i=this.height!==e.height,r=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:o,heightChanged:i,scrollHeightChanged:r,scrollTopChanged:a}},l);function l(e,t,n,o,i,r){(e|=0)<0&&(e=0),(t|=0)<(n|=0)+e&&(n=t-e),n<0&&(n=0),(o|=0)<0&&(o=0),(i|=0)<(r|=0)+o&&(r=i-o),r<0&&(r=0),this.width=e,this.scrollWidth=t,this.scrollLeft=n,this.height=o,this.scrollHeight=i,this.scrollTop=r}var u,c=(u=r.a,a(d,u),d.prototype.dispose=function(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),u.prototype.dispose.call(this)},d.prototype.setSmoothScrollDuration=function(e){this._smoothScrollDuration=e},d.prototype.validateScrollPosition=function(e){return this._state.withScrollPosition(e)},d.prototype.getScrollDimensions=function(){return this._state},d.prototype.setScrollDimensions=function(e){var t=this._state.withScrollDimensions(e);this._setState(t),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)},d.prototype.getFutureScrollPosition=function(){return this._smoothScrolling?this._smoothScrolling.to:this._state},d.prototype.getCurrentScrollPosition=function(){return this._state},d.prototype.setScrollPositionNow=function(e){var t=this._state.withScrollPosition(e);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(t)},d.prototype.setScrollPositionSmooth=function(e){var t=this;if(0===this._smoothScrollDuration)return this.setScrollPositionNow(e);if(this._smoothScrolling){e={scrollLeft:void 0===e.scrollLeft?this._smoothScrolling.to.scrollLeft:e.scrollLeft,scrollTop:void 0===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 o=this._smoothScrolling.combine(this._state,n,this._smoothScrollDuration);this._smoothScrolling.dispose(),this._smoothScrolling=o}else n=this._state.withScrollPosition(e),this._smoothScrolling=f.start(this._state,n,this._smoothScrollDuration);this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(function(){t._smoothScrolling&&(t._smoothScrolling.animationFrameDisposable=null,t._performSmoothScrolling())})},d.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())})}},d.prototype._setState=function(e){var t=this._state;t.equals(e)||(this._state=e,this._onScroll.fire(this._state.createScrollEvent(t)))},d);function d(e,t){var n=u.call(this)||this;return n._onScroll=n._register(new i.a),n.onScroll=n._onScroll.event,n._smoothScrollDuration=e,n._scheduleAtNextAnimationFrame=t,n._state=new s(0,0,0,0,0,0),n._smoothScrolling=null,n}var h=function(e,t,n){this.scrollLeft=e,this.scrollTop=t,this.isDone=n};function p(t,e){var n=e-t;return function(e){return t+n*(1-function(e){return Math.pow(e,3)}(1-e))}}var f=(g.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)},g.prototype._initAnimation=function(e,t,n){var o,i,r;if(2.5*n<Math.abs(e-t)){var a=void 0,s=void 0;return s=e<t?(a=e+.75*n,t-.75*n):(a=e-.75*n,t+.75*n),o=p(e,a),i=p(s,t),r=.33,function(e){return e<r?o(e/r):i((e-r)/(1-r))}}return p(e,t)},g.prototype.dispose=function(){null!==this.animationFrameDisposable&&(this.animationFrameDisposable.dispose(),this.animationFrameDisposable=null)},g.prototype.acceptScrollDimensions=function(e){this.to=e.withScrollPosition(this.to),this._initAnimations()},g.prototype.tick=function(){return this._tick(Date.now())},g.prototype._tick=function(e){var t=(e-this._startTime)/this.duration;if(t<1){var n=this.scrollLeft(t),o=this.scrollTop(t);return new h(n,o,!1)}return new h(this.to.scrollLeft,this.to.scrollTop,!0)},g.prototype.combine=function(e,t,n){return g.start(e,t,n)},g.start=function(e,t,n){return n+=10,new g(e,t,Date.now()-10,n)},g);function g(e,t,n,o){this.from=e,this.to=t,this.duration=o,this._startTime=n,this.animationFrameDisposable=null,this._initAnimations()}},2090:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var b=(o.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},o);function o(e,t,n){this.from=0|e,this.to=0|t,this.colorId=0|n}var i=(r.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},r.prototype.setColorZone=function(e){this._colorZone=e},r.prototype.getColorZones=function(){return this._colorZone},r);function r(e,t,n){this.startLineNumber=e,this.endLineNumber=t,this.color=n,this._colorZone=null}var a=(s.prototype.getId2Color=function(){return this._id2Color},s.prototype.setZones=function(e){this._zones=e,this._zones.sort(i.compare)},s.prototype.setLineHeight=function(e){return this._lineHeight!==e&&(this._lineHeight=e,this._colorZonesInvalid=!0)},s.prototype.setPixelRatio=function(e){this._pixelRatio=e,this._colorZonesInvalid=!0},s.prototype.getDOMWidth=function(){return this._domWidth},s.prototype.getCanvasWidth=function(){return this._domWidth*this._pixelRatio},s.prototype.setDOMWidth=function(e){return this._domWidth!==e&&(this._domWidth=e,this._colorZonesInvalid=!0)},s.prototype.getDOMHeight=function(){return this._domHeight},s.prototype.getCanvasHeight=function(){return this._domHeight*this._pixelRatio},s.prototype.setDOMHeight=function(e){return this._domHeight!==e&&(this._domHeight=e,this._colorZonesInvalid=!0)},s.prototype.getOuterHeight=function(){return this._outerHeight},s.prototype.setOuterHeight=function(e){return this._outerHeight!==e&&(this._outerHeight=e,this._colorZonesInvalid=!0)},s.prototype.resolveColorZones=function(){for(var e=this._colorZonesInvalid,t=Math.floor(this._lineHeight),n=Math.floor(this.getCanvasHeight()),o=n/Math.floor(this._outerHeight),i=Math.floor(4*this._pixelRatio/2),r=[],a=0,s=this._zones.length;a<s;a++){var l=this._zones[a];if(!e){var u=l.getColorZones();if(u){r.push(u);continue}}var c=Math.floor(o*this._getVerticalOffsetForLine(l.startLineNumber)),d=Math.floor(o*(this._getVerticalOffsetForLine(l.endLineNumber)+t)),h=Math.floor((c+d)/2),p=d-h;p<i&&(p=i),h-p<0&&(h=p),n<h+p&&(h=n-p);var f=l.color,g=this._color2Id[f];g||(g=++this._lastAssignedId,this._color2Id[f]=g,this._id2Color[g]=f);var m=new b(h-p,h+p,g);l.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(b.compare),r},s);function s(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=[]}},2091:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.isSupported=function(){return this._contextKeyService.contextMatchesRules(this._precondition)},i.prototype.run=function(){if(!this.isSupported())return Promise.resolve(void 0);var e=this._run();return e||Promise.resolve(void 0)},i);function i(e,t,n,o,i,r){this.id=e,this.label=t,this.alias=n,this._precondition=o,this._run=i,this._contextKeyService=r}},2092:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return _});var x=n(1124),y=n(988),C=n(1676),b=n(1546),f=n(1777),d=n(1496),o=function(e,t){this.outputLineIndex=e,this.outputOffset=t},i=(r.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},r.prototype.convertViewRangeToModelRange=function(e){var t=this._lines.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this._lines.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new y.a(t.lineNumber,t.column,n.lineNumber,n.column)},r.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},r.prototype.validateViewRange=function(e,t){var n=this._lines.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),o=this._lines.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new y.a(n.lineNumber,n.column,o.lineNumber,o.column)},r.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},r.prototype.convertModelRangeToViewRange=function(e){var t=this._lines.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this._lines.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return new y.a(t.lineNumber,t.column,n.lineNumber,n.column)},r.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},r);function r(e){this._lines=e}var a=(s.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},s.prototype.createCoordinatesConverter=function(){return new i(this)},s.prototype._ensureValidState=function(){if(this.model.getVersionId()!==this._validModelVersionId)throw new Error("ViewModel is out of sync with Model!");this.lines.length!==this.model.getLineCount()&&this._constructLines(!1)},s.prototype._constructLines=function(e){var t=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var n=this.model.getLinesContent(),o=n.length,i=new Uint32Array(o),r=this.hiddenAreasIds.map(function(e){return t.model.getDecorationRange(e)}).sort(y.a.compareRangesUsingStarts),a=1,s=0,l=-1,u=l+1<r.length?s+1:o+2,c=0;c<o;c++){var d=c+1;d===u&&(a=r[++l].startLineNumber,s=r[l].endLineNumber,u=l+1<r.length?s+1:o+2);var h=a<=d&&d<=s,p=v(this.linePositionMapperFactory,n[c],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!h);i[c]=p.getViewLineCount(),this.lines[c]=p}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new f.b(i)},s.prototype.getHiddenAreas=function(){var t=this;return this.hiddenAreasIds.map(function(e){return t.model.getDecorationRange(e)})},s.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(y.a.compareRangesUsingStarts),o=[],i=n[0].startLineNumber,r=n[0].endLineNumber,a=1,s=n.length;a<s;a++){var l=n[a];l.startLineNumber>r+1?(o.push(new y.a(i,1,r,1)),i=l.startLineNumber,r=l.endLineNumber):l.endLineNumber>r&&(r=l.endLineNumber)}return o.push(new y.a(i,1,r,1)),o},s.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),o=this.hiddenAreasIds.map(function(e){return t.model.getDecorationRange(e)}).sort(y.a.compareRangesUsingStarts);if(n.length===o.length){for(var i=!1,r=0;r<n.length;r++)if(!n[r].equalsRange(o[r])){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:C.a.EMPTY})}this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,a);var c=n,d=1,h=0,p=-1,f=p+1<c.length?h+1:this.lines.length+2,g=!1;for(r=0;r<this.lines.length;r++){var m=r+1;m===f&&(d=c[++p].startLineNumber,h=c[p].endLineNumber,f=p+1<c.length?h+1:this.lines.length+2);var b=!1;if(d<=m&&m<=h?this.lines[r].isVisible()&&(this.lines[r]=this.lines[r].setVisible(!1),b=!0):(g=!0,this.lines[r].isVisible()||(this.lines[r]=this.lines[r].setVisible(!0),b=!0)),b){var v=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,v)}}return g||this.setHiddenAreas([]),!0},s.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},s.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1),!0)},s.prototype.setWrappingSettings=function(e,t,n){return(this.wrappingIndent!==e||this.wrappingColumn!==t||this.columnsForFullWidthChar!==n)&&(this.wrappingIndent=e,this.wrappingColumn=t,this.columnsForFullWidthChar=n,this._constructLines(!1),!0)},s.prototype.onModelFlushed=function(){this._constructLines(!0)},s.prototype.onModelLinesDeleted=function(e,t,n){if(e<=this._validModelVersionId)return null;var o=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 b.j(o,i)},s.prototype.onModelLinesInserted=function(e,t,n,o){if(e<=this._validModelVersionId)return null;for(var i=this.getHiddenAreas(),r=!1,a=new x.a(t,1),s=0,l=i;s<l.length;s++)if(l[s].containsPosition(a)){r=!0;break}for(var u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1,c=0,d=[],h=new Uint32Array(o.length),p=0,f=o.length;p<f;p++){var g=v(this.linePositionMapperFactory,o[p],this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,!r);d.push(g);var m=g.getViewLineCount();c+=m,h[p]=m}return this.lines=this.lines.slice(0,t-1).concat(d).concat(this.lines.slice(t-1)),this.prefixSumComputer.insertValues(t-1,h),new b.k(u,u+c-1)},s.prototype.onModelLineChanged=function(e,t,n){if(e<=this._validModelVersionId)return[!1,null,null,null];var o=t-1,i=this.lines[o].getViewLineCount(),r=this.lines[o].isVisible(),a=v(this.linePositionMapperFactory,n,this.tabSize,this.wrappingColumn,this.columnsForFullWidthChar,this.wrappingIndent,r);this.lines[o]=a;var s=this.lines[o].getViewLineCount(),l=!1,u=0,c=-1,d=0,h=-1,p=0,f=-1;return s<i?(f=(p=1+(c=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1))+(i-s)-1,l=!0):i<s?(h=(d=1+(c=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+i-1))+(s-i)-1,l=!0):c=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1,this.prefixSumComputer.changeValue(o,s),[l,u<=c?new b.i(u,c):null,d<=h?new b.k(d,h):null,p<=f?new b.j(p,f):null]},s.prototype.acceptVersionId=function(e){this._validModelVersionId=e,1!==this.lines.length||this.lines[0].isVisible()||this.setHiddenAreas([])},s.prototype.getViewLineCount=function(){return this._ensureValidState(),this.prefixSumComputer.getTotalValue()},s.prototype._toValidViewLineNumber=function(e){if(e<1)return 1;var t=this.getViewLineCount();return t<e?t:e},s.prototype.warmUpLookupCache=function(e,t){this.prefixSumComputer.warmUpCache(e-1,t-1)},s.prototype.getActiveIndentGuide=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var o=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),a=this.model.getActiveIndentGuide(o.lineNumber,i.lineNumber,r.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}},s.prototype.getViewLinesIndentGuides=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),i=[],r=[],a=[],s=n.lineNumber-1,l=o.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),p=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),f=0;1<(A=p-h+1)&&1===d.getViewLineMinColumn(this.model,c+1,p)&&(f=0===h?1:2),r.push(A),a.push(f),null===u&&(u=new x.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,o.lineNumber)),u=null);for(var g=t-e+1,m=new Array(g),b=0,v=0,y=i.length;v<y;v++){var C=i[v],A=Math.min(g-b,r[v]),_=void 0;_=2===(f=a[v])?0:1===f?1:A;for(var w=0;w<A;w++)w===_&&(C=0),m[b++]=C}return m},s.prototype.getViewLineContent=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,o=t.remainder;return this.lines[n].getViewLineContent(this.model,n+1,o)},s.prototype.getViewLineLength=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,o=t.remainder;return this.lines[n].getViewLineLength(this.model,n+1,o)},s.prototype.getViewLineMinColumn=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,o=t.remainder;return this.lines[n].getViewLineMinColumn(this.model,n+1,o)},s.prototype.getViewLineMaxColumn=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,o=t.remainder;return this.lines[n].getViewLineMaxColumn(this.model,n+1,o)},s.prototype.getViewLineData=function(e){this._ensureValidState(),e=this._toValidViewLineNumber(e);var t=this.prefixSumComputer.getIndexOf(e-1),n=t.index,o=t.remainder;return this.lines[n].getViewLineData(this.model,n+1,o)},s.prototype.getViewLinesData=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var o=this.prefixSumComputer.getIndexOf(e-1),i=e,r=o.index,a=o.remainder,s=[],l=r,u=this.model.getLineCount();l<u;l++){var c=this.lines[l];if(c.isVisible()){var d=l===r?a:0,h=c.getViewLineCount()-d,p=!1;t<i+h&&(p=!0,h=t-i+1);var f=d+h;if(c.getViewLinesData(this.model,l+1,d,f,i-e,n,s),i+=h,p)break}}return s},s.prototype.validateViewPosition=function(e,t,n){this._ensureValidState(),e=this._toValidViewLineNumber(e);var o=this.prefixSumComputer.getIndexOf(e-1),i=o.index,r=o.remainder,a=this.lines[i],s=a.getViewLineMinColumn(this.model,i+1,r),l=a.getViewLineMaxColumn(this.model,i+1,r);t<s&&(t=s),l<t&&(t=l);var u=a.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new x.a(i+1,u)).equals(n)?new x.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},s.prototype.convertViewPositionToModelPosition=function(e,t){this._ensureValidState(),e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),o=n.index,i=n.remainder,r=this.lines[o].getModelColumnOfViewPosition(i,t);return this.model.validatePosition(new x.a(o+1,r))},s.prototype.convertModelPositionToViewPosition=function(e,t){this._ensureValidState();for(var n=this.model.validatePosition(new x.a(e,t)),o=n.lineNumber,i=n.column,r=o-1,a=!1;0<r&&!this.lines[r].isVisible();)r--,a=!0;if(0===r&&!this.lines[r].isVisible())return new x.a(1,1);var s=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));return a?this.lines[r].getViewPositionOfModelPosition(s,this.model.getLineMaxColumn(r+1)):this.lines[o-1].getViewPositionOfModelPosition(s,i)},s.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,t)}for(;0<n&&!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))},s.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var o=this.model.getOverviewRulerDecorations(e,t),i=new S,r=0,a=o;r<a.length;r++){var s=a[r],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},s.prototype.getDecorationsInRange=function(e,t,n){var o=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),i=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);if(i.lineNumber-o.lineNumber<=e.endLineNumber-e.startLineNumber)return this.model.getDecorationsInRange(new y.a(o.lineNumber,1,i.lineNumber,i.column),t,n);for(var r=[],a=o.lineNumber-1,s=i.lineNumber-1,l=null,u=a;u<=s;u++)if(this.lines[u].isVisible())null===l&&(l=new x.a(u+1,u===a?o.column:1));else if(null!==l){var c=this.model.getLineMaxColumn(u);r=r.concat(this.model.getDecorationsInRange(new y.a(l.lineNumber,l.column,u,c),t,n)),l=null}null!==l&&(r=r.concat(this.model.getDecorationsInRange(new y.a(l.lineNumber,l.column,i.lineNumber,i.column),t,n)),l=null),r.sort(function(e,t){var n=y.a.compareRangesUsingStarts(e.range,t.range);return 0===n?e.id<t.id?-1:e.id>t.id?1:0:n});for(var d=[],h=0,p=null,f=0,g=r;f<g.length;f++){var m=g[f],b=m.id;p!==b&&(p=b,d[h++]=m)}return d},s);function s(e,t,n,o,i,r){this.model=e,this._validModelVersionId=-1,this.tabSize=n,this.wrappingColumn=o,this.columnsForFullWidthChar=i,this.wrappingIndent=r,this.linePositionMapperFactory=t,this._constructLines(!0)}var l=(u.prototype.isVisible=function(){return!0},u.prototype.setVisible=function(e){return e?this:c.INSTANCE},u.prototype.getViewLineCount=function(){return 1},u.prototype.getViewLineContent=function(e,t,n){return e.getLineContent(t)},u.prototype.getViewLineLength=function(e,t,n){return e.getLineLength(t)},u.prototype.getViewLineMinColumn=function(e,t,n){return e.getLineMinColumn(t)},u.prototype.getViewLineMaxColumn=function(e,t,n){return e.getLineMaxColumn(t)},u.prototype.getViewLineData=function(e,t,n){var o=e.getLineTokens(t),i=o.getLineContent();return new d.c(i,!1,1,i.length+1,o.inflate())},u.prototype.getViewLinesData=function(e,t,n,o,i,r,a){r[i]?a[i]=this.getViewLineData(e,t,0):a[i]=null},u.prototype.getModelColumnOfViewPosition=function(e,t){return t},u.prototype.getViewPositionOfModelPosition=function(e,t){return new x.a(e,t)},u.prototype.getViewLineNumberOfModelPosition=function(e,t){return e},u.INSTANCE=new u,u);function u(){}var c=(h.prototype.isVisible=function(){return!1},h.prototype.setVisible=function(e){return e?l.INSTANCE:this},h.prototype.getViewLineCount=function(){return 0},h.prototype.getViewLineContent=function(e,t,n){throw new Error("Not supported")},h.prototype.getViewLineLength=function(e,t,n){throw new Error("Not supported")},h.prototype.getViewLineMinColumn=function(e,t,n){throw new Error("Not supported")},h.prototype.getViewLineMaxColumn=function(e,t,n){throw new Error("Not supported")},h.prototype.getViewLineData=function(e,t,n){throw new Error("Not supported")},h.prototype.getViewLinesData=function(e,t,n,o,i,r,a){throw new Error("Not supported")},h.prototype.getModelColumnOfViewPosition=function(e,t){throw new Error("Not supported")},h.prototype.getViewPositionOfModelPosition=function(e,t){throw new Error("Not supported")},h.prototype.getViewLineNumberOfModelPosition=function(e,t){throw new Error("Not supported")},h.INSTANCE=new h,h);function h(){}var p=(g.prototype.isVisible=function(){return this._isVisible},g.prototype.setVisible=function(e){return this._isVisible=e,this},g.prototype.getViewLineCount=function(){return this._isVisible?this.outputLineCount:0},g.prototype.getInputStartOffsetOfOutputLineIndex=function(e){return this.positionMapper.getInputOffsetOfOutputPosition(e,0)},g.prototype.getInputEndOffsetOfOutputLineIndex=function(e,t,n){return n+1===this.outputLineCount?e.getLineMaxColumn(t)-1:this.positionMapper.getInputOffsetOfOutputPosition(n+1,0)},g.prototype.getViewLineContent=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var o=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:o+1,endLineNumber:t,endColumn:i+1});return 0<n&&(r=this.wrappedIndent+r),r},g.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var o=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-o;return 0<n&&(i=this.wrappedIndent.length+i),i},g.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return 0<n?this.wrappedIndentLength+1:1},g.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},g.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var o=this.getInputStartOffsetOfOutputLineIndex(n),i=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:o+1,endLineNumber:t,endColumn:i+1});0<n&&(r=this.wrappedIndent+r);var a=0<n?this.wrappedIndentLength+1:1,s=r.length+1,l=n+1<this.getViewLineCount(),u=0;0<n&&(u=this.wrappedIndentLength);var c=e.getLineTokens(t);return new d.c(r,l,a,s,c.sliceAndInflate(o,i,u))},g.prototype.getViewLinesData=function(e,t,n,o,i,r,a){if(!this._isVisible)throw new Error("Not supported");for(var s=n;s<o;s++){var l=i+s-n;r[l]?a[l]=this.getViewLineData(e,t,s):a[l]=null}},g.prototype.getModelColumnOfViewPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=t-1;return 0<e&&(n<this.wrappedIndentLength?n=0:n-=this.wrappedIndentLength),this.positionMapper.getInputOffsetOfOutputPosition(e,n)+1},g.prototype.getViewPositionOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");var n=this.positionMapper.getOutputPositionOfInputOffset(t-1),o=n.outputLineIndex,i=n.outputOffset+1;return 0<o&&(i+=this.wrappedIndentLength),new x.a(e+o,i)},g.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+this.positionMapper.getOutputPositionOfInputOffset(t-1).outputLineIndex},g);function g(e,t){this.positionMapper=e,this.wrappedIndent=this.positionMapper.getWrappedLinesIndent(),this.wrappedIndentLength=this.wrappedIndent.length,this.outputLineCount=this.positionMapper.getOutputLineCount(),this._isVisible=t}function v(e,t,n,o,i,r,a){var s=e.createLineMapping(t,n,o,i,r);return null===s?a?l.INSTANCE:c.INSTANCE:new p(s,a)}var m=(A.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},A.prototype._validRange=function(e){return this._lines.model.validateRange(e)},A.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},A.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},A.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},A.prototype.validateViewRange=function(e,t){return this._validRange(t)},A.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},A.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},A.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},A);function A(e){this._lines=e}var _=(w.prototype.dispose=function(){},w.prototype.createCoordinatesConverter=function(){return new m(this)},w.prototype.getHiddenAreas=function(){return[]},w.prototype.setHiddenAreas=function(e){return!1},w.prototype.setTabSize=function(e){return!1},w.prototype.setWrappingSettings=function(e,t,n){return!1},w.prototype.onModelFlushed=function(){},w.prototype.onModelLinesDeleted=function(e,t,n){return new b.j(t,n)},w.prototype.onModelLinesInserted=function(e,t,n,o){return new b.k(t,n)},w.prototype.onModelLineChanged=function(e,t,n){return[!1,new b.i(t,t),null,null]},w.prototype.acceptVersionId=function(e){},w.prototype.getViewLineCount=function(){return this.model.getLineCount()},w.prototype.warmUpLookupCache=function(e,t){},w.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},w.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,o=new Array(n),i=0;i<n;i++)o[i]=0;return o},w.prototype.getViewLineContent=function(e){return this.model.getLineContent(e)},w.prototype.getViewLineLength=function(e){return this.model.getLineLength(e)},w.prototype.getViewLineMinColumn=function(e){return this.model.getLineMinColumn(e)},w.prototype.getViewLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},w.prototype.getViewLineData=function(e){var t=this.model.getLineTokens(e),n=t.getLineContent();return new d.c(n,!1,1,n.length+1,t.inflate())},w.prototype.getViewLinesData=function(e,t,n){var o=this.model.getLineCount();e=Math.min(Math.max(1,e),o),t=Math.min(Math.max(1,t),o);for(var i=[],r=e;r<=t;r++){var a=r-e;n[a]||(i[a]=null),i[a]=this.getViewLineData(r)}return i},w.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var o=this.model.getOverviewRulerDecorations(e,t),i=new S,r=0,a=o;r<a.length;r++){var s=a[r],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},w.prototype.getDecorationsInRange=function(e,t,n){return this.model.getDecorationsInRange(e,t,n)},w);function w(e){this.model=e}var S=(L.prototype.accept=function(e,t,n,o){var i=this.result[e];if(i){var r=i[i.length-3],a=i[i.length-1];if(r===o&&t<=a+1)return void(a<n&&(i[i.length-1]=n));i.push(o,t,n)}else this.result[e]=[o,t,n]},L);function L(){this.result=Object.create(null)}},2093:function(e,t,n){"use strict";n.d(t,"c",function(){return m}),n.d(t,"d",function(){return y}),n.d(t,"b",function(){return _}),n.d(t,"a",function(){return L});var o,i,r=n(2486),a=(n.n(r),n(1134)),s=n(1215),l=n(868),u=n(1587),c=n(1126),d=n(1255),h=n(1588),p=n(1491),f=n(966),g=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),m=(i=l.a,g(b,i),b.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(b.prototype,"actionRunner",{get:function(){return this._actionRunner},set:function(e){this._actionRunner=e},enumerable:!0,configurable:!0}),b.prototype.getAction=function(){return this._action},b.prototype.isEnabled=function(){return this._action.enabled},b.prototype.setActionContext=function(e){this._context=e},b.prototype.render=function(e){var t=this;this.element=e,h.b.addTarget(e);var n=this.options&&this.options.draggable;n&&(e.draggable=!0),this._register(c.g(this.element,h.a.Tap,function(e){return t.onClick(e)})),this._register(c.g(this.element,c.c.MOUSE_DOWN,function(e){n||c.b.stop(e,!0),t._action.enabled&&0===e.button&&t.element&&c.e(t.element,"active")})),this._register(c.g(this.element,c.c.CLICK,function(e){c.b.stop(e,!0),t.options&&t.options.isMenu?t.onClick(e):a.h(function(){return t.onClick(e)})})),this._register(c.g(this.element,c.c.DBLCLICK,function(e){c.b.stop(e,!0)})),[c.c.MOUSE_UP,c.c.MOUSE_OUT].forEach(function(e){t._register(c.g(t.element,e,function(e){c.b.stop(e),c.D(t.element,"active")}))})},b.prototype.onClick=function(e){var t;c.b.stop(e,!0),d.k(this._context)?t=e:(t=this._context,d.h(t)&&(t.event=e)),this._actionRunner.run(this._action,t)},b.prototype.focus=function(){this.element&&(this.element.focus(),c.e(this.element,"focused"))},b.prototype.blur=function(){this.element&&(this.element.blur(),c.D(this.element,"focused"))},b.prototype.updateEnabled=function(){},b.prototype.updateLabel=function(){},b.prototype.updateTooltip=function(){},b.prototype.updateClass=function(){},b.prototype.updateChecked=function(){},b.prototype.dispose=function(){this.element&&(c.F(this.element),this.element=void 0),i.prototype.dispose.call(this)},b);function b(e,t,n){var o=i.call(this)||this;return o.options=n,o._context=e||o,(o._action=t)instanceof u.a&&o._register(t.onDidChange(function(e){o.element&&o.handleActionChangeEvent(e)})),o}var v,y=(v=u.a,g(C,v),C.ID="vs.actions.separator",C);function C(e){var t=v.call(this,C.ID,e,e?"separator text":"separator")||this;return t.checked=!1,t.radio=!1,t.enabled=!1,t}var A,_=(g(w,A=m),w.prototype.render=function(e){A.prototype.render.call(this,e),this.element&&(this.label=c.l(this.element,c.a("a.action-label"))),this._action.id===y.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&&(c.l(this.element,c.a("span.keybinding")).textContent=this.options.keybinding),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked()},w.prototype.focus=function(){A.prototype.focus.call(this),this.label.focus()},w.prototype.updateLabel=function(){this.options.label&&(this.label.textContent=this.getAction().label)},w.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=s.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&(this.label.title=e)},w.prototype.updateClass=function(){this.cssClass&&c.E(this.label,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class,c.e(this.label,"icon"),this.cssClass&&c.f(this.label,this.cssClass),this.updateEnabled()):c.D(this.label,"icon")},w.prototype.updateEnabled=function(){this.getAction().enabled?(this.label.removeAttribute("aria-disabled"),this.element&&c.D(this.element,"disabled"),c.D(this.label,"disabled"),this.label.tabIndex=0):(this.label.setAttribute("aria-disabled","true"),this.element&&c.e(this.element,"disabled"),c.e(this.label,"disabled"),c.G(this.label))},w.prototype.updateChecked=function(){this.getAction().checked?c.e(this.label,"checked"):c.D(this.label,"checked")},w);function w(e,t,n){void 0===n&&(n={});var o=A.call(this,e,t,n)||this;return o.options=n,o.options.icon=void 0!==n.icon&&n.icon,o.options.label=void 0===n.label||n.label,o.cssClass="",o}var x,S={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},L=(x=l.a,g(D,x),Object.defineProperty(D.prototype,"onDidBlur",{get:function(){return this._onDidBlur.event},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"onDidCancel",{get:function(){return this._onDidCancel.event},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"onDidRun",{get:function(){return this._onDidRun.event},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"onDidBeforeRun",{get:function(){return this._onDidBeforeRun.event},enumerable:!0,configurable:!0}),D.prototype.isTriggerKeyEvent=function(t){var n=!1;return this.options.triggerKeys&&this.options.triggerKeys.keys.forEach(function(e){n=n||t.equals(e)}),n},D.prototype.updateFocusedItem=function(){for(var e=0;e<this.actionsList.children.length;e++){var t=this.actionsList.children[e];if(c.z(document.activeElement,t)){this.focusedItem=e;break}}},Object.defineProperty(D.prototype,"context",{get:function(){return this._context},set:function(t){this._context=t,this.items.forEach(function(e){return e.setActionContext(t)})},enumerable:!0,configurable:!0}),D.prototype.getContainer=function(){return this.domNode},D.prototype.push=function(e,o){var i=this;void 0===o&&(o={});var t=Array.isArray(e)?e:[e],r=d.g(o.index)?o.index:null;t.forEach(function(e){var t=document.createElement("li");t.className="action-item",t.setAttribute("role","presentation"),i._register(c.g(t,c.c.CONTEXT_MENU,function(e){e.preventDefault(),e.stopPropagation()}));var n=null;i.options.actionItemProvider&&(n=i.options.actionItemProvider(e)),(n=n||new _(i.context,e,o)).actionRunner=i._actionRunner,n.setActionContext(i.context),n.render(t),null===r||r<0||r>=i.actionsList.children.length?(i.actionsList.appendChild(t),i.items.push(n)):(i.actionsList.insertBefore(t,i.actionsList.children[r]),i.items.splice(r,0,n),r++)})},D.prototype.clear=function(){this.items=Object(l.d)(this.items),c.m(this.actionsList)},D.prototype.isEmpty=function(){return 0===this.items.length},D.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&&void 0===this.focusedItem?(this.focusedItem=this.items.length-1,this.focusNext()):(void 0!==n&&(this.focusedItem=n),this.updateFocus())},D.prototype.focusNext=function(){void 0===this.focusedItem&&(this.focusedItem=this.items.length-1);for(var e,t=this.focusedItem;this.focusedItem=(this.focusedItem+1)%this.items.length,e=this.items[this.focusedItem],this.focusedItem!==t&&!e.isEnabled(););this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus()},D.prototype.focusPrevious=function(){void 0===this.focusedItem&&(this.focusedItem=0);for(var e,t=this.focusedItem;this.focusedItem=this.focusedItem-1,this.focusedItem<0&&(this.focusedItem=this.items.length-1),e=this.items[this.focusedItem],this.focusedItem!==t&&!e.isEnabled(););this.focusedItem!==t||e.isEnabled()||(this.focusedItem=void 0),this.updateFocus(!0)},D.prototype.updateFocus=function(e){void 0===this.focusedItem&&this.actionsList.focus();for(var t=0;t<this.items.length;t++){var n=this.items[t];t===this.focusedItem?d.f(n.isEnabled)&&(n.isEnabled()&&d.f(n.focus)?n.focus(e):this.actionsList.focus()):d.f(n.blur)&&n.blur()}},D.prototype.doTrigger=function(e){if(void 0!==this.focusedItem){var t=this.items[this.focusedItem];if(t instanceof m){var n=null===t._context||void 0===t._context?e:t._context;this.run(t._action,n)}}},D.prototype.cancel=function(){document.activeElement instanceof HTMLElement&&document.activeElement.blur(),this._onDidCancel.fire()},D.prototype.run=function(e,t){return this._actionRunner.run(e,t)},D.prototype.dispose=function(){Object(l.d)(this.items),this.items=[],c.F(this.getContainer()),x.prototype.dispose.call(this)},D);function D(e,t){void 0===t&&(t=S);var o,i,r=x.call(this)||this;switch(r._onDidBlur=r._register(new f.a),r._onDidCancel=r._register(new f.a),r._onDidRun=r._register(new f.a),r._onDidBeforeRun=r._register(new f.a),r.options=t,r._context=t.context,r.options.triggerKeys||(r.options.triggerKeys=S.triggerKeys),r.options.actionRunner?r._actionRunner=r.options.actionRunner:(r._actionRunner=new u.b,r._register(r._actionRunner)),r._register(r._actionRunner.onDidRun(function(e){return r._onDidRun.fire(e)})),r._register(r._actionRunner.onDidBeforeRun(function(e){return r._onDidBeforeRun.fire(e)})),r.items=[],r.focusedItem=void 0,r.domNode=document.createElement("div"),!(r.domNode.className="monaco-action-bar")!==t.animated&&c.e(r.domNode,"animated"),r.options.orientation){case 0:o=15,i=17;break;case 1:o=17,i=15,r.domNode.className+=" reverse";break;case 2:o=16,i=18,r.domNode.className+=" vertical";break;case 3:o=18,i=16,r.domNode.className+=" vertical reverse"}return r._register(c.g(r.domNode,c.c.KEY_DOWN,function(e){var t=new p.a(e),n=!0;t.equals(o)?r.focusPrevious():t.equals(i)?r.focusNext():t.equals(9)?r.cancel():r.isTriggerKeyEvent(t)?r.options.triggerKeys&&r.options.triggerKeys.keyDown&&r.doTrigger(t):n=!1,n&&(t.preventDefault(),t.stopPropagation())})),r._register(c.g(r.domNode,c.c.KEY_UP,function(e){var t=new p.a(e);r.isTriggerKeyEvent(t)?(r.options.triggerKeys&&!r.options.triggerKeys.keyDown&&r.doTrigger(t),t.preventDefault(),t.stopPropagation()):(t.equals(2)||t.equals(1026))&&r.updateFocusedItem()})),r.focusTracker=r._register(c.N(r.domNode)),r._register(r.focusTracker.onDidBlur(function(){document.activeElement!==r.domNode&&c.z(document.activeElement,r.domNode)||(r._onDidBlur.fire(),r.focusedItem=void 0)})),r._register(r.focusTracker.onDidFocus(function(){return r.updateFocusedItem()})),r.actionsList=document.createElement("ul"),r.actionsList.className="actions-container",r.actionsList.setAttribute("role","toolbar"),r.options.ariaLabel&&r.actionsList.setAttribute("aria-label",r.options.ariaLabel),r.domNode.appendChild(r.actionsList),e.appendChild(r.domNode),r}},2094:function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return a});var o,g,i=n(868),m=n(2488),s=n(1424),l=n(1668),u=n(2064),c=n(2489),d=n(2490),b=n(1584),h=n(2494),p=n(1779),v=n(1782),f=n(2495),y=n(2498),C=n(1792),A=n(1672),_=n(1350),w=n(1425),x=n(2501),S=n(1291),L=n(2502),D=n(1680),k=n(2509),N=n(2513),I=n(1125),O=n(2514),E=n(1678),M=n(1591),B=n(2517),T=n(2518),P=n(2096),j=n(2530),R=n(1796),W=n(1497),z=n(2531),F=n(2104),H=n(1673),V=n(1216),U=n(2073),Z=n(2532),G=n(2533),K=n(2534),Y=n(2535),q=n(1679),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});!function(t){var n=new E.a,o=(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!");n.set(this._serviceId,this._value)}return this._value},e);function e(e,t){this._serviceId=e,this._factory=t,this._value=null}t.LazyStaticService=o;var i=[];function r(e,t){var n=new o(e,t);return i.push(n),n}t.init=function(t){var n=new E.a;for(var e in t)t.hasOwnProperty(e)&&n.set(Object(I.c)(e),t[e]);i.forEach(function(e){return n.set(e.id,e.get(t))});var o=new O.a(n,!0);return n.set(I.a,o),[n,o]},t.instantiationService=r(I.a,function(){return new O.a(n,!0)});var a=new v.c;t.configurationService=r(w.a,function(){return a}),t.resourceConfigurationService=r(p.a,function(){return new v.h(a)}),t.resourcePropertiesService=r(p.b,function(){return new v.i(a)}),t.contextService=r(U.a,function(){return new v.k}),t.labelService=r(B.a,function(){return new v.j}),t.telemetryService=r(H.a,function(){return new v.n}),t.dialogService=r(N.a,function(){return new v.d}),t.notificationService=r(W.a,function(){return new v.f}),t.accessibilityService=r(q.a,function(){return new v.a}),t.markerService=r(R.a,function(){return new j.a}),t.modeService=r(c.a,function(e){return new d.a}),t.modelService=r(b.a,function(e){return new h.a(t.configurationService.get(e),t.resourcePropertiesService.get(e))}),t.markerDecorationsService=r(G.a,function(e){return new K.a(t.modelService.get(e),t.markerService.get(e))}),t.editorWorkerService=r(l.a,function(e){return new u.b(t.modelService.get(e),t.resourceConfigurationService.get(e))}),t.standaloneThemeService=r(C.a,function(){return new y.a}),t.codeEditorService=r(s.a,function(e){return new f.a(t.standaloneThemeService.get(e))}),t.progressService=r(z.a,function(){return new v.g}),t.storageService=r(F.a,function(){return new F.b}),t.logService=r(P.a,function(){return new P.b}),t.suggestMemoryService=r(Y.a,function(e){return new Y.b(t.storageService.get(e),t.configurationService.get(e))})}(g=g||{});var J,a=(J=i.a,r(X,J),X.prototype.get=function(e){var t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t},X.prototype.set=function(e,t){this._serviceCollection.set(e,t)},X.prototype.has=function(e){return this._serviceCollection.has(e)},X);function X(e,o){var i=J.call(this)||this,t=g.init(o),n=t[0],r=t[1];i._serviceCollection=n,i._instantiationService=r;function a(e,t){var n=null;return o&&(n=o[e.toString()]),n=n||t(),i._serviceCollection.set(e,n),n}var s=i.get(w.a),l=i.get(W.a),u=i.get(H.a),c=i.get(V.c),d=a(S.c,function(){return i._register(new x.a(s))});a(T.a,function(){return new T.b(d)});var h=a(_.b,function(){return new v.l(i._instantiationService)}),p=a(M.a,function(){return i._register(new v.m(d,h,u,l,e))}),f=a(D.b,function(){return i._register(new k.a(e,u,new P.b))});return a(D.a,function(){return i._register(new L.a(e,!1,u,l,f,p,c))}),a(A.a,function(){return new Z.a(h)}),a(m.a,function(){return new v.b(g.modelService.get(b.a))}),i}},2095:function(e,t,n){"use strict";t.c=a,t.a=function(e,t,n){return s(t,Object(i.f)(n||Object.create(null),l,!1),e)},n.d(t,"d",function(){return l}),t.b=function(e,t,n){return s(t,r({},u,n),e)};var o=n(1426),i=n(1423),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n=Object.create(null);for(var o in t){var i=t[o];"string"==typeof i?n[o]=e.getColor(i):"function"==typeof i&&(n[o]=i(e))}return n}function s(n,o,i){function e(e){var t=a(n.getTheme(),o);"function"==typeof i?i(t):i.style(t)}return e(n.getTheme()),n.onThemeChange(e)}var l={listFocusBackground:o.M,listFocusForeground:o.N,listActiveSelectionBackground:Object(o.f)(o.G,.1),listActiveSelectionForeground:o.H,listFocusAndSelectionBackground:o.G,listFocusAndSelectionForeground:o.H,listInactiveSelectionBackground:o.R,listInactiveSelectionForeground:o.S,listInactiveFocusBackground:o.Q,listHoverBackground:o.O,listHoverForeground:o.P,listDropBackground:o.I,listFocusOutline:o.b,listSelectionOutline:o.b,listHoverOutline:o.b,listFilterWidgetBackground:o.J,listFilterWidgetOutline:o.L,listFilterWidgetNoMatchesOutline:o.K,listMatchesShadow:o._8},u={shadowColor:o._8,borderColor:o.U,foregroundColor:o.V,backgroundColor:o.T,selectionForegroundColor:o.Y,selectionBackgroundColor:o.W,selectionBorderColor:o.X,separatorColor:o.Z}},2096:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var o=n(1125),i=Object(o.c)("logService"),r=(a.prototype.trace=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},a.prototype.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n]},a.prototype.dispose=function(){},a);function a(){}},2097:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(e,t,n){void 0===t&&(t=[]),void 0===n&&(n=!1),this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=n}},2098:function(e,t,n){"use strict";t.f=z,t.e=Z,t.d=G,n.d(t,"c",function(){return J}),n.d(t,"a",function(){return Q}),n.d(t,"b",function(){return ce});var o,i=n(2519),s=(n.n(i),n(1215)),r=n(868),l=n(1255),u=n(1316),a=n(1785),c=n(1126),d=n(1134),h=n(1588),p=n(1491),f=n(966),g=n(1544),m=n(2521),b=n(1795),v=n(1499),y=n(1423),C=n(2524),A=n(2100),_=n(2101),w=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=this&&this.__assign||function(){return(x=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},S=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},L=(Object.defineProperty(D.prototype,"templateId",{get:function(){return"template:"+this.trait.trait},enumerable:!0,configurable:!0}),D.prototype.renderTemplate=function(e){return e},D.prototype.renderElement=function(e,t,n){var o=Object(u.f)(this.renderedElements,function(e){return e.templateData===n});if(0<=o){var i=this.renderedElements[o];this.trait.unrender(n),i.index=t}else i={index:t,templateData:n},this.renderedElements.push(i);this.trait.renderIndex(t,n)},D.prototype.splice=function(e,t,n){for(var o=[],i=0,r=this.renderedElements;i<r.length;i++){var a=r[i];a.index<e?o.push(a):a.index>=e+t&&o.push({index:a.index+n-t,templateData:a.templateData})}this.renderedElements=o},D.prototype.renderIndexes=function(e){for(var t=0,n=this.renderedElements;t<n.length;t++){var o=n[t],i=o.index,r=o.templateData;-1<e.indexOf(i)&&this.trait.renderIndex(i,r)}},D.prototype.disposeTemplate=function(t){var e=Object(u.f)(this.renderedElements,function(e){return e.templateData===t});e<0||this.renderedElements.splice(e,1)},D);function D(e){this.trait=e,this.renderedElements=[]}var k=(Object.defineProperty(N.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!0,configurable:!0}),Object.defineProperty(N.prototype,"trait",{get:function(){return this._trait},enumerable:!0,configurable:!0}),Object.defineProperty(N.prototype,"renderer",{get:function(){return new L(this)},enumerable:!0,configurable:!0}),N.prototype.splice=function(n,e,t){var o=t.length-e,i=n+e,r=this.indexes.filter(function(e){return e<n}).concat(t.map(function(e,t){return e?t+n:-1}).filter(function(e){return-1!==e}),this.indexes.filter(function(e){return i<=e}).map(function(e){return e+o}));this.renderer.splice(n,e,t.length),this.set(r)},N.prototype.renderIndex=function(e,t){c.M(t,this._trait,this.contains(e))},N.prototype.unrender=function(e){c.D(e,this._trait)},N.prototype.set=function(e,t){var n=this.indexes,o=ne(n,this.indexes=e);return this.renderer.renderIndexes(o),this._onChange.fire({indexes:e,browserEvent:t}),n},N.prototype.get=function(){return this.indexes},N.prototype.contains=function(t){return this.indexes.some(function(e){return e===t})},N.prototype.dispose=function(){this._onChange=Object(r.d)(this._onChange)},S([a.a],N.prototype,"renderer",null),N);function N(e){this._trait=e,this._onChange=new f.a,this.indexes=[]}var I,O=(w(E,I=k),E.prototype.renderIndex=function(e,t){I.prototype.renderIndex.call(this,e,t),this.contains(e)?t.setAttribute("aria-selected","true"):t.removeAttribute("aria-selected")},E);function E(){return I.call(this,"focused")||this}var M=(B.prototype.splice=function(e,t,n){var o=this;if(!this.identityProvider)return this.trait.splice(e,t,n.map(function(){return!1}));var i=this.trait.get().map(function(e){return o.identityProvider.getId(o.view.element(e)).toString()}),r=n.map(function(e){return-1<i.indexOf(o.identityProvider.getId(e).toString())});this.trait.splice(e,t,r)},B);function B(e,t,n){this.trait=e,this.view=t,this.identityProvider=n}function T(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}var P,j,R=(W.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)},W.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()},W.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()},W.prototype.onPageUpArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusPreviousPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},W.prototype.onPageDownArrow=function(e){e.preventDefault(),e.stopPropagation(),this.list.focusNextPage(e.browserEvent),this.list.reveal(this.list.getFocus()[0]),this.view.domNode.focus()},W.prototype.onCtrlA=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection(Object(u.i)(this.list.length),e.browserEvent),this.view.domNode.focus()},W.prototype.onEscape=function(e){e.preventDefault(),e.stopPropagation(),this.list.setSelection([],e.browserEvent),this.view.domNode.focus()},W.prototype.dispose=function(){this.disposables=Object(r.d)(this.disposables)},W);function W(e,t,n){this.list=e,this.view=t;var o=!(!1===n.multipleSelectionSupport);this.disposables=[],this.openController=n.openController||q;var i=f.b.chain(Object(g.a)(t.domNode,"keydown")).filter(function(e){return!T(e.target)}).map(function(e){return new p.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),o&&i.filter(function(e){return(d.d?e.metaKey:e.ctrlKey)&&31===e.keyCode}).on(this.onCtrlA,this,this.disposables)}function z(e){return!(e.ctrlKey||e.metaKey||e.altKey)&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30||80<=e.keyCode&&e.keyCode<=90)}(j=P=P||{})[j.Idle=0]="Idle",j[j.Typing=1]="Typing";var F=(H.prototype.updateOptions=function(e){void 0===e.enableKeyboardNavigation||e.enableKeyboardNavigation?this.enable():this.disable(),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation)},H.prototype.enable=function(){var t=this;if(!this.enabled){var e=f.b.chain(Object(g.a)(this.view.domNode,"keydown")).filter(function(e){return!T(e.target)}).filter(function(){return t.automaticKeyboardNavigation||t.triggered}).map(function(e){return new p.a(e)}).filter(this.keyboardNavigationLabelProvider.mightProducePrintableCharacter?function(e){return t.keyboardNavigationLabelProvider.mightProducePrintableCharacter(e)}:function(e){return z(e)}).forEach(function(e){e.stopPropagation(),e.preventDefault()}).map(function(e){return e.browserEvent.key}).event,n=f.b.debounce(e,function(){return null},800);f.b.reduce(f.b.any(e,n),function(e,t){return null===t?null:(e||"")+t})(this.onInput,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}},H.prototype.disable=function(){this.enabled&&(this.enabledDisposables=Object(r.d)(this.enabledDisposables),this.enabled=!1,this.triggered=!1)},H.prototype.onInput=function(e){if(!e)return this.state=P.Idle,void(this.triggered=!1);var t=this.list.getFocus(),n=0<t.length?t[0]:0,o=this.state===P.Idle?1:0;this.state=P.Typing;for(var i=0;i<this.list.length;i++){var r=(n+i+o)%this.list.length,a=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(this.view.element(r)),s=a&&a.toString();if(void 0===s||Object(_.c)(e,s))return this.list.setFocus([r]),void this.list.reveal(r)}},H.prototype.dispose=function(){this.disable(),this.disposables=Object(r.d)(this.disposables)},H);function H(e,t,n){this.list=e,this.view=t,this.keyboardNavigationLabelProvider=n,this.enabled=!1,this.state=P.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.enabledDisposables=[],this.disposables=[],this.updateOptions(e.options)}var V=(U.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 o=n.querySelector("[tabIndex]");if(o&&o instanceof HTMLElement&&-1!==o.tabIndex){var i=window.getComputedStyle(o);"hidden"!==i.visibility&&"none"!==i.display&&(e.preventDefault(),e.stopPropagation(),o.focus())}}}}},U.prototype.dispose=function(){this.disposables=Object(r.d)(this.disposables)},U);function U(e,t){this.list=e,this.view=t,this.disposables=[],this.disposables=[],f.b.chain(Object(g.a)(t.domNode,"keydown")).filter(function(e){return!T(e.target)}).map(function(e){return new p.a(e)}).filter(function(e){return!(2!==e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)}).on(this.onTab,this,this.disposables)}function Z(e){return d.d?e.browserEvent.metaKey:e.browserEvent.ctrlKey}function G(e){return e.browserEvent.shiftKey}function K(e){return e instanceof MouseEvent&&2===e.button}var Y={isSelectionSingleChangeEvent:Z,isSelectionRangeChangeEvent:G},q={shouldOpen:function(e){return!(e instanceof MouseEvent)||!K(e)}},J=(X.prototype.isSelectionSingleChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(e):d.d?e.browserEvent.metaKey:e.browserEvent.ctrlKey},X.prototype.isSelectionRangeChangeEvent=function(e){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(e):e.browserEvent.shiftKey},X.prototype.isSelectionChangeEvent=function(e){return this.isSelectionSingleChangeEvent(e)||this.isSelectionRangeChangeEvent(e)},X.prototype.onMouseDown=function(e){document.activeElement!==e.browserEvent.target&&this.list.domFocus()},X.prototype.onContextMenu=function(e){var t=void 0===e.index?[]:[e.index];this.list.setFocus(t,e.browserEvent)},X.prototype.onPointer=function(e){if(this.mouseSupport&&!T(e.browserEvent.target)){var t=this.list.getFocus()[0],n=this.list.getSelection();t=void 0===t?n[0]:t;var o=e.index;if(void 0===o)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([o],e.browserEvent),K(e.browserEvent)||(this.list.setSelection([o],e.browserEvent),this.openController.shouldOpen(e.browserEvent)&&this.list.open([o],e.browserEvent))}},X.prototype.onDoubleClick=function(e){if(!(T(e.browserEvent.target)||this.multipleSelectionSupport&&this.isSelectionChangeEvent(e))){var t=this.list.getFocus();this.list.setSelection(t,e.browserEvent),this.list.pin(t)}},X.prototype.changeSelection=function(e,t){var n=e.index;if(this.isSelectionRangeChangeEvent(e)&&void 0!==t){var o=Math.min(t,n),i=Math.max(t,n),r=Object(u.i)(o,i+1),a=function(e,t){var n=e.indexOf(t);if(-1===n)return[];for(var o=[],i=n-1;0<=i&&e[i]===t-(n-i);)o.push(e[i--]);for(o.reverse(),i=n;i<e.length&&e[i]===t+(i-n);)o.push(e[i++]);return o}(ne(l=this.list.getSelection(),[t]),t);if(0===a.length)return;var s=ne(r,function(e,t){for(var n=[],o=0,i=0;o<e.length||i<t.length;)if(o>=e.length)n.push(t[i++]);else if(i>=t.length)n.push(e[o++]);else{if(e[o]===t[i]){o++,i++;continue}e[o]<t[i]?n.push(e[o++]):i++}return n}(l,a));this.list.setSelection(s,e.browserEvent)}else if(this.isSelectionSingleChangeEvent(e)){var l;s=(l=this.list.getSelection()).filter(function(e){return e!==n}),l.length===s.length?this.list.setSelection(s.concat([n]),e.browserEvent):this.list.setSelection(s,e.browserEvent)}},X.prototype.dispose=function(){this.disposables=Object(r.d)(this.disposables)},X);function X(e){this.list=e,this.disposables=[],this.multipleSelectionSupport=!(!1===e.options.multipleSelectionSupport),this.multipleSelectionSupport&&(this.multipleSelectionController=e.options.multipleSelectionController||Y),this.openController=e.options.openController||q,this.mouseSupport=void 0===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),h.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)}var Q=($.prototype.style=function(e){var t=this.selectorSuffix?"."+this.selectorSuffix:"",n=[];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-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 o=n.join("\n");o!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=o)},$);function $(e,t){this.styleElement=e,this.selectorSuffix=t}var ee={listFocusBackground:v.a.fromHex("#073655"),listActiveSelectionBackground:v.a.fromHex("#0E639C"),listActiveSelectionForeground:v.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:v.a.fromHex("#094771"),listFocusAndSelectionForeground:v.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:v.a.fromHex("#3F3F46"),listHoverBackground:v.a.fromHex("#2A2D2E"),listDropBackground:v.a.fromHex("#383B3D")},te={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:m.a.TREE};function ne(e,t){for(var n=[],o=0,i=0;o<e.length||i<t.length;)if(o>=e.length)n.push(t[i++]);else if(i>=t.length)n.push(e[o++]);else{if(e[o]===t[i]){n.push(e[o]),o++,i++;continue}e[o]<t[i]?n.push(e[o++]):n.push(t[i++])}return n}function oe(e,t){return e-t}var ie=(Object.defineProperty(re.prototype,"templateId",{get:function(){return this._templateId},enumerable:!0,configurable:!0}),re.prototype.renderTemplate=function(t){return this.renderers.map(function(e){return e.renderTemplate(t)})},re.prototype.renderElement=function(e,t,n,o){for(var i=0,r=0,a=this.renderers;r<a.length;r++)a[r].renderElement(e,t,n[i++],o)},re.prototype.disposeElement=function(e,t,n,o){for(var i=0,r=0,a=this.renderers;r<a.length;r++){var s=a[r];s.disposeElement&&s.disposeElement(e,t,n[i],o),i+=1}},re.prototype.disposeTemplate=function(e){for(var t=0,n=0,o=this.renderers;n<o.length;n++)o[n].disposeTemplate(e[t++])},re);function re(e,t){this._templateId=e,this.renderers=t}var ae=(se.prototype.renderTemplate=function(e){return e},se.prototype.renderElement=function(e,t,n){var o=this.accessibilityProvider.getAriaLabel(e);o?n.setAttribute("aria-label",o):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")},se.prototype.disposeTemplate=function(e){},se);function se(e){this.accessibilityProvider=e,this.templateId="a18n"}var le=(ue.prototype.getDragElements=function(e){var t=this.list.getSelectedElements();return-1<t.indexOf(e)?t:[e]},ue.prototype.getDragURI=function(e){return this.dnd.getDragURI(e)},ue.prototype.getDragLabel=function(e){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e)},ue.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(e,t)},ue.prototype.onDragOver=function(e,t,n,o){return this.dnd.onDragOver(e,t,n,o)},ue.prototype.drop=function(e,t,n,o){this.dnd.drop(e,t,n,o)},ue);function ue(e,t){this.list=e,this.dnd=t}var ce=(Object.defineProperty(de.prototype,"onFocusChange",{get:function(){var t=this;return f.b.map(this.eventBufferer.wrapEvent(this.focus.onChange),function(e){return t.toListEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onSelectionChange",{get:function(){var t=this;return f.b.map(this.eventBufferer.wrapEvent(this.selection.onChange),function(e){return t.toListEvent(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onMouseClick",{get:function(){return this.view.onMouseClick},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onMouseDblClick",{get:function(){return this.view.onMouseDblClick},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onMouseMiddleClick",{get:function(){return this.view.onMouseMiddleClick},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onMouseDown",{get:function(){return this.view.onMouseDown},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onTouchStart",{get:function(){return this.view.onTouchStart},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onTap",{get:function(){return this.view.onTap},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onContextMenu",{get:function(){var n=this,e=f.b.chain(Object(g.a)(this.view.domNode,"keydown")).map(function(e){return new p.a(e)}).filter(function(e){return n.didJustPressContextMenuKey=58===e.keyCode||e.shiftKey&&68===e.keyCode}).filter(function(e){return e.preventDefault(),e.stopPropagation(),!1}).map(function(e){var t=n.getFocus()[0];return{index:t,element:n.view.element(t),anchor:n.view.domElement(t)||void 0,browserEvent:e.browserEvent}}).event,t=f.b.chain(Object(g.a)(this.view.domNode,"keyup")).filter(function(){var e=n.didJustPressContextMenuKey;return n.didJustPressContextMenuKey=!1,e}).filter(function(){return 0<n.getFocus().length}).map(function(e){var t=n.getFocus()[0];return{index:t,element:n.view.element(t),anchor:n.view.domElement(t)||void 0,browserEvent:e}}).filter(function(e){return!!e.anchor}).event,o=f.b.chain(this.view.onContextMenu).filter(function(){return!n.didJustPressContextMenuKey}).map(function(e){var t=e.element,n=e.index,o=e.browserEvent;return{element:t,index:n,anchor:{x:o.clientX+1,y:o.clientY},browserEvent:o}}).event;return f.b.any(e,t,o)},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onKeyDown",{get:function(){return Object(g.a)(this.view.domNode,"keydown")},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"onDidDispose",{get:function(){return this._onDidDispose.event},enumerable:!0,configurable:!0}),de.prototype.createMouseController=function(e){return new J(this)},de.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=x({},this._options,e),this.typeLabelController&&this.typeLabelController.updateOptions(this._options)},Object.defineProperty(de.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),de.prototype.splice=function(e,t,n){var o=this;if(void 0===n&&(n=[]),e<0||e>this.view.length)throw new Error("Invalid start index: "+e);if(t<0)throw new Error("Invalid delete count: "+t);0===t&&0===n.length||this.eventBufferer.bufferEvents(function(){return o.spliceable.splice(e,t,n)})},de.prototype.rerender=function(){this.view.rerender()},de.prototype.element=function(e){return this.view.element(e)},Object.defineProperty(de.prototype,"length",{get:function(){return this.view.length},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"contentHeight",{get:function(){return this.view.contentHeight},enumerable:!0,configurable:!0}),Object.defineProperty(de.prototype,"scrollTop",{get:function(){return this.view.getScrollTop()},set:function(e){this.view.setScrollTop(e)},enumerable:!0,configurable:!0}),de.prototype.domFocus=function(){this.view.domNode.focus()},de.prototype.layout=function(e,t){this.view.layout(e,t)},de.prototype.setSelection=function(e,t){for(var n=0,o=e;n<o.length;n++){var i=o[n];if(i<0||i>=this.length)throw new Error("Invalid index "+i)}e=e.sort(oe),this.selection.set(e,t)},de.prototype.getSelection=function(){return this.selection.get()},de.prototype.getSelectedElements=function(){var t=this;return this.getSelection().map(function(e){return t.view.element(e)})},de.prototype.setFocus=function(e,t){for(var n=0,o=e;n<o.length;n++){var i=o[n];if(i<0||i>=this.length)throw new Error("Invalid index "+i)}e=e.sort(oe),this.focus.set(e,t)},de.prototype.focusNext=function(e,t,n,o){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),r=this.findNextIndex(0<i.length?i[0]+e:0,t,o);-1<r&&this.setFocus([r],n)}},de.prototype.focusPrevious=function(e,t,n,o){if(void 0===e&&(e=1),void 0===t&&(t=!1),0!==this.length){var i=this.focus.get(),r=this.findPreviousIndex(0<i.length?i[0]-e:0,t,o);-1<r&&this.setFocus([r],n)}},de.prototype.focusNextPage=function(e,t){var n=this,o=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);o=0===o?0:o-1;var i=this.view.element(o),r=this.getFocusedElements()[0];if(r!==i){var a=this.findPreviousIndex(o,!1,t);-1<a&&r!==this.view.element(a)?this.setFocus([a],e):this.setFocus([o],e)}else{var s=this.view.getScrollTop();this.view.setScrollTop(s+this.view.renderHeight-this.view.elementHeight(o)),this.view.getScrollTop()!==s&&setTimeout(function(){return n.focusNextPage(e,t)},0)}},de.prototype.focusPreviousPage=function(e,t){var n,o=this,i=this.view.getScrollTop();n=0===i?this.view.indexAt(i):this.view.indexAfter(i-1);var r=this.view.element(n),a=this.getFocusedElements()[0];if(a!==r){var s=this.findNextIndex(n,!1,t);-1<s&&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 o.focusPreviousPage(e,t)},0)}},de.prototype.focusLast=function(e,t){if(0!==this.length){var n=this.findPreviousIndex(this.length-1,!1,t);-1<n&&this.setFocus([n],e)}},de.prototype.focusFirst=function(e,t){if(0!==this.length){var n=this.findNextIndex(0,!1,t);-1<n&&this.setFocus([n],e)}},de.prototype.findNextIndex=function(e,t,n){void 0===t&&(t=!1);for(var o=0;o<this.length;o++){if(e>=this.length&&!t)return-1;if(e%=this.length,!n||n(this.element(e)))return e;e++}return-1},de.prototype.findPreviousIndex=function(e,t,n){void 0===t&&(t=!1);for(var o=0;o<this.length;o++){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},de.prototype.getFocus=function(){return this.focus.get()},de.prototype.getFocusedElements=function(){var t=this;return this.getFocus().map(function(e){return t.view.element(e)})},de.prototype.reveal=function(e,t){if(e<0||e>=this.length)throw new Error("Invalid index "+e);var n=this.view.getScrollTop(),o=this.view.elementTop(e),i=this.view.elementHeight(e);if(Object(l.g)(t)){var r=i-this.view.renderHeight;this.view.setScrollTop(r*Object(A.a)(t,0,1)+o)}else{var a=o+i,s=n+this.view.renderHeight;o<n?this.view.setScrollTop(o):s<=a&&this.view.setScrollTop(a-this.view.renderHeight)}},de.prototype.getRelativeTop=function(e){if(e<0||e>=this.length)throw new Error("Invalid index "+e);var t=this.view.getScrollTop(),n=this.view.elementTop(e),o=this.view.elementHeight(e);if(n<t||n+o>t+this.view.renderHeight)return null;var i=o-this.view.renderHeight;return Math.abs((t-n)/i)},de.prototype.getHTMLElement=function(){return this.view.domNode},de.prototype.open=function(e,t){for(var n=this,o=0,i=e;o<i.length;o++){var r=i[o];if(r<0||r>=this.length)throw new Error("Invalid index "+r)}this._onDidOpen.fire({indexes:e,elements:e.map(function(e){return n.view.element(e)}),browserEvent:t})},de.prototype.pin=function(e){for(var t=0,n=e;t<n.length;t++){var o=n[t];if(o<0||o>=this.length)throw new Error("Invalid index "+o)}this._onPin.fire(e)},de.prototype.style=function(e){this.styleController.style(e)},de.prototype.toListEvent=function(e){var t=this,n=e.indexes,o=e.browserEvent;return{indexes:n,elements:n.map(function(e){return t.view.element(e)}),browserEvent:o}},de.prototype._onFocusChange=function(){var e=this.focus.get();0<e.length?this.view.domNode.setAttribute("aria-activedescendant",this.view.getElementDomId(e[0])):this.view.domNode.removeAttribute("aria-activedescendant"),this.view.domNode.setAttribute("role","tree"),c.M(this.view.domNode,"element-focused",0<e.length)},de.prototype._onSelectionChange=function(){var e=this.selection.get();c.M(this.view.domNode,"selection-none",0===e.length),c.M(this.view.domNode,"selection-single",1===e.length),c.M(this.view.domNode,"selection-multiple",1<e.length)},de.prototype.dispose=function(){this._onDidDispose.fire(),this.disposables=Object(r.d)(this.disposables),this._onDidOpen.dispose(),this._onPin.dispose(),this._onDidDispose.dispose()},S([a.a],de.prototype,"onFocusChange",null),S([a.a],de.prototype,"onSelectionChange",null),S([a.a],de.prototype,"onContextMenu",null),de);function de(e,t,n,o){void 0===o&&(o=te),this._options=o,this.eventBufferer=new f.c,this._onDidOpen=new f.a,this._onPin=new f.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new f.a,this.focus=new O,this.selection=new k("selected"),Object(y.f)(o,ee,!1);var i=[this.focus.renderer,this.selection.renderer];o.accessibilityProvider&&i.push(new ae(o.accessibilityProvider)),n=n.map(function(e){return new ie(e.templateId,i.concat([e]))});var r=x({},o,{dnd:o.dnd&&new le(this,o.dnd)});if(this.view=new b.b(e,t,n,r),"string"!=typeof o.ariaRole?this.view.domNode.setAttribute("role",m.a.TREE):this.view.domNode.setAttribute("role",o.ariaRole),this.styleElement=c.o(this.view.domNode),this.styleController=o.styleController||new Q(this.styleElement,this.view.domId),this.spliceable=new C.a([new M(this.focus,this.view,o.identityProvider),new M(this.selection,this.view,o.identityProvider),this.view]),this.disposables=[this.focus,this.selection,this.view,this._onDidDispose],this.onDidFocus=f.b.map(Object(g.a)(this.view.domNode,"focus",!0),function(){return null}),this.onDidBlur=f.b.map(Object(g.a)(this.view.domNode,"blur",!0),function(){return null}),this.disposables.push(new V(this,this.view)),"boolean"!=typeof o.keyboardSupport||o.keyboardSupport){var a=new R(this,this.view,o);this.disposables.push(a)}o.keyboardNavigationLabelProvider&&(this.typeLabelController=new F(this,this.view,o.keyboardNavigationLabelProvider),this.disposables.push(this.typeLabelController)),this.disposables.push(this.createMouseController(o)),this.onFocusChange(this._onFocusChange,this,this.disposables),this.onSelectionChange(this._onSelectionChange,this,this.disposables),o.ariaLabel&&this.view.domNode.setAttribute("aria-label",Object(s.a)("aria list","{0}. Use the navigation keys to navigate.",o.ariaLabel)),this.style(o)}},2099:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a});var o={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:"text/plain"},i=(r.prototype.update=function(){},r.prototype.getData=function(){return this.data},r);function r(e){this.data=e}var a={CurrentDragAndDropData:void 0}},2100:function(e,t,n){"use strict";t.a=function(e,t,n){return Math.min(Math.max(e,t),n)}},2101:function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"a",function(){return c}),t.b=D;var o=n(1462),i=n(989);function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return function(e,t){for(var n=0,o=r.length;n<o;n++){var i=r[n](e,t);if(i)return i}return null}}var a=function(e,t,n){if(!n||n.length<t.length)return null;var o;o=e?i.C(n,t):0===n.indexOf(t);return o?0<t.length?[{start:0,end:t.length}]:[]:null}.bind(void 0,!0);function h(e){return 97<=e&&e<=122}function p(e){return 65<=e&&e<=90}function f(e){return 48<=e&&e<=57}function g(e){return h(e)||p(e)||f(e)}function s(e,t){return 0===t.length?t=[e]:e.end===t[0].start?t[0].start=e.start:t.unshift(e),t}function m(e,t){for(var n=t;n<e.length;n++){var o=e.charCodeAt(n);if(p(o)||f(o)||0<n&&!g(e.charCodeAt(n-1)))return n}return e.length}function b(e,t,n,o){if(n===e.length)return[];if(o===t.length)return null;if(e[n]!==t[o].toLowerCase())return null;var i=null,r=o+1;for(i=b(e,t,n+1,o+1);!i&&(r=m(t,r))<t.length;)i=b(e,t,n+1,r),r++;return null===i?null:s({start:o,end:o+1},i)}function l(e,t){if(!t)return null;if(0===(t=t.trim()).length)return null;if(!function(e){for(var t,n=0,o=0,i=0,r=0,a=0;a<e.length;a++)p(i=e.charCodeAt(a))&&n++,h(i)&&o++,32!==(t=i)&&9!==t&&10!==t&&13!==t||r++;return 0!==n&&0!==o||0!==r?n<=5:e.length<=30}(e))return null;if(60<t.length)return null;var n,o,i,r,a,s,l,u=function(e){for(var t=0,n=0,o=0,i=0,r=0,a=0;a<e.length;a++)p(r=e.charCodeAt(a))&&t++,h(r)&&n++,g(r)&&o++,f(r)&&i++;return{upperPercent:t/e.length,lowerPercent:n/e.length,alphaPercent:o/e.length,numericPercent:i/e.length}}(t);if(r=(i=u).upperPercent,a=i.lowerPercent,s=i.alphaPercent,l=i.numericPercent,!(.2<a&&r<.8&&.6<s&&l<.2)){if(o=(n=u).upperPercent,!(0===n.lowerPercent&&.6<o))return null;t=t.toLowerCase()}var c=null,d=0;for(e=e.toLowerCase();d<t.length&&null===(c=b(e,t,0,d));)d=m(t,d+1);return c}r(a,l,function(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]}),r(a,l,function(e,t){return function e(t,n,o,i){{if(o===t.length)return[];if(i===n.length)return null;if(t[o]!==n[i])return e(t,n,o,i+1);var r=null;return(r=e(t,n,o+1,i+1))?s({start:i,end:i+1},r):null}}(e.toLowerCase(),t.toLowerCase(),0,0)}),new o.a(1e4);var v=53;function u(){for(var e=[],t=[0],n=1;n<=v;n++)t.push(-n);for(n=0;n<=v;n++){var o=t.slice(0);o[0]=-n,e.push(o)}return e}var c,d,y=u(),C=u(),A=u(),_=!1;function w(e,t,n,o,i){function r(e,t,n){for(void 0===n&&(n=" ");e.length<t;)e=n+e;return e}for(var a=" | |"+o.split("").map(function(e){return r(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 r(e.toString(),3)}).join("|")+"\n";return a}function x(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){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 S(e,t){if(t<0||t>=e.length)return!1;switch(e.charCodeAt(t)){case 32:case 9:return!0;default:return!1}}function L(e,t,n){return t[e]!==n[e]}function D(e,t,n,o,i,r,a){var s=e.length>v?v:e.length,l=o.length>v?v:o.length;if(!(s<=n||l<=r||l<s)&&function(e,t,n,o,i,r){for(;t<n&&i<r;)e[t]===o[i]&&(t+=1),i+=1;return t===n}(t,n,s,i,r,l)){var u=n,c=r;for(n=u+1;n<=s;n++)for(r=1;r<=l;r++){var d=-1;t[n-1]===i[r-1]&&(d=r===n-u?e[n-1]===o[r-1]?7:5:!L(r-1,o,i)||1!==r&&L(r-2,o,i)?x(i,r-2)||S(i,r-2)?5:1:e[n-1]===o[r-1]?7:5),C[n][r]=d;var h=y[n-1][r-1]+(1<d?1:d),p=y[n-1][r]+-1,f=y[n][r-1]+-1;p<=f?h<f?(y[n][r]=f,A[n][r]=4):f===h?(y[n][r]=f,A[n][r]=6):(y[n][r]=h,A[n][r]=2):h<p?(y[n][r]=p,A[n][r]=1):p===h?(y[n][r]=p,A[n][r]=3):(y[n][r]=h,A[n][r]=2)}if(_&&(console.log(w(y,e,s,o,l)),console.log(w(A,e,s,o,l)),console.log(w(C,e,s,o,l))),k=0,O=u,E=a,function e(t,n,o,i,r){if(10<=k||o<-25)return;var a=0;for(;O<t&&0<n;){var s=C[t][n],l=A[t][n];if(4===l)n-=1,r?o-=5:0!==i&&(o-=1),r=!1,a=0;else{if(!(2&l))return;if(4&l&&e(t,n-1,0!==i?o-1:o,i,r),o+=s,t-=1,n-=1,r=!0,i+=Math.pow(2,n),1===s){if(a+=1,t===O&&!E)return}else o+=1+a*(s-1),a=0}}o-=3<=n?9:3*n;k+=1;I<o&&(I=o,N=i)}(s,l,s===l?1:0,0,!(I=-100)),0!==k)return[I,N,c]}}(d=c=c||{}).Default=[-100,0,0],d.isDefault=function(e){return!e||-100===e[0]&&0===e[1]&&0===e[2]};var k=0,N=0,I=0,O=0,E=!1},2102:function(e,t,n){"use strict";n.d(t,"b",function(){return L}),n.d(t,"a",function(){return Z});var o,i=n(2526),u=(n.n(i),n(868)),r=n(2098),c=n(1126),h=n(966),p=n(1491),d=n(2099),g=n(1316),a=n(1795),f=n(1544),s=n(2101),l=n(2103),m=n(1215),b=n(1239),v=n(1134),y=n(1462),C=n(2100),A=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=this&&this.__assign||function(){return(_=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function w(e){if(e instanceof a.a){var t=e.elements;return new a.a(t.map(function(e){return e.element}))}return e}var x=(S.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},S.prototype.getDragLabel=function(e){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(function(e){return e.element}))},S.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(w(e),t)},S.prototype.onDragOver=function(e,n,t,o,i){var r=this;void 0===i&&(i=!0);var a=this.dnd.onDragOver(w(e),n&&n.element,t,o),s=this.autoExpandNode!==n;if(s&&(this.autoExpandDisposable.dispose(),this.autoExpandNode=n),void 0===n)return a;if(s&&"boolean"!=typeof a&&a.autoExpand&&(this.autoExpandDisposable=Object(b.f)(function(){var e=r.modelProvider(),t=e.getNodeLocation(n);e.isCollapsed(t)&&e.setCollapsed(t,!1),r.autoExpandNode=void 0},500)),"boolean"==typeof a||!a.accept||void 0===a.bubble)return i?a:{accept:"boolean"==typeof a?a:a.accept,effect:"boolean"==typeof a?void 0:a.effect,feedback:[t]};if(1===a.bubble){var l=n.parent,u=this.modelProvider(),c=l&&u.getListIndex(u.getNodeLocation(l));return this.onDragOver(e,l,c,o,!1)}var d=this.modelProvider(),h=d.getNodeLocation(n),p=d.getListIndex(h),f=d.getListRenderCount(h);return _({},a,{feedback:Object(g.i)(p,p+f)})},S.prototype.drop=function(e,t,n,o){this.autoExpandDisposable.dispose(),this.autoExpandNode=void 0,this.dnd.drop(w(e),t&&t.element,n,o)},S);function S(e,t){this.modelProvider=e,this.dnd=t,this.autoExpandDisposable=u.a.None}var L=(D.prototype.getHeight=function(e){return this.delegate.getHeight(e.element)},D.prototype.getTemplateId=function(e){return this.delegate.getTemplateId(e.element)},D.prototype.hasDynamicHeight=function(e){return!!this.delegate.hasDynamicHeight&&this.delegate.hasDynamicHeight(e.element)},D);function D(e){this.delegate=e}var k=(N.prototype.updateOptions=function(e){var n=this;void 0===e&&(e={}),void 0!==e.indent&&(this.indent=Object(C.a)(e.indent,0,40)),this.renderedNodes.forEach(function(e,t){e.twistie.style.marginLeft=t.depth*n.indent+"px"})},N.prototype.renderTemplate=function(e){var t=Object(c.l)(e,Object(c.a)(".monaco-tl-row")),n=Object(c.l)(t,Object(c.a)(".monaco-tl-twistie")),o=Object(c.l)(t,Object(c.a)(".monaco-tl-contents"));return{container:e,twistie:n,templateData:this.renderer.renderTemplate(o)}},N.prototype.renderElement=function(e,t,n,o){o||(this.renderedNodes.set(e,n),this.renderedElements.set(e.element,e));var i=N.DefaultIndent+(e.depth-1)*this.indent;n.twistie.style.marginLeft=i+"px",this.update(e,n),this.renderer.renderElement(e,t,n.templateData,o)},N.prototype.disposeElement=function(e,t,n,o){this.renderer.disposeElement&&this.renderer.disposeElement(e,t,n.templateData,o),o||(this.renderedNodes.delete(e),this.renderedElements.delete(e.element))},N.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},N.prototype.onDidChangeTwistieState=function(e){var t=this.renderedElements.get(e);t&&this.onDidChangeNodeTwistieState(t)},N.prototype.onDidChangeNodeTwistieState=function(e){var t=this.renderedNodes.get(e);t&&this.update(e,t)},N.prototype.update=function(e,t){this.renderer.renderTwistie&&this.renderer.renderTwistie(e.element,t.twistie),Object(c.M)(t.twistie,"collapsible",e.collapsible),Object(c.M)(t.twistie,"collapsed",e.collapsible&&e.collapsed),e.collapsible?t.container.setAttribute("aria-expanded",String(!e.collapsed)):t.container.removeAttribute("aria-expanded")},N.prototype.dispose=function(){this.renderedNodes.clear(),this.renderedElements.clear(),this.disposables=Object(u.d)(this.disposables)},N.DefaultIndent=8,N);function N(e,t,n){void 0===n&&(n={}),this.renderer=e,this.renderedElements=new Map,this.renderedNodes=new Map,this.indent=N.DefaultIndent,this.disposables=[],this.templateId=e.templateId,this.updateOptions(n),h.b.map(t,function(e){return e.node})(this.onDidChangeNodeTwistieState,this,this.disposables),e.onDidChangeTwistieState&&e.onDidChangeTwistieState(this.onDidChangeTwistieState,this,this.disposables)}var I=(Object.defineProperty(O.prototype,"totalCount",{get:function(){return this._totalCount},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"matchCount",{get:function(){return this._matchCount},enumerable:!0,configurable:!0}),Object.defineProperty(O.prototype,"pattern",{set:function(e){this._pattern=e,this._lowercasePattern=e.toLowerCase()},enumerable:!0,configurable:!0}),O.prototype.filter=function(e,t){if(this._filter){var n=this._filter.filter(e,t);if(this.tree.options.simpleKeyboardNavigation)return n;if(0===("boolean"==typeof n?n?1:0:Object(l.c)(n)?Object(l.b)(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:s.a.Default,visibility:!0};var o=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),i=o&&o.toString();if(void 0===i)return{data:s.a.Default,visibility:!0};var r=Object(s.b)(this._pattern,this._lowercasePattern,0,i,i.toLowerCase(),0,!0);return r?(this._matchCount++,{data:r,visibility:!0}):this.tree.options.filterOnType?2:{data:s.a.Default,visibility:!0}},O.prototype.reset=function(){this._totalCount=0,this._matchCount=0},O.prototype.dispose=function(){this.disposables=Object(u.d)(this.disposables)},O);function O(e,t,n){this.tree=e,this.keyboardNavigationLabelProvider=t,this._filter=n,this._totalCount=0,this._matchCount=0,this.disposables=[],e.onWillRefilter(this.reset,this,this.disposables)}var E=(Object.defineProperty(M.prototype,"enabled",{get:function(){return this._enabled},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"pattern",{get:function(){return this._pattern},enumerable:!0,configurable:!0}),Object.defineProperty(M.prototype,"filterOnType",{get:function(){return this._filterOnType},enumerable:!0,configurable:!0}),M.prototype.updateOptions=function(e){e.simpleKeyboardNavigation?this.disable():this.enable(),void 0!==e.filterOnType&&(this._filterOnType=!!e.filterOnType,this.filterOnTypeDomNode.checked=this._filterOnType),void 0!==e.automaticKeyboardNavigation&&(this.automaticKeyboardNavigation=e.automaticKeyboardNavigation),this.tree.refilter(),this.render(),this.automaticKeyboardNavigation||this.onEventOrInput("")},M.prototype.enable=function(){var t=this;if(!this._enabled){var n=this.keyboardNavigationLabelProvider.mightProducePrintableCharacter?function(e){return t.keyboardNavigationLabelProvider.mightProducePrintableCharacter(e)}:function(e){return Object(r.f)(e)},e=h.b.chain(Object(f.a)(this.view.getHTMLElement(),"keydown")).filter(function(e){return!B(e.target)||e.target===t.filterOnTypeDomNode}).map(function(e){return new p.a(e)}).filter(this.keyboardNavigationEventFilter||function(){return!0}).filter(function(){return t.automaticKeyboardNavigation||t.triggered}).filter(function(e){return n(e)||(0<t.pattern.length||t.triggered)&&(9===e.keyCode||1===e.keyCode)&&!e.altKey&&!e.ctrlKey&&!e.metaKey||1===e.keyCode&&(v.d?e.altKey:e.ctrlKey)&&!e.shiftKey}).forEach(function(e){e.stopPropagation(),e.preventDefault()}).event,o=Object(f.a)(this.clearDomNode,"click");h.b.chain(h.b.any(e,o)).event(this.onEventOrInput,this,this.enabledDisposables),this.filter.pattern="",this.tree.refilter(),this.render(),this._enabled=!0,this.triggered=!1}},M.prototype.disable=function(){this._enabled&&(this.domNode.remove(),this.enabledDisposables=Object(u.d)(this.enabledDisposables),this.tree.refilter(),this.render(),this._enabled=!1,this.triggered=!1)},M.prototype.onEventOrInput=function(e){"string"==typeof e?this.onInput(e):e instanceof MouseEvent||9===e.keyCode||1===e.keyCode&&(v.d?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)},M.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!s.a.isDefault(e.filterData)});var n=this.tree.getFocus();if(0<n.length){var o=n[0];null===this.tree.getRelativeTop(o)&&this.tree.reveal(o,.5)}this.render(),e||(this.triggered=!1)},M.prototype.onDragStart=function(){function n(){switch(l){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-a-6+"px"}}var e=this,t=this.view.getHTMLElement(),o=Object(c.s)(t).left,i=t.clientWidth,r=i/2,a=this.domNode.clientWidth,s=[],l=this.positionClassName;n(),Object(c.D)(this.domNode,l),Object(c.e)(this.domNode,"dragging"),s.push(Object(u.e)(function(){return Object(c.D)(e.domNode,"dragging")})),Object(f.a)(document,"dragover")(function(e){var t=e.screenX-o;e.dataTransfer&&(e.dataTransfer.dropEffect="none"),l=t<r?"nw":"ne",n()},null,s),Object(f.a)(this.domNode,"dragend")(function(){e.positionClassName=l,e.domNode.className="monaco-list-type-filter "+e.positionClassName,e.domNode.style.top=null,e.domNode.style.left=null,Object(u.d)(s)},null,s),d.c.CurrentDragAndDropData=new d.b("vscode-ui"),s.push(Object(u.e)(function(){return d.c.CurrentDragAndDropData=void 0}))},M.prototype.onDidSpliceModel=function(){this._enabled&&0!==this.pattern.length&&(this.tree.refilter(),this.render())},M.prototype.onDidChangeFilterOnType=function(){this.tree.updateOptions({filterOnType:this.filterOnTypeDomNode.checked}),this.tree.refilter(),this.tree.domFocus(),this.render(),this.updateFilterOnTypeTitle()},M.prototype.updateFilterOnTypeTitle=function(){this.filterOnType?this.filterOnTypeDomNode.title=Object(m.a)("disable filter on type","Disable Filter on Type"):this.filterOnTypeDomNode.title=Object(m.a)("enable filter on type","Enable Filter on Type")},M.prototype.render=function(){var e=0<this.filter.totalCount&&0===this.filter.matchCount;this.pattern&&this.tree.options.filterOnType&&e?(this.messageDomNode.textContent=Object(m.a)("empty","No elements found"),this._empty=!0):(this.messageDomNode.innerHTML="",this._empty=!1),Object(c.M)(this.domNode,"no-matches",e),this.domNode.title=Object(m.a)("found","Matched {0} out of {1} elements",this.filter.matchCount,this.filter.totalCount),this.labelDomNode.textContent=16<this.pattern.length?"…"+this.pattern.substr(this.pattern.length-16):this.pattern,this._onDidChangeEmptyState.fire(this._empty)},M.prototype.shouldAllowFocus=function(e){return!(this.enabled&&this.pattern&&!this.filterOnType)||0<this.filter.totalCount&&this.filter.matchCount<=1||!s.a.isDefault(e.filterData)},M.prototype.dispose=function(){this.disable(),this._onDidChangePattern.dispose(),this.disposables=Object(u.d)(this.disposables)},M);function M(e,t,n,o,i){this.tree=e,this.view=n,this.filter=o,this.keyboardNavigationLabelProvider=i,this._enabled=!1,this._pattern="",this._onDidChangeEmptyState=new h.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new h.a,this.enabledDisposables=[],this.disposables=[],this.domNode=Object(c.a)(".monaco-list-type-filter."+this.positionClassName),this.domNode.draggable=!0,Object(f.a)(this.domNode,"dragstart")(this.onDragStart,this,this.disposables),this.messageDomNode=Object(c.l)(n.getHTMLElement(),Object(c.a)(".monaco-list-type-filter-message")),this.labelDomNode=Object(c.l)(this.domNode,Object(c.a)("span.label"));var r=Object(c.l)(this.domNode,Object(c.a)(".controls"));this._filterOnType=!!e.options.filterOnType,this.filterOnTypeDomNode=Object(c.l)(r,Object(c.a)("input.filter")),this.filterOnTypeDomNode.type="checkbox",this.filterOnTypeDomNode.checked=this._filterOnType,this.filterOnTypeDomNode.tabIndex=-1,this.updateFilterOnTypeTitle(),Object(f.a)(this.filterOnTypeDomNode,"input")(this.onDidChangeFilterOnType,this,this.disposables),this.clearDomNode=Object(c.l)(r,Object(c.a)("button.clear")),this.clearDomNode.tabIndex=-1,this.clearDomNode.title=Object(m.a)("clear","Clear"),this.keyboardNavigationEventFilter=e.options.keyboardNavigationEventFilter,t.onDidSplice(this.onDidSpliceModel,this,this.disposables),this.updateOptions(e.options)}function B(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName}function T(e){return{browserEvent:e.browserEvent,element:e.element?e.element.element:null}}function P(e,t){t(e),e.children.forEach(function(e){return P(e,t)})}var j=(Object.defineProperty(R.prototype,"nodeSet",{get:function(){return this._nodeSet||(this._nodeSet=this.createNodeSet()),this._nodeSet},enumerable:!0,configurable:!0}),R.prototype.set=function(e,t){if(!Object(g.d)(this.nodes,e)){this.nodes=e.slice(),this.elements=void 0,this._nodeSet=void 0;var n=this;this._onDidChange.fire({get elements(){return n.get()},browserEvent:t})}},R.prototype.get=function(){return this.elements||(this.elements=this.nodes.map(function(e){return e.element})),this.elements.slice()},R.prototype.has=function(e){return this.nodeSet.has(e)},R.prototype.onDidModelSplice=function(e){var t=e.insertedNodes,n=e.deletedNodes;if(!this.identityProvider){var o=this.createNodeSet(),i=function(e){return o.delete(e)};return n.forEach(function(e){return P(e,i)}),void this.set(Object(y.e)(o))}var r=this.identityProvider,a=new Map;function s(e){return u.set(r.getId(e.element).toString(),e)}function l(e){return u.delete(r.getId(e.element).toString())}this.nodes.forEach(function(e){return a.set(r.getId(e.element).toString(),e)});var u=new Map;n.forEach(function(e){return P(e,s)}),t.forEach(function(e){return P(e,l)}),u.forEach(function(e,t){return a.delete(t)}),this.set(Object(y.e)(a))},R.prototype.createNodeSet=function(){for(var e=new Set,t=0,n=this.nodes;t<n.length;t++){var o=n[t];e.add(o)}return e},R);function R(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new h.a,this.onDidChange=this._onDidChange.event}var W,z=(W=r.c,A(F,W),F.prototype.onPointer=function(e){if(!B(e.browserEvent.target)){var t=e.element;if(!t)return W.prototype.onPointer.call(this,e);if(this.isSelectionRangeChangeEvent(e)||this.isSelectionSingleChangeEvent(e))return W.prototype.onPointer.call(this,e);var n=Object(c.x)(e.browserEvent.target,"monaco-tl-twistie");if(!this.tree.openOnSingleClick&&2!==e.browserEvent.detail&&!n)return W.prototype.onPointer.call(this,e);var o=!1;if((o="function"==typeof this.tree.expandOnlyOnTwistieClick?this.tree.expandOnlyOnTwistieClick(t.element):!!this.tree.expandOnlyOnTwistieClick)&&!n)return W.prototype.onPointer.call(this,e);var i=this.tree.model,r=i.getNodeLocation(t),a=e.browserEvent.altKey;i.setCollapsed(r,void 0,a),o&&n||W.prototype.onPointer.call(this,e)}},F);function F(e,t){var n=W.call(this,e)||this;return n.tree=t,n}var H,V=(H=r.b,A(U,H),U.prototype.createMouseController=function(e){return new z(this,e.tree)},U.prototype.splice=function(n,e,t){var o=this;if(void 0===t&&(t=[]),H.prototype.splice.call(this,n,e,t),0!==t.length){var i=[],r=[];t.forEach(function(e,t){o.selectionTrait.has(e)&&i.push(n+t),o.selectionTrait.has(e)&&r.push(n+t)}),0<i.length&&H.prototype.setFocus.call(this,H.prototype.getFocus.call(this).concat(i)),0<r.length&&H.prototype.setSelection.call(this,H.prototype.getSelection.call(this).concat(r))}},U.prototype.setFocus=function(e,t,n){var o=this;void 0===n&&(n=!1),H.prototype.setFocus.call(this,e,t),n||this.focusTrait.set(e.map(function(e){return o.element(e)}),t)},U.prototype.setSelection=function(e,t,n){var o=this;void 0===n&&(n=!1),H.prototype.setSelection.call(this,e,t),n||this.selectionTrait.set(e.map(function(e){return o.element(e)}),t)},U);function U(e,t,n,o,i,r){var a=H.call(this,e,t,n,r)||this;return a.focusTrait=o,a.selectionTrait=i,a}var Z=(Object.defineProperty(G.prototype,"onDidChangeFocus",{get:function(){return this.eventBufferer.wrapEvent(this.focus.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"onDidChangeSelection",{get:function(){return this.eventBufferer.wrapEvent(this.selection.onDidChange)},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"onMouseDblClick",{get:function(){return h.b.map(this.view.onMouseDblClick,T)},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"onDidFocus",{get:function(){return this.view.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"onDidChangeCollapseState",{get:function(){return this.model.onDidChangeCollapseState},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"openOnSingleClick",{get:function(){return void 0===this._options.openOnSingleClick||this._options.openOnSingleClick},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"expandOnlyOnTwistieClick",{get:function(){return void 0!==this._options.expandOnlyOnTwistieClick&&this._options.expandOnlyOnTwistieClick},enumerable:!0,configurable:!0}),Object.defineProperty(G.prototype,"onDidDispose",{get:function(){return this.view.onDidDispose},enumerable:!0,configurable:!0}),G.prototype.updateOptions=function(e){void 0===e&&(e={}),this._options=_({},this._options,e);for(var t=0,n=this.renderers;t<n.length;t++)n[t].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.defineProperty(G.prototype,"options",{get:function(){return this._options},enumerable:!0,configurable:!0}),G.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},Object.defineProperty(G.prototype,"scrollTop",{get:function(){return this.view.scrollTop},set:function(e){this.view.scrollTop=e},enumerable:!0,configurable:!0}),G.prototype.domFocus=function(){this.view.domFocus()},G.prototype.layout=function(e,t){this.view.layout(e,t)},G.prototype.style=function(e){this.view.style(e)},G.prototype.getNode=function(e){return this.model.getNode(e)},G.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!0,t)},G.prototype.expand=function(e,t){return void 0===t&&(t=!1),this.model.setCollapsed(e,!1,t)},G.prototype.isCollapsed=function(e){return this.model.isCollapsed(e)},G.prototype.refilter=function(){this._onWillRefilter.fire(void 0),this.model.refilter()},G.prototype.setSelection=function(e,t){var n=this,o=e.map(function(e){return n.model.getNode(e)});this.selection.set(o,t);var i=e.map(function(e){return n.model.getListIndex(e)}).filter(function(e){return-1<e});this.view.setSelection(i,t,!0)},G.prototype.getSelection=function(){return this.selection.get()},G.prototype.setFocus=function(e,t){var n=this,o=e.map(function(e){return n.model.getNode(e)});this.focus.set(o,t);var i=e.map(function(e){return n.model.getListIndex(e)}).filter(function(e){return-1<e});this.view.setFocus(i,t,!0)},G.prototype.focusNext=function(e,t,n,o){void 0===e&&(e=1),void 0===t&&(t=!1),void 0===o&&(o=this.focusNavigationFilter),this.view.focusNext(e,t,n,o)},G.prototype.getFocus=function(){return this.focus.get()},G.prototype.reveal=function(e,t){this.model.expandTo(e);var n=this.model.getListIndex(e);-1!==n&&this.view.reveal(n,t)},G.prototype.getRelativeTop=function(e){var t=this.model.getListIndex(e);return-1===t?null:this.view.getRelativeTop(t)},G.prototype.onLeftArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],o=this.model.getNodeLocation(n);if(!this.model.setCollapsed(o,!0)){var i=this.model.getParentNodeLocation(o);if(null===i)return;var r=this.model.getListIndex(i);this.view.reveal(r),this.view.setFocus([r])}}},G.prototype.onRightArrow=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],o=this.model.getNodeLocation(n);if(!this.model.setCollapsed(o,!1)){if(!n.children.some(function(e){return e.visible}))return;var i=this.view.getFocus()[0]+1;this.view.reveal(i),this.view.setFocus([i])}}},G.prototype.onSpace=function(e){e.preventDefault(),e.stopPropagation();var t=this.view.getFocusedElements();if(0!==t.length){var n=t[0],o=this.model.getNodeLocation(n),i=e.browserEvent.altKey;this.model.setCollapsed(o,void 0,i)}},G.prototype.dispose=function(){this.disposables=Object(u.d)(this.disposables),this.view.dispose()},G);function G(e,t,n,o){var i;void 0===o&&(o={});var r=this;this._options=o,this.eventBufferer=new h.c,this.disposables=[],this._onWillRefilter=new h.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new h.a;var a,s,l,u=new L(t),c=new h.d;if(this.renderers=n.map(function(e){return new k(e,c.event,o)}),(i=this.disposables).push.apply(i,this.renderers),o.keyboardNavigationLabelProvider&&(a=new I(this,o.keyboardNavigationLabelProvider,o.filter),o=_({},o,{filter:a}),this.disposables.push(a)),this.focus=new j(o.identityProvider),this.selection=new j(o.identityProvider),this.view=new V(e,u,this.renderers,this.focus,this.selection,_({},(s=function(){return r.model},(l=o)&&_({},l,{identityProvider:l.identityProvider&&{getId:function(e){return l.identityProvider.getId(e.element)}},dnd:l.dnd&&new x(s,l.dnd),multipleSelectionController:l.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return l.multipleSelectionController.isSelectionSingleChangeEvent(_({},e,{element:e.element}))},isSelectionRangeChangeEvent:function(e){return l.multipleSelectionController.isSelectionRangeChangeEvent(_({},e,{element:e.element}))}},accessibilityProvider:l.accessibilityProvider&&{getAriaLabel:function(e){return l.accessibilityProvider.getAriaLabel(e.element)},getAriaLevel:function(e){return e.depth}},keyboardNavigationLabelProvider:l.keyboardNavigationLabelProvider&&_({},l.keyboardNavigationLabelProvider,{getKeyboardNavigationLabel:function(e){return l.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}}),enableKeyboardNavigation:l.simpleKeyboardNavigation,ariaSetProvider:{getSetSize:function(e){return e.parent.visibleChildrenCount},getPosInSet:function(e){return e.visibleChildIndex+1}}})),{tree:this})),this.model=this.createModel(this.view,o),c.input=this.model.onDidChangeCollapseState,this.model.onDidSplice(function(e){r.focus.onDidModelSplice(e),r.selection.onDidModelSplice(e)},null,this.disposables),!1!==o.keyboardSupport){var d=h.b.chain(this.view.onKeyDown).filter(function(e){return!B(e.target)}).map(function(e){return new p.a(e)});d.filter(function(e){return 15===e.keyCode}).on(this.onLeftArrow,this,this.disposables),d.filter(function(e){return 17===e.keyCode}).on(this.onRightArrow,this,this.disposables),d.filter(function(e){return 10===e.keyCode}).on(this.onSpace,this,this.disposables)}o.keyboardNavigationLabelProvider&&(this.typeFilterController=new E(this,this.model,this.view,a,o.keyboardNavigationLabelProvider),this.focusNavigationFilter=function(e){return r.typeFilterController.shouldAllowFocus(e)},this.disposables.push(this.typeFilterController))}},2103:function(e,t,n){"use strict";t.c=r,t.b=a,n.d(t,"a",function(){return s});var o=n(1316),i=n(966),k=n(1583);function r(e){return"object"==typeof e&&"visibility"in e&&"data"in e}function a(e){switch(e){case!0:return 1;case!1:return 0;default:return e}}function N(e){var t=e.element,n=e.collapsed;return{element:t,children:k.b.map(k.b.fromArray(e.children),N),collapsed:n}}var s=(l.prototype.splice=function(e,t,n,o,i){var r,a=this;if(0===e.length)throw new Error("Invalid tree location");for(var s=this.getParentNodeWithListIndex(e),l=s.parentNode,u=s.listIndex,c=s.revealed,d=s.visible,h=[],p=k.b.map(k.b.from(n),function(e){return a.createTreeNode(e,l,l.visible?1:0,c,h,o)}),f=e[e.length-1],g=0,m=f;0<=m&&m<l.children.length;m--)if((x=l.children[m]).visible){g=x.visibleChildIndex;break}var b=[],v=0,y=0;k.b.forEach(p,function(e){b.push(e),y+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+v++)});for(var C=(r=l.children).splice.apply(r,[f,t].concat(b)),A=0,_=0,w=C;_<w.length;_++)(x=w[_]).visible&&A++;if(0!==A)for(m=f+b.length;m<l.children.length;m++){var x;(x=l.children[m]).visible&&(x.visibleChildIndex-=A)}if(l.visibleChildrenCount+=v-A,c&&d){var S=C.reduce(function(e,t){return e+t.renderNodeCount},0);this._updateAncestorsRenderNodeCount(l,y-S),this.list.splice(u,S,h)}if(0<C.length&&i){var L=function(e){i(e),e.children.forEach(L)};C.forEach(L)}var D=k.b.map(k.b.fromArray(C),N);return this._onDidSplice.fire({insertedNodes:b,deletedNodes:C}),D},l.prototype.rerender=function(e){if(0===e.length)throw new Error("Invalid tree location");var t=this.getTreeNodeWithListIndex(e),n=t.node,o=t.listIndex;t.revealed&&this.list.splice(o,1,[n])},l.prototype.getListIndex=function(e){var t=this.getTreeNodeWithListIndex(e),n=t.listIndex,o=t.visible,i=t.revealed;return o&&i?n:-1},l.prototype.getListRenderCount=function(e){return this.getTreeNode(e).renderNodeCount},l.prototype.isCollapsed=function(e){return this.getTreeNode(e).collapsed},l.prototype.setCollapsed=function(e,t,n){var o=this,i=this.getTreeNode(e);return void 0===t&&(t=!i.collapsed),this.eventBufferer.bufferEvents(function(){return o._setCollapsed(e,t,n)})},l.prototype._setCollapsed=function(e,t,n){var o=this.getTreeNodeWithListIndex(e),i=o.node,r=o.listIndex,a=o.revealed,s=this._setListNodeCollapsed(i,r,a,t,n||!1);if(this.autoExpandSingleChildren&&!t&&!n){for(var l=-1,u=0;u<i.children.length;u++)if(i.children[u].visible){if(-1<l){l=-1;break}l=u}-1<l&&this._setCollapsed(e.concat([l]),!1,!1)}return s},l.prototype._setListNodeCollapsed=function(e,t,n,o,i){var r=this._setNodeCollapsed(e,o,i,!1);if(!n||!e.visible)return r;var a=e.renderNodeCount,s=this.updateNodeAfterCollapseChange(e),l=a-(-1===t?0:1);return this.list.splice(t+1,l,s.slice(1)),r},l.prototype._setNodeCollapsed=function(e,t,n,o){var i=e.collapsible&&e.collapsed!==t;if(e.collapsible&&(e.collapsed=t,i&&this._onDidChangeCollapseState.fire({node:e,deep:o})),n)for(var r=0,a=e.children;r<a.length;r++){var s=a[r];i=this._setNodeCollapsed(s,t,!0,!0)||i}return i},l.prototype.expandTo=function(t){var n=this;this.eventBufferer.bufferEvents(function(){for(var e=n.getTreeNode(t);e.parent;)e=e.parent,t=t.slice(0,t.length-1),e.collapsed&&n._setCollapsed(t,!1)})},l.prototype.refilter=function(){var e=this.root.renderNodeCount,t=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,e,t)},l.prototype.createTreeNode=function(e,t,n,o,i,r){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:void 0!==e.collapsed,collapsed:void 0===e.collapsed?this.collapseByDefault:e.collapsed,renderNodeCount:1,visible:!0,filterData:void 0},l=this._filterNode(s,n);o&&i.push(s);var u=k.b.from(e.children),c=o&&0!==l&&!s.collapsed,d=k.b.map(u,function(e){return a.createTreeNode(e,s,l,c,i,r)}),h=0,p=1;return k.b.forEach(d,function(e){s.children.push(e),p+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=h++)}),s.collapsible=s.collapsible||0<s.children.length,s.visibleChildrenCount=h,s.visible=2===l?0<h:1===l,s.visible?s.collapsed||(s.renderNodeCount=p):(s.renderNodeCount=0,o&&i.pop()),r&&r(s),s},l.prototype.updateNodeAfterCollapseChange=function(e){var t=e.renderNodeCount,n=[];return this._updateNodeAfterCollapseChange(e,n),this._updateAncestorsRenderNodeCount(e.parent,n.length-t),n},l.prototype._updateNodeAfterCollapseChange=function(e,t){if(!1===e.visible)return 0;if(t.push(e),e.renderNodeCount=1,!e.collapsed)for(var n=0,o=e.children;n<o.length;n++){var i=o[n];e.renderNodeCount+=this._updateNodeAfterCollapseChange(i,t)}return this._onDidChangeRenderNodeCount.fire(e),e.renderNodeCount},l.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},l.prototype._updateNodeAfterFilterChange=function(e,t,n,o){var i;if(void 0===o&&(o=!0),e!==this.root){if(0===(i=this._filterNode(e,t)))return e.visible=!1;o&&n.push(e)}var r=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,o&&!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-r):(e.renderNodeCount=0,o&&n.pop()),this._onDidChangeRenderNodeCount.fire(e),e.visible},l.prototype._updateAncestorsRenderNodeCount=function(e,t){if(0!==t)for(;e;)e.renderNodeCount+=t,this._onDidChangeRenderNodeCount.fire(e),e=e.parent},l.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):r(n)?(e.filterData=n.data,a(n.visibility)):(e.filterData=void 0,a(n))},l.prototype.getTreeNode=function(e,t){if(void 0===t&&(t=this.root),!e||0===e.length)return t;var n=e[0],o=e.slice(1);if(n<0||n>t.children.length)throw new Error("Invalid tree location");return this.getTreeNode(o,t.children[n])},l.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,o=t.listIndex,i=t.revealed,r=t.visible,a=e[e.length-1];if(a<0||a>n.children.length)throw new Error("Invalid tree location");var s=n.children[a];return{node:s,listIndex:o,revealed:i,visible:r&&s.visible}},l.prototype.getParentNodeWithListIndex=function(e,t,n,o,i){void 0===t&&(t=this.root),void 0===n&&(n=0),void 0===o&&(o=!0),void 0===i&&(i=!0);var r=e[0],a=e.slice(1);if(r<0||r>t.children.length)throw new Error("Invalid tree location");for(var s=0;s<r;s++)n+=t.children[s].renderNodeCount;return o=o&&!t.collapsed,i=i&&t.visible,0===a.length?{parentNode:t,listIndex:n,revealed:o,visible:i}:this.getParentNodeWithListIndex(a,t.children[r],n+1,o,i)},l.prototype.getNode=function(e){return void 0===e&&(e=[]),this.getTreeNode(e)},l.prototype.getNodeLocation=function(e){for(var t=[];e.parent;)t.push(e.parent.children.indexOf(e)),e=e.parent;return t.reverse()},l.prototype.getParentNodeLocation=function(e){return e.length<=1?[]:Object(o.k)(e)[0]},l);function l(e,t,n){void 0===n&&(n={}),this.list=e,this.eventBufferer=new i.c,this._onDidChangeCollapseState=new i.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new i.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new i.a,this.onDidSplice=this._onDidSplice.event,this.collapseByDefault=void 0!==n.collapseByDefault&&n.collapseByDefault,this.filter=n.filter,this.autoExpandSingleChildren=void 0!==n.autoExpandSingleChildren&&n.autoExpandSingleChildren,this.root={parent:void 0,element:t,children:[],depth:0,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:!1,collapsed:!1,renderNodeCount:0,visible:!0,filterData:void 0}}},2104:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return d});var o,i,r=n(1125),a=n(966),s=n(868),l=n(1255),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=Object(r.c)("storageService"),d=(i=s.a,u(h,i),Object.defineProperty(h.prototype,"onDidChangeStorage",{get:function(){return this._onDidChangeStorage.event},enumerable:!0,configurable:!0}),h.prototype.getCache=function(e){return 0===e?this.globalCache:this.workspaceCache},h.prototype.get=function(e,t,n){var o=this.getCache(t).get(e);return Object(l.k)(o)?n:o},h.prototype.getBoolean=function(e,t,n){var o=this.getCache(t).get(e);return Object(l.k)(o)?n:"true"===o},h.prototype.store=function(e,t,n){if(Object(l.k)(t))return this.remove(e,n);var o=String(t);return this.getCache(n).get(e)===o||(this.getCache(n).set(e,o),this._onDidChangeStorage.fire({scope:n,key:e})),Promise.resolve()},h.prototype.remove=function(e,t){return this.getCache(t).delete(e)&&this._onDidChangeStorage.fire({scope:t,key:e}),Promise.resolve()},h);function h(){var e=null!==i&&i.apply(this,arguments)||this;return e._serviceBrand=void 0,e._onDidChangeStorage=e._register(new a.a),e.onWillSaveState=a.b.None,e.globalCache=new Map,e.workspaceCache=new Map,e}},2105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2540);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},2335:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonacoDiffEditor=t.default=void 0;var o=r(n(2336)),i=r(n(2541));function r(e){return e&&e.__esModule?e:{default:e}}t.default=o.default,t.MonacoDiffEditor=i.default},2336:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},o=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var a=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}}(n(2054)),s=c(n(1)),l=c(n(0)),u=n(2105);function c(e){return e&&e.__esModule?e:{default:e}}function d(){}var h=(function(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)}(p,l.default.Component),o(p,[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){this.props.value!==this.__current_value&&(this.__current_value=this.props.value,this.editor&&(this.__prevent_trigger_change_event=!0,this.editor.setValue(this.__current_value),this.__prevent_trigger_change_event=!1)),e.language!==this.props.language&&a.editor.setModelLanguage(this.editor.getModel(),this.props.language),e.theme!==this.props.theme&&a.editor.setTheme(this.props.theme),!this.editor||this.props.width===e.width&&this.props.height===e.height||this.editor.layout(),e.options!==this.props.options&&this.editor.updateOptions(this.props.options)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"destroyMonaco",value:function(){void 0!==this.editor&&this.editor.dispose()}},{key:"initMonaco",value:function(){var e=null!==this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.language,o=t.theme,i=t.options;this.containerElement&&(Object.assign(i,this.editorWillMount()),this.editor=a.editor.create(this.containerElement,r({value:e,language:n},i)),o&&a.editor.setTheme(o),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(a)||{}}},{key:"editorDidMount",value:function(n){var o=this;this.props.editorDidMount(n,a),n.onDidChangeModelContent(function(e){var t=n.getValue();o.__current_value=t,o.__prevent_trigger_change_event||o.props.onChange(t,e)})}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,o={width:(0,u.processSize)(t),height:(0,u.processSize)(n)};return l.default.createElement("div",{ref:this.assignRef,style:o,className:"react-monaco-editor-container"})}}]),p);function p(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p);var t=function(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}(this,(p.__proto__||Object.getPrototypeOf(p)).call(this,e));return t.assignRef=function(e){t.containerElement=e},t.containerElement=void 0,t.__current_value=e.value,t}h.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),height:s.default.oneOfType([s.default.string,s.default.number]),value:s.default.string,defaultValue:s.default.string,language:s.default.string,theme:s.default.string,options:s.default.object,editorDidMount:s.default.func,editorWillMount:s.default.func,onChange:s.default.func},h.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},editorDidMount:d,editorWillMount:d,onChange:d},t.default=h},2337:function(e,t,n){(function(d,h){(function(){"use strict";function e(t){var n=this.constructor;return this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){return n.reject(e)})})}var t=setTimeout;function o(){}function r(e){if(!(this instanceof r))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=[],c(e,this)}function i(n,o){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,r._immediateFn(function(){var e=1===n._state?o.onFulfilled:o.onRejected;if(null!==e){var t;try{t=e(n._value)}catch(e){return void s(o.promise,e)}a(o.promise,t)}else(1===n._state?a:s)(o.promise,n._value)})):n._deferreds.push(o)}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof r)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void c((o=n,i=e,function(){o.apply(i,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var o,i}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)i(e,e._deferreds[t]);e._deferreds=null}function u(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function c(e,t){var n=!1;try{e(function(e){n||(n=!0,a(t,e))},function(e){n||(n=!0,s(t,e))})}catch(e){if(n)return;n=!0,s(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new u(e,t,n)),n},r.prototype.finally=e,r.all=function(t){return new r(function(o,i){if(!t||void 0===t.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(t);if(0===r.length)return o([]);var a=r.length;function s(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if("function"==typeof n)return void n.call(e,function(e){s(t,e)},i)}r[t]=e,0==--a&&o(r)}catch(e){i(e)}}for(var e=0;e<r.length;e++)s(e,r[e])})},r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(n){return new r(function(e,t){t(n)})},r.race=function(i){return new r(function(e,t){for(var n=0,o=i.length;n<o;n++)i[n].then(e,t)})},r._immediateFn="function"==typeof d&&function(e){d(e)}||function(e){t(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var n=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==h)return h;throw new Error("unable to locate global object")}();"Promise"in n?n.Promise.prototype.finally||(n.Promise.prototype.finally=e):n.Promise=r})()}).call(t,n(2338).setImmediate,n(40))},2338:function(e,i,r){(function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}i.setTimeout=function(){return new o(n.call(setTimeout,t,arguments),clearTimeout)},i.setInterval=function(){return new o(n.call(setInterval,t,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(t,this._id)},i.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},i.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},i._unrefActive=i.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r(2339),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(i,r(40))},2339:function(e,t,n){(function(e,f){!function(n,o){"use strict";if(!n.setImmediate){var i,r,t,a,s=1,l={},u=!1,c=n.document,e=Object.getPrototypeOf&&Object.getPrototypeOf(n);e=e&&e.setTimeout?e:n,i="[object process]"==={}.toString.call(n.process)?function(e){f.nextTick(function(){h(e)})}:function(){if(n.postMessage&&!n.importScripts){var e=!0,t=n.onmessage;return n.onmessage=function(){e=!1},n.postMessage("","*"),n.onmessage=t,e}}()?(a="setImmediate$"+Math.random()+"$",n.addEventListener?n.addEventListener("message",p,!1):n.attachEvent("onmessage",p),function(e){n.postMessage(a+e,"*")}):n.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){t.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(h,0,e)},e.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return l[s]=o,i(s),s++},e.clearImmediate=d}function d(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(o,n)}}(t)}finally{d(e),u=!1}}}}function p(e){e.source===n&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(40),n(112))},2340:function(e,t,n){"use strict";t.a=function(e){var t,n=this,o=!1;return function(){return o?t:(o=!0,t=e.apply(n,arguments))}}},2341:function(e,t,n){"use strict";t.a=function(){return{create:M,onDidCreateEditor:B,createDiffEditor:T,createDiffNavigator:P,createModel:R,setModelLanguage:W,setModelMarkers:z,getModelMarkers:F,getModels:V,getModel:H,onDidCreateModel:U,onWillDisposeModel:Z,onDidChangeModelLanguage:G,createWebWorker:K,colorizeElement:Y,colorize:q,colorizeModelLine:J,tokenize:X,defineTheme:Q,setTheme:$,remeasureFonts:ee,ScrollbarVisibility:m.t,WrappingIndent:m.A,OverviewRulerLane:m.p,EndOfLinePreference:m.h,DefaultEndOfLine:m.f,EndOfLineSequence:m.i,TrackedRangeStickiness:m.z,CursorChangeReason:m.e,MouseTargetType:m.n,TextEditorCursorStyle:m.y,TextEditorCursorBlinkingStyle:m.x,ContentWidgetPositionPreference:m.d,OverlayWidgetPositionPreference:m.o,RenderMinimap:m.r,ScrollType:m.s,RenderLineNumbersType:m.q,InternalEditorOptions:r.e,BareFontInfo:l.a,FontInfo:l.b,TextModelResolvedOptions:c.d,FindMatch:c.b,EditorType:u.a}};var o=n(2342),a=(n.n(o),n(1424)),s=n(2344),i=n(2346),r=n(1422),l=n(1773),u=n(1492),c=n(1493),d=n(1251),h=n(1494),p=n(1668),f=n(2063),g=n(2350),m=n(1772),b=n(2362),v=n(1782),y=n(2371),C=n(2094),A=n(1792),_=n(1350),w=n(1425),x=n(1291),S=n(1680),L=n(1125),D=n(1591),k=n(1497),N=n(2537),I=n(1679),O=n(1463);function E(e,t,n){var o=new C.a(e,t),i=null;o.has(f.a)||(i=new v.e,o.set(f.a,i)),o.has(N.a)||o.set(N.a,new s.a(o.get(a.a),o.get(_.b)));var r=n(o);return i&&i.setEditor(r),r}function M(t,n,e){return E(t,e||{},function(e){return new y.b(t,n,e,e.get(L.a),e.get(a.a),e.get(_.b),e.get(x.c),e.get(D.a),e.get(S.b),e.get(A.a),e.get(k.a),e.get(w.a),e.get(I.a))})}function B(t){return C.b.codeEditorService.get().onCodeEditorAdd(function(e){t(e)})}function T(t,n,e){return E(t,e||{},function(e){return new y.a(t,n,e,e.get(L.a),e.get(x.c),e.get(D.a),e.get(S.b),e.get(p.a),e.get(a.a),e.get(A.a),e.get(k.a),e.get(w.a))})}function P(e,t){return new i.a(e,t)}function j(e,t,n){return C.b.modelService.get().createModel(e,t,n)}function R(e,t,n){if(e=e||"",t)return j(e,C.b.modeService.get().create(t),n);var o=n?n.path:null,i=e.indexOf("\n"),r=e;return-1!==i&&(r=e.substring(0,i)),j(e,C.b.modeService.get().createByFilepathOrFirstLine(o,r),n)}function W(e,t){C.b.modelService.get().setMode(e,C.b.modeService.get().create(t))}function z(e,t,n){e&&C.b.markerService.get().changeOne(t,e.uri,n)}function F(e){return C.b.markerService.get().read(e)}function H(e){return C.b.modelService.get().getModel(e)}function V(){return C.b.modelService.get().getModels()}function U(e){return C.b.modelService.get().onModelAdded(e)}function Z(e){return C.b.modelService.get().onModelRemoved(e)}function G(t){return C.b.modelService.get().onModelModeChanged(function(e){t({model:e.model,oldLanguage:e.oldModeId})})}function K(e){return Object(g.a)(C.b.modelService.get(),e)}function Y(e,t){return b.a.colorizeElement(C.b.standaloneThemeService.get(),C.b.modeService.get(),e,t)}function q(e,t,n){return b.a.colorize(C.b.modeService.get(),e,t,n)}function J(e,t,n){return void 0===n&&(n=4),b.a.colorizeModelLine(e,t,n)}function X(e,t){C.b.modeService.get().triggerMode(t);for(var o,n=(o=t,d.v.get(o)||{getInitialState:function(){return h.c},tokenize:function(e,t,n){return Object(h.d)(o,e,t,n)}}),i=e.split(/\r\n|\r|\n/),r=[],a=n.getInitialState(),s=0,l=i.length;s<l;s++){var u=i[s],c=n.tokenize(u,a,0);r[s]=c.tokens,a=c.endState}return r}function Q(e,t){C.b.standaloneThemeService.get().defineTheme(e,t)}function $(e){C.b.standaloneThemeService.get().setTheme(e)}function ee(){Object(O.b)()}},2342:function(e,t,n){var o=n(2343);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2343:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,Ubuntu,Droid Sans,sans-serif}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor-hover p{margin:0}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs-dark .view-overlays .current-line,.monaco-editor.vs .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs-dark .cursor,.monaco-editor.vs .cursor{background-color:windowtext!important}.monaco-editor.vs-dark .dnd-target,.monaco-editor.vs .dnd-target{border-color:windowtext!important}.monaco-editor.vs-dark .selected-text,.monaco-editor.vs .selected-text{background-color:highlight!important}.monaco-editor.vs-dark .view-line,.monaco-editor.vs .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .view-line span,.monaco-editor.vs .view-line span{color:windowtext!important}.monaco-editor.vs-dark .view-line span.inline-selected-text,.monaco-editor.vs .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs-dark .view-overlays,.monaco-editor.vs .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong{border:2px dotted highlight!important;background:transparent!important;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .rangeHighlight,.monaco-editor.vs .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .bracket-match,.monaco-editor.vs .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch{border:2px dotted activeborder!important;background:transparent!important;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .find-widget,.monaco-editor.vs .find-widget{border:1px solid windowtext}.monaco-editor.vs-dark .monaco-list .monaco-list-row,.monaco-editor.vs .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused,.monaco-editor.vs .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover,.monaco-editor.vs .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row,.monaco-editor.vs .monaco-tree .monaco-tree-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.focused,.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.selected,.monaco-editor.vs .monaco-tree .monaco-tree-row.focused,.monaco-editor.vs .monaco-tree .monaco-tree-row.selected{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-tree .monaco-tree-row:hover,.monaco-editor.vs .monaco-tree .monaco-tree-row:hover{background:transparent!important;border:1px solid highlight;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar,.monaco-editor.vs .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs-dark .decorationsOverviewRuler,.monaco-editor.vs .decorationsOverviewRuler{opacity:0}.monaco-editor.vs-dark .minimap,.monaco-editor.vs .minimap{display:none}.monaco-editor.vs-dark .squiggly-d-error,.monaco-editor.vs .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs-dark .squiggly-a-hint,.monaco-editor.vs .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-diff-editor.vs-dark .diffOverviewRuler,.monaco-diff-editor.vs .diffOverviewRuler{display:none}.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert{background:transparent!important;border:1px solid highlight!important;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert{background:transparent!important}}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/standalone/browser/standalone-tokens.css"],names:[],mappings:"AAOA,eACC,gHAAmI,CACnI,AAMD,ySAEC,kBAAoB,CACpB,AAED,uBACC,QAAU,CACV,AAGD,wBACC,6BAA+B,CAC/B,AAED,6CAGC,mGAEC,kCAAoC,AACpC,cAAe,AACf,cAAgB,CAChB,AAGD,yDAEC,qCAAwC,CACxC,AAED,iEAEC,iCAAoC,CACpC,AAGD,uEAEC,oCAAuC,CACvC,AAGD,+DAEC,6BAA+B,CAC/B,AAGD,yEAEC,0BAA6B,CAC7B,AAED,mHAEC,6BAAgC,CAChC,AAGD,uEAEC,6BAA+B,CAC/B,AAGD,gUAQC,sCAAwC,AACxC,iCAAmC,AACnC,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,yEAEC,iCAAmC,AACnC,yCAA2C,AAC3C,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,uEAEC,kCAAoC,AACpC,gCAAmC,CACnC,AAGD,4IAIC,yCAA2C,AAC3C,iCAAmC,AACnC,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,mEAEC,2BAA6B,CAC7B,AAGD,qGAEC,8BAA+B,AAC/B,0BAA6B,CAC7B,AACD,qHAEC,8BAAgC,AAChC,oCAAuC,CACvC,AACD,iHAEC,iCAAmC,AACnC,2BAA4B,AAC5B,8BAA+B,AACvB,qBAAuB,CAC/B,AAGD,qGAEC,8BAA+B,AAC/B,0BAA6B,CAC7B,AACD,4OAIC,8BAAgC,AAChC,oCAAuC,CACvC,AACD,iHAEC,iCAAmC,AACnC,2BAA4B,AAC5B,8BAA+B,AACvB,qBAAuB,CAC/B,AAGD,qHAEC,8BAA+B,AAC/B,gCAAkC,AAClC,4BAA6B,AAC7B,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,qIAEC,+BAAkC,CAClC,AAKD,oSAEC,8BAAiC,CACjC,AAGD,6FAEC,SAAW,CACX,AAGD,2DAEC,YAAc,CACd,AAGD,6EAEC,iCAAmC,AACnC,gCAAkC,CAClC,AAKD,4JAEC,gCAAkC,CAClC,AACD,2EAEC,gCAAkC,CAClC,AAGD,uMAEC,8BAA+B,AAC/B,8BAAgC,AAChC,oCAAuC,CACvC,AACD,uMAEC,8BAA+B,AAC/B,iCAAmC,AACnC,2BAA4B,AAC5B,8BAA+B,AACvB,qBAAuB,CAC/B,AAGD,yFAEC,YAAc,CACd,AACD,sIAIC,iCAAmC,AACnC,qCAAuC,AACvC,8BAA+B,AACvB,qBAAuB,CAC/B,AACD,sIAIC,gCAAmC,CACnC,CACD",file:"standalone-tokens.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n/* Default standalone editor font */\n.monaco-editor {\n\tfont-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", "Ubuntu", "Droid Sans", sans-serif;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\tstroke-width: 1.2px;\n}\n\n.monaco-editor-hover p {\n\tmargin: 0;\n}\n\n/* The hc-black theme is already high contrast optimized */\n.monaco-editor.hc-black {\n\t-ms-high-contrast-adjust: none;\n}\n/* In case the browser goes into high contrast mode and the editor is not configured with the hc-black theme */\n@media screen and (-ms-high-contrast:active) {\n\n\t/* current line highlight */\n\t.monaco-editor.vs .view-overlays .current-line,\n\t.monaco-editor.vs-dark .view-overlays .current-line {\n\t\tborder-color: windowtext !important;\n\t\tborder-left: 0;\n\t\tborder-right: 0;\n\t}\n\n\t/* view cursors */\n\t.monaco-editor.vs .cursor,\n\t.monaco-editor.vs-dark .cursor {\n\t\tbackground-color: windowtext !important;\n\t}\n\t/* dnd target */\n\t.monaco-editor.vs .dnd-target,\n\t.monaco-editor.vs-dark .dnd-target {\n\t\tborder-color: windowtext !important;\n\t}\n\n\t/* selected text background */\n\t.monaco-editor.vs .selected-text,\n\t.monaco-editor.vs-dark .selected-text {\n\t\tbackground-color: highlight !important;\n\t}\n\n\t/* allow the text to have a transparent background. */\n\t.monaco-editor.vs .view-line,\n\t.monaco-editor.vs-dark .view-line {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* text color */\n\t.monaco-editor.vs .view-line span,\n\t.monaco-editor.vs-dark .view-line span {\n\t\tcolor: windowtext !important;\n\t}\n\t/* selected text color */\n\t.monaco-editor.vs .view-line span.inline-selected-text,\n\t.monaco-editor.vs-dark .view-line span.inline-selected-text {\n\t\tcolor: highlighttext !important;\n\t}\n\n\t/* allow decorations */\n\t.monaco-editor.vs .view-overlays,\n\t.monaco-editor.vs-dark .view-overlays {\n\t\t-ms-high-contrast-adjust: none;\n\t}\n\n\t/* various decorations */\n\t.monaco-editor.vs .selectionHighlight,\n\t.monaco-editor.vs-dark .selectionHighlight,\n\t.monaco-editor.vs .wordHighlight,\n\t.monaco-editor.vs-dark .wordHighlight,\n\t.monaco-editor.vs .wordHighlightStrong,\n\t.monaco-editor.vs-dark .wordHighlightStrong,\n\t.monaco-editor.vs .reference-decoration,\n\t.monaco-editor.vs-dark .reference-decoration {\n\t\tborder: 2px dotted highlight !important;\n\t\tbackground: transparent !important;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\t.monaco-editor.vs .rangeHighlight,\n\t.monaco-editor.vs-dark .rangeHighlight {\n\t\tbackground: transparent !important;\n\t\tborder: 1px dotted activeborder !important;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\t.monaco-editor.vs .bracket-match,\n\t.monaco-editor.vs-dark .bracket-match {\n\t\tborder-color: windowtext !important;\n\t\tbackground: transparent !important;\n\t}\n\n\t/* find widget */\n\t.monaco-editor.vs .findMatch,\n\t.monaco-editor.vs-dark .findMatch,\n\t.monaco-editor.vs .currentFindMatch,\n\t.monaco-editor.vs-dark .currentFindMatch {\n\t\tborder: 2px dotted activeborder !important;\n\t\tbackground: transparent !important;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\t.monaco-editor.vs .find-widget,\n\t.monaco-editor.vs-dark .find-widget {\n\t\tborder: 1px solid windowtext;\n\t}\n\n\t/* list - used by suggest widget */\n\t.monaco-editor.vs .monaco-list .monaco-list-row,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row.focused,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused {\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-list .monaco-list-row:hover,\n\t.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\n\t/* tree */\n\t.monaco-editor.vs .monaco-tree .monaco-tree-row,\n\t.monaco-editor.vs-dark .monaco-tree .monaco-tree-row {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-tree .monaco-tree-row.selected,\n\t.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.selected,\n\t.monaco-editor.vs .monaco-tree .monaco-tree-row.focused,\n\t.monaco-editor.vs-dark .monaco-tree .monaco-tree-row.focused {\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-tree .monaco-tree-row:hover,\n\t.monaco-editor.vs-dark .monaco-tree .monaco-tree-row:hover {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\n\t/* scrollbars */\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: background !important;\n\t\tborder: 1px solid windowtext;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n\t\tbackground: windowtext !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider:hover,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider:hover {\n\t\tbackground: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-scrollable-element > .scrollbar > .slider.active,\n\t.monaco-editor.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n\t\tbackground: highlight !important;\n\t}\n\n\t/* overview ruler */\n\t.monaco-editor.vs .decorationsOverviewRuler,\n\t.monaco-editor.vs-dark .decorationsOverviewRuler {\n\t\topacity: 0;\n\t}\n\n\t/* minimap */\n\t.monaco-editor.vs .minimap,\n\t.monaco-editor.vs-dark .minimap {\n\t\tdisplay: none;\n\t}\n\n\t/* squiggles */\n\t.monaco-editor.vs .squiggly-d-error,\n\t.monaco-editor.vs-dark .squiggly-d-error {\n\t\tbackground: transparent !important;\n\t\tborder-bottom: 4px double #E47777;\n\t}\n\t.monaco-editor.vs .squiggly-c-warning,\n\t.monaco-editor.vs-dark .squiggly-c-warning {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-b-info,\n\t.monaco-editor.vs-dark .squiggly-b-info {\n\t\tborder-bottom: 4px double #71B771;\n\t}\n\t.monaco-editor.vs .squiggly-a-hint,\n\t.monaco-editor.vs-dark .squiggly-a-hint {\n\t\tborder-bottom: 4px double #6c6c6c;\n\t}\n\n\t/* contextmenu */\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tcolor: highlighttext !important;\n\t\tbackground-color: highlight !important;\n\t}\n\t.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,\n\t.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label {\n\t\t-ms-high-contrast-adjust: none;\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\n\t/* diff editor */\n\t.monaco-diff-editor.vs .diffOverviewRuler,\n\t.monaco-diff-editor.vs-dark .diffOverviewRuler {\n\t\tdisplay: none;\n\t}\n\t.monaco-editor.vs .line-insert,\n\t.monaco-editor.vs-dark .line-insert,\n\t.monaco-editor.vs .line-delete,\n\t.monaco-editor.vs-dark .line-delete {\n\t\tbackground: transparent !important;\n\t\tborder: 1px solid highlight !important;\n\t\t-webkit-box-sizing: border-box;\n\t\t box-sizing: border-box;\n\t}\n\t.monaco-editor.vs .char-insert,\n\t.monaco-editor.vs-dark .char-insert,\n\t.monaco-editor.vs .char-delete,\n\t.monaco-editor.vs-dark .char-delete {\n\t\tbackground: transparent !important;\n\t}\n}\n\n/*.monaco-editor.vs [tabindex="0"]:focus {\n\toutline: 1px solid rgba(0, 122, 204, 0.4);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}\n\n.monaco-editor.vs-dark [tabindex="0"]:focus {\n\toutline: 1px solid rgba(14, 99, 156, 0.6);\n\toutline-offset: -1px;\n\topacity: 1 !important;\n}*/\n'],sourceRoot:""}])},2344:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var c=n(1126),d=n(2345),h=n(1545),p=n(2059),o=n(1424),f=n(1350),i=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},r=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},a=(s.prototype.open=function(e,t){var n,o=e.scheme,i=e.path,r=e.query,a=e.fragment;if(o){if(o===h.a.http||o===h.a.https||o===h.a.mailto)return c.O(e.toString(!0)),Promise.resolve(!0);if(o===h.a.command){if(!f.a.getCommand(i))return Promise.reject("command '"+i+"' NOT known");var s=[];try{s=Object(d.a)(r),Array.isArray(s)||(s=[s])}catch(e){}return(n=this._commandService).executeCommand.apply(n,[i].concat(s)).then(function(){return!0})}var l=void 0,u=/^L?(\d+)(?:,(\d+))?/.exec(a);return u&&(l={startLineNumber:parseInt(u[1]),startColumn:u[2]?parseInt(u[2]):1},e=e.with({fragment:""})),e.scheme===h.a.file&&(e=p.b(e)),this._editorService.openCodeEditor({resource:e,options:{selection:l}},this._editorService.getFocusedCodeEditor(),t&&t.openToSide).then(function(){return!0})}return Promise.resolve(!1)},s=i([r(0,o.a),r(1,f.b)],s));function s(e,t){this._editorService=e,this._commandService=t}},2345:function(e,t,n){"use strict";t.a=function(e){var t=JSON.parse(e);return t=function e(t,n){if(!t||200<n)return t;if("object"==typeof t){switch(t.$mid){case 1:return i.a.revive(t);case 2:return new RegExp(t.source,t.flags)}for(var o in t)Object.hasOwnProperty.call(t,o)&&(t[o]=e(t[o],n+1))}return t}(t,0)};var i=n(1408)},2346:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(2061),o=n(966),r=n(868),a=n(1423),s=n(988),l={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},u=(c.prototype._init=function(){this._editor.getLineChanges()},c.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))},c.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 s.a(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)})}):t.ranges.push({rhs:!0,range:new s.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)},c.prototype._initIdx=function(e){var t=!1,n=this._editor.getPosition();if(n){for(var o=0,i=this.ranges.length;o<i&&!t;o++){var r=this.ranges[o].range;n.isBeforeOrEqual(r.getStartPosition())&&(this.nextIdx=o+(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},c.prototype._move=function(e,t){if(i.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 o=n.range.getStartPosition();this._editor.setPosition(o),this._editor.revealPositionInCenter(o,t)}finally{this.ignoreSelectionChange=!1}}},c.prototype.canNavigate=function(){return this.ranges&&0<this.ranges.length},c.prototype.next=function(e){void 0===e&&(e=0),this._move(!0,e)},c.prototype.previous=function(e){void 0===e&&(e=0),this._move(!1,e)},c.prototype.dispose=function(){Object(r.d)(this._disposables),this._disposables.length=0,this._onDidUpdate.dispose(),this.ranges=[],this.disposed=!0},c);function c(e,t){void 0===t&&(t={});var n=this;this._onDidUpdate=new o.a,this._editor=e,this._options=a.f(t,l,!1),this.disposed=!1,this._disposables=[],this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._disposables.push(this._editor.onDidDispose(function(){return n.dispose()})),this._disposables.push(this._editor.onDidUpdateDiff(function(){return n._onDiffUpdated()})),this._options.followsCaret&&this._disposables.push(this._editor.getModifiedEditor().onDidChangeCursorPosition(function(e){n.ignoreSelectionChange||(n.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._disposables.push(this._editor.getModifiedEditor().onDidChangeModel(function(e){n.revealFirst=!0})),this._init()}},2347:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(966),i=n(868),s=n(2348),l=n(1584);function u(e){return"string"!=typeof e&&(Array.isArray(e)?e.every(u):!!e.exclusive)}var r=(Object.defineProperty(c.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!0,configurable:!0}),c.prototype.register=function(e,t){var n=this,o={selector:e,provider:t,_score:-1,_time:this._clock++};return this._entries.push(o),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),Object(i.e)(function(){if(o){var e=n._entries.indexOf(o);0<=e&&(n._entries.splice(e,1),n._lastCandidate=void 0,n._onDidChange.fire(n._entries.length),o=void 0)}})},c.prototype.has=function(e){return 0<this.all(e).length},c.prototype.all=function(e){if(!e)return[];this._updateScores(e);for(var t=[],n=0,o=this._entries;n<o.length;n++){var i=o[n];0<i._score&&t.push(i.provider)}return t},c.prototype.ordered=function(e){var t=[];return this._orderedForEach(e,function(e){return t.push(e.provider)}),t},c.prototype.orderedGroups=function(e){var t,n,o=[];return this._orderedForEach(e,function(e){t&&n===e._score?t.push(e.provider):(n=e._score,t=[e.provider],o.push(t))}),o},c.prototype._orderedForEach=function(e,t){if(e){this._updateScores(e);for(var n=0,o=this._entries;n<o.length;n++){var i=o[n];0<i._score&&t(i)}}},c.prototype._updateScores=function(e){var t={uri:e.uri.toString(),language:e.getLanguageIdentifier().language};if(!this._lastCandidate||this._lastCandidate.language!==t.language||this._lastCandidate.uri!==t.uri){this._lastCandidate=t;for(var n=0,o=this._entries;n<o.length;n++){var i=o[n];if(i._score=Object(s.a)(i.selector,e.uri,e.getLanguageIdentifier().language,Object(l.b)(e)),u(i.selector)&&0<i._score){for(var r=0,a=this._entries;r<a.length;r++)a[r]._score=0;i._score=1e3;break}}this._entries.sort(c._compareByScoreAndTime)}},c._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},c);function c(){this._clock=0,this._entries=[],this._onDidChange=new o.a}},2348:function(e,t,n){"use strict";t.a=function e(t,n,o,i){{if(Array.isArray(t)){for(var r=0,a=0,s=t;a<s.length;a++){var l=s[a],u=e(l,n,o,i);if(10===u)return u;r<u&&(r=u)}return r}if("string"==typeof t)return i?"*"===t?5:t===o?10:0:0;if(t){var c=t.language,d=t.pattern,h=t.scheme,p=t.hasAccessToAllModels;if(!i&&!p)return 0;var r=0;if(h)if(h===n.scheme)r=10;else{if("*"!==h)return 0;r=5}if(c)if(c===o)r=10;else{if("*"!==c)return 0;r=Math.max(r,5)}if(d){if(d!==n.fsPath&&!Object(f.a)(d,n.fsPath))return 0;r=10}return r}return 0}};var f=n(2062)},2349:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(966),r=n(868),i=(a.prototype.fire=function(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})},a.prototype.register=function(e,t){var n=this;return this._map[e]=t,this.fire([e]),Object(r.e)(function(){n._map[e]===t&&(delete n._map[e],n.fire([e]))})},a.prototype.registerPromise=function(t,e){var n=this,o=null,i=!1;return this._promises[t]=e.then(function(e){delete n._promises[t],!i&&e&&(o=n.register(t,e))}),Object(r.e)(function(){i=!0,o&&o.dispose()})},a.prototype.getPromise=function(t){var n=this,e=this.get(t);if(e)return Promise.resolve(e);var o=this._promises[t];return o?o.then(function(e){return n.get(t)}):null},a.prototype.get=function(e){return this._map[e]||null},a.prototype.setColorMap=function(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Object.keys(this._map),changedColorMap:!0})},a.prototype.getColorMap=function(){return this._colorMap},a.prototype.getDefaultBackground=function(){return this._colorMap&&2<this._colorMap.length?this._colorMap[2]:null},a);function a(){this._onDidChange=new o.a,this.onDidChange=this._onDidChange.event,this._map=Object.create(null),this._promises=Object.create(null),this._colorMap=null}},2350:function(e,t,n){"use strict";t.a=function(e,t){return new s(e,t)};var o,i=n(2064),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var a,s=(a=i.a,r(l,a),l.prototype._getForeignProxy=function(){var l=this;return this._foreignProxy||(this._foreignProxy=this._getProxy().then(function(s){return s.loadForeignModule(l._foreignModuleId,l._foreignModuleCreateData).then(function(e){l._foreignModuleCreateData=null;for(var t=function(e,t){return s.fmr(e,t)},n=function(t,n){return function(){var e=Array.prototype.slice.call(arguments,0);return n(t,e)}},o={},i=0,r=e;i<r.length;i++){var a=r[i];o[a]=n(a,t)}return o})})),this._foreignProxy},l.prototype.getProxy=function(){return this._getForeignProxy()},l.prototype.withSyncedResources=function(e){var t=this;return this._withSyncedResources(e).then(function(e){return t.getProxy()})},l);function l(e,t){var n=a.call(this,e,t.label)||this;return n._foreignModuleId=t.moduleId,n._foreignModuleCreateData=t.createData||null,n._foreignProxy=null,n}},2351:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var a=n(1134),r=n(2065);var s=(o.prototype.getId=function(){return this.id},o.prototype.postMessage=function(t){this.worker&&this.worker.then(function(e){return e.postMessage(t)})},o.prototype.dispose=function(){this.worker&&this.worker.then(function(e){return e.terminate()}),this.worker=null},o);function o(e,t,n,o,i){this.id=t;var r=function(e,t){if(a.b.MonacoEnvironment){if("function"==typeof a.b.MonacoEnvironment.getWorker)return a.b.MonacoEnvironment.getWorker(e,t);if("function"==typeof a.b.MonacoEnvironment.getWorkerUrl)return new Worker(a.b.MonacoEnvironment.getWorkerUrl(e,t))}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}("workerMain.js",n);"function"==typeof r.then?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(e),this.worker.then(function(e){e.onmessage=function(e){o(e.data)},e.onmessageerror=i,"function"==typeof e.addEventListener&&e.addEventListener("error",i)})}var i=(l.prototype.create=function(e,t,n){var o=this,i=++l.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new s(e,i,this._label||"anonymous"+i,t,function(e){Object(r.b)(e),o._webWorkerFailedBeforeError=e,n(e)})},l.LAST_WORKER_ID=0,l);function l(e){this._label=e,this._webWorkerFailedBeforeError=!1}},2352:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1585),i=(r.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},r.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},r.prototype.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;for(var o=t.findTokenIndexAtOffset(n-2),i=t.getStandardTokenType(o),r=0,a=this._autoClosingPairs;r<a.length;r++){var s=a[r];if(s.open===e)return s.isOK(i)}return!1},r.prototype.getSurroundingPairs=function(){return this._surroundingPairs},r.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",r);function r(e){e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(function(e){return new o.b(e)}):e.brackets?this._autoClosingPairs=e.brackets.map(function(e){return new o.b({open:e[0],close:e[1]})}):this._autoClosingPairs=[],this._autoCloseBefore="string"==typeof e.autoCloseBefore?e.autoCloseBefore:r.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}},2353:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1585),u=n(1775),c=n(1776),i=(r.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets.length;t<n;t++){var o=this._richEditBrackets.brackets[t],i=o.close.charAt(o.close.length-1);e.push(i)}for(var r=0,a=this._complexAutoClosePairs;r<a.length;r++){var s=a[r];e.push(s.open.charAt(s.open.length-1))}return e=e.filter(function(e,t,n){return n.indexOf(e)===t})},r.prototype.onElectricCharacter=function(e,t,n){return this._onElectricAutoClose(e,t,n)||this._onElectricAutoIndent(e,t,n)},r.prototype._onElectricAutoIndent=function(e,t,n){if(!this._richEditBrackets||0===this._richEditBrackets.brackets.length)return null;var o=t.findTokenIndexAtOffset(n-1);if(Object(u.b)(t.getStandardTokenType(o)))return null;var i=this._richEditBrackets.reversedRegex,r=t.getLineContent().substring(0,n-1)+e,a=c.a.findPrevBracketInToken(i,1,r,0,r.length);if(!a)return null;var s=r.substring(a.startColumn-1,a.endColumn-1);if(s=s.toLowerCase(),this._richEditBrackets.textIsOpenBracket[s])return null;var l=r.substring(0,a.startColumn-1);return/^\s*$/.test(l)?{matchOpenBracket:s}:null},r.prototype._onElectricAutoClose=function(e,t,n){if(!this._complexAutoClosePairs.length)return null;for(var o=t.getLineContent(),i=0,r=this._complexAutoClosePairs.length;i<r;i++){var a=this._complexAutoClosePairs[i];if(e===a.open.charAt(a.open.length-1)){var s=n-a.open.length+1;if(o.substring(s-1,n-1)+e===a.open){var l=t.findTokenIndexAtOffset(n-1),u=t.getStandardTokenType(l);if(a.isOK(u)&&!(0<=o.indexOf(a.close,n-1)))return{appendText:a.close}}}}return null},r);function r(e,t,n){n=n||{},this._richEditBrackets=e,this._complexAutoClosePairs=t.filter(function(e){return 1<e.open.length&&!!e.close}).map(function(e){return new o.b(e)}),n.docComment&&this._complexAutoClosePairs.push(new o.b({open:n.docComment.open,close:n.docComment.close}))}},2354:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.shouldIncrease=function(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&this._indentationRules.increaseIndentPattern.test(e))},i.prototype.shouldDecrease=function(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&this._indentationRules.decreaseIndentPattern.test(e))},i.prototype.shouldIndentNextLine=function(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&this._indentationRules.indentNextLinePattern.test(e))},i.prototype.shouldIgnore=function(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&this._indentationRules.unIndentedLinePattern.test(e))},i.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},i);function i(e){this._indentationRules=e}},2355:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1222),i=n(989),s=n(1585),r=(a.prototype.onEnter=function(e,t,n){for(var o=0,i=this._regExpRules.length;o<i;o++){var r=this._regExpRules[o];if([{reg:r.beforeText,text:t},{reg:r.afterText,text:n},{reg:r.oneLineAboveText,text:e}].every(function(e){return!e.reg||e.reg.test(e.text)}))return r.action}if(0<t.length&&0<n.length)for(o=0,i=this._brackets.length;o<i;o++)if((a=this._brackets[o]).openRegExp.test(t)&&a.closeRegExp.test(n))return{indentAction:s.a.IndentOutdent};if(0<t.length)for(o=0,i=this._brackets.length;o<i;o++){var a;if((a=this._brackets[o]).openRegExp.test(t))return{indentAction:s.a.Indent}}return null},a._createOpenBracketRegExp=function(e){var t=i.m(e);return/\B/.test(t.charAt(0))||(t="\\b"+t),a._safeRegExp(t+="\\s*$")},a._createCloseBracketRegExp=function(e){var t=i.m(e);return/\B/.test(t.charAt(t.length-1))||(t+="\\b"),a._safeRegExp(t="^\\s*"+t)},a._safeRegExp=function(e){try{return new RegExp(e)}catch(e){return Object(o.e)(e),null}},a);function a(e){var o=this;(e=e||{}).brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(function(e){var t=a._createOpenBracketRegExp(e[0]),n=a._createCloseBracketRegExp(e[1]);t&&n&&o._brackets.push({open:e[0],openRegExp:t,close:e[1],closeRegExp:n})}),this._regExpRules=e.regExpRules||[]}},2356:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var o,i,C=n(1316),A=n(2066),u=n(1583),r=n(1134),a=n(1408),s=n(1124),_=n(988),c=n(2358),l=n(2359),d=n(1665),h=n(2360),p=n(2361),f=n(2055),g=n(1255),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=(i=l.a,m(v,i),Object.defineProperty(v.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"version",{get:function(){return this._versionId},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"eol",{get:function(){return this._eol},enumerable:!0,configurable:!0}),v.prototype.getValue=function(){return this.getText()},v.prototype.getLinesContent=function(){return this._lines.slice(0)},v.prototype.getLineCount=function(){return this._lines.length},v.prototype.getLineContent=function(e){return this._lines[e-1]},v.prototype.getWordAtPosition=function(e,t){var n=Object(d.d)(e.column,Object(d.c)(t),this._lines[e.lineNumber-1],0);return n?new _.a(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null},v.prototype.getWordUntilPosition=function(e,t){var n=this.getWordAtPosition(e,t);return n?{word:this._lines[e.lineNumber-1].substring(n.startColumn-1,e.column-1),startColumn:n.startColumn,endColumn:e.column}:{word:"",startColumn:e.column,endColumn:e.column}},v.prototype.createWordIterator=function(t){var n,o,i=this,r=0,a=0,s=[],l=function(){if(a<s.length){var e=o.substring(s[a].start,s[a].end);return a+=1,n?n.value=e:n={done:!1,value:e},n}return r>=i._lines.length?u.a:(o=i._lines[r],s=i._wordenize(o,t),a=0,r+=1,l())};return{next:l}},v.prototype.getLineWords=function(e,t){for(var n=this._lines[e-1],o=[],i=0,r=this._wordenize(n,t);i<r.length;i++){var a=r[i];o.push({word:n.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1})}return o},v.prototype._wordenize=function(e,t){var n,o=[];for(t.lastIndex=0;(n=t.exec(e))&&0!==n[0].length;)o.push({start:n.index,end:n.index+n[0].length});return o},v.prototype.getValueInRange=function(e){if((e=this._validateRange(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,o=e.endLineNumber-1,i=[];i.push(this._lines[n].substring(e.startColumn-1));for(var r=1+n;r<o;r++)i.push(this._lines[r]);return i.push(this._lines[o].substring(0,e.endColumn-1)),i.join(t)},v.prototype.offsetAt=function(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getAccumulatedValue(e.lineNumber-2)+(e.column-1)},v.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)}},v.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},v.prototype._validatePosition=function(e){if(!s.a.isIPosition(e))throw new Error("bad position");var t=e.lineNumber,n=e.column,o=!1;if(t<1)n=t=1,o=!0;else if(t>this._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,o=!0;else{var i=this._lines[t-1].length+1;n<1?(n=1,o=!0):i<n&&(n=i,o=!0)}return o?{lineNumber:t,column:n}:e},v);function v(){return null!==i&&i.apply(this,arguments)||this}var y=(w.prototype.computeDiff=function(e,t,n){var o=this._getModel(e),i=this._getModel(t);if(!o||!i)return Promise.resolve(null);var r=o.getLinesContent(),a=i.getLinesContent(),s=new c.a(r,a,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0}).computeDiff(),l=!(0<s.length)&&this._modelsAreIdentical(o,i);return Promise.resolve({identical:l,changes:s})},w.prototype._modelsAreIdentical=function(e,t){var n=e.getLineCount();if(n!==t.getLineCount())return!1;for(var o=1;o<=n;o++)if(e.getLineContent(o)!==t.getLineContent(o))return!1;return!0},w.prototype.computeMoreMinimalEdits=function(e,t){var n=this._getModel(e);if(!n)return Promise.resolve(t);for(var o=[],i=void 0,r=0,a=t=Object(C.h)(t,function(e,t){return e.range&&t.range?_.a.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)});r<a.length;r++){var s=a[r],l=s.range,u=s.text,c=s.eol;if("number"==typeof c&&(i=c),!_.a.isEmpty(l)||u){var d=n.getValueInRange(l);if(d!==(u=u.replace(/\r\n|\n|\r/g,n.eol)))if(Math.max(u.length,d.length)>w._diffLimit)o.push({range:l,text:u});else for(var h=Object(A.b)(d,u,!1),p=n.offsetAt(_.a.lift(l).getStartPosition()),f=0,g=h;f<g.length;f++){var m=g[f],b=n.positionAt(p+m.originalStart),v=n.positionAt(p+m.originalStart+m.originalLength),y={text:u.substr(m.modifiedStart,m.modifiedLength),range:{startLineNumber:b.lineNumber,startColumn:b.column,endLineNumber:v.lineNumber,endColumn:v.column}};n.getValueInRange(y.range)!==y.text&&o.push(y)}}}return"number"==typeof i&&o.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),Promise.resolve(o)},w.prototype.computeLinks=function(e){var t=this._getModel(e);return t?Promise.resolve(Object(h.a)(t)):Promise.resolve(null)},w.prototype.textualSuggest=function(e,t,n,o){var i=this._getModel(e);if(!i)return Promise.resolve(null);var r=[],a=new RegExp(n,o),s=i.getWordUntilPosition(t,a),l=Object.create(null);l[s.word]=!0;for(var u=i.createWordIterator(a),c=u.next();!c.done&&r.length<=w._suggestionsLimit;c=u.next()){var d=c.value;l[d]||(l[d]=!0,isNaN(Number(d))&&r.push({kind:18,label:d,insertText:d,range:{startLineNumber:t.lineNumber,startColumn:s.startColumn,endLineNumber:t.lineNumber,endColumn:s.endColumn}}))}return Promise.resolve({suggestions:r})},w.prototype.computeWordRanges=function(e,t,n,o){var i=this._getModel(e);if(!i)return Promise.resolve(Object.create(null));for(var r=new RegExp(n,o),a=Object.create(null),s=t.startLineNumber;s<t.endLineNumber;s++)for(var l=0,u=i.getLineWords(s,r);l<u.length;l++){var c=u[l];if(isNaN(Number(c.word))){var d=a[c.word];d||(d=[],a[c.word]=d),d.push({startLineNumber:s,startColumn:c.startColumn,endLineNumber:s,endColumn:c.endColumn})}}return Promise.resolve(a)},w.prototype.navigateValueSet=function(e,t,n,o,i){var r=this._getModel(e);if(!r)return Promise.resolve(null);var a=new RegExp(o,i);t.startColumn===t.endColumn&&(t={startLineNumber:t.startLineNumber,startColumn:t.startColumn,endLineNumber:t.endLineNumber,endColumn:t.endColumn+1});var s=r.getValueInRange(t),l=r.getWordAtPosition({lineNumber:t.startLineNumber,column:t.startColumn},a);if(!l)return Promise.resolve(null);var u=r.getValueInRange(l),c=p.a.INSTANCE.navigateValueSet(t,s,l,u,n);return Promise.resolve(c)},w.prototype.loadForeignModule=function(e,t){var n=this,o={getMirrorModels:function(){return n._getModels()}};if(this._foreignModuleFactory){this._foreignModule=this._foreignModuleFactory(o,t);for(var i=[],r=0,a=Object(g.b)(this._foreignModule);r<a.length;r++){var s=a[r];"function"==typeof this._foreignModule[s]&&i.push(s)}return Promise.resolve(i)}return Promise.reject(new Error("Unexpected usage"))},w.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(e){return Promise.reject(e)}},w._diffLimit=1e4,w._suggestionsLimit=1e4,w);function w(e){this._foreignModuleFactory=e,this._foreignModule=null}var x,S=(m(L,x=y),L.prototype.dispose=function(){this._models=Object.create(null)},L.prototype._getModel=function(e){return this._models[e]},L.prototype._getModels=function(){var t=this,n=[];return Object.keys(this._models).forEach(function(e){return n.push(t._models[e])}),n},L.prototype.acceptNewModel=function(e){this._models[e.url]=new b(a.a.parse(e.url),e.lines,e.EOL,e.versionId)},L.prototype.acceptModelChanged=function(e,t){this._models[e]&&this._models[e].onEvents(t)},L.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},L);function L(e){var t=x.call(this,e)||this;return t._models=Object.create(null),t}"function"==typeof importScripts&&(r.b.monaco=Object(f.a)())},2357:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},i.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},i);function i(e,t,n,o){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=o}},2358:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n(2066),o=n(989);function y(e,t,n,o){return new i.a(e,t,n).ComputeDiff(o)}var C=(r.prototype.getLength=function(){return this._lines.length},r.prototype.getElementAtIndex=function(e){return this._lines[e].substring(this._startColumns[e]-1,this._endColumns[e]-1)},r.prototype.getStartLineNumber=function(e){return e+1},r.prototype.getEndLineNumber=function(e){return e+1},r._getFirstNonBlankColumn=function(e,t){var n=o.n(e);return-1===n?t:n+1},r._getLastNonBlankColumn=function(e,t){var n=o.x(e);return-1===n?t:n+2},r.prototype.getCharSequence=function(e,t,n){for(var o=[],i=[],r=[],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++)o[a]=l.charCodeAt(d-1),i[a]=s+1,r[a]=d,a++;return new h(o,i,r)},r);function r(e){for(var t=[],n=[],o=0,i=e.length;o<i;o++)t[o]=r._getFirstNonBlankColumn(e[o],1),n[o]=r._getLastNonBlankColumn(e[o],1);this._lines=e,this._startColumns=t,this._endColumns=n}var h=(a.prototype.getLength=function(){return this._charCodes.length},a.prototype.getElementAtIndex=function(e){return this._charCodes[e]},a.prototype.getStartLineNumber=function(e){return this._lineNumbers[e]},a.prototype.getStartColumn=function(e){return this._columns[e]},a.prototype.getEndLineNumber=function(e){return this._lineNumbers[e]},a.prototype.getEndColumn=function(e){return this._columns[e]+1},a);function a(e,t,n){this._charCodes=e,this._lineNumbers=t,this._columns=n}var b=(d.createFromDiffChange=function(e,t,n){var o,i,r,a,s,l,u,c;return a=0===e.originalLength?r=i=o=0:(o=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),r=t.getEndLineNumber(e.originalStart+e.originalLength-1),t.getEndColumn(e.originalStart+e.originalLength-1)),c=0===e.modifiedLength?u=l=s=0:(s=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),u=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),n.getEndColumn(e.modifiedStart+e.modifiedLength-1)),new d(o,i,r,a,s,l,u,c)},d);function d(e,t,n,o,i,r,a,s){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=o,this.modifiedStartLineNumber=i,this.modifiedStartColumn=r,this.modifiedEndLineNumber=a,this.modifiedEndColumn=s}var A=(v.createFromDiffResult=function(e,t,n,o,i,r,a){var s,l,u,c,d=void 0;if(l=0===t.originalLength?(s=n.getStartLineNumber(t.originalStart)-1,0):(s=n.getStartLineNumber(t.originalStart),n.getEndLineNumber(t.originalStart+t.originalLength-1)),c=0===t.modifiedLength?(u=o.getStartLineNumber(t.modifiedStart)-1,0):(u=o.getStartLineNumber(t.modifiedStart),o.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),r&&0!==t.originalLength&&0!==t.modifiedLength&&i()){var h=n.getCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),p=o.getCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1),f=y(h,p,i,!0);a&&(f=function(e){if(e.length<=1)return e;for(var t=[e[0]],n=t[0],o=1,i=e.length;o<i;o++){var r=e[o],a=r.originalStart-(n.originalStart+n.originalLength),s=r.modifiedStart-(n.modifiedStart+n.modifiedLength);Math.min(a,s)<3?(n.originalLength=r.originalStart+r.originalLength-n.originalStart,n.modifiedLength=r.modifiedStart+r.modifiedLength-n.modifiedStart):(t.push(r),n=r)}return t}(f)),d=[];for(var g=0,m=f.length;g<m;g++)d.push(b.createFromDiffChange(f[g],h,p))}return new v(s,l,u,c,d)},v);function v(e,t,n,o,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=o,this.charChanges=i}var s=(l.prototype.computeDiff=function(){if(1===this.original.getLength()&&0===this.original.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.getLength(),charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];if(1===this.modified.getLength()&&0===this.modified.getElementAtIndex(0).length)return[{originalStartLineNumber:1,originalEndLineNumber:this.original.getLength(),modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:[{modifiedEndColumn:0,modifiedEndLineNumber:0,modifiedStartColumn:0,modifiedStartLineNumber:0,originalEndColumn:0,originalEndLineNumber:0,originalStartColumn:0,originalStartLineNumber:0}]}];this.computationStartTime=(new Date).getTime();var e=y(this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldMakePrettyDiff);if(this.shouldIgnoreTrimWhitespace){for(var t=[],n=0,o=e.length;n<o;n++)t.push(A.createFromDiffResult(this.shouldIgnoreTrimWhitespace,e[n],this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return t}for(var i=[],r=0,a=0,s=(n=-1,e.length);n<s;n++){for(var l=n+1<s?e[n+1]:null,u=l?l.originalStart:this.originalLines.length,c=l?l.modifiedStart:this.modifiedLines.length;r<u&&a<c;){var d=this.originalLines[r],h=this.modifiedLines[a];if(d!==h){for(var p=C._getFirstNonBlankColumn(d,1),f=C._getFirstNonBlankColumn(h,1);1<p&&1<f&&d.charCodeAt(p-2)===h.charCodeAt(f-2);)p--,f--;(1<p||1<f)&&this._pushTrimWhitespaceCharChange(i,r+1,1,p,a+1,1,f);for(var g=C._getLastNonBlankColumn(d,1),m=C._getLastNonBlankColumn(h,1),b=d.length+1,v=h.length+1;g<b&&m<v&&d.charCodeAt(g-1)===d.charCodeAt(m-1);)g++,m++;(g<b||m<v)&&this._pushTrimWhitespaceCharChange(i,r+1,g,b,a+1,m,v)}r++,a++}l&&(i.push(A.createFromDiffResult(this.shouldIgnoreTrimWhitespace,l,this.original,this.modified,this._continueProcessingPredicate.bind(this),this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),r+=l.originalLength,a+=l.modifiedLength)}return i},l.prototype._pushTrimWhitespaceCharChange=function(e,t,n,o,i,r,a){if(!this._mergeTrimWhitespaceCharChange(e,t,n,o,i,r,a)){var s=void 0;this.shouldComputeCharChanges&&(s=[new b(t,n,t,o,i,r,i,a)]),e.push(new A(t,t,i,i,s))}},l.prototype._mergeTrimWhitespaceCharChange=function(e,t,n,o,i,r,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.push(new b(t,n,t,o,i,r,i,a)),!0)},l.prototype._continueProcessingPredicate=function(){return 0===this.maximumRunTimeMs||(new Date).getTime()-this.computationStartTime<this.maximumRunTimeMs},l);function l(e,t,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.maximumRunTimeMs=5e3,this.originalLines=e,this.modifiedLines=t,this.original=new C(e),this.modified=new C(t)}},2359:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(1124),r=n(1777),o=(a.prototype.dispose=function(){this._lines.length=0},a.prototype.getText=function(){return this._lines.join(this._eol)},a.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var t=0,n=e.changes;t<n.length;t++){var o=n[t];this._acceptDeleteRange(o.range),this._acceptInsertText(new i.a(o.range.startLineNumber,o.range.startColumn),o.text)}this._versionId=e.versionId},a.prototype._ensureLineStarts=function(){if(!this._lineStarts){for(var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t),o=0;o<t;o++)n[o]=this._lines[o].length+e;this._lineStarts=new r.a(n)}},a.prototype._setLineText=function(e,t){this._lines[e]=t,this._lineStarts&&this._lineStarts.changeValue(e,this._lines[e].length+this._eol.length)},a.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))}},a.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 o=new Uint32Array(n.length-1),i=1;i<n.length;i++)this._lines.splice(e.lineNumber+i-1,0,n[i]),o[i-1]=n[i].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,o)}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))}},a);function a(e,t,n,o){this._uri=e,this._lines=t,this._eol=n,this._versionId=o,this._lineStarts=null}},2360:function(e,t,n){"use strict";t.a=function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?i.computeLinks(e):[]};var v=n(1778),d=n(1669),y=(o.prototype.nextState=function(e,t){return t<0||t>=this._maxCharCode?0:this._states.get(e,t)},o);function o(e){for(var t=0,n=0,o=0,i=e.length;o<i;o++){var r=e[o],a=r[0];t<(u=r[1])&&(t=u),n<a&&(n=a),n<(c=r[2])&&(n=c)}t++,n++;var s=new d.a(n,t,0);for(o=0,i=e.length;o<i;o++){var l=e[o],u=(a=l[0],l[1]),c=l[2];s.set(a,u,c)}this._states=s,this._maxCharCode=t}var C=null;var A=null;var i=(_._createLink=function(e,t,n,o,i){var r=i-1;do{var a=t.charCodeAt(r);if(2!==e.get(a))break;r--}while(o<r);if(0<o){var s=t.charCodeAt(o-1),l=t.charCodeAt(r);(40===s&&41===l||91===s&&93===l||123===s&&125===l)&&r--}return{range:{startLineNumber:n,startColumn:o+1,endLineNumber:n,endColumn:r+2},url:t.substring(o,r+1)}},_.computeLinks=function(e,t){void 0===t&&(null===C&&(C=new y([[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]])),t=C);for(var n=function(){if(null===A){A=new v.a(0);for(var e=" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…",t=0;t<e.length;t++)A.set(e.charCodeAt(t),1);for(t=0;t<".,;".length;t++)A.set(".,;".charCodeAt(t),2)}return A}(),o=[],i=1,r=e.getLineCount();i<=r;i++){for(var a=e.getLineContent(i),s=a.length,l=0,u=0,c=0,d=1,h=!1,p=!1,f=!1;l<s;){var g=!1,m=a.charCodeAt(l);if(13===d){var b=void 0;switch(m){case 40:h=!0,b=0;break;case 41:b=h?0:1;break;case 91:p=!0,b=0;break;case 93:b=p?0:1;break;case 123:f=!0,b=0;break;case 125:b=f?0:1;break;case 39:b=34===c||96===c?0:1;break;case 34:b=39===c||96===c?0:1;break;case 96:b=39===c||34===c?0:1;break;default:b=n.get(m)}1===b&&(o.push(_._createLink(n,a,i,u,l)),g=!0)}else 12===d?(b=void 0,1===(b=91===m?(p=!0,0):n.get(m))?g=!0:d=13):0===(d=t.nextState(d,m))&&(g=!0);g&&(f=p=h=!(d=1),u=l+1,c=m),l++}13===d&&o.push(_._createLink(n,a,i,u,s))}return o},_);function _(){}},2361:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.navigateValueSet=function(e,t,n,o,i){var r;return e&&t&&(r=this.doNavigateValueSet(t,i))?{range:e,value:r}:n&&o&&(r=this.doNavigateValueSet(o,i))?{range:n,value:r}:null},i.prototype.doNavigateValueSet=function(e,t){var n=this.numberReplace(e,t);return null!==n?n:this.textReplace(e,t)},i.prototype.numberReplace=function(e,t){var n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),o=Number(e),i=parseFloat(e);return isNaN(o)||isNaN(i)||o!==i?null:0!==o||t?(o=Math.floor(o*n),o+=t?n:-n,String(o/n)):null},i.prototype.textReplace=function(e,t){return this.valueSetsReplace(this._defaultValueSet,e,t)},i.prototype.valueSetsReplace=function(e,t,n){for(var o=null,i=0,r=e.length;null===o&&i<r;i++)o=this.valueSetReplace(e[i],t,n);return o},i.prototype.valueSetReplace=function(e,t,n){var o=e.indexOf(t);return 0<=o?((o+=n?1:-1)<0?o=e.length-1:o%=e.length,e[o]):null},i.INSTANCE=new i,i);function i(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}},2362:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var u=n(1239),c=n(989),p=n(1670),d=n(1251),f=n(1671),g=n(1496),l=n(2067),o=(i.colorizeElement=function(e,t,n,o){var i=(o=o||{}).theme||"vs",r=o.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!r)return console.error("Mode not detected"),Promise.resolve();e.setTheme(i);var a=n.firstChild?n.firstChild.nodeValue:"";return n.className+=" "+i,this.colorize(t,a||"",r,o).then(function(e){n.innerHTML=e},function(e){return console.error(e)})},i.colorize=function(e,t,n,o){var a=4;o&&"number"==typeof o.tabSize&&(a=o.tabSize),c.D(t)&&(t=t.substr(1));var s=t.split(/\r\n|\r|\n/),l=e.getModeId(n);if(!l)return Promise.resolve(m(s,a));e.triggerMode(l);var i=d.v.get(l);if(i)return h(s,a,i);var r=d.v.getPromise(l);return r?new Promise(function(t,n){r.then(function(e){h(s,a,e).then(t,n)},n)}):new Promise(function(t,n){function o(){i&&(i.dispose(),i=null),r&&(r.dispose(),r=null);var e=d.v.get(l);e?h(s,a,e).then(t,n):t(m(s,a))}var i=null,r=null;(r=new u.d).cancelAndSet(o,500),i=d.v.onDidChange(function(e){0<=e.changedLanguages.indexOf(l)&&o()})})},i.colorizeLine=function(e,t,n,o,i){void 0===i&&(i=4);var r=g.d.isBasicASCII(e,t),a=g.d.containsRTL(e,r,n);return Object(f.d)(new f.b(!1,!0,e,!1,r,a,0,o,[],i,0,-1,"none",!1,!1)).html},i.colorizeModelLine=function(e,t,n){void 0===n&&(n=4);var o=e.getLineContent(t);e.forceTokenization(t);var i=e.getLineTokens(t).inflate();return this.colorizeLine(o,e.mightContainNonBasicASCII(),e.mightContainRTL(),i,n)},i);function i(){}function h(r,a,s){return new Promise(function(n,o){var i=function(){var e=function(e,t,n){for(var o=[],i=n.getInitialState(),r=0,a=e.length;r<a;r++){var s=e[r],l=n.tokenize2(s,i,0);p.a.convertToEndOffset(l.tokens,s.length);var u=new p.a(l.tokens,s),c=g.d.isBasicASCII(s,!0),d=g.d.containsRTL(s,c,!0),h=Object(f.d)(new f.b(!1,!0,s,!1,c,d,0,u.inflate(),[],t,0,-1,"none",!1,!1));(o=o.concat(h.html)).push("<br/>"),i=l.endState}return o.join("")}(r,a,s);if(s instanceof l.a){var t=s.getLoadStatus();if(!1===t.loaded)return void t.promise.then(i,o)}n(e)};i()})}function m(e,t){var n=[],o=new Uint32Array(2);o[0]=0,o[1]=16793600;for(var i=0,r=e.length;i<r;i++){var a=e[i];o[0]=a.length;var s=new p.a(o,a),l=g.d.isBasicASCII(a,!0),u=g.d.containsRTL(a,l,!0),c=Object(f.d)(new f.b(!1,!0,a,!1,l,u,0,s,[],t,0,-1,"none",!1,!1));(n=n.concat(c.html)).push("<br/>")}return n.join("")}},2363:function(e,t,n){"use strict";t.a=function(e){return!(!e||"function"!=typeof e.getEditorType)&&e.getEditorType()===o.a.ICodeEditor};var o=n(1492)},2364:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(988),i=(r.insert=function(e,t){return{range:new o.a(e.lineNumber,e.column,e.lineNumber,e.column),text:t,forceMoveMarkers:!0}},r.delete=function(e){return{range:e,text:null}},r.replace=function(e,t){return{range:e,text:t}},r.replaceMove=function(e,t){return{range:e,text:t,forceMoveMarkers:!0}},r);function r(){}},2365:function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"c",function(){return d}),n.d(t,"a",function(){return p});var o,s=n(1462),g=n(1316),r=n(1255),m=n(1423),a=n(1586),l=n(1425),i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(Object.defineProperty(b.prototype,"contents",{get:function(){return this.checkAndFreeze(this._contents)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"overrides",{get:function(){return this.checkAndFreeze(this._overrides)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"keys",{get:function(){return this.checkAndFreeze(this._keys)},enumerable:!0,configurable:!0}),b.prototype.getValue=function(e){return e?Object(l.d)(this.contents,e):this.contents},b.prototype.override=function(e){var t=this.getContentsForOverrideIdentifer(e);if(!t||"object"!=typeof t||!Object.keys(t).length)return this;for(var n={},o=0,i=g.c(Object.keys(this.contents).concat(Object.keys(t)));o<i.length;o++){var r=i[o],a=this.contents[r],s=t[r];s&&("object"==typeof a&&"object"==typeof s?(a=m.b(a),this.mergeContents(a,s)):a=s),n[r]=a}return new b(n)},b.prototype.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=m.b(this.contents),o=m.b(this.overrides),i=this.keys.slice(),r=0,a=e;r<a.length;r++){var s=a[r];this.mergeContents(n,s.contents);for(var l=function(t){var e=o.filter(function(e){return g.d(e.identifiers,t.identifiers)})[0];e?u.mergeContents(e.contents,t.contents):o.push(m.b(t))},u=this,c=0,d=s.overrides;c<d.length;c++)l(d[c]);for(var h=0,p=s.keys;h<p.length;h++){var f=p[h];-1===i.indexOf(f)&&i.push(f)}}return new b(n,i,o)},b.prototype.freeze=function(){return this.isFrozen=!0,this},b.prototype.mergeContents=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var i=o[n];i in e&&r.h(e[i])&&r.h(t[i])?this.mergeContents(e[i],t[i]):e[i]=m.b(t[i])}},b.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?m.c(e):e},b.prototype.getContentsForOverrideIdentifer=function(e){for(var t=0,n=this.overrides;t<n.length;t++){var o=n[t];if(-1!==o.identifiers.indexOf(e))return o.contents}return null},b.prototype.toJSON=function(){return{contents:this.contents,overrides:this.overrides,keys:this.keys}},b.prototype.setValue=function(e,t){this.addKey(e),Object(l.b)(this.contents,e,t,function(e){throw new Error(e)})},b.prototype.removeValue=function(e){this.removeKey(e)&&Object(l.h)(this.contents,e)},b.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)},b.prototype.removeKey=function(e){var t=this.keys.indexOf(e);return-1!==t&&(this.keys.splice(t,1),!0)},b);function b(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}var c,d=(i(h,c=u),h);function h(){for(var e=Object(l.e)(),t=Object(l.c)(),n=[],o=0,i=Object.keys(e);o<i.length;o++){var r=i[o];a.b.test(r)&&n.push({identifiers:[Object(l.g)(r).trim()],contents:Object(l.i)(e[r],function(e){return console.error("Conflict in default settings file: "+e)})})}return c.call(this,e,t,n)||this}var p=(f.prototype.getValue=function(e,t,n){return this.getConsolidateConfigurationModel(t,n).getValue(e)},f.prototype.updateValue=function(e,t,n){var o;void 0===n&&(n={}),n.resource?(o=this._memoryConfigurationByResource.get(n.resource))||(o=new u,this._memoryConfigurationByResource.set(n.resource,o)):o=this._memoryConfiguration,void 0===t?o.removeValue(e):o.setValue(e,t),n.resource||(this._workspaceConsolidatedConfiguration=null)},f.prototype.inspect=function(e,t,n){var o=this.getConsolidateConfigurationModel(t,n),i=this.getFolderConfigurationModelForResource(t.resource,n),r=t.resource&&this._memoryConfigurationByResource.get(t.resource)||this._memoryConfiguration;return{default:t.overrideIdentifier?this._defaultConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._defaultConfiguration.freeze().getValue(e),user:t.overrideIdentifier?this._userConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._userConfiguration.freeze().getValue(e),workspace:n?t.overrideIdentifier?this._workspaceConfiguration.freeze().override(t.overrideIdentifier).getValue(e):this._workspaceConfiguration.freeze().getValue(e):void 0,workspaceFolder:i?t.overrideIdentifier?i.freeze().override(t.overrideIdentifier).getValue(e):i.freeze().getValue(e):void 0,memory:t.overrideIdentifier?r.override(t.overrideIdentifier).getValue(e):r.getValue(e),value:o.getValue(e)}},f.prototype.getConsolidateConfigurationModel=function(e,t){var n=this.getConsolidatedConfigurationModelForResource(e,t);return e.overrideIdentifier?n.override(e.overrideIdentifier):n},f.prototype.getConsolidatedConfigurationModelForResource=function(e,t){var n=e.resource,o=this.getWorkspaceConsolidatedConfiguration();if(t&&n){var i=t.getFolder(n);i&&(o=this.getFolderConsolidatedConfiguration(i.uri)||o);var r=this._memoryConfigurationByResource.get(n);r&&(o=o.merge(r))}return o},f.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},f.prototype.getFolderConsolidatedConfiguration=function(e){var t=this._foldersConsolidatedConfigurations.get(e);if(!t){var n=this.getWorkspaceConsolidatedConfiguration(),o=this._folderConfigurations.get(e);o?(t=n.merge(o),this._freeze&&(t=t.freeze()),this._foldersConsolidatedConfigurations.set(e,t)):t=n}return t},f.prototype.getFolderConfigurationModelForResource=function(e,t){if(t&&e){var n=t.getFolder(e);if(n)return this._folderConfigurations.get(n.uri)||null}return null},f);function f(e,t,n,o,i,r,a){void 0===n&&(n=new u),void 0===o&&(o=new s.b),void 0===i&&(i=new u),void 0===r&&(r=new s.b),void 0===a&&(a=!0),this._defaultConfiguration=e,this._userConfiguration=t,this._workspaceConfiguration=n,this._folderConfigurations=o,this._memoryConfiguration=i,this._memoryConfigurationByResource=r,this._freeze=a,this._workspaceConsolidatedConfiguration=null,this._foldersConsolidatedConfigurations=new s.b}},2366:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,a,u=n(1215),s=n(1239),l=n(966),i=n(868),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(a=i.a,r(d,a),d.prototype.dispose=function(){a.prototype.dispose.call(this)},Object.defineProperty(d.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:l.b.None},enumerable:!0,configurable:!0}),d.prototype.lookupKeybinding=function(e){var t=this._getResolver().lookupPrimaryKeybinding(e);if(t)return t.resolvedKeybinding||void 0},d.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 o=n.getDispatchParts()[0];if(null===o)return null;var i=this._contextKeyService.getContext(t),r=this._currentChord?this._currentChord.keypress:null;return this._getResolver().resolve(i,r,o)},d.prototype._enterChordMode=function(e,t){var n=this;this._currentChord={keypress:e,label:t},this._statusService&&(this._currentChordStatusMessage=this._statusService.setStatusMessage(u.a("first.chord","({0}) was pressed. Waiting for second key of chord...",t)));var o=Date.now();this._currentChordChecker.cancelAndSet(function(){n._documentHasFocus()?5e3<Date.now()-o&&n._leaveChordMode():n._leaveChordMode()},500)},d.prototype._leaveChordMode=function(){this._currentChordStatusMessage&&(this._currentChordStatusMessage.dispose(),this._currentChordStatusMessage=null),this._currentChordChecker.cancel(),this._currentChord=null},d.prototype._dispatch=function(e,t){return this._doDispatch(this.resolveKeyboardEvent(e),t)},d.prototype._doDispatch=function(e,t){var n=this,o=!1;if(e.isChord())return console.warn("Unexpected keyboard event mapped to a chord"),!1;var i=e.getDispatchParts()[0];if(null===i)return o;var r=this._contextKeyService.getContext(t),a=this._currentChord?this._currentChord.keypress:null,s=e.getLabel(),l=this._getResolver().resolve(r,a,i);return l&&l.enterChord?(o=!0,this._enterChordMode(i,s)):(this._statusService&&this._currentChord&&(l&&l.commandId||(this._statusService.setStatusMessage(u.a("missing.chord","The key combination ({0}, {1}) is not a command.",this._currentChord.label,s),1e4),o=!0)),this._leaveChordMode(),l&&l.commandId&&(l.bubble||(o=!0),void 0===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.publicLog("workbenchActionExecuted",{id:l.commandId,from:"keybinding"}))),o},d.prototype.mightProducePrintableCharacter=function(e){return!e.ctrlKey&&!e.metaKey&&(31<=e.keyCode&&e.keyCode<=56||21<=e.keyCode&&e.keyCode<=30)},d);function d(e,t,n,o,i){var r=a.call(this)||this;return r._contextKeyService=e,r._commandService=t,r._telemetryService=n,r._statusService=i,r._notificationService=o,r._currentChord=null,r._currentChordChecker=new s.b,r._currentChordStatusMessage=null,r._onDidUpdateKeybindings=r._register(new l.a),r}},2367:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(e,t,n,o,i){this.resolvedKeybinding=e,this.keypressParts=e?function(e){for(var t=[],n=0,o=e.length;n<o;n++){var i=e[n];if(!i)return t;t.push(i)}return t}(e.getDispatchParts()):[],this.bubble=!!t&&94===t.charCodeAt(0),this.command=this.bubble?t.substr(1):t,this.commandArgs=n,this.when=o,this.isDefault=i}},2368:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(1543),a=n(2369),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.a,s(u,i),u.prototype._keyCodeToUILabel=function(e){if(2===this._os)switch(e){case 15:return"←";case 16:return"↑";case 17:return"→";case 18:return"↓"}return r.b.toString(e)},u.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},u.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":r.b.toString(e.keyCode)},u.prototype._getDispatchPart=function(e){return u.getDispatchStr(e)},u.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+=r.b.toString(e.keyCode)},u);function u(e,t){return i.call(this,t,e.parts)||this}},2369:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o,i,r=n(1222),a=n(2370),s=n(1543),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(i=s.c,l(c,i),c.prototype.getLabel=function(){var t=this;return a.b.toLabel(this._os,this._parts,function(e){return t._getLabel(e)})},c.prototype.getAriaLabel=function(){var t=this;return a.a.toLabel(this._os,this._parts,function(e){return t._getAriaLabel(e)})},c.prototype.isChord=function(){return 1<this._parts.length},c.prototype.getParts=function(){var t=this;return this._parts.map(function(e){return t._getPart(e)})},c.prototype._getPart=function(e){return new s.d(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,this._getLabel(e),this._getAriaLabel(e))},c.prototype.getDispatchParts=function(){var t=this;return this._parts.map(function(e){return t._getDispatchPart(e)})},c);function c(e,t){var n=i.call(this)||this;if(0===t.length)throw Object(r.b)("parts");return n._os=e,n._parts=t,n}},2370:function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var o=n(1215),i=(r.prototype.toLabel=function(e,t,n){if(0===t.length)return null;for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=n(a);if(null===s)return null;o[i]=l(a,s,this.modifierLabels[e])}return o.join(" ")},r);function r(e,t,n){void 0===n&&(n=t),this.modifierLabels=[null],this.modifierLabels[2]=e,this.modifierLabels[1]=t,this.modifierLabels[3]=n}var a=new i({ctrlKey:"⌃",shiftKey:"⇧",altKey:"⌥",metaKey:"⌘",separator:""},{ctrlKey:o.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:o.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:o.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:o.a({key:"windowsKey",comment:["This is the short form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:o.a({key:"ctrlKey",comment:["This is the short form for the Control key on the keyboard"]},"Ctrl"),shiftKey:o.a({key:"shiftKey",comment:["This is the short form for the Shift key on the keyboard"]},"Shift"),altKey:o.a({key:"altKey",comment:["This is the short form for the Alt key on the keyboard"]},"Alt"),metaKey:o.a({key:"superKey",comment:["This is the short form for the Super key on the keyboard"]},"Super"),separator:"+"}),s=new i({ctrlKey:o.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:o.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:o.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:o.a({key:"cmdKey.long",comment:["This is the long form for the Command key on the keyboard"]},"Command"),separator:"+"},{ctrlKey:o.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:o.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:o.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:o.a({key:"windowsKey.long",comment:["This is the long form for the Windows key on the keyboard"]},"Windows"),separator:"+"},{ctrlKey:o.a({key:"ctrlKey.long",comment:["This is the long form for the Control key on the keyboard"]},"Control"),shiftKey:o.a({key:"shiftKey.long",comment:["This is the long form for the Shift key on the keyboard"]},"Shift"),altKey:o.a({key:"altKey.long",comment:["This is the long form for the Alt key on the keyboard"]},"Alt"),metaKey:o.a({key:"superKey.long",comment:["This is the long form for the Super key on the keyboard"]},"Super"),separator:"+"});function l(e,t,n){if(null===t)return"";var o=[];return e.ctrlKey&&o.push(n.ctrlKey),e.shiftKey&&o.push(n.shiftKey),e.altKey&&o.push(n.altKey),e.metaKey&&o.push(n.metaKey),o.push(t),o.join(n.separator)}},2371:function(e,t,n){"use strict";n.d(t,"b",function(){return B}),n.d(t,"a",function(){return j});var o,d=n(1215),h=n(1304),p=n(2372),f=n(868),i=n(1424),r=n(2074),a=n(2476),g=n(2091),s=n(1668),b=n(1782),l=n(1792),m=n(1672),v=n(1350),u=n(1425),y=n(1291),c=n(1680),C=n(1125),A=n(1591),_=n(1497),w=n(1216),x=n(1679),S=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),L=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},D=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},k=0,N=!1;var I,O=(I=r.a,S(E,I),E.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 o="DYNAMIC_"+ ++k,i=y.b.deserialize(n);return this._standaloneKeybindingService.addDynamicKeybinding(o,e,t,i),o},E.prototype.createContextKey=function(e,t){return this._contextKeyService.createKey(e,t)},E.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"),f.a.None;function n(){return Promise.resolve(e.run(t))}var o=e.id,i=e.label,r=y.b.and(y.b.equals("editorId",this.getId()),y.b.deserialize(e.precondition)),a=e.keybindings,s=y.b.and(r,y.b.deserialize(e.keybindingContext)),l=e.contextMenuGroupId||null,u=e.contextMenuOrder||0,c=[],d=this.getId()+":"+o;if(c.push(v.a.registerCommand(d,n)),l){var h={command:{id:d,title:i},when:r,group:l,order:u};c.push(m.c.appendMenuItem(7,h))}Array.isArray(a)&&(c=c.concat(a.map(function(e){return t._standaloneKeybindingService.addDynamicKeybinding(d,e,n,s)})));var p=new g.a(d,i,i,r,n,this._contextKeyService);return this._actions[o]=p,c.push(Object(f.e)(function(){delete t._actions[o]})),Object(f.c)(c)},E=L([D(2,C.a),D(3,i.a),D(4,v.b),D(5,y.c),D(6,A.a),D(7,w.c),D(8,_.a),D(9,x.a)],E));function E(e,t,n,o,i,r,a,s,l,u){var c=this;return(t=t||{}).ariaLabel=t.ariaLabel||d.a("editorViewAccessibleLabel","Editor content"),t.ariaLabel=t.ariaLabel+";"+(h.j?d.a("accessibilityHelpMessageIE","Press Ctrl+F1 for Accessibility Options."):d.a("accessibilityHelpMessage","Press Alt+F1 for Accessibility Options.")),c=I.call(this,e,t,{},n,o,i,r,s,l,u)||this,a instanceof b.m&&(c._standaloneKeybindingService=a),N||(N=!0,p.a(document.body)),c}var M,B=(S(T,M=O),T.prototype.dispose=function(){M.prototype.dispose.call(this)},T.prototype.updateOptions=function(e){Object(b.o)(this._configurationService,e,!1),M.prototype.updateOptions.call(this,e)},T.prototype._attachModel=function(e){M.prototype._attachModel.call(this,e),this._modelData&&this._contextViewService.setContainer(this._modelData.view.domNode.domNode)},T.prototype._postDetachModelCleanup=function(e){M.prototype._postDetachModelCleanup.call(this,e),e&&this._ownsModel&&(e.dispose(),this._ownsModel=!1)},T=L([D(3,C.a),D(4,i.a),D(5,v.b),D(6,y.c),D(7,A.a),D(8,c.b),D(9,l.a),D(10,_.a),D(11,u.a),D(12,x.a)],T));function T(e,t,n,o,i,r,a,s,l,u,c,d,h){var p=this;Object(b.o)(d,t,!1),"string"==typeof(t=t||{}).theme&&u.setTheme(t.theme);var f,g=t.model;if(delete t.model,(p=M.call(this,e,t,o,i,r,a,s,u,c,h)||this)._contextViewService=l,p._configurationService=d,p._register(n),void 0===g?(f=self.monaco.editor.createModel(t.value||"",t.language||"text/plain"),p._ownsModel=!0):(f=g,p._ownsModel=!1),p._attachModel(f),f){var m={oldModelUrl:null,newModelUrl:f.uri};p._onDidChangeModel.fire(m)}return p}var P,j=(P=a.a,S(R,P),R.prototype.dispose=function(){P.prototype.dispose.call(this)},R.prototype.updateOptions=function(e){Object(b.o)(this._configurationService,e,!0),P.prototype.updateOptions.call(this,e)},R.prototype._createInnerEditor=function(e,t,n){return e.createInstance(O,t,n)},R.prototype.getOriginalEditor=function(){return P.prototype.getOriginalEditor.call(this)},R.prototype.getModifiedEditor=function(){return P.prototype.getModifiedEditor.call(this)},R.prototype.addCommand=function(e,t,n){return this.getModifiedEditor().addCommand(e,t,n)},R.prototype.createContextKey=function(e,t){return this.getModifiedEditor().createContextKey(e,t)},R.prototype.addAction=function(e){return this.getModifiedEditor().addAction(e)},R=L([D(3,C.a),D(4,y.c),D(5,A.a),D(6,c.b),D(7,s.a),D(8,i.a),D(9,l.a),D(10,_.a),D(11,u.a)],R));function R(e,t,n,o,i,r,a,s,l,u,c,d){var h=this;return Object(b.o)(d,t,!0),"string"==typeof(t=t||{}).theme&&(t.theme=u.setTheme(t.theme)),(h=P.call(this,e,t,s,i,o,l,u,c)||this)._contextViewService=a,h._configurationService=d,h._register(n),h._contextViewService.setContainer(h._containerDomElement),h}},2372:function(e,t,n){"use strict";t.a=function(e){(o=document.createElement("div")).className="monaco-aria-container",(i=document.createElement("div")).className="monaco-alert",i.setAttribute("role","alert"),i.setAttribute("aria-atomic","true"),o.appendChild(i),(r=document.createElement("div")).className="monaco-status",r.setAttribute("role","status"),r.setAttribute("aria-atomic","true"),o.appendChild(r),e.appendChild(o)};var o,i,r,a=n(2373);n.n(a),n(1215),n(1134),n(1126)},2373:function(e,t,n){var o=n(2374);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2374:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-aria-container{position:absolute;left:-999em}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/aria/aria.css"],names:[],mappings:"AAKA,uBACC,kBAAmB,AACnB,WAAY,CACZ",file:"aria.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n\tposition: absolute; /* try to hide from window but not from screen readers */\n\tleft:-999em;\n}"],sourceRoot:""}])},2375:function(e,t,n){var o=n(2376);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2376:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;-webkit-font-feature-settings:"liga" off,"calt" off;font-feature-settings:"liga" off,"calt" off}.monaco-editor.enable-ligatures{-webkit-font-feature-settings:"liga" on,"calt" on;font-feature-settings:"liga" on,"calt" on}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/widget/media/editor.css"],names:[],mappings:"AAOA,YACC,YAAc,CACd,AAID,oCACC,aAAe,CACf,AAID,eACC,kBAAmB,AACnB,iBAAkB,AAClB,8BAA+B,AAC/B,oDAAsD,AACtD,2CAA8C,CAC9C,AACD,gCACC,kDAAoD,AACpD,yCAA4C,CAC5C,AAID,+BACC,kBAAmB,AACnB,eAAiB,CACjB,AAED,8BACC,kBAAmB,AACnB,KAAO,CACP",file:"editor.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n\tdisplay: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n\tcolor: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n\tposition: relative;\n\toverflow: visible;\n\t-webkit-text-size-adjust: 100%;\n\t-webkit-font-feature-settings: "liga" off, "calt" off;\n\tfont-feature-settings: "liga" off, "calt" off;\n}\n.monaco-editor.enable-ligatures {\n\t-webkit-font-feature-settings: "liga" on, "calt" on;\n\tfont-feature-settings: "liga" on, "calt" on;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n\tposition: relative;\n\toverflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n\tposition: absolute;\n\ttop: 0;\n}'],sourceRoot:""}])},2377:function(e,t,n){var o=n(2378);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2378:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .vs-whitespace{display:inline-block}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/widget/media/tokens.css"],names:[],mappings:"AAKA,8BACC,oBAAqB,CACrB",file:"tokens.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .vs-whitespace {\n\tdisplay:inline-block;\n}\n\n"],sourceRoot:""}])},2379:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),t.b=function(e,t){new r(e,t).read()};var o=(i.prototype.fulfill=function(e){this.width=e},i);function i(e,t){this.chr=e,this.type=t,this.width=0}var r=(c.prototype.read=function(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null},c.prototype._createDomElements=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";var t=document.createElement("div");t.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),t.style.fontWeight=this._bareFontInfo.fontWeight,t.style.fontSize=this._bareFontInfo.fontSize+"px",t.style.lineHeight=this._bareFontInfo.lineHeight+"px",t.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(t);var n=document.createElement("div");n.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),n.style.fontWeight="bold",n.style.fontSize=this._bareFontInfo.fontSize+"px",n.style.lineHeight=this._bareFontInfo.lineHeight+"px",n.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",e.appendChild(n);var o=document.createElement("div");o.style.fontFamily=this._bareFontInfo.getMassagedFontFamily(),o.style.fontWeight=this._bareFontInfo.fontWeight,o.style.fontSize=this._bareFontInfo.fontSize+"px",o.style.lineHeight=this._bareFontInfo.lineHeight+"px",o.style.letterSpacing=this._bareFontInfo.letterSpacing+"px",o.style.fontStyle="italic",e.appendChild(o);for(var i=[],r=0,a=this._requests.length;r<a;r++){var s=this._requests[r],l=void 0;0===s.type&&(l=t),2===s.type&&(l=n),1===s.type&&(l=o),l.appendChild(document.createElement("br"));var u=document.createElement("span");c._render(u,s),l.appendChild(u),i[r]=u}this._container=e,this._testElements=i},c._render=function(e,t){if(" "===t.chr){for(var n="&nbsp;",o=0;o<8;o++)n+=n;e.innerHTML=n}else{var i=t.chr;for(o=0;o<8;o++)i+=i;e.textContent=i}},c.prototype._readFromDomElements=function(){for(var e=0,t=this._requests.length;e<t;e++){var n=this._requests[e],o=this._testElements[e];n.fulfill(o.offsetWidth/256)}},c);function c(e,t){this._bareFontInfo=e,this._requests=t,this._container=null,this._testElements=null}},2380:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,r=n(868),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=r.a,a(l,i),l.prototype.dispose=function(){this.stopObserving(),i.prototype.dispose.call(this)},l.prototype.getWidth=function(){return this.width},l.prototype.getHeight=function(){return this.height},l.prototype.startObserving=function(){var e=this;-1===this.measureReferenceDomElementToken&&(this.measureReferenceDomElementToken=setInterval(function(){return e.measureReferenceDomElement(!0)},100))},l.prototype.stopObserving=function(){-1!==this.measureReferenceDomElementToken&&(clearInterval(this.measureReferenceDomElementToken),this.measureReferenceDomElementToken=-1)},l.prototype.observe=function(e){this.measureReferenceDomElement(!0,e)},l.prototype.measureReferenceDomElement=function(e,t){var n=0,o=0;t?(n=t.width,o=t.height):this.referenceDomElement&&(n=this.referenceDomElement.clientWidth,o=this.referenceDomElement.clientHeight),n=Math.max(5,n),o=Math.max(5,o),this.width===n&&this.height===o||(this.width=n,this.height=o,e&&this.changeCallback())},l);function l(e,t){var n=i.call(this)||this;return n.referenceDomElement=e,n.changeCallback=t,n.measureReferenceDomElementToken=-1,n.width=-1,n.height=-1,n.measureReferenceDomElement(!1),n}},2381:function(e,t,n){"use strict";n.d(t,"a",function(){return U});function i(){throw new Error("Invalid change accessor")}var o,l,s=n(1126),u=n(1223),r=n(1222),c=n(2382),d=n(2385),h=n(2391),p=n(2407),f=n(1283),g=n(2408),m=n(2409),b=n(2412),v=n(2415),y=n(2418),C=n(1790),A=n(2426),_=n(2078),w=n(2429),x=n(2432),S=n(2079),L=n(2435),D=n(2438),k=n(2443),N=n(2446),a=n(2447),I=n(2448),O=n(2451),E=n(2454),M=n(2457),B=n(2461),T=n(1124),P=n(1590),j=n(2462),R=n(2463),W=n(1546),z=n(2464),F=n(1589),H=n(1216),V=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),U=(l=F.a,V(Z,l),Z.prototype.createViewParts=function(){this.linesContent=Object(u.b)(document.createElement("div")),this.linesContent.setClassName("lines-content monaco-editor-background"),this.linesContent.setPosition("absolute"),this.domNode=Object(u.b)(document.createElement("div")),this.domNode.setClassName(this.getEditorClassName()),this.overflowGuardContainer=Object(u.b)(document.createElement("div")),f.a.write(this.overflowGuardContainer,3),this.overflowGuardContainer.setClassName("overflow-guard"),this._scrollbar=new y.a(this._context,this.linesContent,this.domNode,this.overflowGuardContainer),this.viewParts.push(this._scrollbar),this.viewLines=new w.a(this._context,this.linesContent),this.viewZones=new B.a(this._context),this.viewParts.push(this.viewZones);var e=new N.a(this._context);this.viewParts.push(e);var t=new O.a(this._context);this.viewParts.push(t);var n=new p.a(this._context);this.viewParts.push(n),n.addDynamicOverlay(new m.a(this._context)),n.addDynamicOverlay(new E.a(this._context)),n.addDynamicOverlay(new A.a(this._context)),n.addDynamicOverlay(new v.a(this._context));var o=new p.b(this._context);this.viewParts.push(o),o.addDynamicOverlay(new b.a(this._context)),o.addDynamicOverlay(new C.c(this._context)),o.addDynamicOverlay(new L.a(this._context)),o.addDynamicOverlay(new x.a(this._context)),o.addDynamicOverlay(new _.a(this._context));var i=new S.a(this._context);i.getDomNode().appendChild(this.viewZones.marginDomNode),i.getDomNode().appendChild(o.getDomNode()),this.viewParts.push(i),this.contentWidgets=new g.a(this._context,this.domNode),this.viewParts.push(this.contentWidgets),this.viewCursors=new M.a(this._context),this.viewParts.push(this.viewCursors),this.overlayWidgets=new k.a(this._context),this.viewParts.push(this.overlayWidgets);var r=new I.a(this._context);this.viewParts.push(r);var a=new D.a(this._context);if(this.viewParts.push(a),e){var s=this._scrollbar.getOverviewRulerLayoutInfo();s.parent.insertBefore(e.getDomNode(),s.insertBefore)}this.linesContent.appendChild(n.getDomNode()),this.linesContent.appendChild(r.domNode),this.linesContent.appendChild(this.viewZones.domNode),this.linesContent.appendChild(this.viewLines.getDomNode()),this.linesContent.appendChild(this.contentWidgets.domNode),this.linesContent.appendChild(this.viewCursors.getDomNode()),this.overflowGuardContainer.appendChild(i.getDomNode()),this.overflowGuardContainer.appendChild(this._scrollbar.getDomNode()),this.overflowGuardContainer.appendChild(t.getDomNode()),this.overflowGuardContainer.appendChild(this._textAreaHandler.textArea),this.overflowGuardContainer.appendChild(this._textAreaHandler.textAreaCover),this.overflowGuardContainer.appendChild(this.overlayWidgets.getDomNode()),this.overflowGuardContainer.appendChild(a.getDomNode()),this.domNode.appendChild(this.overflowGuardContainer),this.domNode.appendChild(this.contentWidgets.overflowingContentWidgetsDomNode)},Z.prototype._flushAccumulatedAndRenderNow=function(){this._renderNow()},Z.prototype.createPointerHandlerHelper=function(){var n=this;return{viewDomNode:this.domNode.domNode,linesContentDomNode:this.linesContent.domNode,focusTextArea:function(){n.focus()},getLastViewCursorsRenderData:function(){return n.viewCursors.getLastRenderData()||[]},shouldSuppressMouseDownOnViewZone:function(e){return n.viewZones.shouldSuppressMouseDownOnViewZone(e)},shouldSuppressMouseDownOnWidget:function(e){return n.contentWidgets.shouldSuppressMouseDownOnWidget(e)},getPositionFromDOMInfo:function(e,t){return n._flushAccumulatedAndRenderNow(),n.viewLines.getPositionFromDOMInfo(e,t)},visibleRangeForPosition2:function(e,t){return n._flushAccumulatedAndRenderNow(),n.viewLines.visibleRangeForPosition(new T.a(e,t))},getLineWidth:function(e){return n._flushAccumulatedAndRenderNow(),n.viewLines.getLineWidth(e)}}},Z.prototype.createTextAreaHandlerHelper=function(){var n=this;return{visibleRangeForPositionRelativeToEditor:function(e,t){return n._flushAccumulatedAndRenderNow(),n.viewLines.visibleRangeForPosition(new T.a(e,t))}}},Z.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.domNode.setWidth(e.width),this.domNode.setHeight(e.height),this.overflowGuardContainer.setWidth(e.width),this.overflowGuardContainer.setHeight(e.height),this.linesContent.setWidth(1e6),this.linesContent.setHeight(1e6)},Z.prototype.getEditorClassName=function(){var e=this._textAreaHandler.isFocused()?" focused":"";return this._context.configuration.editor.editorClassName+" "+Object(H.d)(this._context.theme.type)+e},Z.prototype.onConfigurationChanged=function(e){return e.editorClassName&&this.domNode.setClassName(this.getEditorClassName()),e.layoutInfo&&this._setLayout(),!1},Z.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},Z.prototype.onScrollChanged=function(e){return this.outgoingEvents.emitScrollChanged(e),!1},Z.prototype.onThemeChanged=function(e){return this.domNode.setClassName(this.getEditorClassName()),!1},Z.prototype.dispose=function(){null!==this._renderAnimationFrame&&(this._renderAnimationFrame.dispose(),this._renderAnimationFrame=null),this.eventDispatcher.removeEventHandler(this),this.outgoingEvents.dispose(),this.pointerHandler.dispose(),this.viewLines.dispose();for(var e=0,t=this.viewParts.length;e<t;e++)this.viewParts[e].dispose();this.viewParts=[],l.prototype.dispose.call(this)},Z.prototype._renderOnce=function(e){var t=G(e);return this._scheduleRender(),t},Z.prototype._scheduleRender=function(){null===this._renderAnimationFrame&&(this._renderAnimationFrame=s.I(this._onRenderScheduled.bind(this),100))},Z.prototype._onRenderScheduled=function(){this._renderAnimationFrame=null,this._flushAccumulatedAndRenderNow()},Z.prototype._renderNow=function(){var e=this;G(function(){return e._actualRender()})},Z.prototype._getViewPartsToRender=function(){for(var e=[],t=0,n=0,o=this.viewParts.length;n<o;n++){var i=this.viewParts[n];i.shouldRender()&&(e[t++]=i)}return e},Z.prototype._actualRender=function(){if(s.B(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 z.a(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 o=new P.c(this._context.viewLayout,n,this.viewLines),i=0,r=e.length;i<r;i++)(a=e[i]).prepareRender(o);for(i=0,r=e.length;i<r;i++){var a;(a=e[i]).render(o),a.onDidRender()}}}},Z.prototype.delegateVerticalScrollbarMouseDown=function(e){this._scrollbar.delegateVerticalScrollbarMouseDown(e)},Z.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})},Z.prototype.getOffsetForColumn=function(e,t){var n=this._context.model.validateModelPosition({lineNumber:e,column:t}),o=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n);this._flushAccumulatedAndRenderNow();var i=this.viewLines.visibleRangeForPosition(new T.a(o.lineNumber,o.column));return i?i.left:-1},Z.prototype.getTargetAtClientPoint=function(e,t){return this.pointerHandler.getTargetAtClientPoint(e,t)},Z.prototype.createOverviewRuler=function(e){return new a.a(this._context,e)},Z.prototype.change=function(t){var n=this,o=!1;return this._renderOnce(function(){var e={addZone:function(e){return o=!0,n.viewZones.addZone(e)},removeZone:function(e){e&&(o=n.viewZones.removeZone(e)||o)},layoutZone:function(e){e&&(o=n.viewZones.layoutZone(e)||o)}};!function(e,t){try{e(t)}catch(e){Object(r.e)(e)}}(t,e),e.addZone=i,e.removeZone=i,e.layoutZone=i,o&&(n._context.viewLayout.onHeightMaybeChanged(),n._context.privateViewEventBus.emit(new W.q))}),o},Z.prototype.render=function(e,t){if(t){this.viewLines.forceShouldRender();for(var n=0,o=this.viewParts.length;n<o;n++)this.viewParts[n].forceShouldRender()}e?this._flushAccumulatedAndRenderNow():this._scheduleRender()},Z.prototype.focus=function(){this._textAreaHandler.focusTextArea()},Z.prototype.isFocused=function(){return this._textAreaHandler.isFocused()},Z.prototype.addContentWidget=function(e){this.contentWidgets.addWidget(e.widget),this.layoutContentWidget(e),this._scheduleRender()},Z.prototype.layoutContentWidget=function(e){var t=e.position?e.position.position:null,n=e.position?e.position.range:null,o=e.position?e.position.preference:null;this.contentWidgets.setWidgetPosition(e.widget,t,n,o),this._scheduleRender()},Z.prototype.removeContentWidget=function(e){this.contentWidgets.removeWidget(e.widget),this._scheduleRender()},Z.prototype.addOverlayWidget=function(e){this.overlayWidgets.addWidget(e.widget),this.layoutOverlayWidget(e),this._scheduleRender()},Z.prototype.layoutOverlayWidget=function(e){var t=e.position?e.position.preference:null;this.overlayWidgets.setWidgetPosition(e.widget,t)&&this._scheduleRender()},Z.prototype.removeOverlayWidget=function(e){this.overlayWidgets.removeWidget(e.widget),this._scheduleRender()},Z);function Z(e,t,n,o,i,r){var a=l.call(this)||this;a._cursor=i,a._renderAnimationFrame=null,a.outgoingEvents=r;var s=new h.a(t,o,a.outgoingEvents,e);return a.eventDispatcher=new R.a(function(e){return a._renderOnce(e)}),a.eventDispatcher.addEventHandler(a),a._context=new j.a(t,n.getTheme(),o,a.eventDispatcher),a._register(n.onThemeChange(function(e){a._context.theme=e,a.eventDispatcher.emit(new W.n),a.render(!0,!1)})),a.viewParts=[],a._textAreaHandler=new d.a(a._context,s,a.createTextAreaHandlerHelper()),a.viewParts.push(a._textAreaHandler),a.createViewParts(),a._setLayout(),a.pointerHandler=new c.a(a._context,s,a.createPointerHandlerHelper()),a._register(o.addEventListener(function(e){a.eventDispatcher.emitMany(e)})),a._register(a._cursor.addEventListener(function(e){a.eventDispatcher.emitMany(e)})),a}function G(e){try{return e()}catch(e){Object(r.e)(e)}}},2382:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o,r=n(1126),i=n(1588),a=n(2383),s=n(1786),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function u(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var c,d=(c=a.a,l(h,c),h.prototype._onMouseDown=function(e){"mouse"===this._lastPointerType&&c.prototype._onMouseDown.call(this,e)},h.prototype._onCaptureGestureTap=function(e){var t=this,n=new s.b(e,this.viewHelper.viewDomNode),o=this._createMouseTarget(n,!1);o.position&&this.viewController.moveTo(o.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){t.viewHelper.focusTextArea()})},h.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},h.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),c.prototype.dispose.call(this)},h);function h(e,t,n){var i=c.call(this,e,t,n)||this;return i.viewHelper.linesContentDomNode.style.msTouchAction="none",i.viewHelper.linesContentDomNode.style.msContentZooming="none",i._installGestureHandlerTimeout=window.setTimeout(function(){if(i._installGestureHandlerTimeout=-1,window.MSGesture){var n=new MSGesture,o=new MSGesture;n.target=i.viewHelper.linesContentDomNode,o.target=i.viewHelper.linesContentDomNode,i.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",function(e){var t=e.pointerType;t!==(e.MSPOINTER_TYPE_MOUSE||"mouse")?t===(e.MSPOINTER_TYPE_TOUCH||"touch")?(i._lastPointerType="touch",n.addPointer(e.pointerId)):(i._lastPointerType="pen",o.addPointer(e.pointerId)):i._lastPointerType="mouse"}),i._register(r.i(i.viewHelper.linesContentDomNode,"MSGestureChange",function(e){return i._onGestureChange(e)},u)),i._register(r.g(i.viewHelper.linesContentDomNode,"MSGestureTap",function(e){return i._onCaptureGestureTap(e)},!0))}},100),i._lastPointerType="mouse",i}var p,f=(p=a.a,l(g,p),g.prototype._onMouseDown=function(e){"mouse"===this._lastPointerType&&p.prototype._onMouseDown.call(this,e)},g.prototype._onCaptureGestureTap=function(e){var t=this,n=new s.b(e,this.viewHelper.viewDomNode),o=this._createMouseTarget(n,!1);o.position&&this.viewController.moveTo(o.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout(function(){t.viewHelper.focusTextArea()})},g.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},g.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),p.prototype.dispose.call(this)},g);function g(e,t,n){var i=p.call(this,e,t,n)||this;return i.viewHelper.linesContentDomNode.style.touchAction="none",i._installGestureHandlerTimeout=window.setTimeout(function(){if(i._installGestureHandlerTimeout=-1,window.MSGesture){var n=new MSGesture,o=new MSGesture;n.target=i.viewHelper.linesContentDomNode,o.target=i.viewHelper.linesContentDomNode,i.viewHelper.linesContentDomNode.addEventListener("pointerdown",function(e){var t=e.pointerType;"mouse"!==t?"touch"===t?(i._lastPointerType="touch",n.addPointer(e.pointerId)):(i._lastPointerType="pen",o.addPointer(e.pointerId)):i._lastPointerType="mouse"}),i._register(r.i(i.viewHelper.linesContentDomNode,"MSGestureChange",function(e){return i._onGestureChange(e)},u)),i._register(r.g(i.viewHelper.linesContentDomNode,"MSGestureTap",function(e){return i._onCaptureGestureTap(e)},!0))}},100),i._lastPointerType="mouse",i}var m,b=(m=a.a,l(v,m),v.prototype.dispose=function(){m.prototype.dispose.call(this)},v.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new s.b(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},v.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},v);function v(e,t,n){var o=m.call(this,e,t,n)||this;return i.b.addTarget(o.viewHelper.linesContentDomNode),o._register(r.g(o.viewHelper.linesContentDomNode,i.a.Tap,function(e){return o.onTap(e)})),o._register(r.g(o.viewHelper.linesContentDomNode,i.a.Change,function(e){return o.onChange(e)})),o._register(r.g(o.viewHelper.linesContentDomNode,i.a.Contextmenu,function(e){return o._onContextMenu(new s.b(e,o.viewHelper.viewDomNode),!1)})),o}var y=(C.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},C.prototype.dispose=function(){this.handler.dispose()},C);function C(e,t,n){window.navigator.msPointerEnabled?this.handler=new d(e,t,n):window.TouchEvent?this.handler=new b(e,t,n):window.navigator.pointerEnabled||window.PointerEvent?this.handler=new f(e,t,n):this.handler=new a.a(e,t,n)}},2383:function(e,t,n){"use strict";n.d(t,"a",function(){return y});var o,h=n(1304),r=n(1126),a=n(1409),s=n(1239),i=n(868),p=n(1134),d=n(2075),l=n(1786),u=n(1774),f=n(1124),c=n(1303),g=n(1589),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function b(o){return function(e,t){var n=!1;return o&&(n=o.mouseTargetIsWidget(t)),n||t.preventDefault(),t}}var v,y=(v=g.a,m(C,v),C.prototype.dispose=function(){this._context.removeEventHandler(this),v.prototype.dispose.call(this)},C.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},C.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},C.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},C.prototype.getTargetAtClientPoint=function(e,t){var n=new l.a(e,t).toPageCoordinates(),o=Object(l.f)(this.viewHelper.viewDomNode);if(n.y<o.y||n.y>o.y+o.height||n.x<o.x||n.x>o.x+o.width)return null;var i=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(i,o,n,null)},C.prototype._createMouseTarget=function(e,t){var n=this.viewHelper.getLastViewCursorsRenderData();return this.mouseTargetFactory.createMouseTarget(n,e.editorPos,e.pos,t?e.target:null)},C.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},C.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},C.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||e.timestamp<this.lastMouseLeaveTime||this.viewController.emitMouseMove({event:e,target:this._createMouseTarget(e,!0)})},C.prototype._onMouseLeave=function(e){this.lastMouseLeaveTime=(new Date).getTime(),this.viewController.emitMouseLeave({event:e,target:null})},C.prototype._onMouseUp=function(e){this.viewController.emitMouseUp({event:e,target:this._createMouseTarget(e,!0)})},C.prototype._onMouseDown=function(e){var t=this,n=this._createMouseTarget(e,!0),o=6===n.type||7===n.type,i=2===n.type||3===n.type||4===n.type,r=3===n.type,a=this._context.configuration.editor.viewInfo.selectOnLineNumbers,s=8===n.type||5===n.type,l=9===n.type,u=e.leftButton||e.middleButton;function c(){h.j&&!t._isFocused?t._asyncFocus.schedule():(e.preventDefault(),t.viewHelper.focusTextArea())}if(p.d&&e.leftButton&&e.ctrlKey&&(u=!1),u&&(o||r&&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})},C.MOUSE_MOVE_MINIMUM_TIME=100,C);function C(e,t,n){var i=v.call(this)||this;i._isFocused=!1,i._context=e,i.viewController=t,i.viewHelper=n,i.mouseTargetFactory=new d.c(i._context,n),i._mouseDownOperation=i._register(new _(i._context,i.viewController,i.viewHelper,function(e,t){return i._createMouseTarget(e,t)},function(e){return i._getMouseColumn(e)})),i._asyncFocus=i._register(new s.c(function(){return i.viewHelper.focusTextArea()},0)),i.lastMouseLeaveTime=-1;var o=new l.c(i.viewHelper.viewDomNode);i._register(o.onContextMenu(i.viewHelper.viewDomNode,function(e){return i._onContextMenu(e,!0)})),i._register(o.onMouseMoveThrottled(i.viewHelper.viewDomNode,function(e){return i._onMouseMove(e)},b(i.mouseTargetFactory),C.MOUSE_MOVE_MINIMUM_TIME)),i._register(o.onMouseUp(i.viewHelper.viewDomNode,function(e){return i._onMouseUp(e)})),i._register(o.onMouseLeave(i.viewHelper.viewDomNode,function(e){return i._onMouseLeave(e)})),i._register(o.onMouseDown(i.viewHelper.viewDomNode,function(e){return i._onMouseDown(e)}));return i._register(r.g(i.viewHelper.viewDomNode,"mousewheel",function(e){if(i._context.configuration.editor.viewInfo.mouseWheelZoom){var t=new a.b(e);if(t.browserEvent.ctrlKey||t.browserEvent.metaKey){var n=u.a.getZoomLevel(),o=0<t.deltaY?1:-1;u.a.setZoomLevel(n+o),t.preventDefault(),t.stopPropagation()}}},!0)),i._context.addEventHandler(i),i}var A,_=(A=i.a,m(w,A),w.prototype.dispose=function(){A.prototype.dispose.call(this)},w.prototype.isActive=function(){return this._isActive},w.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))},w.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 o=this._findMousePosition(t,!0);if(o&&o.position){if(this._mouseState.trySetCount(t.detail,o.position),t.detail=this._mouseState.count,!this._context.configuration.editor.readOnly&&this._context.configuration.editor.dragAndDrop&&!this._mouseState.altKey&&t.detail<2&&!this._isActive&&!this._currentSelection.isEmpty()&&6===o.type&&o.position&&this._currentSelection.containsPosition(o.position))return this._mouseState.isDragAndDrop=!0,this._isActive=!0,void this._mouseMoveMonitor.startMonitoring(b(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(o,t.shiftKey),this._isActive||(this._isActive=!0,this._mouseMoveMonitor.startMonitoring(b(null),function(e){return n._onMouseDownThenMove(e)},function(){return n._stop()}))}},w.prototype._stop=function(){this._isActive=!1,this._onScrollTimeout.cancel()},w.prototype.onScrollChanged=function(){var t=this;this._isActive&&this._onScrollTimeout.setIfNotSet(function(){if(t._lastMouseEvent){var e=t._findMousePosition(t._lastMouseEvent,!1);e&&(t._mouseState.isDragAndDrop||t._dispatchMouse(e,!0))}},10)},w.prototype.onCursorStateChanged=function(e){this._currentSelection=e.selections[0]},w.prototype._getPositionOutsideEditor=function(e){var t=e.editorPos,n=this._context.model,o=this._context.viewLayout,i=this._getMouseColumn(e);if(e.posy<t.y){var r=Math.max(o.getCurrentScrollTop()-(t.y-e.posy),0);if((s=d.a.getZoneAtCoord(this._context,r))&&(l=this._helpPositionJumpOverViewZone(s)))return new d.b(null,13,i,l);var a=o.getLineNumberAtVerticalOffset(r);return new d.b(null,13,i,new f.a(a,1))}if(e.posy>t.y+t.height){var s,l;if(r=o.getCurrentScrollTop()+(e.posy-t.y),(s=d.a.getZoneAtCoord(this._context,r))&&(l=this._helpPositionJumpOverViewZone(s)))return new d.b(null,13,i,l);var u=o.getLineNumberAtVerticalOffset(r);return new d.b(null,13,i,new f.a(u,n.getLineMaxColumn(u)))}var c=o.getLineNumberAtVerticalOffset(o.getCurrentScrollTop()+(e.posy-t.y));return e.posx<t.x?new d.b(null,13,i,new f.a(c,1)):e.posx>t.x+t.width?new d.b(null,13,i,new f.a(c,n.getLineMaxColumn(c))):null},w.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var o=this._createMouseTarget(e,t);if(!o.position)return null;if(8===o.type||5===o.type){var i=this._helpPositionJumpOverViewZone(o.detail);if(i)return new d.b(o.element,o.type,o.mouseColumn,i,null,o.detail)}return o},w.prototype._helpPositionJumpOverViewZone=function(e){var t=new f.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,o=e.positionAfter;return n&&o?n.isBefore(t)?n:o:null},w.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})},w);function w(e,t,n,o,i){var r=A.call(this)||this;return r._context=e,r._viewController=t,r._viewHelper=n,r._createMouseTarget=o,r._getMouseColumn=i,r._mouseMoveMonitor=r._register(new l.d(r._viewHelper.viewDomNode)),r._onScrollTimeout=r._register(new s.d),r._mouseState=new x,r._currentSelection=new c.a(1,1,1,1),r._isActive=!1,r._lastMouseEvent=null,r}var x=(Object.defineProperty(S.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(S.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),S.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},S.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},S.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},S.prototype.trySetCount=function(e,t){var n=(new Date).getTime();n-this._lastSetMouseDownCountTime>S.CLEAR_MOUSE_DOWN_COUNT_TIME&&(e=1),this._lastSetMouseDownCountTime=n,e>this._lastMouseDownCount+1&&(e=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(t)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=t,this._lastMouseDownCount=Math.min(e,this._lastMouseDownPositionEqualCount)},S.CLEAR_MOUSE_DOWN_COUNT_TIME=400,S);function S(){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}},2384:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var c=n(1590),d=(o.prototype.toString=function(){return"["+this.left+","+this.width+"]"},o.compare=function(e,t){return e.left-t.left},o);function o(e,t){this.left=e,this.width=t}var i=(r._createRange=function(){return this._handyReadyRange||(this._handyReadyRange=document.createRange()),this._handyReadyRange},r._detachRange=function(e,t){e.selectNodeContents(t)},r._readClientRects=function(e,t,n,o,i){var r=this._createRange();try{return r.setStart(e,t),r.setEnd(n,o),r.getClientRects()}catch(e){return null}finally{this._detachRange(r,i)}},r._mergeAdjacentRanges=function(e){if(1===e.length)return[new c.a(e[0].left,e[0].width)];e.sort(d.compare);for(var t=[],n=0,o=e[0].left,i=e[0].width,r=1,a=e.length;r<a;r++){var s=e[r],l=s.left,u=s.width;i=l<=o+i+.9?Math.max(i,l+u-o):(t[n++]=new c.a(o,i),o=l,u)}return t[n++]=new c.a(o,i),t},r._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],o=0,i=e.length;o<i;o++){var r=e[o];n[o]=new d(Math.max(0,r.left-t),r.width)}return this._mergeAdjacentRanges(n)},r.readHorizontalRanges=function(e,t,n,o,i,r,a){var s=e.children.length-1;if(s<0)return null;(t=Math.min(s,Math.max(0,t)))!==(o=Math.min(s,Math.max(0,o)))&&0<o&&0===i&&(o--,i=Number.MAX_VALUE);var l=e.children[t].firstChild,u=e.children[o].firstChild;if(l&&u||(!l&&0===n&&0<t&&(l=e.children[t-1].firstChild,n=1073741824),!u&&0===i&&0<o&&(u=e.children[o-1].firstChild,i=1073741824)),!l||!u)return null;n=Math.min(l.textContent.length,Math.max(0,n)),i=Math.min(u.textContent.length,Math.max(0,i));var c=this._readClientRects(l,n,u,i,a);return this._createHorizontalRangesFromClientRects(c,r)},r);function r(){}},2385:function(e,t,n){"use strict";n.d(t,"a",function(){return D});var o,i=n(2386),s=(n.n(i),n(1304)),l=n(1223),u=n(1134),r=n(989),c=n(1463),d=n(2388),h=n(2077),p=n(1283),a=n(2078),f=n(2079),g=n(1675),m=n(1124),b=n(988),v=n(1303),y=n(1546),C=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A=(_.prototype.setWidth=function(e){return new _(this.top,this.left,e)},_);function _(e,t,n){this.top=e,this.left=t,this.width=n}var w=s.g||s.i,x=(S.prototype.set=function(e){this._lastState=e},S.prototype.get=function(e){return this._lastState&&this._lastState.lastCopiedValue===e?this._lastState:this._lastState=null},S.INSTANCE=new S,S);function S(){this._lastState=null}var L,D=(L=p.b,C(k,L),k.prototype.dispose=function(){L.prototype.dispose.call(this)},k.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(g.a)(this._context.configuration.editor.wordSeparators),o=e.column,i=0;1<o;){var r=t.charCodeAt(o-2);if(0!==n.get(r)||50<i)return t.substring(o-1,e.column-1);i++,o--}return t.substring(0,e.column-1)},k.prototype._getCharacterBeforePosition=function(e){if(1<e.column){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!r.t(t.charCodeAt(0)))return t}return""},k.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.editor;return e.fontInfo&&(this._fontInfo=t.fontInfo),e.viewInfo&&this.textArea.setAttribute("aria-label",t.viewInfo.ariaLabel),e.layoutInfo&&(this._contentLeft=t.layoutInfo.contentLeft,this._contentWidth=t.layoutInfo.contentWidth,this._contentHeight=t.layoutInfo.contentHeight),e.lineHeight&&(this._lineHeight=t.lineHeight),e.accessibilitySupport&&(this._accessibilitySupport=t.accessibilitySupport,this._textAreaInput.writeScreenReaderContent("strategy changed")),e.emptySelectionClipboard&&(this._emptySelectionClipboard=t.emptySelectionClipboard),e.copyWithSyntaxHighlighting&&(this._copyWithSyntaxHighlighting=t.copyWithSyntaxHighlighting),!0},k.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},k.prototype.onDecorationsChanged=function(e){return!0},k.prototype.onFlushed=function(e){return!0},k.prototype.onLinesChanged=function(e){return!0},k.prototype.onLinesDeleted=function(e){return!0},k.prototype.onLinesInserted=function(e){return!0},k.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},k.prototype.onZonesChanged=function(e){return!0},k.prototype.isFocused=function(){return this._textAreaInput.isFocused()},k.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},k.prototype.prepareRender=function(e){if(2===this._accessibilitySupport)this._primaryCursorVisibleRange=null;else{var t=new m.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn);this._primaryCursorVisibleRange=e.visibleRangeForPosition(t)}},k.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},k.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight,!0);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():this._renderInsideEditor(t,e,w?0:1,w?0:1,!1)}}else this._renderAtTopLeft()},k.prototype._renderInsideEditor=function(e,t,n,o,i){var r=this.textArea,a=this.textAreaCover;i?c.a.applyFontInfo(r,this._fontInfo):(r.setFontSize(1),r.setLineHeight(this._fontInfo.lineHeight)),r.setTop(e),r.setLeft(t),r.setWidth(n),r.setHeight(o),a.setTop(0),a.setLeft(0),a.setWidth(0),a.setHeight(0)},k.prototype._renderAtTopLeft=function(){var e=this.textArea,t=this.textAreaCover;if(c.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),w)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),this._context.configuration.editor.viewInfo.glyphMargin?t.setClassName("monaco-editor-background textAreaCover "+f.a.OUTER_CLASS_NAME):0!==this._context.configuration.editor.viewInfo.renderLineNumbers?t.setClassName("monaco-editor-background textAreaCover "+a.a.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},k);function k(e,t,n){var a=L.call(this,e)||this;a._primaryCursorVisibleRange=null,a._viewController=t,a._viewHelper=n;var o=a._context.configuration.editor;a._accessibilitySupport=o.accessibilitySupport,a._contentLeft=o.layoutInfo.contentLeft,a._contentWidth=o.layoutInfo.contentWidth,a._contentHeight=o.layoutInfo.contentHeight,a._scrollLeft=0,a._scrollTop=0,a._fontInfo=o.fontInfo,a._lineHeight=o.lineHeight,a._emptySelectionClipboard=o.emptySelectionClipboard,a._copyWithSyntaxHighlighting=o.copyWithSyntaxHighlighting,a._visibleTextArea=null,a._selections=[new v.a(1,1,1,1)],a.textArea=Object(l.b)(document.createElement("textarea")),p.a.write(a.textArea,6),a.textArea.setClassName("inputarea"),a.textArea.setAttribute("wrap","off"),a.textArea.setAttribute("autocorrect","off"),a.textArea.setAttribute("autocapitalize","off"),a.textArea.setAttribute("autocomplete","off"),a.textArea.setAttribute("spellcheck","false"),a.textArea.setAttribute("aria-label",o.viewInfo.ariaLabel),a.textArea.setAttribute("role","textbox"),a.textArea.setAttribute("aria-multiline","true"),a.textArea.setAttribute("aria-haspopup","false"),a.textArea.setAttribute("aria-autocomplete","both"),a.textAreaCover=Object(l.b)(document.createElement("div")),a.textAreaCover.setPosition("absolute");var i={getLineCount:function(){return a._context.model.getLineCount()},getLineMaxColumn:function(e){return a._context.model.getLineMaxColumn(e)},getValueInRange:function(e,t){return a._context.model.getValueInRange(e,t)}},r={getPlainTextToCopy:function(){var e=a._context.model.getPlainTextToCopy(a._selections,a._emptySelectionClipboard,u.g),t=a._context.model.getEOL(),n=a._emptySelectionClipboard&&1===a._selections.length&&a._selections[0].isEmpty(),o=Array.isArray(e)?e:null,i=Array.isArray(e)?e.join(t):e,r=null;(n||o)&&(r={lastCopiedValue:s.i?i.replace(/\r\n/g,"\n"):i,isFromEmptySelection:a._emptySelectionClipboard&&1===a._selections.length&&a._selections[0].isEmpty(),multicursorText:o});return x.INSTANCE.set(r),i},getHTMLToCopy:function(){return a._copyWithSyntaxHighlighting||d.a.forceCopyWithSyntaxHighlighting?a._context.model.getHTMLToCopy(a._selections,a._emptySelectionClipboard):null},getScreenReaderContent:function(e){if(s.k)return h.b.EMPTY;if(1!==a._accessibilitySupport)return h.a.fromEditorSelection(e,i,a._selections[0],0===a._accessibilitySupport);if(u.d){var t=a._selections[0];if(t.isEmpty()){var n=t.getStartPosition(),o=a._getWordBeforePosition(n);if(0===o.length&&(o=a._getCharacterBeforePosition(n)),0<o.length)return new h.b(o,o.length,o.length,n,n)}}return h.b.EMPTY},deduceModelPosition:function(e,t,n){return a._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return a._textAreaInput=a._register(new d.b(r,a.textArea)),a._register(a._textAreaInput.onKeyDown(function(e){a._viewController.emitKeyDown(e)})),a._register(a._textAreaInput.onKeyUp(function(e){a._viewController.emitKeyUp(e)})),a._register(a._textAreaInput.onPaste(function(e){var t=x.INSTANCE.get(e.text),n=!1,o=null;t&&(n=a._emptySelectionClipboard&&t.isFromEmptySelection,o=t.multicursorText),a._viewController.paste("keyboard",e.text,n,o)})),a._register(a._textAreaInput.onCut(function(){a._viewController.cut("keyboard")})),a._register(a._textAreaInput.onType(function(e){e.replaceCharCnt?a._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):a._viewController.type("keyboard",e.text)})),a._register(a._textAreaInput.onSelectionChangeRequest(function(e){a._viewController.setSelection("keyboard",e)})),a._register(a._textAreaInput.onCompositionStart(function(){var e=a._selections[0].startLineNumber,t=a._selections[0].startColumn;a._context.privateViewEventBus.emit(new y.l(new b.a(e,t,e,t),0,!0,1));var n=a._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(a._visibleTextArea=new A(a._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,w?0:1),a._render()),a.textArea.setClassName("inputarea ime-input"),a._viewController.compositionStart("keyboard")})),a._register(a._textAreaInput.onCompositionUpdate(function(e){s.g?a._visibleTextArea=a._visibleTextArea.setWidth(0):a._visibleTextArea=a._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=function(e){return function(e,t,n,o,i){return e+" normal "+t+" "+n+"px / "+o+"px "+i}("normal",e.fontWeight,e.fontSize,e.lineHeight,e.fontFamily)}(t);var o=n.measureText(e);return s.i?o.width+2:o.width}(e.data,a._fontInfo)),a._render()})),a._register(a._textAreaInput.onCompositionEnd(function(){a._visibleTextArea=null,a._render(),a.textArea.setClassName("inputarea"),a._viewController.compositionEnd("keyboard")})),a._register(a._textAreaInput.onFocus(function(){a._context.privateViewEventBus.emit(new y.f(!0))})),a._register(a._textAreaInput.onBlur(function(){a._context.privateViewEventBus.emit(new y.f(!1))})),a}},2386:function(e,t,n){var o=n(2387);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2387:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/controller/textAreaHandler.css"],names:[],mappings:"AAKA,0BACC,YAAa,AACb,aAAc,AACd,SAAU,AACV,UAAW,AACX,kBAAmB,AACnB,uBAAyB,AACzB,YAAa,AACb,YAAa,AACb,gBAAiB,AACjB,kBAAmB,AACnB,4BAA8B,CAC9B,AAcD,oCACC,UAAY,CACZ",file:"textAreaHandler.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n\tmin-width: 0;\n\tmin-height: 0;\n\tmargin: 0;\n\tpadding: 0;\n\tposition: absolute;\n\toutline: none !important;\n\tresize: none;\n\tborder: none;\n\toverflow: hidden;\n\tcolor: transparent;\n\tbackground-color: transparent;\n}\n/*.monaco-editor .inputarea {\n\tposition: fixed !important;\n\twidth: 800px !important;\n\theight: 500px !important;\n\ttop: initial !important;\n\tleft: initial !important;\n\tbottom: 0 !important;\n\tright: 0 !important;\n\tcolor: black !important;\n\tbackground: white !important;\n\tline-height: 15px !important;\n\tfont-size: 14px !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n\tz-index: 10;\n}\n"],sourceRoot:""}])},2388:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return c});var o,i,f=n(1304),d=n(1126),r=n(1239),a=n(966),s=n(868),g=n(1134),h=n(989),p=n(2077),m=n(1303),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u={forceCopyWithSyntaxHighlighting:!1},c=(i=s.a,l(b,i),b.prototype._installSelectionChangeListener=function(){var h=this,p=0;return d.g(document,"selectionchange",function(e){if(h._hasFocus&&!h._isDoingComposition&&f.e&&g.g){var t=Date.now(),n=t-p;if(p=t,!(n<5)){var o=t-h._textArea.getIgnoreSelectionChangeTime();if(h._textArea.resetSelectionChangeTime(),!(o<100)&&h._textAreaState.selectionStartPosition&&h._textAreaState.selectionEndPosition){var i=h._textArea.getValue();if(h._textAreaState.value===i){var r=h._textArea.getSelectionStart(),a=h._textArea.getSelectionEnd();if(h._textAreaState.selectionStart!==r||h._textAreaState.selectionEnd!==a){var s=h._textAreaState.deduceEditorPosition(r),l=h._host.deduceModelPosition(s[0],s[1],s[2]),u=h._textAreaState.deduceEditorPosition(a),c=h._host.deduceModelPosition(u[0],u[1],u[2]),d=new m.a(l.lineNumber,l.column,c.lineNumber,c.column);h._onSelectionChangeRequest.fire(d)}}}}}})},b.prototype.dispose=function(){i.prototype.dispose.call(this),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)},b.prototype.focusTextArea=function(){this._setHasFocus(!0)},b.prototype.isFocused=function(){return this._hasFocus},b.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&&(f.f?this._setAndWriteTextAreaState("focusgain",p.b.EMPTY):this.writeScreenReaderContent("focusgain")),this._hasFocus?this._onFocus.fire():this._onBlur.fire())},b.prototype._setAndWriteTextAreaState=function(e,t){this._hasFocus||(t=t.collapseSelection()),t.writeToTextArea(e,this._textArea,this._hasFocus),this._textAreaState=t},b.prototype.writeScreenReaderContent=function(e){this._isDoingComposition||this._setAndWriteTextAreaState(e,this._host.getScreenReaderContent(this._textAreaState))},b.prototype._ensureClipboardGetsEditorSelection=function(e){var t=this._host.getPlainTextToCopy();if(v.canUseTextData(e)){var n=null;f.d()&&(t.length<65536||u.forceCopyWithSyntaxHighlighting)&&(n=this._host.getHTMLToCopy()),v.setTextData(e,t,n)}else this._setAndWriteTextAreaState("copy or cut",p.b.selectedText(t))},b);function b(e,t){var s=i.call(this)||this;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=e,s._textArea=s._register(new A(t)),s._lastTextAreaEvent=0,s._asyncTriggerCut=s._register(new r.c(function(){return s._onCut.fire()},0)),s._textAreaState=p.b.EMPTY,s.writeScreenReaderContent("ctor"),s._hasFocus=!1,s._isDoingComposition=!1,s._nextCommand=0,s._register(d.j(t.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(d.j(t.domNode,"keyup",function(e){s._onKeyUp.fire(e)})),s._register(d.g(t.domNode,"compositionstart",function(e){s._lastTextAreaEvent=1,s._isDoingComposition||(s._isDoingComposition=!0,f.g||s._setAndWriteTextAreaState("compositionstart",p.b.EMPTY),s._onCompositionStart.fire())}));function l(e,t){var n=s._textAreaState,o=p.b.readFromTextArea(s._textArea);return[o,p.b.deduceInput(n,o,e,t)]}function u(e){var t=s._textAreaState,n=p.b.selectedText(e);return[n,{text:n.value,replaceCharCnt:t.selectionEnd-t.selectionStart}]}function c(e){return!(!f.g||"ja"!==e)||!(!f.j||0!==e.indexOf("zh-Han"))}return s._register(d.g(t.domNode,"compositionupdate",function(e){if(s._lastTextAreaEvent=2,c(e.locale)){var t=l(!1,!1),n=t[0],o=t[1];return s._textAreaState=n,s._onType.fire(o),void s._onCompositionUpdate.fire(e)}var i=u(e.data),r=i[0],a=i[1];s._textAreaState=r,s._onType.fire(a),s._onCompositionUpdate.fire(e)})),s._register(d.g(t.domNode,"compositionend",function(e){if(s._lastTextAreaEvent=3,c(e.locale)){var t=l(!1,!1),n=t[0],o=t[1];s._textAreaState=n,s._onType.fire(o)}else{var i=u(e.data);n=i[0],o=i[1];s._textAreaState=n,s._onType.fire(o)}(f.g||f.e)&&(s._textAreaState=p.b.readFromTextArea(s._textArea)),s._isDoingComposition&&(s._isDoingComposition=!1,s._onCompositionEnd.fire())})),s._register(d.g(t.domNode,"input",function(){var e=8===s._lastTextAreaEvent;if(s._lastTextAreaEvent=4,s._textArea.setIgnoreSelectionChangeTime("received input event"),!s._isDoingComposition){var t=l(g.d,e&&g.d),n=t[0],o=t[1];0===o.replaceCharCnt&&1===o.text.length&&h.t(o.text.charCodeAt(0))||(s._textAreaState=n,0===s._nextCommand?""!==o.text&&s._onType.fire(o):(""!==o.text&&s._onPaste.fire({text:o.text}),s._nextCommand=0))}})),s._register(d.g(t.domNode,"cut",function(e){s._lastTextAreaEvent=5,s._textArea.setIgnoreSelectionChangeTime("received cut event"),s._ensureClipboardGetsEditorSelection(e),s._asyncTriggerCut.schedule()})),s._register(d.g(t.domNode,"copy",function(e){s._lastTextAreaEvent=6,s._ensureClipboardGetsEditorSelection(e)})),s._register(d.g(t.domNode,"paste",function(e){if(s._lastTextAreaEvent=7,s._textArea.setIgnoreSelectionChangeTime("received paste event"),v.canUseTextData(e)){var t=v.getTextData(e);""!==t&&s._onPaste.fire({text:t})}else s._textArea.getSelectionStart()!==s._textArea.getSelectionEnd()&&s._setAndWriteTextAreaState("paste",p.b.EMPTY),s._nextCommand=1})),s._register(d.g(t.domNode,"focus",function(){s._lastTextAreaEvent=8,s._setHasFocus(!0)})),s._register(d.g(t.domNode,"blur",function(){s._lastTextAreaEvent=9,s._setHasFocus(!1)})),s}var v=(y.canUseTextData=function(e){return!!e.clipboardData||!!window.clipboardData},y.getTextData=function(e){if(e.clipboardData)return e.preventDefault(),e.clipboardData.getData("text/plain");if(window.clipboardData)return e.preventDefault(),window.clipboardData.getData("Text");throw new Error("ClipboardEventUtils.getTextData: Cannot use text data!")},y.setTextData=function(e,t,n){if(e.clipboardData)return e.clipboardData.setData("text/plain",t),null!==n&&e.clipboardData.setData("text/html",n),void e.preventDefault();if(window.clipboardData)return window.clipboardData.setData("Text",t),void e.preventDefault();throw new Error("ClipboardEventUtils.setTextData: Cannot use text data!")},y);function y(){}var C,A=(C=s.a,l(_,C),_.prototype.setIgnoreSelectionChangeTime=function(e){this._ignoreSelectionChangeTime=Date.now()},_.prototype.getIgnoreSelectionChangeTime=function(){return this._ignoreSelectionChangeTime},_.prototype.resetSelectionChangeTime=function(){this._ignoreSelectionChangeTime=0},_.prototype.getValue=function(){return this._actual.domNode.value},_.prototype.setValue=function(e,t){var n=this._actual.domNode;n.value!==t&&(this.setIgnoreSelectionChangeTime("setValue"),n.value=t)},_.prototype.getSelectionStart=function(){return this._actual.domNode.selectionStart},_.prototype.getSelectionEnd=function(){return this._actual.domNode.selectionEnd},_.prototype.setSelectionRange=function(e,t,n){var o=this._actual.domNode,i=document.activeElement===o,r=o.selectionStart,a=o.selectionEnd;if(i&&r===t&&a===n)f.i&&window.parent!==window&&o.focus();else{if(i)return this.setIgnoreSelectionChangeTime("setSelectionRange"),o.setSelectionRange(t,n),void(f.i&&window.parent!==window&&o.focus());try{var s=d.J(o);this.setIgnoreSelectionChangeTime("setSelectionRange"),o.focus(),o.setSelectionRange(t,n),d.H(o,s)}catch(e){}}},_);function _(e){var t=C.call(this)||this;return t._actual=e,t._ignoreSelectionChangeTime=0,t}},2389:function(e,t,n){var o=n(2390);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2390:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-editor .margin-view-overlays .line-numbers{position:absolute;text-align:right;display:inline-block;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers{cursor:-webkit-image-set(url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIyNSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAxNSAyNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTUgMjU7Ij48cG9seWdvbiBzdHlsZT0iZmlsbDojRkZGRkZGO3N0cm9rZTojMDAwMDAwIiBwb2ludHM9IjE0LjUsMS4yIDEuOSwxMy44IDcsMTMuOCAzLjIsMjEuNSA2LjMsMjIuNSAxMC4xLDE0LjkgMTQuNSwxOCIvPjwvc3ZnPg==") 1x,url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCAzMCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzAgNTA7Ij48cG9seWdvbiBzdHlsZT0iZmlsbDojRkZGRkZGO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyOyIgcG9pbnRzPSIyOSwyLjQgMy44LDI3LjYgMTQsMjcuNiA2LjQsNDMgMTIuNiw0NSAyMC4yLDI5LjggMjksMzYiLz48L3N2Zz4K") 2x) 30 0,default}.monaco-editor.mac .margin-view-overlays .line-numbers{cursor:-webkit-image-set(url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTMgMTkiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEzIDE5OyIgd2lkdGg9IjEzIiBoZWlnaHQ9IjE5Ij48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fTwvc3R5bGU+PHRpdGxlPmZsaXBwZWQtY3Vyc29yLW1hYzwvdGl0bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTUuMywxNi42bDEuNi00LjdIMi4xTDEyLjUsMS4ydjE0LjRMOS43LDEzbC0xLjYsNC42Yy0wLjIsMC41LTAuOCwwLjgtMS4zLDAuNkw2LDE3LjkgQzUuNCwxNy43LDUuMSwxNy4yLDUuMywxNi42eiIvPjwvc3ZnPgo=") 1x,url("data:image/svg+xml;base64,CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDI2IDM4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNiAzODsiIHdpZHRoPSIyNiIgaGVpZ2h0PSIzOCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uc3Qwe3N0cm9rZTojRkZGRkZGO3N0cm9rZS1taXRlcmxpbWl0OjEwO308L3N0eWxlPgk8dGl0bGU+ZmxpcHBlZC1jdXJzb3ItbWFjPC90aXRsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNiwzMy4ybDMuMi05LjRINC4yTDI1LDIuNHYyOC44TDE5LjQsMjZsLTMuMiw5LjJjLTAuNCwxLTEuNiwxLjYtMi42LDEuMkwxMiwzNS44IEMxMC44LDM1LjQsMTAuMiwzNC40LDEwLjYsMzMuMnoiLz48L3N2Zz4K") 2x) 24 3,default}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css"],names:[],mappings:"AAKA,mDACC,kBAAmB,AACnB,iBAAkB,AAClB,qBAAsB,AACtB,sBAAuB,AACvB,8BAA+B,AACvB,sBAAuB,AAC/B,eAAgB,AAChB,WAAa,CACb,AAED,6CACC,gBAAiB,AACjB,qBAAsB,AACtB,UAAY,CACZ,AAED,mDACC,4zBAGgB,CAChB,AAED,uDACC,oxCAGgB,CAChB,AAED,0DACC,cAAgB,CAChB",file:"lineNumbers.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n\tposition: absolute;\n\ttext-align: right;\n\tdisplay: inline-block;\n\tvertical-align: middle;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\tcursor: default;\n\theight: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n\ttext-align: left;\n\tdisplay: inline-block;\n\twidth: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers {\n\tcursor: -webkit-image-set(\n\t\turl("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNSIgaGVpZ2h0PSIyNSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCAxNSAyNSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTUgMjU7Ij48cG9seWdvbiBzdHlsZT0iZmlsbDojRkZGRkZGO3N0cm9rZTojMDAwMDAwIiBwb2ludHM9IjE0LjUsMS4yIDEuOSwxMy44IDcsMTMuOCAzLjIsMjEuNSA2LjMsMjIuNSAxMC4xLDE0LjkgMTQuNSwxOCIvPjwvc3ZnPg==") 1x,\n\t\turl("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzAiIGhlaWdodD0iNTAiIHZpZXdCb3g9IjAgMCAzMCA1MCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzAgNTA7Ij48cG9seWdvbiBzdHlsZT0iZmlsbDojRkZGRkZGO3N0cm9rZTojMDAwMDAwO3N0cm9rZS13aWR0aDoyOyIgcG9pbnRzPSIyOSwyLjQgMy44LDI3LjYgMTQsMjcuNiA2LjQsNDMgMTIuNiw0NSAyMC4yLDI5LjggMjksMzYiLz48L3N2Zz4K") 2x\n\t) 30 0, default;\n}\n\n.monaco-editor.mac .margin-view-overlays .line-numbers {\n\tcursor: -webkit-image-set(\n\t\turl("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgMTMgMTkiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEzIDE5OyIgd2lkdGg9IjEzIiBoZWlnaHQ9IjE5Ij48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7c3Ryb2tlOiNGRkZGRkY7c3Ryb2tlLW1pdGVybGltaXQ6MTA7fTwvc3R5bGU+PHRpdGxlPmZsaXBwZWQtY3Vyc29yLW1hYzwvdGl0bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTUuMywxNi42bDEuNi00LjdIMi4xTDEyLjUsMS4ydjE0LjRMOS43LDEzbC0xLjYsNC42Yy0wLjIsMC41LTAuOCwwLjgtMS4zLDAuNkw2LDE3LjkgQzUuNCwxNy43LDUuMSwxNy4yLDUuMywxNi42eiIvPjwvc3ZnPgo=") 1x,\n\t\turl("data:image/svg+xml;base64,CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDI2IDM4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyNiAzODsiIHdpZHRoPSIyNiIgaGVpZ2h0PSIzOCI+PHN0eWxlIHR5cGU9InRleHQvY3NzIj4uc3Qwe3N0cm9rZTojRkZGRkZGO3N0cm9rZS1taXRlcmxpbWl0OjEwO308L3N0eWxlPgk8dGl0bGU+ZmxpcHBlZC1jdXJzb3ItbWFjPC90aXRsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMTAuNiwzMy4ybDMuMi05LjRINC4yTDI1LDIuNHYyOC44TDE5LjQsMjZsLTMuMiw5LjJjLTAuNCwxLTEuNiwxLjYtMi42LDEuMkwxMiwzNS44IEMxMC44LDM1LjQsMTAuMiwzNC40LDEwLjYsMzMuMnoiLz48L3N2Zz4K") 2x\n\t) 24 3, default;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n\tmargin-top: 1px;\n}\n'],sourceRoot:""}])},2391:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(2392),i=n(1124),r=(a.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},a.prototype.paste=function(e,t,n,o){this.commandDelegate.paste(e,t,n,o)},a.prototype.type=function(e,t){this.commandDelegate.type(e,t)},a.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},a.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},a.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},a.prototype.cut=function(e){this.commandDelegate.cut(e)},a.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(o.a.SetSelection,{source:e,selection:t})},a.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column<t?new i.a(e.lineNumber,t):e},a.prototype._hasMulticursorModifier=function(e){switch(this.configuration.editor.multiCursorModifier){case"altKey":return e.altKey;case"ctrlKey":return e.ctrlKey;case"metaKey":return e.metaKey}return!1},a.prototype._hasNonMulticursorModifier=function(e){switch(this.configuration.editor.multiCursorModifier){case"altKey":return e.ctrlKey||e.metaKey;case"ctrlKey":return e.altKey||e.metaKey;case"metaKey":return e.ctrlKey||e.altKey}return!1},a.prototype.dispatchMouse=function(e){e.middleButton?e.inSelectionMode?this._columnSelect(e.position,e.mouseColumn):this.moveTo(e.position):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):4<=e.mouseDownCount?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):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn):this._moveToSelect(e.position):this.moveTo(e.position)},a.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},a.prototype.moveTo=function(e){this._execMouseCommand(o.a.MoveTo,this._usualArgs(e))},a.prototype._moveToSelect=function(e){this._execMouseCommand(o.a.MoveToSelect,this._usualArgs(e))},a.prototype._columnSelect=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(o.a.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t})},a.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(o.a.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},a.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(o.a.LastCursorMoveToSelect,this._usualArgs(e))},a.prototype._wordSelect=function(e){this._execMouseCommand(o.a.WordSelect,this._usualArgs(e))},a.prototype._wordSelectDrag=function(e){this._execMouseCommand(o.a.WordSelectDrag,this._usualArgs(e))},a.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(o.a.LastCursorWordSelect,this._usualArgs(e))},a.prototype._lineSelect=function(e){this._execMouseCommand(o.a.LineSelect,this._usualArgs(e))},a.prototype._lineSelectDrag=function(e){this._execMouseCommand(o.a.LineSelectDrag,this._usualArgs(e))},a.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(o.a.LastCursorLineSelect,this._usualArgs(e))},a.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(o.a.LastCursorLineSelectDrag,this._usualArgs(e))},a.prototype._selectAll=function(){this._execMouseCommand(o.a.SelectAll,{})},a.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},a.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},a.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},a.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},a.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},a.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},a.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},a.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},a.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},a.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},a);function a(e,t,n,o){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=o}},2392:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,Se,r,Le,a,s,l,u,c,d,h,p,f,g,m,b=n(1215),v=n(1255),De=n(1784),y=n(1424),ke=n(2393),Ne=n(1318),C=n(2082),Ie=n(2403),A=n(2085),Oe=n(1124),Ee=n(988),_=n(1492),Me=n(2086),w=n(1291),Be=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Te=(i=De.c,Be(x,i),x.prototype.runEditorCommand=function(e,t,n){var o=t._getCursors();o&&this.runCoreEditorCommand(o,n||{})},x);function x(){return null!==i&&i.apply(this,arguments)||this}function S(){return null!==c&&c.apply(this,arguments)||this}function L(){return d.call(this,{id:"lineBreakInsert",precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:0,mac:{primary:301}}})||this}function D(){return h.call(this,{id:"outdent",precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:w.b.and(Me.a.editorTextFocus,Me.a.tabDoesNotMoveFocus),primary:1026}})||this}function k(){return p.call(this,{id:"tab",precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:w.b.and(Me.a.editorTextFocus,Me.a.tabDoesNotMoveFocus),primary:2}})||this}function N(){return f.call(this,{id:"deleteLeft",precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}function I(){return g.call(this,{id:"deleteRight",precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}function O(e){e.register()}(r=Se=Se||{}).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:function(e){if(!v.h(e))return!1;var t=e;return!!v.i(t.to)&&(!(!v.j(t.by)&&!v.i(t.by))&&(!(!v.j(t.value)&&!v.g(t.value))&&!(!v.j(t.revealCursor)&&!v.d(t.revealCursor))))},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"}}}}]},r.RawDirection={Up:"up",Down:"down"},r.RawUnit={Line:"line",WrappedLine:"wrappedLine",Page:"page",HalfPage:"halfPage"},r.parse=function(e){var t,n;switch(e.to){case r.RawDirection.Up:t=1;break;case r.RawDirection.Down:t=2;break;default:return null}switch(e.by){case r.RawUnit.Line:n=1;break;case r.RawUnit.WrappedLine:n=2;break;case r.RawUnit.Page:n=3;break;case r.RawUnit.HalfPage:n=4;break;default:n=2}return{direction:t,unit:n,value:Math.floor(e.value||1),revealCursor:!!e.revealCursor,select:!!e.select}},(a=Le=Le||{}).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:function(e){if(!v.h(e))return!1;var t=e;return!!v.g(t.lineNumber)&&!(!v.j(t.at)&&!v.i(t.at))},schema:{type:"object",required:["lineNumber"],properties:{lineNumber:{type:"number"},at:{type:"string",enum:["top","center","bottom"]}}}}]},a.RawAtArgument={Top:"top",Center:"center",Bottom:"bottom"},function(o){var n,e=(Be(t,n=Te),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ie.b.moveTo(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(!0,0,0)},t);function t(e){var t=n.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}o.MoveTo=Object(De.f)(new e({id:"_moveTo",inSelectionMode:!1,precondition:null})),o.MoveToSelect=Object(De.f)(new e({id:"_moveToSelect",inSelectionMode:!0,precondition:null}));var i,r,a,s,l=(Be(u,i=Te),u.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 Ne.d.fromViewState(e)})),e.setColumnSelectData({toViewLineNumber:n.toLineNumber,toViewVisualColumn:n.toVisualColumn}),e.reveal(!0,n.reversed?1:2,0)},u);function u(){return null!==i&&i.apply(this,arguments)||this}function c(){return r.call(this,{id:"columnSelect",precondition:null})||this}function d(){return a.call(this,{id:"cursorColumnSelectLeft",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3599,linux:{primary:0}}})||this}function h(){return s.call(this,{id:"cursorColumnSelectRight",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3601,linux:{primary:0}}})||this}o.ColumnSelect=Object(De.f)((Be(c,r=l),c.prototype._getColumnSelectResult=function(e,t,n,o){var i,r=e.model.validatePosition(o.position);return i=o.viewPosition?e.validateViewPosition(new Oe.a(o.viewPosition.lineNumber,o.viewPosition.column),r):e.convertModelPositionToViewPosition(r),ke.a.columnSelect(e.config,e.viewModel,t.viewState.selection,i.lineNumber,o.mouseColumn-1)},new c)),o.CursorColumnSelectLeft=Object(De.f)((Be(d,a=l),d.prototype._getColumnSelectResult=function(e,t,n,o){return ke.a.columnSelectLeft(e.config,e.viewModel,t.viewState,n.toViewLineNumber,n.toViewVisualColumn)},new d)),o.CursorColumnSelectRight=Object(De.f)((Be(h,s=l),h.prototype._getColumnSelectResult=function(e,t,n,o){return ke.a.columnSelectRight(e.config,e.viewModel,t.viewState,n.toViewLineNumber,n.toViewVisualColumn)},new h));var p,f=(Be(g,p=l),g.prototype._getColumnSelectResult=function(e,t,n,o){return ke.a.columnSelectUp(e.config,e.viewModel,t.viewState,this._isPaged,n.toViewLineNumber,n.toViewVisualColumn)},g);function g(e){var t=p.call(this,e)||this;return t._isPaged=e.isPaged,t}o.CursorColumnSelectUp=Object(De.f)(new f({isPaged:!1,id:"cursorColumnSelectUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3600,linux:{primary:0}}})),o.CursorColumnSelectPageUp=Object(De.f)(new f({isPaged:!0,id:"cursorColumnSelectPageUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3595,linux:{primary:0}}}));var m,b=(Be(v,m=l),v.prototype._getColumnSelectResult=function(e,t,n,o){return ke.a.columnSelectDown(e.config,e.viewModel,t.viewState,this._isPaged,n.toViewLineNumber,n.toViewVisualColumn)},v);function v(e){var t=m.call(this,e)||this;return t._isPaged=e.isPaged,t}o.CursorColumnSelectDown=Object(De.f)(new b({isPaged:!1,id:"cursorColumnSelectDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3602,linux:{primary:0}}})),o.CursorColumnSelectPageDown=Object(De.f)(new b({isPaged:!0,id:"cursorColumnSelectPageDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3596,linux:{primary:0}}}));var y,C=(Be(A,y=Te),A.prototype.runCoreEditorCommand=function(e,t){var n=Ie.a.parse(t);n&&this._runCursorMove(e,t.source,n)},A.prototype._runCursorMove=function(e,t,n){e.context.model.pushStackElement(),e.setStates(t,3,Ie.b.move(e.context,e.getAll(),n)),e.reveal(!0,0,0)},A);function A(){return y.call(this,{id:"cursorMove",precondition:null,description:Ie.a.description})||this}o.CursorMoveImpl=C,o.CursorMove=Object(De.f)(new C);var _,w,x,S=(Be(L,_=Te),L.prototype.runCoreEditorCommand=function(e,t){var n=this._staticArgs;-1===this._staticArgs.value&&(n={direction:this._staticArgs.direction,unit:this._staticArgs.unit,select:this._staticArgs.select,value:e.context.config.pageSize}),o.CursorMove._runCursorMove(e,t.source,n)},L);function L(e){var t=_.call(this,e)||this;return t._staticArgs=e.args,t}function D(){return w.call(this,{id:"createCursor",precondition:null})||this}function k(){return x.call(this,{id:"_lastCursorMoveToSelect",precondition:null})||this}o.CursorLeft=Object(De.f)(new S({args:{direction:0,unit:0,select:!1,value:1},id:"cursorLeft",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:15,mac:{primary:15,secondary:[288]}}})),o.CursorLeftSelect=Object(De.f)(new S({args:{direction:0,unit:0,select:!0,value:1},id:"cursorLeftSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1039}})),o.CursorRight=Object(De.f)(new S({args:{direction:1,unit:0,select:!1,value:1},id:"cursorRight",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:17,mac:{primary:17,secondary:[292]}}})),o.CursorRightSelect=Object(De.f)(new S({args:{direction:1,unit:0,select:!0,value:1},id:"cursorRightSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1041}})),o.CursorUp=Object(De.f)(new S({args:{direction:2,unit:2,select:!1,value:1},id:"cursorUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:16,mac:{primary:16,secondary:[302]}}})),o.CursorUpSelect=Object(De.f)(new S({args:{direction:2,unit:2,select:!0,value:1},id:"cursorUpSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1040,secondary:[3088],mac:{primary:1040},linux:{primary:1040}}})),o.CursorPageUp=Object(De.f)(new S({args:{direction:2,unit:2,select:!1,value:-1},id:"cursorPageUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:11}})),o.CursorPageUpSelect=Object(De.f)(new S({args:{direction:2,unit:2,select:!0,value:-1},id:"cursorPageUpSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1035}})),o.CursorDown=Object(De.f)(new S({args:{direction:3,unit:2,select:!1,value:1},id:"cursorDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:18,mac:{primary:18,secondary:[300]}}})),o.CursorDownSelect=Object(De.f)(new S({args:{direction:3,unit:2,select:!0,value:1},id:"cursorDownSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1042,secondary:[3090],mac:{primary:1042},linux:{primary:1042}}})),o.CursorPageDown=Object(De.f)(new S({args:{direction:3,unit:2,select:!1,value:-1},id:"cursorPageDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:12}})),o.CursorPageDownSelect=Object(De.f)(new S({args:{direction:3,unit:2,select:!0,value:-1},id:"cursorPageDownSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1036}})),o.CreateCursor=Object(De.f)((Be(D,w=Te),D.prototype.runCoreEditorCommand=function(e,t){var n,o=e.context;n=t.wholeLine?Ie.b.line(o,e.getPrimaryCursor(),!1,t.position,t.viewPosition):Ie.b.moveTo(o,e.getPrimaryCursor(),!1,t.position,t.viewPosition);var i=e.getAll();if(1<i.length)for(var r=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((!r||u.modelState.selection.containsPosition(r))&&(!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)},new D)),o.LastCursorMoveToSelect=Object(De.f)((Be(k,x=Te),k.prototype.runCoreEditorCommand=function(e,t){var n=e.context,o=e.getLastAddedCursorIndex(),i=e.getAll(),r=i.slice(0);r[o]=Ie.b.moveTo(n,i[o],!0,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,r)},new k));var N,I,O=(Be(E,N=Te),E.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,Ie.b.moveToBeginningOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},E);function E(e){var t=N.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}function M(){return I.call(this,{id:"cursorLineStart",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:0,mac:{primary:287}}})||this}o.CursorHome=Object(De.f)(new O({inSelectionMode:!1,id:"cursorHome",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:14,mac:{primary:14,secondary:[2063]}}})),o.CursorHomeSelect=Object(De.f)(new O({inSelectionMode:!0,id:"cursorHomeSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1038,mac:{primary:1038,secondary:[3087]}}})),o.CursorLineStart=Object(De.f)((Be(M,I=Te),M.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(!0,0,0)},M.prototype._exec=function(e,t){for(var n=[],o=0,i=t.length;o<i;o++){var r=t[o],a=r.modelState.position.lineNumber;n[o]=Ne.d.fromModelState(r.modelState.move(!1,a,1,0))}return n},new M));var B,T,P=(Be(j,B=Te),j.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,Ie.b.moveToEndOfLine(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},j);function j(e){var t=B.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}function R(){return T.call(this,{id:"cursorLineEnd",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:0,mac:{primary:291}}})||this}o.CursorEnd=Object(De.f)(new P({inSelectionMode:!1,id:"cursorEnd",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:13,mac:{primary:13,secondary:[2065]}}})),o.CursorEndSelect=Object(De.f)(new P({inSelectionMode:!0,id:"cursorEndSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:1037,mac:{primary:1037,secondary:[3089]}}})),o.CursorLineEnd=Object(De.f)((Be(R,T=Te),R.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,this._exec(e.context,e.getAll())),e.reveal(!0,0,0)},R.prototype._exec=function(e,t){for(var n=[],o=0,i=t.length;o<i;o++){var r=t[o],a=r.modelState.position.lineNumber,s=e.model.getLineMaxColumn(a);n[o]=Ne.d.fromModelState(r.modelState.move(!1,a,s,0))}return n},new R));var W,z=(Be(F,W=Te),F.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,Ie.b.moveToBeginningOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},F);function F(e){var t=W.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}o.CursorTop=Object(De.f)(new z({inSelectionMode:!1,id:"cursorTop",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2062,mac:{primary:2064}}})),o.CursorTopSelect=Object(De.f)(new z({inSelectionMode:!0,id:"cursorTopSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3086,mac:{primary:3088}}}));var H,V=(Be(U,H=Te),U.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,Ie.b.moveToEndOfBuffer(e.context,e.getAll(),this._inSelectionMode)),e.reveal(!0,0,0)},U);function U(e){var t=H.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}o.CursorBottom=Object(De.f)(new V({inSelectionMode:!1,id:"cursorBottom",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2061,mac:{primary:2066}}})),o.CursorBottomSelect=Object(De.f)(new V({inSelectionMode:!0,id:"cursorBottomSelect",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:3085,mac:{primary:3090}}}));var Z,G,K,Y,q,J=(Be(X,Z=Te),X.prototype.runCoreEditorCommand=function(e,t){var n=Se.parse(t);n&&this._runEditorScroll(e,t.source,n)},X.prototype._runEditorScroll=function(e,t,n){var o=this._computeDesiredScrollTop(e.context,n);if(n.revealCursor){var i=e.context.getCompletelyVisibleViewRangeAtScrollTop(o);e.setStates(t,3,[Ie.b.findPositionInViewportIfOutside(e.context,e.getPrimaryCursor(),i,n.select)])}e.scrollTo(o)},X.prototype._computeDesiredScrollTop=function(e,t){if(1===t.unit){var n=e.getCompletelyVisibleModelRange(),o=void 0;o=1===t.direction?Math.max(1,n.startLineNumber-t.value):Math.min(e.model.getLineCount(),n.startLineNumber+t.value);var i=e.convertModelPositionToViewPosition(new Oe.a(o,1));return e.getVerticalOffsetForViewLine(i.lineNumber)}var r;r=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)*r;return e.getCurrentScrollTop()+a*e.config.lineHeight},X);function X(){return Z.call(this,{id:"editorScroll",precondition:null,description:Se.description})||this}function Q(){return G.call(this,{id:"scrollLineUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2064,mac:{primary:267}}})||this}function $(){return K.call(this,{id:"scrollPageUp",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}function ee(){return Y.call(this,{id:"scrollLineDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2066,mac:{primary:268}}})||this}function te(){return q.call(this,{id:"scrollPageDown",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}o.EditorScrollImpl=J,o.EditorScroll=Object(De.f)(new J),o.ScrollLineUp=Object(De.f)((Be(Q,G=Te),Q.prototype.runCoreEditorCommand=function(e,t){o.EditorScroll._runEditorScroll(e,t.source,{direction:1,unit:2,value:1,revealCursor:!1,select:!1})},new Q)),o.ScrollPageUp=Object(De.f)((Be($,K=Te),$.prototype.runCoreEditorCommand=function(e,t){o.EditorScroll._runEditorScroll(e,t.source,{direction:1,unit:3,value:1,revealCursor:!1,select:!1})},new $)),o.ScrollLineDown=Object(De.f)((Be(ee,Y=Te),ee.prototype.runCoreEditorCommand=function(e,t){o.EditorScroll._runEditorScroll(e,t.source,{direction:2,unit:2,value:1,revealCursor:!1,select:!1})},new ee)),o.ScrollPageDown=Object(De.f)((Be(te,q=Te),te.prototype.runCoreEditorCommand=function(e,t){o.EditorScroll._runEditorScroll(e,t.source,{direction:2,unit:3,value:1,revealCursor:!1,select:!1})},new te));var ne,oe,ie=(Be(re,ne=Te),re.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ie.b.word(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position)]),e.reveal(!0,0,0)},re);function re(e){var t=ne.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}function ae(){return oe.call(this,{id:"lastCursorWordSelect",precondition:null})||this}o.WordSelect=Object(De.f)(new ie({inSelectionMode:!1,id:"_wordSelect",precondition:null})),o.WordSelectDrag=Object(De.f)(new ie({inSelectionMode:!0,id:"_wordSelectDrag",precondition:null})),o.LastCursorWordSelect=Object(De.f)((Be(ae,oe=Te),ae.prototype.runCoreEditorCommand=function(e,t){var n=e.context,o=e.getLastAddedCursorIndex(),i=e.getAll(),r=i.slice(0),a=i[o];r[o]=Ie.b.word(n,a,a.modelState.hasSelection(),t.position),n.model.pushStackElement(),e.setStates(t.source,3,r)},new ae));var se,le=(Be(ue,se=Te),ue.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ie.b.line(e.context,e.getPrimaryCursor(),this._inSelectionMode,t.position,t.viewPosition)]),e.reveal(!1,0,0)},ue);function ue(e){var t=se.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}o.LineSelect=Object(De.f)(new le({inSelectionMode:!1,id:"_lineSelect",precondition:null})),o.LineSelectDrag=Object(De.f)(new le({inSelectionMode:!0,id:"_lineSelectDrag",precondition:null}));var ce,de,he,pe,fe,ge,me,be=(Be(ve,ce=Te),ve.prototype.runCoreEditorCommand=function(e,t){var n=e.getLastAddedCursorIndex(),o=e.getAll(),i=o.slice(0);i[n]=Ie.b.line(e.context,o[n],this._inSelectionMode,t.position,t.viewPosition),e.context.model.pushStackElement(),e.setStates(t.source,3,i)},ve);function ve(e){var t=ce.call(this,e)||this;return t._inSelectionMode=e.inSelectionMode,t}function ye(){return de.call(this,{id:"expandLineSelection",precondition:null,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2090}})||this}function Ce(){return he.call(this,{id:"cancelSelection",precondition:Me.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:9,secondary:[1033]}})||this}function Ae(){return pe.call(this,{id:"removeSecondaryCursors",precondition:Me.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:Me.a.textInputFocus,primary:9,secondary:[1033]}})||this}function _e(){return fe.call(this,{id:"revealLine",precondition:null,description:Le.description})||this}function we(){return ge.call(this,{id:"selectAll",precondition:null})||this}function xe(){return me.call(this,{id:"setSelection",precondition:null})||this}o.LastCursorLineSelect=Object(De.f)(new be({inSelectionMode:!1,id:"lastCursorLineSelect",precondition:null})),o.LastCursorLineSelectDrag=Object(De.f)(new be({inSelectionMode:!0,id:"lastCursorLineSelectDrag",precondition:null})),o.ExpandLineSelection=Object(De.f)((Be(ye,de=Te),ye.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,Ie.b.expandLineSelection(e.context,e.getAll())),e.reveal(!0,0,0)},new ye)),o.CancelSelection=Object(De.f)((Be(Ce,he=Te),Ce.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ie.b.cancelSelection(e.context,e.getPrimaryCursor())]),e.reveal(!0,0,0)},new Ce)),o.RemoveSecondaryCursors=Object(De.f)((Be(Ae,pe=Te),Ae.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[e.getPrimaryCursor()]),e.reveal(!0,0,0)},new Ae)),o.RevealLine=Object(De.f)((Be(_e,fe=Te),_e.prototype.runCoreEditorCommand=function(e,t){var n=t,o=(n.lineNumber||0)+1;o<1&&(o=1);var i=e.context.model.getLineCount();i<o&&(o=i);var r=new Ee.a(o,1,o,e.context.model.getLineMaxColumn(o)),a=0;if(n.at)switch(n.at){case Le.RawAtArgument.Top:a=3;break;case Le.RawAtArgument.Center:a=1;break;case Le.RawAtArgument.Bottom:a=4}var s=e.context.convertModelRangeToViewRange(r);e.revealRange(!1,s,a,0)},new _e)),o.SelectAll=Object(De.f)((Be(we,ge=Te),we.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ie.b.selectAll(e.context,e.getPrimaryCursor())])},new we)),o.SetSelection=Object(De.f)((Be(xe,me=Te),xe.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[Ne.d.fromModelSelection(t.selection)])},new xe))}(s=s||{}),u=l=l||{},c=De.c,Be(S,c),S.prototype.runEditorCommand=function(e,t,n){var o=t._getCursors();o&&this.runCoreEditingCommand(t,o,n||{})},m=S,u.CoreEditingCommand=m,u.LineBreakInsert=Object(De.f)((Be(L,d=m),L.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,A.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})))},new L)),u.Outdent=Object(De.f)((Be(D,h=m),D.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,A.a.outdent(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection}))),e.pushUndoStop()},new D)),u.Tab=Object(De.f)((Be(k,p=m),k.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,A.a.tab(t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection}))),e.pushUndoStop()},new k)),u.DeleteLeft=Object(De.f)((Be(N,f=m),N.prototype.runCoreEditingCommand=function(e,t,n){var o=C.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})),i=o[0],r=o[1];i&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},new N)),u.DeleteRight=Object(De.f)((Be(I,g=m),I.prototype.runCoreEditingCommand=function(e,t,n){var o=C.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map(function(e){return e.modelState.selection})),i=o[0],r=o[1];i&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},new I));var E,M=(E=De.a,Be(B,E),B.prototype.runCommand=function(e,t){var n=e.get(y.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var o=document.activeElement;if(!(o&&0<=["input","textarea"].indexOf(o.tagName.toLowerCase()))){var i=e.get(y.a).getActiveCodeEditor();return i?(i.focus(),this._runEditorHandler(e,i,t)):void 0}document.execCommand(this._inputHandler)},B.prototype._runEditorHandler=function(e,t,n){var o=this._editorHandler;"string"==typeof o?t.trigger("keyboard",o,n):((n=n||{}).source="keyboard",o.runEditorCommand(e,t,n))},B);function B(e){var t=E.call(this,e)||this;return t._editorHandler=e.editorHandler,t._inputHandler=e.inputHandler,t}var T,P=(T=De.a,Be(j,T),j.prototype.runCommand=function(e,t){var n=e.get(y.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},j);function j(e,t,n){var o=T.call(this,{id:e,precondition:null,description:n})||this;return o._handlerId=t,o}function R(e,t){O(new P("default:"+e,e)),O(new P(e,e,t))}O(new M({editorHandler:s.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:Me.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menubarOpts:{menuId:22,group:"1_basic",title:b.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),O(new M({editorHandler:_.b.Undo,inputHandler:"undo",id:_.b.Undo,precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2104},menubarOpts:{menuId:14,group:"1_do",title:b.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),O(new P("default:"+_.b.Undo,_.b.Undo)),O(new M({editorHandler:_.b.Redo,inputHandler:"redo",id:_.b.Redo,precondition:Me.a.writable,kbOpts:{weight:0,kbExpr:Me.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menubarOpts:{menuId:14,group:"1_do",title:b.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),O(new P("default:"+_.b.Redo,_.b.Redo)),R(_.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),R(_.b.ReplacePreviousChar),R(_.b.CompositionStart),R(_.b.CompositionEnd),R(_.b.Paste),R(_.b.Cut)},2393:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var b=n(1318),v=n(1124),y=n(988),o=(s._columnSelect=function(e,t,n,o,i,r){for(var a=Math.abs(i-n)+1,s=i<n,l=r<o,u=o<r,c=[],d=0;d<a;d++){var h=n+(s?-d:d),p=b.a.columnFromVisibleColumn2(e,t,h,o),f=b.a.columnFromVisibleColumn2(e,t,h,r),g=b.a.visibleColumnFromColumn2(e,t,new v.a(h,p)),m=b.a.visibleColumnFromColumn2(e,t,new v.a(h,f));if(u){if(r<g)continue;if(m<o)continue}if(l){if(o<m)continue;if(g<r)continue}c.push(new b.f(new y.a(h,p,h,p),0,new v.a(h,f),0))}return{viewStates:c,reversed:s,toLineNumber:i,toVisualColumn:r}},s.columnSelect=function(e,t,n,o,i){var r=new v.a(n.selectionStartLineNumber,n.selectionStartColumn),a=b.a.visibleColumnFromColumn2(e,t,r);return s._columnSelect(e,t,r.lineNumber,a,o,i)},s.columnSelectLeft=function(e,t,n,o,i){return 1<i&&i--,this.columnSelect(e,t,n.selection,o,i)},s.columnSelectRight=function(e,t,n,o,i){for(var r=0,a=Math.min(n.position.lineNumber,o),s=Math.max(n.position.lineNumber,o),l=a;l<=s;l++){var u=t.getLineMaxColumn(l),c=b.a.visibleColumnFromColumn2(e,t,new v.a(l,u));r=Math.max(r,c)}return i<r&&i++,this.columnSelect(e,t,n.selection,o,i)},s.columnSelectUp=function(e,t,n,o,i,r){return(i-=o?e.pageSize:1)<1&&(i=1),this.columnSelect(e,t,n.selection,i,r)},s.columnSelectDown=function(e,t,n,o,i,r){return(i+=o?e.pageSize:1)>t.getLineCount()&&(i=t.getLineCount()),this.columnSelect(e,t,n.selection,i,r)},s);function s(){}},2394:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1134),i=o.b.performance&&"function"==typeof o.b.performance.now,r=(a.create=function(e){return void 0===e&&(e=!0),new a(e)},a.prototype.stop=function(){this._stopTime=this._now()},a.prototype.elapsed=function(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime},a.prototype._now=function(){return this._highResolution?o.b.performance.now():(new Date).getTime()},a);function a(e){this._highResolution=i&&e,this._startTime=this._now(),this._stopTime=-1}},2395:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o=n(1222),r=(i.prototype.undo=function(e){for(var t=this.editOperations.length-1;0<=t;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},i.prototype.redo=function(e){for(var t=0;t<this.editOperations.length;t++)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},i);function i(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}function a(e){return"\n"===e.getEOL()?0:1}var s=(l.prototype.undo=function(e){var t=a(e);e.setEOL(this.eol),this.eol=t},l.prototype.redo=function(e){var t=a(e);e.setEOL(this.eol),this.eol=t},l);function l(e,t){this.beforeVersionId=e,this.beforeCursorState=null,this.afterCursorState=null,this.afterVersionId=-1,this.eol=t}var u=(c.prototype.pushStackElement=function(){null!==this.currentOpenStackElement&&(this.past.push(this.currentOpenStackElement),this.currentOpenStackElement=null)},c.prototype.clear=function(){this.currentOpenStackElement=null,this.past=[],this.future=[]},c.prototype.pushEOL=function(e){this.future=[],this.currentOpenStackElement&&this.pushStackElement();var t=a(this.model),n=new s(this.model.getAlternativeVersionId(),t);this.model.setEOL(e),n.afterVersionId=this.model.getVersionId(),this.currentOpenStackElement=n,this.pushStackElement()},c.prototype.pushEditOperation=function(e,t,n){this.future=[];var o=null;this.currentOpenStackElement&&(this.currentOpenStackElement instanceof r?o=this.currentOpenStackElement:this.pushStackElement()),this.currentOpenStackElement||(o=new r(this.model.getAlternativeVersionId(),e),this.currentOpenStackElement=o);var i={operations:this.model.applyEdits(t)};return o.editOperations.push(i),o.afterCursorState=c._computeCursorState(n,i.operations),o.afterVersionId=this.model.getVersionId(),o.afterCursorState},c._computeCursorState=function(e,t){try{return e?e(t):null}catch(e){return Object(o.e)(e),null}},c.prototype.undo=function(){if(this.pushStackElement(),0<this.past.length){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(o.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},c.prototype.canUndo=function(){return 0<this.past.length||null!==this.currentOpenStackElement},c.prototype.redo=function(){if(0<this.future.length){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(o.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},c.prototype.canRedo=function(){return 0<this.future.length},c);function c(e){this.model=e,this.currentOpenStackElement=null,this.past=[],this.future=[]}},2396:function(e,t,n){"use strict";t.a=function(e,t,n){for(var o=Math.min(e.getLineCount(),1e4),i=0,r=0,a="",s=0,l=[0,0,0,0,0,0,0,0,0],u=new S,c=1;c<=o;c++){for(var d=e.getLineLength(c),h=e.getLineContent(c),p=d<=65536,f=!1,g=0,m=0,b=0,v=0,y=d;v<y;v++){var C=p?h.charCodeAt(v):e.getLineCharCode(c,v);if(9===C)b++;else{if(32!==C){f=!0,g=v;break}m++}}if(f&&(0<b?i++:1<m&&r++,L(a,s,h,g,u),!u.looksLikeAlignment)){var A=u.spacesDiff;A<=8&&l[A]++,a=h,s=g}}var _=n;i!==r&&(_=i<r);var w=t,x=_?0:.1*o;[2,4,6,8,3,5,7].forEach(function(e){var t=l[e];x<t&&(x=t,w=e)}),4===w&&0<l[4]&&0<l[2]&&l[2]>=l[4]/2&&(w=2);return{insertSpaces:_,tabSize:w}};var S=function(){};function L(e,t,n,o,i){var r;for(i.spacesDiff=0,i.looksLikeAlignment=!1,r=0;r<t&&r<o;r++){if(e.charCodeAt(r)!==n.charCodeAt(r))break}for(var a=0,s=0,l=r;l<t;l++){32===e.charCodeAt(l)?a++:s++}var u=0,c=0;for(l=r;l<o;l++){32===n.charCodeAt(l)?u++:c++}if(!(0<a&&0<s||0<u&&0<c)){var d=Math.abs(s-c),h=Math.abs(a-u);0!==d?h%d!=0||(i.spacesDiff=h/d):0<(i.spacesDiff=h)&&0<=u-1&&u-1<e.length&&u<n.length&&32!==n.charCodeAt(u)&&32===e.charCodeAt(u-1)&&(i.looksLikeAlignment=!0)}}},2397:function(e,t,n){"use strict";function a(e){return(1&e.metadata)>>>0}function s(e,t){e.metadata=254&e.metadata|t<<0}function p(e){return(2&e.metadata)>>>1==1}function f(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function g(e){return(4&e.metadata)>>>2==1}function o(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function i(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function r(e,t){e.metadata=207&e.metadata|t<<4}function l(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}t.c=function(e){return(8&e.metadata)>>>3==1},n.d(t,"a",function(){return u}),n.d(t,"b",function(){return d}),t.d=S;var u=(c.prototype.reset=function(e,t,n,o){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=o},c.prototype.setOptions=function(e){this.options=e;var t=this.options.className;o(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),r(this,this.options.stickiness),i(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),l(this,this.options.collapseOnReplaceEdit)},c.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},c.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},c);function c(e,t,n){this.metadata=0,s(((this.parent=this).left=this).right=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),r(this,1),i(this,!1),l(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,f(this,!1)}var m=new u(null,0,0);s(((m.parent=m).left=m).right=m,0);var d=(h.prototype.intervalSearch=function(e,t,n,o,i){return this.root===m?[]:function(e,t,n,o,i,r){for(var a=e.root,s=0,l=0,u=0,c=[],d=0;a!==m;)if(p(a))f(a.left,!1),f(a.right,!1),a===a.parent.right&&(s-=a.parent.delta),a=a.parent;else{if(!p(a.left)){if(s+a.maxEnd<t){f(a,!0);continue}if(a.left!==m){a=a.left;continue}}if(l=s+a.start,n<l)f(a,!0);else{if(u=s+a.end,t<=u){a.setCachedOffsets(l,u,r);var h=!0;o&&a.ownerId&&a.ownerId!==o&&(h=!1),i&&g(a)&&(h=!1),h&&(c[d++]=a)}f(a,!0),a.right===m||p(a.right)||(s+=a.delta,a=a.right)}}return f(e.root,!1),c}(this,e,t,n,o,i)},h.prototype.search=function(e,t,n){return this.root===m?[]:function(e,t,n,o){for(var i=e.root,r=0,a=0,s=0,l=[],u=0;i!==m;)if(p(i))f(i.left,!1),f(i.right,!1),i===i.parent.right&&(r-=i.parent.delta),i=i.parent;else if(i.left===m||p(i.left)){a=r+i.start,s=r+i.end,i.setCachedOffsets(a,s,o);var c=!0;t&&i.ownerId&&i.ownerId!==t&&(c=!1),n&&g(i)&&(c=!1),c&&(l[u++]=i),f(i,!0),i.right===m||p(i.right)||(r+=i.delta,i=i.right)}else i=i.left;return f(e.root,!1),l}(this,e,t,n)},h.prototype.collectNodesFromOwner=function(e){return function(e,t){for(var n=e.root,o=[],i=0;n!==m;)p(n)?(f(n.left,!1),f(n.right,!1),n=n.parent):n.left===m||p(n.left)?(n.ownerId===t&&(o[i++]=n),f(n,!0),n.right===m||p(n.right)||(n=n.right)):n=n.left;return f(e.root,!1),o}(this,e)},h.prototype.collectNodesPostOrder=function(){return function(e){for(var t=e.root,n=[],o=0;t!==m;)p(t)?(f(t.left,!1),f(t.right,!1),t=t.parent):t.left===m||p(t.left)?t.right===m||p(t.right)?f(n[o++]=t,!0):t=t.right:t=t.left;return f(e.root,!1),n}(this)},h.prototype.insert=function(e){y(this,e),this._normalizeDeltaIfNecessary()},h.prototype.delete=function(e){C(this,e),this._normalizeDeltaIfNecessary()},h.prototype.resolveNode=function(e,t){for(var n=e,o=0;e!==this.root;)e===e.parent.right&&(o+=e.parent.delta),e=e.parent;var i=n.start+o,r=n.end+o;n.setCachedOffsets(i,r,t)},h.prototype.acceptReplace=function(e,t,n,o){for(var i=function(e,t,n){for(var o=e.root,i=0,r=0,a=0,s=[],l=0;o!==m;)if(p(o))f(o.left,!1),f(o.right,!1),o===o.parent.right&&(i-=o.parent.delta),o=o.parent;else{if(!p(o.left)){if(i+o.maxEnd<t){f(o,!0);continue}if(o.left!==m){o=o.left;continue}}r=i+o.start,n<r?f(o,!0):(a=i+o.end,t<=a&&(o.setCachedOffsets(r,a,0),s[l++]=o),f(o,!0),o.right===m||p(o.right)||(i+=o.delta,o=o.right))}return f(e.root,!1),s}(this,e,e+t),r=0,a=i.length;r<a;r++)C(this,s=i[r]);for(this._normalizeDeltaIfNecessary(),function(e,t,n,o){for(var i=e.root,r=0,a=0,s=o-(n-t);i!==m;)if(p(i))f(i.left,!1),f(i.right,!1),i===i.parent.right&&(r-=i.parent.delta),S(i),i=i.parent;else{if(!p(i.left)){if(r+i.maxEnd<t){f(i,!0);continue}if(i.left!==m){i=i.left;continue}}a=r+i.start,n<a?(i.start+=s,i.end+=s,i.delta+=s,(i.delta<-1073741824||1073741824<i.delta)&&(e.requestNormalizeDelta=!0),f(i,!0)):(f(i,!0),i.right===m||p(i.right)||(r+=i.delta,i=i.right))}f(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary(),r=0,a=i.length;r<a;r++){var s;(s=i[r]).start=s.cachedAbsoluteStart,s.end=s.cachedAbsoluteEnd,v(s,e,e+t,n,o),s.maxEnd=s.end,y(this,s)}this._normalizeDeltaIfNecessary()},h.prototype._normalizeDeltaIfNecessary=function(){this.requestNormalizeDelta&&(this.requestNormalizeDelta=!1,function(e){for(var t=e.root,n=0;t!==m;)t=t.left===m||p(t.left)?t.right===m||p(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,S(t),f(t,!0),f(t.left,!1),f(t.right,!1),t===t.parent.right&&(n-=t.parent.delta),t.parent):(n+=t.delta,t.right):t.left;f(e.root,!1)}(this))},h);function h(){this.root=m,this.requestNormalizeDelta=!1}function b(e,t,n,o){return e<n||!(n<e)&&(1!==o&&(2===o||t))}function v(e,t,n,o,i){var r=(48&e.metadata)>>>4,a=0==r||2==r,s=1==r||2==r,l=n-t,u=o,c=Math.min(l,u),d=e.start,h=!1,p=e.end,f=!1;t<=d&&p<=n&&(64&e.metadata)>>>6==1&&(e.start=t,h=!0,e.end=t,f=!0);var g=i?1:0<l?2:0;if(!h&&b(d,a,t,g)&&(h=!0),!f&&b(p,s,t,g)&&(f=!0),0<c&&!i){g=u<l?2:0;!h&&b(d,a,t+c,g)&&(h=!0),!f&&b(p,s,t+c,g)&&(f=!0)}g=i?1:0;!h&&b(d,a,n,g)&&(e.start=t+u,h=!0),!f&&b(p,s,n,g)&&(e.end=t+u,f=!0);var m=u-l;h||(e.start=Math.max(0,d+m)),f||(e.end=Math.max(0,p+m)),e.start>e.end&&(e.end=e.start)}function y(e,t){if(e.root===m)return t.parent=m,t.left=m,t.right=m,s(t,0),e.root=t,e.root;!function(e,t){var n=0,o=e.root,i=t.start,r=t.end;for(;;){if(D(i,r,o.start+n,o.end+n)<0){if(o.left===m){t.start-=n,t.end-=n,t.maxEnd-=n,o.left=t;break}o=o.left}else{if(o.right===m){t.start-=n+o.delta,t.end-=n+o.delta,t.maxEnd-=n+o.delta,o.right=t;break}n+=o.delta,o=o.right}}t.parent=o,t.left=m,t.right=m,s(t,1)}(e,t),L(t.parent);for(var n=t;n!==e.root&&1===a(n.parent);){var o;if(n.parent===n.parent.parent.left)1===a(o=n.parent.parent.right)?(s(n.parent,0),s(o,0),s(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&_(e,n=n.parent),s(n.parent,0),s(n.parent.parent,1),w(e,n.parent.parent));else 1===a(o=n.parent.parent.left)?(s(n.parent,0),s(o,0),s(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&w(e,n=n.parent),s(n.parent,0),s(n.parent.parent,1),_(e,n.parent.parent))}return s(e.root,0),t}function C(e,t){var n,o;if(t.left===m?((n=(o=t).right).delta+=t.delta,(n.delta<-1073741824||1073741824<n.delta)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===m?(n=t.left,o=t):((n=(o=function(e){for(;e.left!==m;)e=e.left;return e}(t.right)).right).start+=o.delta,n.end+=o.delta,n.delta+=o.delta,(n.delta<-1073741824||1073741824<n.delta)&&(e.requestNormalizeDelta=!0),o.start+=t.delta,o.end+=t.delta,o.delta=t.delta,(o.delta<-1073741824||1073741824<o.delta)&&(e.requestNormalizeDelta=!0)),o===e.root)return s(e.root=n,0),t.detach(),A(),S(n),void(e.root.parent=m);var i,r=1===a(o);if(o===o.parent.left?o.parent.left=n:o.parent.right=n,o===t?n.parent=o.parent:(o.parent===t?n.parent=o:n.parent=o.parent,o.left=t.left,o.right=t.right,o.parent=t.parent,s(o,a(t)),t===e.root?e.root=o:t===t.parent.left?t.parent.left=o:t.parent.right=o,o.left!==m&&(o.left.parent=o),o.right!==m&&(o.right.parent=o)),t.detach(),r)return L(n.parent),o!==t&&(L(o),L(o.parent)),void A();for(L(n),L(n.parent),o!==t&&(L(o),L(o.parent));n!==e.root&&0===a(n);)n=n===n.parent.left?(1===a(i=n.parent.right)&&(s(i,0),s(n.parent,1),_(e,n.parent),i=n.parent.right),0===a(i.left)&&0===a(i.right)?(s(i,1),n.parent):(0===a(i.right)&&(s(i.left,0),s(i,1),w(e,i),i=n.parent.right),s(i,a(n.parent)),s(n.parent,0),s(i.right,0),_(e,n.parent),e.root)):(1===a(i=n.parent.left)&&(s(i,0),s(n.parent,1),w(e,n.parent),i=n.parent.left),0===a(i.left)&&0===a(i.right)?(s(i,1),n.parent):(0===a(i.left)&&(s(i.right,0),s(i,1),_(e,i),i=n.parent.left),s(i,a(n.parent)),s(n.parent,0),s(i.left,0),w(e,n.parent),e.root));s(n,0),A()}function A(){(m.parent=m).delta=0,m.start=0,m.end=0}function _(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||1073741824<n.delta)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==m&&(n.left.parent=t),n.parent=t.parent,t.parent===m?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,(n.left=t).parent=n,S(t),S(n)}function w(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||1073741824<t.delta)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==m&&(n.right.parent=t),n.parent=t.parent,t.parent===m?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,(n.right=t).parent=n,S(t),S(n)}function x(e){var t=e.end;if(e.left!==m){var n=e.left.maxEnd;t<n&&(t=n)}if(e.right!==m){var o=e.right.maxEnd+e.delta;t<o&&(t=o)}return t}function S(e){e.maxEnd=x(e)}function L(e){for(;e!==m;){var t=x(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function D(e,t,n,o){return e===n?t-o:e-n}},2398:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(989),s=n(2080),l=n(2400),i=(r.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":t/2<n?"\r\n":"\n"},r.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(0<this._cr||0<this._lf)||"\n"===t&&(0<this._cr||0<this._crlf)))for(var o=0,i=n.length;o<i;o++){var r=n[o].buffer.replace(/\r\n|\r|\n/g,t),a=Object(s.d)(r);n[o]=new s.b(r,a)}return new l.a(n,this._bom,t,this._containsRTL,this._isBasicASCII,this._normalizeEOL)},r);function r(e,t,n,o,i,r,a,s){this._chunks=e,this._bom=t,this._cr=n,this._lf=o,this._crlf=i,this._containsRTL=r,this._isBasicASCII=a,this._normalizeEOL=s}var a=(u.prototype.acceptChunk=function(e){if(0!==e.length){0===this.chunks.length&&o.D(e)&&(this.BOM=o.a,e=e.substr(1));var t=e.charCodeAt(e.length-1);13===t||55296<=t&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1),this._previousChar=t}},u.prototype._acceptChunk1=function(e,t){!t&&0===e.length||(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},u.prototype._acceptChunk2=function(e){var t=Object(s.c)(this._tmpLineStarts,e);this.chunks.push(new s.b(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=o.f(e))},u.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new i(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},u.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=Object(s.d)(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},u);function u(){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}},2399:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return c}),t.d=d,t.f=r,t.e=function(e,t){var n,o;n=t.left===c?(o=t).right:t.right===c?(o=t).left:(o=d(t.right),o.right);if(o===e.root)return(e.root=n).color=0,t.detach(),f(),void(e.root.parent=c);var i,r=1===o.color;o===o.parent.left?o.parent.left=n:o.parent.right=n;o===t?(n.parent=o.parent,v(e,n)):(o.parent===t?n.parent=o:n.parent=o.parent,v(e,n),o.left=t.left,o.right=t.right,o.parent=t.parent,o.color=t.color,t===e.root?e.root=o:t===t.parent.left?t.parent.left=o:t.parent.right=o,o.left!==c&&(o.left.parent=o),o.right!==c&&(o.right.parent=o),o.size_left=t.size_left,o.lf_left=t.lf_left,v(e,o));if(t.detach(),n.parent.left===n){var a=h(n),s=p(n);if(a!==n.parent.size_left||s!==n.parent.lf_left){var l=a-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=a,n.parent.lf_left=s,b(e,n.parent,l,u)}}if(v(e,n.parent),r)return void f();for(;n!==e.root&&0===n.color;)n=n===n.parent.left?(1===(i=n.parent.right).color&&(i.color=0,n.parent.color=1,g(e,n.parent),i=n.parent.right),0===i.left.color&&0===i.right.color?(i.color=1,n.parent):(0===i.right.color&&(i.left.color=0,i.color=1,m(e,i),i=n.parent.right),i.color=n.parent.color,n.parent.color=0,i.right.color=0,g(e,n.parent),e.root)):(1===(i=n.parent.left).color&&(i.color=0,n.parent.color=1,m(e,n.parent),i=n.parent.left),0===i.left.color&&0===i.right.color?(i.color=1,n.parent):(0===i.left.color&&(i.right.color=0,i.color=1,g(e,i),i=n.parent.left),i.color=n.parent.color,n.parent.color=0,i.left.color=0,m(e,n.parent),e.root));n.color=0,f()},t.c=function(e,t){v(e,t);for(;t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&(t=t.parent,g(e,t)),t.parent.color=0,t.parent.parent.color=1,m(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&(t=t.parent,m(e,t)),t.parent.color=0,t.parent.parent.color=1,g(e,t.parent.parent))}e.root.color=0},t.g=b;var o=(i.prototype.next=function(){if(this.right!==c)return d(this.right);for(var e=this;e.parent!==c&&e.parent.left!==e;)e=e.parent;return e.parent===c?c:e.parent},i.prototype.prev=function(){if(this.left!==c)return r(this.left);for(var e=this;e.parent!==c&&e.parent.right!==e;)e=e.parent;return e.parent===c?c:e.parent},i.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},i);function i(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,((this.parent=this).left=this).right=this}var c=new o(null,0);function d(e){for(;e.left!==c;)e=e.left;return e}function r(e){for(;e.right!==c;)e=e.right;return e}function h(e){return e===c?0:e.size_left+e.piece.length+h(e.right)}function p(e){return e===c?0:e.lf_left+e.piece.lineFeedCnt+p(e.right)}function f(){c.parent=c}function g(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!==c&&(n.left.parent=t),n.parent=t.parent,t.parent===c?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,(n.left=t).parent=n}function m(e,t){var n=t.left;t.left=n.right,n.right!==c&&(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===c?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,(n.right=t).parent=n}function b(e,t,n,o){for(;t!==e.root&&t!==c;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=o),t=t.parent}function v(e,t){var n=0,o=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=h((t=t.parent).left)-t.size_left,o=p(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=o}for(;t!==e.root&&(0!==n||0!==o);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=o),t=t.parent}}(((c.parent=c).left=c).right=c).color=0},2400:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var x=n(989),g=n(988),S=n(1493),a=n(2080),o=(L.prototype.mightContainRTL=function(){return this._mightContainRTL},L.prototype.mightContainNonBasicASCII=function(){return this._mightContainNonBasicASCII},L.prototype.getBOM=function(){return this._BOM},L.prototype.getEOL=function(){return this._pieceTree.getEOL()},L.prototype.getOffsetAt=function(e,t){return this._pieceTree.getOffsetAt(e,t)},L.prototype.getPositionAt=function(e){return this._pieceTree.getPositionAt(e)},L.prototype.getRangeAt=function(e,t){var n=e+t,o=this.getPositionAt(e),i=this.getPositionAt(n);return new g.a(o.lineNumber,o.column,i.lineNumber,i.column)},L.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)},L.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);return this.getOffsetAt(e.endLineNumber,e.endColumn)-n},L.prototype.getLength=function(){return this._pieceTree.getLength()},L.prototype.getLineCount=function(){return this._pieceTree.getLineCount()},L.prototype.getLinesContent=function(){return this._pieceTree.getLinesContent()},L.prototype.getLineContent=function(e){return this._pieceTree.getLineContent(e)},L.prototype.getLineCharCode=function(e,t){return this._pieceTree.getLineCharCode(e,t)},L.prototype.getLineLength=function(e){return this._pieceTree.getLineLength(e)},L.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=x.n(this.getLineContent(e));return-1===t?0:t+1},L.prototype.getLineLastNonWhitespaceColumn=function(e){var t=x.x(this.getLineContent(e));return-1===t?0:t+2},L.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")},L.prototype.setEOL=function(e){this._pieceTree.setEOL(e)},L.prototype.applyEdits=function(e,t){for(var n=this._mightContainRTL,o=this._mightContainNonBasicASCII,i=!0,r=[],a=0;a<e.length;a++){var s=e[a];i&&s._isTracked&&(i=!1);var l=s.range;!n&&s.text&&(n=x.f(s.text)),!o&&s.text&&(o=!x.q(s.text)),r[a]={sortIndex:a,identifier:s.identifier||null,range:l,rangeOffset:this.getOffsetAt(l.startLineNumber,l.startColumn),rangeLength:this.getValueLengthInRange(l),lines:s.text?s.text.split(/\r\n|\r|\n/):null,forceMoveMarkers:Boolean(s.forceMoveMarkers),isAutoWhitespaceEdit:s.isAutoWhitespaceEdit||!1}}r.sort(L._sortOpsAscending);for(var u=!1,c=(a=0,r.length-1);a<c;a++){var d=r[a].range.getEndPosition(),h=r[a+1].range.getStartPosition();if(h.isBeforeOrEqual(d)){if(h.isBefore(d))throw new Error("Overlapping ranges are not allowed!");u=!0}}i&&(r=this._reduceOperations(r));var p=L._getInverseEditRanges(r),f=[];for(a=0;a<r.length;a++){s=r[a];var g=p[a];if(t&&s.isAutoWhitespaceEdit&&s.range.isEmpty())for(var m=g.startLineNumber;m<=g.endLineNumber;m++){var b="";m===g.startLineNumber&&(b=this.getLineContent(s.range.startLineNumber),-1!==x.n(b))||f.push({lineNumber:m,oldContent:b})}}var v=[];for(a=0;a<r.length;a++)s=r[a],g=p[a],v[a]={sortIndex:s.sortIndex,identifier:s.identifier,range:g,text:this.getValueInRange(s.range),forceMoveMarkers:s.forceMoveMarkers};u||v.sort(function(e,t){return e.sortIndex-t.sortIndex}),this._mightContainRTL=n,this._mightContainNonBasicASCII=o;var y=this._doApplyEdits(r),C=null;if(t&&0<f.length){f.sort(function(e,t){return t.lineNumber-e.lineNumber}),C=[],a=0;for(var A=f.length;a<A;a++)if(m=f[a].lineNumber,!(0<a&&f[a-1].lineNumber===m)){var _=f[a].oldContent,w=this.getLineContent(m);0!==w.length&&w!==_&&-1===x.n(w)&&C.push(m)}}return new S.a(v,y,C)},L.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},L.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,o=e[e.length-1].range,i=new g.a(n.startLineNumber,n.startColumn,o.endLineNumber,o.endColumn),r=n.startLineNumber,a=n.startColumn,s=[],l=0,u=e.length;l<u;l++){var c=e[l],d=c.range;t=t||c.forceMoveMarkers;for(var h=r;h<d.startLineNumber;h++)h===r?s.push(this.getLineContent(h).substring(a-1)):(s.push("\n"),s.push(this.getLineContent(h)));if(d.startLineNumber===r?s.push(this.getLineContent(d.startLineNumber).substring(a-1,d.startColumn-1)):(s.push("\n"),s.push(this.getLineContent(d.startLineNumber).substring(0,d.startColumn-1))),c.lines)for(var p=0,f=c.lines.length;p<f;p++)0!==p&&s.push("\n"),s.push(c.lines[p]);r=c.range.endLineNumber,a=c.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}},L.prototype._doApplyEdits=function(e){e.sort(L._sortOpsDescending);for(var t=[],n=0;n<e.length;n++){var o=e[n],i=o.range.startLineNumber,r=o.range.startColumn,a=o.range.endLineNumber,s=o.range.endColumn;if(i!==a||r!==s||o.lines&&0!==o.lines.length){var l=a-i,u=o.lines?o.lines.length-1:0,c=Math.min(l,u),d=o.lines?o.lines.join(this.getEOL()):"";if(d?(this._pieceTree.delete(o.rangeOffset,o.rangeLength),this._pieceTree.insert(o.rangeOffset,d,!0)):this._pieceTree.delete(o.rangeOffset,o.rangeLength),c<u){for(var h=[],p=c+1;p<=u;p++)h.push(o.lines[p]);h[h.length-1]=this.getLineContent(i+u-1)}var f=new g.a(i,r,a,s);t.push({range:f,rangeLength:o.rangeLength,text:d,rangeOffset:o.rangeOffset,forceMoveMarkers:o.forceMoveMarkers})}}return t},L.prototype.findMatchesLineByLine=function(e,t,n,o){return this._pieceTree.findMatchesLineByLine(e,t,n,o)},L._getInverseEditRanges=function(e){for(var t=[],n=0,o=0,i=null,r=0,a=e.length;r<a;r++){var s=e[r],l=void 0,u=void 0;u=i?i.range.endLineNumber===s.range.startLineNumber?(l=n,o+(s.range.startColumn-i.range.endColumn)):(l=n+(s.range.startLineNumber-i.range.endLineNumber),s.range.startColumn):(l=s.range.startLineNumber,s.range.startColumn);var c=void 0;if(s.lines&&0<s.lines.length){var d=s.lines.length,h=s.lines[0],p=s.lines[d-1];c=1===d?new g.a(l,u,l,u+h.length):new g.a(l,u,l+d-1,p.length+1)}else c=new g.a(l,u,l,u);n=c.endLineNumber,o=c.endColumn,t.push(c),i=s}return t},L._sortOpsAscending=function(e,t){var n=g.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},L._sortOpsDescending=function(e,t){var n=g.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},L);function L(e,t,n,o,i,r){this._BOM=t,this._mightContainNonBasicASCII=!i,this._mightContainRTL=o,this._pieceTree=new a.a(e,n,r)}},2401:function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"e",function(){return i}),n.d(t,"f",function(){return r}),n.d(t,"g",function(){return a}),n.d(t,"c",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c});var o=function(){this.changeType=1},i=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},r=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},a=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},s=function(){this.changeType=5},l=(u.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t<n;t++)if(this.changes[t].changeType===e)return!0;return!1},u.merge=function(e,t){return new u([].concat(e.changes).concat(t.changes),t.versionId,e.isUndoing||t.isUndoing,e.isRedoing||t.isRedoing)},u);function u(e,t,n,o){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=o}var c=(d.prototype.merge=function(e){var t=l.merge(this.rawContentChangedEvent,e.rawContentChangedEvent),n=d._mergeChangeEvents(this.contentChangedEvent,e.contentChangedEvent);return new d(t,n)},d._mergeChangeEvents=function(e,t){return{changes:[].concat(e.changes).concat(t.changes),eol:t.eol,versionId:t.versionId,isUndoing:e.isUndoing||t.isUndoing,isRedoing:e.isRedoing||t.isRedoing,isFlush:e.isFlush||t.isFlush}},d);function d(e,t){this.rawContentChangedEvent=e,this.contentChangedEvent=t}},2402:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return d});var s=n(1316),p=n(1222),f=n(1670),a=n(1124),l=n(1251),g=n(1494);function u(e){return(e<<0|16384|2<<23)>>>0}var m=new Uint32Array(0).buffer,c=(o.prototype.deleteBeginning=function(e){null!==this._lineTokens&&this._lineTokens!==m&&this.delete(0,e)},o.prototype.deleteEnding=function(e){if(null!==this._lineTokens&&this._lineTokens!==m){var t=new Uint32Array(this._lineTokens),n=t[t.length-2];this.delete(e,n)}},o.prototype.delete=function(e,t){if(null!==this._lineTokens&&this._lineTokens!==m&&e!==t){var n=new Uint32Array(this._lineTokens),o=n.length>>>1;if(0!==e||n[n.length-2]!==t){var i=f.a.findIndexInTokensArray(n,e),r=0<i?n[i-1<<1]:0;if(t<n[i<<1])for(var a=t-e,s=i;s<o;s++)n[s<<1]-=a;else{var l,u;u=r!==e?(l=i+1<<1,n[i<<1]=e):(l=i<<1,r);for(var c=t-e,d=i+1;d<o;d++){var h=n[d<<1]-c;u<h&&(n[l++]=h,n[l++]=n[1+(d<<1)],u=h)}if(l!==n.length){var p=new Uint32Array(l);p.set(n.subarray(0,l),0),this._lineTokens=p.buffer}}}else this._lineTokens=m}},o.prototype.append=function(e){if(e!==m)if(this._lineTokens!==m){if(null!==this._lineTokens)if(null!==e){var t=new Uint32Array(this._lineTokens),n=new Uint32Array(e),o=n.length>>>1,i=new Uint32Array(t.length+n.length);i.set(t,0);for(var r=t.length,a=t[t.length-2],s=0;s<o;s++)i[r++]=n[s<<1]+a,i[r++]=n[1+(s<<1)];this._lineTokens=i.buffer}else this._lineTokens=null}else this._lineTokens=e},o.prototype.insert=function(e,t){if(this._lineTokens){var n=new Uint32Array(this._lineTokens),o=n.length>>>1,i=f.a.findIndexInTokensArray(n,e);0<i&&n[i-1<<1]===e&&i--;for(var r=i;r<o;r++)n[r<<1]+=t}},o);function o(e){this._state=e,this._lineTokens=null,this._invalid=!0}var i=(Object.defineProperty(r.prototype,"inValidLineStartIndex",{get:function(){return this._invalidLineStartIndex},enumerable:!0,configurable:!0}),r.prototype.getTokens=function(e,t,n){var o=null;if(t<this._tokens.length&&this._tokens[t]&&(o=this._tokens[t]._lineTokens),null!==o&&o!==m)return new f.a(new Uint32Array(o),n);var i=new Uint32Array(2);return i[0]=n.length,i[1]=u(e),new f.a(i,n)},r.prototype.isCheapToTokenize=function(e){return e<=this._invalidLineStartIndex+1},r.prototype.hasLinesToTokenize=function(e){return this._invalidLineStartIndex<e.getLineCount()},r.prototype.invalidateLine=function(e){this._setIsInvalid(e,!0),e<this._invalidLineStartIndex&&(this._setIsInvalid(this._invalidLineStartIndex,!0),this._invalidLineStartIndex=e)},r.prototype._setIsInvalid=function(e,t){e<this._tokens.length&&this._tokens[e]&&(this._tokens[e]._invalid=t)},r.prototype._isInvalid=function(e){return!(e<this._tokens.length&&this._tokens[e])||this._tokens[e]._invalid},r.prototype._getState=function(e){return e<this._tokens.length&&this._tokens[e]?this._tokens[e]._state:null},r.prototype._setTokens=function(e,t,n,o){var i;if(t<this._tokens.length&&this._tokens[t]?i=this._tokens[t]:(i=new c(null),this._tokens[t]=i),0===n){var r=!1;if(o&&1<o.length&&(r=l.u.getLanguageId(o[1])!==e),!r)return void(i._lineTokens=m)}o&&0!==o.length||((o=new Uint32Array(2))[0]=0,o[1]=u(e)),f.a.convertToEndOffset(o,n),i._lineTokens=o.buffer},r.prototype._setState=function(e,t){if(e<this._tokens.length&&this._tokens[e])this._tokens[e]._state=t;else{var n=new c(t);this._tokens[e]=n}},r.prototype.applyEdits=function(e,t,n){for(var o=e.endLineNumber-e.startLineNumber,i=t,r=Math.min(o,i);0<=r;r--)this.invalidateLine(e.startLineNumber+r-1);this._acceptDeleteRange(e),this._acceptInsertText(new a.a(e.startLineNumber,e.startColumn),t,n)},r.prototype._acceptDeleteRange=function(e){var t=e.startLineNumber-1;if(!(t>=this._tokens.length))if(e.startLineNumber!==e.endLineNumber){var n=this._tokens[t];n.deleteEnding(e.startColumn-1);var o=e.endLineNumber-1,i=null;if(o<this._tokens.length){var r=this._tokens[o];r.deleteBeginning(e.endColumn-1),i=r._lineTokens}n.append(i),this._tokens.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber)}else{if(e.startColumn===e.endColumn)return;this._tokens[t].delete(e.startColumn-1,e.endColumn-1)}},r.prototype._acceptInsertText=function(e,t,n){if(0!==t||0!==n){var o=e.lineNumber-1;if(!(o>=this._tokens.length))if(0!==t){var i=this._tokens[o];i.deleteEnding(e.column-1),i.insert(e.column-1,n);for(var r=new Array(t),a=t-1;0<=a;a--)r[a]=new c(null);this._tokens=s.a(this._tokens,e.lineNumber,r)}else this._tokens[o].insert(e.column-1,n)}},r.prototype._tokenizeOneLine=function(e,t){if(!this.hasLinesToTokenize(e))return e.getLineCount()+1;var n=this._invalidLineStartIndex+1;return this._updateTokensUntilLine(e,t,n),n},r.prototype._tokenizeText=function(e,t,n){var o=null;if(this.tokenizationSupport)try{o=this.tokenizationSupport.tokenize2(t,n,0)}catch(e){Object(p.e)(e)}return o=o||Object(g.e)(this.languageIdentifier.id,t,n,0)},r.prototype._updateTokensUntilLine=function(e,t,n){if(this.tokenizationSupport){for(var o=e.getLineCount(),i=n-1,r=this._invalidLineStartIndex;r<=i;r++){var a=r+1,s=e.getLineContent(r+1),l=this._getState(r),u=null;try{var c=l.clone();u=this.tokenizationSupport.tokenize2(s,c,0)}catch(e){Object(p.e)(e)}if(u=u||Object(g.e)(this.languageIdentifier.id,s,l,0),this._setTokens(this.languageIdentifier.id,r,s.length,u.tokens),t.registerChangedTokens(r+1),this._setIsInvalid(r,!1),a<o){var d=this._getState(a);if(null!==d&&u.endState.equals(d)){for(var h=r+1;h<o&&!this._isInvalid(h);){if(h+1<o){if(null===this._getState(h+1))break}else if(null===this._lastState)break;h++}this._invalidLineStartIndex=Math.max(this._invalidLineStartIndex,h),r=h-1}else this._setState(a,u.endState)}else this._lastState=u.endState}this._invalidLineStartIndex=Math.max(this._invalidLineStartIndex,1+i)}else this._invalidLineStartIndex=e.getLineCount()},r);function r(e,t){if(this.languageIdentifier=e,this.tokenizationSupport=t,this._tokens=[],this.tokenizationSupport){var n=null;try{n=this.tokenizationSupport.getInitialState()}catch(e){Object(p.e)(e),this.tokenizationSupport=null}n&&(this._tokens[0]=new c(n))}this._invalidLineStartIndex=0,this._lastState=null}var d=(h.prototype.registerChangedTokens=function(e){var t=this._ranges,n=t.length,o=0<n?t[n-1]:null;o&&o.toLineNumber===e-1?o.toLineNumber++:t[n]={fromLineNumber:e,toLineNumber:e}},h.prototype.build=function(){return 0===this._ranges.length?null:{tokenizationSupportChanged:!1,ranges:this._ranges}},h);function h(){this._ranges=[]}},2403:function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return o});var o,i,r=n(1255),f=n(1318),u=n(2084),a=n(2404),g=n(1124),m=n(988),s=(l.addCursorDown=function(e,t,n){for(var o=[],i=0,r=0,a=t.length;r<a;r++){var s=t[r];o[i++]=new f.d(s.modelState,s.viewState),o[i++]=n?f.d.fromModelState(u.a.translateDown(e.config,e.model,s.modelState)):f.d.fromViewState(u.a.translateDown(e.config,e.viewModel,s.viewState))}return o},l.addCursorUp=function(e,t,n){for(var o=[],i=0,r=0,a=t.length;r<a;r++){var s=t[r];o[i++]=new f.d(s.modelState,s.viewState),o[i++]=n?f.d.fromModelState(u.a.translateUp(e.config,e.model,s.modelState)):f.d.fromViewState(u.a.translateUp(e.config,e.viewModel,s.viewState))}return o},l.moveToBeginningOfLine=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i];o[i]=this._moveToLineStart(e,a,n)}return o},l._moveToLineStart=function(e,t,n){var o=t.viewState.position.column,i=o===t.modelState.position.column,r=t.viewState.position.lineNumber,a=e.viewModel.getLineFirstNonWhitespaceColumn(r);return i||o===a?this._moveToLineStartByModel(e,t,n):this._moveToLineStartByView(e,t,n)},l._moveToLineStartByView=function(e,t,n){return f.d.fromViewState(u.a.moveToBeginningOfLine(e.config,e.viewModel,t.viewState,n))},l._moveToLineStartByModel=function(e,t,n){return f.d.fromModelState(u.a.moveToBeginningOfLine(e.config,e.model,t.modelState,n))},l.moveToEndOfLine=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i];o[i]=this._moveToLineEnd(e,a,n)}return o},l._moveToLineEnd=function(e,t,n){var o=t.viewState.position,i=e.viewModel.getLineMaxColumn(o.lineNumber),r=o.column===i,a=t.modelState.position,s=e.model.getLineMaxColumn(a.lineNumber),l=i-o.column==s-a.column;return r||l?this._moveToLineEndByModel(e,t,n):this._moveToLineEndByView(e,t,n)},l._moveToLineEndByView=function(e,t,n){return f.d.fromViewState(u.a.moveToEndOfLine(e.config,e.viewModel,t.viewState,n))},l._moveToLineEndByModel=function(e,t,n){return f.d.fromModelState(u.a.moveToEndOfLine(e.config,e.model,t.modelState,n))},l.expandLineSelection=function(e,t){for(var n=[],o=0,i=t.length;o<i;o++){var r=t[o].viewState.selection,a=r.startLineNumber,s=e.viewModel.getLineCount(),l=r.endLineNumber,u=void 0;u=l===s?e.viewModel.getLineMaxColumn(s):(l++,1),n[o]=f.d.fromViewState(new f.f(new m.a(a,1,a,1),0,new g.a(l,u),0))}return n},l.moveToBeginningOfBuffer=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i];o[i]=f.d.fromModelState(u.a.moveToBeginningOfBuffer(e.config,e.model,a.modelState,n))}return o},l.moveToEndOfBuffer=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i];o[i]=f.d.fromModelState(u.a.moveToEndOfBuffer(e.config,e.model,a.modelState,n))}return o},l.selectAll=function(e,t){var n=e.model.getLineCount(),o=e.model.getLineMaxColumn(n);return f.d.fromModelState(new f.f(new m.a(1,1,1,1),0,new g.a(n,o),0))},l.line=function(e,t,n,o,i){var r=e.model.validatePosition(o),a=i?e.validateViewPosition(new g.a(i.lineNumber,i.column),r):e.convertModelPositionToViewPosition(r);if(!n||!t.modelState.hasSelection()){var s=e.model.getLineCount(),l=r.lineNumber+1,u=1;return s<l&&(l=s,u=e.model.getLineMaxColumn(l)),f.d.fromModelState(new f.f(new m.a(r.lineNumber,1,l,u),0,new g.a(l,u),0))}var c=t.modelState.selectionStart.getStartPosition().lineNumber;if(r.lineNumber<c)return f.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),a.lineNumber,1,0));if(r.lineNumber>c){s=e.viewModel.getLineCount();var d=a.lineNumber+1,h=1;return s<d&&(d=s,h=e.viewModel.getLineMaxColumn(d)),f.d.fromViewState(t.viewState.move(t.modelState.hasSelection(),d,h,0))}var p=t.modelState.selectionStart.getEndPosition();return f.d.fromModelState(t.modelState.move(t.modelState.hasSelection(),p.lineNumber,p.column,0))},l.word=function(e,t,n,o){var i=e.model.validatePosition(o);return f.d.fromModelState(a.a.word(e.config,e.model,t.modelState,n,i))},l.cancelSelection=function(e,t){if(!t.modelState.hasSelection())return new f.d(t.modelState,t.viewState);var n=t.viewState.position.lineNumber,o=t.viewState.position.column;return f.d.fromViewState(new f.f(new m.a(n,o,n,o),0,new g.a(n,o),0))},l.moveTo=function(e,t,n,o,i){var r=e.model.validatePosition(o),a=i?e.validateViewPosition(new g.a(i.lineNumber,i.column),r):e.convertModelPositionToViewPosition(r);return f.d.fromViewState(t.viewState.move(n,a.lineNumber,a.column,0))},l.move=function(e,t,n){var o=n.select,i=n.value;switch(n.direction){case 0:return 4===n.unit?this._moveHalfLineLeft(e,t,o):this._moveLeft(e,t,o,i);case 1:return 4===n.unit?this._moveHalfLineRight(e,t,o):this._moveRight(e,t,o,i);case 2:return 2===n.unit?this._moveUpByViewLines(e,t,o,i):this._moveUpByModelLines(e,t,o,i);case 3:return 2===n.unit?this._moveDownByViewLines(e,t,o,i):this._moveDownByModelLines(e,t,o,i);case 4:return this._moveToViewMinColumn(e,t,o);case 5:return this._moveToViewFirstNonWhitespaceColumn(e,t,o);case 6:return this._moveToViewCenterColumn(e,t,o);case 7:return this._moveToViewMaxColumn(e,t,o);case 8:return this._moveToViewLastNonWhitespaceColumn(e,t,o);case 9:var r=t[0],a=e.getCompletelyVisibleModelRange(),s=this._firstLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(e,r,o,s,l)];case 11:return r=t[0],a=e.getCompletelyVisibleModelRange(),s=this._lastLineNumberInRange(e.model,a,i),l=e.model.getLineFirstNonWhitespaceColumn(s),[this._moveToModelPosition(e,r,o,s,l)];case 10:return r=t[0],a=e.getCompletelyVisibleModelRange(),s=Math.round((a.startLineNumber+a.endLineNumber)/2),l=e.model.getLineFirstNonWhitespaceColumn(s),[this._moveToModelPosition(e,r,o,s,l)];case 12:for(var u=e.getCompletelyVisibleViewRange(),c=[],d=0,h=t.length;d<h;d++)r=t[d],c[d]=this.findPositionInViewportIfOutside(e,r,u,o);return c}return null},l.findPositionInViewportIfOutside=function(e,t,n,o){var i=t.viewState.position.lineNumber;if(n.startLineNumber<=i&&i<=n.endLineNumber-1)return new f.d(t.modelState,t.viewState);i>n.endLineNumber-1&&(i=n.endLineNumber-1),i<n.startLineNumber&&(i=n.startLineNumber);var r=e.viewModel.getLineFirstNonWhitespaceColumn(i);return this._moveToViewPosition(e,t,o,i,r)},l._firstLineNumberInRange=function(e,t,n){var o=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(o)&&o++,Math.min(t.endLineNumber,o+n-1)},l._lastLineNumberInRange=function(e,t,n){var o=t.startLineNumber;return t.startColumn!==e.getLineMinColumn(o)&&o++,Math.max(o,t.endLineNumber-n+1)},l._moveLeft=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r],l=u.a.moveLeft(e.config,e.viewModel,s.viewState,n,o);1===o&&l.position.lineNumber!==s.viewState.position.lineNumber&&e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===s.modelState.position.lineNumber&&(l=u.a.moveLeft(e.config,e.viewModel,l,n,1)),i[r]=f.d.fromViewState(l)}return i},l._moveHalfLineLeft=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(s).length/2);o[i]=f.d.fromViewState(u.a.moveLeft(e.config,e.viewModel,a.viewState,n,l))}return o},l._moveRight=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r],l=u.a.moveRight(e.config,e.viewModel,s.viewState,n,o);1===o&&l.position.lineNumber!==s.viewState.position.lineNumber&&e.viewModel.coordinatesConverter.convertViewPositionToModelPosition(l.position).lineNumber===s.modelState.position.lineNumber&&(l=u.a.moveRight(e.config,e.viewModel,l,n,1)),i[r]=f.d.fromViewState(l)}return i},l._moveHalfLineRight=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=Math.round(e.viewModel.getLineContent(s).length/2);o[i]=f.d.fromViewState(u.a.moveRight(e.config,e.viewModel,a.viewState,n,l))}return o},l._moveDownByViewLines=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r];i[r]=f.d.fromViewState(u.a.moveDown(e.config,e.viewModel,s.viewState,n,o))}return i},l._moveDownByModelLines=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r];i[r]=f.d.fromModelState(u.a.moveDown(e.config,e.model,s.modelState,n,o))}return i},l._moveUpByViewLines=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r];i[r]=f.d.fromViewState(u.a.moveUp(e.config,e.viewModel,s.viewState,n,o))}return i},l._moveUpByModelLines=function(e,t,n,o){for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r];i[r]=f.d.fromModelState(u.a.moveUp(e.config,e.model,s.modelState,n,o))}return i},l._moveToViewPosition=function(e,t,n,o,i){return f.d.fromViewState(t.viewState.move(n,o,i,0))},l._moveToModelPosition=function(e,t,n,o,i){return f.d.fromModelState(t.modelState.move(n,o,i,0))},l._moveToViewMinColumn=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMinColumn(s);o[i]=this._moveToViewPosition(e,a,n,s,l)}return o},l._moveToViewFirstNonWhitespaceColumn=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineFirstNonWhitespaceColumn(s);o[i]=this._moveToViewPosition(e,a,n,s,l)}return o},l._moveToViewCenterColumn=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=Math.round((e.viewModel.getLineMaxColumn(s)+e.viewModel.getLineMinColumn(s))/2);o[i]=this._moveToViewPosition(e,a,n,s,l)}return o},l._moveToViewMaxColumn=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineMaxColumn(s);o[i]=this._moveToViewPosition(e,a,n,s,l)}return o},l._moveToViewLastNonWhitespaceColumn=function(e,t,n){for(var o=[],i=0,r=t.length;i<r;i++){var a=t[i],s=a.viewState.position.lineNumber,l=e.viewModel.getLineLastNonWhitespaceColumn(s);o[i]=this._moveToViewPosition(e,a,n,s,l)}return o},l);function l(){}(i=o=o||{}).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:function(e){if(!r.h(e))return!1;var t=e;return!!r.i(t.to)&&(!(!r.j(t.select)&&!r.d(t.select))&&(!(!r.j(t.by)&&!r.i(t.by))&&!(!r.j(t.value)&&!r.g(t.value))))},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}}}}]},i.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"},i.RawUnit={Line:"line",WrappedLine:"wrappedLine",Character:"character",HalfLine:"halfLine"},i.parse=function(e){if(!e.to)return null;var t;switch(e.to){case i.RawDirection.Left:t=0;break;case i.RawDirection.Right:t=1;break;case i.RawDirection.Up:t=2;break;case i.RawDirection.Down:t=3;break;case i.RawDirection.WrappedLineStart:t=4;break;case i.RawDirection.WrappedLineFirstNonWhitespaceCharacter:t=5;break;case i.RawDirection.WrappedLineColumnCenter:t=6;break;case i.RawDirection.WrappedLineEnd:t=7;break;case i.RawDirection.WrappedLineLastNonWhitespaceCharacter:t=8;break;case i.RawDirection.ViewPortTop:t=9;break;case i.RawDirection.ViewPortBottom:t=11;break;case i.RawDirection.ViewPortCenter:t=10;break;case i.RawDirection.ViewPortIfOutside:t=12;break;default:return null}var n=0;switch(e.by){case i.RawUnit.Line:n=1;break;case i.RawUnit.WrappedLine:n=2;break;case i.RawUnit.Character:n=3;break;case i.RawUnit.HalfLine:n=4}return{direction:t,unit:n,select:!!e.select,value:e.value||1}}},2404:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o,u=n(989),g=n(1318),m=n(1675),b=n(1124),v=n(988),i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=(y._createWord=function(e,t,n,o,i){return{start:o,end:i,wordType:t,nextCharClass:n}},y._findPreviousWordOnLine=function(e,t,n){var o=t.getLineContent(n.lineNumber);return this._doFindPreviousWordOnLine(o,e,n)},y._doFindPreviousWordOnLine=function(e,t,n){for(var o=0,i=n.column-2;0<=i;i--){var r=e.charCodeAt(i),a=t.get(r);if(0===a){if(2===o)return this._createWord(e,o,a,i+1,this._findEndOfWord(e,t,o,i+1));o=1}else if(2===a){if(1===o)return this._createWord(e,o,a,i+1,this._findEndOfWord(e,t,o,i+1));o=2}else if(1===a&&0!==o)return this._createWord(e,o,a,i+1,this._findEndOfWord(e,t,o,i+1))}return 0!==o?this._createWord(e,o,1,0,this._findEndOfWord(e,t,o,0)):null},y._findEndOfWord=function(e,t,n,o){for(var i=e.length,r=o;r<i;r++){var a=e.charCodeAt(r),s=t.get(a);if(1===s)return r;if(1===n&&2===s)return r;if(2===n&&0===s)return r}return i},y._findNextWordOnLine=function(e,t,n){var o=t.getLineContent(n.lineNumber);return this._doFindNextWordOnLine(o,e,n)},y._doFindNextWordOnLine=function(e,t,n){for(var o=0,i=e.length,r=n.column-1;r<i;r++){var a=e.charCodeAt(r),s=t.get(a);if(0===s){if(2===o)return this._createWord(e,o,s,this._findStartOfWord(e,t,o,r-1),r);o=1}else if(2===s){if(1===o)return this._createWord(e,o,s,this._findStartOfWord(e,t,o,r-1),r);o=2}else if(1===s&&0!==o)return this._createWord(e,o,s,this._findStartOfWord(e,t,o,r-1),r)}return 0!==o?this._createWord(e,o,1,this._findStartOfWord(e,t,o,i-1),i):null},y._findStartOfWord=function(e,t,n,o){for(var i=o;0<=i;i--){var r=e.charCodeAt(i),a=t.get(r);if(1===a)return i+1;if(1===n&&2===a)return i+1;if(2===n&&0===a)return i+1}return 0},y.moveWordLeft=function(e,t,n,o){var i=n.lineNumber,r=n.column,a=!1;1===r&&1<i&&(a=!0,i-=1,r=t.getLineMaxColumn(i));var s=y._findPreviousWordOnLine(e,t,new b.a(i,r));return 0!==o?1===o?(s&&2===s.wordType&&s.end-s.start==1&&0===s.nextCharClass&&(s=y._findPreviousWordOnLine(e,t,new b.a(i,s.start+1))),new b.a(i,s?s.start+1:1)):(s&&r<=s.end+1&&(s=y._findPreviousWordOnLine(e,t,new b.a(i,s.start+1))),new b.a(i,s?s.end+1:1)):s&&!a&&t.getLineLastNonWhitespaceColumn(i)<r?new b.a(i,s.end+1):new b.a(i,s?s.start+1:1)},y._moveWordPartLeft=function(e,t){var n=t.lineNumber,o=e.getLineMaxColumn(n);if(1===t.column)return 1<n?new b.a(n-1,e.getLineMaxColumn(n-1)):t;for(var i=e.getLineContent(n),r=t.column-1;1<r;r--){var a=i.charCodeAt(r-2),s=i.charCodeAt(r-1);if(95!==a&&95===s)return new b.a(n,r);if(u.v(a)&&u.w(s))return new b.a(n,r);if(u.w(a)&&u.w(s)&&r+1<o){var l=i.charCodeAt(r);if(u.v(l))return new b.a(n,r)}}return new b.a(n,1)},y.moveWordRight=function(e,t,n,o){var i=n.lineNumber,r=n.column,a=!1;r===t.getLineMaxColumn(i)&&i<t.getLineCount()&&(a=!0,i+=1,r=1);var s=y._findNextWordOnLine(e,t,new b.a(i,r));return r=2===o?(s&&2===s.wordType&&s.end-s.start==1&&0===s.nextCharClass&&(s=y._findNextWordOnLine(e,t,new b.a(i,s.end+1))),s?s.end+1:t.getLineMaxColumn(i)):(s&&!a&&r>=s.start+1&&(s=y._findNextWordOnLine(e,t,new b.a(i,s.end+1))),s?s.start+1:t.getLineMaxColumn(i)),new b.a(i,r)},y._moveWordPartRight=function(e,t){var n=t.lineNumber,o=e.getLineMaxColumn(n);if(t.column===o)return n<e.getLineCount()?new b.a(n+1,1):t;for(var i=e.getLineContent(n),r=t.column+1;r<o;r++){var a=i.charCodeAt(r-2),s=i.charCodeAt(r-1);if(95===a&&95!==s)return new b.a(n,r);if(u.v(a)&&u.w(s))return new b.a(n,r);if(u.w(a)&&u.w(s)&&r+1<o){var l=i.charCodeAt(r);if(u.v(l))return new b.a(n,r)}}return new b.a(n,o)},y._deleteWordLeftWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),o=t.column-2,i=u.x(n,o);return i+1<o?new v.a(t.lineNumber,i+2,t.lineNumber,t.column):null},y.deleteWordLeft=function(e,t,n,o,i){if(!n.isEmpty())return n;var r=new b.a(n.positionLineNumber,n.positionColumn),a=r.lineNumber,s=r.column;if(1===a&&1===s)return null;if(o){var l=this._deleteWordLeftWhitespace(t,r);if(l)return l}var u=y._findPreviousWordOnLine(e,t,r);return s=0===i?u?u.start+1:1<s?1:(a--,t.getLineMaxColumn(a)):(u&&s<=u.end+1&&(u=y._findPreviousWordOnLine(e,t,new b.a(a,u.start+1))),u?u.end+1:1<s?1:(a--,t.getLineMaxColumn(a))),new v.a(a,s,r.lineNumber,r.column)},y._deleteWordPartLeft=function(e,t){if(!t.isEmpty())return t;var n=t.getPosition(),o=y._moveWordPartLeft(e,n);return new v.a(n.lineNumber,n.column,o.lineNumber,o.column)},y._findFirstNonWhitespaceChar=function(e,t){for(var n=e.length,o=t;o<n;o++){var i=e.charAt(o);if(" "!==i&&"\t"!==i)return o}return n},y._deleteWordRightWhitespace=function(e,t){var n=e.getLineContent(t.lineNumber),o=t.column-1,i=this._findFirstNonWhitespaceChar(n,o);return 1+o<i?new v.a(t.lineNumber,t.column,t.lineNumber,i+1):null},y.deleteWordRight=function(e,t,n,o,i){if(!n.isEmpty())return n;var r=new b.a(n.positionLineNumber,n.positionColumn),a=r.lineNumber,s=r.column,l=t.getLineCount(),u=t.getLineMaxColumn(a);if(a===l&&s===u)return null;if(o){var c=this._deleteWordRightWhitespace(t,r);if(c)return c}var d=y._findNextWordOnLine(e,t,r);return s=2===i?d?d.end+1:s<u||a===l?u:(a++,(d=y._findNextWordOnLine(e,t,new b.a(a,1)))?d.start+1:t.getLineMaxColumn(a)):(d&&s>=d.start+1&&(d=y._findNextWordOnLine(e,t,new b.a(a,d.end+1))),d?d.start+1:s<u||a===l?u:(a++,(d=y._findNextWordOnLine(e,t,new b.a(a,1)))?d.start+1:t.getLineMaxColumn(a))),new v.a(a,s,r.lineNumber,r.column)},y._deleteWordPartRight=function(e,t){if(!t.isEmpty())return t;var n=t.getPosition(),o=y._moveWordPartRight(e,n);return new v.a(n.lineNumber,n.column,o.lineNumber,o.column)},y.word=function(e,t,n,o,i){var r,a,s,l,u=Object(m.a)(e.wordSeparators),c=y._findPreviousWordOnLine(u,t,i),d=y._findNextWordOnLine(u,t,i);if(!o)return a=c&&1===c.wordType&&c.start<=i.column-1&&i.column-1<=c.end?(r=c.start+1,c.end+1):d&&1===d.wordType&&d.start<=i.column-1&&i.column-1<=d.end?(r=d.start+1,d.end+1):(r=c?c.end+1:1,d?d.start+1:t.getLineMaxColumn(i.lineNumber)),new g.f(new v.a(i.lineNumber,r,i.lineNumber,a),0,new b.a(i.lineNumber,a),0);l=c&&1===c.wordType&&c.start<i.column-1&&i.column-1<c.end?(s=c.start+1,c.end+1):d&&1===d.wordType&&d.start<i.column-1&&i.column-1<d.end?(s=d.start+1,d.end+1):(s=i.column,i.column);var h,p=i.lineNumber;if(n.selectionStart.containsPosition(i))h=n.selectionStart.endColumn;else if(i.isBeforeOrEqual(n.selectionStart.getStartPosition())){h=s;var f=new b.a(p,h);n.selectionStart.containsPosition(f)&&(h=n.selectionStart.endColumn)}else h=l,f=new b.a(p,h),n.selectionStart.containsPosition(f)&&(h=n.selectionStart.startColumn);return n.move(!0,p,h,0)},y);function y(){}var a;i(s,a=r),s.deleteWordPartLeft=function(e,t,n,o){var i=l([r.deleteWordLeft(e,t,n,o,0),r.deleteWordLeft(e,t,n,o,2),r._deleteWordPartLeft(t,n)]);return i.sort(v.a.compareRangesUsingEnds),i[2]},s.deleteWordPartRight=function(e,t,n,o){var i=l([r.deleteWordRight(e,t,n,o,0),r.deleteWordRight(e,t,n,o,2),r._deleteWordPartRight(t,n)]);return i.sort(v.a.compareRangesUsingStarts),i[0]},s.moveWordPartLeft=function(e,t,n){var o=l([r.moveWordLeft(e,t,n,0),r.moveWordLeft(e,t,n,2),r._moveWordPartLeft(t,n)]);return o.sort(b.a.compare),o[2]},s.moveWordPartRight=function(e,t,n){var o=l([r.moveWordRight(e,t,n,0),r.moveWordRight(e,t,n,2),r._moveWordPartRight(t,n)]);return o.sort(b.a.compare),o[0]};function s(){return null!==a&&a.apply(this,arguments)||this}function l(e){return e.filter(function(e){return Boolean(e)})}},2405:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var C=n(989),A=n(1318),_=n(988),r=n(1303),w=n(1495),i=Object.create(null);function x(e,t){i[e]||(i[e]=["",e]);for(var n=i[e],o=n.length;o<=t;o++)n[o]=n[o-1]+e;return n[t]}var o=(S.unshiftIndent=function(e,t,n,o,i){var r=A.a.visibleColumnFromColumn(e,t,n);if(i){var a=x(" ",o);return x(a,A.a.prevIndentTabStop(r,o)/o)}return x(a="\t",A.a.prevRenderTabStop(r,n)/n)},S.shiftIndent=function(e,t,n,o,i){var r=A.a.visibleColumnFromColumn(e,t,n);if(i){var a=x(" ",o);return x(a,A.a.nextIndentTabStop(r,o)/o)}return x(a="\t",A.a.nextRenderTabStop(r,n)/n)},S.prototype._addEditOperation=function(e,t,n){this._useLastEditRangeForCursorEndPosition?e.addTrackedEditOperation(t,n):e.addEditOperation(t,n)},S.prototype.getEditOperations=function(e,t){var n=this._selection.startLineNumber,o=this._selection.endLineNumber;1===this._selection.endColumn&&n!==o&&(o-=1);var i=this._opts,r=i.tabSize,a=i.indentSize,s=i.insertSpaces,l=n===o;if(this._selection.isEmpty()&&/^\s*$/.test(e.getLineContent(n))&&(this._useLastEditRangeForCursorEndPosition=!0),this._opts.useTabStops)for(var u=0,c=0,d=n;d<=o;d++,u=c){c=0;var h=e.getLineContent(d),p=C.n(h);if((!this._opts.isUnshift||0!==h.length&&0!==p)&&(l||this._opts.isUnshift||0!==h.length)){if(-1===p&&(p=h.length),1<d&&A.a.visibleColumnFromColumn(h,p+1,r)%a!=0&&e.isCheapToTokenize(d-1)){var f=w.a.getRawEnterActionAtPosition(e,d-1,e.getLineMaxColumn(d-1));if(f){if(c=u,f.appendText)for(var g=0,m=f.appendText.length;g<m&&c<a&&32===f.appendText.charCodeAt(g);g++)c++;for(f.removeText&&(c=Math.max(0,c-f.removeText)),g=0;g<c&&0!==p&&32===h.charCodeAt(p-1);g++)p--}}if(!this._opts.isUnshift||0!==p){var b=void 0;b=this._opts.isUnshift?S.unshiftIndent(h,p+1,r,a,s):S.shiftIndent(h,p+1,r,a,s),this._addEditOperation(t,new _.a(d,1,d,p+1),b),d===n&&(this._selectionStartColumnStaysPut=this._selection.startColumn<=p+1)}}}else{var v=s?x(" ",a):"\t";for(d=n;d<=o;d++)if(h=e.getLineContent(d),p=C.n(h),(!this._opts.isUnshift||0!==h.length&&0!==p)&&(l||this._opts.isUnshift||0!==h.length)&&(-1===p&&(p=h.length),!this._opts.isUnshift||0!==p))if(this._opts.isUnshift){p=Math.min(p,a);for(var y=0;y<p;y++)if(9===h.charCodeAt(y)){p=y+1;break}this._addEditOperation(t,new _.a(d,1,d,p+1),"")}else this._addEditOperation(t,new _.a(d,1,d,1),v),d===n&&(this._selectionStartColumnStaysPut=1===this._selection.startColumn)}this._selectionId=t.trackSelection(this._selection)},S.prototype.computeCursorState=function(e,t){if(this._useLastEditRangeForCursorEndPosition){var n=t.getInverseEditOperations()[0];return new r.a(n.range.endLineNumber,n.range.endColumn,n.range.endLineNumber,n.range.endColumn)}var o=t.getTrackedSelection(this._selectionId);if(this._selectionStartColumnStaysPut){var i=this._selection.startColumn;return o.startColumn<=i?o:0===o.getDirection()?new r.a(o.startLineNumber,i,o.endLineNumber,o.endColumn):new r.a(o.endLineNumber,o.endColumn,o.startLineNumber,i)}return o},S);function S(e,t){this._opts=t,this._selection=e,this._useLastEditRangeForCursorEndPosition=!1,this._selectionStartColumnStaysPut=!1}},2406:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(988),r=n(1303),i=(a.prototype.getEditOperations=function(e,t){t.addTrackedEditOperation(new o.a(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),t.addTrackedEditOperation(new o.a(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)},a.prototype.computeCursorState=function(e,t){var n=t.getInverseEditOperations(),o=n[0].range,i=n[1].range;return new r.a(o.endLineNumber,o.endColumn,i.endLineNumber,i.endColumn-this._charAfterSelection.length)},a);function a(e,t,n){this._range=e,this._charBeforeSelection=t,this._charAfterSelection=n}},2407:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return v});var o,i,r=n(1223),a=n(1463),s=n(1787),l=n(1283),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=l.b,u(d,i),d.prototype.shouldRender=function(){if(i.prototype.shouldRender.call(this))return!0;for(var e=0,t=this._dynamicOverlays.length;e<t;e++)if(this._dynamicOverlays[e].shouldRender())return!0;return!1},d.prototype.dispose=function(){i.prototype.dispose.call(this);for(var e=0,t=this._dynamicOverlays.length;e<t;e++)this._dynamicOverlays[e].dispose();this._dynamicOverlays=[]},d.prototype.getDomNode=function(){return this.domNode},d.prototype.createVisibleLine=function(){return new h(this._context.configuration,this._dynamicOverlays)},d.prototype.addDynamicOverlay=function(e){this._dynamicOverlays.push(e)},d.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e);for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=t;o<=n;o++)this._visibleLines.getVisibleLine(o).onConfigurationChanged(e);return!0},d.prototype.onFlushed=function(e){return this._visibleLines.onFlushed(e)},d.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!0},d.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},d.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},d.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},d.prototype.onScrollChanged=function(e){return this._visibleLines.onScrollChanged(e)||!0},d.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},d.prototype.onZonesChanged=function(e){return this._visibleLines.onZonesChanged(e)},d.prototype.prepareRender=function(e){for(var t=this._dynamicOverlays.filter(function(e){return e.shouldRender()}),n=0,o=t.length;n<o;n++){var i=t[n];i.prepareRender(e),i.onDidRender()}},d.prototype.render=function(e){this._viewOverlaysRender(e),this.domNode.toggleClassName("focused",this._isFocused)},d.prototype._viewOverlaysRender=function(e){this._visibleLines.renderLines(e.viewportData)},d);function d(e){var t=i.call(this,e)||this;return t._visibleLines=new s.b(t),t.domNode=t._visibleLines.domNode,t._dynamicOverlays=[],t._isFocused=!1,t.domNode.setClassName("view-overlays"),t}var h=(p.prototype.getDomNode=function(){return this._domNode?this._domNode.domNode:null},p.prototype.setDomNode=function(e){this._domNode=Object(r.b)(e)},p.prototype.onContentChanged=function(){},p.prototype.onTokensChanged=function(){},p.prototype.onConfigurationChanged=function(e){e.lineHeight&&(this._lineHeight=this._configuration.editor.lineHeight)},p.prototype.renderLine=function(e,t,n,o){for(var i="",r=0,a=this._dynamicOverlays.length;r<a;r++)i+=this._dynamicOverlays[r].render(n.startLineNumber,e);return this._renderedContent!==i&&(this._renderedContent=i,o.appendASCIIString('<div style="position:absolute;top:'),o.appendASCIIString(String(t)),o.appendASCIIString("px;width:100%;height:"),o.appendASCIIString(String(this._lineHeight)),o.appendASCIIString('px;">'),o.appendASCIIString(i),o.appendASCIIString("</div>"),!0)},p.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},p);function p(e,t){this._configuration=e,this._lineHeight=this._configuration.editor.lineHeight,this._dynamicOverlays=t,this._domNode=null,this._renderedContent=null}var f,g=(u(m,f=c),m.prototype.onConfigurationChanged=function(e){return e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),f.prototype.onConfigurationChanged.call(this,e)},m.prototype.onScrollChanged=function(e){return f.prototype.onScrollChanged.call(this,e)||e.scrollWidthChanged},m.prototype._viewOverlaysRender=function(e){f.prototype._viewOverlaysRender.call(this,e),this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth))},m);function m(e){var t=f.call(this,e)||this;return t._contentWidth=t._context.configuration.editor.layoutInfo.contentWidth,t.domNode.setHeight(0),t}var b,v=(u(y,b=c),y.prototype.onConfigurationChanged=function(e){var t=!1;return e.fontInfo&&(a.a.applyFontInfo(this.domNode,this._context.configuration.editor.fontInfo),t=!0),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,t=!0),b.prototype.onConfigurationChanged.call(this,e)||t},y.prototype.onScrollChanged=function(e){return b.prototype.onScrollChanged.call(this,e)||e.scrollHeightChanged},y.prototype._viewOverlaysRender=function(e){b.prototype._viewOverlaysRender.call(this,e);var t=Math.min(e.scrollHeight,1e6);this.domNode.setHeight(t),this.domNode.setWidth(this._contentLeft)},y);function y(e){var t=b.call(this,e)||this;return t._contentLeft=t._context.configuration.editor.layoutInfo.contentLeft,t.domNode.setClassName("margin-view-overlays"),t.domNode.setWidth(1),a.a.applyFontInfo(t.domNode,t._context.configuration.editor.fontInfo),t}},2408:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,C=n(1126),r=n(1223),a=n(1283),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=function(e,t){this.top=e,this.left=t},l=(i=a.b,s(u,i),u.prototype.dispose=function(){i.prototype.dispose.call(this),this._widgets={}},u.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var o=n[t];this._widgets[o].onConfigurationChanged(e)}return!0},u.prototype.onDecorationsChanged=function(e){return!0},u.prototype.onFlushed=function(e){return!0},u.prototype.onLineMappingChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var o=n[t];this._widgets[o].onLineMappingChanged(e)}return!0},u.prototype.onLinesChanged=function(e){return!0},u.prototype.onLinesDeleted=function(e){return!0},u.prototype.onLinesInserted=function(e){return!0},u.prototype.onScrollChanged=function(e){return!0},u.prototype.onZonesChanged=function(e){return!0},u.prototype.addWidget=function(e){var t=new c(this._context,this._viewDomNode,e);(this._widgets[t.id]=t).allowEditorOverflow?this.overflowingContentWidgetsDomNode.appendChild(t.domNode):this.domNode.appendChild(t.domNode),this.setShouldRender()},u.prototype.setWidgetPosition=function(e,t,n,o){this._widgets[e.getId()].setPosition(t,n,o),this.setShouldRender()},u.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t];delete this._widgets[t];var o=n.domNode.domNode;o.parentNode.removeChild(o),o.removeAttribute("monaco-visible-content-widget"),this.setShouldRender()}},u.prototype.shouldSuppressMouseDownOnWidget=function(e){return!!this._widgets.hasOwnProperty(e)&&this._widgets[e].suppressMouseDown},u.prototype.onBeforeRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var o=n[t];this._widgets[o].onBeforeRender(e)}},u.prototype.prepareRender=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var o=n[t];this._widgets[o].prepareRender(e)}},u.prototype.render=function(e){for(var t=0,n=Object.keys(this._widgets);t<n.length;t++){var o=n[t];this._widgets[o].render(e)}},u);function u(e,t){var n=i.call(this,e)||this;return n._viewDomNode=t,n._widgets={},n.domNode=Object(r.b)(document.createElement("div")),a.a.write(n.domNode,1),n.domNode.setClassName("contentWidgets"),n.domNode.setPosition("absolute"),n.domNode.setTop(0),n.overflowingContentWidgetsDomNode=Object(r.b)(document.createElement("div")),a.a.write(n.overflowingContentWidgetsDomNode,2),n.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),n}var c=(d.prototype.onConfigurationChanged=function(e){e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._maxWidth=this._getMaxWidth())},d.prototype.onLineMappingChanged=function(e){this._setPosition(this._position,this._range)},d.prototype._setPosition=function(e,t){if(this._position=e||null,this._range=t||null,this._viewPosition=null,this._viewRange=null,this._position){var n=this._context.model.validateModelPosition(this._position);this._context.model.coordinatesConverter.modelPositionIsVisible(n)&&(this._viewPosition=this._context.model.coordinatesConverter.convertModelPositionToViewPosition(n))}if(this._range){var o=this._context.model.validateModelRange(this._range);this._viewRange=this._context.model.coordinatesConverter.convertModelRangeToViewRange(o)}},d.prototype._getMaxWidth=function(){return this.allowEditorOverflow?window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth:this._contentWidth},d.prototype.setPosition=function(e,t,n){this._setPosition(e,t),this._preference=n||null,this._cachedDomNodeClientWidth=-1,this._cachedDomNodeClientHeight=-1},d.prototype._layoutBoxInViewport=function(e,t,n,o,i){var r=e.top,a=r,s=t.top+this._lineHeight,l=r-o,u=o<=a,c=s,d=o<=i.viewportHeight-s,h=e.left,p=t.left;return h+n>i.scrollLeft+i.viewportWidth&&(h=i.scrollLeft+i.viewportWidth-n),p+n>i.scrollLeft+i.viewportWidth&&(p=i.scrollLeft+i.viewportWidth-n),h<i.scrollLeft&&(h=i.scrollLeft),p<i.scrollLeft&&(p=i.scrollLeft),{fitsAbove:u,aboveTop:l,aboveLeft:h,fitsBelow:d,belowTop:c,belowLeft:p}},d.prototype._layoutBoxInPage=function(e,t,n,o,i){var r=e.left-i.scrollLeft,a=t.left-i.scrollLeft;if(r<0||r>this._contentWidth)return null;var s,l=e.top-o,u=t.top+this._lineHeight,c=r+this._contentLeft,d=a+this._contentLeft,h=C.s(this._viewDomNode.domNode),p=h.top+l-C.d.scrollY,f=h.top+u-C.d.scrollY,g=h.left+c-C.d.scrollX,m=h.left+d-C.d.scrollX,b=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,v=22<=p,y=f+o<=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight)-22;return b<g+n+20&&(g-=s=g-(b-n-20),c-=s),b<m+n+20&&(m-=s=m-(b-n-20),d-=s),g<0&&(g-=s=g,c-=s),m<0&&(m-=s=m,d-=s),this._fixedOverflowWidgets&&(l=p,u=f,c=g,d=m),{fitsAbove:v,aboveTop:l,aboveLeft:c,fitsBelow:y,belowTop:u,belowLeft:d}},d.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new p(e.top,e.left+this._contentLeft)},d.prototype._getTopAndBottomLeft=function(e){if(!this._viewPosition)return[null,null];var t=e.visibleRangeForPosition(this._viewPosition);if(!t)return[null,null];var n=e.getVerticalOffsetForLineNumber(this._viewPosition.lineNumber)-e.scrollTop,o=new p(n,t.left),i=this._viewPosition.lineNumber,r=t.left;if(this._viewRange){var a=e.linesVisibleRangesForRange(this._viewRange,!1);if(a&&0<a.length)for(var s=a.length-1;0<=s;s--){var l=a[s];if(l.lineNumber>=i){l.lineNumber>i&&(i=l.lineNumber,r=1073741824);for(var u=0,c=l.ranges.length;u<c;u++){var d=l.ranges[u];d.left<r&&(r=d.left)}}}}var h=e.getVerticalOffsetForLineNumber(i)-e.scrollTop;return[o,new p(h,r)]},d.prototype._prepareRenderWidget=function(e){var t,n=this._getTopAndBottomLeft(e),o=n[0],i=n[1];if(!o||!i)return null;if(-1===this._cachedDomNodeClientWidth||-1===this._cachedDomNodeClientHeight){var r=this.domNode.domNode;this._cachedDomNodeClientWidth=r.clientWidth,this._cachedDomNodeClientHeight=r.clientHeight}if(t=this.allowEditorOverflow?this._layoutBoxInPage(o,i,this._cachedDomNodeClientWidth,this._cachedDomNodeClientHeight,e):this._layoutBoxInViewport(o,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 p(t.aboveTop,t.aboveLeft)}else{if(2!==u)return this.allowEditorOverflow?this._prepareRenderWidgetAtExactPositionOverflowing(o):o;if(!t)return null;if(2===a||t.fitsBelow)return new p(t.belowTop,t.belowLeft)}}return null},d.prototype.onBeforeRender=function(e){this._viewPosition&&this._preference&&(this._viewPosition.lineNumber<e.startLineNumber||this._viewPosition.lineNumber>e.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},d.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},d.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?this.domNode.setTop(this._renderData.top):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"))},d);function d(e,t,n){this._context=e,this._viewDomNode=t,this._actual=n,this.domNode=Object(r.b)(this._actual.getDomNode()),this.id=this._actual.getId(),this.allowEditorOverflow=this._actual.allowEditorOverflow||!1,this.suppressMouseDown=this._actual.suppressMouseDown||!1,this._fixedOverflowWidgets=this._context.configuration.editor.viewInfo.fixedOverflowWidgets,this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft,this._lineHeight=this._context.configuration.editor.lineHeight,this._setPosition(null,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)}},2409:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(2410),a=(n.n(r),n(1498)),s=n(1351),l=n(1216),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=a.a,u(d,i),d.prototype.dispose=function(){this._context.removeEventHandler(this),i.prototype.dispose.call(this)},d.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth),!0},d.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var o=e.selections[0].isEmpty();return this._selectionIsEmpty!==o?(this._selectionIsEmpty=o,!0):t},d.prototype.onFlushed=function(e){return!0},d.prototype.onLinesDeleted=function(e){return!0},d.prototype.onLinesInserted=function(e){return!0},d.prototype.onScrollChanged=function(e){return e.scrollWidthChanged},d.prototype.onZonesChanged=function(e){return!0},d.prototype.prepareRender=function(e){this._scrollWidth=e.scrollWidth},d.prototype.render=function(e,t){return t!==this._primaryCursorLineNumber?"":this._shouldShowCurrentLine()?'<div class="current-line'+(this._willRenderMarginCurrentLine()?" current-line-both":"")+'" style="width:'+String(Math.max(this._scrollWidth,this._contentWidth))+"px; height:"+String(this._lineHeight)+'px;"></div>':""},d.prototype._shouldShowCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},d.prototype._willRenderMarginCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},d);function d(e){var t=i.call(this)||this;return t._context=e,t._lineHeight=t._context.configuration.editor.lineHeight,t._renderLineHighlight=t._context.configuration.editor.viewInfo.renderLineHighlight,t._selectionIsEmpty=!0,t._primaryCursorLineNumber=1,t._scrollWidth=0,t._contentWidth=t._context.configuration.editor.layoutInfo.contentWidth,t._context.addEventHandler(t),t}Object(l.e)(function(e,t){var n=e.getColor(s.l);if(n&&t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),!n||n.isTransparent()||e.defines(s.m)){var o=e.getColor(s.m);o&&(t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+o+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"))}})},2410:function(e,t,n){var o=n(2411);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2411:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css"],names:[],mappings:"AAKA,4CACC,cAAe,AACf,kBAAmB,AACnB,OAAQ,AACR,MAAO,AACP,8BAA+B,AACvB,qBAAuB,CAC/B",file:"currentLineHighlight.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}"],sourceRoot:""}])},2412:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(2413),a=(n.n(r),n(1498)),s=n(1351),l=n(1216),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=a.a,u(d,i),d.prototype.dispose=function(){this._context.removeEventHandler(this),i.prototype.dispose.call(this)},d.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._renderLineHighlight=this._context.configuration.editor.viewInfo.renderLineHighlight),e.layoutInfo&&(this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0},d.prototype.onCursorStateChanged=function(e){var t=!1,n=e.selections[0].positionLineNumber;this._primaryCursorLineNumber!==n&&(this._primaryCursorLineNumber=n,t=!0);var o=e.selections[0].isEmpty();return this._selectionIsEmpty!==o?(this._selectionIsEmpty=o,!0):t},d.prototype.onFlushed=function(e){return!0},d.prototype.onLinesDeleted=function(e){return!0},d.prototype.onLinesInserted=function(e){return!0},d.prototype.onZonesChanged=function(e){return!0},d.prototype.prepareRender=function(e){},d.prototype.render=function(e,t){if(t!==this._primaryCursorLineNumber)return"";var n="current-line";return this._shouldShowCurrentLine()&&(n="current-line current-line-margin"+(this._willRenderContentCurrentLine()?" current-line-margin-both":"")),'<div class="'+n+'" style="width:'+String(this._contentLeft)+"px; height:"+String(this._lineHeight)+'px;"></div>'},d.prototype._shouldShowCurrentLine=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},d.prototype._willRenderContentCurrentLine=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},d);function d(e){var t=i.call(this)||this;return t._context=e,t._lineHeight=t._context.configuration.editor.lineHeight,t._renderLineHighlight=t._context.configuration.editor.viewInfo.renderLineHighlight,t._selectionIsEmpty=!0,t._primaryCursorLineNumber=1,t._contentLeft=t._context.configuration.editor.layoutInfo.contentLeft,t._context.addEventHandler(t),t}Object(l.e)(function(e,t){var n=e.getColor(s.l);if(n)t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }");else{var o=e.getColor(s.m);o&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+o+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")}})},2413:function(e,t,n){var o=n(2414);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2414:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/currentLineMarginHighlight/currentLineMarginHighlight.css"],names:[],mappings:"AAKA,mDACC,cAAe,AACf,kBAAmB,AACnB,OAAQ,AACR,MAAO,AACP,8BAA+B,AACvB,qBAAuB,CAC/B,AAED,gGACC,cAAgB,CAChB",file:"currentLineMarginHighlight.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .current-line {\n\tdisplay: block;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n\tborder-right: 0;\n}"],sourceRoot:""}])},2415:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(2416),a=(n.n(r),n(1498)),f=n(988),b=n(1590),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.a,s(u,i),u.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,i.prototype.dispose.call(this)},u.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},u.prototype.onDecorationsChanged=function(e){return!0},u.prototype.onFlushed=function(e){return!0},u.prototype.onLinesChanged=function(e){return!0},u.prototype.onLinesDeleted=function(e){return!0},u.prototype.onLinesInserted=function(e){return!0},u.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},u.prototype.onZonesChanged=function(e){return!0},u.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],o=0,i=0,r=t.length;i<r;i++){var a=t[i];a.options.className&&(n[o++]=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,o=t.options.className;return n<o?-1:o<n?1:f.a.compareRangesUsingStarts(e.range,t.range)});for(var s=e.visibleRange.startLineNumber,l=e.visibleRange.endLineNumber,u=[],c=s;c<=l;c++)u[c-s]="";this._renderWholeLineDecorations(e,n,u),this._renderNormalDecorations(e,n,u),this._renderResult=u},u.prototype._renderWholeLineDecorations=function(e,t,n){for(var o=String(this._lineHeight),i=e.visibleRange.startLineNumber,r=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:'+o+'px;"></div>',c=Math.max(l.range.startLineNumber,i),d=Math.min(l.range.endLineNumber,r),h=c;h<=d;h++)n[h-i]+=u}},u.prototype._renderNormalDecorations=function(e,t,n){for(var o=String(this._lineHeight),i=e.visibleRange.startLineNumber,r=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),p=c.range;h&&1===p.endColumn&&p.endLineNumber!==p.startLineNumber&&(p=new f.a(p.startLineNumber,p.startColumn,p.endLineNumber-1,this._context.model.getLineMaxColumn(p.endLineNumber-1))),s=r===d&&a===h&&f.a.areIntersectingOrTouching(s,p)?f.a.plusRange(s,p):(null!==r&&this._renderNormalDecoration(e,s,r,a,o,i,n),r=d,a=h,p)}}null!==r&&this._renderNormalDecoration(e,s,r,a,o,i,n)},u.prototype._renderNormalDecoration=function(e,t,n,o,i,r,a){var s=e.linesVisibleRangesForRange(t,"findMatch"===n);if(s)for(var l=0,u=s.length;l<u;l++){var c=s[l],d=c.lineNumber-r;if(o&&1===c.ranges.length){var h=c.ranges[0];0===h.width&&(c.ranges[0]=new b.a(h.left,this._typicalHalfwidthCharacterWidth))}for(var p=0,f=c.ranges.length;p<f;p++){var g=c.ranges[p],m='<div class="cdr '+n+'" style="left:'+String(g.left)+"px;width:"+String(g.width)+"px;height:"+i+'px;"></div>';a[d]+=m}}},u.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},u);function u(e){var t=i.call(this)||this;return t._context=e,t._lineHeight=t._context.configuration.editor.lineHeight,t._typicalHalfwidthCharacterWidth=t._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,t._renderResult=null,t._context.addEventHandler(t),t}},2416:function(e,t,n){var o=n(2417);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2417:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .lines-content .cdr{position:absolute}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/decorations/decorations.css"],names:[],mappings:"AASA,mCACC,iBAAmB,CACnB",file:"decorations.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n\tposition: absolute;\n}"],sourceRoot:""}])},2418:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o,l,u=n(1126),c=n(1223),d=n(1677),h=n(1283),p=n(1216),i=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),r=(l=h.b,i(a,l),a.prototype.dispose=function(){l.prototype.dispose.call(this)},a.prototype._setLayout=function(){var e=this._context.configuration.editor.layoutInfo;this.scrollbarDomNode.setLeft(e.contentLeft),"right"===this._context.configuration.editor.viewInfo.minimap.side?this.scrollbarDomNode.setWidth(e.contentWidth+e.minimapWidth):this.scrollbarDomNode.setWidth(e.contentWidth),this.scrollbarDomNode.setHeight(e.contentHeight)},a.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},a.prototype.getDomNode=function(){return this.scrollbarDomNode},a.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},a.prototype.onConfigurationChanged=function(e){if(e.viewInfo){var t=this._context.configuration.editor,n={handleMouseWheel:t.viewInfo.scrollbar.handleMouseWheel,mouseWheelScrollSensitivity:t.viewInfo.scrollbar.mouseWheelScrollSensitivity,fastScrollSensitivity:t.viewInfo.scrollbar.fastScrollSensitivity};this.scrollbar.updateOptions(n)}return e.layoutInfo&&this._setLayout(),!0},a.prototype.onScrollChanged=function(e){return!0},a.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(p.d)(this._context.theme.type)),!0},a.prototype.prepareRender=function(e){},a.prototype.render=function(e){this.scrollbar.renderNow()},a);function a(e,t,n,o){var a=l.call(this,e)||this,i=a._context.configuration.editor.viewInfo.scrollbar,r={listenOnDomNode:n.domNode,className:"editor-scrollable "+Object(p.d)(e.theme.type),useShadows:!1,lazyRender:!0,vertical:i.vertical,horizontal:i.horizontal,verticalHasArrows:i.verticalHasArrows,horizontalHasArrows:i.horizontalHasArrows,verticalScrollbarSize:i.verticalScrollbarSize,verticalSliderSize:i.verticalSliderSize,horizontalScrollbarSize:i.horizontalScrollbarSize,horizontalSliderSize:i.horizontalSliderSize,handleMouseWheel:i.handleMouseWheel,arrowSize:i.arrowSize,mouseWheelScrollSensitivity:i.mouseWheelScrollSensitivity,fastScrollSensitivity:i.fastScrollSensitivity};a.scrollbar=a._register(new d.c(t.domNode,r,a._context.viewLayout.scrollable)),h.a.write(a.scrollbar.getDomNode(),5),a.scrollbarDomNode=Object(c.b)(a.scrollbar.getDomNode()),a.scrollbarDomNode.setPosition("absolute"),a._setLayout();function s(e,t,n){var o={};if(t){var i=e.scrollTop;i&&(o.scrollTop=a._context.viewLayout.getCurrentScrollTop()+i,e.scrollTop=0)}if(n){var r=e.scrollLeft;r&&(o.scrollLeft=a._context.viewLayout.getCurrentScrollLeft()+r,e.scrollLeft=0)}a._context.viewLayout.setScrollPositionNow(o)}return a._register(u.g(n.domNode,"scroll",function(e){return s(n.domNode,!0,!0)})),a._register(u.g(t.domNode,"scroll",function(e){return s(t.domNode,!0,!1)})),a._register(u.g(o.domNode,"scroll",function(e){return s(o.domNode,!0,!1)})),a._register(u.g(a.scrollbarDomNode.domNode,"scroll",function(e){return s(a.scrollbarDomNode.domNode,!0,!1)})),a}},2419:function(e,t,n){var o=n(2420);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2420:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-scrollable-element>.scrollbar>.up-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=");cursor:pointer}.monaco-scrollable-element>.scrollbar>.down-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTE4MCA1LjQ5MDQ1OTkxODk3NTgzLDUuODExNTAwMDcyNDc5MjQ4KSIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiLz48L3N2Zz4=");cursor:pointer}.monaco-scrollable-element>.scrollbar>.left-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDUuNDkwNDU5OTE4OTc1ODMxLDUuNDMxMzgyMTc5MjYwMjU0KSIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNDgwNDYsOC41ODEzOGwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");cursor:pointer}.monaco-scrollable-element>.scrollbar>.right-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNS42MTcxNjUwODg2NTM1NjQ1LDUuNTU4MDg5NzMzMTIzNzgpICIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNjA3MTcsOC43MDgwOWwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");cursor:pointer}.hc-black .monaco-scrollable-element>.scrollbar>.up-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.up-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiIGZpbGw9IiNFOEU4RTgiLz48L3N2Zz4=")}.hc-black .monaco-scrollable-element>.scrollbar>.down-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.down-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTE4MCA1LjQ5MDQ1OTkxODk3NTgzLDUuODExNTAwMDcyNDc5MjQ4KSIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiLz48L3N2Zz4=")}.hc-black .monaco-scrollable-element>.scrollbar>.left-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.left-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDUuNDkwNDU5OTE4OTc1ODMxLDUuNDMxMzgyMTc5MjYwMjU0KSIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNDgwNDYsOC41ODEzOGwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+")}.hc-black .monaco-scrollable-element>.scrollbar>.right-arrow,.vs-dark .monaco-scrollable-element>.scrollbar>.right-arrow{background:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNS42MTcxNjUwODg2NTM1NjQ1LDUuNTU4MDg5NzMzMTIzNzgpICIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNjA3MTcsOC43MDgwOWwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+")}.monaco-scrollable-element>.visible{opacity:1;background:transparent;-webkit-transition:opacity .1s linear;-o-transition:opacity .1s linear;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{-webkit-transition:opacity .8s linear;-o-transition:opacity .8s linear;transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;-webkit-box-shadow:#ddd 0 6px 6px -6px inset;box-shadow:inset 0 6px 6px -6px #ddd}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;-webkit-box-shadow:#ddd 6px 0 6px -6px inset;box-shadow:inset 6px 0 6px -6px #ddd}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{-webkit-box-shadow:#ddd 6px 6px 6px -6px inset;box-shadow:inset 6px 6px 6px -6px #ddd}.vs .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,39%,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:hsla(0,0%,47%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:hsla(0,0%,39%,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:hsla(0,0%,75%,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:#6fc3df}.vs-dark .monaco-scrollable-element .shadow.top{-webkit-box-shadow:none;box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{-webkit-box-shadow:#000 6px 0 6px -6px inset;box-shadow:inset 6px 0 6px -6px #000}.vs-dark .monaco-scrollable-element .shadow.top.left{-webkit-box-shadow:#000 6px 6px 6px -6px inset;box-shadow:inset 6px 6px 6px -6px #000}.hc-black .monaco-scrollable-element .shadow.left,.hc-black .monaco-scrollable-element .shadow.top,.hc-black .monaco-scrollable-element .shadow.top.left{-webkit-box-shadow:none;box-shadow:none}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/scrollbar/media/scrollbars.css"],names:[],mappings:"AAMA,gDACC,qRAAsR,AACtR,cAAgB,CAChB,AACD,kDACC,qWAAsW,AACtW,cAAgB,CAChB,AACD,kDACC,qWAAsW,AACtW,cAAgB,CAChB,AACD,mDACC,qWAAsW,AACtW,cAAgB,CAChB,AAED,mHAEC,oRAAsR,CACtR,AACD,uHAEC,oWAAsW,CACtW,AACD,uHAEC,oWAAsW,CACtW,AACD,yHAEC,oWAAsW,CACtW,AAED,oCACC,UAAW,AAGX,uBAAyB,AAEzB,sCAAyC,AAEzC,iCAAoC,AAEpC,6BAAiC,CACjC,AACD,sCACC,UAAW,AACX,mBAAqB,CACrB,AACD,2CACC,sCAAyC,AACzC,iCAAoC,AACpC,6BAAiC,CACjC,AAGD,mCACC,kBAAmB,AACnB,YAAc,CACd,AACD,uCACC,cAAe,AACf,MAAO,AACP,SAAU,AACV,WAAY,AACZ,WAAY,AACZ,6CAA8C,AACtC,oCAAsC,CAC9C,AACD,wCACC,cAAe,AACf,QAAS,AACT,OAAQ,AACR,YAAa,AACb,UAAW,AACX,6CAA8C,AACtC,oCAAsC,CAC9C,AACD,mDACC,cAAe,AACf,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,SAAW,CACX,AACD,4CACC,+CAAgD,AACxC,sCAAwC,CAChD,AAID,kDACC,4BAAoC,CACpC,AACD,uDACC,4BAAoC,CACpC,AACD,wDACC,+BAAoC,CACpC,AAED,oDACC,4BAAoC,CACpC,AACD,8DACC,+BAAoC,CACpC,AAED,qDACC,yBAA8B,CAC9B,AACD,8DACC,4BAAoC,CACpC,AACD,+DACC,kBAAmC,CACnC,AAED,gDACC,wBAAyB,AACjB,eAAiB,CACzB,AAED,iDACC,6CAA8C,AACtC,oCAAsC,CAC9C,AAED,qDACC,+CAAgD,AACxC,sCAAwC,CAChD,AAYD,yJACC,wBAAyB,AACjB,eAAiB,CACzB",file:"scrollbars.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .up-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=");\n\tcursor: pointer;\n}\n.monaco-scrollable-element > .scrollbar > .down-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTE4MCA1LjQ5MDQ1OTkxODk3NTgzLDUuODExNTAwMDcyNDc5MjQ4KSIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiLz48L3N2Zz4=");\n\tcursor: pointer;\n}\n.monaco-scrollable-element > .scrollbar > .left-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDUuNDkwNDU5OTE4OTc1ODMxLDUuNDMxMzgyMTc5MjYwMjU0KSIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNDgwNDYsOC41ODEzOGwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");\n\tcursor: pointer;\n}\n.monaco-scrollable-element > .scrollbar > .right-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNS42MTcxNjUwODg2NTM1NjQ1LDUuNTU4MDg5NzMzMTIzNzgpICIgZmlsbD0iIzQyNDI0MiIgZD0ibTkuNjA3MTcsOC43MDgwOWwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");\n\tcursor: pointer;\n}\n\n.hc-black .monaco-scrollable-element > .scrollbar > .up-arrow,\n.vs-dark .monaco-scrollable-element > .scrollbar > .up-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiIGZpbGw9IiNFOEU4RTgiLz48L3N2Zz4=");\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .down-arrow,\n.vs-dark .monaco-scrollable-element > .scrollbar > .down-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTE4MCA1LjQ5MDQ1OTkxODk3NTgzLDUuODExNTAwMDcyNDc5MjQ4KSIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNDgwNDYsOC45NjE1bDEuMjYsLTEuMjZsLTUuMDQsLTUuMDRsLTUuNDYsNS4wNGwxLjI2LDEuMjZsNC4yLC0zLjc4bDMuNzgsMy43OHoiLz48L3N2Zz4=");\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .left-arrow,\n.vs-dark .monaco-scrollable-element > .scrollbar > .left-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMSAxMSI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDUuNDkwNDU5OTE4OTc1ODMxLDUuNDMxMzgyMTc5MjYwMjU0KSIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNDgwNDYsOC41ODEzOGwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .right-arrow,\n.vs-dark .monaco-scrollable-element > .scrollbar > .right-arrow {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTEgMTEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggdHJhbnNmb3JtPSJyb3RhdGUoOTAgNS42MTcxNjUwODg2NTM1NjQ1LDUuNTU4MDg5NzMzMTIzNzgpICIgZmlsbD0iI0U4RThFOCIgZD0ibTkuNjA3MTcsOC43MDgwOWwxLjI2LC0xLjI2bC01LjA0LC01LjA0bC01LjQ2LDUuMDRsMS4yNiwxLjI2bDQuMiwtMy43OGwzLjc4LDMuNzh6Ii8+PC9zdmc+");\n}\n\n.monaco-scrollable-element > .visible {\n\topacity: 1;\n\n\t/* Background rule added for IE9 - to allow clicks on dom node */\n\tbackground:rgba(0,0,0,0);\n\n\t-webkit-transition: opacity 100ms linear;\n\n\t-o-transition: opacity 100ms linear;\n\n\ttransition: opacity 100ms linear;\n}\n.monaco-scrollable-element > .invisible {\n\topacity: 0;\n\tpointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n\t-webkit-transition: opacity 800ms linear;\n\t-o-transition: opacity 800ms linear;\n\ttransition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n\tposition: absolute;\n\tdisplay: none;\n}\n.monaco-scrollable-element > .shadow.top {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 3px;\n\theight: 3px;\n\twidth: 100%;\n\t-webkit-box-shadow: #DDD 0 6px 6px -6px inset;\n\t box-shadow: #DDD 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n\tdisplay: block;\n\ttop: 3px;\n\tleft: 0;\n\theight: 100%;\n\twidth: 3px;\n\t-webkit-box-shadow: #DDD 6px 0 6px -6px inset;\n\t box-shadow: #DDD 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n\tdisplay: block;\n\ttop: 0;\n\tleft: 0;\n\theight: 3px;\n\twidth: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n\t-webkit-box-shadow: #DDD 6px 6px 6px -6px inset;\n\t box-shadow: #DDD 6px 6px 6px -6px inset;\n}\n\n/* ---------- Default Style ---------- */\n\n.vs .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(100, 100, 100, .4);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(121, 121, 121, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider {\n\tbackground: rgba(111, 195, 223, .6);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(100, 100, 100, .7);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider:hover {\n\tbackground: rgba(111, 195, 223, .8);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(0, 0, 0, .6);\n}\n.vs-dark .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(191, 191, 191, .4);\n}\n.hc-black .monaco-scrollable-element > .scrollbar > .slider.active {\n\tbackground: rgba(111, 195, 223, 1);\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top {\n\t-webkit-box-shadow: none;\n\t box-shadow: none;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.left {\n\t-webkit-box-shadow: #000 6px 0 6px -6px inset;\n\t box-shadow: #000 6px 0 6px -6px inset;\n}\n\n.vs-dark .monaco-scrollable-element .shadow.top.left {\n\t-webkit-box-shadow: #000 6px 6px 6px -6px inset;\n\t box-shadow: #000 6px 6px 6px -6px inset;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top {\n\t-webkit-box-shadow: none;\n\t box-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.left {\n\t-webkit-box-shadow: none;\n\t box-shadow: none;\n}\n\n.hc-black .monaco-scrollable-element .shadow.top.left {\n\t-webkit-box-shadow: none;\n\t box-shadow: none;\n}'],sourceRoot:""}])},2421:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,a,s=n(1409),i=n(2087),l=n(1788),u=n(2088),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(a=i.a,r(d,a),d.prototype._updateSlider=function(e,t){this.slider.setWidth(e),this.slider.setLeft(t)},d.prototype._renderDomNode=function(e,t){this.domNode.setWidth(e),this.domNode.setHeight(t),this.domNode.setLeft(0),this.domNode.setBottom(0)},d.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},d.prototype._mouseDownRelativePosition=function(e,t){return e},d.prototype._sliderMousePosition=function(e){return e.posx},d.prototype._sliderOrthogonalMousePosition=function(e){return e.posy},d.prototype.writeScrollPosition=function(e,t){e.scrollLeft=t},d);function d(e,t,n){var o=a.call(this,{lazyRender:t.lazyRender,host:n,scrollbarState:new u.a(t.horizontalHasArrows?t.arrowSize:0,2===t.horizontal?0:t.horizontalScrollbarSize,2===t.vertical?0:t.verticalScrollbarSize),visibility:t.horizontal,extraScrollbarClassName:"horizontal",scrollable:e})||this;if(t.horizontalHasArrows){var i=(t.arrowSize-l.a)/2,r=(t.horizontalScrollbarSize-l.a)/2;o._createArrow({className:"left-arrow",top:r,left:i,bottom:void 0,right:void 0,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new s.b(null,1,0))}}),o._createArrow({className:"right-arrow",top:r,left:void 0,bottom:void 0,right:i,bgWidth:t.arrowSize,bgHeight:t.horizontalScrollbarSize,onActivate:function(){return o._host.onMouseWheel(new s.b(null,-1,0))}})}return o._createSlider(Math.floor((t.horizontalScrollbarSize-t.horizontalSliderSize)/2),0,void 0,t.horizontalSliderSize),o}},2422:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(1239),a=n(868),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.a,s(u,i),u.prototype.applyVisibilitySetting=function(e){return 2!==this._visibility&&(3===this._visibility||e)},u.prototype.setShouldBeVisible=function(e){var t=this.applyVisibilitySetting(e);this._shouldBeVisible!==t&&(this._shouldBeVisible=t,this.ensureVisibility())},u.prototype.setIsNeeded=function(e){this._isNeeded!==e&&(this._isNeeded=e,this.ensureVisibility())},u.prototype.setDomNode=function(e){this._domNode=e,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)},u.prototype.ensureVisibility=function(){this._isNeeded?this._shouldBeVisible?this._reveal():this._hide(!0):this._hide(!1)},u.prototype._reveal=function(){var e=this;this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(function(){e._domNode&&e._domNode.setClassName(e._visibleClassName)},0))},u.prototype._hide=function(e){this._revealTimer.cancel(),this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(e?" fade":"")))},u);function u(e,t,n){var o=i.call(this)||this;return o._visibility=e,o._visibleClassName=t,o._invisibleClassName=n,o._domNode=null,o._isVisible=!1,o._isNeeded=!1,o._shouldBeVisible=!1,o._revealTimer=o._register(new r.d),o}},2423:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,a,s=n(1409),i=n(2087),l=n(1788),u=n(2088),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(a=i.a,r(d,a),d.prototype._updateSlider=function(e,t){this.slider.setHeight(e),this.slider.setTop(t)},d.prototype._renderDomNode=function(e,t){this.domNode.setWidth(t),this.domNode.setHeight(e),this.domNode.setRight(0),this.domNode.setTop(0)},d.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},d.prototype._mouseDownRelativePosition=function(e,t){return t},d.prototype._sliderMousePosition=function(e){return e.posy},d.prototype._sliderOrthogonalMousePosition=function(e){return e.posx},d.prototype.writeScrollPosition=function(e,t){e.scrollTop=t},d);function d(e,t,n){var o=a.call(this,{lazyRender:t.lazyRender,host:n,scrollbarState:new u.a(t.verticalHasArrows?t.arrowSize:0,2===t.vertical?0:t.verticalScrollbarSize,0),visibility:t.vertical,extraScrollbarClassName:"vertical",scrollable:e})||this;if(t.verticalHasArrows){var i=(t.arrowSize-l.a)/2,r=(t.verticalScrollbarSize-l.a)/2;o._createArrow({className:"up-arrow",top:i,left:r,bottom:void 0,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:function(){return o._host.onMouseWheel(new s.b(null,0,1))}}),o._createArrow({className:"down-arrow",top:void 0,left:r,bottom:i,right:void 0,bgWidth:t.verticalScrollbarSize,bgHeight:t.arrowSize,onActivate:function(){return o._host.onMouseWheel(new s.b(null,0,-1))}})}return o._createSlider(0,Math.floor((t.verticalScrollbarSize-t.verticalSliderSize)/2),t.verticalSliderSize,void 0),o}},2424:function(e,t,n){var o=n(2425);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2425:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/glyphMargin/glyphMargin.css"],names:[],mappings:"AAKA,6BACC,kBAAmB,AACnB,KAAO,CACP,AAMD,2CACC,iBAAmB,CACnB",file:"glyphMargin.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n\tposition: absolute;\n\ttop: 0;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n\tposition: absolute;\n}\n"],sourceRoot:""}])},2426:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(2427),a=(n.n(r),n(1498)),C=n(1124),s=n(1351),l=n(1216),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=a.a,u(d,i),d.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,i.prototype.dispose.call(this)},d.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(this._spaceWidth=this._context.configuration.editor.fontInfo.spaceWidth),e.viewInfo&&(this._enabled=this._context.configuration.editor.viewInfo.renderIndentGuides,this._activeIndentEnabled=this._context.configuration.editor.viewInfo.highlightActiveIndentGuide),!0},d.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},d.prototype.onDecorationsChanged=function(e){return!0},d.prototype.onFlushed=function(e){return!0},d.prototype.onLinesChanged=function(e){return!0},d.prototype.onLinesDeleted=function(e){return!0},d.prototype.onLinesInserted=function(e){return!0},d.prototype.onScrollChanged=function(e){return e.scrollTopChanged},d.prototype.onZonesChanged=function(e){return!0},d.prototype.onLanguageConfigurationChanged=function(e){return!0},d.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._context.model.getOptions().indentSize*this._spaceWidth,i=e.scrollWidth,r=this._lineHeight,a=this._context.model.getLinesIndentGuides(t,n),s=0,l=0,u=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var c=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);s=c.startLineNumber,l=c.endLineNumber,u=c.indent}for(var d=[],h=t;h<=n;h++){for(var p=s<=h&&h<=l,f=h-t,g=a[f],m="",b=e.visibleRangeForPosition(new C.a(h,1)),v=b?b.left:0,y=1;y<=g&&(m+='<div class="'+(p&&y===u?"cigra":"cigr")+'" style="left:'+v+"px;height:"+r+"px;width:"+o+'px"></div>',!(i<(v+=o)));y++);d[f]=m}this._renderResult=d}else this._renderResult=null},d.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},d);function d(e){var t=i.call(this)||this;return t._context=e,t._primaryLineNumber=0,t._lineHeight=t._context.configuration.editor.lineHeight,t._spaceWidth=t._context.configuration.editor.fontInfo.spaceWidth,t._enabled=t._context.configuration.editor.viewInfo.renderIndentGuides,t._activeIndentEnabled=t._context.configuration.editor.viewInfo.highlightActiveIndentGuide,t._renderResult=null,t._context.addEventHandler(t),t}Object(l.e)(function(e,t){var n=e.getColor(s.i);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var o=e.getColor(s.a)||n;o&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+o+" inset; }")})},2427:function(e,t,n){var o=n(2428);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2428:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .lines-content .cigr,.monaco-editor .lines-content .cigra{position:absolute}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/indentGuides/indentGuides.css"],names:[],mappings:"AAYA,yEACC,iBAAmB,CACnB",file:"indentGuides.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcigr = core ident guides rendering (div)\n*/\n.monaco-editor .lines-content .cigr {\n\tposition: absolute;\n}\n.monaco-editor .lines-content .cigra {\n\tposition: absolute;\n}\n"],sourceRoot:""}])},2429:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var o,i=n(2430),r=(n.n(i),n(1239)),a=n(1463),s=n(1787),l=n(1283),f=n(2076),g=n(1124),m=n(988),b=n(1590),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(d.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},d.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},d);function d(){this._currentVisibleRange=new m.a(1,1,1,1)}var h,p=function(e,t,n,o,i,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=o,this.stopScrollTop=i,this.scrollType=r},v=(h=l.b,u(y,h),y.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),h.prototype.dispose.call(this)},y.prototype.getDomNode=function(){return this.domNode},y.prototype.createVisibleLine=function(){return new f.b(this._viewLineOptions)},y.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.wrappingInfo&&(this._maxLineWidth=0);var t=this._context.configuration;return e.lineHeight&&(this._lineHeight=t.editor.lineHeight),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=t.editor.fontInfo.typicalHalfwidthCharacterWidth),e.wrappingInfo&&(this._isViewportWrapping=t.editor.wrappingInfo.isViewportWrapping),e.viewInfo&&(this._revealHorizontalRightPadding=t.editor.viewInfo.revealHorizontalRightPadding),e.canUseLayerHinting&&(this._canUseLayerHinting=t.editor.canUseLayerHinting),e.fontInfo&&a.a.applyFontInfo(this.domNode,t.editor.fontInfo),this._onOptionsMaybeChanged(),e.layoutInfo&&(this._maxLineWidth=0),!0},y.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new f.c(e,this._context.theme.type);if(this._viewLineOptions.equals(t))return!1;this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),o=this._visibleLines.getEndLineNumber(),i=n;i<=o;i++)this._visibleLines.getVisibleLine(i).onOptionsChanged(this._viewLineOptions);return!0},y.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=!1,i=t;i<=n;i++)o=this._visibleLines.getVisibleLine(i).onSelectionChanged()||o;return o},y.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=t;o<=n;o++)this._visibleLines.getVisibleLine(o).onDecorationsChanged();return!0},y.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},y.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},y.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},y.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},y.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),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 p(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var o=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&o>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},y.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},y.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},y.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},y.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},y.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var o=this._getLineNumberFor(n);if(-1===o)return null;if(o<1||o>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(o))return new g.a(o,1);var i=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(o<i||r<o)return null;var a=this._visibleLines.getVisibleLine(o).getColumnOfNodeOffset(o,e,t),s=this._context.model.getLineMinColumn(o);return a<s&&(a=s),new g.a(o,a)},y.prototype._getViewLineDomNode=function(e){for(;e&&1===e.nodeType;){if(e.className===f.b.CLASS_NAME)return e;e=e.parentElement}return null},y.prototype._getLineNumberFor=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=t;o<=n;o++)if(e===this._visibleLines.getVisibleLine(o).getDomNode())return o;return-1},y.prototype.getLineWidth=function(e){var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber();return e<t||n<e?-1:this._visibleLines.getVisibleLine(e).getWidth()},y.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,o=m.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!o)return null;var i=[],r=0,a=new f.a(this.domNode.domNode,this._textRangeRestingSpot),s=0;t&&(s=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new g.a(o.startLineNumber,1)).lineNumber);for(var l=this._visibleLines.getStartLineNumber(),u=this._visibleLines.getEndLineNumber(),c=o.startLineNumber;c<=o.endLineNumber;c++)if(!(c<l||u<c)){var d=c===o.startLineNumber?o.startColumn:1,h=c===o.endLineNumber?o.endColumn:this._context.model.getLineMaxColumn(c),p=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,a);p&&0!==p.length&&(t&&c<n&&s!==(s=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new g.a(c+1,1)).lineNumber)&&(p[p.length-1].width+=this._typicalHalfwidthCharacterWidth),i[r++]=new b.b(c,p))}return 0===r?null:i},y.prototype.visibleRangesForRange2=function(e){if(this.shouldRender())return null;var t=m.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!t)return null;for(var n=[],o=new f.a(this.domNode.domNode,this._textRangeRestingSpot),i=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber(),a=t.startLineNumber;a<=t.endLineNumber;a++)if(!(a<i||r<a)){var s=a===t.startLineNumber?t.startColumn:1,l=a===t.endLineNumber?t.endColumn:this._context.model.getLineMaxColumn(a),u=this._visibleLines.getVisibleLine(a).getVisibleRangesForRange(s,l,o);u&&0!==u.length&&(n=n.concat(u))}return 0===n.length?null:n},y.prototype.visibleRangeForPosition=function(e){var t=this.visibleRangesForRange2(new m.a(e.lineNumber,e.column,e.lineNumber,e.column));return t?t[0]:null},y.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},y.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},y.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},y.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),o=1,i=!0,r=t;r<=n;r++){var a=this._visibleLines.getVisibleLine(r);!e||a.getWidthIsFast()?o=Math.max(o,a.getWidth()):i=!1}return i&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(o),i},y.prototype.prepareRender=function(){throw new Error("Not supported")},y.prototype.render=function(){throw new Error("Not supported")},y.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,o=this._horizontalRevealRequest.endColumn,i=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,n,o);this._isViewportWrapping||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===i?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting);var a=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-a),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},y.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidth<t&&(this._maxLineWidth=t,this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth))},y.prototype._computeScrollTopToRevealRange=function(e,t,n){var o,i,r,a=e.top,s=e.height,l=a+s;if(o=this._context.viewLayout.getVerticalOffsetForLineNumber(t.startLineNumber),i=this._context.viewLayout.getVerticalOffsetForLineNumber(t.endLineNumber)+this._lineHeight,0!==n&&4!==n||(i+=this._lineHeight),1===n||2===n)if(2===n&&a<=o&&i<=l)r=a;else{var u=(o+i)/2;r=Math.max(0,u-s/2)}else r=this._computeMinimumScrolling(a,l,o,i,3===n,4===n);return r},y.prototype._computeScrollLeftToRevealRange=function(e,t,n){var o=0,i=this._context.viewLayout.getCurrentViewport(),r=i.left,a=r+i.width,s=this.visibleRangesForRange2(new m.a(e,t,e,n)),l=Number.MAX_VALUE,u=0;if(!s)return{scrollLeft:r,maxHorizontalOffset:o};for(var c=0,d=s;c<d.length;c++){var h=d[c];h.left<l&&(l=h.left),h.left+h.width>u&&(u=h.left+h.width)}return o=u,l=Math.max(0,l-y.HORIZONTAL_EXTRA_PX),u+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(r,a,l,u),maxHorizontalOffset:o}},y.prototype._computeMinimumScrolling=function(e,t,n,o,i,r){i=!!i,r=!!r;var a=(t|=0)-(e|=0);return(o|=0)-(n|=0)<a?i?n:r?Math.max(0,o-a):n<e?n:t<o?Math.max(0,o-a):e:n},y.HORIZONTAL_EXTRA_PX=30,y);function y(e,t){var n=h.call(this,e)||this;n._linesContent=t,n._textRangeRestingSpot=document.createElement("div"),n._visibleLines=new s.b(n),n.domNode=n._visibleLines.domNode;var o=n._context.configuration;return n._lineHeight=o.editor.lineHeight,n._typicalHalfwidthCharacterWidth=o.editor.fontInfo.typicalHalfwidthCharacterWidth,n._isViewportWrapping=o.editor.wrappingInfo.isViewportWrapping,n._revealHorizontalRightPadding=o.editor.viewInfo.revealHorizontalRightPadding,n._canUseLayerHinting=o.editor.canUseLayerHinting,n._viewLineOptions=new f.c(o,n._context.theme.type),l.a.write(n.domNode,7),n.domNode.setClassName("view-lines"),a.a.applyFontInfo(n.domNode,o.editor.fontInfo),n._maxLineWidth=0,n._asyncUpdateLineWidths=new r.c(function(){n._updateLineWidthsSlow()},200),n._lastRenderedData=new c,n._horizontalRevealRequest=null,n}},2430:function(e,t,n){var o=n(2431);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2431:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.monaco-editor .view-lines{cursor:text;white-space:nowrap}.monaco-editor.hc-black.mac .view-lines,.monaco-editor.vs-dark.mac .view-lines{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-line{position:absolute;width:100%}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/lines/viewLines.css"],names:[],mappings:"AAgBA,gIAGC,yBAA0B,AAC1B,qBAAsB,AACtB,sBAAuB,AACvB,oBAAqB,AACrB,gBAAkB,CAClB,AAED,2BACC,YAAa,AACb,kBAAoB,CACpB,AAED,+EAEC,4kBAAglB,CAChlB,AAED,0BACC,kBAAmB,AACnB,UAAY,CACZ",file:"viewLines.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n\tbackground-color: none;\n\tanimation-name: flash-background;\n\tanimation-duration: 800ms;\n}\n@keyframes flash-background {\n\t0% { background-color: lightgreen; }\n\t100% { background-color: none }\n}*/\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\t-moz-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n}\n\n.monaco-editor .view-lines {\n\tcursor: text;\n\twhite-space: nowrap;\n}\n\n.monaco-editor.vs-dark.mac .view-lines,\n.monaco-editor.hc-black.mac .view-lines {\n\tcursor: -webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x, url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8, text;\n}\n\n.monaco-editor .view-line {\n\tposition: absolute;\n\twidth: 100%;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n\tfloat: none;\n\tmin-height: inherit;\n\tmargin-left: inherit;\n}*/"],sourceRoot:""}])},2432:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,r=n(2433),l=(n.n(r),n(1790)),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=l.b,a(u,i),u.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,i.prototype.dispose.call(this)},u.prototype.onConfigurationChanged=function(e){return e.layoutInfo&&(this._decorationsLeft=this._context.configuration.editor.layoutInfo.decorationsLeft,this._decorationsWidth=this._context.configuration.editor.layoutInfo.decorationsWidth),!0},u.prototype.onDecorationsChanged=function(e){return!0},u.prototype.onFlushed=function(e){return!0},u.prototype.onLinesChanged=function(e){return!0},u.prototype.onLinesDeleted=function(e){return!0},u.prototype.onLinesInserted=function(e){return!0},u.prototype.onScrollChanged=function(e){return e.scrollTopChanged},u.prototype.onZonesChanged=function(e){return!0},u.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],o=0,i=0,r=t.length;i<r;i++){var a=t[i],s=a.options.linesDecorationsClassName;s&&(n[o++]=new l.a(a.range.startLineNumber,a.range.endLineNumber,s))}return n},u.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._render(t,n,this._getDecorations(e)),i='" style="left:'+this._decorationsLeft.toString()+"px;width:"+this._decorationsWidth.toString()+'px;"></div>',r=[],a=t;a<=n;a++){for(var s=a-t,l=o[s],u="",c=0,d=l.length;c<d;c++)u+='<div class="cldr '+l[c]+i;r[s]=u}this._renderResult=r},u.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},u);function u(e){var t=i.call(this)||this;return t._context=e,t._decorationsLeft=t._context.configuration.editor.layoutInfo.decorationsLeft,t._decorationsWidth=t._context.configuration.editor.layoutInfo.decorationsWidth,t._renderResult=null,t._context.addEventHandler(t),t}},2433:function(e,t,n){var o=n(2434);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2434:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/linesDecorations/linesDecorations.css"],names:[],mappings:"AAIA,kCACC,kBAAmB,AACnB,MAAO,AACP,eAAkB,CAClB,AAMD,2CACC,kBAAmB,AACnB,WAAa,CACb",file:"linesDecorations.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n\tposition: absolute;\n\ttop: 0;\n\tbackground: white;\n}\n\n/*\n\tKeeping name short for faster parsing.\n\tcldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n\tposition: absolute;\n\theight: 100%;\n}"],sourceRoot:""}])},2435:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var o,i,r=n(2436),l=(n.n(r),n(1790)),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=(i=l.b,a(u,i),u.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,i.prototype.dispose.call(this)},u.prototype.onConfigurationChanged=function(e){return!0},u.prototype.onDecorationsChanged=function(e){return!0},u.prototype.onFlushed=function(e){return!0},u.prototype.onLinesChanged=function(e){return!0},u.prototype.onLinesDeleted=function(e){return!0},u.prototype.onLinesInserted=function(e){return!0},u.prototype.onScrollChanged=function(e){return e.scrollTopChanged},u.prototype.onZonesChanged=function(e){return!0},u.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],o=0,i=0,r=t.length;i<r;i++){var a=t[i],s=a.options.marginClassName;s&&(n[o++]=new l.a(a.range.startLineNumber,a.range.endLineNumber,s))}return n},u.prototype.prepareRender=function(e){for(var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,o=this._render(t,n,this._getDecorations(e)),i=[],r=t;r<=n;r++){for(var a=r-t,s=o[a],l="",u=0,c=s.length;u<c;u++)l+='<div class="cmdr '+s[u]+'" style=""></div>';i[a]=l}this._renderResult=i},u.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},u);function u(e){var t=i.call(this)||this;return t._context=e,t._renderResult=null,t._context.addEventHandler(t),t}},2436:function(e,t,n){var o=n(2437);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2437:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/marginDecorations/marginDecorations.css"],names:[],mappings:"AASA,2CACC,kBAAmB,AACnB,OAAQ,AACR,WAAY,AACZ,WAAa,CACb",file:"marginDecorations.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n\tposition: absolute;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n}"],sourceRoot:""}])},2438:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var o,i=n(2439),r=(n.n(i),n(1126)),s=n(1223),l=n(1674),u=n(1134),S=n(989),a=n(1787),c=n(1283),d=n(988),h=n(1791),A=n(2442),p=n(1546),f=n(1426),g=n(1216),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function _(e){return 2===e?4:4===e?6:1===e?2:3}function L(e){return 2===e?2:4===e?2:1}var b=(v.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.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},v);function v(e){var t=e.editor.pixelRatio,n=e.editor.layoutInfo,o=e.editor.viewInfo,i=e.editor.fontInfo;this.renderMinimap=0|n.renderMinimap,this.scrollBeyondLastLine=o.scrollBeyondLastLine,this.showSlider=o.minimap.showSlider,this.pixelRatio=t,this.typicalHalfwidthCharacterWidth=i.typicalHalfwidthCharacterWidth,this.lineHeight=e.editor.lineHeight,this.minimapLeft=n.minimapLeft,this.minimapWidth=n.minimapWidth,this.minimapHeight=n.height,this.canvasInnerWidth=Math.max(1,Math.floor(t*this.minimapWidth)),this.canvasInnerHeight=Math.max(1,Math.floor(t*this.minimapHeight)),this.canvasOuterWidth=this.canvasInnerWidth/t,this.canvasOuterHeight=this.canvasInnerHeight/t}var y=(C.prototype.getDesiredScrollTopFromDelta=function(e){var t=this.sliderTop+e;return Math.round(t/this._computedSliderRatio)},C.create=function(e,t,n,o,i,r,a,s,l){var u,c,d=e.pixelRatio,h=_(e.renderMinimap),p=Math.floor(e.canvasInnerHeight/h),f=e.lineHeight;if(i&&n!==r){var g=n-t+1;u=Math.floor(g*h/d)}else{var m=o/f;u=Math.floor(m*h/d)}c=e.scrollBeyondLastLine?(r-1)*h/d:Math.max(0,r*h/d-u);var b=(c=Math.min(e.minimapHeight-u,c))/(s-o),v=a*b;if(r<=p)return new C(a,s,b,v,u,y=1,r);var y=Math.max(1,Math.floor(t-v*d/h));return l&&l.scrollHeight===s&&(l.scrollTop>a&&(y=Math.min(y,l.startLineNumber)),l.scrollTop<a&&(y=Math.max(y,l.startLineNumber))),new C(a,s,b,v,u,y,Math.min(r,y+p-1))},C);function C(e,t,n,o,i,r,a){this.scrollTop=e,this.scrollHeight=t,this._computedSliderRatio=n,this.sliderTop=o,this.sliderHeight=i,this.startLineNumber=r,this.endLineNumber=a}var w=(x.prototype.onContentChanged=function(){this.dy=-1},x.prototype.onTokensChanged=function(){this.dy=-1},x.INVALID=new x(-1),x);function x(e){this.dy=e}var D=(k.prototype.linesEquals=function(e){if(this.renderedLayout.startLineNumber!==e.startLineNumber)return!1;if(this.renderedLayout.endLineNumber!==e.endLineNumber)return!1;for(var t=this._renderedLines._get().lines,n=0,o=t.length;n<o;n++)if(-1===t[n].dy)return!1;return!0},k.prototype._get=function(){var e=this._renderedLines._get();return{imageData:this._imageData,rendLineNumberStart:e.rendLineNumberStart,lines:e.lines}},k.prototype.onLinesChanged=function(e){return this._renderedLines.onLinesChanged(e.fromLineNumber,e.toLineNumber)},k.prototype.onLinesDeleted=function(e){this._renderedLines.onLinesDeleted(e.fromLineNumber,e.toLineNumber)},k.prototype.onLinesInserted=function(e){this._renderedLines.onLinesInserted(e.fromLineNumber,e.toLineNumber)},k.prototype.onTokensChanged=function(e){return this._renderedLines.onTokensChanged(e.ranges)},k);function k(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new a.a(function(){return w.INVALID}),this._renderedLines._set(e.startLineNumber,n)}var N=(I.prototype.getBuffer=function(){this._lastUsedBuffer=1-this._lastUsedBuffer;var e=this._buffers[this._lastUsedBuffer];return e.data.set(this._backgroundFillData),e},I._createBackgroundFillData=function(e,t,n){for(var o=n.r,i=n.g,r=n.b,a=new Uint8ClampedArray(e*t*4),s=0,l=0;l<t;l++)for(var u=0;u<e;u++)a[s]=o,a[s+1]=i,a[s+2]=r,a[s+3]=255,s+=4;return a},I);function I(e,t,n,o){this._backgroundFillData=I._createBackgroundFillData(t,n,o),this._buffers=[e.createImageData(t,n),e.createImageData(t,n)],this._lastUsedBuffer=0}var O,E=(O=c.b,m(M,O),M.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),O.prototype.dispose.call(this)},M.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},M.prototype.getDomNode=function(){return this._domNode},M.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._slider.setWidth(this._options.minimapWidth)},M.prototype._getBuffer=function(){return this._buffers||(this._buffers=new N(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers.getBuffer()},M.prototype._onOptionsMaybeChanged=function(){var e=new b(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)},M.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},M.prototype.onFlushed=function(e){return!(this._lastRenderData=null)},M.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},M.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},M.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},M.prototype.onScrollChanged=function(e){return!0},M.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},M.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,!(this._buffers=null)},M.prototype.onZonesChanged=function(e){return!(this._lastRenderData=null)},M.prototype.prepareRender=function(e){},M.prototype.render=function(e){if(0===this._options.renderMinimap)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 t=y.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,0<e.viewportData.whitespaceViewportData.length,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,o=Math.min(this._options.minimapWidth,Math.round(n*L(this._options.renderMinimap)/this._options.pixelRatio));this._sliderHorizontal.setLeft(o),this._sliderHorizontal.setWidth(this._options.minimapWidth-o),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this._lastRenderData=this.renderLines(t)},M.prototype.renderLines=function(e){var t=this._options.renderMinimap,n=e.startLineNumber,o=e.endLineNumber,i=_(t);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var r=this._lastRenderData._get();return new D(e,r.imageData,r.lines)}for(var a=this._getBuffer(),s=M._renderUntouchedLines(a,n,o,i,this._lastRenderData),l=s[0],u=s[1],c=s[2],d=this._context.model.getMinimapLinesRenderingData(n,o,c),h=d.tabSize,p=this._tokensColorTracker.getColor(2),f=this._tokensColorTracker.backgroundIsLight(),g=0,m=[],b=0,v=o-n+1;b<v;b++)c[b]&&M._renderLine(a,p,f,t,this._tokensColorTracker,Object(A.a)(),g,h,d.data[b]),m[b]=new w(g),g+=i;var y=-1===l?0:l,C=(-1===u?a.height:u)-y;return this._canvas.domNode.getContext("2d").putImageData(a,0,0,0,y,a.width,C),new D(e,a,m)},M._renderUntouchedLines=function(e,t,n,o,i){var r=[];if(!i){for(var a=0,s=n-t+1;a<s;a++)r[a]=!0;return[-1,-1,r]}for(var l=i._get(),u=l.imageData.data,c=l.rendLineNumberStart,d=l.lines,h=d.length,p=e.width,f=e.data,g=(n-t+1)*o*p*4,m=-1,b=-1,v=-1,y=-1,C=-1,A=-1,_=0,w=t;w<=n;w++){var x=w-t,S=w-c,L=0<=S&&S<h?d[S].dy:-1;if(-1!==L){var D=L*p*4,k=(L+o)*p*4,N=_*p*4,I=(_+o)*p*4;y===D&&A===N?y=k:(-1!==v&&(f.set(u.subarray(v,y),C),-1===m&&0===v&&v===C&&(m=y),-1===b&&y===g&&v===C&&(b=v)),v=D,y=k,C=N),A=I,r[x]=!1,_+=o}else r[x]=!0,_+=o}return-1!==v&&(f.set(u.subarray(v,y),C),-1===m&&0===v&&v===C&&(m=y),-1===b&&y===g&&v===C&&(b=v)),[-1===m?-1:m/(4*p),-1===b?-1:b/(4*p),r]},M._renderLine=function(e,t,n,o,i,r,a,s,l){for(var u=l.content,c=l.tokens,d=L(o),h=e.width-d,p=0,f=0,g=0,m=0,b=c.getCount();m<b;m++)for(var v=c.getEndOffset(m),y=c.getForeground(m),C=i.getColor(y);f<v;f++){if(h<p)return;var A=u.charCodeAt(f);if(9===A){var _=s-(f+g)%s;g+=_-1,p+=_*d}else if(32===A)p+=d;else for(var w=S.s(A)?2:1,x=0;x<w;x++)if(2===o?r.x2RenderChar(e,p,a,A,C,t,n):1===o?r.x1RenderChar(e,p,a,A,C,t,n):4===o?r.x2BlockRenderChar(e,p,a,C,t,n):r.x1BlockRenderChar(e,p,a,C,t,n),h<(p+=d))return}},M);function M(e){var a=O.call(this,e)||this;return a._options=new b(a._context.configuration),a._lastRenderData=null,a._buffers=null,a._domNode=Object(s.b)(document.createElement("div")),c.a.write(a._domNode,8),a._domNode.setClassName(a._getMinimapDomNodeClassName()),a._domNode.setPosition("absolute"),a._domNode.setAttribute("role","presentation"),a._domNode.setAttribute("aria-hidden","true"),a._shadow=Object(s.b)(document.createElement("div")),a._shadow.setClassName("minimap-shadow-hidden"),a._domNode.appendChild(a._shadow),a._canvas=Object(s.b)(document.createElement("canvas")),a._canvas.setPosition("absolute"),a._canvas.setLeft(0),a._domNode.appendChild(a._canvas),a._slider=Object(s.b)(document.createElement("div")),a._slider.setPosition("absolute"),a._slider.setClassName("minimap-slider"),a._slider.setLayerHinting(!0),a._domNode.appendChild(a._slider),a._sliderHorizontal=Object(s.b)(document.createElement("div")),a._sliderHorizontal.setPosition("absolute"),a._sliderHorizontal.setClassName("minimap-slider-horizontal"),a._slider.appendChild(a._sliderHorizontal),a._tokensColorTracker=h.b.getInstance(),a._applyLayout(),a._mouseDownListener=r.j(a._canvas.domNode,"mousedown",function(e){e.preventDefault();var t=a._options.renderMinimap;if(0!==t&&a._lastRenderData){var n=_(t),o=a._options.pixelRatio*e.browserEvent.offsetY,i=Math.floor(o/n)+a._lastRenderData.renderedLayout.startLineNumber;i=Math.min(i,a._context.model.getLineCount()),a._context.privateViewEventBus.emit(new p.l(new d.a(i,1,i,1),1,!1,0))}}),a._sliderMouseMoveMonitor=new l.a,a._sliderMouseDownListener=r.j(a._slider.domNode,"mousedown",function(e){if(e.preventDefault(),e.leftButton&&a._lastRenderData){var o=e.posy,i=e.posx,r=a._lastRenderData.renderedLayout;a._slider.toggleClassName("active",!0),a._sliderMouseMoveMonitor.startMonitoring(l.b,function(e){var t=Math.abs(e.posx-i);if(u.g&&140<t)a._context.viewLayout.setScrollPositionNow({scrollTop:r.scrollTop});else{var n=e.posy-o;a._context.viewLayout.setScrollPositionNow({scrollTop:r.getDesiredScrollTopFromDelta(n)})}},function(){a._slider.toggleClassName("active",!1)})}}),a}Object(g.e)(function(e,t){var n=e.getColor(f._6);if(n){var o=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+o+"; }")}var i=e.getColor(f._7);if(i){var r=i.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var a=e.getColor(f._5);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(f._4);l&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+l+" -6px 0 6px -6px inset; }")})},2439:function(e,t,n){var o=n(2440);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2440:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;-webkit-transition:opacity .1s linear;-o-transition:opacity .1s linear;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap.css"],names:[],mappings:"AAMA,yDACC,UAAW,AACX,sCAAyC,AACzC,iCAAoC,AACpC,6BAAiC,CACjC,AAID,+HACC,SAAW,CACX,AAGD,sCACC,kBAAmB,AACnB,OAAS,CACT,AACD,uCACC,kBAAmB,AACnB,UAAW,AACX,SAAW,CACX",file:"minimap.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n\topacity: 0;\n\t-webkit-transition: opacity 100ms linear;\n\t-o-transition: opacity 100ms linear;\n\ttransition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n\topacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n\topacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n\n.monaco-editor .minimap-shadow-hidden {\n\tposition: absolute;\n\twidth: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n\tposition: absolute;\n\tleft: -6px;\n\twidth: 6px;\n}\n"],sourceRoot:""}])},2441:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i._clamp=function(e){return e<0?0:255<e?255:0|e},i.Empty=new i(0,0,0,0),i);function i(e,t,n,o){this.r=i._clamp(e),this.g=i._clamp(t),this.b=i._clamp(n),this.a=i._clamp(o)}},2442:function(e,t,n){"use strict";t.a=function(){if(!r){var e=i(s);s=null;var t=i(a);a=null,r=new o.a(t,e)}return r};var o=n(1791);function i(e){for(var t=new Uint8ClampedArray(e.length),n=0,o=e.length;n<o;n++)t[n]=e[n];return t}var r=null;var a=[0,0,0,0,0,0,0,0,39,14,39,14,14,5,29,10,96,96,29,29,0,0,0,0,49,113,195,214,227,166,135,42,40,29,194,38,75,148,197,187,145,0,160,61,75,143,2,183,138,58,163,6,177,223,197,227,38,13,11,4,0,0,0,0,10,54,52,8,62,4,71,122,73,2,19,40,10,50,155,36,79,70,145,121,7,5,0,0,2,1,36,12,204,166,16,5,0,0,0,0,1,0,154,34,0,0,0,0,96,83,0,0,0,0,0,0,0,0,46,34,0,82,2,56,53,3,146,0,146,119,152,132,152,131,145,119,170,42,15,42,15,42,172,194,131,132,0,139,80,28,227,143,159,135,15,118,11,126,171,144,20,124,88,106,217,196,0,106,189,92,168,43,5,130,164,133,130,115,183,65,134,120,141,141,170,196,2,106,31,32,105,2,145,130,116,114,132,135,138,140,138,113,147,137,81,183,129,94,0,0,21,16,4,3,46,34,0,0,45,34,1,0,160,49,0,0,43,143,203,23,1,76,0,0,38,28,131,96,38,28,0,0,168,31,29,191,98,0,118,139,5,113,45,13,37,6,97,115,161,179,204,105,223,224,83,52,111,100,184,186,120,132,212,145,180,139,174,161,212,182,104,162,131,0,131,0,104,161,219,120,110,116,110,116,219,120,207,154,163,40,147,22,207,154,202,159,161,47,145,23,111,0,139,154,144,30,144,135,139,187,110,110,168,161,150,145,110,110,185,162,43,16,43,16,185,162,73,129,0,110,0,110,191,87,149,149,236,48,195,91,146,149,146,0,146,0,146,0,187,173,200,201,222,215,172,147,95,95,193,97,224,129,159,206,97,192,155,139,153,115,153,115,156,140,189,158,123,136,190,64,111,0,155,139,153,115,153,114,156,241,197,148,150,152,170,116,110,157,156,128,169,14,13,159,158,149,212,189,43,16,43,16,43,16,148,110,148,110,147,109,182,151,133,121,106,118,114,103,89,66,94,94,211,188,205,207,139,168,151,152,87,76,101,79,151,152,130,156,125,116,47,29,43,16,169,228,11,103,120,6,230,176,55,49,55,6,55,6,193,102,92,0,71,0,13,30,0,147,63,43,12,43,12,43,142,152,71,53,61,61,0,0,0,0,0,0,0,0,0,0,158,146,25,2,0,0,0,0,0,0,0,0,107,130,170,194,176,188,109,0,203,159,113,111,202,158,0,0,135,135,114,0,136,135,0,109,187,190,148,126,177,187,0,0,149,130,218,105,169,135,37,113,146,113,49,13,49,13,0,0,178,195,147,114,255,255,109,0,193,149,110,109,109,109,12,15,125,41,33,41,144,188,1,6,75,53,10,53,210,161,110,0,152,148,210,60,110,156,213,5,63,5,63,5,45,111,0,0,232,172,190,168,190,169,0,0,190,144,109,109,109,109,0,0,168,140,148,111,168,140,0,0,200,151,113,110,255,158,0,0,184,188,147,139,186,255,0,0,122,130,111,0,109,0,0,0,132,69,109,93,110,136,51,5,205,103,61,6,47,106,0,0,110,109,110,122,155,179,0,0,132,120,113,114,84,63,0,0,124,108,202,189,160,174,0,0,144,142,79,57,159,146,0,0,138,138,119,117,255,69,0,0,97,198,47,38,208,84,23,112,41,14,157,7,121,192,35,11,35,11,35,11,160,61,129,9,40,19,20,139,236,44,0,0,15,3,97,93,0,0],s=[0,0,23,12,53,0,130,127,58,149,67,77,72,198,13,0,25,51,25,49,94,2,8,64,0,24,0,21,0,9,19,27,126,126,51,80,72,105,87,98,73,93,106,85,111,123,87,30,116,126,123,110,4,16,9,28,21,53,8,62,23,52,73,21,132,183,78,142,168,175,70,70,128,128,123,110,125,43,100,139,125,119,78,78,54,77,139,139,33,87,201,117,162,149,130,130,138,60,130,172,149,127,95,98,95,25,118,135,110,85,147,175,105,110,121,30,101,113,34,68,20,26,34,68,56,0,0,44,3,0,27,175,80,133,31,66,85,147,32,150,90,25,45,230,77,101,36,83,22,84,71,118,44,44,52,172,38,101,35,130,40,197,43,197,29,26,23,103,67,44,25,129,29,85,27,177,33,97,32,145,33,77,38,96,20,55,36,95,2,22]},2443:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o,i,r=n(2444),a=(n.n(r),n(1223)),s=n(1283),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(i=s.b,l(c,i),c.prototype.dispose=function(){i.prototype.dispose.call(this),this._widgets={}},c.prototype.getDomNode=function(){return this._domNode},c.prototype.onConfigurationChanged=function(e){return!!e.layoutInfo&&(this._verticalScrollbarWidth=this._context.configuration.editor.layoutInfo.verticalScrollbarWidth,this._minimapWidth=this._context.configuration.editor.layoutInfo.minimapWidth,this._horizontalScrollbarHeight=this._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,this._editorHeight=this._context.configuration.editor.layoutInfo.height,this._editorWidth=this._context.configuration.editor.layoutInfo.width,!0)},c.prototype.addWidget=function(e){var t=Object(a.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()},c.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},c.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},c.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()},c.prototype.prepareRender=function(e){},c.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,o=t.length;n<o;n++){var i=t[n];this._renderWidget(this._widgets[i])}},c);function c(e){var t=i.call(this,e)||this;return t._widgets={},t._verticalScrollbarWidth=t._context.configuration.editor.layoutInfo.verticalScrollbarWidth,t._minimapWidth=t._context.configuration.editor.layoutInfo.minimapWidth,t._horizontalScrollbarHeight=t._context.configuration.editor.layoutInfo.horizontalScrollbarHeight,t._editorHeight=t._context.configuration.editor.layoutInfo.height,t._editorWidth=t._context.configuration.editor.layoutInfo.width,t._domNode=Object(a.b)(document.createElement("div")),s.a.write(t._domNode,4),t._domNode.setClassName("overlayWidgets"),t}},2444:function(e,t,n){var o=n(2445);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2445:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .overlayWidgets{position:absolute;top:0;left:0}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.css"],names:[],mappings:"AAIA,+BACC,kBAAmB,AACnB,MAAO,AACP,MAAO,CACP",file:"overlayWidgets.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n\tposition: absolute;\n\ttop: 0;\n\tleft:0;\n}"],sourceRoot:""}])},2446:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o,i=n(1223),d=n(1499),r=n(1283),a=n(1124),h=n(1251),p=n(1351),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(u.prototype._initLanes=function(e,t,n){var o=t-e;if(3<=n){var i,r,a,s=o-(i=Math.floor(o/3))-(r=Math.floor(o/3)),l=(a=e)+i;return[[0,a,l,a,a+i+s,a,l,a],[0,i,s,i+s,r,i+s+r,s+r,i+s+r]]}return 2===n?[[0,a=e,a,a,a+(i=Math.floor(o/2)),a,a,a],[0,i,i,i,r=o-i,i+r,i+r,i+r]]:[[0,e,e,e,e,e,e,e],[0,o,o,o,o,o,o,o]]},u.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},u);function u(e,t){this.lineHeight=e.editor.lineHeight,this.pixelRatio=e.editor.pixelRatio,this.overviewRulerLanes=e.editor.viewInfo.overviewRulerLanes,this.renderBorder=e.editor.viewInfo.overviewRulerBorder;var n=t.getColor(p.o);this.borderColor=n?n.toString():null,this.hideCursor=e.editor.viewInfo.hideCursorInOverviewRuler;var o=t.getColor(p.d);this.cursorColor=o?o.transparent(.7).toString():null,this.themeType=t.type;var i=e.editor.viewInfo.minimap.enabled,r=e.editor.viewInfo.minimap.side,a=i?h.v.getDefaultBackground():null;this.backgroundColor=null===a||"left"===r?null:d.a.Format.CSS.formatHex(a);var s=e.editor.layoutInfo.overviewRuler;this.top=s.top,this.right=s.right,this.domWidth=s.width,this.domHeight=s.height,this.canvasWidth=this.domWidth*this.pixelRatio|0,this.canvasHeight=this.domHeight*this.pixelRatio|0;var l=this._initLanes(1,this.canvasWidth,this.overviewRulerLanes),u=l[0],c=l[1];this.x=u,this.w=c}var c,f=(c=r.b,s(g,c),g.prototype.dispose=function(){c.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},g.prototype._updateSettings=function(e){var t=new l(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))},g.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},g.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(a.a.compare),!0},g.prototype.onDecorationsChanged=function(e){return!0},g.prototype.onFlushed=function(e){return!0},g.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},g.prototype.onZonesChanged=function(e){return!0},g.prototype.onThemeChanged=function(e){return this._context.model.invalidateOverviewRulerColorCache(),this._updateSettings(!1)},g.prototype.getDomNode=function(){return this._domNode.domNode},g.prototype.prepareRender=function(e){},g.prototype.render=function(e){this._render()},g.prototype._render=function(){var e=this._settings.canvasWidth,t=this._settings.canvasHeight,n=this._settings.lineHeight,o=this._context.viewLayout,i=t/this._context.viewLayout.getScrollHeight(),r=this._context.model.getAllOverviewRulerDecorations(this._context.theme),a=6*this._settings.pixelRatio|0,s=a/2|0,l=this._domNode.domNode.getContext("2d");null===this._settings.backgroundColor?l.clearRect(0,0,e,t):(l.fillStyle=this._settings.backgroundColor,l.fillRect(0,0,e,t));var u=this._settings.x,c=this._settings.w,d=Object.keys(r);d.sort();for(var h=0,p=d.length;h<p;h++){var f=d[h],g=r[f];l.fillStyle=f;for(var m=0,b=0,v=0,y=0,C=g.length;y<C;y++){var A=g[3*y],_=g[3*y+1],w=g[3*y+2],x=o.getVerticalOffsetForLineNumber(_)*i|0;(O=(o.getVerticalOffsetForLineNumber(w)+n)*i|0)-x<a&&((N=(x+O)/2|0)<s?N=s:t<N+s&&(N=t-s),x=N-s,O=N+s),v+1<x||A!==m?(0!==y&&l.fillRect(u[m],b,c[m],v-b),m=A,b=x,v=O):v<O&&(v=O)}l.fillRect(u[m],b,c[m],v-b)}if(!this._settings.hideCursor&&this._settings.cursorColor){var S=2*this._settings.pixelRatio|0,L=S/2|0,D=this._settings.x[7],k=this._settings.w[7];for(l.fillStyle=this._settings.cursorColor,v=b=-100,y=0,C=this._cursorPositions.length;y<C;y++){var N,I=this._cursorPositions[y];(N=o.getVerticalOffsetForLineNumber(I.lineNumber)*i|0)<L?N=L:t<N+L&&(N=t-L);var O=(x=N-L)+S;v+1<x?(0!==y&&l.fillRect(D,b,k,v-b),b=x,v=O):v<O&&(v=O)}l.fillRect(D,b,k,v-b)}this._settings.renderBorder&&this._settings.borderColor&&0<this._settings.overviewRulerLanes&&(l.beginPath(),l.lineWidth=1,l.strokeStyle=this._settings.borderColor,l.moveTo(0,0),l.lineTo(0,t),l.stroke(),l.moveTo(0,0),l.lineTo(e,0),l.stroke())},g);function g(e){var t=c.call(this,e)||this;return t._domNode=Object(i.b)(document.createElement("canvas")),t._domNode.setClassName("decorationsOverviewRuler"),t._domNode.setPosition("absolute"),t._domNode.setLayerHinting(!0),t._domNode.setAttribute("aria-hidden","true"),t._updateSettings(!1),t._tokensColorTrackerListener=h.v.onDidChange(function(e){e.changedColorMap&&t._updateSettings(!0)}),t._cursorPositions=[],t}},2447:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o,i,r=n(1223),a=n(2090),s=n(1589),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(i=s.a,l(c,i),c.prototype.dispose=function(){this._context.removeEventHandler(this),i.prototype.dispose.call(this)},c.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._zoneManager.setLineHeight(this._context.configuration.editor.lineHeight),this._render()),e.pixelRatio&&(this._zoneManager.setPixelRatio(this._context.configuration.editor.pixelRatio),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},c.prototype.onFlushed=function(e){return this._render(),!0},c.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},c.prototype.onZonesChanged=function(e){return this._render(),!0},c.prototype.getDomNode=function(){return this._domNode.domNode},c.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)&&(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())},c.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},c.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),o=this._zoneManager.getId2Color(),i=this._domNode.domNode.getContext("2d");return i.clearRect(0,0,e,t),0<n.length&&this._renderOneLane(i,n,o,e),!0},c.prototype._renderOneLane=function(e,t,n,o){for(var i=0,r=0,a=0,s=0,l=t;s<l.length;s++){var u=l[s],c=u.colorId,d=u.from,h=u.to;a=c!==i?(e.fillRect(0,r,o,a-r),i=c,e.fillStyle=n[i],r=d,h):d<=a?Math.max(a,h):(e.fillRect(0,r,o,a-r),r=d,h)}e.fillRect(0,r,o,a-r)},c);function c(e,t){var n=i.call(this)||this;return n._context=e,n._domNode=Object(r.b)(document.createElement("canvas")),n._domNode.setClassName(t),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._zoneManager=new a.b(function(e){return n._context.viewLayout.getVerticalOffsetForLineNumber(e)}),n._zoneManager.setDOMWidth(0),n._zoneManager.setDOMHeight(0),n._zoneManager.setOuterHeight(n._context.viewLayout.getScrollHeight()),n._zoneManager.setLineHeight(n._context.configuration.editor.lineHeight),n._zoneManager.setPixelRatio(n._context.configuration.editor.pixelRatio),n._context.addEventHandler(n),n}},2448:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o,i,r=n(2449),a=(n.n(r),n(1223)),s=n(1283),l=n(1351),u=n(1216),c=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(i=s.b,c(h,i),h.prototype.dispose=function(){i.prototype.dispose.call(this)},h.prototype.onConfigurationChanged=function(e){return!!(e.viewInfo||e.layoutInfo||e.fontInfo)&&(this._rulers=this._context.configuration.editor.viewInfo.rulers,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,!0)},h.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},h.prototype.prepareRender=function(e){},h.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e<t)for(var n=this._context.model.getOptions().tabSize,o=t-e;0<o;)(r=Object(a.b)(document.createElement("div"))).setClassName("view-ruler"),r.setWidth(n),this.domNode.appendChild(r),this._renderedRulers.push(r),o--;else for(var i=e-t;0<i;){var r=this._renderedRulers.pop();this.domNode.removeChild(r),i--}},h.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t<n;t++){var o=this._renderedRulers[t];o.setHeight(Math.min(e.scrollHeight,1e6)),o.setLeft(this._rulers[t]*this._typicalHalfwidthCharacterWidth)}},h);function h(e){var t=i.call(this,e)||this;return t.domNode=Object(a.b)(document.createElement("div")),t.domNode.setAttribute("role","presentation"),t.domNode.setAttribute("aria-hidden","true"),t.domNode.setClassName("view-rulers"),t._renderedRulers=[],t._rulers=t._context.configuration.editor.viewInfo.rulers,t._typicalHalfwidthCharacterWidth=t._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,t}Object(u.e)(function(e,t){var n=e.getColor(l.p);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")})},2449:function(e,t,n){var o=n(2450);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2450:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .view-ruler{position:absolute;top:0}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/rulers/rulers.css"],names:[],mappings:"AAKA,2BACC,kBAAmB,AACnB,KAAO,CACP",file:"rulers.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n\tposition: absolute;\n\ttop: 0;\n}"],sourceRoot:""}])},2451:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o,i,r=n(2452),a=(n.n(r),n(1223)),s=n(1283),l=n(1426),u=n(1216),c=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(i=s.b,c(h,i),h.prototype.dispose=function(){i.prototype.dispose.call(this)},h.prototype._updateShouldShow=function(){var e=this._useShadows&&0<this._scrollTop;return this._shouldShow!==e&&(this._shouldShow=e,!0)},h.prototype.getDomNode=function(){return this._domNode},h.prototype._updateWidth=function(){var e=this._context.configuration.editor.layoutInfo,t=0;return t=0===e.renderMinimap||0<e.minimapWidth&&0===e.minimapLeft?e.width:e.width-e.minimapWidth-e.verticalScrollbarWidth,this._width!==t&&(this._width=t,!0)},h.prototype.onConfigurationChanged=function(e){var t=!1;return e.viewInfo&&(this._useShadows=this._context.configuration.editor.viewInfo.scrollbar.useShadows),e.layoutInfo&&(t=this._updateWidth()),this._updateShouldShow()||t},h.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},h.prototype.prepareRender=function(e){},h.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},h);function h(e){var t=i.call(this,e)||this;return t._scrollTop=0,t._width=0,t._updateWidth(),t._shouldShow=!1,t._useShadows=t._context.configuration.editor.viewInfo.scrollbar.useShadows,t._domNode=Object(a.b)(document.createElement("div")),t._domNode.setAttribute("role","presentation"),t._domNode.setAttribute("aria-hidden","true"),t}Object(u.e)(function(e,t){var n=e.getColor(l._4);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")})},2452:function(e,t,n){var o=n(2453);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2453:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.css"],names:[],mappings:"AAKA,kCACC,kBAAmB,AACnB,MAAO,AACP,OAAQ,AACR,UAAY,CACZ",file:"scrollDecoration.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\theight: 6px;\n}"],sourceRoot:""}])},2454:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o,i=n(2455),r=(n.n(i),n(1304)),a=n(1498),s=n(1426),l=n(1216),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},d=function(e,t){this.lineNumber=e,this.ranges=t};function h(e){return new c(e)}function p(e){return new d(e.lineNumber,e.ranges.map(h))}var f,g=r.g,m=(f=a.a,u(S,f),S.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,f.prototype.dispose.call(this)},S.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.viewInfo&&(this._roundedSelection=this._context.configuration.editor.viewInfo.roundedSelection),e.fontInfo&&(this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),!0},S.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},S.prototype.onDecorationsChanged=function(e){return!0},S.prototype.onFlushed=function(e){return!0},S.prototype.onLinesChanged=function(e){return!0},S.prototype.onLinesDeleted=function(e){return!0},S.prototype.onLinesInserted=function(e){return!0},S.prototype.onScrollChanged=function(e){return e.scrollTopChanged},S.prototype.onZonesChanged=function(e){return!0},S.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t<n;t++)if(1<e[t].ranges.length)return!0;return!1},S.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var o=this._typicalHalfwidthCharacterWidth/4,i=null,r=null;if(n&&0<n.length&&0<t.length){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;!r&&0<=s;s--)n[s].lineNumber===l&&(r=n[s].ranges[0]);i&&!i.startStyle&&(i=null),r&&!r.startStyle&&(r=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,p={top:0,bottom:0},f={top:0,bottom:0};if(0<s){var g=t[s-1].ranges[0].left,m=t[s-1].ranges[0].left+t[s-1].ranges[0].width;y(d-g)<o?p.top=2:g<d&&(p.top=1),y(h-m)<o?f.top=2:g<h&&h<m&&(f.top=1)}else i&&(p.top=i.startStyle.top,f.top=i.endStyle.top);if(s+1<u){var b=t[s+1].ranges[0].left,v=t[s+1].ranges[0].left+t[s+1].ranges[0].width;y(d-b)<o?p.bottom=2:b<d&&d<v&&(p.bottom=1),y(h-v)<o?f.bottom=2:h<v&&(f.bottom=1)}else r&&(p.bottom=r.startStyle.bottom,f.bottom=r.endStyle.bottom);c.startStyle=p,c.endStyle=f}},S.prototype._getVisibleRangesWithStyle=function(e,t,n){var o=(t.linesVisibleRangesForRange(e,!0)||[]).map(p),i=this._visibleRangesHaveGaps(o);return g||i||!this._roundedSelection||this._enrichVisibleRangesWithStyle(t.visibleRange,o,n),o},S.prototype._createSelectionPiece=function(e,t,n,o,i){return'<div class="cslr '+n+'" style="top:'+e.toString()+"px;left:"+o.toString()+"px;width:"+i.toString()+"px;height:"+t+'px;"></div>'},S.prototype._actualRenderOneSelection=function(e,t,n,o){for(var i=0<o.length&&o[0].ranges[0].startStyle,r=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),s=0<o.length?o[0].lineNumber:0,l=0<o.length?o[o.length-1].lineNumber:0,u=0,c=o.length;u<c;u++){for(var d=o[u],h=d.lineNumber,p=h-t,f=!n||h!==l&&h!==s?r:a,g=n&&h===s?1:0,m="",b=0,v=d.ranges.length;b<v;b++){var y=d.ranges[b];if(i){var C=y.startStyle,A=y.endStyle;if(1===C.top||1===C.bottom){m+=this._createSelectionPiece(g,f,S.SELECTION_CLASS_NAME,y.left-S.ROUNDED_PIECE_WIDTH,S.ROUNDED_PIECE_WIDTH);var _=S.EDITOR_BACKGROUND_CLASS_NAME;1===C.top&&(_+=" "+S.SELECTION_TOP_RIGHT),1===C.bottom&&(_+=" "+S.SELECTION_BOTTOM_RIGHT),m+=this._createSelectionPiece(g,f,_,y.left-S.ROUNDED_PIECE_WIDTH,S.ROUNDED_PIECE_WIDTH)}if(1===A.top||1===A.bottom){m+=this._createSelectionPiece(g,f,S.SELECTION_CLASS_NAME,y.left+y.width,S.ROUNDED_PIECE_WIDTH);var w=S.EDITOR_BACKGROUND_CLASS_NAME;1===A.top&&(w+=" "+S.SELECTION_TOP_LEFT),1===A.bottom&&(w+=" "+S.SELECTION_BOTTOM_LEFT),m+=this._createSelectionPiece(g,f,w,y.left+y.width,S.ROUNDED_PIECE_WIDTH)}}var x=S.SELECTION_CLASS_NAME;i&&(C=y.startStyle,A=y.endStyle,0===C.top&&(x+=" "+S.SELECTION_TOP_LEFT),0===C.bottom&&(x+=" "+S.SELECTION_BOTTOM_LEFT),0===A.top&&(x+=" "+S.SELECTION_TOP_RIGHT),0===A.bottom&&(x+=" "+S.SELECTION_BOTTOM_RIGHT)),m+=this._createSelectionPiece(g,f,x,y.left,y.width)}e[p]+=m}},S.prototype.prepareRender=function(e){for(var t=[],n=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,i=n;i<=o;i++)t[i-n]="";for(var r=[],a=0,s=this._selections.length;a<s;a++){var l=this._selections[a];if(l.isEmpty())r[a]=null;else{var u=this._getVisibleRangesWithStyle(l,e,this._previousFrameVisibleRangesWithStyle[a]);r[a]=u,this._actualRenderOneSelection(t,n,1<this._selections.length,u)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t},S.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},S.SELECTION_CLASS_NAME="selected-text",S.SELECTION_TOP_LEFT="top-left-radius",S.SELECTION_BOTTOM_LEFT="bottom-left-radius",S.SELECTION_TOP_RIGHT="top-right-radius",S.SELECTION_BOTTOM_RIGHT="bottom-right-radius",S.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",S.ROUNDED_PIECE_WIDTH=10,S);function S(e){var t=f.call(this)||this;return t._previousFrameVisibleRangesWithStyle=[],t._context=e,t._lineHeight=t._context.configuration.editor.lineHeight,t._roundedSelection=t._context.configuration.editor.viewInfo.roundedSelection,t._typicalHalfwidthCharacterWidth=t._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,t._selections=[],t._renderResult=null,t._context.addEventHandler(t),t}function y(e){return e<0?-e:e}Object(l.e)(function(e,t){var n=e.getColor(s.q);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var o=e.getColor(s.p);o&&t.addRule(".monaco-editor .selected-text { background-color: "+o+"; }");var i=e.getColor(s.r);i&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+i+"; }")})},2455:function(e,t,n){var o=n(2456);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2456:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/selections/selections.css"],names:[],mappings:"AASA,oCACC,iBAAmB,CACnB,AAED,gCAAqC,0BAA4B,CAAE,AACnE,mCAAwC,6BAA+B,CAAE,AACzE,iCAAsC,2BAA6B,CAAE,AACrE,oCAAwC,8BAAgC,CAAE,AAE1E,yCAA4C,wBAA0B,CAAE,AACxE,4CAA+C,2BAA6B,CAAE,AAC9E,0CAA6C,yBAA2B,CAAE,AAC1E,6CAA+C,4BAA8B,CAAE",file:"selections.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n\tKeeping name short for faster parsing.\n\tcslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n\tposition: absolute;\n}\n\n.monaco-editor\t\t\t.top-left-radius\t\t{ border-top-left-radius: 3px; }\n.monaco-editor\t\t\t.bottom-left-radius\t\t{ border-bottom-left-radius: 3px; }\n.monaco-editor\t\t\t.top-right-radius\t\t{ border-top-right-radius: 3px; }\n.monaco-editor\t\t\t.bottom-right-radius\t{ border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius\t\t{ border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius\t\t{ border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius\t\t{ border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius\t{ border-bottom-right-radius: 0; }\n"],sourceRoot:""}])},2457:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o,i,r=n(2458),a=(n.n(r),n(1223)),s=n(1239),l=n(1283),u=n(2460),c=n(1422),d=n(1351),h=n(1216),p=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=(i=l.b,p(g,i),g.prototype.dispose=function(){i.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},g.prototype.getDomNode=function(){return this._domNode},g.prototype.onConfigurationChanged=function(e){e.readOnly&&(this._readOnly=this._context.configuration.editor.readOnly),e.viewInfo&&(this._cursorBlinking=this._context.configuration.editor.viewInfo.cursorBlinking,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._cursorSmoothCaretAnimation=this._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation),this._primaryCursor.onConfigurationChanged(e),this._updateBlinking(),e.viewInfo&&this._updateDomClassName();for(var t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].onConfigurationChanged(e);return!0},g.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,o=0;o<n;o++){var i=new u.a(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 r=this._secondaryCursors.length-t.length;for(o=0;o<r;o++)this._domNode.removeChild(this._secondaryCursors[0].getDomNode()),this._secondaryCursors.splice(0,1)}for(o=0;o<t.length;o++)this._secondaryCursors[o].onCursorPositionChanged(t[o])},g.prototype.onCursorStateChanged=function(e){for(var t=[],n=0,o=e.selections.length;n<o;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},g.prototype.onDecorationsChanged=function(e){return!0},g.prototype.onFlushed=function(e){return!0},g.prototype.onFocusChanged=function(e){return this._editorHasFocus=e.isFocused,this._updateBlinking(),!1},g.prototype.onLinesChanged=function(e){return!0},g.prototype.onLinesDeleted=function(e){return!0},g.prototype.onLinesInserted=function(e){return!0},g.prototype.onScrollChanged=function(e){return!0},g.prototype.onTokensChanged=function(o){function e(e){for(var t=0,n=o.ranges.length;t<n;t++)if(o.ranges[t].fromLineNumber<=e.lineNumber&&e.lineNumber<=o.ranges[t].toLineNumber)return!0;return!1}if(e(this._primaryCursor.getPosition()))return!0;for(var t=0,n=this._secondaryCursors;t<n.length;t++)if(e(n[t].getPosition()))return!0;return!1},g.prototype.onZonesChanged=function(e){return!0},g.prototype._getCursorBlinking=function(){return this._editorHasFocus?this._readOnly?5:this._cursorBlinking:0},g.prototype._updateBlinking=function(){var e=this;this._startCursorBlinkAnimation.cancel(),this._cursorFlatBlinkInterval.cancel();var t=this._getCursorBlinking(),n=0===t,o=5===t;n?this._hide():this._show(),this._blinkingEnabled=!1,this._updateDomClassName(),n||o||(1===t?this._cursorFlatBlinkInterval.cancelAndSet(function(){e._isVisible?e._hide():e._show()},g.BLINK_INTERVAL):this._startCursorBlinkAnimation.setIfNotSet(function(){e._blinkingEnabled=!0,e._updateDomClassName()},g.BLINK_INTERVAL))},g.prototype._updateDomClassName=function(){this._domNode.setClassName(this._getClassName())},g.prototype._getClassName=function(){var e="cursors-layer";switch(this._selectionIsEmpty||(e+=" has-selection"),this._cursorStyle){case c.g.Line:e+=" cursor-line-style";break;case c.g.Block:e+=" cursor-block-style";break;case c.g.Underline:e+=" cursor-underline-style";break;case c.g.LineThin:e+=" cursor-line-thin-style";break;case c.g.BlockOutline:e+=" cursor-block-outline-style";break;case c.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},g.prototype._show=function(){this._primaryCursor.show();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].show();this._isVisible=!0},g.prototype._hide=function(){this._primaryCursor.hide();for(var e=0,t=this._secondaryCursors.length;e<t;e++)this._secondaryCursors[e].hide();this._isVisible=!1},g.prototype.prepareRender=function(e){this._primaryCursor.prepareRender(e);for(var t=0,n=this._secondaryCursors.length;t<n;t++)this._secondaryCursors[t].prepareRender(e)},g.prototype.render=function(e){var t=[],n=0,o=this._primaryCursor.render(e);o&&(t[n++]=o);for(var i=0,r=this._secondaryCursors.length;i<r;i++){var a=this._secondaryCursors[i].render(e);a&&(t[n++]=a)}this._renderData=t},g.prototype.getLastRenderData=function(){return this._renderData},g.BLINK_INTERVAL=500,g);function g(e){var t=i.call(this,e)||this;return t._readOnly=t._context.configuration.editor.readOnly,t._cursorBlinking=t._context.configuration.editor.viewInfo.cursorBlinking,t._cursorStyle=t._context.configuration.editor.viewInfo.cursorStyle,t._cursorSmoothCaretAnimation=t._context.configuration.editor.viewInfo.cursorSmoothCaretAnimation,t._selectionIsEmpty=!0,t._primaryCursor=new u.a(t._context),t._secondaryCursors=[],t._renderData=[],t._domNode=Object(a.b)(document.createElement("div")),t._domNode.setAttribute("role","presentation"),t._domNode.setAttribute("aria-hidden","true"),t._updateDomClassName(),t._domNode.appendChild(t._primaryCursor.getDomNode()),t._startCursorBlinkAnimation=new s.d,t._cursorFlatBlinkInterval=new s.b,t._blinkingEnabled=!1,t._editorHasFocus=!1,t._updateBlinking(),t}Object(h.e)(function(e,t){var n=e.getColor(d.d);if(n){var o=e.getColor(d.c);o=o||n.opposite(),t.addRule(".monaco-editor .cursor { background-color: "+n+"; border-color: "+n+"; color: "+o+"; }"),"hc"===e.type&&t.addRule(".monaco-editor .cursors-layer.has-selection .cursor { border-left: 1px solid "+o+"; border-right: 1px solid "+o+"; }")}})},2458:function(e,t,n){var o=n(2459);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2459:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;cursor:text;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{-webkit-transition:80ms;-o-transition:80ms;transition:80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;-webkit-box-sizing:border-box;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;-webkit-box-sizing:border-box;box-sizing:border-box}@-webkit-keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@-webkit-keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@-webkit-keyframes monaco-cursor-expand{0%,20%{-webkit-transform:scaleY(1);transform:scaleY(1)}80%,to{-webkit-transform:scaleY(0);transform:scaleY(0)}}@keyframes monaco-cursor-expand{0%,20%{-webkit-transform:scaleY(1);transform:scaleY(1)}80%,to{-webkit-transform:scaleY(0);transform:scaleY(0)}}.cursor-smooth{-webkit-animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{-webkit-animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{-webkit-animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate;animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/viewParts/viewCursors/viewCursors.css"],names:[],mappings:"AAIA,8BACC,kBAAmB,AACnB,KAAO,CACP,AAED,sCACC,kBAAmB,AACnB,YAAa,AACb,eAAiB,CACjB,AAGD,oEACC,wBAAyB,AACzB,mBAAoB,AACpB,eAAiB,CACjB,AAGD,iEACC,8BAA+B,AACvB,sBAAuB,AAC/B,iCAAmC,AACnC,mBAAoB,AACpB,gBAAkB,CAClB,AAGD,6DACC,wBAAyB,AACzB,0BAA2B,AAC3B,iCAAmC,AACnC,8BAA+B,AACvB,qBAAuB,CAC/B,AAGD,kEACC,wBAAyB,AACzB,0BAA2B,AAC3B,iCAAmC,AACnC,8BAA+B,AACvB,qBAAuB,CAC/B,AAED,wCACC,OAEC,SAAW,CACX,AACD,OAEC,SAAW,CACX,CACD,AAED,gCACC,OAEC,SAAW,CACX,AACD,OAEC,SAAW,CACX,CACD,AAED,uCACC,OAEC,SAAW,CACX,AACD,OAEC,SAAW,CACX,CACD,AAED,+BACC,OAEC,SAAW,CACX,AACD,OAEC,SAAW,CACX,CACD,AAED,wCACC,OAEC,4BAA6B,AACrB,mBAAqB,CAC7B,AACD,OAEC,4BAA6B,AACrB,mBAAqB,CAC7B,CACD,AAED,gCACC,OAEC,4BAA6B,AACrB,mBAAqB,CAC7B,AACD,OAEC,4BAA6B,AACrB,mBAAqB,CAC7B,CACD,AAED,eACC,uEAAyE,AACjE,8DAAiE,CACzE,AAED,cACC,sEAAwE,AAChE,6DAAgE,CACxE,AAED,uBACC,uEAAyE,AACjE,8DAAiE,CACzE",file:"viewCursors.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n\tposition: absolute;\n\ttop: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n\tposition: absolute;\n\tcursor: text;\n\toverflow: hidden;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n\t-webkit-transition: 80ms;\n\t-o-transition: 80ms;\n\ttransition: 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\tbackground: transparent !important;\n\tborder-style: solid;\n\tborder-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n\tborder-bottom-width: 2px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tbackground: transparent !important;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n}\n\n@-webkit-keyframes monaco-cursor-smooth {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t60%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-smooth {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t60%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@-webkit-keyframes monaco-cursor-phase {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t90%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes monaco-cursor-phase {\n\t0%,\n\t20% {\n\t\topacity: 1;\n\t}\n\t90%,\n\t100% {\n\t\topacity: 0;\n\t}\n}\n\n@-webkit-keyframes monaco-cursor-expand {\n\t0%,\n\t20% {\n\t\t-webkit-transform: scaleY(1);\n\t\t transform: scaleY(1);\n\t}\n\t80%,\n\t100% {\n\t\t-webkit-transform: scaleY(0);\n\t\t transform: scaleY(0);\n\t}\n}\n\n@keyframes monaco-cursor-expand {\n\t0%,\n\t20% {\n\t\t-webkit-transform: scaleY(1);\n\t\t transform: scaleY(1);\n\t}\n\t80%,\n\t100% {\n\t\t-webkit-transform: scaleY(0);\n\t\t transform: scaleY(0);\n\t}\n}\n\n.cursor-smooth {\n\t-webkit-animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n\t animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n\t-webkit-animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n\t animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n\t-webkit-animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n\t animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}"],sourceRoot:""}])},2460:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var f=n(1126),o=n(1223),g=n(989),i=n(1463),m=n(1422),r=n(1124),b=n(988),v=function(e,t,n,o,i,r){this.top=e,this.left=t,this.width=n,this.height=o,this.textContent=i,this.textContentClassName=r},a=(s.prototype.getDomNode=function(){return this._domNode},s.prototype.getPosition=function(){return this._position},s.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},s.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},s.prototype.onConfigurationChanged=function(e){return e.lineHeight&&(this._lineHeight=this._context.configuration.editor.lineHeight),e.fontInfo&&(i.a.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth),e.viewInfo&&(this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth)),!0},s.prototype.onCursorPositionChanged=function(e){return this.updatePosition(e),!0},s.prototype._prepareRender=function(e){var t="",n="";if(this._cursorStyle===m.g.Line||this._cursorStyle===m.g.LineThin){var o,i=e.visibleRangeForPosition(this._position);if(!i)return null;this._cursorStyle===m.g.Line?2<(o=f.n(0<this._lineCursorWidth?this._lineCursorWidth:2))&&(t=this._context.model.getLineContent(this._position.lineNumber).charAt(this._position.column-1)):o=f.n(1);var r=i.left;2<=o&&1<=r&&(r-=1);var a=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new v(a,r,o,this._lineHeight,t,n)}var s=e.linesVisibleRangesForRange(new b.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+1),!1);if(!s||0===s.length||0===s[0].ranges.length)return null;var l=s[0].ranges[0],u=l.width<1?this._typicalHalfwidthCharacterWidth:l.width;if(this._cursorStyle===m.g.Block){var c=this._context.model.getViewLineData(this._position.lineNumber);t=c.content.charAt(this._position.column-1),g.t(c.content.charCodeAt(this._position.column-1))&&(t+=c.content.charAt(this._position.column));var d=c.tokens.findTokenIndexAtOffset(this._position.column-1);n=c.tokens.getClassName(d)}var h=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,p=this._lineHeight;return this._cursorStyle!==m.g.Underline&&this._cursorStyle!==m.g.UnderlineThin||(h+=this._lineHeight-2,p=2),new v(h,l.left,u,p,t,n)},s.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},s.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)},s.prototype.updatePosition=function(e){this._position=e},s);function s(e){this._context=e,this._cursorStyle=this._context.configuration.editor.viewInfo.cursorStyle,this._lineHeight=this._context.configuration.editor.lineHeight,this._typicalHalfwidthCharacterWidth=this._context.configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(this._context.configuration.editor.viewInfo.cursorWidth,this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(o.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),i.a.applyFontInfo(this._domNode,this._context.configuration.editor.fontInfo),this._domNode.setDisplay("none"),this.updatePosition(new r.a(1,1)),this._lastRenderedContent="",this._renderData=null}},2461:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(1223),a=n(1222),s=n(1283),l=n(1124),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=s.b,u(d,i),d.prototype.dispose=function(){i.prototype.dispose.call(this),this._zones={}},d.prototype._recomputeWhitespacesProps=function(){for(var e=!1,t=Object.keys(this._zones),n=0,o=t.length;n<o;n++){var i=t[n],r=this._zones[i],a=this._computeWhitespaceProps(r.delegate);this._context.viewLayout.changeWhitespace(parseInt(i,10),a.afterViewLineNumber,a.heightInPx)&&(this._safeCallOnComputedHeight(r.delegate,a.heightInPx),e=!0)}return e},d.prototype.onConfigurationChanged=function(e){return e.lineHeight?(this._lineHeight=this._context.configuration.editor.lineHeight,this._recomputeWhitespacesProps()):(e.layoutInfo&&(this._contentWidth=this._context.configuration.editor.layoutInfo.contentWidth,this._contentLeft=this._context.configuration.editor.layoutInfo.contentLeft),!0)},d.prototype.onLineMappingChanged=function(e){var t=this._recomputeWhitespacesProps();return t&&this._context.viewLayout.onHeightMaybeChanged(),t},d.prototype.onLinesDeleted=function(e){return!0},d.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},d.prototype.onZonesChanged=function(e){return!0},d.prototype.onLinesInserted=function(e){return!0},d.prototype._getZoneOrdinal=function(e){return void 0!==e.afterColumn?e.afterColumn:1e4},d.prototype._computeWhitespaceProps=function(e){if(0===e.afterLineNumber)return{afterViewLineNumber:0,heightInPx:this._heightInPixels(e),minWidthInPx:this._minWidthInPixels(e)};var t,n;if(void 0!==e.afterColumn)t=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:e.afterColumn});else{var o=this._context.model.validateModelPosition({lineNumber:e.afterLineNumber,column:1}).lineNumber;t=new l.a(o,this._context.model.getModelLineMaxColumn(o))}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),r=this._context.model.coordinatesConverter.modelPositionIsVisible(n);return{afterViewLineNumber:i.lineNumber,heightInPx:r?this._heightInPixels(e):0,minWidthInPx:this._minWidthInPixels(e)}},d.prototype.addZone=function(e){var t=this._computeWhitespaceProps(e),n={whitespaceId:this._context.viewLayout.addWhitespace(t.afterViewLineNumber,this._getZoneOrdinal(e),t.heightInPx,t.minWidthInPx),delegate:e,isVisible:!1,domNode:Object(r.b)(e.domNode),marginDomNode:e.marginDomNode?Object(r.b)(e.marginDomNode):null};return this._safeCallOnComputedHeight(n.delegate,t.heightInPx),n.domNode.setPosition("absolute"),n.domNode.domNode.style.width="100%",n.domNode.setDisplay("none"),n.domNode.setAttribute("monaco-view-zone",n.whitespaceId.toString()),this.domNode.appendChild(n.domNode),n.marginDomNode&&(n.marginDomNode.setPosition("absolute"),n.marginDomNode.domNode.style.width="100%",n.marginDomNode.setDisplay("none"),n.marginDomNode.setAttribute("monaco-view-zone",n.whitespaceId.toString()),this.marginDomNode.appendChild(n.marginDomNode)),this._zones[n.whitespaceId.toString()]=n,this.setShouldRender(),n.whitespaceId},d.prototype.removeZone=function(e){if(this._zones.hasOwnProperty(e.toString())){var t=this._zones[e.toString()];return delete this._zones[e.toString()],this._context.viewLayout.removeWhitespace(t.whitespaceId),t.domNode.removeAttribute("monaco-visible-view-zone"),t.domNode.removeAttribute("monaco-view-zone"),t.domNode.domNode.parentNode.removeChild(t.domNode.domNode),t.marginDomNode&&(t.marginDomNode.removeAttribute("monaco-visible-view-zone"),t.marginDomNode.removeAttribute("monaco-view-zone"),t.marginDomNode.domNode.parentNode.removeChild(t.marginDomNode.domNode)),this.setShouldRender(),!0}return!1},d.prototype.layoutZone=function(e){var t=!1;if(this._zones.hasOwnProperty(e.toString())){var n=this._zones[e.toString()],o=this._computeWhitespaceProps(n.delegate);(t=this._context.viewLayout.changeWhitespace(n.whitespaceId,o.afterViewLineNumber,o.heightInPx)||t)&&(this._safeCallOnComputedHeight(n.delegate,o.heightInPx),this.setShouldRender())}return t},d.prototype.shouldSuppressMouseDownOnViewZone=function(e){if(this._zones.hasOwnProperty(e.toString())){var t=this._zones[e.toString()];return Boolean(t.delegate.suppressMouseDown)}return!1},d.prototype._heightInPixels=function(e){return"number"==typeof e.heightInPx?e.heightInPx:"number"==typeof e.heightInLines?this._lineHeight*e.heightInLines:this._lineHeight},d.prototype._minWidthInPixels=function(e){return"number"==typeof e.minWidthInPx?e.minWidthInPx:0},d.prototype._safeCallOnComputedHeight=function(e,t){if("function"==typeof e.onComputedHeight)try{e.onComputedHeight(t)}catch(e){Object(a.e)(e)}},d.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(a.e)(e)}},d.prototype.prepareRender=function(e){},d.prototype.render=function(e){for(var t=e.viewportData.whitespaceViewportData,n={},o=!1,i=0,r=t.length;i<r;i++)n[t[i].id.toString()]=t[i],o=!0;var a=Object.keys(this._zones);for(i=0,r=a.length;i<r;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))}o&&(this.domNode.setWidth(Math.max(e.scrollWidth,this._contentWidth)),this.marginDomNode.setWidth(this._contentLeft))},d);function d(e){var t=i.call(this,e)||this;return t._lineHeight=t._context.configuration.editor.lineHeight,t._contentWidth=t._context.configuration.editor.layoutInfo.contentWidth,t._contentLeft=t._context.configuration.editor.layoutInfo.contentLeft,t.domNode=Object(r.b)(document.createElement("div")),t.domNode.setClassName("view-zones"),t.domNode.setPosition("absolute"),t.domNode.setAttribute("role","presentation"),t.domNode.setAttribute("aria-hidden","true"),t.marginDomNode=Object(r.b)(document.createElement("div")),t.marginDomNode.setClassName("margin-view-zones"),t.marginDomNode.setPosition("absolute"),t.marginDomNode.setAttribute("role","presentation"),t.marginDomNode.setAttribute("aria-hidden","true"),t._zones={},t}},2462:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.addEventHandler=function(e){this.privateViewEventBus.addEventHandler(e)},i.prototype.removeEventHandler=function(e){this.privateViewEventBus.removeEventHandler(e)},i);function i(e,t,n,o){this.configuration=e,this.theme=t,this.model=n,this.viewLayout=n.viewLayout,this.privateViewEventBus=o}},2463:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.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)},i.prototype.removeEventHandler=function(e){for(var t=0;t<this._eventHandlers.length;t++)if(this._eventHandlers[t]===e){this._eventHandlers.splice(t,1);break}},i.prototype.emit=function(e){this._eventQueue?this._eventQueue.push(e):this._eventQueue=[e],this._isConsumingQueue||this.consumeQueue()},i.prototype.emitMany=function(e){this._eventQueue?this._eventQueue=this._eventQueue.concat(e):this._eventQueue=e,this._isConsumingQueue||this.consumeQueue()},i.prototype.consumeQueue=function(){var e=this;this._eventHandlerGateKeeper(function(){try{e._isConsumingQueue=!0,e._doConsumeQueue()}finally{e._isConsumingQueue=!1}})},i.prototype._doConsumeQueue=function(){for(;this._eventQueue;){var e=this._eventQueue;this._eventQueue=null;for(var t=this._eventHandlers.slice(0),n=0,o=t.length;n<o;n++)t[n].handleEvents(e)}},i);function i(e){this._eventHandlerGateKeeper=e,this._eventHandlers=[],this._eventQueue=null,this._isConsumingQueue=!1}},2464:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(988),o=(r.prototype.getViewLineRenderingData=function(e){return this._model.getViewLineRenderingData(this.visibleRange,e)},r.prototype.getDecorationsInViewport=function(){return this._model.getDecorationsInViewport(this.visibleRange)},r);function r(e,t,n,o){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=o,this.visibleRange=new i.a(t.startLineNumber,this._model.getLineMinColumn(t.startLineNumber),t.endLineNumber,this._model.getLineMaxColumn(t.endLineNumber))}},2465:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(868),a=n(2075),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=r.a,s(u,i),u.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},u.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},u.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},u.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},u.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},u.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},u.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},u.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},u.prototype._convertViewToModelMouseTarget=function(e){return new c(e.element,e.type,e.mouseColumn,e.position?this._convertViewToModelPosition(e.position):null,e.range?this._convertViewToModelRange(e.range):null,e.detail)},u.prototype._convertViewToModelPosition=function(e){return this._viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},u.prototype._convertViewToModelRange=function(e){return this._viewModel.coordinatesConverter.convertViewRangeToModelRange(e)},u);function u(e){var t=i.call(this)||this;return t.onDidScroll=null,t.onDidGainFocus=null,t.onDidLoseFocus=null,t.onKeyDown=null,t.onKeyUp=null,t.onContextMenu=null,t.onMouseMove=null,t.onMouseLeave=null,t.onMouseUp=null,t.onMouseDown=null,t.onMouseDrag=null,t.onMouseDrop=null,t._viewModel=e,t}var c=(d.prototype.toString=function(){return a.b.toString(this)},d);function d(e,t,n,o,i,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=o,this.range=i,this.detail=r}},2466:function(e,t,n){"use strict";n.d(t,"a",function(){return A});var o,u=n(1215),c=n(1222),r=n(966),a=n(989),s=n(2467),d=n(1318),i=n(2082),l=n(2085),h=n(988),f=n(1303),p=n(1492),g=n(1546),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var b=function(e,t,n){this.selections=e,this.source=t,this.reason=n},v=(y.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},y);function y(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}var C,A=(C=g.d,m(_,C),_.prototype.dispose=function(){this._cursors.dispose(),C.prototype.dispose.call(this)},_.prototype.getPrimaryCursor=function(){return this._cursors.getPrimaryCursor()},_.prototype.getLastAddedCursorIndex=function(){return this._cursors.getLastAddedCursorIndex()},_.prototype.getAll=function(){return this._cursors.getAll()},_.prototype.setStates=function(e,t,n){null!==n&&n.length>_.MAX_CURSOR_COUNT&&(n=n.slice(0,_.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new v(this._model,this);this._cursors.setStates(n),this._cursors.normalize(),this._columnSelectData=null,this._emitStateChangedIfNecessary(e,t,o)},_.prototype.setColumnSelectData=function(e){this._columnSelectData=e},_.prototype.reveal=function(e,t,n){this._revealRange(t,0,e,n)},_.prototype.revealRange=function(e,t,n,o){this.emitCursorRevealRange(t,n,e,o)},_.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},_.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,o=t.length;n<o;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},_.prototype.restoreState=function(e){for(var t=[],n=0,o=e.length;n<o;n++){var i=e[n],r=1,a=1;i.position&&i.position.lineNumber&&(r=i.position.lineNumber),i.position&&i.position.column&&(a=i.position.column);var s=r,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:r,positionColumn:a})}this.setStates("restoreState",0,d.d.fromModelSelections(t)),this.reveal(!0,0,1)},_.prototype._onModelContentChanged=function(e){if(this._prevEditOperationType=0,e)this._cursors.dispose(),this._cursors=new s.a(this.context),this._emitStateChangedIfNecessary("model",1,null);else{var t=this._cursors.readSelectionFromMarkers();this.setStates("modelChange",2,d.d.fromModelSelections(t))}},_.prototype.getSelection=function(){return this._cursors.getPrimaryCursor().modelState.selection},_.prototype.getColumnSelectData=function(){if(this._columnSelectData)return this._columnSelectData;var e=this._cursors.getPrimaryCursor().viewState.position;return{toViewLineNumber:e.lineNumber,toViewVisualColumn:d.a.visibleColumnFromColumn2(this.context.config,this.context.viewModel,e)}},_.prototype.getSelections=function(){return this._cursors.getSelections()},_.prototype.getViewSelections=function(){return this._cursors.getViewSelections()},_.prototype.getPosition=function(){return this._cursors.getPrimaryCursor().modelState.position},_.prototype.setSelections=function(e,t){this.setStates(e,0,d.d.fromModelSelections(t))},_.prototype.getPrevEditOperationType=function(){return this._prevEditOperationType},_.prototype.setPrevEditOperationType=function(e){this._prevEditOperationType=e},_.prototype._executeEditOperation=function(e){if(e){e.shouldPushStackElementBefore&&this._model.pushStackElement();var t=w.executeCommands(this._model,this._cursors.getSelections(),e.commands);t&&(this._interpretCommandResult(t),this._prevEditOperationType=e.type),e.shouldPushStackElementAfter&&this._model.pushStackElement()}},_.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},_.prototype._emitStateChangedIfNecessary=function(e,t,n){var o=new v(this._model,this);if(o.equals(n))return!1;var i=this._cursors.getSelections(),r=this._cursors.getViewSelections();try{this._beginEmit().emit(new g.b(r))}finally{this._endEmit()}return n&&n.cursorState.length===o.cursorState.length&&!o.cursorState.some(function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)})||this._onDidChange.fire(new b(i,e||"keyboard",t)),!0},_.prototype._revealRange=function(e,t,n,o){var i=this._cursors.getViewPositions(),r=i[0];if(1===e)for(var a=1;a<i.length;a++)i[a].isBefore(r)&&(r=i[a]);else if(2===e)for(a=1;a<i.length;a++)r.isBeforeOrEqual(i[a])&&(r=i[a]);else if(1<i.length)return;var s=new h.a(r.lineNumber,r.column,r.lineNumber,r.column);this.emitCursorRevealRange(s,t,n,o)},_.prototype.emitCursorRevealRange=function(e,t,n,o){try{this._beginEmit().emit(new g.l(e,t,n,o))}finally{this._endEmit()}},_.prototype.trigger=function(e,t,n){var o=p.b;if(t!==o.CompositionStart)if(t===o.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.editor.readOnly)this._onDidAttemptReadOnlyEdit.fire(void 0);else{var i=new v(this._model,this),r=0;t!==o.Undo&&t!==o.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case o.Type:this._type(e,n.text);break;case o.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case o.Paste:r=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText);break;case o.Cut:this._cut();break;case o.Undo:r=5,this._interpretCommandResult(this._model.undo());break;case o.Redo:r=6,this._interpretCommandResult(this._model.redo());break;case o.ExecuteCommand:this._externalExecuteCommand(n);break;case o.ExecuteCommands:this._externalExecuteCommands(n);break;case o.CompositionEnd:this._interpretCompositionEnd(e)}}catch(e){Object(c.e)(e)}this._isHandling=!1,t!==o.Undo&&t!==o.Redo&&this._cursors.startTrackingSelections(),this._emitStateChangedIfNecessary(e,r,i)&&this._revealRange(0,0,!0,0)}else this._isDoingComposition=!0},_.prototype._interpretCompositionEnd=function(e){this._isDoingComposition||"keyboard"!==e||this._executeEditOperation(l.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections()))},_.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(l.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=0,o=t.length;n<o;n++){var i=t.charCodeAt(n),r=void 0;a.t(i)&&n+1<o?(r=t.charAt(n)+t.charAt(n+1),n++):r=t.charAt(n),this._executeEditOperation(l.a.typeWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),r))}},_.prototype._replacePreviousChar=function(e,t){this._executeEditOperation(l.a.replacePreviousChar(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),e,t))},_.prototype._paste=function(e,t,n){this._executeEditOperation(l.a.paste(this.context.config,this.context.model,this.getSelections(),e,t,n))},_.prototype._cut=function(){this._executeEditOperation(i.a.cut(this.context.config,this.context.model,this.getSelections()))},_.prototype._externalExecuteCommand=function(e){this._cursors.killSecondaryCursors(),this._executeEditOperation(new d.e(0,[e],{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},_.prototype._externalExecuteCommands=function(e){this._executeEditOperation(new d.e(0,e,{shouldPushStackElementBefore:!1,shouldPushStackElementAfter:!1}))},_.MAX_CURSOR_COUNT=1e4,_);function _(e,t,n){var o=C.call(this)||this;o._onDidReachMaxCursorCount=o._register(new r.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new r.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new r.a),o.onDidChange=o._onDidChange.event,o._configuration=e,o._model=t,o._knownModelVersionId=o._model.getVersionId(),o._viewModel=n,o.context=new d.c(o._configuration,o._model,o._viewModel),o._cursors=new s.a(o.context),o._isHandling=!1,o._isDoingComposition=!1,o._columnSelectData=null,o._prevEditOperationType=0,o._register(o._model.onDidChangeRawContent(function(e){if(o._knownModelVersionId=e.versionId,!o._isHandling){var t=e.containsEvent(1);o._onModelContentChanged(t)}})),o._register(n.addEventListener(function(e){!function(e){for(var t=0,n=e.length;t<n;t++)if(6===e[t].type)return!0;return!1}(e)||o._knownModelVersionId!==o._model.getVersionId()||o.setStates("viewModel",0,o.getAll())}));function i(){o.context=new d.c(o._configuration,o._model,o._viewModel),o._cursors.updateContext(o.context)}return o._register(o._model.onDidChangeLanguage(function(e){i()})),o._register(o._model.onDidChangeLanguageConfiguration(function(){i()})),o._register(o._model.onDidChangeOptions(function(){i()})),o._register(o._configuration.onDidChange(function(e){d.b.shouldRecreate(e)&&i()})),o}var w=(x.executeCommands=function(e,t,n){for(var o={model:e,selectionsBefore:t,trackedRanges:[],trackedRangesDirection:[]},i=this._innerExecuteCommands(o,n),r=0,a=o.trackedRanges.length;r<a;r++)o.model._setTrackedRange(o.trackedRanges[r],null,0);return i},x._innerExecuteCommands=function(u,c){if(this._arrayIsEmpty(c))return null;var e=this._getEditOperations(u,c);if(0===e.operations.length)return null;var t=e.operations,n=this._getLoserCursorMap(t);if(n.hasOwnProperty("0"))return console.warn("Ignoring commands"),null;for(var o=[],i=0,r=t.length;i<r;i++)n.hasOwnProperty(t[i].identifier.major.toString())||o.push(t[i]);e.hadTrackedEditOperation&&0<o.length&&(o[0]._isTracked=!0);var a=u.model.pushEditOperations(u.selectionsBefore,o,function(e){for(var t=[],n=0;n<u.selectionsBefore.length;n++)t[n]=[];for(var o=0,i=e;o<i.length;o++){var r=i[o];r.identifier&&t[r.identifier.major].push(r)}var a=function(e,t){return e.identifier.minor-t.identifier.minor},s=[],l=function(e){0<t[e].length?(t[e].sort(a),s[e]=c[e].computeCursorState(u.model,{getInverseEditOperations:function(){return t[e]},getTrackedSelection:function(e){var t=parseInt(e,10),n=u.model._getTrackedRange(u.trackedRanges[t]);return 0===u.trackedRangesDirection[t]?new f.a(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):new f.a(n.endLineNumber,n.endColumn,n.startLineNumber,n.startColumn)}})):s[e]=u.selectionsBefore[e]};for(n=0;n<u.selectionsBefore.length;n++)l(n);return s});a=a||u.selectionsBefore;var s=[];for(var l in n)n.hasOwnProperty(l)&&s.push(parseInt(l,10));s.sort(function(e,t){return t-e});for(var d=0,h=s;d<h.length;d++){var p=h[d];a.splice(p,1)}return a},x._arrayIsEmpty=function(e){for(var t=0,n=e.length;t<n;t++)if(e[t])return!1;return!0},x._getEditOperations=function(e,t){for(var n=[],o=!1,i=0,r=t.length;i<r;i++){var a=t[i];if(a){var s=this._getEditOperationsFromCommand(e,i,a);n=n.concat(s.operations),o=o||s.hadTrackedEditOperation}}return{operations:n,hadTrackedEditOperation:o}},x._getEditOperationsFromCommand=function(a,n,o){function i(e,t){e.isEmpty()&&""===t||r.push({identifier:{major:n,minor:s++},range:e,text:t,forceMoveMarkers:!1,isAutoWhitespaceEdit:o.insertsAutoWhitespace})}var r=[],s=0,l=!1,e={addEditOperation:i,addTrackedEditOperation:function(e,t){l=!0,i(e,t)},trackSelection:function(e,t){var n;if(e.isEmpty())if("boolean"==typeof t)n=t?2:3;else{var o=a.model.getLineMaxColumn(e.startLineNumber);n=e.startColumn===o?2:3}else n=1;var i=a.trackedRanges.length,r=a.model._setTrackedRange(null,e,n);return a.trackedRanges[i]=r,a.trackedRangesDirection[i]=e.getDirection(),i.toString()}};try{o.getEditOperations(a.model,e)}catch(e){return e.friendlyMessage=u.a("corrupt.commands","Unexpected exception while executing command."),Object(c.e)(e),{operations:[],hadTrackedEditOperation:!1}}return{operations:r,hadTrackedEditOperation:l}},x._getLoserCursorMap=function(e){(e=e.slice(0)).sort(function(e,t){return-h.a.compareRangesUsingEnds(e.range,t.range)});for(var t={},n=1;n<e.length;n++){var o=e[n-1],i=e[n];if(o.range.getStartPosition().isBefore(i.range.getEndPosition())){var r=void 0;t[(r=o.identifier.major>i.identifier.major?o.identifier.major:i.identifier.major).toString()]=!0;for(var a=0;a<e.length;a++)e[a].identifier.major===r&&(e.splice(a,1),a<n&&n--,a--);0<n&&n--}}return t},x);function x(){}},2467:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var x=n(1318),o=n(2468),S=n(1303),i=(r.prototype.dispose=function(){this.primaryCursor.dispose(this.context),this.killSecondaryCursors()},r.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)},r.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)},r.prototype.updateContext=function(e){this.context=e},r.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)},r.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},r.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},r.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},r.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},r.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},r.prototype.setSelections=function(e){this.setStates(x.d.fromModelSelections(e))},r.prototype.getPrimaryCursor=function(){return this.primaryCursor.asCursorState()},r.prototype.setStates=function(e){null!==e&&(this.primaryCursor.setState(this.context,e[0].modelState,e[0].viewState),this._setSecondaryStates(e.slice(1)))},r.prototype._setSecondaryStates=function(e){var t=this.secondaryCursors.length,n=e.length;if(t<n)for(var o=n-t,i=0;i<o;i++)this._addSecondaryCursor();else if(n<t){var r=t-n;for(i=0;i<r;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)},r.prototype.killSecondaryCursors=function(){this._setSecondaryStates([])},r.prototype._addSecondaryCursor=function(){this.secondaryCursors.push(new o.a(this.context)),this.lastAddedCursorIndex=this.secondaryCursors.length},r.prototype.getLastAddedCursorIndex=function(){return 0===this.secondaryCursors.length||0===this.lastAddedCursorIndex?0:this.lastAddedCursorIndex},r.prototype._removeSecondaryCursor=function(e){this.lastAddedCursorIndex>=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},r.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},r.prototype.normalize=function(){if(0!==this.secondaryCursors.length){for(var e=this._getAll(),t=[],n=0,o=e.length;n<o;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 r=t[i],a=t[i+1],s=r.selection,l=a.selection;if(this.context.config.multiCursorMergeOverlapping&&(l.isEmpty()||s.isEmpty()?l.getStartPosition().isBeforeOrEqual(s.getEndPosition()):l.getStartPosition().isBefore(s.getEndPosition()))){var u=r.index<a.index?i:i+1,c=r.index<a.index?i+1:i,d=t[c].index,h=t[u].index,p=t[c].selection,f=t[u].selection;if(!p.equalsSelection(f)){var g=p.plusRange(f),m=p.selectionStartLineNumber===p.startLineNumber&&p.selectionStartColumn===p.startColumn,b=f.selectionStartLineNumber===f.startLineNumber&&f.selectionStartColumn===f.startColumn,v=void 0;d===this.lastAddedCursorIndex?(v=m,this.lastAddedCursorIndex=h):v=b;var y=void 0;y=v?new S.a(g.startLineNumber,g.startColumn,g.endLineNumber,g.endColumn):new S.a(g.endLineNumber,g.endColumn,g.startLineNumber,g.startColumn),t[u].selection=y;var C=x.d.fromModelSelection(y);e[h].setState(this.context,C.modelState,C.viewState)}for(var A=0,_=t;A<_.length;A++){var w=_[A];w.index>d&&w.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),i--}}}},r);function r(e){this.context=e,this.primaryCursor=new o.a(e),this.secondaryCursors=[],this.lastAddedCursorIndex=0}},2468:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var d=n(1318),h=n(1124),p=n(988),o=n(1303),i=(r.prototype.dispose=function(e){this._removeTrackedRange(e)},r.prototype.startTrackingSelection=function(e){this._trackSelection=!0,this._updateTrackedRange(e)},r.prototype.stopTrackingSelection=function(e){this._trackSelection=!1,this._removeTrackedRange(e)},r.prototype._updateTrackedRange=function(e){this._trackSelection&&(this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,this.modelState.selection,0))},r.prototype._removeTrackedRange=function(e){this._selTrackedRange=e.model._setTrackedRange(this._selTrackedRange,null,0)},r.prototype.asCursorState=function(){return new d.d(this.modelState,this.viewState)},r.prototype.readSelectionFromMarkers=function(e){var t=e.model._getTrackedRange(this._selTrackedRange);return 0===this.modelState.selection.getDirection()?new o.a(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new o.a(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)},r.prototype.ensureValidState=function(e){this._setState(e,this.modelState,this.viewState)},r.prototype.setState=function(e,t,n){this._setState(e,t,n)},r.prototype._setState=function(e,t,n){if(t){r=e.model.validateRange(t.selectionStart);var o=t.selectionStart.equalsRange(r)?t.selectionStartLeftoverVisibleColumns:0,i=(a=e.model.validatePosition(t.position),t.position.equals(a)?t.leftoverVisibleColumns:0);t=new d.f(r,o,a,i)}else{if(!n)return;var r=e.model.validateRange(e.convertViewRangeToModelRange(n.selectionStart)),a=e.model.validatePosition(e.convertViewPositionToModelPosition(n.position.lineNumber,n.position.column));t=new d.f(r,n.selectionStartLeftoverVisibleColumns,a,n.leftoverVisibleColumns)}if(n)u=e.validateViewRange(n.selectionStart,t.selectionStart),c=e.validateViewPosition(n.position,t.position),n=new d.f(u,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns);else{var s=e.convertModelPositionToViewPosition(new h.a(t.selectionStart.startLineNumber,t.selectionStart.startColumn)),l=e.convertModelPositionToViewPosition(new h.a(t.selectionStart.endLineNumber,t.selectionStart.endColumn)),u=new p.a(s.lineNumber,s.column,l.lineNumber,l.column),c=e.convertModelPositionToViewPosition(t.position);n=new d.f(u,t.selectionStartLeftoverVisibleColumns,c,t.leftoverVisibleColumns)}this.modelState=t,this.viewState=n,this._updateTrackedRange(e)},r);function r(e){this._selTrackedRange=null,this._trackSelection=!0,this._setState(e,new d.f(new p.a(1,1,1,1),0,new h.a(1,1),0),new d.f(new p.a(1,1,1,1),0,new h.a(1,1),0))}},2469:function(e,t,n){"use strict";n.d(t,"a",function(){return C});var o,s,i=n(1499),r=n(989),p=n(1124),f=n(988),a=n(1251),g=n(2470),l=n(1791),v=n(1546),u=n(2471),c=n(2474),d=n(2092),h=n(1496),m=n(2475),b=n(1239),y=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=(s=v.d,y(A,s),A.prototype.dispose=function(){s.prototype.dispose.call(this),this.decorations.dispose(),this.lines.dispose(),this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,null,1)},A.prototype.tokenizeViewport=function(){var e=this.viewLayout.getLinesViewportData(),t=this.coordinatesConverter.convertViewPositionToModelPosition(new p.a(e.startLineNumber,1)),n=this.coordinatesConverter.convertViewPositionToModelPosition(new p.a(e.endLineNumber,1));this.model.tokenizeViewport(t.lineNumber,n.lineNumber)},A.prototype.setHasFocus=function(e){this.hasFocus=e},A.prototype._onConfigurationChanged=function(e,t){var n=null;if(-1!==this.viewportStartLine){var o=new p.a(this.viewportStartLine,this.getLineMinColumn(this.viewportStartLine));n=this.coordinatesConverter.convertViewPositionToModelPosition(o)}var i=!1,r=this.configuration.editor;if(this.lines.setWrappingSettings(r.wrappingInfo.wrappingIndent,r.wrappingInfo.wrappingColumn,r.fontInfo.typicalFullwidthCharacterWidth/r.fontInfo.typicalHalfwidthCharacterWidth)&&(e.emit(new v.e),e.emit(new v.h),e.emit(new v.c),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),0!==this.viewLayout.getCurrentScrollTop()&&(i=!0)),t.readOnly&&(this.decorations.reset(),e.emit(new v.c)),e.emit(new v.a(t)),this.viewLayout.onConfigurationChanged(t),i&&n){var a=this.coordinatesConverter.convertModelPositionToViewPosition(n),s=this.viewLayout.getVerticalOffsetForLineNumber(a.lineNumber);this.viewLayout.setScrollPositionNow({scrollTop:s+this.viewportStartLineDelta})}},A.prototype._registerModelEvents=function(){var b=this;this._register(this.model.onDidChangeRawContentFast(function(e){try{for(var t=b._beginEmit(),n=!1,o=!1,i=e.changes,r=e.versionId,a=0,s=i.length;a<s;a++){var l=i[a];switch(l.changeType){case 1:b.lines.onModelFlushed(),t.emit(new v.e),b.decorations.reset(),b.viewLayout.onFlushed(b.getLineCount()),n=!0;break;case 3:null!==(p=b.lines.onModelLinesDeleted(r,l.fromLineNumber,l.toLineNumber))&&(t.emit(p),b.viewLayout.onLinesDeleted(p.fromLineNumber,p.toLineNumber)),n=!0;break;case 4:null!==(h=b.lines.onModelLinesInserted(r,l.fromLineNumber,l.toLineNumber,l.detail))&&(t.emit(h),b.viewLayout.onLinesInserted(h.fromLineNumber,h.toLineNumber)),n=!0;break;case 2:var u=b.lines.onModelLineChanged(r,l.lineNumber,l.detail),c=u[0],d=u[1],h=u[2],p=u[3];o=c,d&&t.emit(d),h&&(t.emit(h),b.viewLayout.onLinesInserted(h.fromLineNumber,h.toLineNumber)),p&&(t.emit(p),b.viewLayout.onLinesDeleted(p.fromLineNumber,p.toLineNumber))}}b.lines.acceptVersionId(r),b.viewLayout.onHeightMaybeChanged(),!n&&o&&(t.emit(new v.h),t.emit(new v.c),b.decorations.onLineMappingChanged())}finally{b._endEmit()}if(b.viewportStartLine=-1,b.configuration.setMaxLineNumber(b.model.getLineCount()),!b.hasFocus&&2<=b.model.getAttachedEditorCount()&&b.viewportStartLineTrackedRange){var f=b.model._getTrackedRange(b.viewportStartLineTrackedRange);if(f){var g=b.coordinatesConverter.convertModelPositionToViewPosition(f.getStartPosition()),m=b.viewLayout.getVerticalOffsetForLineNumber(g.lineNumber);b.viewLayout.setScrollPositionNow({scrollTop:m+b.viewportStartLineDelta})}}})),this._register(this.model.onDidChangeTokens(function(e){for(var t=[],n=0,o=e.ranges.length;n<o;n++){var i=e.ranges[n],r=b.coordinatesConverter.convertModelPositionToViewPosition(new p.a(i.fromLineNumber,1)).lineNumber,a=b.coordinatesConverter.convertModelPositionToViewPosition(new p.a(i.toLineNumber,b.model.getLineMaxColumn(i.toLineNumber))).lineNumber;t[n]={fromLineNumber:r,toLineNumber:a}}try{b._beginEmit().emit(new v.o(t))}finally{b._endEmit()}e.tokenizationSupportChanged&&b._tokenizeViewportSoon.schedule()})),this._register(this.model.onDidChangeLanguageConfiguration(function(e){try{b._beginEmit().emit(new v.g)}finally{b._endEmit()}})),this._register(this.model.onDidChangeOptions(function(e){if(b.lines.setTabSize(b.model.getOptions().tabSize)){b.decorations.onLineMappingChanged(),b.viewLayout.onFlushed(b.getLineCount());try{var t=b._beginEmit();t.emit(new v.e),t.emit(new v.h),t.emit(new v.c)}finally{b._endEmit()}}})),this._register(this.model.onDidChangeDecorations(function(e){b.decorations.onModelDecorationsChanged();try{b._beginEmit().emit(new v.c)}finally{b._endEmit()}}))},A.prototype.setHiddenAreas=function(e){try{var t=this._beginEmit();this.lines.setHiddenAreas(e)&&(t.emit(new v.e),t.emit(new v.h),t.emit(new v.c),this.decorations.onLineMappingChanged(),this.viewLayout.onFlushed(this.getLineCount()),this.viewLayout.onHeightMaybeChanged())}finally{this._endEmit()}},A.prototype.getVisibleRanges=function(){var e=this.getCompletelyVisibleViewRange(),t=this.coordinatesConverter.convertViewRangeToModelRange(e),n=this.lines.getHiddenAreas();if(0===n.length)return[t];for(var o=[],i=0,r=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<r||s<d||(r<d&&(o[i++]=new f.a(r,a,d-1,this.model.getLineMaxColumn(d-1))),r=h+1,a=1)}return(r<s||r===s&&a<l)&&(o[i++]=new f.a(r,a,s,l)),o},A.prototype.getCompletelyVisibleViewRange=function(){var e=this.viewLayout.getLinesViewportData(),t=e.completelyVisibleStartLineNumber,n=e.completelyVisibleEndLineNumber;return new f.a(t,this.getLineMinColumn(t),n,this.getLineMaxColumn(n))},A.prototype.getCompletelyVisibleViewRangeAtScrollTop=function(e){var t=this.viewLayout.getLinesViewportDataAtScrollTop(e),n=t.completelyVisibleStartLineNumber,o=t.completelyVisibleEndLineNumber;return new f.a(n,this.getLineMinColumn(n),o,this.getLineMaxColumn(o))},A.prototype.saveState=function(){var e=this.viewLayout.saveState(),t=e.scrollTop,n=this.viewLayout.getLineNumberAtVerticalOffset(t),o=this.coordinatesConverter.convertViewPositionToModelPosition(new p.a(n,this.getLineMinColumn(n))),i=this.viewLayout.getVerticalOffsetForLineNumber(n)-t;return{scrollLeft:e.scrollLeft,firstPosition:o,firstPositionDeltaTop:i}},A.prototype.reduceRestoreState=function(e){if(void 0===e.firstPosition)return this._reduceRestoreStateCompatibility(e);var t=this.model.validatePosition(e.firstPosition),n=this.coordinatesConverter.convertModelPositionToViewPosition(t),o=this.viewLayout.getVerticalOffsetForLineNumber(n.lineNumber)-e.firstPositionDeltaTop;return{scrollLeft:e.scrollLeft,scrollTop:o}},A.prototype._reduceRestoreStateCompatibility=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTopWithoutViewZones}},A.prototype.getTabSize=function(){return this.model.getOptions().tabSize},A.prototype.getOptions=function(){return this.model.getOptions()},A.prototype.getLineCount=function(){return this.lines.getViewLineCount()},A.prototype.setViewport=function(e,t,n){this.lines.warmUpLookupCache(e,t),this.viewportStartLine=e;var o=this.coordinatesConverter.convertViewPositionToModelPosition(new p.a(e,this.getLineMinColumn(e)));this.viewportStartLineTrackedRange=this.model._setTrackedRange(this.viewportStartLineTrackedRange,new f.a(o.lineNumber,o.column,o.lineNumber,o.column),1);var i=this.viewLayout.getVerticalOffsetForLineNumber(e),r=this.viewLayout.getCurrentScrollTop();this.viewportStartLineDelta=r-i},A.prototype.getActiveIndentGuide=function(e,t,n){return this.lines.getActiveIndentGuide(e,t,n)},A.prototype.getLinesIndentGuides=function(e,t){return this.lines.getViewLinesIndentGuides(e,t)},A.prototype.getLineContent=function(e){return this.lines.getViewLineContent(e)},A.prototype.getLineLength=function(e){return this.lines.getViewLineLength(e)},A.prototype.getLineMinColumn=function(e){return this.lines.getViewLineMinColumn(e)},A.prototype.getLineMaxColumn=function(e){return this.lines.getViewLineMaxColumn(e)},A.prototype.getLineFirstNonWhitespaceColumn=function(e){var t=r.n(this.getLineContent(e));return-1===t?0:t+1},A.prototype.getLineLastNonWhitespaceColumn=function(e){var t=r.x(this.getLineContent(e));return-1===t?0:t+2},A.prototype.getDecorationsInViewport=function(e){return this.decorations.getDecorationsViewportData(e).decorations},A.prototype.getViewLineRenderingData=function(e,t){var n=this.model.mightContainRTL(),o=this.model.mightContainNonBasicASCII(),i=this.getTabSize(),r=this.lines.getViewLineData(t),a=this.decorations.getDecorationsViewportData(e).inlineDecorations[t-e.startLineNumber];return new h.d(r.minColumn,r.maxColumn,r.content,r.continuesWithWrappedLine,n,o,r.tokens,a,i)},A.prototype.getViewLineData=function(e){return this.lines.getViewLineData(e)},A.prototype.getMinimapLinesRenderingData=function(e,t,n){var o=this.lines.getViewLinesData(e,t,n);return new h.b(this.getTabSize(),o)},A.prototype.getAllOverviewRulerDecorations=function(e){return this.lines.getAllOverviewRulerDecorations(this.editorId,this.configuration.editor.readOnly,e)},A.prototype.invalidateOverviewRulerColorCache=function(){for(var e=0,t=this.model.getOverviewRulerDecorations();e<t.length;e++){var n=t[e].options.overviewRuler;n&&n.invalidateCachedColor()}},A.prototype.getValueInRange=function(e,t){var n=this.coordinatesConverter.convertViewRangeToModelRange(e);return this.model.getValueInRange(n,t)},A.prototype.getModelLineMaxColumn=function(e){return this.model.getLineMaxColumn(e)},A.prototype.validateModelPosition=function(e){return this.model.validatePosition(e)},A.prototype.validateModelRange=function(e){return this.model.validateRange(e)},A.prototype.deduceModelPositionRelativeToViewPosition=function(e,t,n){var o=this.coordinatesConverter.convertViewPositionToModelPosition(e);2===this.model.getEOL().length&&(t<0?t-=n:t+=n);var i=this.model.getOffsetAt(o)+t;return this.model.getPositionAt(i)},A.prototype.getEOL=function(){return this.model.getEOL()},A.prototype.getPlainTextToCopy=function(e,t,n){var o=this,i=n?"\r\n":this.model.getEOL();(e=e.slice(0)).sort(f.a.compareRangesUsingStarts);var r=e.filter(function(e){return!e.isEmpty()});if(0===r.length){if(!t)return"";for(var a=e.map(function(e){var t=new p.a(e.startLineNumber,1);return o.coordinatesConverter.convertViewPositionToModelPosition(t).lineNumber}),s="",l=0;l<a.length;l++)0<l&&a[l-1]===a[l]||(s+=this.model.getLineContent(a[l])+i);return s}for(var u=[],c=0,d=r;c<d.length;c++){var h=d[c];u.push(this.getValueInRange(h,n?2:0))}return 1===u.length?u[0]:u},A.prototype.getHTMLToCopy=function(e,t){if(1===this.model.getLanguageIdentifier().id)return null;if(1!==e.length)return null;var n=this.coordinatesConverter.convertViewRangeToModelRange(e[0]);if(n.isEmpty()){if(!t)return null;var o=n.startLineNumber;n=new f.a(o,this.model.getLineMinColumn(o),o,this.model.getLineMaxColumn(o))}var i=this.configuration.editor.fontInfo,r=this._getColorMap();return'<div style="color: '+r[1]+";background-color: "+r[2]+";font-family: "+i.fontFamily+";font-weight: "+i.fontWeight+";font-size: "+i.fontSize+"px;line-height: "+i.lineHeight+'px;white-space: pre;">'+this._getHTMLToCopy(n,r)+"</div>"},A.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,o=e.startColumn,i=e.endLineNumber,r=e.endColumn,a=this.getTabSize(),s="",l=n;l<=i;l++){var u=this.model.getLineTokens(l),c=u.getLineContent(),d=l===n?o-1:0,h=l===i?r-1:c.length;s+=""===c?"<br>":Object(g.a)(c,u.inflate(),t,d,h,a)}return s},A.prototype._getColorMap=function(){var e=a.v.getColorMap(),t=["#000000"];if(e)for(var n=1,o=e.length;n<o;n++)t[n]=i.a.Format.CSS.formatHex(e[n]);return t},A);function A(e,t,n,o){var i=s.call(this)||this;if(i.editorId=e,i.configuration=t,i.model=n,i._tokenizeViewportSoon=i._register(new b.c(function(){return i.tokenizeViewport()},50)),i.hasFocus=!1,i.viewportStartLine=-1,i.viewportStartLineTrackedRange=null,i.viewportStartLineDelta=0,i.model.isTooLargeForTokenization())i.lines=new d.a(i.model);else{var r=i.configuration.editor,a=new c.a(r.wrappingInfo.wordWrapBreakBeforeCharacters,r.wrappingInfo.wordWrapBreakAfterCharacters,r.wrappingInfo.wordWrapBreakObtrusiveCharacters);i.lines=new d.c(i.model,a,i.model.getOptions().tabSize,r.wrappingInfo.wrappingColumn,r.fontInfo.typicalFullwidthCharacterWidth/r.fontInfo.typicalHalfwidthCharacterWidth,r.wrappingInfo.wrappingIndent)}return i.coordinatesConverter=i.lines.createCoordinatesConverter(),i.viewLayout=i._register(new u.a(i.configuration,i.getLineCount(),o)),i._register(i.viewLayout.onDidScroll(function(e){e.scrollTopChanged&&i._tokenizeViewportSoon.schedule();try{i._beginEmit().emit(new v.m(e))}finally{i._endEmit()}})),i.decorations=new m.a(i.editorId,i.model,i.configuration,i.lines,i.coordinatesConverter),i._registerModelEvents(),i._register(i.configuration.onDidChange(function(e){try{var t=i._beginEmit();i._onConfigurationChanged(t,e)}finally{i._endEmit()}})),i._register(l.b.getInstance().onDidChange(function(){try{i._beginEmit().emit(new v.p)}finally{i._endEmit()}})),i}},2470:function(e,t,n){"use strict";t.a=function(e,t,n,o,i,r){for(var a="<div>",s=o,l=0,u=0,c=t.getCount();u<c;u++){var d=t.getEndOffset(u);if(!(d<=o)){for(var h="";s<d&&s<i;s++){var p=e.charCodeAt(s);switch(p){case 9:var f=r-(s+l)%r;for(l+=f-1;0<f;)h+="&nbsp;",f--;break;case 60:h+="&lt;";break;case 62:h+="&gt;";break;case 38:h+="&amp;";break;case 0:h+="&#00;";break;case 65279:case 8232:h+="<22>";break;case 13:h+="&#8203";break;default:h+=String.fromCharCode(p)}}if(a+='<span style="'+t.getInlineStyle(u,n)+'">'+h+"</span>",i<d||i<=s)break}}return a+="</div>"};n(989),n(1670),n(1494)},2471:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,i,r=n(868),a=n(2089),s=n(2472),l=n(1496),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=(i=r.a,u(d,i),d.prototype.dispose=function(){i.prototype.dispose.call(this)},d.prototype.onHeightMaybeChanged=function(){this._updateHeight()},d.prototype._configureSmoothScrollDuration=function(){this.scrollable.setSmoothScrollDuration(this._configuration.editor.viewInfo.smoothScrolling?125:0)},d.prototype.onConfigurationChanged=function(e){e.lineHeight&&this._linesLayout.setLineHeight(this._configuration.editor.lineHeight),e.layoutInfo&&this.scrollable.setScrollDimensions({width:this._configuration.editor.layoutInfo.contentWidth,height:this._configuration.editor.layoutInfo.contentHeight}),e.viewInfo&&this._configureSmoothScrollDuration(),this._updateHeight()},d.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},d.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},d.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},d.prototype._getHorizontalScrollbarHeight=function(e){return 2===this._configuration.editor.viewInfo.scrollbar.horizontal?0:e.width>=e.scrollWidth?0:this._configuration.editor.viewInfo.scrollbar.horizontalScrollbarSize},d.prototype._getTotalHeight=function(){var e=this.scrollable.getScrollDimensions(),t=this._linesLayout.getLinesTotalHeight();return this._configuration.editor.viewInfo.scrollBeyondLastLine?t+=e.height-this._configuration.editor.lineHeight:t+=this._getHorizontalScrollbarHeight(e),Math.max(e.height,t)},d.prototype._updateHeight=function(){this.scrollable.setScrollDimensions({scrollHeight:this._getTotalHeight()})},d.prototype.getCurrentViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getCurrentScrollPosition();return new l.f(t.scrollTop,t.scrollLeft,e.width,e.height)},d.prototype.getFutureViewport=function(){var e=this.scrollable.getScrollDimensions(),t=this.scrollable.getFutureScrollPosition();return new l.f(t.scrollTop,t.scrollLeft,e.width,e.height)},d.prototype._computeScrollWidth=function(e,t){if(this._configuration.editor.wrappingInfo.isViewportWrapping)return Math.max(e,t);var n=this._configuration.editor.viewInfo.scrollBeyondLastColumn*this._configuration.editor.fontInfo.typicalHalfwidthCharacterWidth,o=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+n,t,o)},d.prototype.onMaxLineWidthChanged=function(e){var t=this._computeScrollWidth(e,this.getCurrentViewport().width);this.scrollable.setScrollDimensions({scrollWidth:t}),this._updateHeight()},d.prototype.saveState=function(){var e=this.scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},d.prototype.addWhitespace=function(e,t,n,o){return this._linesLayout.insertWhitespace(e,t,n,o)},d.prototype.changeWhitespace=function(e,t,n){return this._linesLayout.changeWhitespace(e,t,n)},d.prototype.removeWhitespace=function(e){return this._linesLayout.removeWhitespace(e)},d.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},d.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},d.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},d.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},d.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},d.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)},d.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},d.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},d.prototype.getScrollWidth=function(){return this.scrollable.getScrollDimensions().scrollWidth},d.prototype.getScrollHeight=function(){return this.scrollable.getScrollDimensions().scrollHeight},d.prototype.getCurrentScrollLeft=function(){return this.scrollable.getCurrentScrollPosition().scrollLeft},d.prototype.getCurrentScrollTop=function(){return this.scrollable.getCurrentScrollPosition().scrollTop},d.prototype.validateScrollPosition=function(e){return this.scrollable.validateScrollPosition(e)},d.prototype.setScrollPositionNow=function(e){this.scrollable.setScrollPositionNow(e)},d.prototype.setScrollPositionSmooth=function(e){this.scrollable.setScrollPositionSmooth(e)},d.prototype.deltaScrollNow=function(e,t){var n=this.scrollable.getCurrentScrollPosition();this.scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},d);function d(e,t,n){var o=i.call(this)||this;return o._configuration=e,o._linesLayout=new s.a(t,o._configuration.editor.lineHeight),o.scrollable=o._register(new a.a(0,n)),o._configureSmoothScrollDuration(),o.scrollable.setScrollDimensions({width:e.editor.layoutInfo.contentWidth,height:e.editor.layoutInfo.contentHeight}),o.onDidScroll=o.scrollable.onScroll,o._updateHeight(),o}},2472:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(2473),i=(r.prototype.setLineHeight=function(e){this._lineHeight=e},r.prototype.onFlushed=function(e){this._lineCount=e},r.prototype.insertWhitespace=function(e,t,n,o){return this._whitespaces.insertWhitespace(e,t,n,o)},r.prototype.changeWhitespace=function(e,t,n){return this._whitespaces.changeWhitespace(e,t,n)},r.prototype.removeWhitespace=function(e){return this._whitespaces.removeWhitespace(e)},r.prototype.onLinesDeleted=function(e,t){this._lineCount-=t-e+1,this._whitespaces.onLinesDeleted(e,t)},r.prototype.onLinesInserted=function(e,t){this._lineCount+=t-e+1,this._whitespaces.onLinesInserted(e,t)},r.prototype.getLinesTotalHeight=function(){return this._lineHeight*this._lineCount+this._whitespaces.getTotalHeight()},r.prototype.getVerticalOffsetForLineNumber=function(e){return(1<(e|=0)?this._lineHeight*(e-1):0)+this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},r.prototype.getWhitespaceAccumulatedHeightBeforeLineNumber=function(e){return this._whitespaces.getAccumulatedHeightBeforeLineNumber(e)},r.prototype.getWhitespaceMinWidth=function(){return this._whitespaces.getMinWidth()},r.prototype.isAfterLines=function(e){return this.getLinesTotalHeight()<e},r.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if((e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,o=1,i=t;o<i;){var r=(o+i)/2|0,a=0|this.getVerticalOffsetForLineNumber(r);if(a+n<=e)o=1+r;else{if(a<=e)return r;i=r}}return t<o?t:o},r.prototype.getLinesViewportData=function(e,t){e|=0,t|=0;var n,o,i=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),a=0|this.getVerticalOffsetForLineNumber(r),s=0|this._lineCount,l=0|this._whitespaces.getFirstWhitespaceIndexAfterLineNumber(r),u=0|this._whitespaces.getCount();n=-1===l?(l=u,o=s+1,0):(o=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(l),0|this._whitespaces.getHeightForWhitespaceIndex(l));var c=a,d=c,h=0;5e5<=a&&(h=5e5*Math.floor(a/5e5),d-=h=Math.floor(h/i)*i);for(var p=[],f=e+(t-e)/2,g=-1,m=r;m<=s;m++){for(-1===g&&(c<=f&&f<c+i||f<c)&&(g=m),c+=i,p[m-r]=d,d+=i;o===m;)d+=n,c+=n,u<=++l?o=s+1:(o=0|this._whitespaces.getAfterLineNumberForWhitespaceIndex(l),n=0|this._whitespaces.getHeightForWhitespaceIndex(l));if(t<=c){s=m;break}}-1===g&&(g=s);var b=0|this.getVerticalOffsetForLineNumber(s),v=r,y=s;return v<y&&a<e&&v++,v<y&&t<b+i&&y--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:s,relativeVerticalOffset:p,centeredLineNumber:g,completelyVisibleStartLineNumber:v,completelyVisibleEndLineNumber:y}},r.prototype.getVerticalOffsetForWhitespaceIndex=function(e){e|=0;var t=this._whitespaces.getAfterLineNumberForWhitespaceIndex(e);return(1<=t?this._lineHeight*t:0)+(0<e?this._whitespaces.getAccumulatedHeight(e-1):0)},r.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){e|=0;var t,n,o=0,i=this._whitespaces.getCount()-1;if(i<0)return-1;if(this.getVerticalOffsetForWhitespaceIndex(i)+this._whitespaces.getHeightForWhitespaceIndex(i)<=e)return-1;for(;o<i;)if(t=Math.floor((o+i)/2),(n=this.getVerticalOffsetForWhitespaceIndex(t))+this._whitespaces.getHeightForWhitespaceIndex(t)<=e)o=t+1;else{if(n<=e)return t;i=t}return o},r.prototype.getWhitespaceAtVerticalOffset=function(e){e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this._whitespaces.getCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(e<n)return null;var o=this._whitespaces.getHeightForWhitespaceIndex(t);return{id:this._whitespaces.getIdForWhitespaceIndex(t),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:o}},r.prototype.getWhitespaceViewportData=function(e,t){e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),o=this._whitespaces.getCount()-1;if(n<0)return[];for(var i=[],r=n;r<=o;r++){var a=this.getVerticalOffsetForWhitespaceIndex(r),s=this._whitespaces.getHeightForWhitespaceIndex(r);if(t<=a)break;i.push({id:this._whitespaces.getIdForWhitespaceIndex(r),afterLineNumber:this._whitespaces.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:a,height:s})}return i},r.prototype.getWhitespaces=function(){return this._whitespaces.getWhitespaces(this._lineHeight)},r);function r(e,t){this._lineCount=e,this._lineHeight=t,this._whitespaces=new o.a}},2473:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(l.findInsertionIndex=function(e,t,n,o){for(var i=0,r=e.length;i<r;){var a=i+r>>>1;t===e[a]?o<n[a]?r=a:i=1+a:t<e[a]?r=a:i=1+a}return i},l.prototype.insertWhitespace=function(e,t,n,o){e|=0,t|=0,n|=0,o|=0;var i=++this._lastWhitespaceId,r=l.findInsertionIndex(this._afterLineNumbers,e,this._ordinals,t);return this._insertWhitespaceAtIndex(i,r,e,t,n,o),this._minWidth=-1,i},l.prototype._insertWhitespaceAtIndex=function(e,t,n,o,i,r){e|=0,t|=0,n|=0,o|=0,i|=0,r|=0,this._heights.splice(t,0,i),this._minWidths.splice(t,0,r),this._ids.splice(t,0,e),this._afterLineNumbers.splice(t,0,n),this._ordinals.splice(t,0,o),this._prefixSum.splice(t,0,0);for(var a=Object.keys(this._whitespaceId2Index),s=0,l=a.length;s<l;s++){var u=a[s],c=this._whitespaceId2Index[u];t<=c&&(this._whitespaceId2Index[u]=c+1)}this._whitespaceId2Index[e.toString()]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,t-1)},l.prototype.changeWhitespace=function(e,t,n){e|=0,t|=0,n|=0;var o=!1;return o=this.changeWhitespaceHeight(e,n)||o,o=this.changeWhitespaceAfterLineNumber(e,t)||o},l.prototype.changeWhitespaceHeight=function(e,t){t|=0;var n=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(n)){var o=this._whitespaceId2Index[n];if(this._heights[o]!==t)return this._heights[o]=t,this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,o-1),!0}return!1},l.prototype.changeWhitespaceAfterLineNumber=function(e,t){t|=0;var n=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(n)){var o=this._whitespaceId2Index[n];if(this._afterLineNumbers[o]!==t){var i=this._ordinals[o],r=this._heights[o],a=this._minWidths[o];this.removeWhitespace(e);var s=l.findInsertionIndex(this._afterLineNumbers,t,this._ordinals,i);return this._insertWhitespaceAtIndex(e,s,t,i,r,a),!0}}return!1},l.prototype.removeWhitespace=function(e){var t=(e|=0).toString();if(this._whitespaceId2Index.hasOwnProperty(t)){var n=this._whitespaceId2Index[t];return delete this._whitespaceId2Index[t],this._removeWhitespaceAtIndex(n),this._minWidth=-1,!0}return!1},l.prototype._removeWhitespaceAtIndex=function(e){e|=0,this._heights.splice(e,1),this._minWidths.splice(e,1),this._ids.splice(e,1),this._afterLineNumbers.splice(e,1),this._ordinals.splice(e,1),this._prefixSum.splice(e,1),this._prefixSumValidIndex=Math.min(this._prefixSumValidIndex,e-1);for(var t=Object.keys(this._whitespaceId2Index),n=0,o=t.length;n<o;n++){var i=t[n],r=this._whitespaceId2Index[i];e<=r&&(this._whitespaceId2Index[i]=r-1)}},l.prototype.onLinesDeleted=function(e,t){e|=0,t|=0;for(var n=0,o=this._afterLineNumbers.length;n<o;n++){var i=this._afterLineNumbers[n];e<=i&&i<=t?this._afterLineNumbers[n]=e-1:t<i&&(this._afterLineNumbers[n]-=t-e+1)}},l.prototype.onLinesInserted=function(e,t){e|=0,t|=0;for(var n=0,o=this._afterLineNumbers.length;n<o;n++)e<=this._afterLineNumbers[n]&&(this._afterLineNumbers[n]+=t-e+1)},l.prototype.getTotalHeight=function(){return 0===this._heights.length?0:this.getAccumulatedHeight(this._heights.length-1)},l.prototype.getAccumulatedHeight=function(e){e|=0;var t=Math.max(0,this._prefixSumValidIndex+1);0===t&&(this._prefixSum[0]=this._heights[0],t++);for(var n=t;n<=e;n++)this._prefixSum[n]=this._prefixSum[n-1]+this._heights[n];return this._prefixSumValidIndex=Math.max(this._prefixSumValidIndex,e),this._prefixSum[e]},l.prototype.getAccumulatedHeightBeforeLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e);return-1===t?0:this.getAccumulatedHeight(t)},l.prototype._findLastWhitespaceBeforeLineNumber=function(e){e|=0;for(var t=this._afterLineNumbers,n=0,o=t.length-1;n<=o;){var i=n+((o-n|0)/2|0)|0;if(t[i]<e){if(1+i>=t.length||t[1+i]>=e)return i;n=1+i|0}else o=i-1|0}return-1},l.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t<this._heights.length?t:-1},l.prototype.getFirstWhitespaceIndexAfterLineNumber=function(e){return e|=0,this._findFirstWhitespaceAfterLineNumber(e)},l.prototype.getCount=function(){return this._heights.length},l.prototype.getMinWidth=function(){if(-1===this._minWidth){for(var e=0,t=0,n=this._minWidths.length;t<n;t++)e=Math.max(e,this._minWidths[t]);this._minWidth=e}return this._minWidth},l.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return e|=0,this._afterLineNumbers[e]},l.prototype.getIdForWhitespaceIndex=function(e){return e|=0,this._ids[e]},l.prototype.getHeightForWhitespaceIndex=function(e){return e|=0,this._heights[e]},l.prototype.getWhitespaces=function(e){e|=0;for(var t=[],n=0;n<this._heights.length;n++)t.push({id:this._ids[n],afterLineNumber:this._afterLineNumbers[n],heightInLines:this._heights[n]/e});return t},l);function l(){this._heights=[],this._minWidths=[],this._ids=[],this._afterLineNumbers=[],this._ordinals=[],this._prefixSum=[],this._prefixSumValidIndex=-1,this._whitespaceId2Index={},this._lastWhitespaceId=0,this._minWidth=-1}},2474:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var o,r,k=n(989),i=n(1778),N=n(1669),I=n(1777),a=n(2092),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(r=i.a,s(u,r),u.prototype.get=function(e){return 12352<=e&&e<=12543||13312<=e&&e<=19903||19968<=e&&e<=40959?4:r.prototype.get.call(this,e)},u);function u(e,t,n){for(var o=r.call(this,0)||this,i=0;i<e.length;i++)o.set(e.charCodeAt(i),1);for(i=0;i<t.length;i++)o.set(t.charCodeAt(i),2);for(i=0;i<n.length;i++)o.set(n.charCodeAt(i),3);return o}var c=(O.nextVisibleColumn=function(e,t,n,o){return e=+e,t=+t,o=+o,n?e+(t-e%t):e+o},O.prototype.createLineMapping=function(e,t,n,o,i){if(-1===n)return null;t=+t,n=+n,o=+o;var r=0,a="",s=-1;if(0!=(i=+i)&&-1!==(s=k.n(e))){a=e.substring(0,s);for(var l=0;l<s;l++)r=O.nextVisibleColumn(r,t,9===e.charCodeAt(l),1);var u=0;for(2===i?u=1:3===i&&(u=2),l=0;l<u;l++)a+="\t",r=O.nextVisibleColumn(r,t,!0,1);n<r+o&&(a="",r=0)}var c=this.classifier,d=0,h=[],p=0,f=0,g=-1,m=0,b=-1,v=0,y=e.length;for(l=0;l<y;l++){var C=e.charCodeAt(l),A=9===C,_=c.get(C);if(1===_&&(g=l,m=r),4===_&&0<l){var w=e.charCodeAt(l-1);1!==c.get(w)&&(g=l,m=r)}var x=1;if(k.s(C)&&(x=o),n<(f=O.nextVisibleColumn(f,t,A,x))&&0!==l){var S=void 0,L=void 0;L=-1!==g&&m<=n?(S=g,m):-1!==b&&v<=n?(S=b,v):(S=l,r),h[p++]=S-d,d=S,f=O.nextVisibleColumn(L,t,A,x),b=g=-1,v=m=0}if(-1!==g&&(m=O.nextVisibleColumn(m,t,A,x)),-1!==b&&(v=O.nextVisibleColumn(v,t,A,x)),2===_&&(0===i||s<=l)&&(g=l+1,m=r),4===_&&l<y-1){var D=e.charCodeAt(l+1);2!==c.get(D)&&(g=l+1,m=r)}3===_&&(b=l+1,v=r)}return 0===p?null:(h[p++]=y-d,new E(new I.a(Object(N.c)(h)),a))},O);function O(e,t,n){this.classifier=new l(e,t,n)}var E=(d.prototype.getOutputLineCount=function(){return this._prefixSums.getCount()},d.prototype.getWrappedLinesIndent=function(){return this._wrappedLinesIndent},d.prototype.getInputOffsetOfOutputPosition=function(e,t){return 0===e?t:this._prefixSums.getAccumulatedValue(e-1)+t},d.prototype.getOutputPositionOfInputOffset=function(e){var t=this._prefixSums.getIndexOf(e);return new a.b(t.index,t.remainder)},d);function d(e,t){this._prefixSums=e,this._wrappedLinesIndent=t}},2475:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var l=n(1124),b=n(988),v=n(1496),o=(i.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},i.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},i.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},i.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},i.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},i.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var o=e.range,i=e.options,r=void 0;if(i.isWholeLine){var a=this._coordinatesConverter.convertModelPositionToViewPosition(new l.a(o.startLineNumber,1)),s=this._coordinatesConverter.convertModelPositionToViewPosition(new l.a(o.endLineNumber,this.model.getLineMaxColumn(o.endLineNumber)));r=new b.a(a.lineNumber,a.column,s.lineNumber,s.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(o);n=new v.e(r,i),this._decorationsCache[t]=n}return n},i.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},i.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,this.configuration.editor.readOnly),n=e.startLineNumber,o=e.endLineNumber,i=[],r=0,a=[],s=n;s<=o;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),p=h.range;if(i[r++]=h,d.inlineClassName){var f=new v.a(p,d.inlineClassName,d.inlineClassNameAffectsLetterSpacing?3:0),g=Math.max(n,p.startLineNumber),m=Math.min(o,p.endLineNumber);for(s=g;s<=m;s++)a[s-n].push(f)}d.beforeContentClassName&&n<=p.startLineNumber&&p.startLineNumber<=o&&(f=new v.a(new b.a(p.startLineNumber,p.startColumn,p.startLineNumber,p.startColumn),d.beforeContentClassName,1),a[p.startLineNumber-n].push(f)),d.afterContentClassName&&n<=p.endLineNumber&&p.endLineNumber<=o&&(f=new v.a(new b.a(p.endLineNumber,p.endColumn,p.endLineNumber,p.endColumn),d.afterContentClassName,2),a[p.endLineNumber-n].push(f))}return{decorations:i,inlineDecorations:a}},i);function i(e,t,n,o,i){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=o,this._coordinatesConverter=i,this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()}},2476:function(e,t,n){"use strict";n.d(t,"a",function(){return F});var o,i=n(2477),r=(n.n(i),n(1215)),g=n(1126),m=n(1223),a=n(2479),b=n(1239),v=n(966),s=n(868),l=n(1423),y=n(1463),u=n(2482),c=n(1424),d=n(2074),C=n(2483),h=n(1422),A=n(988),_=n(1780),p=n(1492),f=n(1676),w=n(1668),x=n(2090),S=n(1781),L=n(1671),D=n(1496),k=n(1291),N=n(1125),I=n(1678),O=n(1497),E=n(1426),M=n(1216),B=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),T=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},P=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},j=(R.prototype.getForeignViewZones=function(e){var t=this;return e.filter(function(e){return!t._zonesMap[String(e.id)]})},R.prototype.clean=function(e){var o=this;0<this._zones.length&&e.changeViewZones(function(e){for(var t=0,n=o._zones.length;t<n;t++)e.removeZone(o._zones[t])}),this._zones=[],this._zonesMap={},this._decorations=e.deltaDecorations(this._decorations,[])},R.prototype.apply=function(e,t,r,n){var a=this,o=n?u.a.capture(e):null;e.changeViewZones(function(e){for(var t=0,n=a._zones.length;t<n;t++)e.removeZone(a._zones[t]);a._zones=[],a._zonesMap={},t=0;for(var o=r.zones.length;t<o;t++){r.zones[t].suppressMouseDown=!0;var i=e.addZone(r.zones[t]);a._zones.push(i),a._zonesMap[String(i)]=!0}}),o&&o.restore(e),this._decorations=e.deltaDecorations(this._decorations,r.decorations),t&&t.setZones(r.overviewZones)},R);function R(){this._zones=[],this._zonesMap={},this._decorations=[]}var W,z=0,F=(W=s.a,B(H,W),H.prototype.hasWidgetFocus=function(){return g.z(document.activeElement,this._domElement)},H.prototype.diffReviewNext=function(){this._reviewPane.next()},H.prototype.diffReviewPrev=function(){this._reviewPane.prev()},H._getClassName=function(e,t){var n="monaco-diff-editor monaco-editor-background ";return t&&(n+="side-by-side "),n+=Object(M.d)(e.type)},H.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()},H.prototype._createLeftHandSide=function(){this._originalDomNode=document.createElement("div"),this._originalDomNode.className="editor original",this._originalDomNode.style.position="absolute",this._originalDomNode.style.height="100%",this._containerDomElement.appendChild(this._originalDomNode)},H.prototype._createRightHandSide=function(){this._modifiedDomNode=document.createElement("div"),this._modifiedDomNode.className="editor modified",this._modifiedDomNode.style.position="absolute",this._modifiedDomNode.style.height="100%",this._containerDomElement.appendChild(this._modifiedDomNode)},H.prototype._createLeftHandSideEditor=function(e,t){var n=this;this.originalEditor=this._createInnerEditor(t,this._originalDomNode,this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),this._register(this.originalEditor.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(this.originalEditor.onDidChangeViewZones(function(){n._onViewZonesChanged()})),this._register(this.originalEditor.onDidChangeModelContent(function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))},H.prototype._createRightHandSideEditor=function(e,t){var n=this;this.modifiedEditor=this._createInnerEditor(t,this._modifiedDomNode,this._adjustOptionsForRightHandSide(e)),this._register(this.modifiedEditor.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(this.modifiedEditor.onDidChangeViewZones(function(){n._onViewZonesChanged()})),this._register(this.modifiedEditor.onDidChangeConfiguration(function(e){e.fontInfo&&n.modifiedEditor.getModel()&&n._onViewZonesChanged()})),this._register(this.modifiedEditor.onDidChangeModelContent(function(){n._isVisible&&n._beginUpdateDecorationsSoon()}))},H.prototype._createInnerEditor=function(e,t,n){return e.createInstance(d.a,t,n,{})},H.prototype.dispose=function(){this._codeEditorService.removeDiffEditor(this),-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),window.clearInterval(this._measureDomElementToken),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(),W.prototype.dispose.call(this)},H.prototype.getId=function(){return this.getEditorType()+":"+this.id},H.prototype.getEditorType=function(){return p.a.IDiffEditor},H.prototype.getLineChanges=function(){return this._diffComputationResult?this._diffComputationResult.changes:null},H.prototype.getOriginalEditor=function(){return this.originalEditor},H.prototype.getModifiedEditor=function(){return this.modifiedEditor},H.prototype.updateOptions=function(e){var t=!1;void 0!==e.renderSideBySide&&this._renderSideBySide!==e.renderSideBySide&&(this._renderSideBySide=e.renderSideBySide,t=!0);var n=!1;void 0!==e.ignoreTrimWhitespace&&this._ignoreTrimWhitespace!==e.ignoreTrimWhitespace&&(this._ignoreTrimWhitespace=e.ignoreTrimWhitespace,n=!0),void 0!==e.renderIndicators&&this._renderIndicators!==e.renderIndicators&&(this._renderIndicators=e.renderIndicators,n=!0),n&&this._beginUpdateDecorations(),void 0!==e.originalEditable&&(this._originalIsEditable=Boolean(e.originalEditable)),this.modifiedEditor.updateOptions(this._adjustOptionsForRightHandSide(e)),this.originalEditor.updateOptions(this._adjustOptionsForLeftHandSide(e,this._originalIsEditable)),void 0!==e.enableSplitViewResizing&&(this._enableSplitViewResizing=e.enableSplitViewResizing),this._strategy.setEnableSplitViewResizing(this._enableSplitViewResizing),t&&(this._renderSideBySide?this._setStrategy(new $(this._createDataSource(),this._enableSplitViewResizing)):this._setStrategy(new re(this._createDataSource(),this._enableSplitViewResizing)),this._containerDomElement.className=H._getClassName(this._themeService.getTheme(),this._renderSideBySide))},H.prototype.getModel=function(){return{original:this.originalEditor.getModel(),modified:this.modifiedEditor.getModel()}},H.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++,e?(this._recreateOverviewRulers(),this._beginUpdateDecorations()):this._diffComputationResult=null,this._layoutOverviewViewport()},H.prototype.getDomNode=function(){return this._domElement},H.prototype.getVisibleColumnFromPosition=function(e){return this.modifiedEditor.getVisibleColumnFromPosition(e)},H.prototype.getPosition=function(){return this.modifiedEditor.getPosition()},H.prototype.setPosition=function(e){this.modifiedEditor.setPosition(e)},H.prototype.revealLine=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLine(e,t)},H.prototype.revealLineInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenter(e,t)},H.prototype.revealLineInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealLineInCenterIfOutsideViewport(e,t)},H.prototype.revealPosition=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPosition(e,t)},H.prototype.revealPositionInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenter(e,t)},H.prototype.revealPositionInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealPositionInCenterIfOutsideViewport(e,t)},H.prototype.getSelection=function(){return this.modifiedEditor.getSelection()},H.prototype.getSelections=function(){return this.modifiedEditor.getSelections()},H.prototype.setSelection=function(e){this.modifiedEditor.setSelection(e)},H.prototype.setSelections=function(e){this.modifiedEditor.setSelections(e)},H.prototype.revealLines=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLines(e,t,n)},H.prototype.revealLinesInCenter=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenter(e,t,n)},H.prototype.revealLinesInCenterIfOutsideViewport=function(e,t,n){void 0===n&&(n=0),this.modifiedEditor.revealLinesInCenterIfOutsideViewport(e,t,n)},H.prototype.revealRange=function(e,t,n,o){void 0===t&&(t=0),void 0===n&&(n=!1),void 0===o&&(o=!0),this.modifiedEditor.revealRange(e,t,n,o)},H.prototype.revealRangeInCenter=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenter(e,t)},H.prototype.revealRangeInCenterIfOutsideViewport=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeInCenterIfOutsideViewport(e,t)},H.prototype.revealRangeAtTop=function(e,t){void 0===t&&(t=0),this.modifiedEditor.revealRangeAtTop(e,t)},H.prototype.getSupportedActions=function(){return this.modifiedEditor.getSupportedActions()},H.prototype.saveViewState=function(){return{original:this.originalEditor.saveViewState(),modified:this.modifiedEditor.saveViewState()}},H.prototype.restoreViewState=function(e){if(e.original&&e.modified){var t=e;this.originalEditor.restoreViewState(t.original),this.modifiedEditor.restoreViewState(t.modified)}},H.prototype.layout=function(e){this._measureDomElement(!1,e)},H.prototype.focus=function(){this.modifiedEditor.focus()},H.prototype.hasTextFocus=function(){return this.originalEditor.hasTextFocus()||this.modifiedEditor.hasTextFocus()},H.prototype.trigger=function(e,t,n){this.modifiedEditor.trigger(e,t,n)},H.prototype.changeDecorations=function(e){return this.modifiedEditor.changeDecorations(e)},H.prototype._measureDomElement=function(e,t){if((t=t||{width:this._containerDomElement.clientWidth,height:this._containerDomElement.clientHeight}).width<=0)return this._width=0,this._height=0,void(this._reviewHeight=0);!e&&t.width===this._width&&t.height===this._height||(this._width=t.width,this._height=t.height,this._reviewHeight=this._reviewPane.isVisible()?this._height:0,this._doLayout())},H.prototype._layoutOverviewRulers=function(){var e=H.ENTIRE_DIFF_OVERVIEW_WIDTH-2*H.ONE_OVERVIEW_WIDTH;this.modifiedEditor.getLayoutInfo()&&(this._originalOverviewRuler.setLayout({top:0,width:H.ONE_OVERVIEW_WIDTH,right:e+H.ONE_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}),this._modifiedOverviewRuler.setLayout({top:0,right:0,width:H.ONE_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}))},H.prototype._onViewZonesChanged=function(){this._currentlyChangingViewZones||this._updateDecorationsRunner.schedule()},H.prototype._beginUpdateDecorationsSoon=function(){var e=this;-1!==this._beginUpdateDecorationsTimeout&&(window.clearTimeout(this._beginUpdateDecorationsTimeout),this._beginUpdateDecorationsTimeout=-1),this._beginUpdateDecorationsTimeout=window.setTimeout(function(){return e._beginUpdateDecorations()},H.UPDATE_DIFF_DECORATIONS_DELAY)},H._equals=function(e,t){return!e&&!t||!(!e||!t)&&e.toString()===t.toString()},H.prototype._beginUpdateDecorations=function(){var t=this;this._beginUpdateDecorationsTimeout=-1;var n=this.originalEditor.getModel(),o=this.modifiedEditor.getModel();if(n&&o){this._diffComputationToken++;var i=this._diffComputationToken;this._editorWorkerService.canComputeDiff(n.uri,o.uri)?this._editorWorkerService.computeDiff(n.uri,o.uri,this._ignoreTrimWhitespace).then(function(e){i===t._diffComputationToken&&n===t.originalEditor.getModel()&&o===t.modifiedEditor.getModel()&&(t._diffComputationResult=e,t._updateDecorationsRunner.schedule(),t._onDidUpdateDiff.fire())},function(e){i===t._diffComputationToken&&n===t.originalEditor.getModel()&&o===t.modifiedEditor.getModel()&&(t._diffComputationResult=null,t._updateDecorationsRunner.schedule())}):H._equals(n.uri,this._lastOriginalWarning)&&H._equals(o.uri,this._lastModifiedWarning)||(this._lastOriginalWarning=n.uri,this._lastModifiedWarning=o.uri,this._notificationService.warn(r.a("diff.tooLarge","Cannot compare files because one file is too large.")))}},H.prototype._cleanViewZonesAndDecorations=function(){this._originalEditorState.clean(this.originalEditor),this._modifiedEditorState.clean(this.modifiedEditor)},H.prototype._updateDecorations=function(){if(this.originalEditor.getModel()&&this.modifiedEditor.getModel()){var e=this._diffComputationResult?this._diffComputationResult.changes:[],t=this._originalEditorState.getForeignViewZones(this.originalEditor.getWhitespaces()),n=this._modifiedEditorState.getForeignViewZones(this.modifiedEditor.getWhitespaces()),o=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,o.original,!1),this._modifiedEditorState.apply(this.modifiedEditor,this._modifiedOverviewRuler,o.modified,!0)}finally{this._currentlyChangingViewZones=!1}}},H.prototype._adjustOptionsForSubEditor=function(e){var t=l.b(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},H.prototype._adjustOptionsForLeftHandSide=function(e,t){var n=this._adjustOptionsForSubEditor(e);return n.readOnly=!t,n.overviewRulerLanes=1,n.extraEditorClassName="original-in-monaco-diff-editor",n},H.prototype._adjustOptionsForRightHandSide=function(e){var t=this._adjustOptionsForSubEditor(e);return t.revealHorizontalRightPadding=h.a.viewInfo.revealHorizontalRightPadding+H.ENTIRE_DIFF_OVERVIEW_WIDTH,t.scrollbar.verticalHasArrows=!1,t.extraEditorClassName="modified-in-monaco-diff-editor",t},H.prototype.doLayout=function(){this._measureDomElement(!0)},H.prototype._doLayout=function(){var e=this._strategy.layout();this._originalDomNode.style.width=e+"px",this._originalDomNode.style.left="0px",this._modifiedDomNode.style.width=this._width-e+"px",this._modifiedDomNode.style.left=e+"px",this._overviewDomElement.style.top="0px",this._overviewDomElement.style.height=this._height-this._reviewHeight+"px",this._overviewDomElement.style.width=H.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewDomElement.style.left=this._width-H.ENTIRE_DIFF_OVERVIEW_WIDTH+"px",this._overviewViewportDomElement.setWidth(H.ENTIRE_DIFF_OVERVIEW_WIDTH),this._overviewViewportDomElement.setHeight(30),this.originalEditor.layout({width:e,height:this._height-this._reviewHeight}),this.modifiedEditor.layout({width:this._width-e-H.ENTIRE_DIFF_OVERVIEW_WIDTH,height:this._height-this._reviewHeight}),(this._originalOverviewRuler||this._modifiedOverviewRuler)&&this._layoutOverviewRulers(),this._reviewPane.layout(this._height-this._reviewHeight,this._width,this._reviewHeight),this._layoutOverviewViewport()},H.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))},H.prototype._computeOverviewViewport=function(){var e=this.modifiedEditor.getLayoutInfo();if(!e)return null;var t=this.modifiedEditor.getScrollTop(),n=this.modifiedEditor.getScrollHeight(),o=Math.max(0,e.contentHeight),i=Math.max(0,o-0),r=0<n?i/n:0;return{height:Math.max(0,Math.floor(e.contentHeight*r)),top:Math.floor(t*r)}},H.prototype._createDataSource=function(){var e=this;return{getWidth:function(){return e._width},getHeight:function(){return e._height-e._reviewHeight},getContainerDomNode:function(){return e._containerDomElement},relayoutEditors:function(){e._doLayout()},getOriginalEditor:function(){return e.originalEditor},getModifiedEditor:function(){return e.modifiedEditor}}},H.prototype._setStrategy=function(e){this._strategy&&this._strategy.dispose(),(this._strategy=e).applyColors(this._themeService.getTheme()),this._diffComputationResult&&this._updateDecorations(),this._measureDomElement(!0)},H.prototype._getLineChangeAtOrBeforeLineNumber=function(e,t){var n=this._diffComputationResult?this._diffComputationResult.changes:[];if(0===n.length||e<t(n[0]))return null;for(var o=0,i=n.length-1;o<i;){var r=Math.floor((o+i)/2),a=t(n[r]),s=r+1<=i?t(n[r+1]):Number.MAX_VALUE;e<a?i=r-1:s<=e?o=r+1:i=o=r}return n[o]},H.prototype._getEquivalentLineForOriginalLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,function(e){return e.originalStartLineNumber});if(!t)return e;var n=t.originalStartLineNumber+(0<t.originalEndLineNumber?-1:0),o=t.modifiedStartLineNumber+(0<t.modifiedEndLineNumber?-1:0),i=0<t.originalEndLineNumber?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=0<t.modifiedEndLineNumber?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-n;return a<=i?o+Math.min(a,r):o+r-i+a},H.prototype._getEquivalentLineForModifiedLineNumber=function(e){var t=this._getLineChangeAtOrBeforeLineNumber(e,function(e){return e.modifiedStartLineNumber});if(!t)return e;var n=t.originalStartLineNumber+(0<t.originalEndLineNumber?-1:0),o=t.modifiedStartLineNumber+(0<t.modifiedEndLineNumber?-1:0),i=0<t.originalEndLineNumber?t.originalEndLineNumber-t.originalStartLineNumber+1:0,r=0<t.modifiedEndLineNumber?t.modifiedEndLineNumber-t.modifiedStartLineNumber+1:0,a=e-o;return a<=r?n+Math.min(a,i):n+i-r+a},H.prototype.getDiffLineInformationForOriginal=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForOriginalLineNumber(e)}:null},H.prototype.getDiffLineInformationForModified=function(e){return this._diffComputationResult?{equivalentLineNumber:this._getEquivalentLineForModifiedLineNumber(e)}:null},H.ONE_OVERVIEW_WIDTH=15,H.ENTIRE_DIFF_OVERVIEW_WIDTH=30,H.UPDATE_DIFF_DECORATIONS_DELAY=200,H=T([P(2,w.a),P(3,k.c),P(4,N.a),P(5,c.a),P(6,M.c),P(7,O.a)],H));function H(e,t,n,o,i,r,a,s){var l=W.call(this)||this;l._onDidDispose=l._register(new v.a),l.onDidDispose=l._onDidDispose.event,l._onDidUpdateDiff=l._register(new v.a),l.onDidUpdateDiff=l._onDidUpdateDiff.event,l._lastOriginalWarning=null,l._lastModifiedWarning=null,l._editorWorkerService=n,l._codeEditorService=r,l._contextKeyService=l._register(o.createScoped(e)),l._contextKeyService.createKey("isInDiffEditor",!0),l._themeService=a,l._notificationService=s,l.id=++z,l._domElement=e,t=t||{},l._renderSideBySide=!0,void 0!==t.renderSideBySide&&(l._renderSideBySide=t.renderSideBySide),l._ignoreTrimWhitespace=!0,void 0!==t.ignoreTrimWhitespace&&(l._ignoreTrimWhitespace=t.ignoreTrimWhitespace),l._renderIndicators=!0,void 0!==t.renderIndicators&&(l._renderIndicators=t.renderIndicators),l._originalIsEditable=!1,void 0!==t.originalEditable&&(l._originalIsEditable=Boolean(t.originalEditable)),l._updateDecorationsRunner=l._register(new b.c(function(){return l._updateDecorations()},0)),l._containerDomElement=document.createElement("div"),l._containerDomElement.className=H._getClassName(l._themeService.getTheme(),l._renderSideBySide),l._containerDomElement.style.position="relative",l._containerDomElement.style.height="100%",l._domElement.appendChild(l._containerDomElement),l._overviewViewportDomElement=Object(m.b)(document.createElement("div")),l._overviewViewportDomElement.setClassName("diffViewport"),l._overviewViewportDomElement.setPosition("absolute"),l._overviewDomElement=document.createElement("div"),l._overviewDomElement.className="diffOverview",l._overviewDomElement.style.position="absolute",l._overviewDomElement.appendChild(l._overviewViewportDomElement.domNode),l._register(g.j(l._overviewDomElement,"mousedown",function(e){l.modifiedEditor.delegateVerticalScrollbarMouseDown(e)})),l._containerDomElement.appendChild(l._overviewDomElement),l._createLeftHandSide(),l._createRightHandSide(),l._beginUpdateDecorationsTimeout=-1,l._currentlyChangingViewZones=!1,l._diffComputationToken=0,l._originalEditorState=new j,l._modifiedEditorState=new j,l._isVisible=!0,l._isHandlingScrollEvent=!1,l._width=0,l._height=0,l._reviewHeight=0,l._diffComputationResult=null;var u=l._contextKeyService.createScoped();u.createKey("isInDiffLeftEditor",!0);var c=new I.a;c.set(k.c,u);var d=i.createChild(c),h=l._contextKeyService.createScoped();h.createKey("isInDiffRightEditor",!0);var p=new I.a;p.set(k.c,h);var f=i.createChild(p);return l._createLeftHandSideEditor(t,d),l._createRightHandSideEditor(t,f),l._reviewPane=new C.a(l),l._containerDomElement.appendChild(l._reviewPane.domNode.domNode),l._containerDomElement.appendChild(l._reviewPane.shadow.domNode),l._containerDomElement.appendChild(l._reviewPane.actionBarContainer.domNode),t.automaticLayout&&(l._measureDomElementToken=window.setInterval(function(){return l._measureDomElement(!1)},100)),l._enableSplitViewResizing=!0,void 0!==t.enableSplitViewResizing&&(l._enableSplitViewResizing=t.enableSplitViewResizing),l._renderSideBySide?l._setStrategy(new $(l._createDataSource(),l._enableSplitViewResizing)):l._setStrategy(new re(l._createDataSource(),l._enableSplitViewResizing)),l._register(a.onThemeChange(function(e){l._strategy&&l._strategy.applyColors(e)&&l._updateDecorationsRunner.schedule(),l._containerDomElement.className=H._getClassName(l._themeService.getTheme(),l._renderSideBySide)})),l._codeEditorService.addDiffEditor(l),l}var V,U=(V=s.a,B(Z,V),Z.prototype.applyColors=function(e){var t=(e.getColor(E.j)||E.g).transparent(2),n=(e.getColor(E.l)||E.h).transparent(2),o=!t.equals(this._insertColor)||!n.equals(this._removeColor);return this._insertColor=t,this._removeColor=n,o},Z.prototype.getEditorsDiffDecorations=function(e,t,n,o,i,r,a){i=i.sort(function(e,t){return e.afterLineNumber-t.afterLineNumber}),o=o.sort(function(e,t){return e.afterLineNumber-t.afterLineNumber});var s=this._getViewZones(e,o,i,r,a,n),l=this._getOriginalEditorDecorations(e,t,n,r,a),u=this._getModifiedEditorDecorations(e,t,n,r,a);return{original:{decorations:l.decorations,overviewZones:l.overviewZones,zones:s.original},modified:{decorations:u.decorations,overviewZones:u.overviewZones,zones:s.modified}}},Z);function Z(e){var t=V.call(this)||this;return t._dataSource=e,t}var G=(K.prototype.advance=function(){this._index++,this._index<this._source.length?this.current=this._source[this._index]:this.current=null},K);function K(e){this._source=e,this._index=-1,this.advance()}var Y=(q.prototype.getViewZones=function(){for(var e=[],t=[],n=0,o=0,i=0,r=0,a=0,s=0,l=function(e,t){return e.afterLineNumber-t.afterLineNumber},u=function(e,t){if(null===t.domNode&&0<e.length){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 G(this.modifiedForeignVZ),d=new G(this.originalForeignVZ),h=0,p=this.lineChanges.length;h<=p;h++){var f=h<p?this.lineChanges[h]:null;s=null!==f?(i=f.originalStartLineNumber+(0<f.originalEndLineNumber?-1:0),r=f.modifiedStartLineNumber+(0<f.modifiedEndLineNumber?-1:0),o=0<f.originalEndLineNumber?f.originalEndLineNumber-f.originalStartLineNumber+1:0,n=0<f.modifiedEndLineNumber?f.modifiedEndLineNumber-f.modifiedStartLineNumber+1:0,a=Math.max(f.originalStartLineNumber,f.originalEndLineNumber),Math.max(f.modifiedStartLineNumber,f.modifiedEndLineNumber)):(a=i+=1e7+o,r+=1e7+n);for(var g,m=[],b=[];c.current&&c.current.afterLineNumber<=s;){var v=void 0;v=c.current.afterLineNumber<=r?i-r+c.current.afterLineNumber:a;var y=null;f&&f.modifiedStartLineNumber<=c.current.afterLineNumber&&c.current.afterLineNumber<=f.modifiedEndLineNumber&&(y=this._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion()),m.push({afterLineNumber:v,heightInLines:c.current.heightInLines,domNode:null,marginDomNode:y}),c.advance()}for(;d.current&&d.current.afterLineNumber<=a;)v=void 0,v=d.current.afterLineNumber<=i?r-i+d.current.afterLineNumber:s,b.push({afterLineNumber:v,heightInLines:d.current.heightInLines,domNode:null}),d.advance();null!==f&&ce(f)&&(g=this._produceOriginalFromDiff(f,o,n))&&m.push(g),null!==f&&de(f)&&(g=this._produceModifiedFromDiff(f,o,n))&&b.push(g);var C=0,A=0;for(m=m.sort(l),b=b.sort(l);C<m.length&&A<b.length;){var _=m[C],w=b[A],x=_.afterLineNumber-i,S=w.afterLineNumber-r;x<S?(u(e,_),C++):S<x?(u(t,w),A++):_.shouldNotShrink?(u(e,_),C++):w.shouldNotShrink?(u(t,w),A++):_.heightInLines>=w.heightInLines?(_.heightInLines-=w.heightInLines,A++):(w.heightInLines-=_.heightInLines,C++)}for(;C<m.length;)u(e,m[C]),C++;for(;A<b.length;)u(t,b[A]),A++}return{original:q._ensureDomNodes(e),modified:q._ensureDomNodes(t)}},q._ensureDomNodes=function(e){return e.map(function(e){var t;return e.domNode||(e.domNode=((t=document.createElement("div")).className="diagonal-fill",t)),e})},q);function q(e,t,n){this.lineChanges=e,this.originalForeignVZ=t,this.modifiedForeignVZ=n}function J(e,t,n,o,i){return{range:new A.a(e,t,n,o),options:i}}var X,Q={charDelete:f.a.register({className:"char-delete"}),charDeleteWholeLine:f.a.register({className:"char-delete",isWholeLine:!0}),charInsert:f.a.register({className:"char-insert"}),charInsertWholeLine:f.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:f.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:f.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:f.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:f.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:f.a.register({marginClassName:"line-delete"})},$=(B(ee,X=U),ee.prototype.setEnableSplitViewResizing=function(e){var t=!1===e;this._disableSash!==t&&(this._disableSash=t,this._sash.state=this._disableSash?0:3)},ee.prototype.layout=function(e){void 0===e&&(e=this._sashRatio);var t=this._dataSource.getWidth()-F.ENTIRE_DIFF_OVERVIEW_WIDTH,n=Math.floor((e||.5)*t),o=Math.floor(.5*t);return n=this._disableSash?o:n||o,2*ee.MINIMUM_EDITOR_WIDTH<t?(n<ee.MINIMUM_EDITOR_WIDTH&&(n=ee.MINIMUM_EDITOR_WIDTH),t-ee.MINIMUM_EDITOR_WIDTH<n&&(n=t-ee.MINIMUM_EDITOR_WIDTH)):n=o,this._sashPosition!==n&&(this._sashPosition=n,this._sash.layout()),this._sashPosition},ee.prototype.onSashDragStart=function(){this._startSashPosition=this._sashPosition},ee.prototype.onSashDrag=function(e){var t=this._dataSource.getWidth()-F.ENTIRE_DIFF_OVERVIEW_WIDTH,n=this.layout((this._startSashPosition+(e.currentX-e.startX))/t);this._sashRatio=n/t,this._dataSource.relayoutEditors()},ee.prototype.onSashDragEnd=function(){this._sash.layout()},ee.prototype.onSashReset=function(){this._sashRatio=.5,this._dataSource.relayoutEditors(),this._sash.layout()},ee.prototype.getVerticalSashTop=function(e){return 0},ee.prototype.getVerticalSashLeft=function(e){return this._sashPosition},ee.prototype.getVerticalSashHeight=function(e){return this._dataSource.getHeight()},ee.prototype._getViewZones=function(e,t,n,o,i){return new ne(e,t,n).getViewZones()},ee.prototype._getOriginalEditorDecorations=function(e,t,n,o,i){for(var r=this._removeColor.toString(),a={decorations:[],overviewZones:[]},s=o.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(de(c)&&(a.decorations.push({range:new A.a(c.originalStartLineNumber,1,c.originalEndLineNumber,Number.MAX_VALUE),options:n?Q.lineDeleteWithSign:Q.lineDelete}),ce(c)&&c.charChanges||a.decorations.push(J(c.originalStartLineNumber,1,c.originalEndLineNumber,Number.MAX_VALUE,Q.charDeleteWholeLine)),a.overviewZones.push(new x.a(c.originalStartLineNumber,c.originalEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var p=c.charChanges[d];if(de(p))if(t)for(var f=p.originalStartLineNumber;f<=p.originalEndLineNumber;f++){var g=void 0,m=void 0;g=f===p.originalStartLineNumber?p.originalStartColumn:s.getLineFirstNonWhitespaceColumn(f),m=f===p.originalEndLineNumber?p.originalEndColumn:s.getLineLastNonWhitespaceColumn(f),a.decorations.push(J(f,g,f,m,Q.charDelete))}else a.decorations.push(J(p.originalStartLineNumber,p.originalStartColumn,p.originalEndLineNumber,p.originalEndColumn,Q.charDelete))}}return a},ee.prototype._getModifiedEditorDecorations=function(e,t,n,o,i){for(var r=this._insertColor.toString(),a={decorations:[],overviewZones:[]},s=i.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(ce(c)&&(a.decorations.push({range:new A.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE),options:n?Q.lineInsertWithSign:Q.lineInsert}),de(c)&&c.charChanges||a.decorations.push(J(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE,Q.charInsertWholeLine)),a.overviewZones.push(new x.a(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges))for(var d=0,h=c.charChanges.length;d<h;d++){var p=c.charChanges[d];if(ce(p))if(t)for(var f=p.modifiedStartLineNumber;f<=p.modifiedEndLineNumber;f++){var g=void 0,m=void 0;g=f===p.modifiedStartLineNumber?p.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(f),m=f===p.modifiedEndLineNumber?p.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(f),a.decorations.push(J(f,g,f,m,Q.charInsert))}else a.decorations.push(J(p.modifiedStartLineNumber,p.modifiedStartColumn,p.modifiedEndLineNumber,p.modifiedEndColumn,Q.charInsert))}}return a},ee.MINIMUM_EDITOR_WIDTH=100,ee);function ee(e,t){var n=X.call(this,e)||this;return n._disableSash=!1===t,n._sashRatio=null,n._sashPosition=null,n._sash=n._register(new a.a(n._dataSource.getContainerDomNode(),n)),n._disableSash&&(n._sash.state=0),n._sash.onDidStart(function(){return n.onSashDragStart()}),n._sash.onDidChange(function(e){return n.onSashDrag(e)}),n._sash.onDidEnd(function(){return n.onSashDragEnd()}),n._sash.onDidReset(function(){return n.onSashReset()}),n}var te,ne=(B(oe,te=Y),oe.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){return null},oe.prototype._produceOriginalFromDiff=function(e,t,n){return t<n?{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n-t,domNode:null}:null},oe.prototype._produceModifiedFromDiff=function(e,t,n){return n<t?{afterLineNumber:Math.max(e.modifiedStartLineNumber,e.modifiedEndLineNumber),heightInLines:t-n,domNode:null}:null},oe);function oe(e,t,n){return te.call(this,e,t,n)||this}var ie,re=(B(ae,ie=U),ae.prototype.setEnableSplitViewResizing=function(e){},ae.prototype._getViewZones=function(e,t,n,o,i,r){return new le(e,t,n,o,i,r).getViewZones()},ae.prototype._getOriginalEditorDecorations=function(e,t,n,o,i){for(var r=this._removeColor.toString(),a={decorations:[],overviewZones:[]},s=0,l=e.length;s<l;s++){var u=e[s];de(u)&&(a.decorations.push({range:new A.a(u.originalStartLineNumber,1,u.originalEndLineNumber,Number.MAX_VALUE),options:Q.lineDeleteMargin}),a.overviewZones.push(new x.a(u.originalStartLineNumber,u.originalEndLineNumber,r)))}return a},ae.prototype._getModifiedEditorDecorations=function(e,t,n,o,i){for(var r=this._insertColor.toString(),a={decorations:[],overviewZones:[]},s=i.getModel(),l=0,u=e.length;l<u;l++){var c=e[l];if(ce(c))if(a.decorations.push({range:new A.a(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE),options:n?Q.lineInsertWithSign:Q.lineInsert}),a.overviewZones.push(new x.a(c.modifiedStartLineNumber,c.modifiedEndLineNumber,r)),c.charChanges)for(var d=0,h=c.charChanges.length;d<h;d++){var p=c.charChanges[d];if(ce(p))if(t)for(var f=p.modifiedStartLineNumber;f<=p.modifiedEndLineNumber;f++){var g=void 0,m=void 0;g=f===p.modifiedStartLineNumber?p.modifiedStartColumn:s.getLineFirstNonWhitespaceColumn(f),m=f===p.modifiedEndLineNumber?p.modifiedEndColumn:s.getLineLastNonWhitespaceColumn(f),a.decorations.push(J(f,g,f,m,Q.charInsert))}else a.decorations.push(J(p.modifiedStartLineNumber,p.modifiedStartColumn,p.modifiedEndLineNumber,p.modifiedEndColumn,Q.charInsert))}else a.decorations.push(J(c.modifiedStartLineNumber,1,c.modifiedEndLineNumber,Number.MAX_VALUE,Q.charInsertWholeLine))}return a},ae.prototype.layout=function(){return Math.max(5,this.decorationsLeft)},ae);function ae(t,e){var n=ie.call(this,t)||this;return n.decorationsLeft=t.getOriginalEditor().getLayoutInfo().decorationsLeft,n._register(t.getOriginalEditor().onDidLayoutChange(function(e){n.decorationsLeft!==e.decorationsLeft&&(n.decorationsLeft=e.decorationsLeft,t.relayoutEditors())})),n}var se,le=(B(ue,se=Y),ue.prototype._createOriginalMarginDomNodeForModifiedForeignViewZoneInAddedRegion=function(){var e=document.createElement("div");return e.className="inline-added-margin-view-zone",e},ue.prototype._produceOriginalFromDiff=function(e,t,n){var o=document.createElement("div");return o.className="inline-added-margin-view-zone",{afterLineNumber:Math.max(e.originalStartLineNumber,e.originalEndLineNumber),heightInLines:n,domNode:document.createElement("div"),marginDomNode:o}},ue.prototype._produceModifiedFromDiff=function(e,t,n){var o=[];if(e.charChanges)for(var i=0,r=e.charChanges.length;i<r;i++){var a=e.charChanges[i];de(a)&&o.push(new D.a(new A.a(a.originalStartLineNumber,a.originalStartColumn,a.originalEndLineNumber,a.originalEndColumn),"char-delete",0))}for(var s=Object(_.a)(1e4),l=[],u=this.modifiedEditorConfiguration.layoutInfo.decorationsWidth,c=this.modifiedEditorConfiguration.lineHeight,d=this.modifiedEditorConfiguration.fontInfo.typicalHalfwidthCharacterWidth,h=0,p=e.originalStartLineNumber;p<=e.originalEndLineNumber;p++)if(h=Math.max(h,this._renderOriginalLine(p-e.originalStartLineNumber,this.originalModel,this.modifiedEditorConfiguration,this.modifiedEditorTabSize,p,o,s)),this.renderIndicators){var f=p-e.originalStartLineNumber;l=l.concat(['<div class="delete-sign" style="position:absolute;top:'+f*c+"px;width:"+u+"px;height:"+c+'px;right:0;"></div>'])}h+=this.modifiedEditorConfiguration.viewInfo.scrollBeyondLastColumn;var g=document.createElement("div");g.className="view-lines line-delete",g.innerHTML=s.build(),y.a.applyFontInfoSlow(g,this.modifiedEditorConfiguration.fontInfo);var m=document.createElement("div");return m.className="inline-deleted-margin-view-zone",m.innerHTML=l.join(""),y.a.applyFontInfoSlow(m,this.modifiedEditorConfiguration.fontInfo),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:h*d,domNode:g,marginDomNode:m}},ue.prototype._renderOriginalLine=function(e,t,n,o,i,r,a){var s=t.getLineTokens(i),l=s.getLineContent(),u=S.a.filter(r,i,1,l.length+1);a.appendASCIIString('<div class="view-line'),0===r.length&&a.appendASCIIString(" char-delete"),a.appendASCIIString('" style="top:'),a.appendASCIIString(String(e*n.lineHeight)),a.appendASCIIString('px;width:1000000px;">');var c=D.d.isBasicASCII(l,t.mightContainNonBasicASCII()),d=D.d.containsRTL(l,c,t.mightContainRTL()),h=Object(L.c)(new L.b(n.fontInfo.isMonospace&&!n.viewInfo.disableMonospaceOptimizations,n.fontInfo.canUseHalfwidthRightwardsArrow,l,!1,c,d,0,s,u,o,n.fontInfo.spaceWidth,n.viewInfo.stopRenderingLineAfter,n.viewInfo.renderWhitespace,n.viewInfo.renderControlCharacters,n.viewInfo.fontLigatures),a);a.appendASCIIString("</div>");var p=h.characterMapping.getAbsoluteOffsets();return 0<p.length?p[p.length-1]:0},ue);function ue(e,t,n,o,i,r){var a=se.call(this,e,t,n)||this;return a.originalModel=o.getModel(),a.modifiedEditorConfiguration=i.getConfiguration(),a.modifiedEditorTabSize=i.getModel().getOptions().tabSize,a.renderIndicators=r,a}function ce(e){return 0<e.modifiedEndLineNumber}function de(e){return 0<e.originalEndLineNumber}Object(M.e)(function(e,t){var n=e.getColor(E.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 o=e.getColor(E.l);o&&(t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { background-color: "+o+"; }"),t.addRule(".monaco-diff-editor .line-delete, .monaco-diff-editor .char-delete { background-color: "+o+"; }"),t.addRule(".monaco-editor .inline-deleted-margin-view-zone { background-color: "+o+"; }"));var i=e.getColor(E.k);i&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+i+"; }");var r=e.getColor(E.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var a=e.getColor(E._4);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+a+"; }");var s=e.getColor(E.i);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+s+"; }")})},2477:function(e,t,n){var o=n(2478);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2478:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-diff-editor .diffViewport{-webkit-box-shadow:inset 0 0 1px 0 #b9b9b9;box-shadow:inset 0 0 1px 0 #b9b9b9;background:rgba(0,0,0,.1)}.monaco-diff-editor.hc-black .diffViewport,.monaco-diff-editor.vs-dark .diffViewport{background:hsla(0,0%,100%,.1)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{background-size:60%;opacity:.7;background-repeat:no-repeat;background-position:50% 50%;background-position:50%;background-size:11px 11px}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign{opacity:1}.monaco-diff-editor .insert-sign,.monaco-editor .insert-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMTEiIHdpZHRoPSIzIiB5PSIzIiB4PSI3IiBmaWxsPSIjNDI0MjQyIi8+PHJlY3QgaGVpZ2h0PSIzIiB3aWR0aD0iMTEiIHk9IjciIHg9IjMiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=")}.monaco-diff-editor .delete-sign,.monaco-editor .delete-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMyIgd2lkdGg9IjExIiB5PSI3IiB4PSIzIiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+")}.monaco-diff-editor.hc-black .insert-sign,.monaco-diff-editor.vs-dark .insert-sign,.monaco-editor.hc-black .insert-sign,.monaco-editor.vs-dark .insert-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMTEiIHdpZHRoPSIzIiB5PSIzIiB4PSI3IiBmaWxsPSIjQzVDNUM1Ii8+PHJlY3QgaGVpZ2h0PSIzIiB3aWR0aD0iMTEiIHk9IjciIHg9IjMiIGZpbGw9IiNDNUM1QzUiLz48L3N2Zz4=")}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.vs-dark .delete-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.vs-dark .delete-sign{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMyIgd2lkdGg9IjExIiB5PSI3IiB4PSIzIiBmaWxsPSIjQzVDNUM1Ii8+PC9zdmc+")}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .diagonal-fill{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAChJREFUKFNjOH/+fAMDDgCSu3Dhwn9c8gwwBTgNGR4KQP4HhQOhsAIAZCBTkhtqePcAAAAASUVORK5CYII=")}.monaco-editor.vs-dark .diagonal-fill{opacity:.2}.monaco-editor.hc-black .diagonal-fill{background:none}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/widget/media/diffEditor.css"],names:[],mappings:"AAMA,kCACC,SAAW,CACX,AAGD,qCAAyC,0BAAgC,CAAE,AAC3E,0CAA6C,8BAAsC,CAAE,AAErF,kCACC,2CAAkD,AAC1C,mCAA0C,AAClD,yBAAgC,CAChC,AAED,qFAEC,6BAAsC,CACtC,AAED,qJAA+E,sBAA0B,CAAE,AAC3G,8EAAgF,eAAiB,CAAE,AAEnG,kEACC,UAAY,CACZ,AACD,+CAAoD,4BAAoC,CAAE,AAC1F,wDAA0D,eAAiB,CAAE,AAI7E,0HAIC,oBAAqB,AACrB,WAAa,AACb,4BAA6B,AAC7B,4BAA6B,AAC7B,wBAA4B,AAC5B,yBAA2B,CAC3B,AACD,8JAIC,SAAW,CACX,AACD,6DAEC,kUAAoU,CACpU,AACD,6DAEC,sPAAwP,CACxP,AAED,4JAIC,kUAAoU,CACpU,AACD,4JAIC,sPAAwP,CACxP,AAKD,8FACC,gBAAkB,CAClB,AAED,8BACC,gSAAkS,CAClS,AACD,sCACC,UAAa,CACb,AACD,uCACC,eAAiB,CACjB,AAID,uDACC,oBAAsB,CACtB",file:"diffEditor.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n\tz-index: 9;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs\t\t\t.diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark\t\t.diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-diff-editor .diffViewport {\n\t-webkit-box-shadow: inset 0px 0px 1px 0px #B9B9B9;\n\t box-shadow: inset 0px 0px 1px 0px #B9B9B9;\n\tbackground: rgba(0, 0, 0, 0.10);\n}\n\n.monaco-diff-editor.vs-dark .diffViewport,\n.monaco-diff-editor.hc-black .diffViewport {\n\tbackground: rgba(255, 255, 255, 0.10);\n}\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs\t\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark\t.scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black\t.scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n\tz-index: 10;\n}\n.modified-in-monaco-diff-editor\t\t\t\t.slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black\t.slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n\tbackground-size: 60%;\n\topacity: 0.7;\n\tbackground-repeat: no-repeat;\n\tbackground-position: 50% 50%;\n\tbackground-position: center;\n\tbackground-size: 11px 11px;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign {\n\topacity: 1;\n}\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMTEiIHdpZHRoPSIzIiB5PSIzIiB4PSI3IiBmaWxsPSIjNDI0MjQyIi8+PHJlY3QgaGVpZ2h0PSIzIiB3aWR0aD0iMTEiIHk9IjciIHg9IjMiIGZpbGw9IiM0MjQyNDIiLz48L3N2Zz4=");\n}\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMyIgd2lkdGg9IjExIiB5PSI3IiB4PSIzIiBmaWxsPSIjNDI0MjQyIi8+PC9zdmc+");\n}\n\n.monaco-editor.vs-dark .insert-sign,\n.monaco-diff-editor.vs-dark .insert-sign,\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMTEiIHdpZHRoPSIzIiB5PSIzIiB4PSI3IiBmaWxsPSIjQzVDNUM1Ii8+PHJlY3QgaGVpZ2h0PSIzIiB3aWR0aD0iMTEiIHk9IjciIHg9IjMiIGZpbGw9IiNDNUM1QzUiLz48L3N2Zz4=");\n}\n.monaco-editor.vs-dark .delete-sign,\n.monaco-diff-editor.vs-dark .delete-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPkxheWVyIDE8L3RpdGxlPjxyZWN0IGhlaWdodD0iMyIgd2lkdGg9IjExIiB5PSI3IiB4PSIzIiBmaWxsPSIjQzVDNUM1Ii8+PC9zdmc+");\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n\ttext-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n\ttext-align: right;\n}\n\n.monaco-editor .diagonal-fill {\n\tbackground: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAChJREFUKFNjOH/+fAMDDgCSu3Dhwn9c8gwwBTgNGR4KQP4HhQOhsAIAZCBTkhtqePcAAAAASUVORK5CYII=");\n}\n.monaco-editor.vs-dark .diagonal-fill {\n\topacity: 0.2;\n}\n.monaco-editor.hc-black .diagonal-fill {\n\tbackground: none;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n\tdisplay: inline-block;\n}\n'],sourceRoot:""}])},2479:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var o,i,r=n(2480),f=(n.n(r),n(868)),a=n(1304),g=n(1134),s=n(1255),l=n(1588),m=n(1409),u=n(966),b=n(1126),v=n(1544),c=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(i=f.a,c(h,i),Object.defineProperty(h.prototype,"state",{get:function(){return this._state},set:function(e){this._state!==e&&(Object(b.M)(this.el,"disabled",0===e),Object(b.M)(this.el,"minimum",1===e),Object(b.M)(this.el,"maximum",2===e),this._state=e,this._onDidEnablementChange.fire(e))},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"orthogonalStartSash",{get:function(){return this._orthogonalStartSash},set:function(e){this.orthogonalStartSashDisposables=Object(f.d)(this.orthogonalStartSashDisposables),e?(e.onDidEnablementChange(this.onOrthogonalStartSashEnablementChange,this,this.orthogonalStartSashDisposables),this.onOrthogonalStartSashEnablementChange(e.state)):this.onOrthogonalStartSashEnablementChange(0),this._orthogonalStartSash=e},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"orthogonalEndSash",{get:function(){return this._orthogonalEndSash},set:function(e){this.orthogonalEndSashDisposables=Object(f.d)(this.orthogonalEndSashDisposables),e?(e.onDidEnablementChange(this.onOrthogonalEndSashEnablementChange,this,this.orthogonalEndSashDisposables),this.onOrthogonalEndSashEnablementChange(e.state)):this.onOrthogonalEndSashEnablementChange(0),this._orthogonalEndSash=e},enumerable:!0,configurable:!0}),h.prototype.setOrientation=function(e){this.orientation=e,1===this.orientation?(Object(b.e)(this.el,"horizontal"),Object(b.D)(this.el,"vertical")):(Object(b.D)(this.el,"horizontal"),Object(b.e)(this.el,"vertical")),this.layoutProvider&&this.layout()},h.prototype.onMouseDown=function(e){var o=this;b.b.stop(e,!1);var t=!1;if(this.linkedSash&&!e.__linkedSashEvent&&(e.__linkedSashEvent=!0,this.linkedSash.onMouseDown(e)),!e.__orthogonalSashEvent){var n=void 0;0===this.orientation?e.offsetY<=4?n=this.orthogonalStartSash:e.offsetY>=this.el.clientHeight-4&&(n=this.orthogonalEndSash):e.offsetX<=4?n=this.orthogonalStartSash:e.offsetX>=this.el.clientWidth-4&&(n=this.orthogonalEndSash),n&&(t=!0,e.__orthogonalSashEvent=!0,n.onMouseDown(e))}if(this.state){for(var i=0,r=Object(b.t)("iframe");i<r.length;i++)r[i].style.pointerEvents="none";var a=new m.a(e),s=a.posx,l=a.posy,u=a.altKey,c={startX:s,currentX:s,startY:l,currentY:l,altKey:u};Object(b.e)(this.el,"active"),this._onDidStart.fire(c);var d=Object(b.o)(this.el),h=function(){var e="";e=t?"all-scroll":1===o.orientation?1===o.state?"s-resize":2===o.state?"n-resize":g.d?"row-resize":"ns-resize":1===o.state?"e-resize":2===o.state?"w-resize":g.d?"col-resize":"ew-resize",d.innerHTML="* { cursor: "+e+" !important; }"},p=[];h(),t||this.onDidEnablementChange(h,null,p),Object(v.a)(window,"mousemove")(function(e){b.b.stop(e,!1);var t=new m.a(e),n={startX:s,currentX:t.posx,startY:l,currentY:t.posy,altKey:u};o._onDidChange.fire(n)},null,p),Object(v.a)(window,"mouseup")(function(e){b.b.stop(e,!1),o.el.removeChild(d),Object(b.D)(o.el,"active"),o._onDidEnd.fire(),Object(f.d)(p);for(var t=0,n=Object(b.t)("iframe");t<n.length;t++)n[t].style.pointerEvents="auto"},null,p)}},h.prototype.onMouseDoubleClick=function(e){this._onDidReset.fire()},h.prototype.onTouchStart=function(e){var t=this;b.b.stop(e);var n=[],o=e.pageX,i=e.pageY,r=e.altKey;this._onDidStart.fire({startX:o,currentX:o,startY:i,currentY:i,altKey:r}),n.push(Object(b.g)(this.el,l.a.Change,function(e){s.g(e.pageX)&&s.g(e.pageY)&&t._onDidChange.fire({startX:o,currentX:e.pageX,startY:i,currentY:e.pageY,altKey:r})})),n.push(Object(b.g)(this.el,l.a.End,function(e){t._onDidEnd.fire(),Object(f.d)(n)}))},h.prototype.layout=function(){var e=a.k?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")}},h.prototype.hide=function(){this.hidden=!0,this.el.style.display="none",this.el.setAttribute("aria-hidden","true")},h.prototype.onOrthogonalStartSashEnablementChange=function(e){Object(b.M)(this.el,"orthogonal-start",0!==e)},h.prototype.onOrthogonalEndSashEnablementChange=function(e){Object(b.M)(this.el,"orthogonal-end",0!==e)},h.prototype.dispose=function(){i.prototype.dispose.call(this),this.orthogonalStartSashDisposables=Object(f.d)(this.orthogonalStartSashDisposables),this.orthogonalEndSashDisposables=Object(f.d)(this.orthogonalEndSashDisposables),this.el&&this.el.parentElement&&this.el.parentElement.removeChild(this.el),this.el=null},h);function h(e,t,n){void 0===n&&(n={});var o=i.call(this)||this;return o._state=3,o._onDidEnablementChange=o._register(new u.a),o.onDidEnablementChange=o._onDidEnablementChange.event,o._onDidStart=o._register(new u.a),o.onDidStart=o._onDidStart.event,o._onDidChange=o._register(new u.a),o.onDidChange=o._onDidChange.event,o._onDidReset=o._register(new u.a),o.onDidReset=o._onDidReset.event,o._onDidEnd=o._register(new u.a),o.onDidEnd=o._onDidEnd.event,o.linkedSash=void 0,o.orthogonalStartSashDisposables=[],o.orthogonalEndSashDisposables=[],o.el=Object(b.l)(e,Object(b.a)(".monaco-sash")),g.d&&Object(b.e)(o.el,"mac"),o._register(Object(v.a)(o.el,"mousedown")(o.onMouseDown,o)),o._register(Object(v.a)(o.el,"dblclick")(o.onMouseDoubleClick,o)),l.b.addTarget(o.el),o._register(Object(v.a)(o.el,l.a.Start)(o.onTouchStart,o)),a.k&&Object(b.e)(o.el,"touch"),o.setOrientation(n.orientation||0),o.hidden=!1,o.layoutProvider=t,o.orthogonalStartSash=n.orthogonalStartSash,o.orthogonalEndSash=n.orthogonalEndSash,Object(b.M)(o.el,"debug",!1),o}},2480:function(e,t,n){var o=n(2481);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2481:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-sash{position:absolute;z-index:90;-ms-touch-action:none;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.vertical{cursor:ew-resize;top:0;width:4px;height:100%}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:4px}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash:not(.disabled).orthogonal-end:after,.monaco-sash:not(.disabled).orthogonal-start:before{content:" ";height:8px;width:8px;z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.orthogonal-start.vertical:before{left:-2px;top:-4px}.monaco-sash.orthogonal-end.vertical:after{left:-2px;bottom:-4px}.monaco-sash.orthogonal-start.horizontal:before{top:-2px;left:-4px}.monaco-sash.orthogonal-end.horizontal:after{top:-2px;right:-4px}.monaco-sash.disabled{cursor:default!important}.monaco-sash.touch.vertical{width:20px}.monaco-sash.touch.horizontal{height:20px}.monaco-sash.debug:not(.disabled){background:cyan}.monaco-sash.debug:not(.disabled).orthogonal-end:after,.monaco-sash.debug:not(.disabled).orthogonal-start:before{background:red}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/sash/sash.css"],names:[],mappings:"AAKA,aACC,kBAAmB,AACnB,WAAY,AACZ,sBAAuB,AACnB,iBAAmB,CACvB,AAED,sBACC,mBAAqB,CACrB,AAED,sBACC,iBAAkB,AAClB,MAAO,AACP,UAAW,AACX,WAAa,CACb,AAED,0BACC,iBAAmB,CACnB,AAED,8BACC,eAAiB,CACjB,AAED,8BACC,eAAiB,CACjB,AAED,wBACC,iBAAkB,AAClB,OAAQ,AACR,WAAY,AACZ,UAAY,CACZ,AAED,4BACC,iBAAmB,CACnB,AAED,gCACC,eAAiB,CACjB,AAED,gCACC,eAAiB,CACjB,AAED,qGAEC,YAAa,AACb,WAAY,AACZ,UAAW,AACX,YAAa,AACb,cAAe,AACf,kBAAmB,AACnB,iBAAmB,CACnB,AAED,8CACC,UAAW,AACX,QAAU,CACV,AAED,2CACC,UAAW,AACX,WAAa,CACb,AAED,gDACC,SAAU,AACV,SAAW,CACX,AAED,6CACC,SAAU,AACV,UAAY,CACZ,AAED,sBACC,wBAA2B,CAC3B,AAID,4BACC,UAAY,CACZ,AAED,8BACC,WAAa,CACb,AAID,kCACC,eAAiB,CACjB,AAED,iHAEC,cAAgB,CAChB",file:"sash.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-sash {\n\tposition: absolute;\n\tz-index: 90;\n\t-ms-touch-action: none;\n\t touch-action: none;\n}\n\n.monaco-sash.disabled {\n\tpointer-events: none;\n}\n\n.monaco-sash.vertical {\n\tcursor: ew-resize;\n\ttop: 0;\n\twidth: 4px;\n\theight: 100%;\n}\n\n.monaco-sash.mac.vertical {\n\tcursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n\tcursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n\tcursor: w-resize;\n}\n\n.monaco-sash.horizontal {\n\tcursor: ns-resize;\n\tleft: 0;\n\twidth: 100%;\n\theight: 4px;\n}\n\n.monaco-sash.mac.horizontal {\n\tcursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n\tcursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n\tcursor: n-resize;\n}\n\n.monaco-sash:not(.disabled).orthogonal-start::before,\n.monaco-sash:not(.disabled).orthogonal-end::after {\n\tcontent: ' ';\n\theight: 8px;\n\twidth: 8px;\n\tz-index: 100;\n\tdisplay: block;\n\tcursor: all-scroll;\n\tposition: absolute;\n}\n\n.monaco-sash.orthogonal-start.vertical::before {\n\tleft: -2px;\n\ttop: -4px;\n}\n\n.monaco-sash.orthogonal-end.vertical::after {\n\tleft: -2px;\n\tbottom: -4px;\n}\n\n.monaco-sash.orthogonal-start.horizontal::before {\n\ttop: -2px;\n\tleft: -4px;\n}\n\n.monaco-sash.orthogonal-end.horizontal::after {\n\ttop: -2px;\n\tright: -4px;\n}\n\n.monaco-sash.disabled {\n\tcursor: default !important;\n}\n\n/** Touch **/\n\n.monaco-sash.touch.vertical {\n\twidth: 20px;\n}\n\n.monaco-sash.touch.horizontal {\n\theight: 20px;\n}\n\n/** Debug **/\n\n.monaco-sash.debug:not(.disabled) {\n\tbackground: cyan;\n}\n\n.monaco-sash.debug:not(.disabled).orthogonal-start::before,\n.monaco-sash.debug:not(.disabled).orthogonal-end::after {\n\tbackground: red;\n}"],sourceRoot:""}])},2482:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(989);i.prototype._equals=function(e){if(!(e instanceof i))return!1;var t=e;return this.modelVersionId===t.modelVersionId&&this.scrollLeft===t.scrollLeft&&this.scrollTop===t.scrollTop&&!(!this.position&&t.position||this.position&&!t.position||this.position&&t.position&&!this.position.equals(t.position))&&!(!this.selection&&t.selection||this.selection&&!t.selection||this.selection&&t.selection&&!this.selection.equalsRange(t.selection))},i.prototype.validate=function(e){return this._equals(new i(e,this.flags))};function i(e,t){if(this.flags=t,0!=(1&this.flags)){var n=e.getModel();this.modelVersionId=n?o.o("{0}#{1}",n.uri.toString(),n.getVersionId()):null}0!=(4&this.flags)&&(this.position=e.getPosition()),0!=(2&this.flags)&&(this.selection=e.getSelection()),0!=(8&this.flags)&&(this.scrollLeft=e.getScrollLeft(),this.scrollTop=e.getScrollTop())}var r=(a.capture=function(e){var t=null,n=0;if(0!==e.getScrollTop()){var o=e.getVisibleRanges();if(0<o.length){t=o[0].getStartPosition();var i=e.getTopForPosition(t.lineNumber,t.column);n=e.getScrollTop()-i}}return new a(t,n)},a.prototype.restore=function(e){if(this._visiblePosition){var t=e.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);e.setScrollTop(t+this._visiblePositionScrollDelta)}},a);function a(e,t){this._visiblePosition=e,this._visiblePositionScrollDelta=t}},2483:function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o,i=n(2484),O=(n.n(i),n(1215)),k=n(1126),r=n(1223),a=n(2093),s=n(1677),l=n(1587),u=n(868),N=n(1463),c=n(1784),d=n(1424),h=n(1670),p=n(1124),f=n(1351),g=n(1671),m=n(1496),b=n(1291),v=n(1426),y=n(1216),C=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),T=(A.prototype.getType=function(){return 0===this.originalLineStart?1:0===this.modifiedLineStart?2:0},A);function A(e,t,n,o){this.originalLineStart=e,this.originalLineEnd=t,this.modifiedLineStart=n,this.modifiedLineEnd=o}var _,P=function(e){this.entries=e},w=(_=u.a,C(I,_),I.prototype.prev=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,o=this._diffs.length;n<o;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 p.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},I.prototype.next=function(){var e=0;if(this._isVisible||(this._diffs=this._compute()),this._isVisible){for(var t=-1,n=0,o=this._diffs.length;n<o;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 p.a(this._diffs[e].entries[0].modifiedLineStart,1)),this._isVisible=!0,this._diffEditor.doLayout(),this._render(),this._goToRow(this._getNextRow()))},I.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 p.a(e,1)),this._diffEditor.revealPosition(new p.a(e,1),1))},I.prototype.hide=function(){this._isVisible=!1,this._diffEditor.focus(),this._diffEditor.doLayout(),this._render()},I.prototype._getPrevRow=function(){var e=this._getCurrentFocusedRow();return e?e.previousElementSibling?e.previousElementSibling:e:this._getFirstRow()},I.prototype._getNextRow=function(){var e=this._getCurrentFocusedRow();return e?e.nextElementSibling?e.nextElementSibling:e:this._getFirstRow()},I.prototype._getFirstRow=function(){return this.domNode.domNode.querySelector(".diff-review-row")},I.prototype._getCurrentFocusedRow=function(){var e=document.activeElement;return e&&/diff-review-row/.test(e.className)?e:null},I.prototype._goToRow=function(e){var t=this._getCurrentFocusedRow();e.tabIndex=0,e.focus(),t&&t!==e&&(t.tabIndex=-1),this.scrollbar.scanDomNode()},I.prototype.isVisible=function(){return this._isVisible},I.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"))},I.prototype._compute=function(){var e=this._diffEditor.getLineChanges();if(!e||0===e.length)return[];var t=this._diffEditor.getOriginalEditor().getModel(),n=this._diffEditor.getModifiedEditor().getModel();return t&&n?I._mergeAdjacent(e,t.getLineCount(),n.getLineCount()):[]},I._mergeAdjacent=function(e,t,n){if(!e||0===e.length)return[];for(var o=[],i=0,r=0,a=e.length;r<a;r++){var s=e[r],l=s.originalStartLineNumber,u=s.originalEndLineNumber,c=s.modifiedStartLineNumber,d=s.modifiedEndLineNumber,h=[],p=0,f=0===u?l:l-1,g=0===d?c:c-1,m=1,b=1;if(0<r){var v=e[r-1];m=0===v.originalEndLineNumber?v.originalStartLineNumber+1:v.originalEndLineNumber+1,b=0===v.modifiedEndLineNumber?v.modifiedStartLineNumber+1:v.modifiedEndLineNumber+1}var y=f-3+1,C=g-3+1;y<m&&(y+=L=m-y,C+=L),C<b&&(y+=L=b-C,C+=L),h[p++]=new T(y,f,C,g),0!==u&&(h[p++]=new T(l,u,0,0)),0!==d&&(h[p++]=new T(0,0,c,d));var A=0===u?l+1:u+1,_=0===d?c+1:d+1,w=t,x=n;if(r+1<a){var S=e[r+1];w=0===S.originalEndLineNumber?S.originalStartLineNumber:S.originalStartLineNumber-1,x=0===S.modifiedEndLineNumber?S.modifiedStartLineNumber:S.modifiedStartLineNumber-1}var L,D=A+3-1,k=_+3-1;w<D&&(D+=L=w-D,k+=L),x<k&&(D+=L=x-k,k+=L),h[p++]=new T(A,D,_,k),o[i++]=new P(h)}var N=o[0].entries,I=[],O=0;for(r=1,a=o.length;r<a;r++){var E=o[r].entries,M=N[N.length-1],B=E[0];N=0===M.getType()&&0===B.getType()&&B.originalLineStart<=M.originalLineEnd?(N[N.length-1]=new T(M.originalLineStart,B.originalLineEnd,M.modifiedLineStart,B.modifiedLineEnd),N.concat(E.slice(1))):(I[O++]=new P(N),E)}return I[O++]=new P(N),I},I.prototype._findDiffIndex=function(e){for(var t=e.lineNumber,n=0,o=this._diffs.length;n<o;n++){var i=this._diffs[n].entries;if(t<=i[i.length-1].modifiedLineEnd)return n}return 0},I.prototype._render=function(){var e=this._diffEditor.getOriginalEditor().getConfiguration(),t=this._diffEditor.getModifiedEditor().getConfiguration(),n=this._diffEditor.getOriginalEditor().getModel(),o=this._diffEditor.getModifiedEditor().getModel(),i=n.getOptions(),r=o.getOptions();if(!this._isVisible||!n||!o)return k.m(this._content.domNode),this._currentDiff=null,void this.scrollbar.scanDomNode();var a=this._findDiffIndex(this._diffEditor.getPosition());if(this._diffs[a]!==this._currentDiff){this._currentDiff=this._diffs[a];var s=this._diffs[a].entries,l=document.createElement("div");l.className="diff-review-table",l.setAttribute("role","list"),N.a.applyFontInfoSlow(l,t.fontInfo);for(var u=0,c=0,d=0,h=0,p=0,f=s.length;p<f;p++){var g=(D=s[p]).originalLineStart,m=D.originalLineEnd,b=D.modifiedLineStart,v=D.modifiedLineEnd;0!==g&&(0===u||g<u)&&(u=g),0!==m&&(0===c||c<m)&&(c=m),0!==b&&(0===d||b<d)&&(d=b),0!==v&&(0===h||h<v)&&(h=v)}var y=document.createElement("div");y.className="diff-review-row";var C=document.createElement("div");C.className="diff-review-cell diff-review-summary";var A=c-u+1,_=h-d+1;C.appendChild(document.createTextNode(a+1+"/"+this._diffs.length+": @@ -"+u+","+A+" +"+d+","+_+" @@")),y.setAttribute("data-line",String(d));var w=function(e){return 0===e?O.a("no_lines","no lines"):1===e?O.a("one_line","1 line"):O.a("more_lines","{0} lines",e)},x=w(A),S=w(_);y.setAttribute("aria-label",O.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}",a+1,this._diffs.length,u,x,d,S)),y.appendChild(C),y.setAttribute("role","listitem"),l.appendChild(y);var L=d;for(p=0,f=s.length;p<f;p++){var D=s[p];I._renderSection(l,D,L,this._width,e,n,i,t,o,r),0!==D.modifiedLineStart&&(L=D.modifiedLineEnd)}k.m(this._content.domNode),this._content.domNode.appendChild(l),this.scrollbar.scanDomNode()}},I._renderSection=function(e,t,n,o,i,r,a,s,l,u){var c=t.getType(),d="diff-review-row",h="",p="diff-review-spacer";switch(c){case 1:d="diff-review-row line-insert",h=" char-insert",p="diff-review-spacer insert-sign";break;case 2:d="diff-review-row line-delete",h=" char-delete",p="diff-review-spacer delete-sign"}for(var f=t.originalLineStart,g=t.originalLineEnd,m=t.modifiedLineStart,b=t.modifiedLineEnd,v=Math.max(b-m,g-f),y=i.layoutInfo.glyphMarginWidth+i.layoutInfo.lineNumbersWidth,C=10+s.layoutInfo.glyphMarginWidth+s.layoutInfo.lineNumbersWidth,A=0;A<=v;A++){var _=0===f?0:f+A,w=0===m?0:m+A,x=document.createElement("div");x.style.minWidth=o+"px",x.className=d,x.setAttribute("role","listitem"),0!==w&&(n=w),x.setAttribute("data-line",String(n));var S=document.createElement("div");S.className="diff-review-cell",x.appendChild(S);var L=document.createElement("span");L.style.width=y+"px",L.style.minWidth=y+"px",L.className="diff-review-line-number"+h,0!==_?L.appendChild(document.createTextNode(String(_))):L.innerHTML="&nbsp;",S.appendChild(L);var D=document.createElement("span");D.style.width=C+"px",D.style.minWidth=C+"px",D.style.paddingRight="10px",D.className="diff-review-line-number"+h,0!==w?D.appendChild(document.createTextNode(String(w))):D.innerHTML="&nbsp;",S.appendChild(D);var k=document.createElement("span");k.className=p,k.innerHTML="&nbsp;&nbsp;",S.appendChild(k);var N=void 0;0===(N=0!==w?(S.insertAdjacentHTML("beforeend",this._renderLine(l,s,u.tabSize,w)),l.getLineContent(w)):(S.insertAdjacentHTML("beforeend",this._renderLine(r,i,a.tabSize,_)),r.getLineContent(_))).length&&(N=O.a("blankLine","blank"));var I="";switch(c){case 0:I=O.a("equalLine","original {0}, modified {1}: {2}",_,w,N);break;case 1:I=O.a("insertLine","+ modified {0}: {1}",w,N);break;case 2:I=O.a("deleteLine","- original {0}: {1}",_,N)}x.setAttribute("aria-label",I),e.appendChild(x)}},I._renderLine=function(e,t,n,o){var i=e.getLineContent(o),r=new Uint32Array(2);r[0]=i.length,r[1]=16793600;var a=new h.a(r,i),s=m.d.isBasicASCII(i,e.mightContainNonBasicASCII()),l=m.d.containsRTL(i,s,e.mightContainRTL());return Object(g.d)(new g.b(t.fontInfo.isMonospace&&!t.viewInfo.disableMonospaceOptimizations,t.fontInfo.canUseHalfwidthRightwardsArrow,i,!1,s,l,0,a,[],n,t.fontInfo.spaceWidth,t.viewInfo.stopRenderingLineAfter,t.viewInfo.renderWhitespace,t.viewInfo.renderControlCharacters,t.viewInfo.fontLigatures)).html},I);function I(e){var n=_.call(this)||this;return n._width=0,n._diffEditor=e,n._isVisible=!1,n.shadow=Object(r.b)(document.createElement("div")),n.shadow.setClassName("diff-review-shadow"),n.actionBarContainer=Object(r.b)(document.createElement("div")),n.actionBarContainer.setClassName("diff-review-actions"),n._actionBar=n._register(new a.a(n.actionBarContainer.domNode)),n._actionBar.push(new l.a("diffreview.close",O.a("label.close","Close"),"close-diff-review",!0,function(){return n.hide(),Promise.resolve(null)}),{label:!1,icon:!0}),n.domNode=Object(r.b)(document.createElement("div")),n.domNode.setClassName("diff-review monaco-editor-background"),n._content=Object(r.b)(document.createElement("div")),n._content.setClassName("diff-review-content"),n.scrollbar=n._register(new s.a(n._content.domNode,{})),n.domNode.domNode.appendChild(n.scrollbar.getDomNode()),n._register(e.onDidUpdateDiff(function(){n._isVisible&&(n._diffs=n._compute(),n._render())})),n._register(e.getModifiedEditor().onDidChangeCursorPosition(function(){n._isVisible&&n._render()})),n._register(e.getOriginalEditor().onDidFocusEditorWidget(function(){n._isVisible&&n.hide()})),n._register(e.getModifiedEditor().onDidFocusEditorWidget(function(){n._isVisible&&n.hide()})),n._register(k.j(n.domNode.domNode,"click",function(e){e.preventDefault();var t=k.p(e.target,"diff-review-row");t&&n._goToRow(t)})),n._register(k.j(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}Object(y.e)(function(e,t){var n=e.getColor(f.n);n&&t.addRule(".monaco-diff-editor .diff-review-line-number { color: "+n+"; }");var o=e.getColor(v._4);o&&t.addRule(".monaco-diff-editor .diff-review-shadow { box-shadow: "+o+" 0 -6px 6px -6px inset; }")});var x,S=(x=c.b,C(L,x),L.prototype.run=function(e,t){var n=B(e);n&&n.diffReviewNext()},L);function L(){return x.call(this,{id:"editor.action.diffReview.next",label:O.a("editor.action.diffReview.next","Go to Next Difference"),alias:"Go to Next Difference",precondition:b.b.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}var D,E=(D=c.b,C(M,D),M.prototype.run=function(e,t){var n=B(e);n&&n.diffReviewPrev()},M);function M(){return D.call(this,{id:"editor.action.diffReview.prev",label:O.a("editor.action.diffReview.prev","Go to Previous Difference"),alias:"Go to Previous Difference",precondition:b.b.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:1089,weight:100}})||this}function B(e){for(var t=e.get(d.a).listDiffEditors(),n=0,o=t.length;n<o;n++){var i=t[n];if(i.hasWidgetFocus())return i}return null}Object(c.e)(S),Object(c.e)(E)},2484:function(e,t,n){var o=n(2485);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2485:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-cell{display:table-cell}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-diff-editor .action-label.icon.close-diff-review{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iIzQyNDI0MiIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==") 50% no-repeat}.monaco-diff-editor.hc-black .action-label.icon.close-diff-review,.monaco-diff-editor.vs-dark .action-label.icon.close-diff-review{background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iI2U4ZThlOCIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==") 50% no-repeat}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/editor/browser/widget/media/diffReview.css"],names:[],mappings:"AAKA,6CACC,iBAAkB,AAClB,oBAAsB,CACtB,AAED,iCACC,kBAAmB,AACnB,yBAA0B,AAC1B,qBAAsB,AACtB,sBAAuB,AACvB,oBAAqB,AACrB,gBAAkB,CAClB,AAED,yCACC,iBAAmB,CACnB,AAED,wCACC,iBAAmB,CACnB,AAED,qCACC,eAAiB,CACjB,AAED,uCACC,cAAe,AACf,cAAgB,CAChB,AAED,qCACC,kBAAmB,AACnB,UAAY,CACZ,AAED,sCACC,kBAAoB,CACpB,AAED,wCACC,qBAAsB,AACtB,UAAY,CACZ,AAED,yCACC,qBAAsB,AACtB,kBAAmB,AACnB,WAAY,AACZ,OAAS,CACT,AAED,uDACC,WAAY,AACZ,YAAa,AACb,YAAc,CACd,AACD,yDACC,sdAAke,CACle,AACD,mIAEC,sdAAke,CACle",file:"diffReview.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n\ttext-align: right;\n\tdisplay: inline-block;\n}\n\n.monaco-diff-editor .diff-review {\n\tposition: absolute;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\t-moz-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n\tpadding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n\tposition: absolute;\n}\n\n.monaco-diff-editor .diff-review-row {\n\twhite-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n\tdisplay: table;\n\tmin-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n\tdisplay: table-row;\n\twidth: 100%;\n}\n\n.monaco-diff-editor .diff-review-cell {\n\tdisplay: table-cell;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n\tdisplay: inline-block;\n\twidth: 10px;\n}\n\n.monaco-diff-editor .diff-review-actions {\n\tdisplay: inline-block;\n\tposition: absolute;\n\tright: 10px;\n\ttop: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n\twidth: 16px;\n\theight: 16px;\n\tmargin: 2px 0;\n}\n.monaco-diff-editor .action-label.icon.close-diff-review {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iIzQyNDI0MiIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==") center center no-repeat;\n}\n.monaco-diff-editor.hc-black .action-label.icon.close-diff-review,\n.monaco-diff-editor.vs-dark .action-label.icon.close-diff-review {\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iI2U4ZThlOCIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==") center center no-repeat;\n}'],sourceRoot:""}])},2486:function(e,t,n){var o=n(2487);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2487:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".monaco-action-bar{text-align:right;overflow:hidden;white-space:nowrap}.monaco-action-bar .actions-container{display:-ms-flexbox;display:flex;margin:0 auto;padding:0;width:100%;-ms-flex-pack:end;justify-content:flex-end}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar.reverse .actions-container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.monaco-action-bar .action-item{cursor:pointer;display:inline-block;-webkit-transition:-webkit-transform 50ms ease;transition:-webkit-transform 50ms ease;-o-transition:transform 50ms ease;transition:transform 50ms ease;transition:transform 50ms ease,-webkit-transform 50ms ease;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar.animated .action-item.active{-webkit-transform:scale(1.272019649);-ms-transform:scale(1.272019649);transform:scale(1.272019649)}.monaco-action-bar .action-item .icon{display:inline-block}.monaco-action-bar .action-label{font-size:11px;margin-right:4px}.monaco-action-bar .action-label.octicon{font-size:15px;line-height:35px;text-align:center}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar.animated.vertical .action-item.active{-webkit-transform:translate(5px);-ms-transform:translate(5px);transform:translate(5px)}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;-ms-flex:1 1;flex:1 1;max-width:170px;min-width:60px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,AAClB,gBAAiB,AACjB,kBAAoB,CACpB,AAED,sCACC,oBAAqB,AACrB,aAAc,AACd,cAAe,AACf,UAAW,AACX,WAAY,AACZ,kBAAmB,AACf,wBAA0B,CAC9B,AAED,+CACC,oBAAsB,CACtB,AAED,8CACC,+BAAgC,AAC5B,0BAA4B,CAChC,AAED,gCACC,eAAgB,AAChB,qBAAsB,AACtB,+CAAgD,AAChD,uCAAwC,AACxC,kCAAmC,AACnC,+BAAgC,AAChC,2DAA6D,AAC7D,iBAAmB,CACnB,AAED,yCACC,cAAgB,CAChB,AAED,gDACC,qCAAmD,AAC/C,iCAA+C,AAC3C,4BAA2C,CACnD,AAED,sCACC,oBAAsB,CACtB,AAED,iCACC,eAAgB,AAChB,gBAAkB,CAClB,AAED,yCACC,eAAgB,AAChB,iBAAkB,AAClB,iBAAmB,CACnB,AAED,oHAEC,UAAa,CACb,AAID,4BACC,eAAiB,CACjB,AAED,yCACC,aAAe,CACf,AAED,oDACC,cAAe,AACf,6BAA8B,AAC9B,gBAAiB,AACjB,iBAAkB,AAClB,iBAAmB,CACnB,AAED,yDACC,iCAAqC,AACjC,6BAAiC,AAC7B,wBAA6B,CACrC,AAED,oDACC,eAAiB,CACjB,AAGD,iDACC,gBAAiB,AACjB,aAAc,AACV,SAAU,AACd,gBAAiB,AACjB,eAAgB,AAChB,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACnB,mBAAoB,AACxB,qBAAsB,AAClB,sBAAwB,CAC5B",file:"actionbar.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n\ttext-align: right;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.monaco-action-bar .actions-container {\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\tmargin: 0 auto;\n\tpadding: 0;\n\twidth: 100%;\n\t-ms-flex-pack: end;\n\t justify-content: flex-end;\n}\n\n.monaco-action-bar.vertical .actions-container {\n\tdisplay: inline-block;\n}\n\n.monaco-action-bar.reverse .actions-container {\n\t-ms-flex-direction: row-reverse;\n\t flex-direction: row-reverse;\n}\n\n.monaco-action-bar .action-item {\n\tcursor: pointer;\n\tdisplay: inline-block;\n\t-webkit-transition: -webkit-transform 50ms ease;\n\ttransition: -webkit-transform 50ms ease;\n\t-o-transition: transform 50ms ease;\n\ttransition: transform 50ms ease;\n\ttransition: transform 50ms ease, -webkit-transform 50ms ease;\n\tposition: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n\tcursor: default;\n}\n\n.monaco-action-bar.animated .action-item.active {\n\t-webkit-transform: scale(1.272019649, 1.272019649);\n\t -ms-transform: scale(1.272019649, 1.272019649);\n\t transform: scale(1.272019649, 1.272019649); /* 1.272019649 = √φ */\n}\n\n.monaco-action-bar .action-item .icon {\n\tdisplay: inline-block;\n}\n\n.monaco-action-bar .action-label {\n\tfont-size: 11px;\n\tmargin-right: 4px;\n}\n\n.monaco-action-bar .action-label.octicon {\n\tfont-size: 15px;\n\tline-height: 35px;\n\ttext-align: center;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n\topacity: 0.4;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n\ttext-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n\tdisplay: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n\tdisplay: block;\n\tborder-bottom: 1px solid #bbb;\n\tpadding-top: 1px;\n\tmargin-left: .8em;\n\tmargin-right: .8em;\n}\n\n.monaco-action-bar.animated.vertical .action-item.active {\n\t-webkit-transform: translate(5px, 0);\n\t -ms-transform: translate(5px, 0);\n\t transform: translate(5px, 0);\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n\tmargin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n\toverflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n\t-ms-flex: 1 1;\n\t flex: 1 1;\n\tmax-width: 170px;\n\tmin-width: 60px;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-align: center;\n\t align-items: center;\n\t-ms-flex-pack: center;\n\t justify-content: center;\n}"],sourceRoot:""}])},2488:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("IWorkspaceEditService")},2489:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("modeService")},2490:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var o,i,r=n(966),a=n(868),s=n(2491),l=n(1494),u=n(2492),c=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=(i=a.a,c(h,i),h.prototype._evaluate=function(){var e=this._selector();e.id!==this.languageIdentifier.id&&(this.languageIdentifier=e,this._onDidChange.fire(this.languageIdentifier))},h);function h(e,t){var n=i.call(this)||this;return n._onDidChange=n._register(new r.a),n.onDidChange=n._onDidChange.event,n._selector=t,n.languageIdentifier=n._selector(),n._register(e(function(){return n._evaluate()})),n}var p=(f.prototype.isRegisteredMode=function(e){return this._registry.isRegisteredMode(e)},f.prototype.getModeIdForLanguageName=function(e){return this._registry.getModeIdForLanguageNameLowercase(e)},f.prototype.getModeIdByFilepathOrFirstLine=function(e,t){var n=this._registry.getModeIdsFromFilepathOrFirstLine(e,t);return 0<n.length?n[0]:null},f.prototype.getModeId=function(e){var t=this._registry.extractModeIds(e);return 0<t.length?t[0]:null},f.prototype.getLanguageIdentifier=function(e){return this._registry.getLanguageIdentifier(e)},f.prototype.create=function(t){var n=this;return new d(this.onLanguagesMaybeChanged,function(){var e=n.getModeId(t);return n._createModeAndGetLanguageIdentifier(e)})},f.prototype.createByFilepathOrFirstLine=function(t,n){var o=this;return new d(this.onLanguagesMaybeChanged,function(){var e=o.getModeIdByFilepathOrFirstLine(t,n);return o._createModeAndGetLanguageIdentifier(e)})},f.prototype._createModeAndGetLanguageIdentifier=function(e){var t=this.getLanguageIdentifier(e||"plaintext")||l.a;return this._getOrCreateMode(t.language),t},f.prototype.triggerMode=function(e){var t=this.getModeId(e);this._getOrCreateMode(t||"plaintext")},f.prototype._getOrCreateMode=function(e){if(!this._instantiatedModes.hasOwnProperty(e)){var t=this.getLanguageIdentifier(e)||l.a;this._instantiatedModes[e]=new s.a(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},f);function f(e){void 0===e&&(e=!1);var t=this;this._onDidCreateMode=new r.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new r.a,this.onLanguagesMaybeChanged=this._onLanguagesMaybeChanged.event,this._instantiatedModes={},this._registry=new u.a(!0,e),this._registry.onDidChange(function(){return t._onLanguagesMaybeChanged.fire()})}},2491:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.getId=function(){return this._languageIdentifier.language},i);function i(e){this._languageIdentifier=e}},2492:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var o,i,_=n(1222),r=n(966),a=n(868),w=n(2493),x=n(989),s=n(1251),l=n(1793),u=n(1494),c=n(1586),d=n(1317),h=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=Object.prototype.hasOwnProperty,f=(i=a.a,h(g,i),g.prototype._initializeFromRegistry=function(){this._languages={},this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={};var e=l.a.getLanguages();this._registerLanguages(e)},g.prototype._registerLanguages=function(e){for(var n=this,t=0,o=e;t<o.length;t++){var i=o[t];this._registerLanguage(i)}this._mimeTypesMap={},this._nameMap={},this._lowercaseNameMap={},Object.keys(this._languages).forEach(function(e){var t=n._languages[e];t.name&&(n._nameMap[t.name]=t.identifier),t.aliases.forEach(function(e){n._lowercaseNameMap[e.toLowerCase()]=t.identifier}),t.mimetypes.forEach(function(e){n._mimeTypesMap[e]=t.identifier})}),d.a.as(c.a.Configuration).registerOverrideIdentifiers(l.a.getLanguages().map(function(e){return e.id})),this._onDidChange.fire()},g.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},g.prototype._registerLanguage=function(e){var t,n=e.id;if(p.call(this._languages,n))t=this._languages[n];else{var o=this._getLanguageId(n);t={identifier:new s.o(n,o),name:null,mimetypes:[],aliases:[],extensions:[],filenames:[],configurationFiles:[]},this._languages[n]=t}this._mergeLanguage(t,e)},g.prototype._mergeLanguage=function(e,t){var n,o=t.id,i=null;if(Array.isArray(t.mimetypes)&&0<t.mimetypes.length&&((n=e.mimetypes).push.apply(n,t.mimetypes),i=t.mimetypes[0]),i||(i="text/x-"+o,e.mimetypes.push(i)),Array.isArray(t.extensions))for(var r=0,a=t.extensions;r<a.length;r++){var s=a[r];w.b({id:o,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];w.b({id:o,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 p=h[d];w.b({id:o,mime:i,filepattern:p},this._warnOnOverwrite)}if("string"==typeof t.firstLine&&0<t.firstLine.length){var f=t.firstLine;"^"!==f.charAt(0)&&(f="^"+f);try{var g=new RegExp(f);x.A(g)||w.b({id:o,mime:i,firstline:g},this._warnOnOverwrite)}catch(e){Object(_.e)(e)}}e.aliases.push(o);var m=null;if(void 0!==t.aliases&&Array.isArray(t.aliases)&&(m=0===t.aliases.length?[null]:t.aliases),null!==m)for(var b=0,v=m;b<v.length;b++){var y=v[b];y&&0!==y.length&&e.aliases.push(y)}var C=null!==m&&0<m.length;if(!C||null!==m[0]){var A=(C?m[0]:null)||o;!C&&e.name||(e.name=A)}t.configuration&&e.configurationFiles.push(t.configuration)},g.prototype.isRegisteredMode=function(e){return!!p.call(this._mimeTypesMap,e)||p.call(this._languages,e)},g.prototype.getModeIdForLanguageNameLowercase=function(e){return p.call(this._lowercaseNameMap,e)?this._lowercaseNameMap[e].language:null},g.prototype.extractModeIds=function(e){var t=this;return e?e.split(",").map(function(e){return e.trim()}).map(function(e){return p.call(t._mimeTypesMap,e)?t._mimeTypesMap[e].language:e}).filter(function(e){return p.call(t._languages,e)}):[]},g.prototype.getLanguageIdentifier=function(e){if(e===u.b||0===e)return u.a;var t;if("string"==typeof e)t=e;else if(!(t=this._languageIdToLanguage[e]))return null;return p.call(this._languages,t)?this._languages[t].identifier:null},g.prototype.getModeIdsFromFilepathOrFirstLine=function(e,t){if(!e&&!t)return[];var n=w.a(e,t);return this.extractModeIds(n.join(","))},g);function g(e,t){void 0===e&&(e=!0),void 0===t&&(t=!1);var n=i.call(this)||this;return n._onDidChange=n._register(new r.a),n.onDidChange=n._onDidChange.event,n._warnOnOverwrite=t,n._nextLanguageId2=1,n._languageIdToLanguage=[],n._languageToLanguageId=Object.create(null),n._languages={},n._mimeTypesMap={},n._nameMap={},n._lowercaseNameMap={},e&&(n._initializeFromRegistry(),n._register(l.a.onDidChangeLanguages(function(e){return n._initializeFromRegistry()}))),n}},2493:function(e,t,n){"use strict";t.b=function(e,t){void 0===t&&(t=!1);var n=function(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&&0<=e.filepattern.indexOf(a.posix.sep)}}(e);d.push(n),n.userConfigured?p.push(n):h.push(n);t&&!n.userConfigured&&d.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+">>"))})},t.a=function(e,t){if(!e)return[l];e=e.toLowerCase();var n=Object(a.basename)(e),o=f(e,n,p);if(o)return[o,s];var i=f(e,n,h);if(i)return[i,s];if(t){var r=function(e){Object(u.D)(e)&&(e=e.substr(1));if(0<e.length)for(var t=0,n=d;t<n.length;t++){var o=n[t];if(o.firstline){var i=e.match(o.firstline);if(i&&0<i.length)return o.mime}}return null}(t);if(r)return[r,s]}return[l]};var a=n(1667),u=n(989),c=n(2062),s="text/plain",l="application/unknown",d=[],h=[],p=[];function f(e,t,n){for(var o=null,i=null,r=null,a=n.length-1;0<=a;a--){var s=n[a];if(t===s.filenameLowercase){o=s;break}if(s.filepattern&&(!i||s.filepattern.length>i.filepattern.length)){var l=s.filepatternOnPath?e:t;Object(c.a)(s.filepatternLowercase,l)&&(i=s)}s.extension&&(!r||s.extension.length>r.extension.length)&&Object(u.j)(t,s.extensionLowercase)&&(r=s)}return o?o.mime:i?i.mime:r?r.mime:null}},2494:function(e,t,n){"use strict";n.d(t,"a",function(){return C});var o,i=n(966),r=n(868),a=n(1134),h=n(1422),u=n(1676),s=n(1793),l=n(1779),c=n(1425),d=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},f=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}};function g(e){return e.toString()}var m=(b.prototype._disposeLanguageSelection=function(){this._languageSelectionListener&&(this._languageSelectionListener.dispose(),this._languageSelectionListener=null),this._languageSelection&&(this._languageSelection.dispose(),this._languageSelection=null)},b.prototype.dispose=function(){this._modelEventListeners=Object(r.d)(this._modelEventListeners),this._disposeLanguageSelection()},b.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)},b);function b(t,e,n){this.model=t,this._languageSelection=null,this._languageSelectionListener=null,this._modelEventListeners=[],this._modelEventListeners.push(t.onWillDispose(function(){return e(t)})),this._modelEventListeners.push(t.onDidChangeLanguage(function(e){return n(t,e)}))}var v,y=a.c||a.d?1:2,C=(v=r.a,d(A,v),A._readModelOptions=function(e,t){var n=h.c.tabSize;if(e.editor&&void 0!==e.editor.tabSize){var o=parseInt(e.editor.tabSize,10);isNaN(o)||(n=o),n<1&&(n=1)}var i=n;if(e.editor&&void 0!==e.editor.indentSize&&"tabSize"!==e.editor.indentSize){var r=parseInt(e.editor.indentSize,10);isNaN(r)||(i=r),i<1&&(i=1)}var a=h.c.insertSpaces;e.editor&&void 0!==e.editor.insertSpaces&&(a="false"!==e.editor.insertSpaces&&Boolean(e.editor.insertSpaces));var s=y,l=e.eol;"\r\n"===l?s=2:"\n"===l&&(s=1);var u=h.c.trimAutoWhitespace;e.editor&&void 0!==e.editor.trimAutoWhitespace&&(u="false"!==e.editor.trimAutoWhitespace&&Boolean(e.editor.trimAutoWhitespace));var c=h.c.detectIndentation;e.editor&&void 0!==e.editor.detectIndentation&&(c="false"!==e.editor.detectIndentation&&Boolean(e.editor.detectIndentation));var d=h.c.largeFileOptimizations;return e.editor&&void 0!==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}},A.prototype.getCreationOptions=function(e,t,n){var o=this._modelCreationOptionsByLanguageAndResource[e+t];if(!o){var i=this._configurationService.getValue("editor",{overrideIdentifier:e,resource:t}),r=this._resourcePropertiesService.getEOL(t,e);o=A._readModelOptions({editor:i,eol:r},n),this._modelCreationOptionsByLanguageAndResource[e+t]=o}return o},A.prototype._updateModelOptions=function(){var e=this._modelCreationOptionsByLanguageAndResource;this._modelCreationOptionsByLanguageAndResource=Object.create(null);for(var t=Object.keys(this._models),n=0,o=t.length;n<o;n++){var i=t[n],r=this._models[i],a=r.model.getLanguageIdentifier().language,s=r.model.uri,l=e[a+s],u=this.getCreationOptions(a,s,r.model.isForSimpleWidget);A._setModelOptionsForModel(r.model,u,l)}},A._setModelOptionsForModel=function(e,t,n){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}))},A.prototype.dispose=function(){this._configurationServiceSubscription.dispose(),v.prototype.dispose.call(this)},A.prototype._createModelData=function(e,t,n,o){var i=this,r=this.getCreationOptions(t.language,n,o),a=new u.b(e,r,t,n),s=g(a.uri);if(this._models[s])throw new Error("ModelService: Cannot add model because it already exists!");var l=new m(a,function(e){return i._onWillDispose(e)},function(e,t){return i._onDidChangeLanguage(e,t)});return this._models[s]=l},A.prototype.createModel=function(e,t,n,o){var i;return void 0===o&&(o=!1),t?(i=this._createModelData(e,t.languageIdentifier,n,o),this.setMode(i.model,t)):i=this._createModelData(e,s.b,n,o),this._onModelAdded.fire(i.model),i.model},A.prototype.setMode=function(e,t){if(t){var n=this._models[g(e.uri)];n&&n.setLanguage(t)}},A.prototype.getModels=function(){for(var e=[],t=Object.keys(this._models),n=0,o=t.length;n<o;n++){var i=t[n];e.push(this._models[i].model)}return e},A.prototype.getModel=function(e){var t=g(e),n=this._models[t];return n?n.model:null},A.prototype._onWillDispose=function(e){var t=g(e.uri),n=this._models[t];delete this._models[t],n.dispose(),delete this._modelCreationOptionsByLanguageAndResource[e.getLanguageIdentifier().language+e.uri],this._onModelRemoved.fire(e)},A.prototype._onDidChangeLanguage=function(e,t){var n=t.oldLanguage,o=e.getLanguageIdentifier().language,i=this.getCreationOptions(n,e.uri,e.isForSimpleWidget),r=this.getCreationOptions(o,e.uri,e.isForSimpleWidget);A._setModelOptionsForModel(e,r,i),this._onModelModeChanged.fire({model:e,oldModeId:n})},A=p([f(0,c.a),f(1,l.b)],A));function A(e,t){var n=v.call(this)||this;return n._onModelAdded=n._register(new i.a),n.onModelAdded=n._onModelAdded.event,n._onModelRemoved=n._register(new i.a),n.onModelRemoved=n._onModelRemoved.event,n._onModelModeChanged=n._register(new i.a),n.onModelModeChanged=n._onModelModeChanged.event,n._configurationService=e,n._resourcePropertiesService=t,n._models={},n._modelCreationOptionsByLanguageAndResource=Object.create(null),n._configurationServiceSubscription=n._configurationService.onDidChangeConfiguration(function(e){return n._updateModelOptions()}),n._updateModelOptions(),n}},2495:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var o,i,r=n(1126),a=n(1545),s=n(2496),l=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=(i=s.a,l(c,i),c.prototype.getActiveCodeEditor=function(){return null},c.prototype.openCodeEditor=function(e,t,n){return t?Promise.resolve(this.doOpenEditor(t,e)):Promise.resolve(null)},c.prototype.doOpenEditor=function(e,t){if(!this.findModel(e,t.resource)){if(t.resource){var n=t.resource.scheme;if(n===a.a.http||n===a.a.https)return Object(r.O)(t.resource.toString()),e}return null}var o=t.options?t.options.selection:null;if(o)if("number"==typeof o.endLineNumber&&"number"==typeof o.endColumn)e.setSelection(o),e.revealRangeInCenter(o,1);else{var i={lineNumber:o.startLineNumber,column:o.startColumn};e.setPosition(i),e.revealPositionInCenter(i,1)}return e},c.prototype.findModel=function(e,t){var n=e.getModel();return n&&n.uri.toString()!==t.toString()?null:n},c);function c(){return null!==i&&i.apply(this,arguments)||this}},2496:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o,i,r=n(1126),a=n(868),l=n(989),s=n(1408),u=n(2497),c=n(1492),d=n(1493),h=n(1216),p=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},g=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},m=(i=u.a,p(b,i),b.prototype.registerDecorationType=function(e,t,n){var o=this._decorationOptionProviders[e];if(!o){var i={styleSheet:this._styleSheet,key:e,parentTypeKey:n,options:t||Object.create(null)};o=n?new v(this._themeService,i):new C(this._themeService,i),this._decorationOptionProviders[e]=o}o.refCount++},b.prototype.removeDecorationType=function(t){var e=this._decorationOptionProviders[t];e&&(e.refCount--,e.refCount<=0&&(delete this._decorationOptionProviders[t],e.dispose(),this.listCodeEditors().forEach(function(e){return e.removeDecorations(t)})))},b.prototype.resolveDecorationOptions=function(e,t){var n=this._decorationOptionProviders[e];if(!n)throw new Error("Unknown decoration type key: "+e);return n.getOptions(this,t)},b=f([g(0,h.c)],b));function b(e,t){void 0===t&&(t=r.o());var n=i.call(this)||this;return n._styleSheet=t,n._decorationOptionProviders=Object.create(null),n._themeService=e,n}var v=(y.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},y.prototype.dispose=function(){this._beforeContentRules&&(this._beforeContentRules.dispose(),this._beforeContentRules=null),this._afterContentRules&&(this._afterContentRules.dispose(),this._afterContentRules=null)},y);function y(e,t){this._parentTypeKey=t.parentTypeKey,this.refCount=0,this._beforeContentRules=new w(3,t,e),this._afterContentRules=new w(4,t,e)}var C=(A.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},A.prototype.dispose=function(){this._disposables=Object(a.d)(this._disposables)},A);function A(n,o){var i=this;this.refCount=0,this._disposables=[];function e(e){var t=new w(e,o,n);if(i._disposables.push(t),t.hasContent)return t.className}this.className=e(0);var t,r=(t=new w(1,o,n),i._disposables.push(t),t.hasContent?{className:t.className,hasLetterSpacing:t.hasLetterSpacing}:null);r&&(this.inlineClassName=r.className,this.inlineClassNameAffectsLetterSpacing=r.hasLetterSpacing),this.beforeContentClassName=e(3),this.afterContentClassName=e(4),this.glyphMarginClassName=e(2);var a=o.options;this.isWholeLine=Boolean(a.isWholeLine),this.stickiness=a.rangeBehavior;var s=a.light&&a.light.overviewRulerColor||a.overviewRulerColor,l=a.dark&&a.dark.overviewRulerColor||a.overviewRulerColor;void 0===s&&void 0===l||(this.overviewRuler={color:s||l,darkColor:l||s,position:a.overviewRulerLane||d.c.Center})}var _={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:url('{0}') center center no-repeat;",gutterIconSize:"background-size:{0};",contentText:"content:'{0}';",contentIconPath:"content:url('{0}');",margin:"margin:{0};",width:"width:{0};",height:"height:{0};"},w=(x.prototype.dispose=function(){this._hasContent&&(this._removeCSS(),this._hasContent=!1),this._themeListener&&(this._themeListener.dispose(),this._themeListener=null)},Object.defineProperty(x.prototype,"hasContent",{get:function(){return this._hasContent},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"hasLetterSpacing",{get:function(){return this._hasLetterSpacing},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"className",{get:function(){return this._className},enumerable:!0,configurable:!0}),x.prototype._buildCSS=function(){var e,t,n,o=this._providerArgs.options;switch(this._ruleType){case 0:e=this.getCSSTextForModelDecorationClassName(o),t=this.getCSSTextForModelDecorationClassName(o.light),n=this.getCSSTextForModelDecorationClassName(o.dark);break;case 1:e=this.getCSSTextForModelDecorationInlineClassName(o),t=this.getCSSTextForModelDecorationInlineClassName(o.light),n=this.getCSSTextForModelDecorationInlineClassName(o.dark);break;case 2:e=this.getCSSTextForModelDecorationGlyphMarginClassName(o),t=this.getCSSTextForModelDecorationGlyphMarginClassName(o.light),n=this.getCSSTextForModelDecorationGlyphMarginClassName(o.dark);break;case 3:e=this.getCSSTextForModelDecorationContentClassName(o.before),t=this.getCSSTextForModelDecorationContentClassName(o.light&&o.light.before),n=this.getCSSTextForModelDecorationContentClassName(o.dark&&o.dark.before);break;case 4:e=this.getCSSTextForModelDecorationContentClassName(o.after),t=this.getCSSTextForModelDecorationContentClassName(o.light&&o.light.after),n=this.getCSSTextForModelDecorationContentClassName(o.dark&&o.dark.after);break;default:throw new Error("Unknown rule type: "+this._ruleType)}var i=this._providerArgs.styleSheet.sheet,r=!1;0<e.length&&(i.insertRule(this._unThemedSelector+" {"+e+"}",0),r=!0),0<t.length&&(i.insertRule(".vs"+this._unThemedSelector+" {"+t+"}",0),r=!0),0<n.length&&(i.insertRule(".vs-dark"+this._unThemedSelector+", .hc-black"+this._unThemedSelector+" {"+n+"}",0),r=!0),this._hasContent=r},x.prototype._removeCSS=function(){r.C(this._unThemedSelector,this._providerArgs.styleSheet)},x.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("")},x.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("")},x.prototype.getCSSTextForModelDecorationContentClassName=function(e){if(!e)return"";var t=[];if(void 0!==e){if(this.collectBorderSettingsCSSText(e,t),void 0!==e.contentIconPath&&t.push(l.o(_.contentIconPath,s.a.revive(e.contentIconPath).toString(!0).replace(/'/g,"%27"))),"string"==typeof e.contentText){var n=e.contentText.match(/^.*$/m)[0].replace(/['\\]/g,"\\$&");t.push(l.o(_.contentText,n))}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("")},x.prototype.getCSSTextForModelDecorationGlyphMarginClassName=function(e){if(!e)return"";var t=[];return void 0!==e.gutterIconPath&&(t.push(l.o(_.gutterIconPath,s.a.revive(e.gutterIconPath).toString(!0).replace(/'/g,"%27"))),void 0!==e.gutterIconSize&&t.push(l.o(_.gutterIconSize,e.gutterIconSize))),t.join("")},x.prototype.collectBorderSettingsCSSText=function(e,t){return!!this.collectCSSText(e,["border","borderColor","borderRadius","borderSpacing","borderStyle","borderWidth"],t)&&(t.push(l.o("box-sizing: border-box;")),!0)},x.prototype.collectCSSText=function(e,t,n){for(var o=n.length,i=0,r=t;i<r.length;i++){var a=r[i],s=this.resolveValue(e[a]);"string"==typeof s&&n.push(l.o(_[a],s))}return n.length!==o},x.prototype.resolveValue=function(e){if(Object(c.c)(e)){this._usesThemeColors=!0;var t=this._theme.getColor(e.id);return t?t.toString():"transparent"}return e},x);function x(e,t,n){var o=this;this._theme=n.getTheme(),this._ruleType=e,this._providerArgs=t,this._usesThemeColors=!1,this._hasContent=!1,this._hasLetterSpacing=!1;var i=S.getClassName(this._providerArgs.key,e);this._providerArgs.parentTypeKey&&(i=i+" "+S.getClassName(this._providerArgs.parentTypeKey,e)),this._className=i,this._unThemedSelector=S.getSelector(this._providerArgs.key,this._providerArgs.parentTypeKey,e),this._buildCSS(),this._usesThemeColors?this._themeListener=n.onThemeChange(function(e){o._theme=n.getTheme(),o._removeCSS(),o._buildCSS()}):this._themeListener=null}var S=(L.getClassName=function(e,t){return"ced-"+e+"-"+t},L.getSelector=function(e,t,n){var o=".monaco-editor ."+this.getClassName(e,n);return t&&(o=o+"."+this.getClassName(t,n)),3===n?o+="::before":4===n&&(o+="::after"),o},L);function L(){}},2497:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(966),a=n(868),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=a.a,s(u,i),u.prototype.addCodeEditor=function(e){this._codeEditors[e.getId()]=e,this._onCodeEditorAdd.fire(e)},u.prototype.removeCodeEditor=function(e){delete this._codeEditors[e.getId()]&&this._onCodeEditorRemove.fire(e)},u.prototype.listCodeEditors=function(){var t=this;return Object.keys(this._codeEditors).map(function(e){return t._codeEditors[e]})},u.prototype.addDiffEditor=function(e){this._diffEditors[e.getId()]=e,this._onDiffEditorAdd.fire(e)},u.prototype.removeDiffEditor=function(e){delete this._diffEditors[e.getId()]&&this._onDiffEditorRemove.fire(e)},u.prototype.listDiffEditors=function(){var t=this;return Object.keys(this._diffEditors).map(function(e){return t._diffEditors[e]})},u.prototype.getFocusedCodeEditor=function(){for(var e=null,t=0,n=this.listCodeEditors();t<n.length;t++){var o=n[t];if(o.hasTextFocus())return o;o.hasWidgetFocus()&&(e=o)}return e},u);function u(){var e=i.call(this)||this;return e._onCodeEditorAdd=e._register(new r.a),e.onCodeEditorAdd=e._onCodeEditorAdd.event,e._onCodeEditorRemove=e._register(new r.a),e._onDiffEditorAdd=e._register(new r.a),e._onDiffEditorRemove=e._register(new r.a),e._codeEditors=Object.create(null),e._diffEditors=Object.create(null),e}},2498:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var o=n(1126),i=n(1499),r=n(966),s=n(1251),l=n(2499),a=n(2500),u=n(1317),c=n(1426),d=n(1216),h="vs",p="vs-dark",f="hc-black",g=u.a.as(c.a.ColorContribution),m=u.a.as(d.a.ThemingContribution),b=(Object.defineProperty(v.prototype,"base",{get:function(){return this.themeData.base},enumerable:!0,configurable:!0}),v.prototype.notifyBaseUpdated=function(){this.themeData.inherit&&(this.colors=null,this._tokenTheme=null)},v.prototype.getColors=function(){if(!this.colors){var e=Object.create(null);for(var t in this.themeData.colors)e[t]=i.a.fromHex(this.themeData.colors[t]);if(this.themeData.inherit){var n=C(this.themeData.base);for(var t in n.colors)e[t]||(e[t]=i.a.fromHex(n.colors[t]))}this.colors=e}return this.colors},v.prototype.getColor=function(e,t){var n=this.getColors()[e];return n||(!1!==t?this.getDefault(e):void 0)},v.prototype.getDefault=function(e){var t=this.defaultColors[e];return t||(t=g.resolveDefaultColor(e,this),this.defaultColors[e]=t)},v.prototype.defines=function(e){return Object.prototype.hasOwnProperty.call(this.getColors(),e)},Object.defineProperty(v.prototype,"type",{get:function(){switch(this.base){case h:return"light";case f:return"hc";default:return"dark"}},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"tokenTheme",{get:function(){if(!this._tokenTheme){var e=[],t=[];if(this.themeData.inherit){var n=C(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=l.a.createFromRawTokenTheme(e,t)}return this._tokenTheme},enumerable:!0,configurable:!0}),v);function v(e,t){var n=(this.themeData=t).base;0<e.length?(this.id=n+" "+e,this.themeName=e):(this.id=n,this.themeName=n),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}function y(e){return e===h||e===p||e===f}function C(e){switch(e){case h:return a.b;case p:return a.c;case f:return a.a}}function A(e){var t=C(e);return new b(e,t)}var _=(Object.defineProperty(w.prototype,"onThemeChange",{get:function(){return this._onThemeChange.event},enumerable:!0,configurable:!0}),w.prototype.defineTheme=function(t,e){if(!/^[a-z0-9\-]+$/i.test(t))throw new Error("Illegal theme name!");if(!y(e.base)&&!y(t))throw new Error("Illegal theme base!");this._knownThemes.set(t,new b(t,e)),y(t)&&this._knownThemes.forEach(function(e){e.base===t&&e.notifyBaseUpdated()}),this._theme&&this._theme.themeName===t&&this.setTheme(t)},w.prototype.getTheme=function(){return this._theme},w.prototype.setTheme=function(e){var t,n=this;if(t=this._knownThemes.has(e)?this._knownThemes.get(e):this._knownThemes.get(h),this._theme===t)return t.id;this._theme=t;var o=[],i={},r={addRule:function(e){i[e]||(o.push(e),i[e]=!0)}};m.getThemingParticipants().forEach(function(e){return e(t,r,n.environment)});var a=t.tokenTheme.getColorMap();return r.addRule(Object(l.b)(a)),this._styleElement.innerHTML=o.join("\n"),s.v.setColorMap(a),this._onThemeChange.fire(t),t.id},w.prototype.getIconTheme=function(){return{hasFileIcons:!1,hasFolderIcons:!1,hidesExplorerArrows:!1}},w);function w(){this.environment=Object.create(null),this._onThemeChange=new r.a,this._onIconThemeChange=new r.a,this._knownThemes=new Map,this._knownThemes.set(h,A(h)),this._knownThemes.set(p,A(p)),this._knownThemes.set(f,A(f)),this._styleElement=o.o(),this._styleElement.className="monaco-colors",this.setTheme(h)}},2499:function(e,t,n){"use strict";n.d(t,"a",function(){return v}),t.b=function(e){for(var t=[],n=1,o=e.length;n<o;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 o=n(1499),h=function(e,t,n,o,i){this.token=e,this.index=t,this.fontStyle=n,this.foreground=o,this.background=i};function i(e,t){e.sort(function(e,t){var n=function(e,t){if(e<t)return-1;if(t<e)return 1;return 0}(e.token,t.token);return 0!==n?n:e.index-t.index});for(var n=0,o="000000",i="ffffff";1<=e.length&&""===e[0].token;){var r=e.shift();-1!==r.fontStyle&&(n=r.fontStyle),null!==r.foreground&&(o=r.foreground),null!==r.background&&(i=r.background)}for(var a=new b,s=0,l=t;s<l.length;s++){var u=l[s];a.getId(u)}for(var c=a.getId(o),d=a.getId(i),h=new y(n,c,d),p=new C(h),f=0,g=e.length;f<g;f++){var m=e[f];p.insert(m.token,m.fontStyle,a.getId(m.foreground),a.getId(m.background))}return new v(a,p)}var r=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,b=(a.prototype.getId=function(e){if(null===e)return 0;var t=e.match(r);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]=o.a.fromHex("#"+e),n)},a.prototype.getColorMap=function(){return this._id2color.slice(0)},a);function a(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}var v=(s.createFromRawTokenTheme=function(e,t){return this.createFromParsedTokenTheme(function(e){if(!e||!Array.isArray(e))return[];for(var t=[],n=0,o=0,i=e.length;o<i;o++){var r=e[o],a=-1;if("string"==typeof r.fontStyle){a=0;for(var s=r.fontStyle.split(" "),l=0,u=s.length;l<u;l++)switch(s[l]){case"italic":a|=1;break;case"bold":a|=2;break;case"underline":a|=4}}var c=null;"string"==typeof r.foreground&&(c=r.foreground);var d=null;"string"==typeof r.background&&(d=r.background),t[n++]=new h(r.token||"",o,a,c,d)}return t}(e),t)},s.createFromParsedTokenTheme=function(e,t){return i(e,t)},s.prototype.getColorMap=function(){return this._colorMap.getColorMap()},s.prototype._match=function(e){return this._root.match(e)},s.prototype.match=function(e,t){var n=this._cache.get(t);if(void 0===n){var o=this._match(t),i=function(e){var t=e.match(l);if(!t)return 0;switch(t[1]){case"comment":return 1;case"string":return 2;case"regex":case"regexp":return 4}throw new Error("Unexpected match for standard token type!")}(t);n=(o.metadata|i<<8)>>>0,this._cache.set(t,n)}return(n|e<<0)>>>0},s);function s(e,t){this._colorMap=e,this._root=t,this._cache=new Map}var l=/\b(comment|string|regex|regexp)\b/;var y=(u.prototype.clone=function(){return new u(this._fontStyle,this._foreground,this._background)},u.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},u);function u(e,t,n){this._fontStyle=e,this._foreground=t,this._background=n,this.metadata=(this._fontStyle<<11|this._foreground<<14|this._background<<23)>>>0}var C=(c.prototype.match=function(e){if(""===e)return this._mainRule;var t,n,o=e.indexOf(".");n=-1===o?(t=e,""):(t=e.substring(0,o),e.substring(o+1));var i=this._children.get(t);return void 0!==i?i.match(n):this._mainRule},c.prototype.insert=function(e,t,n,o){if(""!==e){var i,r,a=e.indexOf(".");r=-1===a?(i=e,""):(i=e.substring(0,a),e.substring(a+1));var s=this._children.get(i);void 0===s&&(s=new c(this._mainRule.clone()),this._children.set(i,s)),s.insert(r,t,n,o)}else this._mainRule.acceptOverwrite(t,n,o)},c);function c(e){this._mainRule=e,this._children=new Map}},2500:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return c});var o,i,r,a=n(1351),s=n(1426),l={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:"09885A"},{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:"09885A"},{token:"attribute.value.unit",foreground:"09885A"},{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:(o={},o[s.n]="#FFFFFE",o[s.o]="#000000",o[s.p]="#E5EBF1",o[a.i]="#D3D3D3",o[a.a]="#939393",o[s.s]="#ADD6FF4D",o)},u={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:(i={},i[s.n]="#1E1E1E",i[s.o]="#D4D4D4",i[s.p]="#3A3D41",i[a.i]="#404040",i[a.a]="#707070",i[s.s]="#ADD6FF26",i)},c={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:(r={},r[s.n]="#000000",r[s.o]="#FFFFFF",r[a.i]="#FFFFFF",r[a.a]="#FFFFFF",r)}},2501:function(e,t,n){"use strict";n.d(t,"a",function(){return E});var o,i=n(966),r=n(868),l=n(1462),a=n(1350),s=n(1425),u=n(1291),c=n(2071),d=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},p=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},f="data-keybinding-context",g=(m.prototype.setValue=function(e,t){return this._value[e]!==t&&(this._value[e]=t,!0)},m.prototype.removeValue=function(e){return e in this._value&&(delete this._value[e],!0)},m.prototype.getValue=function(e){var t=this._value[e];return void 0===t&&this._parent?this._parent.getValue(e):t},m);function m(e,t){this._id=e,this._parent=t,this._value=Object.create(null),this._value._contextId=e}var b,v=(d(y,b=g),y.prototype.setValue=function(e,t){return!1},y.prototype.removeValue=function(e){return!1},y.prototype.getValue=function(e){},y.INSTANCE=new y,y);function y(){return b.call(this,-1,null)||this}var C,A=(d(_,C=g),_.prototype.dispose=function(){this._listener.dispose()},_.prototype.getValue=function(e){if(0!==e.indexOf(_._keyPrefix))return C.prototype.getValue.call(this,e);if(this._values.has(e))return this._values.get(e);var t=e.substr(_._keyPrefix.length),n=this._configurationService.getValue(t),o=void 0;switch(typeof n){case"number":case"boolean":case"string":o=n}return this._values.set(e,o),o},_.prototype.setValue=function(e,t){return C.prototype.setValue.call(this,e,t)},_.prototype.removeValue=function(e){return C.prototype.removeValue.call(this,e)},_._keyPrefix="config.",_);function _(e,t,a){var s=C.call(this,e,null)||this;return s._configurationService=t,s._values=new Map,s._listener=s._configurationService.onDidChangeConfiguration(function(e){if(4===e.source){var t=Object(l.d)(s._values);s._values.clear(),a.fire(t)}else{for(var n=[],o=0,i=e.affectedKeys;o<i.length;o++){var r="config."+i[o];s._values.has(r)&&(s._values.delete(r),n.push(r))}a.fire(n)}}),s}var w=(x.prototype.set=function(e){this._parent.setContext(this._key,e)},x.prototype.reset=function(){void 0===this._defaultValue?this._parent.removeContext(this._key):this._parent.setContext(this._key,this._defaultValue)},x.prototype.get=function(){return this._parent.getContextKeyValue(this._key)},x);function x(e,t,n){this._parent=e,this._key=t,this._defaultValue=n,this.reset()}var S=(L.prototype.affectsSome=function(e){return e.has(this._key)},L);function L(e){this._key=e}var D=(k.prototype.affectsSome=function(e){for(var t=0,n=this._keys;t<n.length;t++){var o=n[t];if(e.has(o))return!0}return!1},k);function k(e){this._keys=e}var N=(I.prototype.createKey=function(e,t){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new w(this,e,t)},Object.defineProperty(I.prototype,"onDidChangeContext",{get:function(){return this._onDidChangeContext||(this._onDidChangeContext=i.b.map(this._onDidChangeContextKey.event,function(e){return"string"==typeof e?new S(e):new D(e)})),this._onDidChangeContext},enumerable:!0,configurable:!0}),I.prototype.createScoped=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");return new T(this,this._onDidChangeContextKey,e)},I.prototype.contextMatchesRules=function(e){if(this._isDisposed)throw new Error("AbstractContextKeyService has been disposed");var t=this.getContextValuesContainer(this._myContextId);return c.a.contextMatchesRules(t,e)},I.prototype.getContextKeyValue=function(e){if(!this._isDisposed)return this.getContextValuesContainer(this._myContextId).getValue(e)},I.prototype.setContext=function(e,t){if(!this._isDisposed){var n=this.getContextValuesContainer(this._myContextId);n&&n.setValue(e,t)&&this._onDidChangeContextKey.fire(e)}},I.prototype.removeContext=function(e){this._isDisposed||this.getContextValuesContainer(this._myContextId).removeValue(e)&&this._onDidChangeContextKey.fire(e)},I.prototype.getContext=function(e){return this._isDisposed?v.INSTANCE:this.getContextValuesContainer(function(e){for(;e;){if(e.hasAttribute(f)){var t=e.getAttribute(f);return t?parseInt(t,10):NaN}e=e.parentElement}return 0}(e))},I);function I(e){this._isDisposed=!1,this._myContextId=e,this._onDidChangeContextKey=new i.a}var O,E=(d(M,O=N),M.prototype.dispose=function(){this._isDisposed=!0,this._toDispose=Object(r.d)(this._toDispose)},M.prototype.getContextValuesContainer=function(e){return this._isDisposed?v.INSTANCE:this._contexts[String(e)]},M.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[String(t)]=new g(t,this.getContextValuesContainer(e)),t},M.prototype.disposeContext=function(e){this._isDisposed||delete this._contexts[String(e)]},M=h([p(0,s.a)],M));function M(e){var t=O.call(this,0)||this;t._toDispose=[],t._lastContextId=0,t._contexts=Object.create(null);var n=new A(t._myContextId,e,t._onDidChangeContextKey);return t._contexts[String(t._myContextId)]=n,t._toDispose.push(n),t}var B,T=(d(P,B=N),P.prototype.dispose=function(){this._isDisposed=!0,this._parent.disposeContext(this._myContextId),this._domNode&&(this._domNode.removeAttribute(f),this._domNode=void 0)},Object.defineProperty(P.prototype,"onDidChangeContext",{get:function(){return this._parent.onDidChangeContext},enumerable:!0,configurable:!0}),P.prototype.getContextValuesContainer=function(e){return this._isDisposed?v.INSTANCE:this._parent.getContextValuesContainer(e)},P.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)},P.prototype.disposeContext=function(e){this._isDisposed||this._parent.disposeContext(e)},P);function P(e,t,n){var o=B.call(this,e.createChildContext())||this;return o._parent=e,o._onDidChangeContextKey=t,n&&(o._domNode=n,o._domNode.setAttribute(f,String(o._myContextId))),o}a.a.registerCommand(u.e,function(e,t,n){e.get(u.c).createKey(String(t),n)})},2502:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var o,l,u=n(2503),i=n(1680),r=n(1673),c=n(966),a=n(1497),s=n(1216),d=n(1591),h=n(868),p=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},g=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},m=(l=h.a,p(b,l),b.prototype.dispose=function(){this.contextMenuHandler.dispose()},b.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},b=f([g(2,r.a),g(3,a.a),g(4,i.b),g(5,d.a),g(6,s.c)],b));function b(e,t,n,o,i,r,a){var s=l.call(this)||this;return s._onDidContextMenu=s._register(new c.a),s.contextMenuHandler=s._register(new u.a(e,t,i,n,o,r,a)),s}},2503:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(2504),l=(n.n(o),n(868)),i=n(1409),u=n(1587),c=n(2506),d=n(1126),h=n(2095),p=n(1544),r=(a.prototype.setContainer=function(e){var t=this;this.element&&(this.elementDisposable=Object(l.d)(this.elementDisposable),this.element=null),e&&(this.element=e,this.elementDisposable=Object(d.g)(this.element,d.c.MOUSE_DOWN,function(e){return t.onMouseDown(e)}))},a.prototype.showContextMenu=function(i){var r,a=this,s=i.getActions();s.length&&(this.focusToReturn=document.activeElement,this.contextViewService.showContextView({getAnchor:function(){return i.getAnchor()},canRelayout:!1,anchorAlignment:i.anchorAlignment,render:function(e){a.menuContainerElement=e;var t=i.getMenuClassName?i.getMenuClassName():"";t&&(e.className+=" "+t),a._containedInWorkbench&&(a.block=e.appendChild(Object(d.a)(".context-view-block")));var n=[],o=i.actionRunner||new u.b;return o.onDidBeforeRun(a.onActionRun,a,n),o.onDidRun(a.onDidActionRun,a,n),r=new c.a(e,s,{actionItemProvider:i.getActionItem,context:i.getActionsContext?i.getActionsContext():null,actionRunner:o,getKeyBinding:i.getKeyBinding?i.getKeyBinding:function(e){return a.keybindingService.lookupKeybinding(e.id)}}),n.push(Object(h.b)(r,a.themeService)),r.onDidCancel(function(){return a.contextViewService.hideContextView(!0)},null,n),r.onDidBlur(function(){return a.contextViewService.hideContextView(!0)},null,n),Object(p.a)(window,d.c.BLUR)(function(){a.contextViewService.hideContextView(!0)},null,n),Object(l.c)(n.concat([r]))},focus:function(){r&&r.focus(!!i.autoSelectFirstItem)},onHide:function(e){i.onHide&&i.onHide(!!e),a.block&&(Object(d.F)(a.block),a.block=null),a.focusToReturn&&a.focusToReturn.focus(),a.menuContainerElement=null}}))},a.prototype.onActionRun=function(e){this.telemetryService&&this.telemetryService.publicLog("workbenchActionExecuted",{id:e.action.id,from:"contextMenu"}),this.contextViewService.hideContextView(!1),this.focusToReturn&&this.focusToReturn.focus()},a.prototype.onDidActionRun=function(e){e.error&&this.notificationService&&this.notificationService.error(e.error)},a.prototype.onMouseDown=function(e){if(this.menuContainerElement){for(var t=new i.a(e).target;t;){if(t===this.menuContainerElement)return;t=t.parentElement}this.contextViewService.hideContextView()}},a.prototype.dispose=function(){this.setContainer(null)},a);function a(e,t,n,o,i,r,a){this._containedInWorkbench=t,this.contextViewService=n,this.telemetryService=o,this.notificationService=i,this.keybindingService=r,this.themeService=a,this.setContainer(e)}},2504:function(e,t,n){var o=n(2505);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2505:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".context-view .monaco-menu{min-width:130px}.context-view-block{position:fixed;left:0;top:0;z-index:-1;width:100%;height:100%}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/platform/contextview/browser/contextMenuHandler.css"],names:[],mappings:"AAKA,2BACC,eAAiB,CACjB,AAED,oBACC,eAAgB,AAChB,OAAO,AACP,MAAM,AACN,WAAY,AACZ,WAAY,AACZ,WAAa,CACb",file:"contextMenuHandler.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view .monaco-menu {\n\tmin-width: 130px;\n}\n\n.context-view-block {\n\tposition: fixed;\n\tleft:0;\n\ttop:0;\n\tz-index: -1;\n\twidth: 100%;\n\theight: 100%;\n}"],sourceRoot:""}])},2506:function(e,t,n){"use strict";n.d(t,"a",function(){return w});var o,i=n(2507),r=(n.n(i),n(1215)),a=n(989),s=n(1587),u=n(2093),l=n(1126),c=n(1491),d=n(1239),h=n(868),p=n(1677),f=n(966),g=n(1134),m=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});var b=function(){try{return new RegExp("\\(&([^\\s&])\\)|(?<!&)&([^\\s&])")}catch(e){return new RegExp("￿")}}();var v,y=function(){try{return new RegExp("(?<!&amp;)(?:&amp;)([^\\s&])")}catch(e){return new RegExp("￿")}}(),C=(v=s.a,m(A,v),A);function A(e,t,n){var o=v.call(this,n||"submenu",e,"",!0)||this;return o.entries=t,o}var _,w=(_=u.a,m(x,_),x.prototype.style=function(t){var e=this.getContainer(),n=t.foregroundColor?""+t.foregroundColor:null,o=t.backgroundColor?""+t.backgroundColor:null,i=t.borderColor?"2px solid "+t.borderColor:null,r=t.shadowColor?"0 2px 4px "+t.shadowColor:null;e.style.border=i,this.domNode.style.color=n,this.domNode.style.backgroundColor=o,e.style.boxShadow=r,this.items&&this.items.forEach(function(e){(e instanceof L||e instanceof E)&&e.style(t)})},x.prototype.getContainer=function(){return this.scrollableElement.getDomNode()},Object.defineProperty(x.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!0,configurable:!0}),Object.defineProperty(x.prototype,"scrollOffset",{get:function(){return this.menuElement.scrollTop},enumerable:!0,configurable:!0}),x.prototype.focusItemByElement=function(e){var t=this.focusedItem;this.setFocusedItem(e),t!==this.focusedItem&&this.updateFocus()},x.prototype.setFocusedItem=function(e){for(var t=0;t<this.actionsList.children.length;t++)if(e===this.actionsList.children[t]){this.focusedItem=t;break}},x.prototype.doGetActionItem=function(e,t,n){if(e instanceof u.d)return new E(t.context,e,{icon:!0});if(e instanceof C){var o=new N(e,e.entries,n,t);if(t.enableMnemonics&&(r=o.getMnemonic())&&o.isEnabled()){var i=[];this.mnemonics.has(r)&&(i=this.mnemonics.get(r)),i.push(o),this.mnemonics.set(r,i)}return o}var r,a={enableMnemonics:t.enableMnemonics};if(t.getKeyBinding){var s=t.getKeyBinding(e);if(s){var l=s.getLabel();l&&(a.keybinding=l)}}return o=new L(t.context,e,a),t.enableMnemonics&&(r=o.getMnemonic())&&o.isEnabled()&&(i=[],this.mnemonics.has(r)&&(i=this.mnemonics.get(r)),i.push(o),this.mnemonics.set(r,i)),o},x);function x(e,t,n){void 0===n&&(n={});var i=this;Object(l.e)(e,"monaco-menu-container"),e.setAttribute("role","presentation");var o=document.createElement("div");Object(l.e)(o,"monaco-menu"),o.setAttribute("role","presentation"),(i=_.call(this,o,{orientation:2,actionItemProvider:function(e){return i.doGetActionItem(e,n,r)},context:n.context,actionRunner:n.actionRunner,ariaLabel:n.ariaLabel,triggerKeys:{keys:[3],keyDown:!0}})||this).menuElement=o,i._onScroll=i._register(new f.a),i.actionsList.setAttribute("role","menu"),i.actionsList.tabIndex=0,i.menuDisposables=[],n.enableMnemonics&&i.menuDisposables.push(Object(l.g)(o,l.c.KEY_DOWN,function(e){var t=e.key.toLocaleLowerCase();if(i.mnemonics.has(t)){l.b.stop(e,!0);var n=i.mnemonics.get(t);if(1===n.length&&(n[0]instanceof N&&i.focusItemByElement(n[0].container),n[0].onClick(e)),1<n.length){var o=n.shift();o&&(i.focusItemByElement(o.container),n.push(o)),i.mnemonics.set(t,n)}}})),g.c&&i._register(Object(l.g)(o,l.c.KEY_DOWN,function(e){var t=new c.a(e);t.equals(14)||t.equals(11)?(i.focusedItem=i.items.length-1,i.focusNext(),l.b.stop(e,!0)):(t.equals(13)||t.equals(12))&&(i.focusedItem=0,i.focusPrevious(),l.b.stop(e,!0))})),i._register(Object(l.g)(i.domNode,l.c.MOUSE_OUT,function(e){var t=e.relatedTarget;Object(l.z)(t,i.domNode)||(i.focusedItem=void 0,i.scrollTopHold=i.menuElement.scrollTop,i.updateFocus(),e.stopPropagation())})),i._register(Object(l.g)(i.domNode,l.c.MOUSE_UP,function(e){l.b.stop(e,!0)})),i._register(Object(l.g)(i.actionsList,l.c.MOUSE_OVER,function(e){var t=e.target;if(t&&Object(l.z)(t,i.actionsList)&&t!==i.actionsList){for(;t.parentElement!==i.actionsList&&null!==t.parentElement;)t=t.parentElement;if(Object(l.x)(t,"action-item")){var n=i.focusedItem;i.scrollTopHold=i.menuElement.scrollTop,i.setFocusedItem(t),n!==i.focusedItem&&i.updateFocus()}}}));var r={parent:i};return i.mnemonics=new Map,i.push(t,{icon:!0,label:!0,isMenu:!0}),i.scrollableElement=i._register(new p.a(o,{alwaysConsumeMouseWheel:!0,horizontal:2,vertical:3,verticalScrollbarSize:7,handleMouseWheel:!0,useShadows:!0})),i.scrollableElement.getDomNode().style.position=null,o.style.maxHeight=Math.max(10,window.innerHeight-e.getBoundingClientRect().top-30)+"px",i.scrollableElement.onScroll(function(){i._onScroll.fire()},i,i.menuDisposables),i._register(Object(l.g)(i.menuElement,l.c.SCROLL,function(e){void 0!==i.scrollTopHold&&(i.menuElement.scrollTop=i.scrollTopHold,i.scrollTopHold=void 0),i.scrollableElement.scanDomNode()})),e.appendChild(i.scrollableElement.getDomNode()),i.scrollableElement.scanDomNode(),i.items.filter(function(e){return!(e instanceof E)}).forEach(function(e,t,n){e.updatePositionInSet(t+1,n.length)}),i}var S,L=(S=u.c,m(D,S),D.prototype.render=function(e){var t=this;S.prototype.render.call(this,e),this.element&&(this.container=e,this.item=Object(l.l)(this.element,Object(l.a)("a.action-menu-item")),this._action.id===u.d.ID?this.item.setAttribute("role","presentation"):(this.item.setAttribute("role","menuitem"),this.mnemonic&&this.item.setAttribute("aria-keyshortcuts",""+this.mnemonic)),this.check=Object(l.l)(this.item,Object(l.a)("span.menu-item-check")),this.check.setAttribute("role","none"),this.label=Object(l.l)(this.item,Object(l.a)("span.action-label")),this.options.label&&this.options.keybinding&&(Object(l.l)(this.item,Object(l.a)("span.keybinding")).textContent=this.options.keybinding),this._register(Object(l.g)(this.element,l.c.MOUSE_UP,function(e){l.b.stop(e,!0),t.onClick(e)})),this.updateClass(),this.updateLabel(),this.updateTooltip(),this.updateEnabled(),this.updateChecked())},D.prototype.blur=function(){S.prototype.blur.call(this),this.applyStyle()},D.prototype.focus=function(){S.prototype.focus.call(this),this.item.focus(),this.applyStyle()},D.prototype.updatePositionInSet=function(e,t){this.item.setAttribute("aria-posinset",""+e),this.item.setAttribute("aria-setsize",""+t)},D.prototype.updateLabel=function(){if(this.options.label){var e=this.getAction().label;if(e){var t=function(e){var t=b,n=t.exec(e);if(!n)return e;var o="&"===n[0].charAt(0);return e.replace(t,o?"$2":"").trim()}(e);this.options.enableMnemonics||(e=t),this.label.setAttribute("aria-label",t.replace(/&&/g,"&"));var n=b.exec(e);n?(e=(e=a.l(e).replace(y,'<u aria-hidden="true">$1</u>')).replace(/&amp;&amp;/g,"&amp;"),this.item.setAttribute("aria-keyshortcuts",(n[1]?n[1]:n[2]).toLocaleLowerCase())):e=e.replace(/&&/g,"&")}this.label.innerHTML=e.trim()}},D.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=r.a({key:"titleLabel",comment:["action title","action keybinding"]},"{0} ({1})",e,this.options.keybinding))),e&&(this.item.title=e)},D.prototype.updateClass=function(){this.cssClass&&Object(l.E)(this.item,this.cssClass),this.options.icon?(this.cssClass=this.getAction().class||"",Object(l.e)(this.label,"icon"),this.cssClass&&Object(l.f)(this.label,this.cssClass),this.updateEnabled()):Object(l.D)(this.label,"icon")},D.prototype.updateEnabled=function(){this.getAction().enabled?(this.element&&Object(l.D)(this.element,"disabled"),Object(l.D)(this.item,"disabled"),this.item.tabIndex=0):(this.element&&Object(l.e)(this.element,"disabled"),Object(l.e)(this.item,"disabled"),Object(l.G)(this.item))},D.prototype.updateChecked=function(){this.getAction().checked?(Object(l.e)(this.item,"checked"),this.item.setAttribute("role","menuitemcheckbox"),this.item.setAttribute("aria-checked","true")):(Object(l.D)(this.item,"checked"),this.item.setAttribute("role","menuitem"),this.item.setAttribute("aria-checked","false"))},D.prototype.getMnemonic=function(){return this.mnemonic},D.prototype.applyStyle=function(){if(this.menuStyle){var e=this.element&&Object(l.x)(this.element,"focused"),t=e&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor,n=e&&this.menuStyle.selectionBackgroundColor?this.menuStyle.selectionBackgroundColor:this.menuStyle.backgroundColor,o=e&&this.menuStyle.selectionBorderColor?"1px solid "+this.menuStyle.selectionBorderColor:null;this.item.style.color=t?""+t:null,this.check.style.backgroundColor=t?""+t:null,this.item.style.backgroundColor=n?""+n:null,this.container.style.border=o}},D.prototype.style=function(e){this.menuStyle=e,this.applyStyle()},D);function D(e,t,n){void 0===n&&(n={});var o=this;if(n.isMenu=!0,(o=S.call(this,t,t,n)||this).options=n,o.options.icon=void 0!==n.icon&&n.icon,o.options.label=void 0===n.label||n.label,o.cssClass="",o.options.label&&n.enableMnemonics){var i=o.getAction().label;if(i){var r=b.exec(i);r&&(o.mnemonic=(r[1]?r[1]:r[2]).toLocaleLowerCase())}}return o}var k,N=(m(I,k=L),I.prototype.render=function(e){var n=this;k.prototype.render.call(this,e),this.element&&(Object(l.e)(this.item,"monaco-submenu-item"),this.item.setAttribute("aria-haspopup","true"),this.submenuIndicator=Object(l.l)(this.item,Object(l.a)("span.submenu-indicator")),this.submenuIndicator.setAttribute("aria-hidden","true"),this._register(Object(l.g)(this.element,l.c.KEY_UP,function(e){var t=new c.a(e);(t.equals(17)||t.equals(3))&&(l.b.stop(e,!0),n.createSubmenu(!0))})),this._register(Object(l.g)(this.element,l.c.KEY_DOWN,function(e){var t=new c.a(e);(t.equals(17)||t.equals(3))&&l.b.stop(e,!0)})),this._register(Object(l.g)(this.element,l.c.MOUSE_OVER,function(e){n.mouseOver||(n.mouseOver=!0,n.showScheduler.schedule())})),this._register(Object(l.g)(this.element,l.c.MOUSE_LEAVE,function(e){n.mouseOver=!1})),this._register(Object(l.g)(this.element,l.c.FOCUS_OUT,function(e){n.element&&!Object(l.z)(document.activeElement,n.element)&&n.hideScheduler.schedule()})),this._register(this.parentData.parent.onScroll(function(){n.parentData.parent.focus(!1),n.cleanupExistingSubmenu(!1)})))},I.prototype.onClick=function(e){l.b.stop(e,!0),this.cleanupExistingSubmenu(!1),this.createSubmenu(!1)},I.prototype.cleanupExistingSubmenu=function(e){this.parentData.submenu&&(e||this.parentData.submenu!==this.mysubmenu)&&(this.parentData.submenu.dispose(),this.parentData.submenu=void 0,this.submenuContainer&&(this.submenuDisposables=Object(h.d)(this.submenuDisposables),this.submenuContainer=void 0))},I.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.submenuContainer=Object(l.l)(this.element,Object(l.a)("div.monaco-submenu")),Object(l.f)(this.submenuContainer,"menubar-menu-items-holder","context-view"),this.parentData.submenu=new w(this.submenuContainer,this.submenuActions,this.submenuOptions),this.menuStyle&&this.parentData.submenu.style(this.menuStyle);var n=this.element.getBoundingClientRect(),o=this.submenuContainer.getBoundingClientRect(),i=getComputedStyle(this.parentData.parent.domNode),r=parseFloat(i.paddingTop||"0")||0;window.innerWidth<=n.right+o.width?(this.submenuContainer.style.left="10px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset+n.height+"px"):(this.submenuContainer.style.left=this.element.offsetWidth+"px",this.submenuContainer.style.top=this.element.offsetTop-this.parentData.parent.scrollOffset-r+"px"),this.submenuDisposables.push(Object(l.g)(this.submenuContainer,l.c.KEY_UP,function(e){new c.a(e).equals(15)&&(l.b.stop(e,!0),t.parentData.parent.focus(),t.parentData.submenu&&(t.parentData.submenu.dispose(),t.parentData.submenu=void 0),t.submenuDisposables=Object(h.d)(t.submenuDisposables),t.submenuContainer=void 0)})),this.submenuDisposables.push(Object(l.g)(this.submenuContainer,l.c.KEY_DOWN,function(e){new c.a(e).equals(15)&&l.b.stop(e,!0)})),this.submenuDisposables.push(this.parentData.submenu.onDidCancel(function(){t.parentData.parent.focus(),t.parentData.submenu&&(t.parentData.submenu.dispose(),t.parentData.submenu=void 0),t.submenuDisposables=Object(h.d)(t.submenuDisposables),t.submenuContainer=void 0})),this.parentData.submenu.focus(e),this.mysubmenu=this.parentData.submenu}},I.prototype.applyStyle=function(){if(k.prototype.applyStyle.call(this),this.menuStyle){var e=this.element&&Object(l.x)(this.element,"focused")&&this.menuStyle.selectionForegroundColor?this.menuStyle.selectionForegroundColor:this.menuStyle.foregroundColor;this.submenuIndicator.style.backgroundColor=e?""+e:null,this.parentData.submenu&&this.parentData.submenu.style(this.menuStyle)}},I.prototype.dispose=function(){k.prototype.dispose.call(this),this.hideScheduler.dispose(),this.mysubmenu&&(this.mysubmenu.dispose(),this.mysubmenu=null),this.submenuContainer&&(this.submenuDisposables=Object(h.d)(this.submenuDisposables),this.submenuContainer=void 0)},I);function I(e,t,n,o){var i=k.call(this,e,e,o)||this;return i.submenuActions=t,i.parentData=n,i.submenuOptions=o,i.submenuDisposables=[],i.showScheduler=new d.c(function(){i.mouseOver&&(i.cleanupExistingSubmenu(!1),i.createSubmenu(!1))},250),i.hideScheduler=new d.c(function(){i.element&&!Object(l.z)(document.activeElement,i.element)&&i.parentData.submenu===i.mysubmenu&&(i.parentData.parent.focus(!1),i.cleanupExistingSubmenu(!0))},750),i}var O,E=(O=u.b,m(M,O),M.prototype.style=function(e){this.label.style.borderBottomColor=e.separatorColor?""+e.separatorColor:null},M);function M(){return null!==O&&O.apply(this,arguments)||this}},2507:function(e,t,n){var o=n(2508);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2508:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-menu .monaco-action-bar.vertical{margin-left:0;overflow:visible}.monaco-menu .monaco-action-bar.vertical .actions-container{display:block}.monaco-menu .monaco-action-bar.vertical .action-item{padding:0;display:-ms-flexbox;display:flex}.monaco-menu .monaco-action-bar.vertical .action-item,.monaco-menu .monaco-action-bar.vertical .action-item.active{-webkit-transform:none;-ms-transform:none;transform:none}.monaco-menu .monaco-action-bar.vertical .action-menu-item{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox;display:flex;height:2em;-ms-flex-align:center;align-items:center;position:relative}.monaco-menu .monaco-action-bar.vertical .action-label{-ms-flex:1 1 auto;flex:1 1 auto;text-decoration:none;padding:0 1em;background:none;font-size:12px;line-height:1}.monaco-menu .monaco-action-bar.vertical .keybinding,.monaco-menu .monaco-action-bar.vertical .submenu-indicator{display:inline-block;-ms-flex:2 1 auto;flex:2 1 auto;padding:0 1em;text-align:right;font-size:12px;line-height:1}.monaco-menu .monaco-action-bar.vertical .submenu-indicator{height:100%;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTIwNTEgMTIuMzY0M0w5Ljg3NzkzIDdMNC41MjA1MSAxLjYzNTc0Mkw1LjEzNTc0IDEuMDIwNTA3OEwxMS4xMjIxIDdMNS4xMzU3NCAxMi45Nzk1TDQuNTIwNTEgMTIuMzY0M1oiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=") no-repeat 90% 50%/13px 13px;mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTIwNTEgMTIuMzY0M0w5Ljg3NzkzIDdMNC41MjA1MSAxLjYzNTc0Mkw1LjEzNTc0IDEuMDIwNTA3OEwxMS4xMjIxIDdMNS4xMzU3NCAxMi45Nzk1TDQuNTIwNTEgMTIuMzY0M1oiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=") no-repeat 90% 50%/13px 13px}.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator{opacity:.4}.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator){display:inline-block;-webkit-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;margin:0}.monaco-menu .monaco-action-bar.vertical .action-item{position:static;overflow:visible}.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu{position:absolute}.monaco-menu .monaco-action-bar.vertical .action-label.separator{padding:.5em 0 0;margin-bottom:.5em;width:100%}.monaco-menu .monaco-action-bar.vertical .action-label.separator.text{padding:.7em 1em .1em;font-weight:700;opacity:1}.monaco-menu .monaco-action-bar.vertical .action-label:hover{color:inherit}.monaco-menu .monaco-action-bar.vertical .menu-item-check{position:absolute;visibility:hidden;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTIgLTIgMTYgMTYiPjxwb2x5Z29uIGZpbGw9IiM0MjQyNDIiIHBvaW50cz0iOSwwIDQuNSw5IDMsNiAwLDYgMywxMiA2LDEyIDEyLDAiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTIgLTIgMTYgMTYiPjxwb2x5Z29uIGZpbGw9IiM0MjQyNDIiIHBvaW50cz0iOSwwIDQuNSw5IDMsNiAwLDYgMywxMiA2LDEyIDEyLDAiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;width:1em;height:100%}.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check{visibility:visible}.context-view.monaco-menu-container{outline:0;border:none;-webkit-animation:fadeIn 83ms linear;animation:fadeIn 83ms linear}.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,.context-view.monaco-menu-container .monaco-action-bar.vertical :focus,.context-view.monaco-menu-container :focus{outline:0}.monaco-menu .monaco-action-bar.vertical .action-item{border:1px solid transparent}.hc-black .context-view.monaco-menu-container{-webkit-box-shadow:none;box-shadow:none}.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused{background:none}.menubar{display:-ms-flexbox;display:flex;-ms-flex-negative:1;flex-shrink:1;-webkit-box-sizing:border-box;box-sizing:border-box;height:30px;overflow:hidden;-ms-flex-wrap:wrap;flex-wrap:wrap}.fullscreen .menubar{margin:0;padding:0 5px}.menubar>.menubar-menu-button{-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 8px;cursor:default;-webkit-app-region:no-drag;zoom:1;white-space:nowrap;outline:0}.menubar .menubar-menu-items-holder{position:absolute;left:0;opacity:1;z-index:2000}.menubar .menubar-menu-items-holder.monaco-menu-container{outline:0;border:none}.menubar .menubar-menu-items-holder.monaco-menu-container :focus{outline:0}.menubar .toolbar-toggle-more{background-position:50%;background-repeat:no-repeat;background-size:14px;width:20px;height:100%;display:inline-block;padding:0;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5pY29uLWNhbnZhcy10cmFuc3BhcmVudCwuaWNvbi12cy1vdXR7ZmlsbDojZjZmNmY2O30uaWNvbi1jYW52YXMtdHJhbnNwYXJlbnR7b3BhY2l0eTowO30uaWNvbi12cy1iZ3tmaWxsOiM0MjQyNDI7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5FbGxpcHNpc19ib2xkXzE2eDwvdGl0bGU+PGcgaWQ9ImNhbnZhcyI+PHBhdGggY2xhc3M9Imljb24tY2FudmFzLXRyYW5zcGFyZW50IiBkPSJNMTYsMFYxNkgwVjBaIi8+PC9nPjxnIGlkPSJvdXRsaW5lIiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPjxwYXRoIGNsYXNzPSJpY29uLXZzLW91dCIgZD0iTTYsNy41QTIuNSwyLjUsMCwxLDEsMy41LDUsMi41LDIuNSwwLDAsMSw2LDcuNVpNOC41LDVBMi41LDIuNSwwLDEsMCwxMSw3LjUsMi41LDIuNSwwLDAsMCw4LjUsNVptNSwwQTIuNSwyLjUsMCwxLDAsMTYsNy41LDIuNSwyLjUsMCwwLDAsMTMuNSw1WiIgc3R5bGU9ImRpc3BsYXk6IG5vbmU7Ii8+PC9nPjxnIGlkPSJpY29uQmciPjxwYXRoIGNsYXNzPSJpY29uLXZzLWJnIiBkPSJNNSw3LjVBMS41LDEuNSwwLDEsMSwzLjUsNiwxLjUsMS41LDAsMCwxLDUsNy41Wk04LjUsNkExLjUsMS41LDAsMSwwLDEwLDcuNSwxLjUsMS41LDAsMCwwLDguNSw2Wm01LDBBMS41LDEuNSwwLDEsMCwxNSw3LjUsMS41LDEuNSwwLDAsMCwxMy41LDZaIi8+PC9nPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px;mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5pY29uLWNhbnZhcy10cmFuc3BhcmVudCwuaWNvbi12cy1vdXR7ZmlsbDojZjZmNmY2O30uaWNvbi1jYW52YXMtdHJhbnNwYXJlbnR7b3BhY2l0eTowO30uaWNvbi12cy1iZ3tmaWxsOiM0MjQyNDI7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5FbGxpcHNpc19ib2xkXzE2eDwvdGl0bGU+PGcgaWQ9ImNhbnZhcyI+PHBhdGggY2xhc3M9Imljb24tY2FudmFzLXRyYW5zcGFyZW50IiBkPSJNMTYsMFYxNkgwVjBaIi8+PC9nPjxnIGlkPSJvdXRsaW5lIiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPjxwYXRoIGNsYXNzPSJpY29uLXZzLW91dCIgZD0iTTYsNy41QTIuNSwyLjUsMCwxLDEsMy41LDUsMi41LDIuNSwwLDAsMSw2LDcuNVpNOC41LDVBMi41LDIuNSwwLDEsMCwxMSw3LjUsMi41LDIuNSwwLDAsMCw4LjUsNVptNSwwQTIuNSwyLjUsMCwxLDAsMTYsNy41LDIuNSwyLjUsMCwwLDAsMTMuNSw1WiIgc3R5bGU9ImRpc3BsYXk6IG5vbmU7Ii8+PC9nPjxnIGlkPSJpY29uQmciPjxwYXRoIGNsYXNzPSJpY29uLXZzLWJnIiBkPSJNNSw3LjVBMS41LDEuNSwwLDEsMSwzLjUsNiwxLjUsMS41LDAsMCwxLDUsNy41Wk04LjUsNkExLjUsMS41LDAsMSwwLDEwLDcuNSwxLjUsMS41LDAsMCwwLDguNSw2Wm01LDBBMS41LDEuNSwwLDEsMCwxNSw3LjUsMS41LDEuNSwwLDAsMCwxMy41LDZaIi8+PC9nPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/menu/menu.css"],names:[],mappings:"AAKA,yCACC,cAAe,AACf,gBAAkB,CAClB,AAED,4DACC,aAAe,CACf,AAED,sDACC,UAAW,AAIX,oBAAqB,AACrB,YAAc,CACd,AAED,mHAPC,uBAAwB,AACpB,mBAAoB,AAChB,cAAgB,CASxB,AAED,2DACC,kBAAmB,AACnB,cAAe,AACf,oBAAqB,AACrB,aAAc,AACd,WAAY,AACZ,sBAAuB,AACnB,mBAAoB,AACxB,iBAAmB,CACnB,AAED,uDACC,kBAAmB,AACnB,cAAe,AACf,qBAAsB,AACtB,cAAe,AACf,gBAAiB,AACjB,eAAgB,AAChB,aAAe,CACf,AAED,iHAEC,qBAAsB,AACtB,kBAAmB,AACnB,cAAe,AACf,cAAe,AACf,iBAAkB,AAClB,eAAgB,AAChB,aAAe,CACf,AAED,4DACC,YAAa,AACb,mYAAoY,AACpY,0XAA4X,CAC5X,AAED,6JAEC,UAAa,CACb,AAED,uEACC,qBAAsB,AACtB,8BAA+B,AAC/B,yBAA2B,AAC3B,0BAA4B,AAC5B,sBAAyB,AACzB,QAAU,CACV,AAED,sDACC,gBAAiB,AACjB,gBAAkB,CAClB,AAGD,sEACC,iBAAmB,CACnB,AAED,iEACC,iBAAqB,AACrB,mBAAqB,AACrB,UAAY,CACZ,AAED,sEACC,sBAA6B,AAC7B,gBAAkB,AAClB,SAAW,CACX,AAED,6DACC,aAAe,CACf,AAED,0DACC,kBAAmB,AACnB,kBAAmB,AACnB,+UAAgV,AAChV,uUAAwU,AACxU,UAAW,AACX,WAAa,CACb,AAED,oFACC,kBAAoB,CACpB,AAID,oCACC,UAAW,AACX,YAAa,AACb,qCAAwC,AACxC,4BAAgC,CAChC,AAED,wLAGC,SAAW,CACX,AAED,sDACC,4BAA8B,CAC9B,AAID,8CACC,wBAAyB,AACjB,eAAiB,CACzB,AAED,wEACC,eAAiB,CACjB,AAID,SACC,oBAAqB,AACrB,aAAc,AACd,oBAAqB,AACjB,cAAe,AACnB,8BAA+B,AACvB,sBAAuB,AAC/B,YAAa,AACb,gBAAiB,AACjB,mBAAoB,AAChB,cAAgB,CACpB,AAED,qBACC,SAAY,AACZ,aAAiB,CACjB,AAED,8BACC,sBAAuB,AACnB,mBAAoB,AACxB,8BAA+B,AACvB,sBAAuB,AAC/B,cAAiB,AACjB,eAAgB,AAChB,2BAA4B,AAC5B,OAAQ,AACR,mBAAoB,AACpB,SAAW,CACX,AAED,oCACC,kBAAmB,AACnB,OAAU,AACV,UAAW,AACX,YAAc,CACd,AAED,0DACC,UAAW,AACX,WAAa,CACb,AAED,iEACC,SAAW,CACX,AAED,8BACC,wBAA4B,AAC5B,4BAA6B,AAC7B,qBAAsB,AACtB,WAAY,AACZ,YAAa,AAIb,qBAAsB,AACtB,UAAW,AACX,mjCAAojC,AACpjC,0iCAA4iC,CAN5iC",file:"menu.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-menu .monaco-action-bar.vertical {\n\tmargin-left: 0;\n\toverflow: visible;\n}\n\n.monaco-menu .monaco-action-bar.vertical .actions-container {\n\tdisplay: block;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tpadding: 0;\n\t-webkit-transform: none;\n\t -ms-transform: none;\n\t transform: none;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.active {\n\t-webkit-transform: none;\n\t -ms-transform: none;\n\t transform: none;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item {\n\t-ms-flex: 1 1 auto;\n\tflex: 1 1 auto;\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\theight: 2em;\n\t-ms-flex-align: center;\n\t align-items: center;\n\tposition: relative;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label {\n\t-ms-flex: 1 1 auto;\n\tflex: 1 1 auto;\n\ttext-decoration: none;\n\tpadding: 0 1em;\n\tbackground: none;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .keybinding,\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\tdisplay: inline-block;\n\t-ms-flex: 2 1 auto;\n\tflex: 2 1 auto;\n\tpadding: 0 1em;\n\ttext-align: right;\n\tfont-size: 12px;\n\tline-height: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .submenu-indicator {\n\theight: 100%;\n\t-webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTIwNTEgMTIuMzY0M0w5Ljg3NzkzIDdMNC41MjA1MSAxLjYzNTc0Mkw1LjEzNTc0IDEuMDIwNTA3OEwxMS4xMjIxIDdMNS4xMzU3NCAxMi45Nzk1TDQuNTIwNTEgMTIuMzY0M1oiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=") no-repeat 90% 50%/13px 13px;\n\tmask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNTIwNTEgMTIuMzY0M0w5Ljg3NzkzIDdMNC41MjA1MSAxLjYzNTc0Mkw1LjEzNTc0IDEuMDIwNTA3OEwxMS4xMjIxIDdMNS4xMzU3NCAxMi45Nzk1TDQuNTIwNTEgMTIuMzY0M1oiIGZpbGw9ImJsYWNrIi8+Cjwvc3ZnPgo=") no-repeat 90% 50%/13px 13px;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .keybinding,\n.monaco-menu .monaco-action-bar.vertical .action-item.disabled .submenu-indicator {\n\topacity: 0.4;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:not(.separator) {\n\tdisplay: inline-block;\n\t-webkit-box-sizing:\tborder-box;\n\t-o-box-sizing:\t\tborder-box;\n\t-ms-box-sizing:\t\tborder-box;\n\tbox-sizing:\t\t\tborder-box;\n\tmargin: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tposition: static;\n\toverflow: visible;\n}\n\n\n.monaco-menu .monaco-action-bar.vertical .action-item .monaco-submenu {\n\tposition: absolute;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator {\n\tpadding: 0.5em 0 0 0;\n\tmargin-bottom: 0.5em;\n\twidth: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label.separator.text {\n\tpadding: 0.7em 1em 0.1em 1em;\n\tfont-weight: bold;\n\topacity: 1;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-label:hover {\n\tcolor: inherit;\n}\n\n.monaco-menu .monaco-action-bar.vertical .menu-item-check {\n\tposition: absolute;\n\tvisibility: hidden;\n\t-webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTIgLTIgMTYgMTYiPjxwb2x5Z29uIGZpbGw9IiM0MjQyNDIiIHBvaW50cz0iOSwwIDQuNSw5IDMsNiAwLDYgMywxMiA2LDEyIDEyLDAiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;\n\tmask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iLTIgLTIgMTYgMTYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTIgLTIgMTYgMTYiPjxwb2x5Z29uIGZpbGw9IiM0MjQyNDIiIHBvaW50cz0iOSwwIDQuNSw5IDMsNiAwLDYgMywxMiA2LDEyIDEyLDAiLz48L3N2Zz4=") no-repeat 50% 56%/15px 15px;\n\twidth: 1em;\n\theight: 100%;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-menu-item.checked .menu-item-check {\n\tvisibility: visible;\n}\n\n/* Context Menu */\n\n.context-view.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n\t-webkit-animation: fadeIn 0.083s linear;\n\tanimation: fadeIn 0.083s linear;\n}\n\n.context-view.monaco-menu-container :focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical:focus,\n.context-view.monaco-menu-container .monaco-action-bar.vertical :focus {\n\toutline: 0;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item {\n\tborder: 1px solid transparent; /* prevents jumping behaviour on hover or focus */\n}\n\n\n/* High Contrast Theming */\n.hc-black .context-view.monaco-menu-container {\n\t-webkit-box-shadow: none;\n\t box-shadow: none;\n}\n\n.hc-black .monaco-menu .monaco-action-bar.vertical .action-item.focused {\n\tbackground: none;\n}\n\n/* Menubar styles */\n\n.menubar {\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-negative: 1;\n\t flex-shrink: 1;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\theight: 30px;\n\toverflow: hidden;\n\t-ms-flex-wrap: wrap;\n\t flex-wrap: wrap;\n}\n\n.fullscreen .menubar {\n\tmargin: 0px;\n\tpadding: 0px 5px;\n}\n\n.menubar > .menubar-menu-button {\n\t-ms-flex-align: center;\n\t align-items: center;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\tpadding: 0px 8px;\n\tcursor: default;\n\t-webkit-app-region: no-drag;\n\tzoom: 1;\n\twhite-space: nowrap;\n\toutline: 0;\n}\n\n.menubar .menubar-menu-items-holder {\n\tposition: absolute;\n\tleft: 0px;\n\topacity: 1;\n\tz-index: 2000;\n}\n\n.menubar .menubar-menu-items-holder.monaco-menu-container {\n\toutline: 0;\n\tborder: none;\n}\n\n.menubar .menubar-menu-items-holder.monaco-menu-container :focus {\n\toutline: 0;\n}\n\n.menubar .toolbar-toggle-more {\n\tbackground-position: center;\n\tbackground-repeat: no-repeat;\n\tbackground-size: 14px;\n\twidth: 20px;\n\theight: 100%;\n}\n\n.menubar .toolbar-toggle-more {\n\tdisplay: inline-block;\n\tpadding: 0;\n\t-webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5pY29uLWNhbnZhcy10cmFuc3BhcmVudCwuaWNvbi12cy1vdXR7ZmlsbDojZjZmNmY2O30uaWNvbi1jYW52YXMtdHJhbnNwYXJlbnR7b3BhY2l0eTowO30uaWNvbi12cy1iZ3tmaWxsOiM0MjQyNDI7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5FbGxpcHNpc19ib2xkXzE2eDwvdGl0bGU+PGcgaWQ9ImNhbnZhcyI+PHBhdGggY2xhc3M9Imljb24tY2FudmFzLXRyYW5zcGFyZW50IiBkPSJNMTYsMFYxNkgwVjBaIi8+PC9nPjxnIGlkPSJvdXRsaW5lIiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPjxwYXRoIGNsYXNzPSJpY29uLXZzLW91dCIgZD0iTTYsNy41QTIuNSwyLjUsMCwxLDEsMy41LDUsMi41LDIuNSwwLDAsMSw2LDcuNVpNOC41LDVBMi41LDIuNSwwLDEsMCwxMSw3LjUsMi41LDIuNSwwLDAsMCw4LjUsNVptNSwwQTIuNSwyLjUsMCwxLDAsMTYsNy41LDIuNSwyLjUsMCwwLDAsMTMuNSw1WiIgc3R5bGU9ImRpc3BsYXk6IG5vbmU7Ii8+PC9nPjxnIGlkPSJpY29uQmciPjxwYXRoIGNsYXNzPSJpY29uLXZzLWJnIiBkPSJNNSw3LjVBMS41LDEuNSwwLDEsMSwzLjUsNiwxLjUsMS41LDAsMCwxLDUsNy41Wk04LjUsNkExLjUsMS41LDAsMSwwLDEwLDcuNSwxLjUsMS41LDAsMCwwLDguNSw2Wm01LDBBMS41LDEuNSwwLDEsMCwxNSw3LjUsMS41LDEuNSwwLDAsMCwxMy41LDZaIi8+PC9nPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px;\n\tmask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5pY29uLWNhbnZhcy10cmFuc3BhcmVudCwuaWNvbi12cy1vdXR7ZmlsbDojZjZmNmY2O30uaWNvbi1jYW52YXMtdHJhbnNwYXJlbnR7b3BhY2l0eTowO30uaWNvbi12cy1iZ3tmaWxsOiM0MjQyNDI7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5FbGxpcHNpc19ib2xkXzE2eDwvdGl0bGU+PGcgaWQ9ImNhbnZhcyI+PHBhdGggY2xhc3M9Imljb24tY2FudmFzLXRyYW5zcGFyZW50IiBkPSJNMTYsMFYxNkgwVjBaIi8+PC9nPjxnIGlkPSJvdXRsaW5lIiBzdHlsZT0iZGlzcGxheTogbm9uZTsiPjxwYXRoIGNsYXNzPSJpY29uLXZzLW91dCIgZD0iTTYsNy41QTIuNSwyLjUsMCwxLDEsMy41LDUsMi41LDIuNSwwLDAsMSw2LDcuNVpNOC41LDVBMi41LDIuNSwwLDEsMCwxMSw3LjUsMi41LDIuNSwwLDAsMCw4LjUsNVptNSwwQTIuNSwyLjUsMCwxLDAsMTYsNy41LDIuNSwyLjUsMCwwLDAsMTMuNSw1WiIgc3R5bGU9ImRpc3BsYXk6IG5vbmU7Ii8+PC9nPjxnIGlkPSJpY29uQmciPjxwYXRoIGNsYXNzPSJpY29uLXZzLWJnIiBkPSJNNSw3LjVBMS41LDEuNSwwLDEsMSwzLjUsNiwxLjUsMS41LDAsMCwxLDUsNy41Wk04LjUsNkExLjUsMS41LDAsMSwwLDEwLDcuNSwxLjUsMS41LDAsMCwwLDguNSw2Wm01LDBBMS41LDEuNSwwLDEsMCwxNSw3LjUsMS41LDEuNSwwLDAsMCwxMy41LDZaIi8+PC9nPjwvc3ZnPg==") no-repeat 50% 55%/14px 14px;\n}'],sourceRoot:""}])},2509:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var o,i,r=n(2510),a=n(1673),s=n(2096),l=n(868),u=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},d=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},h=(i=l.a,u(p,i),p.prototype.setContainer=function(e){this.logService.trace("ContextViewService#setContainer"),this.contextView.setContainer(e)},p.prototype.showContextView=function(e){this.logService.trace("ContextViewService#showContextView"),this.contextView.show(e)},p.prototype.layout=function(){this.contextView.layout()},p.prototype.hideContextView=function(e){this.logService.trace("ContextViewService#hideContextView"),this.contextView.hide(e)},p=c([d(1,a.a),d(2,s.a)],p));function p(e,t,n){var o=i.call(this)||this;return o.logService=n,o.contextView=o._register(new r.a(e)),o}},2510:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i=n(2511),p=(n.n(i),n(1126)),r=n(868),f=n(1794),a=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function g(e,t,n){var o=n.offset+n.size;return 0===n.position?t<=e-o?o:t<=n.offset?n.offset-t:Math.max(e-t,0):t<=n.offset?n.offset-t:t<=e-o?o:0}var s,l=(s=r.a,a(u,s),u.prototype.setContainer=function(e){var t=this;if(this.container&&(this.toDisposeOnSetContainer=Object(r.d)(this.toDisposeOnSetContainer),this.container.removeChild(this.view),this.container=null),e){this.container=e,this.container.appendChild(this.view);var n=[];u.BUBBLE_UP_EVENTS.forEach(function(e){n.push(p.j(t.container,e,function(e){t.onDOMEvent(e,document.activeElement,!1)}))}),u.BUBBLE_DOWN_EVENTS.forEach(function(e){n.push(p.j(t.container,e,function(e){t.onDOMEvent(e,document.activeElement,!0)},!0))}),this.toDisposeOnSetContainer=Object(r.c)(n)}},u.prototype.show=function(e){this.isVisible()&&this.hide(),p.m(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",p.L(this.view),this.toDisposeOnClean=e.render(this.view),this.delegate=e,this.doLayout(),this.delegate.focus&&this.delegate.focus()},u.prototype.layout=function(){this.isVisible()&&(!1!==this.delegate.canRelayout?(this.delegate.layout&&this.delegate.layout(),this.doLayout()):this.hide())},u.prototype.doLayout=function(){if(this.isVisible()){var e,t=this.delegate.getAnchor();if(p.A(t)){var n=p.s(t);e={top:n.top,left:n.left,width:n.width,height:n.height}}else{var o=t;e={top:o.y,left:o.x,width:o.width||1,height:o.height||2}}var i,r=p.w(this.view),a=p.v(this.view),s=this.delegate.anchorPosition||0,l=this.delegate.anchorAlignment||0,u={offset:e.top-window.pageYOffset,size:e.height,position:0===s?0:1};i=0===l?{offset:e.left,size:0,position:0}:{offset:e.left+e.width,size:0,position:1};var c=g(window.innerHeight,a,u)+window.pageYOffset;f.a.intersects({start:c,end:c+a},{start:u.offset,end:u.offset+u.size})&&(i.size=e.width);var d=g(window.innerWidth,r,i);p.E(this.view,"top","bottom","left","right"),p.e(this.view,0===s?"bottom":"top"),p.e(this.view,0===l?"left":"right");var h=p.s(this.container);this.view.style.top=c-h.top+"px",this.view.style.left=d-h.left+"px",this.view.style.width="initial"}},u.prototype.hide=function(e){this.delegate&&this.delegate.onHide&&this.delegate.onHide(e),this.delegate=null,this.toDisposeOnClean&&(this.toDisposeOnClean.dispose(),this.toDisposeOnClean=null),p.y(this.view)},u.prototype.isVisible=function(){return!!this.delegate},u.prototype.onDOMEvent=function(e,t,n){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(e,document.activeElement):n&&!p.z(e.target,this.container)&&this.hide())},u.prototype.dispose=function(){this.hide(),s.prototype.dispose.call(this)},u.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],u.BUBBLE_DOWN_EVENTS=["click"],u);function u(e){var t=s.call(this)||this;return t.view=p.a(".context-view"),p.y(t.view),t.setContainer(e),t._register(Object(r.e)(function(){return t.setContainer(null)})),t}},2511:function(e,t,n){var o=n(2512);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2512:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,".context-view{position:absolute;z-index:2000}","",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/contextview/contextview.css"],names:[],mappings:"AAKA,cACC,kBAAmB,AACnB,YAAc,CACd",file:"contextview.css",sourcesContent:["/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view {\n\tposition: absolute;\n\tz-index: 2000;\n}"],sourceRoot:""}])},2513:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("dialogService")},2514:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o,s=n(1222),d=n(1255),v=n(2515),y=n(2097),C=n(1125),i=n(1678),r=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=(l.prototype.createChild=function(e){return new l(e,this._strict,this)},l.prototype.invokeFunction=function(e){for(var o=this,t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=c.traceInvocation(e),r=!1;try{var a={get:function(e,t){if(r)throw Object(s.c)("service accessor is only valid during the invocation of its target method");var n=o._getOrCreateServiceInstance(e,i);if(!n&&t!==C.d)throw new Error("[invokeFunction] unknown service '"+e+"'");return n}};return e.apply(void 0,[a].concat(t))}finally{r=!0,i.stop()}},l.prototype.createInstance=function(e){for(var t,n,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return n=e instanceof y.a?(t=c.traceCreation(e.ctor),this._createInstance(e.ctor,e.staticArguments.concat(o),t)):(t=c.traceCreation(e),this._createInstance(e,o,t)),t.stop(),n},l.prototype._createInstance=function(e,t,n){void 0===t&&(t=[]);for(var o=C.b.getServiceDependencies(e).sort(function(e,t){return e.index-t.index}),i=[],r=0,a=o;r<a.length;r++){var s=a[r],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=0<o.length?o[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=0<c?t.concat(new Array(c)):t.slice(0,u)}return d.a.apply(null,[e].concat(t,i))},l.prototype._setServiceInstance=function(e,t){if(this._services.get(e)instanceof y.a)this._services.set(e,t);else{if(!this._parent)throw new Error("illegalState - setting UNKNOWN service instance");this._parent._setServiceInstance(e,t)}},l.prototype._getServiceInstanceOrDescriptor=function(e){var t=this._services.get(e);return!t&&this._parent?this._parent._getServiceInstanceOrDescriptor(e):t},l.prototype._getOrCreateServiceInstance=function(e,t){var n=this._getServiceInstanceOrDescriptor(e);return n instanceof y.a?this._createAndCacheServiceInstance(e,n,t.branch(e,!0)):(t.branch(e,!1),n)},l.prototype._createAndCacheServiceInstance=function(e,t,n){var o=new v.a(function(e){return e.id.toString()});function i(){var e=new Error("[createInstance] cyclic dependency between services");throw e.message=o.toString(),e}for(var r=0,a=[{id:e,desc:t,_trace:n}];a.length;){var s=a.pop();o.lookupOrInsertNode(s),100<r++&&i();for(var l=0,u=C.b.getServiceDependencies(s.desc.ctor);l<u.length;l++){var c=u[l],d=this._getServiceInstanceOrDescriptor(c.id);if(d||c.optional||console.warn("[createInstance] "+e+" depends on "+c.id+" which is NOT registered."),d instanceof y.a){var h={id:c.id,desc:d,_trace:s._trace.branch(c.id,!0)};o.insertEdge(s,h),a.push(h)}}}for(;;){var p=o.roots();if(0===p.length){o.isEmpty()||i();break}for(var f=0,g=p;f<g.length;f++){var m=g[f].data,b=this._createServiceInstanceWithOwner(m.id,m.desc.ctor,m.desc.staticArguments,m.desc.supportsDelayedInstantiation,m._trace);this._setServiceInstance(m.id,b),o.removeNode(m)}}return this._getServiceInstanceOrDescriptor(e)},l.prototype._createServiceInstanceWithOwner=function(e,t,n,o,i){if(void 0===n&&(n=[]),this._services.get(e)instanceof y.a)return this._createServiceInstance(t,n,o,i);if(this._parent)return this._parent._createServiceInstanceWithOwner(e,t,n,o,i);throw new Error("illegalState - creating UNKNOWN service instance")},l.prototype._createServiceInstance=function(e,t,n,o){return void 0===t&&(t=[]),this._createInstance(e,t,o)},l);function l(e,t,n){void 0===e&&(e=new i.a),void 0===t&&(t=!1),this._services=e,this._strict=t,this._parent=n,this._services.set(C.a,this)}var u,c=(p.traceInvocation=function(e){return p._None},p.traceCreation=function(e){return p._None},p.prototype.branch=function(e,t){var n=new p(2,e.toString());return this._dep.push([e,t,n]),n},p.prototype.stop=function(){var e=Date.now()-this._start;p._totals+=e;var h=!1,t=[(0===this.type?"CREATE":"CALL")+" "+this.name,""+function e(t,n){for(var o=[],i=new Array(t+1).join("\t"),r=0,a=n._dep;r<a.length;r++){var s=a[r],l=s[0],u=s[1],c=s[2];if(u&&c){h=!0,o.push(i+"CREATES -> "+l);var d=e(t+1,c);d&&o.push(d)}else o.push(i+"uses -> "+l)}return o.join("\n")}(1,this),"DONE, took "+e.toFixed(2)+"ms (grand total "+p._totals.toFixed(2)+"ms)"];(2<e||h)&&console.log(t.join("\n"))},p._None=(r(h,u=p),h.prototype.stop=function(){},h.prototype.branch=function(){return this},new h),p._totals=0,p);function p(e,t){this.type=e,this.name=t,this._start=Date.now(),this._dep=[]}function h(){return u.call(this,-1,null)||this}},2515:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var o=n(1255),i=n(2516);var r=(a.prototype.roots=function(){var t=[];return Object(i.a)(this._nodes,function(e){Object(o.e)(e.value.outgoing)&&t.push(e.value)}),t},a.prototype.insertEdge=function(e,t){var n=this.lookupOrInsertNode(e),o=this.lookupOrInsertNode(t);(n.outgoing[this._hashFn(t)]=o).incoming[this._hashFn(e)]=n},a.prototype.removeNode=function(e){var t=this._hashFn(e);delete this._nodes[t],Object(i.a)(this._nodes,function(e){delete e.value.outgoing[t],delete e.value.incoming[t]})},a.prototype.lookupOrInsertNode=function(e){var t=this._hashFn(e),n=this._nodes[t];return n||(n={data:e,incoming:Object.create(null),outgoing:Object.create(null)},this._nodes[t]=n),n},a.prototype.isEmpty=function(){for(var e in this._nodes)return!1;return!0},a.prototype.toString=function(){var t=[];return Object(i.a)(this._nodes,function(e){t.push(e.key+", (incoming)["+Object.keys(e.value.incoming).join(", ")+"], (outgoing)["+Object.keys(e.value.outgoing).join(",")+"]")}),t.join("\n")},a);function a(e){this._hashFn=e,this._nodes=Object.create(null)}},2516:function(e,t,n){"use strict";t.a=function(t,n){function e(e){if(r.call(t,e)&&!1===n({key:e,value:t[e]},function(){delete t[e]}))return{value:void 0}}for(var o in t){var i=e(o);if("object"==typeof i)return i.value}};var r=Object.prototype.hasOwnProperty},2517:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("label")},2518:function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return b});var o,i,S=n(1126),L=n(2098),D=n(868),r=n(1215),k=n(1425),a=n(1586),s=n(1291),l=n(1125),u=n(1591),c=n(1317),N=n(2095),d=n(1216),h=n(2525),p=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),I=this&&this.__assign||function(){return(I=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},f=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},g=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},m=Object(l.c)("listService"),b=(Object.defineProperty(v.prototype,"lastFocusedList",{get:function(){return this._lastFocusedWidget},enumerable:!0,configurable:!0}),v.prototype.register=function(t,e){var n=this;if(this.lists.some(function(e){return e.widget===t}))throw new Error("Cannot register the same widget multiple times");var o={widget:t,extraContextKeys:e};return this.lists.push(o),t.getHTMLElement()===document.activeElement&&(this._lastFocusedWidget=t),Object(D.c)([t.onDidFocus(function(){return n._lastFocusedWidget=t}),Object(D.e)(function(){return n.lists.splice(n.lists.indexOf(o),1)}),t.onDidDispose(function(){n.lists=n.lists.filter(function(e){return e!==o}),n._lastFocusedWidget===t&&(n._lastFocusedWidget=void 0)})])},v=f([g(0,s.c)],v));function v(e){this.lists=[],this._lastFocusedWidget=void 0}var O=new s.d("listFocus",!0),E=new s.d("listSupportsMultiselect",!0),M=new s.d("listHasSelectionOrFocus",!1),B=new s.d("listDoubleSelection",!1),T=new s.d("listMultiSelection",!1),P=new s.d("listSupportsKeyboardNavigation",!0),j="listAutomaticKeyboardNavigation",R=new s.d(j,!0),W=!1;var z="workbench.list.multiSelectModifier",F="workbench.list.openMode",H="workbench.list.horizontalScrolling",V="workbench.list.keyboardNavigation",U="workbench.list.automaticKeyboardNavigation",Z="workbench.tree.indent";function G(e){return"alt"===e.getValue(z)}function K(e){return"doubleClick"!==e.getValue(F)}var y,Y=(y=D.a,p(C,y),C.prototype.registerListeners=function(){var t=this;this._register(this.configurationService.onDidChangeConfiguration(function(e){e.affectsConfiguration(z)&&(t.useAltAsMultipleSelectionModifier=G(t.configurationService))}))},C.prototype.isSelectionSingleChangeEvent=function(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(L.e)(e)},C.prototype.isSelectionRangeChangeEvent=function(e){return Object(L.d)(e)},C);function C(e){var t=y.call(this)||this;return t.configurationService=e,t.useAltAsMultipleSelectionModifier=G(e),t.registerListeners(),t}var A,q,J=(A=D.a,p(_,A),_.prototype.registerListeners=function(){var t=this;this._register(this.configurationService.onDidChangeConfiguration(function(e){e.affectsConfiguration(F)&&(t.openOnSingleClick=K(t.configurationService))}))},_.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)},_);function _(e,t){var n=A.call(this)||this;return n.configurationService=e,n.existingOpenController=t,n.openOnSingleClick=K(e),n.registerListeners(),n}var X;X=h.a,p(w,X),w=f([g(5,s.c),g(6,m),g(7,d.c),g(8,k.a),g(9,u.a)],w);function w(e,t,n,o,i,r,a,s,l,u){var c=this;P.bindTo(r),W||(R.bindTo(r),W=!0);function d(){var e=r.getContextKeyValue(j);return e=e&&l.getValue(U)}var h,p,f,g,m,b,v=l.getValue(V),y=void 0!==i.horizontalScrolling?i.horizontalScrolling:(h=l,Object(k.f)(h,H,"workbench.tree.horizontalScrolling")),C=K(l),A=function(e,t,n){var o=[],i=I({},e);if(!1!==e.multipleSelectionSupport&&!e.multipleSelectionController){var r=new Y(t);i.multipleSelectionController=r,o.push(r)}var a=new J(t,e.openController);if(i.openController=a,o.push(a),e.keyboardNavigationLabelProvider){var s=e.keyboardNavigationLabelProvider;i.keyboardNavigationLabelProvider={getKeyboardNavigationLabel:function(e){return s.getKeyboardNavigationLabel(e)},mightProducePrintableCharacter:function(e){return n.mightProducePrintableCharacter(e)}}}return[i,Object(D.c)(o)]}(i,l,u),_=A[0],w=A[1];(c=X.call(this,e,t,n,o,I({keyboardSupport:!1,styleController:new L.a(q=q||Object(S.o)())},Object(N.c)(s.getTheme(),N.d),_,{indent:l.getValue(Z),automaticKeyboardNavigation:d(),simpleKeyboardNavigation:"simple"===v,filterOnType:"filter"===v,horizontalScrolling:y,openOnSingleClick:C,keyboardNavigationEventFilter:(p=e,f=u,g=!1,function(e){if(g)return g=!1;var t=f.softDispatch(e,p);return t&&t.enterChord?!(g=!0):!(g=!1)})}))||this).disposables.push(w),c.contextKeyService=(m=c,b=r.createScoped(m.getHTMLElement()),O.bindTo(b),b),E.bindTo(c.contextKeyService).set(!(!1===i.multipleSelectionSupport)),c.hasSelectionOrFocus=M.bindTo(c.contextKeyService),c.hasDoubleSelection=B.bindTo(c.contextKeyService),c.hasMultiSelection=T.bindTo(c.contextKeyService),c._useAltAsMultipleSelectionModifier=G(l);var x=new Set;return x.add(j),c.disposables.push(c.contextKeyService,a.register(c),Object(N.a)(c,s),c.onDidChangeSelection(function(){var e=c.getSelection(),t=c.getFocus();c.hasSelectionOrFocus.set(0<e.length||0<t.length),c.hasMultiSelection.set(1<e.length),c.hasDoubleSelection.set(2===e.length)}),c.onDidChangeFocus(function(){var e=c.getSelection(),t=c.getFocus();c.hasSelectionOrFocus.set(0<e.length||0<t.length)}),l.onDidChangeConfiguration(function(e){if(e.affectsConfiguration(F)&&c.updateOptions({openOnSingleClick:K(l)}),e.affectsConfiguration(z)&&(c._useAltAsMultipleSelectionModifier=G(l)),e.affectsConfiguration(Z)){var t=l.getValue(Z);c.updateOptions({indent:t})}if(e.affectsConfiguration(V)){var n=l.getValue(V);c.updateOptions({simpleKeyboardNavigation:"simple"===n,filterOnType:"filter"===n})}e.affectsConfiguration(U)&&c.updateOptions({automaticKeyboardNavigation:d()})}),c.contextKeyService.onDidChangeContext(function(e){e.affectsSome(x)&&c.updateOptions({automaticKeyboardNavigation:d()})})),c}c.a.as(a.a.Configuration).registerConfiguration({id:"workbench",order:7,title:Object(r.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(i={},i[z]={type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(r.a)("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(r.a)("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(r.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.")},i[F]={type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(r.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. ")},i[H]={type:"boolean",default:!1,description:Object(r.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},i["workbench.tree.horizontalScrolling"]={type:"boolean",default:!1,description:Object(r.a)("tree horizontalScrolling setting","Controls whether trees support horizontal scrolling in the workbench."),deprecationMessage:Object(r.a)("deprecated","This setting is deprecated, please use '{0}' instead.",H)},i[Z]={type:"number",default:8,minimum:0,maximum:40,description:Object(r.a)("tree indent setting","Controls tree indentation in pixels.")},i[V]={type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(r.a)("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(r.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(r.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(r.a)("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},i[U]={type:"boolean",default:!0,markdownDescription:Object(r.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.")},i)})},2519:function(e,t,n){var o=n(2520);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2520:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;-o-user-select:none;user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;-o-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;-ms-touch-action:none;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute}.monaco-list-type-filter{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;text-align:right;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{-webkit-transition:top .2s,left .2s;-o-transition:top .2s,left .2s;transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .2s;-o-transition:width .2s;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{-webkit-box-sizing:border-box;box-sizing:border-box;width:16px;height:16px;margin:0 0 0 2px;-ms-flex-negative:0;flex-shrink:0}.monaco-list-type-filter>.controls>.filter{-webkit-appearance:none;width:16px;height:16px;background:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0iIzRCNEI0QiIvPgo8cGF0aCBkPSJNMTAgN0gyVjlIMTBWN1oiIGZpbGw9IiM0QjRCNEIiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSIjNEI0QjRCIi8+Cjwvc3ZnPgo=");background-position:50% 50%;cursor:pointer}.monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0iIzQyNDI0MiIvPgo8cGF0aCBkPSJNMTEuOTk5OCA3SDMuOTk5NzZWOUgxMS45OTk4VjdaIiBmaWxsPSIjNDI0MjQyIi8+CjxwYXRoIGQ9Ik0xNCA0SDJWNkgxNFY0WiIgZmlsbD0iIzQyNDI0MiIvPgo8L3N2Zz4K")}.vs-dark .monaco-list-type-filter>.controls>.filter{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0iI0U4RThFOCIvPgo8cGF0aCBkPSJNMTAgN0gyVjlIMTBWN1oiIGZpbGw9IiNFOEU4RTgiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSIjRThFOEU4Ii8+Cjwvc3ZnPgo=")}.vs-dark .monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0iI0U4RThFOCIvPgo8cGF0aCBkPSJNMTEuOTk5OCA3SDMuOTk5NzZWOUgxMS45OTk4VjdaIiBmaWxsPSIjRThFOEU4Ii8+CjxwYXRoIGQ9Ik0xNCA0SDJWNkgxNFY0WiIgZmlsbD0iI0U4RThFOCIvPgo8L3N2Zz4K")}.hc-black .monaco-list-type-filter>.controls>.filter{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwIDdIMlY5SDEwVjdaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTQgNEgyVjZIMTRWNFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=")}.hc-black .monaco-list-type-filter>.controls>.filter:checked{background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExLjk5OTggN0gzLjk5OTc2VjlIMTEuOTk5OFY3WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K")}.monaco-list-type-filter>.controls>.clear{border:none;background:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iIzQyNDI0MiIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==");cursor:pointer}.vs-dark .monaco-list-type-filter>.controls>.clear{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iI2U4ZThlOCIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==")}.hc-black .monaco-list-type-filter>.controls>.clear{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgaWQ9InN2ZzczMjAiCiAgIHZlcnNpb249IjEuMSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAzIDMgMTYgMTYiCiAgIHZpZXdCb3g9IjMgMyAxNiAxNiIKICAgaGVpZ2h0PSIxNiIKICAgd2lkdGg9IjE2Ij4KICA8bWV0YWRhdGEKICAgICBpZD0ibWV0YWRhdGE3MzI2Ij4KICAgIDxyZGY6UkRGPgogICAgICA8Y2M6V29yawogICAgICAgICByZGY6YWJvdXQ9IiI+CiAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+CiAgICAgICAgPGRjOnR5cGUKICAgICAgICAgICByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wdXJsLm9yZy9kYy9kY21pdHlwZS9TdGlsbEltYWdlIiAvPgogICAgICAgIDxkYzp0aXRsZT48L2RjOnRpdGxlPgogICAgICA8L2NjOldvcms+CiAgICA8L3JkZjpSREY+CiAgPC9tZXRhZGF0YT4KICA8ZGVmcwogICAgIGlkPSJkZWZzNzMyNCIgLz4KICA8cG9seWdvbgogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjEiCiAgICAgaWQ9InBvbHlnb243MzE4IgogICAgIHBvaW50cz0iMTIuNTk3LDExLjA0MiAxNS40LDEzLjg0NSAxMy44NDQsMTUuNCAxMS4wNDIsMTIuNTk4IDguMjM5LDE1LjQgNi42ODMsMTMuODQ1IDkuNDg1LDExLjA0MiA2LjY4Myw4LjIzOSA4LjIzOCw2LjY4MyAxMS4wNDIsOS40ODYgMTMuODQ1LDYuNjgzIDE1LjQsOC4yMzkiCiAgICAgZmlsbD0iIzQyNDI0MiIgLz4KPC9zdmc+Cg==")}.monaco-list-type-filter-message{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:-webkit-grab}.monaco-list-type-filter.dragging{cursor:-webkit-grabbing}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/list/list.css"],names:[],mappings:"AAKA,aACC,kBAAmB,AACnB,YAAa,AACb,WAAY,AACZ,kBAAoB,CACpB,AAED,2BACC,yBAA0B,AAC1B,2BAA4B,AAC5B,qBAAsB,AACtB,oBAAqB,AACrB,gBAAkB,CAClB,AAED,wCACC,WAAa,CACb,AAED,kBACC,kBAAmB,AACnB,WAAY,AACZ,WAAa,CACb,AAED,oDACC,WAAY,AACZ,cAAgB,CAChB,AAED,iBACC,kBAAmB,AACnB,yBAA2B,AAC3B,0BAA4B,AAC5B,8BAAiC,AACzB,sBAAyB,AACjC,gBAAiB,AACjB,UAAY,CACZ,AAED,4CACC,eAAgB,AAChB,sBAAuB,AACnB,iBAAmB,CACvB,AAGD,2BACC,sBAAyB,CACzB,AAGD,2FACC,mBAAsB,CACtB,AAGD,mBACC,qBAAsB,AACtB,gBAAiB,AACjB,mBAAoB,AACpB,eAAgB,AAChB,iBAAmB,CACnB,AAID,yBACC,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACnB,mBAAoB,AACxB,kBAAmB,AACnB,kBAAmB,AACnB,cAAiB,AACjB,4BAA6B,AAC7B,0BAA2B,AACxB,uBAAwB,AAC3B,gBAAiB,AACjB,iBAAkB,AAClB,8BAA+B,AACvB,sBAAuB,AAC/B,kBAAmB,AACnB,eAAgB,AAChB,iBAAkB,AAClB,YAAa,AACb,UAAW,AACX,OAAS,CACT,AAED,kCACC,oCAAwC,AACxC,+BAAmC,AACnC,2BAAgC,CAChC,AAED,4BACC,SAAW,CACX,AAED,4BACC,QAAU,CACV,AAED,mCACC,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACnB,mBAAoB,AACxB,8BAA+B,AACvB,sBAAuB,AAC/B,6BAA+B,AAC/B,wBAA0B,AAC1B,qBAAuB,AACvB,OAAS,CACT,AAED,qFAEC,UAAY,CACZ,AAED,qCACC,8BAA+B,AACvB,sBAAuB,AAC/B,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,oBAAqB,AACjB,aAAe,CACnB,AAED,2CACC,wBAAyB,AACzB,WAAY,AACZ,YAAa,AACb,yXAA0X,AAC1X,4BAA6B,AAC7B,cAAgB,CAChB,AAED,mDACC,sZAAwZ,CACxZ,AAED,oDACC,8XAAgY,CAChY,AAED,4DACC,sZAAwZ,CACxZ,AAED,qDACC,sXAAwX,CACxX,AAED,6DACC,8YAAgZ,CAChZ,AAED,0CACC,YAAa,AACb,ycAA0c,AAC1c,cAAgB,CAChB,AAED,mDACC,8cAAgd,CAChd,AAED,oDACC,k3CAAo3C,CACp3C,AAED,iCACC,kBAAmB,AACnB,8BAA+B,AACvB,sBAAuB,AAC/B,WAAY,AACZ,YAAa,AACb,MAAO,AACP,OAAQ,AACR,qBAA0B,AAC1B,kBAAmB,AACnB,mBAAoB,AACpB,WAAa,AACb,mBAAqB,CACrB,AAED,uCACC,YAAc,CACd,AAID,yBACC,mBAAqB,CACrB,AAED,kCACC,uBAAyB,CACzB",file:"list.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n\tposition: relative;\n\theight: 100%;\n\twidth: 100%;\n\twhite-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n\t-webkit-user-select: none;\n\t-moz-user-select: -moz-none;\n\t-ms-user-select: none;\n\t-o-user-select: none;\n\tuser-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n\theight: 100%;\n}\n\n.monaco-list-rows {\n\tposition: relative;\n\twidth: 100%;\n\theight: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n\twidth: auto;\n\tmin-width: 100%;\n}\n\n.monaco-list-row {\n\tposition: absolute;\n\t-o-box-sizing:\t\tborder-box;\n\t-ms-box-sizing:\t\tborder-box;\n\t-webkit-box-sizing:\t\t\tborder-box;\n\t box-sizing:\t\t\tborder-box;\n\toverflow: hidden;\n\twidth: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n\tcursor: pointer;\n\t-ms-touch-action: none;\n\t touch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n\tdisplay: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused, .monaco-list.selection-single, .monaco-list.selection-multiple {\n\toutline: 0 !important;\n}\n\n/* Dnd */\n.monaco-drag-image {\n\tdisplay: inline-block;\n\tpadding: 1px 7px;\n\tborder-radius: 10px;\n\tfont-size: 12px;\n\tposition: absolute;\n}\n\n/* Type filter */\n\n.monaco-list-type-filter {\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-align: center;\n\t align-items: center;\n\tposition: absolute;\n\tborder-radius: 2px;\n\tpadding: 0px 3px;\n\tmax-width: calc(100% - 10px);\n\t-o-text-overflow: ellipsis;\n\t text-overflow: ellipsis;\n\toverflow: hidden;\n\ttext-align: right;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\tcursor: all-scroll;\n\tfont-size: 13px;\n\tline-height: 18px;\n\theight: 20px;\n\tz-index: 1;\n\ttop: 4px;\n}\n\n.monaco-list-type-filter.dragging {\n\t-webkit-transition: top 0.2s, left 0.2s;\n\t-o-transition: top 0.2s, left 0.2s;\n\ttransition: top 0.2s, left 0.2s;\n}\n\n.monaco-list-type-filter.ne {\n\tright: 4px;\n}\n\n.monaco-list-type-filter.nw {\n\tleft: 4px;\n}\n\n.monaco-list-type-filter > .controls {\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\t-ms-flex-align: center;\n\t align-items: center;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\t-webkit-transition: width 0.2s;\n\t-o-transition: width 0.2s;\n\ttransition: width 0.2s;\n\twidth: 0;\n}\n\n.monaco-list-type-filter.dragging > .controls,\n.monaco-list-type-filter:hover > .controls {\n\twidth: 36px;\n}\n\n.monaco-list-type-filter > .controls > * {\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\twidth: 16px;\n\theight: 16px;\n\tmargin: 0 0 0 2px;\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n}\n\n.monaco-list-type-filter > .controls > .filter {\n\t-webkit-appearance: none;\n\twidth: 16px;\n\theight: 16px;\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0iIzRCNEI0QiIvPgo8cGF0aCBkPSJNMTAgN0gyVjlIMTBWN1oiIGZpbGw9IiM0QjRCNEIiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSIjNEI0QjRCIi8+Cjwvc3ZnPgo=");\n\tbackground-position: 50% 50%;\n\tcursor: pointer;\n}\n\n.monaco-list-type-filter > .controls > .filter:checked {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0iIzQyNDI0MiIvPgo8cGF0aCBkPSJNMTEuOTk5OCA3SDMuOTk5NzZWOUgxMS45OTk4VjdaIiBmaWxsPSIjNDI0MjQyIi8+CjxwYXRoIGQ9Ik0xNCA0SDJWNkgxNFY0WiIgZmlsbD0iIzQyNDI0MiIvPgo8L3N2Zz4K");\n}\n\n.vs-dark .monaco-list-type-filter > .controls > .filter {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0iI0U4RThFOCIvPgo8cGF0aCBkPSJNMTAgN0gyVjlIMTBWN1oiIGZpbGw9IiNFOEU4RTgiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSIjRThFOEU4Ii8+Cjwvc3ZnPgo=");\n}\n\n.vs-dark .monaco-list-type-filter > .controls > .filter:checked {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0iI0U4RThFOCIvPgo8cGF0aCBkPSJNMTEuOTk5OCA3SDMuOTk5NzZWOUgxMS45OTk4VjdaIiBmaWxsPSIjRThFOEU4Ii8+CjxwYXRoIGQ9Ik0xNCA0SDJWNkgxNFY0WiIgZmlsbD0iI0U4RThFOCIvPgo8L3N2Zz4K");\n}\n\n.hc-black .monaco-list-type-filter > .controls > .filter {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYgOS45OTk1MUgyVjExLjk5OTVINlY5Ljk5OTUxWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwIDdIMlY5SDEwVjdaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTQgNEgyVjZIMTRWNFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo=");\n}\n\n.hc-black .monaco-list-type-filter > .controls > .filter:checked {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMTBINi4wMDAyNFYxMkgxMC4wMDAyVjEwWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExLjk5OTggN0gzLjk5OTc2VjlIMTEuOTk5OFY3WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE0IDRIMlY2SDE0VjRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K");\n}\n\n.monaco-list-type-filter > .controls > .clear {\n\tborder: none;\n\tbackground: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iIzQyNDI0MiIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==");\n\tcursor: pointer;\n}\n\n.vs-dark .monaco-list-type-filter > .controls > .clear {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMyAzIDE2IDE2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDMgMyAxNiAxNiI+PHBvbHlnb24gZmlsbD0iI2U4ZThlOCIgcG9pbnRzPSIxMi41OTcsMTEuMDQyIDE1LjQsMTMuODQ1IDEzLjg0NCwxNS40IDExLjA0MiwxMi41OTggOC4yMzksMTUuNCA2LjY4MywxMy44NDUgOS40ODUsMTEuMDQyIDYuNjgzLDguMjM5IDguMjM4LDYuNjgzIDExLjA0Miw5LjQ4NiAxMy44NDUsNi42ODMgMTUuNCw4LjIzOSIvPjwvc3ZnPg==");\n}\n\n.hc-black .monaco-list-type-filter > .controls > .clear {\n\tbackground-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgaWQ9InN2ZzczMjAiCiAgIHZlcnNpb249IjEuMSIKICAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAzIDMgMTYgMTYiCiAgIHZpZXdCb3g9IjMgMyAxNiAxNiIKICAgaGVpZ2h0PSIxNiIKICAgd2lkdGg9IjE2Ij4KICA8bWV0YWRhdGEKICAgICBpZD0ibWV0YWRhdGE3MzI2Ij4KICAgIDxyZGY6UkRGPgogICAgICA8Y2M6V29yawogICAgICAgICByZGY6YWJvdXQ9IiI+CiAgICAgICAgPGRjOmZvcm1hdD5pbWFnZS9zdmcreG1sPC9kYzpmb3JtYXQ+CiAgICAgICAgPGRjOnR5cGUKICAgICAgICAgICByZGY6cmVzb3VyY2U9Imh0dHA6Ly9wdXJsLm9yZy9kYy9kY21pdHlwZS9TdGlsbEltYWdlIiAvPgogICAgICAgIDxkYzp0aXRsZT48L2RjOnRpdGxlPgogICAgICA8L2NjOldvcms+CiAgICA8L3JkZjpSREY+CiAgPC9tZXRhZGF0YT4KICA8ZGVmcwogICAgIGlkPSJkZWZzNzMyNCIgLz4KICA8cG9seWdvbgogICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjEiCiAgICAgaWQ9InBvbHlnb243MzE4IgogICAgIHBvaW50cz0iMTIuNTk3LDExLjA0MiAxNS40LDEzLjg0NSAxMy44NDQsMTUuNCAxMS4wNDIsMTIuNTk4IDguMjM5LDE1LjQgNi42ODMsMTMuODQ1IDkuNDg1LDExLjA0MiA2LjY4Myw4LjIzOSA4LjIzOCw2LjY4MyAxMS4wNDIsOS40ODYgMTMuODQ1LDYuNjgzIDE1LjQsOC4yMzkiCiAgICAgZmlsbD0iIzQyNDI0MiIgLz4KPC9zdmc+Cg==");\n}\n\n.monaco-list-type-filter-message {\n\tposition: absolute;\n\t-webkit-box-sizing: border-box;\n\t box-sizing: border-box;\n\twidth: 100%;\n\theight: 100%;\n\ttop: 0;\n\tleft: 0;\n\tpadding: 40px 1em 1em 1em;\n\ttext-align: center;\n\twhite-space: normal;\n\topacity: 0.7;\n\tpointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n\tdisplay: none;\n}\n\n/* Electron */\n\n.monaco-list-type-filter {\n\tcursor: -webkit-grab;\n}\n\n.monaco-list-type-filter.dragging {\n\tcursor: -webkit-grabbing;\n}'],sourceRoot:""}])},2521:function(e,t,n){"use strict";var o,i;n.d(t,"a",function(){return o}),(i=o=o||{}).TREE="tree",i.FORM="form"},2522:function(e,t,n){"use strict";t.b=u,n.d(t,"a",function(){return o});var s=n(1794);function l(e,t){for(var n=[],o=0,i=t;o<i.length;o++){var r=i[o];if(!(e.start>=r.range.end)){if(e.end<r.range.start)break;var a=s.a.intersect(e,r.range);s.a.isEmpty(a)||n.push({range:a,size:r.size})}}return n}function u(e,t){return{start:e.start+t,end:e.end+t}}function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e){for(var t=[],n=null,o=0,i=e;o<i.length;o++){var r=i[o],a=r.range.start,s=r.range.end,l=r.size;n&&l===n.size?n.range.end=s:(n={range:{start:a,end:s},size:l},t.push(n))}return t}(e.reduce(function(e,t){return e.concat(t)},[]))}var o=(i.prototype.splice=function(n,e,t){void 0===t&&(t=[]);var o=t.length-e,i=l({start:0,end:n},this.groups),r=l({start:n+e,end:Number.POSITIVE_INFINITY},this.groups).map(function(e){return{range:u(e.range,o),size:e.size}}),a=t.map(function(e,t){return{range:{start:n+t,end:n+t+1},size:e.size}});this.groups=c(i,a,r),this._size=this.groups.reduce(function(e,t){return e+t.size*(t.range.end-t.range.start)},0)},Object.defineProperty(i.prototype,"count",{get:function(){var e=this.groups.length;return e?this.groups[e-1].range.end:0},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),i.prototype.indexAt=function(e){if(e<0)return-1;for(var t=0,n=0,o=0,i=this.groups;o<i.length;o++){var r=i[o],a=r.range.end-r.range.start,s=n+a*r.size;if(e<s)return t+Math.floor((e-n)/r.size);t+=a,n=s}return t},i.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.count)},i.prototype.positionAt=function(e){if(e<0)return-1;for(var t=0,n=0,o=0,i=this.groups;o<i.length;o++){var r=i[o],a=r.range.end-r.range.start,s=n+a;if(e<s)return t+(e-n)*r.size;t+=a*r.size,n=s}return-1},i.prototype.dispose=function(){this.groups=null},i);function i(){this.groups=[],this._size=0}},2523:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1126);var i=(r.prototype.alloc=function(e){var t=this.getTemplateCache(e).pop();if(!t){var n=Object(o.a)(".monaco-list-row");t={domNode:n,templateId:e,templateData:this.getRenderer(e).renderTemplate(n)}}return t},r.prototype.release=function(e){e&&this.releaseRow(e)},r.prototype.releaseRow=function(e){var t=e.domNode,n=e.templateId;t&&(Object(o.D)(t,"scrolling"),function(e){try{e.parentElement&&e.parentElement.removeChild(e)}catch(e){}}(t)),this.getTemplateCache(n).push(e)},r.prototype.getTemplateCache=function(e){var t=this.cache.get(e);return t||(t=[],this.cache.set(e,t)),t},r.prototype.garbageCollect=function(){var r=this;this.renderers&&(this.cache.forEach(function(e,t){for(var n=0,o=e;n<o.length;n++){var i=o[n];r.getRenderer(t).disposeTemplate(i.templateData),i.domNode=null,i.templateData=null}}),this.cache.clear())},r.prototype.dispose=function(){this.garbageCollect(),this.cache.clear(),this.renderers=null},r.prototype.getRenderer=function(e){var t=this.renderers.get(e);if(!t)throw new Error("No renderer found for "+e);return t},r);function r(e){this.renderers=e,this.cache=new Map}},2524:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=(i.prototype.splice=function(t,n,o){this.spliceables.forEach(function(e){return e.splice(t,n,o)})},i);function i(e){this.spliceables=e}},2525:function(e,t,n){"use strict";n.d(t,"a",function(){return D});var c=n(2102),d=n(2528),o=n(868),h=n(966),u=n(1239),r=n(1583),i=n(1795),p=n(1222),a=n(1126),f=this&&this.__assign||function(){return(f=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=this&&this.__awaiter||function(r,a,s,l){return new(s=s||Promise)(function(e,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(t){t.done?e(t.value):new s(function(e){e(t.value)}).then(n,o)}i((l=l.apply(r,a||[])).next())})},m=this&&this.__generator||function(n,o){var i,r,a,e,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,a&&(t=[2&t[0],a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,r=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=o.call(n,s)}catch(e){t=[6,e],r=0}finally{i=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};function b(e,t){return!!t.parent&&(t.parent===e||b(e,t.parent))}var s=(Object.defineProperty(l.prototype,"element",{get:function(){return this.node.element.element},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"parent",{get:function(){return this.node.parent&&new l(this.node.parent)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"children",{get:function(){return this.node.children.map(function(e){return new l(e)})},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"depth",{get:function(){return this.node.depth},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"visibleChildrenCount",{get:function(){return this.node.visibleChildrenCount},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"visibleChildIndex",{get:function(){return this.node.visibleChildIndex},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"collapsible",{get:function(){return this.node.collapsible},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"collapsed",{get:function(){return this.node.collapsed},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"visible",{get:function(){return this.node.visible},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"filterData",{get:function(){return this.node.filterData},enumerable:!0,configurable:!0}),l);function l(e){this.node=e}var v,y,C=(A.prototype.renderTemplate=function(e){return{templateData:this.renderer.renderTemplate(e)}},A.prototype.renderElement=function(e,t,n,o){this.renderer.renderElement(new s(e),t,n.templateData,o)},A.prototype.renderTwistie=function(e,t){return Object(a.M)(t,"loading",e.slow),!1},A.prototype.disposeElement=function(e,t,n,o){this.renderer.disposeElement&&this.renderer.disposeElement(new s(e),t,n.templateData,o)},A.prototype.disposeTemplate=function(e){this.renderer.disposeTemplate(e.templateData)},A.prototype.dispose=function(){this.renderedNodes.clear(),this.disposables=Object(o.d)(this.disposables)},A);function A(e,t){this.renderer=e,this.onDidChangeTwistieState=t,this.renderedNodes=new Map,this.disposables=[],this.templateId=e.templateId}function _(e){return{browserEvent:e.browserEvent,elements:e.elements.map(function(e){return e.element})}}function w(e){return{browserEvent:e.browserEvent,element:e.element&&e.element.element}}function x(e){if(e instanceof i.a){var t=e.elements;return new i.a(t.map(function(e){return e.element}))}return e}(y=v=v||{})[y.Refresh=0]="Refresh",y[y.Expand=1]="Expand";var S=(L.prototype.getDragURI=function(e){return this.dnd.getDragURI(e.element)},L.prototype.getDragLabel=function(e){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(e.map(function(e){return e.element}))},L.prototype.onDragStart=function(e,t){this.dnd.onDragStart&&this.dnd.onDragStart(x(e),t)},L.prototype.onDragOver=function(e,t,n,o,i){return void 0===i&&(i=!0),this.dnd.onDragOver(x(e),t&&t.element,n,o)},L.prototype.drop=function(e,t,n,o){this.dnd.drop(x(e),t&&t.element,n,o)},L);function L(e){this.dnd=e}var D=(Object.defineProperty(k.prototype,"onDidChangeFocus",{get:function(){return h.b.map(this.tree.onDidChangeFocus,_)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"onDidChangeSelection",{get:function(){return h.b.map(this.tree.onDidChangeSelection,_)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"onMouseDblClick",{get:function(){return h.b.map(this.tree.onMouseDblClick,w)},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"onDidFocus",{get:function(){return this.tree.onDidFocus},enumerable:!0,configurable:!0}),Object.defineProperty(k.prototype,"onDidDispose",{get:function(){return this.tree.onDidDispose},enumerable:!0,configurable:!0}),k.prototype.updateOptions=function(e){void 0===e&&(e={}),this.tree.updateOptions(e)},k.prototype.getHTMLElement=function(){return this.tree.getHTMLElement()},Object.defineProperty(k.prototype,"scrollTop",{get:function(){return this.tree.scrollTop},set:function(e){this.tree.scrollTop=e},enumerable:!0,configurable:!0}),k.prototype.domFocus=function(){this.tree.domFocus()},k.prototype.layout=function(e,t){this.tree.layout(e,t)},k.prototype.style=function(e){this.tree.style(e)},k.prototype.getInput=function(){return this.root.element},k.prototype.setInput=function(n,o){return g(this,void 0,void 0,function(){var t;return m(this,function(e){switch(e.label){case 0:return this.refreshPromises.forEach(function(e){return e.cancel()}),this.refreshPromises.clear(),this.root.element=n,t=o&&{viewState:o,focus:[],selection:[]},[4,this.updateChildren(n,!0,t)];case 1:return e.sent(),t&&(this.tree.setFocus(t.focus),this.tree.setSelection(t.selection)),o&&"number"==typeof o.scrollTop&&(this.scrollTop=o.scrollTop),[2]}})})},k.prototype.updateChildren=function(t,n,o){return void 0===t&&(t=this.root.element),void 0===n&&(n=!0),g(this,void 0,void 0,function(){return m(this,function(e){switch(e.label){case 0:if(void 0===this.root.element)throw new Error("Tree input not set");return"loading"!==this.root.state?[3,3]:[4,this.subTreeRefreshPromises.get(this.root)];case 1:return e.sent(),[4,h.b.toPromise(this._onDidRender.event)];case 2:e.sent(),e.label=3;case 3:return[4,this.refreshAndRenderNode(this.getDataNode(t),n,v.Refresh,o)];case 4:return e.sent(),[2]}})})},k.prototype.rerender=function(e){if(void 0!==e){var t=this.getDataNode(e);this.tree.rerender(t)}else this.tree.rerender()},k.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)},k.prototype.expand=function(o,i){return void 0===i&&(i=!1),g(this,void 0,void 0,function(){var t,n;return m(this,function(e){switch(e.label){case 0:if(void 0===this.root.element)throw new Error("Tree input not set");return"loading"!==this.root.state?[3,3]:[4,this.subTreeRefreshPromises.get(this.root)];case 1:return e.sent(),[4,h.b.toPromise(this._onDidRender.event)];case 2:e.sent(),e.label=3;case 3:return(t=this.getDataNode(o))===this.root||"loading"===t.state||this.tree.isCollapsed(t)?(n=this.tree.expand(t===this.root?null:t,i),"loading"!==t.state?[3,6]:[4,this.subTreeRefreshPromises.get(t)]):[2,!1];case 4:return e.sent(),[4,h.b.toPromise(this._onDidRender.event)];case 5:e.sent(),e.label=6;case 6:return[2,n]}})})},k.prototype.setSelection=function(e,t){var n=this,o=e.map(function(e){return n.getDataNode(e)});this.tree.setSelection(o,t)},k.prototype.getSelection=function(){return this.tree.getSelection().map(function(e){return e.element})},k.prototype.setFocus=function(e,t){var n=this,o=e.map(function(e){return n.getDataNode(e)});this.tree.setFocus(o,t)},k.prototype.getFocus=function(){return this.tree.getFocus().map(function(e){return e.element})},k.prototype.reveal=function(e,t){this.tree.reveal(this.getDataNode(e),t)},k.prototype.getDataNode=function(e){var t=this.nodes.get(e===this.root.element?null:e);if(!t)throw new Error("Data tree node not found: "+e);return t},k.prototype.refreshAndRenderNode=function(o,i,r,a){return g(this,void 0,void 0,function(){var t,n;return m(this,function(e){switch(e.label){case 0:return[4,this.refreshNode(o,i,a)];case 1:return e.sent(),this.render(o,a),o!==this.root&&this.autoExpandSingleChildren&&r===v.Expand?(t=this.tree.getNode(o),1!==(n=t.children.filter(function(e){return e.visible})).length?[3,3]:[4,this.tree.expand(n[0].element,!1)]):[3,3];case 2:e.sent(),e.label=3;case 3:return[2]}})})},k.prototype.refreshNode=function(a,s,l){return g(this,void 0,void 0,function(){var i,r=this;return m(this,function(e){switch(e.label){case 0:if(a.disposed)return console.error("Async data tree node is disposed"),[2];if(this.subTreeRefreshPromises.forEach(function(e,t){var n,o;i||(n=t)!==(o=a)&&!b(n,o)&&!b(o,n)||(i=e.then(function(){return r.refreshNode(a,s,l)}))}),i)return[2,i];i=this.doRefreshSubTree(a,s,l),this.subTreeRefreshPromises.set(a,i),e.label=1;case 1:return e.trys.push([1,,3,4]),[4,i];case 2:return e.sent(),[3,4];case 3:return this.subTreeRefreshPromises.delete(a),[7];case 4:return[2]}})})},k.prototype.doRefreshSubTree=function(o,i,r){return g(this,void 0,void 0,function(){var t,n=this;return m(this,function(e){switch(e.label){case 0:o.state="loading",e.label=1;case 1:return e.trys.push([1,,5,6]),[4,this.doRefreshNode(o,i,r)];case 2:return e.sent(),i?(t=o.children.filter(function(e){return e.needsRefresh?!(e.needsRefresh=!1):!(!e.hasChildren||"loaded"!==e.state)||!!(r&&r.viewState.expanded&&e.id)&&-1<r.viewState.expanded.indexOf(e.id)}),[4,Promise.all(t.map(function(e){return n.doRefreshSubTree(e,i,r)}))]):[3,4];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:return o.state="loaded",[7];case 6:return[2]}})})},k.prototype.doRefreshNode=function(a,s,l){return g(this,void 0,void 0,function(){var t,n,o,i,r=this;return m(this,function(e){switch(e.label){case 0:a.hasChildren=!!this.dataSource.hasChildren(a.element),t=a.hasChildren?((n=Object(u.h)(800)).then(function(){a.slow=!0,r._onDidChangeNodeSlowState.fire(a)},function(e){return null}),this.doGetChildren(a).finally(function(){return n.cancel()})):Promise.resolve([]),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,t];case 2:return o=e.sent(),this.setChildren(a,o,s,l),[3,5];case 3:if(i=e.sent(),a.needsRefresh=!0,a!==this.root&&this.tree.collapse(a===this.root?null:a),Object(p.d)(i))return[2];throw i;case 4:return a.slow&&(a.slow=!1,this._onDidChangeNodeSlowState.fire(a)),[7];case 5:return[2]}})})},k.prototype.doGetChildren=function(n){var e=this,t=this.refreshPromises.get(n);return t||(t=Object(u.e)(function(){return g(e,void 0,void 0,function(){var t;return m(this,function(e){switch(e.label){case 0:return[4,this.dataSource.getChildren(n.element)];case 1:return t=e.sent(),this.sorter&&t.sort(this.sorter.compare.bind(this.sorter)),[2,t]}})})}),this.refreshPromises.set(n,t),t.finally(function(){return e.refreshPromises.delete(n)}))},k.prototype._onDidChangeCollapseState=function(e){var t=e.node,n=e.deep;t.collapsed||"uninitialized"!==t.element.state&&!t.element.needsRefresh||(n?this.collapse(t.element.element):this.refreshAndRenderNode(t.element,!1,v.Expand).catch(p.e))},k.prototype.setChildren=function(a,e,t,s){var n,l,u=this;if(this.identityProvider){l=new Map;for(var o=0,i=a.children;o<i.length;o++){var r=i[o];l.set(r.id,r)}}var c=e.map(function(e){if(!u.identityProvider){var t=!!u.dataSource.hasChildren(e);return{element:e,parent:a,children:[],state:"uninitialized",hasChildren:t,needsRefresh:!1,disposed:!1,slow:!1}}var n=u.identityProvider.getId(e).toString(),o=l.get(n);if(!o){var i={element:e,parent:a,children:[],id:n,state:"uninitialized",hasChildren:!!u.dataSource.hasChildren(e),needsRefresh:!1,disposed:!1,slow:!1};return s&&s.viewState.focus&&-1<s.viewState.focus.indexOf(n)&&s.focus.push(i),s&&s.viewState.selection&&-1<s.viewState.selection.indexOf(n)&&s.selection.push(i),i}o.element=e;var r=u.dataSource.hasChildren(o.element);return("loaded"===o.state||"uninitialized"!==o.state&&o.hasChildren!==!!r)&&(o.needsRefresh=!0),o.hasChildren=r,o});0===a.children.length&&0===e.length||(n=a.children).splice.apply(n,[0,a.children.length].concat(c))},k.prototype.render=function(e,t){var n=this,o=new Set,i=e.children.map(function(e){return function t(e,n){var o;return n&&n.viewState.expanded&&e.id&&(o=-1===n.viewState.expanded.indexOf(e.id)),{element:e,children:r.b.map(r.b.fromArray(e.children),function(e){return t(e,n)}),collapsible:e.hasChildren,collapsed:o}}(e,t)});this.tree.setChildren(e===this.root?null:e,i,function(e){e.element.element&&(o.add(e.element.element),n.nodes.set(e.element.element,e.element))},function(e){e.element.element&&(o.has(e.element.element)||(e.element.disposed=!0,n.nodes.delete(e.element.element)))}),this._onDidRender.fire()},k.prototype.dispose=function(){Object(o.d)(this.disposables)},k);function k(e,t,n,o,i){void 0===i&&(i={});var r=this;this.dataSource=o,this.nodes=new Map,this.subTreeRefreshPromises=new Map,this.refreshPromises=new Map,this._onDidRender=new h.a,this._onDidChangeNodeSlowState=new h.a,this.disposables=[],this.identityProvider=i.identityProvider,this.autoExpandSingleChildren=void 0!==i.autoExpandSingleChildren&&i.autoExpandSingleChildren,this.sorter=i.sorter;var a,s=new c.b(t),l=n.map(function(e){return new C(e,r._onDidChangeNodeSlowState.event)}),u=(a=i)&&f({},a,{collapseByDefault:!0,identityProvider:a.identityProvider&&{getId:function(e){return a.identityProvider.getId(e.element)}},dnd:a.dnd&&new S(a.dnd),multipleSelectionController:a.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return a.multipleSelectionController.isSelectionSingleChangeEvent(f({},e,{element:e.element}))},isSelectionRangeChangeEvent:function(e){return a.multipleSelectionController.isSelectionRangeChangeEvent(f({},e,{element:e.element}))}},accessibilityProvider:a.accessibilityProvider&&{getAriaLabel:function(e){return a.accessibilityProvider.getAriaLabel(e.element)}},filter:a.filter&&{filter:function(e,t){return a.filter.filter(e.element,t)}},keyboardNavigationLabelProvider:a.keyboardNavigationLabelProvider&&{getKeyboardNavigationLabel:function(e){return a.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e.element)}},sorter:void 0,expandOnlyOnTwistieClick:void 0===a.expandOnlyOnTwistieClick?void 0:"function"!=typeof a.expandOnlyOnTwistieClick?a.expandOnlyOnTwistieClick:function(e){return a.expandOnlyOnTwistieClick(e.element)},ariaSetProvider:void 0})||{};this.tree=new d.a(e,s,l,u),this.root={element:void 0,parent:null,children:[],state:"uninitialized",hasChildren:!0,needsRefresh:!1,disposed:!1,slow:!1},this.identityProvider&&(this.root=f({},this.root,{id:null})),this.nodes.set(null,this.root),this.tree.onDidChangeCollapseState(this._onDidChangeCollapseState,this,this.disposables)}},2526:function(e,t,n){var o=n(2527);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},2527:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.monaco-tl-row{display:-ms-flexbox;display:flex;height:100%;-ms-flex-align:center;align-items:center}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;margin-right:6px;-ms-flex-negative:0;flex-shrink:0;width:16px}.monaco-tl-contents{-ms-flex:1 1;flex:1 1;overflow:hidden}.monaco-tl-twistie.collapsible{background-size:16px;background-position:3px 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.monaco-tl-twistie.collapsible.collapsed:not(.loading){display:inline-block;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.vs-dark .monaco-tl-twistie.collapsible:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==")}.vs-dark .monaco-tl-twistie.collapsible.collapsed:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==")}.hc-black .monaco-tl-twistie.collapsible:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDEwLjA3aC01LjY1Nmw1LjY1Ni01LjY1NnY1LjY1NnoiLz48L3N2Zz4=")}.hc-black .monaco-tl-twistie.collapsible.collapsed:not(.loading){background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRsMS41ODYgMS41ODYtMS41ODYgMS41ODZ2LTMuMTcyeiIvPjwvc3ZnPg==")}.monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnPgoJCTxjaXJjbGUgY3g9JzUnIGN5PScxJyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzcuODI4NCcgY3k9JzIuMTcxNicgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc5JyBjeT0nNScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc3LjgyODQnIGN5PSc3LjgyODQnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNScgY3k9JzknIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMi4xNzE2JyBjeT0nNy44Mjg0JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzEnIGN5PSc1JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzIuMTcxNicgY3k9JzIuMTcxNicgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCTwvZz4KPC9zdmc+Cg==");background-position:0}.vs-dark .monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnIHN0eWxlPSJmaWxsOmdyZXk7Ij4KCQk8Y2lyY2xlIGN4PSc1JyBjeT0nMScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc3LjgyODQnIGN5PScyLjE3MTYnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nOScgY3k9JzUnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNy44Mjg0JyBjeT0nNy44Mjg0JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzUnIGN5PSc5JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzIuMTcxNicgY3k9JzcuODI4NCcgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScxJyBjeT0nNScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScyLjE3MTYnIGN5PScyLjE3MTYnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+Cgk8L2c+Cjwvc3ZnPgo=")}.hc-black .monaco-tl-twistie.loading{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnIHN0eWxlPSJmaWxsOndoaXRlOyI+CgkJPGNpcmNsZSBjeD0nNScgY3k9JzEnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNy44Mjg0JyBjeT0nMi4xNzE2JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzknIGN5PSc1JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzcuODI4NCcgY3k9JzcuODI4NCcgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc1JyBjeT0nOScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScyLjE3MTYnIGN5PSc3LjgyODQnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMScgY3k9JzUnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMi4xNzE2JyBjeT0nMi4xNzE2JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJPC9nPgo8L3N2Zz4K")}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_monaco-editor@0.16.2@monaco-editor/esm/vs/base/browser/ui/tree/media/tree.css"],names:[],mappings:"AAKA,eACC,oBAAqB,AACrB,aAAc,AACd,YAAa,AACb,sBAAuB,AACnB,kBAAoB,CACxB,AAED,uCAEC,WAAa,CACb,AAED,mBACC,eAAgB,AAChB,iBAAkB,AAClB,iBAAkB,AAClB,oBAAqB,AACjB,cAAe,AACnB,UAAY,CACZ,AAED,oBACC,aAAc,AACV,SAAU,AACd,eAAiB,CACjB,AAED,+BACC,qBAAsB,AACtB,4BAA6B,AAC7B,4BAA6B,AAC7B,kNAAoN,CACpN,AAED,uDACC,qBAAsB,AACtB,8OAAgP,CAChP,AAED,sDACC,kNAAoN,CACpN,AAED,gEACC,8OAAgP,CAChP,AAED,uDACC,8NAAgO,CAChO,AAED,iEACC,0PAA4P,CAC5P,AAED,2BACC,2iDAA4iD,AAC5iD,qBAA8B,CAC9B,AAED,oCACC,kkDAAokD,CACpkD,AAED,qCACC,kkDAAokD,CACpkD",file:"tree.css",sourcesContent:['/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n\tdisplay: -ms-flexbox;\n\tdisplay: flex;\n\theight: 100%;\n\t-ms-flex-align: center;\n\t align-items: center;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n\theight: 100%;\n}\n\n.monaco-tl-twistie {\n\tfont-size: 10px;\n\ttext-align: right;\n\tmargin-right: 6px;\n\t-ms-flex-negative: 0;\n\t flex-shrink: 0;\n\twidth: 16px;\n}\n\n.monaco-tl-contents {\n\t-ms-flex: 1 1;\n\t flex: 1 1;\n\toverflow: hidden;\n}\n\n.monaco-tl-twistie.collapsible {\n\tbackground-size: 16px;\n\tbackground-position: 3px 50%;\n\tbackground-repeat: no-repeat;\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==");\n}\n\n.monaco-tl-twistie.collapsible.collapsed:not(.loading) {\n\tdisplay: inline-block;\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iIzY0NjQ2NSIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==");\n}\n\n.vs-dark .monaco-tl-twistie.collapsible:not(.loading) {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTExIDEwSDUuMzQ0TDExIDQuNDE0VjEweiIvPjwvc3ZnPg==");\n}\n\n.vs-dark .monaco-tl-twistie.collapsible.collapsed:not(.loading) {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iI0U4RThFOCIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRMOC41ODYgOCA3IDkuNTg2VjYuNDE0eiIvPjwvc3ZnPg==");\n}\n\n.hc-black .monaco-tl-twistie.collapsible:not(.loading) {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTExIDEwLjA3aC01LjY1Nmw1LjY1Ni01LjY1NnY1LjY1NnoiLz48L3N2Zz4=");\n}\n\n.hc-black .monaco-tl-twistie.collapsible.collapsed:not(.loading) {\n\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTYgNHY4bDQtNC00LTR6bTEgMi40MTRsMS41ODYgMS41ODYtMS41ODYgMS41ODZ2LTMuMTcyeiIvPjwvc3ZnPg==");\n}\n\n.monaco-tl-twistie.loading {\n\tbackground-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnPgoJCTxjaXJjbGUgY3g9JzUnIGN5PScxJyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzcuODI4NCcgY3k9JzIuMTcxNicgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc5JyBjeT0nNScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc3LjgyODQnIGN5PSc3LjgyODQnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNScgY3k9JzknIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMi4xNzE2JyBjeT0nNy44Mjg0JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzEnIGN5PSc1JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzIuMTcxNicgY3k9JzIuMTcxNicgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCTwvZz4KPC9zdmc+Cg==");\n\tbackground-position: 0 center;\n}\n\n.vs-dark .monaco-tl-twistie.loading {\n\tbackground-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnIHN0eWxlPSJmaWxsOmdyZXk7Ij4KCQk8Y2lyY2xlIGN4PSc1JyBjeT0nMScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc3LjgyODQnIGN5PScyLjE3MTYnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nOScgY3k9JzUnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNy44Mjg0JyBjeT0nNy44Mjg0JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzUnIGN5PSc5JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzIuMTcxNicgY3k9JzcuODI4NCcgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScxJyBjeT0nNScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScyLjE3MTYnIGN5PScyLjE3MTYnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+Cgk8L2c+Cjwvc3ZnPgo=");\n}\n\n.hc-black .monaco-tl-twistie.loading {\n\tbackground-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBzdGFuZGFsb25lPSdubycgPz4KPHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZlcnNpb249JzEuMScgd2lkdGg9JzEwcHgnIGhlaWdodD0nMTBweCc+Cgk8c3R5bGU+CiAgICBjaXJjbGUgewogICAgICBhbmltYXRpb246IGJhbGwgMC42cyBsaW5lYXIgaW5maW5pdGU7CiAgICB9CgogICAgY2lyY2xlOm50aC1jaGlsZCgyKSB7IGFuaW1hdGlvbi1kZWxheTogMC4wNzVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDMpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjE1czsgfQogICAgY2lyY2xlOm50aC1jaGlsZCg0KSB7IGFuaW1hdGlvbi1kZWxheTogMC4yMjVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDUpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjNzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDYpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjM3NXM7IH0KICAgIGNpcmNsZTpudGgtY2hpbGQoNykgeyBhbmltYXRpb24tZGVsYXk6IDAuNDVzOyB9CiAgICBjaXJjbGU6bnRoLWNoaWxkKDgpIHsgYW5pbWF0aW9uLWRlbGF5OiAwLjUyNXM7IH0KCiAgICBAa2V5ZnJhbWVzIGJhbGwgewogICAgICBmcm9tIHsgb3BhY2l0eTogMTsgfQogICAgICB0byB7IG9wYWNpdHk6IDAuMzsgfQogICAgfQoJPC9zdHlsZT4KCTxnIHN0eWxlPSJmaWxsOndoaXRlOyI+CgkJPGNpcmNsZSBjeD0nNScgY3k9JzEnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nNy44Mjg0JyBjeT0nMi4xNzE2JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzknIGN5PSc1JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJCTxjaXJjbGUgY3g9JzcuODI4NCcgY3k9JzcuODI4NCcgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PSc1JyBjeT0nOScgcj0nMScgc3R5bGU9J29wYWNpdHk6MC4zOycgLz4KCQk8Y2lyY2xlIGN4PScyLjE3MTYnIGN5PSc3LjgyODQnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMScgY3k9JzUnIHI9JzEnIHN0eWxlPSdvcGFjaXR5OjAuMzsnIC8+CgkJPGNpcmNsZSBjeD0nMi4xNzE2JyBjeT0nMi4xNzE2JyByPScxJyBzdHlsZT0nb3BhY2l0eTowLjM7JyAvPgoJPC9nPgo8L3N2Zz4K");\n}'],sourceRoot:""}])},2528:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var o,i,r=n(2102),a=n(2529),s=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=(i=r.a,s(u,i),u.prototype.setChildren=function(e,t,n,o){return this.model.setChildren(e,t,n,o)},u.prototype.rerender=function(e){void 0!==e?this.model.rerender(e):this.view.rerender()},u.prototype.createModel=function(e,t){return new a.a(e,t)},u);function u(e,t,n,o){return void 0===o&&(o={}),i.call(this,e,t,n,o)||this}},2529:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var o=n(1583),i=n(2103),r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=(s.prototype.setChildren=function(e,t,n,o){var i=this.getElementLocation(e);return this._setChildren(i,this.preserveCollapseState(t),n,o)},s.prototype._setChildren=function(e,t,n,o){var i=this,r=new Set;return this.model.splice(e.concat([0]),Number.MAX_VALUE,t,function(e){r.add(e.element),i.nodes.set(e.element,e),n&&n(e)},function(e){r.has(e.element)||i.nodes.delete(e.element),o&&o(e)})},s.prototype.preserveCollapseState=function(e){var i=this,t=e?Object(o.c)(e):o.b.empty();return this.sorter&&(t=o.b.fromArray(o.b.collect(t).sort(this.sorter.compare.bind(this.sorter)))),o.b.map(t,function(e){var t=i.nodes.get(e.element);if(!t)return r({},e,{children:i.preserveCollapseState(e.children)});var n="boolean"==typeof e.collapsible?e.collapsible:t.collapsible,o=void 0!==e.collapsed?e.collapsed:t.collapsed;return r({},e,{collapsible:n,collapsed:o,children:i.preserveCollapseState(e.children)})})},s.prototype.rerender=function(e){var t=this.getElementLocation(e);this.model.rerender(t)},s.prototype.getListIndex=function(e){var t=this.getElementLocation(e);return this.model.getListIndex(t)},s.prototype.getListRenderCount=function(e){var t=this.getElementLocation(e);return this.model.getListRenderCount(t)},s.prototype.isCollapsed=function(e){var t=this.getElementLocation(e);return this.model.isCollapsed(t)},s.prototype.setCollapsed=function(e,t,n){var o=this.getElementLocation(e);return this.model.setCollapsed(o,t,n)},s.prototype.expandTo=function(e){var t=this.getElementLocation(e);this.model.expandTo(t)},s.prototype.refilter=function(){this.model.refilter()},s.prototype.getNode=function(e){void 0===e&&(e=null);var t=this.getElementLocation(e);return this.model.getNode(t)},s.prototype.getNodeLocation=function(e){return e.element},s.prototype.getParentNodeLocation=function(e){var t=this.nodes.get(e);if(!t)throw new Error("Tree element not found: "+e);return t.parent.element},s.prototype.getElementLocation=function(e){if(null===e)return[];var t=this.nodes.get(e);if(!t)throw new Error("Tree element not found: "+e);return this.model.getNodeLocation(t)},s);function s(e,n){void 0===n&&(n={}),this.nodes=new Map,this.model=new i.a(e,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)}})}},2530:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var y,o,c=n(1316),r=n(1545),i=n(1255),a=n(966),s=n(1796);(o=y=y||{}).get=function(e,t,n){if(e[t])return e[t][n]},o.set=function(e,t,n,o){e[t]||(e[t]=Object.create(null)),e[t][n]=o},o.remove=function(e,t,n){return!(!e[t]||!e[t][n])&&(delete e[t][n],Object(i.e)(e[t])&&delete e[t],!0)};var l=(u.prototype.dispose=function(){this._subscription.dispose(),this._data=void 0},u.prototype._update=function(e){if(this._data)for(var t=0,n=e;t<n.length;t++){var o=n[t],i=o.toString(),r=this._data[i];r&&this._substract(r);var a=this._resourceStats(o);this._add(a),this._data[i]=a}},u.prototype._resourceStats=function(e){var t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===r.a.inMemory||e.scheme===r.a.walkThrough||e.scheme===r.a.walkThroughSnippet)return t;for(var n=0,o=this._service.read({resource:e});n<o.length;n++){var i=o[n].severity;i===s.b.Error?t.errors+=1:i===s.b.Warning?t.warnings+=1:i===s.b.Info?t.infos+=1:t.unknowns+=1}return t},u.prototype._substract=function(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns},u.prototype._add=function(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns},u);function u(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)}var d=(C.prototype.dispose=function(){this._stats.dispose()},Object.defineProperty(C.prototype,"onMarkerChanged",{get:function(){return this._onMarkerChangedEvent},enumerable:!0,configurable:!0}),C.prototype.remove=function(e,t){for(var n=0,o=t||[];n<o.length;n++){var i=o[n];this.changeOne(e,i,[])}},C.prototype.changeOne=function(e,t,n){if(Object(c.g)(n)){var o=y.remove(this._byResource,t.toString(),e),i=y.remove(this._byOwner,e,t.toString());if(o!==i)throw new Error("invalid marker service state");o&&i&&this._onMarkerChanged.fire([t])}else{for(var r=[],a=0,s=n;a<s.length;a++){var l=s[a],u=C._toMarker(e,t,l);u&&r.push(u)}y.set(this._byResource,t.toString(),e,r),y.set(this._byOwner,e,t.toString(),r),this._onMarkerChanged.fire([t])}},C._toMarker=function(e,t,n){var o=n.code,i=n.severity,r=n.message,a=n.source,s=n.startLineNumber,l=n.startColumn,u=n.endLineNumber,c=n.endColumn,d=n.relatedInformation,h=n.tags;if(r)return{resource:t,owner:e,code:o||void 0,severity:i,message:r,source:a,startLineNumber:s=0<s?s:1,startColumn:l=0<l?l:1,endLineNumber:u=s<=u?u:s,endColumn:c=0<c?c:l,relatedInformation:d,tags:h}},C.prototype.read=function(e){void 0===e&&(e=Object.create(null));var t=e.owner,n=e.resource,o=e.severities,i=e.take;if((!i||i<0)&&(i=-1),t&&n){if(v=y.get(this._byResource,n.toString(),t)){for(var r=[],a=0,s=v;a<s.length;a++){var l=s[a];if(C._accept(l,o)){var u=r.push(l);if(0<i&&u===i)break}}return r}return[]}if(t||n){var c=t?this._byOwner[t]:n?this._byResource[n.toString()]:void 0;if(!c)return[];for(var d in r=[],c)for(var h=0,p=c[d];h<p.length;h++)if(v=p[h],C._accept(v,o)&&(u=r.push(v),0<i&&u===i))return r;return r}var r=[];for(var f in this._byResource)for(var g in this._byResource[f])for(var m=0,b=this._byResource[f][g];m<b.length;m++){var v=b[m];if(C._accept(v,o)){var u=r.push(v);if(0<i&&u===i)return r}}return r},C._accept=function(e,t){return void 0===t||(t&e.severity)===e.severity},C._debouncer=function(e,t){e||(C._dedupeMap=Object.create(null),e=[]);for(var n=0,o=t;n<o.length;n++){var i=o[n];void 0===C._dedupeMap[i.toString()]&&(C._dedupeMap[i.toString()]=!0,e.push(i))}return e},C);function C(){this._onMarkerChanged=new a.a,this._onMarkerChangedEvent=a.b.debounce(this._onMarkerChanged.event,C._debouncer,0),this._byResource=Object.create(null),this._byOwner=Object.create(null),this._stats=new l(this)}},2531:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("progressService")},2532:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n(966),o=n(868),d=n(1672),r=n(1350),a=n(1291),s=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},l=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},u=(c.prototype.createMenu=function(e,t){return new h(e,this._commandService,t)},c=s([l(0,r.b)],c));function c(e){this._commandService=e}var h=(p.prototype._build=function(){this._menuGroups=[],this._contextKeys=new Set;var e,t=d.c.getMenuItems(this._id);t.sort(p._compareMenuItems);for(var n=0,o=t;n<o.length;n++){var i=o[n],r=i.group||"";e&&e[0]===r||(e=[r,[]],this._menuGroups.push(e)),e[1].push(i),p._fillInKbExprKeys(i.when,this._contextKeys),Object(d.e)(i)&&i.command.precondition&&p._fillInKbExprKeys(i.command.precondition,this._contextKeys),Object(d.e)(i)&&i.command.toggled&&p._fillInKbExprKeys(i.command.toggled,this._contextKeys)}this._onDidChange.fire(this)},p.prototype.dispose=function(){Object(o.d)(this._disposables),this._onDidChange.dispose()},p.prototype.getActions=function(e){for(var t=[],n=0,o=this._menuGroups;n<o.length;n++){for(var i=o[n],r=i[0],a=[],s=0,l=i[1];s<l.length;s++){var u=l[s];if(this._contextKeyService.contextMatchesRules(u.when||null)){var c=Object(d.e)(u)?new d.b(u.command,u.alt,e,this._contextKeyService,this._commandService):new d.d(u);a.push(c)}}0<a.length&&t.push([r,a])}return t},p._fillInKbExprKeys=function(e,t){if(e)for(var n=0,o=e.keys();n<o.length;n++){var i=o[n];t.add(i)}},p._compareMenuItems=function(e,t){var n=e.group,o=t.group;if(n!==o){if(!n)return 1;if(!o)return-1;if("navigation"===n)return-1;if("navigation"===o)return 1;var i=n.localeCompare(o);if(0!==i)return i}var r=e.order||0,a=t.order||0;if(r<a)return-1;if(a<r)return 1;var s="string"==typeof e.command.title?e.command.title:e.command.title.value,l="string"==typeof t.command.title?t.command.title:t.command.title.value;return s.localeCompare(l)},p=s([l(1,r.b),l(2,a.c)],p));function p(e,t,n){var o=this;this._id=e,this._commandService=t,this._contextKeyService=n,this._onDidChange=new i.a,this._disposables=[],this._build(),i.b.debounce(i.b.filter(d.c.onDidChangeMenu,function(e){return e===o._id}),function(){},50)(this._build,this,this._disposables),i.b.debounce(this._contextKeyService.onDidChangeContext,function(e,t){return e||t.affectsSome(o._contextKeys)},50)(function(e){return e&&o._onDidChange.fire(void 0)},this,this._disposables)}},2533:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("markerDecorationsService")},2534:function(e,t,n){"use strict";n.d(t,"a",function(){return A});var o,a=n(1796),i=n(868),r=n(1493),s=n(1216),l=n(1351),u=n(1584),c=n(988),d=n(1462),h=n(1545),p=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},g=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}};function m(e){return e.toString()}var b,v=(b=i.a,p(y,b),y.prototype.update=function(e,t){for(var n=this.model.deltaDecorations(Object(d.d)(this._markersData),t),o=0;o<n.length;o++)this._markersData.set(n[o],e[o])},y.prototype.getMarker=function(e){return this._markersData.get(e.id)},y);function y(e){var t=b.call(this)||this;return t.model=e,t._markersData=new Map,t._register(Object(i.e)(function(){t.model.deltaDecorations(Object(d.d)(t._markersData),[]),t._markersData.clear()})),t}var C,A=(C=i.a,p(_,C),_.prototype.getMarker=function(e,t){var n=this._markerDecorations.get(m(e.uri));return n&&n.getMarker(t)||null},_.prototype._handleMarkerChange=function(e){var n=this;e.forEach(function(e){var t=n._markerDecorations.get(m(e));t&&n.updateDecorations(t)})},_.prototype._onModelAdded=function(e){var t=new v(e);this._markerDecorations.set(m(e.uri),t),this.updateDecorations(t)},_.prototype._onModelRemoved=function(t){var n=this,e=this._markerDecorations.get(m(t.uri));e&&(e.dispose(),this._markerDecorations.delete(m(t.uri))),t.uri.scheme!==h.a.inMemory&&t.uri.scheme!==h.a.internal&&t.uri.scheme!==h.a.vscode||this._markerService&&this._markerService.read({resource:t.uri}).map(function(e){return e.owner}).forEach(function(e){return n._markerService.remove(e,[t.uri])})},_.prototype.updateDecorations=function(t){var n=this,e=this._markerService.read({resource:t.model.uri,take:500}),o=e.map(function(e){return{range:n._createDecorationRange(t.model,e),options:n._createDecorationOption(e)}});t.update(e,o)},_.prototype._createDecorationRange=function(e,t){var n=c.a.lift(t);if(t.severity===a.b.Hint&&(t.tags&&-1!==t.tags.indexOf(1)||(n=n.setEndPosition(n.startLineNumber,n.startColumn+2))),(n=e.validateRange(n)).isEmpty()){var o=e.getWordAtPosition(n.getStartPosition());if(o)n=new c.a(n.startLineNumber,o.startColumn,n.endLineNumber,o.endColumn);else{var i=e.getLineLastNonWhitespaceColumn(n.startLineNumber)||e.getLineMaxColumn(n.startLineNumber);1===i||(n=n.endColumn>=i?new c.a(n.startLineNumber,i-1,n.endLineNumber,i):new c.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 r=e.getLineFirstNonWhitespaceColumn(t.startLineNumber);r<n.endColumn&&(n=new c.a(n.startLineNumber,r,n.endLineNumber,n.endColumn),t.startColumn=r)}return n},_.prototype._createDecorationOption=function(e){var t,n,o=void 0,i=void 0;switch(e.severity){case a.b.Hint:t=e.tags&&0<=e.tags.indexOf(1)?"squiggly-unnecessary":"squiggly-hint",n=0;break;case a.b.Warning:t="squiggly-warning",o=Object(s.f)(l.w),n=20;break;case a.b.Info:t="squiggly-info",o=Object(s.f)(l.v),n=10;break;case a.b.Error:default:t="squiggly-error",o=Object(s.f)(l.u),n=30}return e.tags&&-1!==e.tags.indexOf(1)&&(i="squiggly-inline-unnecessary"),{stickiness:1,className:t,showIfCollapsed:!0,overviewRuler:{color:o,position:r.c.Right},zIndex:n,inlineClassName:i}},_=f([g(0,u.a),g(1,a.a)],_));function _(e,t){var n=C.call(this)||this;return n._markerService=t,n._markerDecorations=new Map,e.getModels().forEach(function(e){return n._onModelAdded(e)}),n._register(e.onModelAdded(n._onModelAdded,n)),n._register(e.onModelRemoved(n._onModelRemoved,n)),n._register(n._markerService.onMarkerChanged(n._handleMarkerChange,n)),n}},2535:function(e,t,n){"use strict";n.d(t,"b",function(){return D}),n.d(t,"a",function(){return N});var o,i=n(1462),r=n(2104),a=n(1251),s=n(868),l=n(1239),u=n(1125),c=n(1425),d=n(2536),h=this&&this.__extends||(o=function(e,t){return(o=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)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(a=(r<3?i(a):3<r?i(t,n,a):i(t,n))||a);return 3<r&&a&&Object.defineProperty(t,n,a),a},f=this&&this.__param||function(n,o){return function(e,t){o(e,t,n)}},g=(m.prototype.select=function(e,t,n){if(0===n.length)return 0;for(var o=n[0].score,i=1;i<n.length;i++){var r=n[i],a=r.score,s=r.completion;if(a!==o)break;if(s.preselect)return i}return 0},m);function m(){}var b,v=(h(y,b=g),y.prototype.memorize=function(e,t,n){},y.prototype.toJSON=function(){},y.prototype.fromJSON=function(){},y);function y(){return null!==b&&b.apply(this,arguments)||this}var C,A=(h(_,C=g),_.prototype.memorize=function(e,t,n){var o=n.completion.label,i=e.getLanguageIdentifier().language+"/"+o;this._cache.set(i,{touch:this._seq++,type:n.completion.kind,insertText:n.completion.insertText})},_.prototype.select=function(e,t,n){if(0!==e.getWordUntilPosition(t).word.length)return C.prototype.select.call(this,e,t,n);var o=e.getLineContent(t.lineNumber).substr(t.column-10,t.column-1);if(/\s$/.test(o))return C.prototype.select.call(this,e,t,n);for(var i=-1,r=-1,a=0;a<n.length;a++){var s=n[a].completion,l=e.getLanguageIdentifier().language+"/"+s.label,u=this._cache.get(l);u&&u.touch>r&&u.type===s.kind&&u.insertText===s.insertText&&(r=u.touch,i=a)}return-1===i?C.prototype.select.call(this,e,t,n):i},_.prototype.toJSON=function(){var n=[];return this._cache.forEach(function(e,t){n.push([t,e])}),n},_.prototype.fromJSON=function(e){this._cache.clear();for(var t=0,n=e;t<n.length;t++){var o=n[t],i=o[0],r=o[1];r.touch=0,r.type="number"==typeof r.type?r.type:Object(a.x)(r.type),this._cache.set(i,r)}this._seq=this._cache.size},_);function _(){var e=null!==C&&C.apply(this,arguments)||this;return e._cache=new i.a(300,.66),e._seq=0,e}var w,x=(h(S,w=g),S.prototype.memorize=function(e,t,n){var o=e.getWordUntilPosition(t).word,i=e.getLanguageIdentifier().language+"/"+o;this._trie.set(i,{type:n.completion.kind,insertText:n.completion.insertText,touch:this._seq++})},S.prototype.select=function(e,t,n){var o=e.getWordUntilPosition(t).word;if(!o)return w.prototype.select.call(this,e,t,n);var i=e.getLanguageIdentifier().language+"/"+o,r=this._trie.get(i);if(r=r||this._trie.findSubstr(i))for(var a=0;a<n.length;a++){var s=n[a].completion,l=s.kind,u=s.insertText;if(l===r.type&&u===r.insertText)return a}return w.prototype.select.call(this,e,t,n)},S.prototype.toJSON=function(){var n=[];return this._trie.forEach(function(e,t){return n.push([t,e])}),n.sort(function(e,t){return-(e[1].touch-t[1].touch)}).forEach(function(e,t){return e[1].touch=t}),n.slice(0,200)},S.prototype.fromJSON=function(e){if(this._trie.clear(),0<e.length){this._seq=e[0][1].touch+1;for(var t=0,n=e;t<n.length;t++){var o=n[t],i=o[0],r=o[1];r.type="number"==typeof r.type?r.type:Object(a.x)(r.type),this._trie.set(i,r)}}},S);function S(){var e=null!==w&&w.apply(this,arguments)||this;return e._trie=i.c.forStrings(),e._seq=0,e}var L,D=(L=s.a,h(k,L),k.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 x:"recentlyUsed"===e?new A:new v;try{var o=t?0:1,i=this._storageService.get(this._storagePrefix+"/"+this._mode,o);i&&this._strategy.fromJSON(JSON.parse(i))}catch(e){}}},k.prototype.memorize=function(e,t,n){this._strategy.memorize(e,t,n),this._persistSoon.schedule()},k.prototype.select=function(e,t,n){return this._strategy.select(e,t,n)},k.prototype._saveState=function(){var e=JSON.stringify(this._strategy),t=this._shareMem?0:1;this._storageService.store(this._storagePrefix+"/"+this._mode,e,t)},k=p([f(0,r.a),f(1,c.a)],k));function k(e,t){var n=L.call(this)||this;n._storageService=e,n._configService=t,n._storagePrefix="suggest/memories";function o(){var e=n._configService.getValue("editor.suggestSelection"),t=n._configService.getValue("editor.suggest.shareSuggestSelections");n._update(e,t,!1)}return n._persistSoon=n._register(new l.c(function(){return n._saveState()},500)),n._register(e.onWillSaveState(function(){return n._saveState()})),n._register(n._configService.onDidChangeConfiguration(function(e){(e.affectsConfiguration("editor.suggestSelection")||e.affectsConfiguration("editor.suggest.shareSuggestSelections"))&&o()})),n._register(n._storageService.onDidChangeStorage(function(e){0===e.scope&&0===e.key.indexOf(n._storagePrefix)&&(document.hasFocus()||n._update(n._mode,n._shareMem,!0))})),o(),n}var N=Object(u.c)("ISuggestMemories");Object(d.a)(N,D,!0)},2536:function(e,t,n){"use strict";t.a=function(e,t,n){i.push({id:e,descriptor:new o.a(t,[],n)})};var o=n(2097),i=[]},2537:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1125),i=Object(o.c)("openerService");Object.freeze({_serviceBrand:void 0,open:function(){return Promise.resolve(!1)}})},2538:function(e,t,n){"use strict";t.a=function(){return{register:h,getLanguages:p,onLanguage:g,getEncodedLanguageId:f,setLanguageConfiguration:m,setTokensProvider:_,setMonarchTokensProvider:w,registerReferenceProvider:x,registerRenameProvider:S,registerCompletionItemProvider:W,registerSignatureHelpProvider:L,registerHoverProvider:D,registerDocumentSymbolProvider:k,registerDocumentHighlightProvider:N,registerDefinitionProvider:I,registerImplementationProvider:O,registerTypeDefinitionProvider:E,registerCodeLensProvider:M,registerCodeActionProvider:B,registerDocumentFormattingEditProvider:T,registerDocumentRangeFormattingEditProvider:P,registerOnTypeFormattingEditProvider:j,registerLinkProvider:R,registerColorProvider:z,registerFoldingRangeProvider:F,DocumentHighlightKind:r.g,CompletionItemKind:r.b,CompletionItemInsertTextRule:r.a,SymbolKind:r.w,IndentAction:r.j,CompletionTriggerKind:r.c,SignatureHelpTriggerKind:r.v,FoldingRangeKind:s.k}};var a=n(988),u=n(1666),s=n(1251),o=n(1495),i=n(1793),r=n(1772),l=n(2094),c=n(2539),d=n(2067);function h(e){i.a.registerLanguage(e)}function p(){var e=[];return e=e.concat(i.a.getLanguages())}function f(e){var t=l.b.modeService.get().getLanguageIdentifier(e);return t?t.id:0}function g(t,n){var o=l.b.modeService.get().onDidCreateMode(function(e){e.getId()===t&&(o.dispose(),n())});return o}function m(e,t){var n=l.b.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set configuration for unknown language "+e);return o.a.register(n,t)}var b=(v.prototype.getInitialState=function(){return this._actual.getInitialState()},v.prototype.tokenize=function(e,t,n){throw new Error("Not supported!")},v.prototype.tokenize2=function(e,t){var n=this._actual.tokenizeEncoded(e,t);return new u.c(n.tokens,n.endState)},v);function v(e){this._actual=e}var y=(C.prototype.getInitialState=function(){return this._actual.getInitialState()},C.prototype._toClassicTokens=function(e,t,n){for(var o=[],i=0,r=0,a=e.length;r<a;r++){var s=e[r],l=s.startIndex;0===r?l=0:l<i&&(l=i),o[r]=new u.a(l+n,s.scopes,t),i=l}return o},C.prototype.tokenize=function(e,t,n){var o,i=this._actual.tokenize(e,t),r=this._toClassicTokens(i.tokens,this._languageIdentifier.language,n);return o=i.endState.equals(t)?t:i.endState,new u.b(r,o)},C.prototype._toBinaryTokens=function(e,t){for(var n=this._languageIdentifier.id,o=this._standaloneThemeService.getTheme().tokenTheme,i=[],r=0,a=0,s=0,l=e.length;s<l;s++){var u=e[s],c=o.match(n,u.scopes);if(!(0<r&&i[r-1]===c)){var d=u.startIndex;0===s?d=0:d<a&&(d=a),i[r++]=d+t,i[r++]=c,a=d}}var h=new Uint32Array(r);for(s=0;s<r;s++)h[s]=i[s];return h},C.prototype.tokenize2=function(e,t,n){var o,i=this._actual.tokenize(e,t),r=this._toBinaryTokens(i.tokens,n);return o=i.endState.equals(t)?t:i.endState,new u.c(r,o)},C);function C(e,t,n){this._standaloneThemeService=e,this._languageIdentifier=t,this._actual=n}function A(e){return"function"==typeof e.then}function _(e,t){var n=l.b.modeService.get().getLanguageIdentifier(e);if(!n)throw new Error("Cannot set tokens provider for unknown language "+e);function o(e){return e.tokenizeEncoded?new b(e):new y(l.b.standaloneThemeService.get(),n,e)}return A(t)?s.v.registerPromise(e,t.then(function(e){return o(e)})):s.v.register(e,o(t))}function w(t,e){function n(e){return Object(d.b)(l.b.modeService.get(),l.b.standaloneThemeService.get(),t,Object(c.a)(t,e))}return A(e)?s.v.registerPromise(t,e.then(function(e){return n(e)})):s.v.register(t,n(e))}function x(e,t){return s.r.register(e,t)}function S(e,t){return s.s.register(e,t)}function L(e,t){return s.t.register(e,t)}function D(e,i){return s.m.register(e,{provideHover:function(e,t,n){var o=e.getWordAtPosition(t);return Promise.resolve(i.provideHover(e,t,n)).then(function(e){if(e)return!e.range&&o&&(e.range=new a.a(t.lineNumber,o.startColumn,t.lineNumber,o.endColumn)),e.range||(e.range=new a.a(t.lineNumber,t.column,t.lineNumber,t.column)),e})}})}function k(e,t){return s.j.register(e,t)}function N(e,t){return s.h.register(e,t)}function I(e,t){return s.f.register(e,t)}function O(e,t){return s.n.register(e,t)}function E(e,t){return s.w.register(e,t)}function M(e,t){return s.b.register(e,t)}function B(e,r){return s.a.register(e,{provideCodeActions:function(e,t,n,o){var i=l.b.markerService.get().read({resource:e.uri}).filter(function(e){return a.a.areIntersectingOrTouching(e,t)});return r.provideCodeActions(e,t,{markers:i,only:n.only},o)}})}function T(e,t){return s.g.register(e,t)}function P(e,t){return s.i.register(e,t)}function j(e,t){return s.q.register(e,t)}function R(e,t){return s.p.register(e,t)}function W(e,t){return s.d.register(e,t)}function z(e,t){return s.c.register(e,t)}function F(e,t){return s.l.register(e,t)}},2539:function(e,t,n){"use strict";t.a=function(e,l){if(!l||"object"!=typeof l)throw new Error("Monarch: expecting a language definition object");var u={};u.languageId=e,u.noThrow=!1,u.maxStack=100,u.start="string"==typeof l.start?l.start:null,u.ignoreCase=h(l.ignoreCase,!1),u.tokenPostfix=a(l.tokenPostfix,"."+u.languageId),u.defaultToken=a(l.defaultToken,"source"),u.usesEmbedded=!1;var c=l;function d(e,t,n){for(var o in n)if(n.hasOwnProperty(o)){var i=n[o],r=i.include;if(r){if("string"!=typeof r)throw b.a(u,"an 'include' attribute must be a string at: "+e);if("@"===r[0]&&(r=r.substr(1)),!l.tokenizer[r])throw b.a(u,"include target '"+r+"' is not defined at: "+e);d(e+"."+r,t,l.tokenizer[r])}else{var a=new f(e);if(Array.isArray(i)&&1<=i.length&&i.length<=3)if(a.setRegex(c,i[0]),3<=i.length)if("string"==typeof i[1])a.setAction(c,{token:i[1],next:i[2]});else{if("object"!=typeof i[1])throw b.a(u,"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 s=i[1];s.next=i[2],a.setAction(c,s)}else a.setAction(c,i[1]);else{if(!i.regex)throw b.a(u,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+e);i.name&&"string"==typeof i.name&&(a.name=i.name),i.matchOnlyAtStart&&(a.matchOnlyAtLineStart=h(i.matchOnlyAtLineStart,!1)),a.setRegex(c,i.regex),a.setAction(c,i.action)}t.push(a)}}}if(c.languageId=e,c.ignoreCase=u.ignoreCase,c.noThrow=u.noThrow,c.usesEmbedded=u.usesEmbedded,c.stateNames=l.tokenizer,c.defaultToken=u.defaultToken,!l.tokenizer||"object"!=typeof l.tokenizer)throw b.a(u,"a language definition must define the 'tokenizer' attribute as an object");for(var t in u.tokenizer=[],l.tokenizer)if(l.tokenizer.hasOwnProperty(t)){u.start||(u.start=t);var n=l.tokenizer[t];u.tokenizer[t]=new Array,d("tokenizer."+t,u.tokenizer[t],n)}if(u.usesEmbedded=c.usesEmbedded,l.brackets){if(!Array.isArray(l.brackets))throw b.a(u,"the 'brackets' attribute must be defined as an array")}else l.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];var o=[];for(var i in l.brackets)if(l.brackets.hasOwnProperty(i)){var r=l.brackets[i];if(r&&Array.isArray(r)&&3===r.length&&(r={token:r[2],open:r[0],close:r[1]}),r.open===r.close)throw b.a(u,"open and close brackets in a 'brackets' attribute must be different: "+r.open+"\n hint: use the 'bracket' attribute if matching on equal brackets is required.");if("string"!=typeof r.open||"string"!=typeof r.token||"string"!=typeof r.close)throw b.a(u,"every element in the 'brackets' array must be a '{open,close,token}' object or array");o.push({token:r.token+u.tokenPostfix,open:b.d(u,r.open),close:b.d(u,r.close)})}return u.brackets=o,u.noThrow=!0,u};var m=n(1423),b=n(2068);function h(e,t){return"boolean"==typeof e?e:t}function a(e,t){return"string"==typeof e?e:t}function v(o,i){for(var e=0;0<=i.indexOf("@")&&e<5;)e++,i=i.replace(/@(\w+)/g,function(e,t){var n="";if("string"==typeof o[t])n=o[t];else{if(!(o[t]&&o[t]instanceof RegExp))throw void 0===o[t]?b.a(o,"language definition does not contain attribute '"+t+"', used at: "+i):b.a(o,"attribute reference '"+t+"' must be a string, used at: "+i);n=o[t].source}return b.b(n)?"":"(?:"+n+")"});return new RegExp(i,o.ignoreCase?"i":"")}function p(a,e,t,n){var r=-1,o=t,i=t.match(/^\$(([sS]?)(\d\d?)|#)(.*)$/);i&&(i[3]&&(r=parseInt(i[3]),i[2]&&(r+=100)),o=i[4]);var s,l="~",u=o;if(o&&0!==o.length?/^\w*$/.test(u)?l="==":(i=o.match(/^(@|!@|~|!~|==|!=)(.*)$/))&&(l=i[1],u=i[2]):(l="!=",u=""),"~"!==l&&"!~"!==l||!/^(\w|\|)*$/.test(u))if("@"===l||"!@"===l){var c=a[u];if(!c)throw b.a(a,"the @ match target '"+u+"' is not defined, in rule: "+e);if(!function(e,t){if(!t)return!1;if(!Array.isArray(t))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e(t[n]))return!1;return!0}(function(e){return"string"==typeof e},c))throw b.a(a,"the @ match target '"+u+"' must be an array of strings, in rule: "+e);var d=m.a(c,a.ignoreCase);s=function(e){return"@"===l?d(e):!d(e)}}else if("~"===l||"!~"===l)if(u.indexOf("$")<0){var h=v(a,"^"+u+"$");s=function(e){return"~"===l?h.test(e):!h.test(e)}}else s=function(e,t,n,o){return v(a,"^"+b.k(a,u,t,n,o)+"$").test(e)};else if(u.indexOf("$")<0){var p=b.d(a,u);s=function(e){return"=="===l?e===p:e!==p}}else{var f=b.d(a,u);s=function(e,t,n,o,i){var r=b.k(a,f,t,n,o);return"=="===l?e===r:e!==r}}else{var g=m.a(u.split("|"),a.ignoreCase);s=function(e){return"~"===l?g(e):!g(e)}}return-1===r?{name:t,value:n,test:function(e,t,n,o){return s(e,e,t,n,o)}}:{name:t,value:n,test:function(e,t,n,o){var i=function(e,t,n,o){if(o<0)return e;if(o<t.length)return t[o];if(100<=o){o-=100;var i=n.split(".");if(i.unshift(n),o<i.length)return i[o]}return null}(e,t,n,r);return s(i||"",e,t,n,o)}}}var f=(o.prototype.setRegex=function(e,t){var n;if("string"==typeof t)n=t;else{if(!(t instanceof RegExp))throw b.a(e,"rules must start with a match string or regular expression: "+this.name);n=t.source}this.matchOnlyAtLineStart=0<n.length&&"^"===n[0],this.name=this.name+": "+n,this.regex=v(e,"^(?:"+(this.matchOnlyAtLineStart?n.substr(1):n)+")")},o.prototype.setAction=function(e,t){this.action=function e(t,n,o){if(o){if("string"==typeof o)return o;if(o.token||""===o.token){if("string"!=typeof o.token)throw b.a(t,"a 'token' attribute must be of type string, in rule: "+n);var i={token:o.token};if(0<=o.token.indexOf("$")&&(i.tokenSubst=!0),"string"==typeof o.bracket)if("@open"===o.bracket)i.bracket=1;else{if("@close"!==o.bracket)throw b.a(t,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+n);i.bracket=-1}if(o.next){if("string"!=typeof o.next)throw b.a(t,"the next state must be a string value in rule: "+n);var r=o.next;if(!/^(@pop|@push|@popall)$/.test(r)&&("@"===r[0]&&(r=r.substr(1)),r.indexOf("$")<0&&!b.j(t,b.k(t,r,"",[],""))))throw b.a(t,"the next state '"+o.next+"' is not defined in rule: "+n);i.next=r}return"number"==typeof o.goBack&&(i.goBack=o.goBack),"string"==typeof o.switchTo&&(i.switchTo=o.switchTo),"string"==typeof o.log&&(i.log=o.log),"string"==typeof o.nextEmbedded&&(i.nextEmbedded=o.nextEmbedded,t.usesEmbedded=!0),i}if(Array.isArray(o)){var a=[];for(var s in o)o.hasOwnProperty(s)&&(a[s]=e(t,n,o[s]));return{group:a}}if(o.cases){var l=[];for(var u in o.cases)if(o.cases.hasOwnProperty(u)){var c=e(t,n,o.cases[u]);"@default"===u||"@"===u||""===u?l.push({test:void 0,value:c,name:u}):"@eos"===u?l.push({test:function(e,t,n,o){return o},value:c,name:u}):l.push(p(t,n,u,c))}var d=t.defaultToken;return{test:function(e,t,n,o){for(var i in l)if(l.hasOwnProperty(i)){var r=l[i];if(!r.test||r.test(e,t,n,o))return r.value}return d}}}throw b.a(t,"an action must be a string, an object with a 'token' or 'cases' attribute, or an array of actions; in rule: "+n)}return{token:""}}(e,this.name,t)},o);function o(e){this.regex=new RegExp(""),this.action={token:""},this.matchOnlyAtLineStart=!1,this.name="",this.name=e}},2540:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processSize=function(e){return/^\d+$/.test(e)?e+"px":e}},2541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e};function i(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var r=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}}(n(2054)),a=u(n(0)),s=u(n(1)),l=n(2105);function u(e){return e&&e.__esModule?e:{default:e}}function c(){}var d=(function(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)}(h,a.default.Component),o(h,[{key:"componentDidMount",value:function(){this.initMonaco()}},{key:"componentDidUpdate",value:function(e){if(this.props.value===this.__current_value&&this.props.original===this.__current_original||(this.__current_value=this.props.value,this.__current_original=this.props.original,this.editor&&(this.__prevent_trigger_change_event=!0,this.updateModel(this.__current_value,this.__current_original),this.__prevent_trigger_change_event=!1)),e.language!==this.props.language){var t=this.editor.getModel(),n=t.original,o=t.modified;r.editor.setModelLanguage(n,this.props.language),r.editor.setModelLanguage(o,this.props.language)}e.theme!==this.props.theme&&r.editor.setTheme(this.props.theme),!this.editor||this.props.width===e.width&&this.props.height===e.height||this.editor.layout(),e.options!==this.props.options&&this.editor.updateOptions(this.props.options)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(r)||{}}},{key:"editorDidMount",value:function(t){var n=this;this.props.editorDidMount(t,r),t.onDidUpdateDiff(function(){var e=t.getModel().modified.getValue();n.__current_value=e,n.__prevent_trigger_change_event||n.props.onChange(e)})}},{key:"updateModel",value:function(e,t){var n=this.props.language,o=r.editor.createModel(t,n),i=r.editor.createModel(e,n);this.editor.setModel({original:o,modified:i})}},{key:"initMonaco",value:function(){var e=null!==this.props.value?this.props.value:this.props.defaultValue,t=this.props,n=t.original,o=t.theme,i=t.options;this.containerElement&&(this.editorWillMount(),this.editor=r.editor.createDiffEditor(this.containerElement,i),o&&r.editor.setTheme(o),this.updateModel(e,n),this.editorDidMount(this.editor))}},{key:"destroyMonaco",value:function(){void 0!==this.editor&&this.editor.dispose()}},{key:"render",value:function(){var e=this.props,t=e.width,n=e.height,o={width:(0,l.processSize)(t),height:(0,l.processSize)(n)};return a.default.createElement("div",{ref:this.assignRef,style:o,className:"react-monaco-editor-container"})}}]),h);function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var t=function(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}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return t.assignRef=function(e){t.containerElement=e},t.containerElement=void 0,t.__current_value=e.value,t.__current_original=e.original,t}d.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),height:s.default.oneOfType([s.default.string,s.default.number]),original:s.default.string,value:s.default.string,defaultValue:s.default.string,language:s.default.string,theme:s.default.string,options:s.default.object,editorDidMount:s.default.func,editorWillMount:s.default.func,onChange:s.default.func},d.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},editorDidMount:c,editorWillMount:c,onChange:c},t.default=d},3827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(69),i=(n.n(o),n(70)),r=n.n(i),a=n(0),s=n.n(a),l=n(5),u=(n(45),n(12)),c=n.n(u),d=n(3828),h=n(294),p=(n.n(h),n(1148)),f=(n.n(p),n(293)),g=(n.n(f),n(1299)),m=(n.n(g),function(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e});function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var v=(function(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)}(y,a.Component),m(y,[{key:"componentDidMount",value:function(){var t=this;this.setState({spinning:!0});var e=this.props.match.params.homeworkid,n=this.props.match.params.userid,o="/homework_commons/"+e+"/code_review_detail.json";c.a.get(o,{params:{user_id:n}}).then(function(e){200===e.status&&(403===e.data.status||401===e.data.status||407===e.data.status||408===e.data.status||409===e.data.status||500===e.data.status||t.setState({data:e.data,spinning:!1}))}).catch(function(e){console.log(e)});var i=this.props.location.pathname.split("/");this.setState({shixuntypes:i[3]})}},{key:"render",value:function(){var e=this,t=this.state.data;return document.title=t&&t.course_name,s.a.createElement(r.a,{size:"large",spinning:this.state.spinning,style:{marginTop:"13%"}},s.a.createElement("div",{className:"newMain clearfix "},void 0===t?"":s.a.createElement("div",{className:"educontent mb20"},s.a.createElement("div",{className:"educontent"},s.a.createElement("p",{className:"clearfix mt20"},s.a.createElement("a",{className:"fl color-grey-9 btn colorgrey hovercolorblue",href:"/courses/"+(t&&t.course_id)+"/shixun_homeworks/"+(t&&t.homework_common_id)},s.a.createElement("a",{className:"color-grey-9"},t&&t.course_name)),s.a.createElement("span",{className:"color-grey-9 fl ml3 mr3"},">"),s.a.createElement("a",{className:"btn colorgrey fl hovercolorblue grey",href:"/courses/"+(t&&t.course_id)+"/shixun_homeworks/"+(t&&t.homework_common_id)+"/list?tab=0"},s.a.createElement("span",{className:"color-grey-9"},"实训作业")),s.a.createElement("span",{className:"color-grey-9 fl ml3 mr3"},">"),s.a.createElement(l.A,{className:"fl"},t&&t.username))),s.a.createElement("div",{className:"padding10-30 clearfix",style:{padding:"10px 2px"}},s.a.createElement("span",{className:"fl font-18"},t&&t.homework_common_name),s.a.createElement("a",{className:"fr color-grey-9 mt4",onClick:this.goback},"返回")),s.a.createElement("div",{className:"padding10-30 edu-back-white clearfix",style:{padding:"10px 13px"}},s.a.createElement("span",{className:"fl color-orange font-14"},"非编程类型任务,不参与查重"),s.a.createElement("span",{className:"fr mt4"},s.a.createElement("span",{className:"color656565"},"被查作品:"),s.a.createElement("span",{className:"mr50"},s.a.createElement("span",{className:"color-orange"},t&&t.username)),t&&null===t.eff_score||t&&void 0===t.eff_score||t&&null===t.eff_score_full||t&&void 0===t.eff_score_full?"":s.a.createElement("span",{className:"mr50"},"效率分:",s.a.createElement("span",{className:"color-orange"},t&&t.eff_score),"/",t&&t.eff_score_full),s.a.createElement("span",{className:""},"最终成绩:",s.a.createElement("span",{className:"color-orange"},t&&t.final_score),"分"))),s.a.createElement("div",{className:"stud-class-set bor-bottom-greyE"},s.a.createElement("div",{className:"clearfix edu-back-white poll_list"},s.a.createElement(d.a,Object.assign({},this.props,this.state,{updatas:function(){return e.updatas()},data:t})))))))}}]),y);function y(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var o=function(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}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,e));return o.updatas=function(){o.setState({spinning:!0});var e=o.props.match.params.homeworkid,t=o.props.match.params.userid,n="/homework_commons/"+e+"/code_review_detail.json";c.a.get(n,{params:{user_id:t}}).then(function(e){200===e.status&&(403===e.data.status||401===e.data.status||407===e.data.status||408===e.data.status||409===e.data.status||500===e.data.status||o.setState({data:e.data,spinning:!1}))}).catch(function(e){console.log(e)})},o.goback=function(e){o.props.history.replace("/courses/"+o.props.match.params.coursesId+"/shixun_homeworks/"+o.props.match.params.homeworkid+"/list?tab=2")},o.state={data:void 0,spinning:!0},o}t.default=v},3828:function(e,t,n){"use strict";var o=n(1143),i=(n.n(o),n(1144)),a=n.n(i),r=n(990),s=(n.n(r),n(991)),l=n.n(s),u=n(0),c=n.n(u),d=(n(5),n(45),n(84)),h=n.n(d),p=n(2335),f=(n.n(p),n(12)),g=n.n(f),m=function(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e};function b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var v=(function(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)}(y,u.Component),m(y,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=this,e=this.props.data,o=this.state.customsids,i=[];e&&e.challenge_list.forEach(function(e,t){i.push({customs:{position:e.position,subject:e.subject},taskname:{name:e.username},openingtime:null===e.end_time?"无":void 0===e.end_time?"无":""===e.end_time?"无":h()(e.end_time).format("YYYY-MM-DD HH:mm:ss"),evaluating:{final_score:e.final_score,all_score:e.all_score},finishtime:e.copy_username,elapsedtime:null===e.copy_end_time?"无":void 0===e.copy_end_time?"无":""===e.copy_end_time?"无":h()(e.copy_end_time).format("YYYY-MM-DD HH:mm:ss"),empvalue:e.code_rate,challenge_id:{id:e.id},copy_user_id:e.copy_user_id})});var r=[{title:"关卡",dataIndex:"customs",key:"customs",className:"customsPass",render:function(e,t){return c.a.createElement("span",null,c.a.createElement("style",null,"\n\t .backgroud4CACFF{\n\t background: #4CACFF;\n\t }\n\t .fontpass{\n\t overflow: hidden;\n\t\t\t\t\t\t\t\ttext-overflow: ellipsis;\n\t\t\t\t\t\t\t\twhite-space: nowrap;\n\t\t\t\t\t\t\t\twidth: 346px;\n\t }\n\t "),c.a.createElement("span",{className:"panel-inner-icon mr15 fl mt3 backgroud4CACFF"},c.a.createElement("i",{className:"fa fa-code font-16 color_white"})),c.a.createElement("span",{className:"fl mt3 font-14 fontpass"},c.a.createElement("span",{className:"font-bd mr15"},"第",t.customs.position,"关"),c.a.createElement("span",{className:"font-14",title:t.customs.subject},t.customs.subject)))}},{title:"被查作品",dataIndex:"taskname",key:"taskname",render:function(e,t){return c.a.createElement("span",{className:"colorC8161D"},t.taskname.name)}},{title:"被查作品完成时间",dataIndex:"openingtime",key:"openingtime",render:function(e,t){return c.a.createElement("span",{className:"color-grey-9"},t.openingtime)}},{title:"得分/满分",key:"evaluating",dataIndex:"evaluating",render:function(e,t){return c.a.createElement("span",{className:"color-grey-9"},c.a.createElement("span",{style:{color:"#FF6800"}},t.evaluating.final_score),c.a.createElement("span",{className:"color-grey-9"},"/",t.evaluating.all_score))}},{title:"疑被抄袭作品",key:"finishtime",dataIndex:"finishtime",render:function(e,t){return c.a.createElement("span",{className:"color-green"},t.finishtime)}},{title:"疑被抄袭作品完成时间",key:"elapsedtime",dataIndex:"elapsedtime",render:function(e,t){return c.a.createElement("span",{className:"color-grey-9"},t.elapsedtime)}},{title:"调分",key:"adjustmentminute",dataIndex:"adjustmentminute",render:function(e,t){return c.a.createElement("span",null,c.a.createElement("a",null,null===t.copy_user_id?"":c.a.createElement(l.a,{size:"small",className:o===t.challenge_id.id?"bor-red":"",defaultValue:t.evaluating.final_score,onBlur:function(e){return n.editgame_scores(e,t.challenge_id.id,t.evaluating.all_score,t.empvalue,t.copy_user_id)}})))}},{title:"相似度",key:"empvalue",dataIndex:"empvalue",render:function(e,t){return c.a.createElement("span",{className:"colorC8161D"},t.empvalue,"%")}}];return!1===this.props.isAdmin()&&r.some(function(e,t){if("调分"===e.title)return r.splice(t,1),!0}),c.a.createElement("div",null,c.a.createElement("style",null,"\n\t\t\t\t.ant-table-thead > tr > th{\n\t\t\t\t text-align: center;\n\t\t\t\t\t}\n\t\t\t\t.tasknamebox{\n\t\t\t width: 50px;\n\t\t\t height: 24px;\n\t\t\t border: 1px solid rgba(221,23,23,1);\n\t\t\t border-radius: 12px;\n\t\t\t color: rgba(221,23,23,1);\n\t\t\t display: inline-block;\n\t\t\t\t\tline-height: 24px;\n\t\t\t\t\ttext-align: center;\n\t\t\t\t\t}\n\t\t\t\t .ant-table-tbody > tr > td{\n font-size:14px;\n\t\t\t\t\t}\n\t\t\t\t\t.task-hide{\n\t\t\t\t\t max-width: 345px;\n\t\t\t\t\t overflow: hidden;\n\t\t\t\t\t white-space: nowrap;\n\t\t\t\t\t text-overflow: ellipsis;\n\t\t\t\t\t}\n\t\t\t\t\t.ant-table-tbody > tr{\n\t\t\t\t\t height:64px;\n\t\t\t\t\t}\n\t\t\t\t\t.colorC8161D{\n\t\t\t\t\t color:#C8161D;\n\t\t\t\t\t}\n\t\t\t\t .ant-table-tbody> tr > td{\n\t\t\t\t text-align: center;\n\t\t\t\t\t}\n\t\t\t\t\t.customsPass{\n text-align: left !important;\n\t\t\t\t\t}\n\t\t\t\t\t.ant-table-thead > tr > th, .ant-table-tbody > tr > td {\n\t\t\t\t\t\t\tpadding: 16px 12px;\n\t\t\t\t\t}\n\t\t\t"),void 0===i?"":c.a.createElement(a.a,{dataSource:i,columns:r,pagination:!1}),c.a.createElement("div",{className:"stud-class-set bor-bottom-greyE mt20"},c.a.createElement("div",{className:"clearfix edu-back-white poll_list pad40px"},c.a.createElement("div",{className:"font-16 color-dark-21 shixunreporttitle mb20"},"实训详情"),c.a.createElement("style",null,"\n\t .poll_list a{\n\t padding:0px !important;\n\t }\n\t .backgroud4CACFF{\n\t background: #4CACFF;\n\t }\n\t "),e&&e.challenge_list.map(function(n,e){return c.a.createElement("div",{key:e,className:"mb20"},c.a.createElement("div",{className:"font-16 color-dark-21 ml20 mr20"},c.a.createElement("p",{className:"clearfix mb20"},c.a.createElement("span",{className:"panel-inner-icon mr15 fl mt3 backgroud4CACFF"},c.a.createElement("i",{className:"fa fa-code font-16 color_white"})),c.a.createElement("span",{className:"fl mt3 font-14"},c.a.createElement("span",{className:"font-bd mr15"},"第",n.position,"关"),c.a.createElement("a",null,c.a.createElement("span",{className:"font-14"},n.subject))),c.a.createElement("span",{className:"fr codeboxright"},"代码文件:",0===n.code_list.length?"无":void 0===n.code_list[0].path?"无":n.code_list[0].path))),0===n.code_list.length?"":n.code_list.map(function(e,t){return c.a.createElement("div",{className:"font-16 color-dark-21 ml20 mr20",key:t},c.a.createElement("div",{className:" mt15"},c.a.createElement("p",{className:"clearfix pt5 pb5 codebox"},c.a.createElement("span",{className:"fl"},c.a.createElement("span",{className:"colorC8161D"},n.username),"的代码文件"),c.a.createElement("span",{className:"fr"},c.a.createElement("span",{className:"color-green"},n.copy_username),"的代码文件")),c.a.createElement("style",null,"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.borderccc{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t border:1px solid #ccc\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"),c.a.createElement("div",{className:"test-code mt20 borderccc"},c.a.createElement("li",{className:"clearfix"},c.a.createElement(p.MonacoDiffEditor,{height:"500",original:e.origin_content,value:e.target_content})))))}))}))))}}]),y);function y(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var s=function(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}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,e));return s.editgame_scores=function(e,t,n,o,i){s.state.datas;var r=e.target.value;if(null!=r&&null!=r&&""!=r)if(r<0)s.props.showNotification("不能小于0"),s.setState({customsids:t});else if(n<r)s.props.showNotification("不能大于关卡分值"+n),s.setState({customsids:t});else{var a="/student_works/"+s.props.data.work_id+"/adjust_review_score.json";g.a.post(a,{type:"review",score:r,challenge_id:t,code_rate:o,copy_user_id:i}).then(function(e){0===e.data.status&&s.props.updatas(),s.props.showNotification(e.data.message)}).catch(function(e){})}else s.props.showNotification("调分为空将不会修改之前的分数")},s.state={loadingstate:!0,datas:void 0},s}t.a=v},767:function(e,t){var n=Array.isArray;e.exports=n},769:function(e,t,n){var o=n(814),i=n(817);e.exports=function(e,t){var n=i(e,t);return o(n)?n:void 0}},770:function(e,t,n){var o=n(773);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},771:function(e,t,n){var o=n(769)(Object,"create");e.exports=o},772:function(e,t,n){var o=n(826);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},773:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},774:function(e,t,n){var o=n(289);e.exports=function(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},775:function(e,t,n){var o=n(809),i=n(810),r=n(811),a=n(812),s=n(813);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},777:function(e,t){var o=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&o.test(e))&&-1<e&&e%1==0&&e<t}},778:function(e,t,n){var o=n(767),i=n(785),r=n(831),a=n(834);e.exports=function(e,t){return o(e)?e:i(e,t)?[e]:r(a(e))}},781:function(e,t){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},782:function(e,t,n){var o=n(769)(n(159),"Map");e.exports=o},783:function(e,t,n){var o=n(818),i=n(825),r=n(827),a=n(828),s=n(829);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},784:function(e,t,n){var o=n(288),i=n(160);e.exports=function(e){if(!i(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},785:function(e,t,n){var o=n(767),i=n(289),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!r.test(e)||null!=t&&e in Object(t))}},786:function(e,t,n){"use strict";t.a={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40}},787:function(e,t,n){var o=n(830),i=n(285),r=Object.prototype,a=r.hasOwnProperty,s=r.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},788:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((o=n(286))&&o.__esModule?o:{default:o}).default)({inlineCollapsed:!1});t.default=i},791:function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},792:function(e,t,n){var i=n(793);e.exports=function(e,t,n){var o=null==e?void 0:i(e,t);return void 0===o?n:o}},793:function(e,t,n){var i=n(778),r=n(774);e.exports=function(e,t){for(var n=0,o=(t=i(t,e)).length;null!=e&&n<o;)e=e[r(t[n++])];return n&&n==o?e:void 0}},794:function(e,t,n){var o=n(805);e.exports=function(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},796:function(e,t,n){"use strict";var s,l;n.d(t,"a",function(){return o}),t.d=function(e){var t=e.direction,n=void 0===t?"vertical":t,o=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var i="vertical"===n;if(i&&s)return s;if(!i&&l)return l;var r=document.createElement("div");Object.keys(u).forEach(function(e){r.style[e]=u[e]}),r.className="".concat(o,"-hide-scrollbar scroll-div-append-to-body"),i?r.style.overflowY="scroll":r.style.overflowX="scroll";document.body.appendChild(r);var a=0;i?(a=r.offsetWidth-r.clientWidth,s=a):(a=r.offsetHeight-r.clientHeight,l=a);return document.body.removeChild(r),a},t.b=function(r,a,s){var l;function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=this;t[0]&&t[0].persist&&t[0].persist();var i=s&&!l;clearTimeout(l),l=setTimeout(function(){l=null,s||r.apply(o,t)},a),i&&r.apply(o,t)}return e.cancel=function(){l&&(clearTimeout(l),l=null)},e},t.e=function(e,t){var n=e.indexOf(t),o=e.slice(0,n),i=e.slice(n+1,e.length);return o.concat(i)},t.c=function(n){return Object.keys(n).reduce(function(e,t){return"data-"!==t.substr(0,5)&&"aria-"!==t.substr(0,5)||(e[t]=n[t]),e},{})};var u={position:"absolute",top:"-9999px",width:"50px",height:"50px"},o="RC_TABLE_INTERNAL_COL_DEFINE"},797:function(e,t,n){"use strict";n(27),n(850),n(287)},798:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((o=n(855))&&o.__esModule?o:{default:o}).default;t.default=i},799:function(e,s,l){(function(e){var t=l(159),n=l(897),o="object"==typeof s&&s&&!s.nodeType&&s,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,r=i&&i.exports===o?t.Buffer:void 0,a=(r?r.isBuffer:void 0)||n;e.exports=a}).call(s,l(292)(e))},800:function(e,t,n){var o=n(898),i=n(899),r=n(900),a=r&&r.isTypedArray,s=a?i(a):o;e.exports=s},801:function(e,t,n){var o=n(784),i=n(781);e.exports=function(e){return null!=e&&i(e.length)&&!o(e)}},802:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(846);n.d(t,"default",function(){return o.a})},805:function(e,t,n){var o=n(769),i=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},806:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SiderContext=void 0;var o=l(n(286)),S=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),i=n(7),L=l(n(3)),D=l(n(43)),r=n(925),a=n(10),k=l(n(26)),N=l(n(926));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}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})(e)}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}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}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 o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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})(e,t)}var E=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},v=(0,o.default)({});t.SiderContext=v;var y,C=(y=0,function(){return y+=1,"".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"").concat(y)}),A=function(){function o(e){var x,t,n;return c(this,o),(x=p(this,f(o).call(this,e))).responsiveHandler=function(e){x.setState({below:e.matches});var t=x.props.onBreakpoint;t&&t(e.matches),x.state.collapsed!==e.matches&&x.setCollapsed(e.matches,"responsive")},x.setCollapsed=function(e,t){"collapsed"in x.props||x.setState({collapsed:e});var n=x.props.onCollapse;n&&n(e,t)},x.toggle=function(){var e=!x.state.collapsed;x.setCollapsed(e,"clickTrigger")},x.belowShowChange=function(){x.setState(function(e){return{belowShow:!e.belowShow}})},x.renderSider=function(e){var t,n=e.getPrefixCls,o=x.props,i=o.prefixCls,r=o.className,a=o.theme,s=o.collapsible,l=o.reverseArrow,u=o.trigger,c=o.style,d=o.width,h=o.collapsedWidth,p=o.zeroWidthTriggerStyle,f=E(o,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",i),m=(0,D.default)(f,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),b=x.state.collapsed?h:d,v=(0,N.default)(b)?"".concat(b,"px"):String(b),y=0===parseFloat(String(h||0))?S.createElement("span",{onClick:x.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(l?"right":"left"),style:p},S.createElement(k.default,{type:"bars"})):null,C={expanded:l?S.createElement(k.default,{type:"right"}):S.createElement(k.default,{type:"left"}),collapsed:l?S.createElement(k.default,{type:"left"}):S.createElement(k.default,{type:"right"})}[x.state.collapsed?"collapsed":"expanded"],A=null!==u?y||S.createElement("div",{className:"".concat(g,"-trigger"),onClick:x.toggle,style:{width:v}},u||C):null,_=O(O({},c),{flex:"0 0 ".concat(v),maxWidth:v,minWidth:v,width:v}),w=(0,L.default)(r,g,"".concat(g,"-").concat(a),(I(t={},"".concat(g,"-collapsed"),!!x.state.collapsed),I(t,"".concat(g,"-has-trigger"),s&&null!==u&&!y),I(t,"".concat(g,"-below"),!!x.state.below),I(t,"".concat(g,"-zero-width"),0===parseFloat(v)),t));return S.createElement("aside",O({className:w},m,{style:_}),S.createElement("div",{className:"".concat(g,"-children")},x.props.children),s||x.state.below&&y?A:null)},x.uniqueId=C("ant-sider-"),"undefined"!=typeof window&&(t=window.matchMedia),t&&e.breakpoint&&e.breakpoint in b&&(x.mql=t("(max-width: ".concat(b[e.breakpoint],")"))),n="collapsed"in e?e.collapsed:e.defaultCollapsed,x.state={collapsed:n,below:!1},x}return g(o,S.Component),h(o,[{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 S.createElement(v.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},S.createElement(a.ConfigConsumer,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),o}();A.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},(0,i.polyfill)(A);var _=function(){function e(){return c(this,e),p(this,f(e).apply(this,arguments))}return g(e,S.Component),h(e,[{key:"render",value:function(){var t=this;return S.createElement(r.LayoutContext.Consumer,null,function(e){return S.createElement(A,O({},e,t.props))})}}]),e}();t.default=_},807:function(e,t,n){var o=n(775),i=n(892),r=n(893),a=n(894),s=n(895),l=n(896);function u(e){var t=this.__data__=new o(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=r,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},809:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},810:function(e,t,n){var o=n(770),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},811:function(e,t,n){var o=n(770);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},812:function(e,t,n){var o=n(770);e.exports=function(e){return-1<o(this.__data__,e)}},813:function(e,t,n){var i=n(770);e.exports=function(e,t){var n=this.__data__,o=i(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},814:function(e,t,n){var o=n(784),i=n(815),r=n(160),a=n(791),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!r(e)||i(e))&&(o(e)?h:s).test(a(e))}},815:function(e,t,n){var o,i=n(816),r=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!r&&r in e}},816:function(e,t,n){var o=n(159)["__core-js_shared__"];e.exports=o},817:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},818:function(e,t,n){var o=n(819),i=n(775),r=n(782);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(r||i),string:new o}}},819:function(e,t,n){var o=n(820),i=n(821),r=n(822),a=n(823),s=n(824);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=r,l.prototype.has=a,l.prototype.set=s,e.exports=l},820:function(e,t,n){var o=n(771);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},821:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},822:function(e,t,n){var o=n(771),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},823:function(e,t,n){var o=n(771),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:i.call(t,e)}},824:function(e,t,n){var o=n(771);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},825:function(e,t,n){var o=n(772);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},826:function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},827:function(e,t,n){var o=n(772);e.exports=function(e){return o(this,e).get(e)}},828:function(e,t,n){var o=n(772);e.exports=function(e){return o(this,e).has(e)}},829:function(e,t,n){var i=n(772);e.exports=function(e,t){var n=i(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},830:function(e,t,n){var o=n(288),i=n(285);e.exports=function(e){return i(e)&&"[object Arguments]"==o(e)}},831:function(e,t,n){var o=n(832),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=o(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(r,function(e,t,n,o){i.push(n?o.replace(a,"$1"):t||e)}),i});e.exports=i},832:function(e,t,n){var o=n(833);e.exports=function(e){var t=o(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},833:function(e,t,n){var o=n(783),s="Expected a function";function l(i,r){if("function"!=typeof i||null!=r&&"function"!=typeof r)throw new TypeError(s);var a=function(){var e=arguments,t=r?r.apply(this,e):e[0],n=a.cache;if(n.has(t))return n.get(t);var o=i.apply(this,e);return a.cache=n.set(t,o)||n,o};return a.cache=new(l.Cache||o),a}l.Cache=o,e.exports=l},834:function(e,t,n){var o=n(835);e.exports=function(e){return null==e?"":o(e)}},835:function(e,t,n){var o=n(168),i=n(836),r=n(767),a=n(289),s=1/0,l=o?o.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(r(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},836:function(e,t){e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,i=Array(o);++n<o;)i[n]=t(e[n],n,e);return i}},839:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var v=f(n(0)),y=f(n(164)),C=h(n(3)),A=h(n(43)),o=n(7),i=h(n(931)),r=h(n(932)),a=n(10),s=h(n(39)),l=n(806),u=h(n(172)),c=h(n(891)),d=h(n(788));function h(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==g(e)&&"function"!=typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function g(e){return(g="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)}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function m(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 o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e}function x(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(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&&D(e,t)}function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var k=function(){function n(e){var b,t;return m(this,n),(b=x(this,S(n).call(this,e))).handleMouseEnter=function(e){b.restoreModeVerticalFromInline();var t=b.props.onMouseEnter;t&&t(e)},b.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,o="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,i="font-size"===e.propertyName&&0<=o.indexOf("anticon");(t||i)&&b.restoreModeVerticalFromInline()},b.handleClick=function(e){b.handleOpenChange([]);var t=b.props.onClick;t&&t(e)},b.handleOpenChange=function(e){b.setOpenKeys(e);var t=b.props.onOpenChange;t&&t(e)},b.renderMenu=function(e){var t,n,o,i=e.getPopupContainer,r=e.getPrefixCls,a=b.props,s=a.prefixCls,l=a.className,u=a.theme,c=a.collapsedWidth,d=(0,A.default)(b.props,["collapsedWidth","siderCollapsed"]),h=b.getRealMenuMode(),p=b.getOpenMotionProps(h),f=r("menu",s),g=(0,C.default)(l,"".concat(f,"-").concat(u),(t={},n="".concat(f,"-inline-collapsed"),o=b.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t)),m=_({openKeys:b.state.openKeys,onOpenChange:b.handleOpenChange,className:g,mode:h},p);return"inline"!==h&&(m.onClick=b.handleClick),!b.getInlineCollapsed()||0!==c&&"0"!==c&&"0px"!==c||(m.openKeys=[]),v.createElement(y.default,_({getPopupContainer:i},d,m,{prefixCls:f,onTransitionEnd:b.handleTransitionEnd,onMouseEnter:b.handleMouseEnter}))},(0,s.default)(!("onOpen"in e||"onClose"in e),"Menu","`onOpen` and `onClose` are removed, please use `onOpenChange` instead, see: https://u.ant.design/menu-on-open-change."),(0,s.default)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),(0,s.default)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?t=e.openKeys:"defaultOpenKeys"in e&&(t=e.defaultOpenKeys),b.state={openKeys:t||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},b}return L(n,v.Component),w(n,[{key:"componentWillUnmount",value:function(){u.default.cancel(this.mountRafId)}},{key:"setOpenKeys",value:function(e){"openKeys"in this.props||this.setState({openKeys:e})}},{key:"getRealMenuMode",value:function(){var e=this.getInlineCollapsed();if(this.state.switchingModeFromInline&&e)return"inline";var t=this.props.mode;return e?"vertical":t}},{key:"getInlineCollapsed",value:function(){var e=this.props.inlineCollapsed;return void 0!==this.props.siderCollapsed?this.props.siderCollapsed:e}},{key:"getOpenMotionProps",value:function(e){var t=this.props,n=t.openTransitionName,o=t.openAnimation,i=t.motion;return i?{motion:i}:o?((0,s.default)("string"==typeof o,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:o}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:c.default}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return v.createElement(d.default.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},v.createElement(a.ConfigConsumer,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(o.switchingModeFromInline=!0),"openKeys"in e?o.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(o.switchingModeFromInline=!0,o.inlineOpenKeys=t.openKeys,o.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(o.openKeys=t.inlineOpenKeys,o.inlineOpenKeys=[])),o}}]),n}();k.defaultProps={className:"",theme:"light",focusable:!1},(0,o.polyfill)(k);var N=function(){function e(){return m(this,e),x(this,S(e).apply(this,arguments))}return L(e,v.Component),w(e,[{key:"render",value:function(){var t=this;return v.createElement(l.SiderContext.Consumer,null,function(e){return v.createElement(k,_({},t.props,e))})}}]),e}();(t.default=N).Divider=y.Divider,N.Item=r.default,N.SubMenu=i.default,N.ItemGroup=y.ItemGroup},846:function(e,t,n){"use strict";var o=n(64),T=n.n(o),i=n(25),P=n.n(i),r=n(11),a=n.n(r),s=n(44),l=n.n(s),u=n(13),c=n.n(u),d=n(14),h=n.n(d),p=n(0),j=n.n(p),f=n(3),R=n.n(f),g=n(1),m=n.n(g),W=n(847),z=n(848),b=n(786),v=n(849),y=n(7);function C(){}function F(e,t,n){var o=e;return void 0===o&&(o=t.pageSize),Math.floor((n.total-1)/o)+1}var A,_=(A=j.a.Component,h()(w,A),l()(w,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var o=this.paginationNode.querySelector("."+n+"-item-"+t.current);o&&document.activeElement===o&&o.blur()}}},{key:"getValidValue",value:function(e){var t=e.target.value,n=this.state.currentInputValue;return""===t?t:isNaN(Number(t))?n:Number(t)}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,o=e.disabled;if(!0===this.props.hideOnSinglePage&&this.props.total<=this.state.pageSize)return null;var i=this.props,r=i.locale,a=F(void 0,this.state,this.props),s=[],l=null,u=null,c=null,d=null,h=null,p=i.showQuickJumper&&i.showQuickJumper.goButton,f=i.showLessItems?1:2,g=this.state,m=g.current,b=g.pageSize,v=0<m-1?m-1:0,y=m+1<a?m+1:a,C=Object.keys(i).reduce(function(e,t){return"data-"!==t.substr(0,5)&&"aria-"!==t.substr(0,5)&&"role"!==t||(e[t]=i[t]),e},{});if(i.simple)return p&&(h="boolean"==typeof p?j.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},r.jump_to_confirm):j.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},p),h=j.a.createElement("li",{title:i.showTitle?""+r.jump_to+this.state.current+"/"+a:null,className:t+"-simple-pager"},h)),j.a.createElement("ul",P()({className:t+" "+t+"-simple "+i.className,style:i.style,ref:this.savePaginationNode},C),j.a.createElement("li",{title:i.showTitle?r.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:(this.hasPrev()?"":t+"-disabled")+" "+t+"-prev","aria-disabled":!this.hasPrev()},i.itemRender(v,"prev",this.getItemIcon(i.prevIcon))),j.a.createElement("li",{title:i.showTitle?this.state.current+"/"+a:null,className:t+"-simple-pager"},j.a.createElement("input",{type:"text",value:this.state.currentInputValue,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),j.a.createElement("span",{className:t+"-slash"},"/"),a),j.a.createElement("li",{title:i.showTitle?r.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:(this.hasNext()?"":t+"-disabled")+" "+t+"-next","aria-disabled":!this.hasNext()},i.itemRender(y,"next",this.getItemIcon(i.nextIcon))),h);if(a<=5+2*f){var A={locale:r,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:i.showTitle,itemRender:i.itemRender};a||s.push(j.a.createElement(W.a,P()({},A,{key:"noPager",page:a,className:t+"-disabled"})));for(var _=1;_<=a;_++){var w=this.state.current===_;s.push(j.a.createElement(W.a,P()({},A,{key:_,page:_,active:w})))}}else{var x=i.showLessItems?r.prev_3:r.prev_5,S=i.showLessItems?r.next_3:r.next_5;if(i.showPrevNextJumpers){var L=t+"-jump-prev";i.jumpPrevIcon&&(L+=" "+t+"-jump-prev-custom-icon"),l=j.a.createElement("li",{title:i.showTitle?x:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:L},i.itemRender(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(i.jumpPrevIcon)));var D=t+"-jump-next";i.jumpNextIcon&&(D+=" "+t+"-jump-next-custom-icon"),u=j.a.createElement("li",{title:i.showTitle?S:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:D},i.itemRender(this.getJumpNextPage(),"jump-next",this.getItemIcon(i.jumpNextIcon)))}d=j.a.createElement(W.a,{locale:i.locale,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:a,page:a,active:!1,showTitle:i.showTitle,itemRender:i.itemRender}),c=j.a.createElement(W.a,{locale:i.locale,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:i.showTitle,itemRender:i.itemRender});var k=Math.max(1,m-f),N=Math.min(m+f,a);m-1<=f&&(N=1+2*f),a-m<=f&&(k=a-2*f);for(var I=k;I<=N;I++){var O=m===I;s.push(j.a.createElement(W.a,{locale:i.locale,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:I,page:I,active:O,showTitle:i.showTitle,itemRender:i.itemRender}))}2*f<=m-1&&3!==m&&(s[0]=j.a.cloneElement(s[0],{className:t+"-item-after-jump-prev"}),s.unshift(l)),2*f<=a-m&&m!==a-2&&(s[s.length-1]=j.a.cloneElement(s[s.length-1],{className:t+"-item-before-jump-next"}),s.push(u)),1!==k&&s.unshift(c),N!==a&&s.push(d)}var E=null;i.showTotal&&(E=j.a.createElement("li",{className:t+"-total-text"},i.showTotal(i.total,[0===i.total?0:(m-1)*b+1,m*b>i.total?i.total:m*b])));var M=!this.hasPrev()||!a,B=!this.hasNext()||!a;return j.a.createElement("ul",P()({className:R()(t,n,T()({},t+"-disabled",o)),style:i.style,unselectable:"unselectable",ref:this.savePaginationNode},C),E,j.a.createElement("li",{title:i.showTitle?r.prev_page:null,onClick:this.prev,tabIndex:M?null:0,onKeyPress:this.runIfEnterPrev,className:(M?t+"-disabled":"")+" "+t+"-prev","aria-disabled":M},i.itemRender(v,"prev",this.getItemIcon(i.prevIcon))),s,j.a.createElement("li",{title:i.showTitle?r.next_page:null,onClick:this.next,tabIndex:B?null:0,onKeyPress:this.runIfEnterNext,className:(B?t+"-disabled":"")+" "+t+"-next","aria-disabled":B},i.itemRender(y,"next",this.getItemIcon(i.nextIcon))),j.a.createElement(z.a,{disabled:o,locale:i.locale,rootPrefixCls:t,selectComponentClass:i.selectComponentClass,selectPrefixCls:i.selectPrefixCls,changeSize:this.props.showSizeChanger?this.changePageSize:null,current:this.state.current,pageSize:this.state.pageSize,pageSizeOptions:this.props.pageSizeOptions,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:p}))}}],[{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 o=t.current,i=F(e.pageSize,t,e);o=i<o?i:o,"current"in e||(n.current=o,n.currentInputValue=o),n.pageSize=e.pageSize}return n}}]),w);function w(e){a()(this,w);var t=c()(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,e));x.call(t);var n=e.onChange!==C;"current"in e&&!n&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var o=e.defaultCurrent;"current"in e&&(o=e.current);var i=e.defaultPageSize;return"pageSize"in e&&(i=e.pageSize),t.state={current:o,currentInputValue:o,pageSize:i},t}_.propTypes={disabled:m.a.bool,prefixCls:m.a.string,className:m.a.string,current:m.a.number,defaultCurrent:m.a.number,total:m.a.number,pageSize:m.a.number,defaultPageSize:m.a.number,onChange:m.a.func,hideOnSinglePage:m.a.bool,showSizeChanger:m.a.bool,showLessItems:m.a.bool,onShowSizeChange:m.a.func,selectComponentClass:m.a.func,showPrevNextJumpers:m.a.bool,showQuickJumper:m.a.oneOfType([m.a.bool,m.a.object]),showTitle:m.a.bool,pageSizeOptions:m.a.arrayOf(m.a.string),showTotal:m.a.func,locale:m.a.object,style:m.a.object,itemRender:m.a.func,prevIcon:m.a.oneOfType([m.a.func,m.a.node]),nextIcon:m.a.oneOfType([m.a.func,m.a.node]),jumpPrevIcon:m.a.oneOfType([m.a.func,m.a.node]),jumpNextIcon:m.a.oneOfType([m.a.func,m.a.node])},_.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:C,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showSizeChanger:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:C,locale:v.a,style:{},itemRender:function(e,t,n){return n}};var x=function(){var r=this;this.getJumpPrevPage=function(){return Math.max(1,r.state.current-(r.props.showLessItems?3:5))},this.getJumpNextPage=function(){return Math.min(F(void 0,r.state,r.props),r.state.current+(r.props.showLessItems?3:5))},this.getItemIcon=function(e){var t=r.props.prefixCls,n=e||j.a.createElement("a",{className:t+"-item-link"});return"function"==typeof e&&(n=j.a.createElement(e,P()({},r.props))),n},this.savePaginationNode=function(e){r.paginationNode=e},this.isValid=function(e){return"number"==typeof(t=e)&&isFinite(t)&&Math.floor(t)===t&&e!==r.state.current;var t},this.shouldDisplayQuickJumper=function(){var e=r.props,t=e.showQuickJumper,n=e.pageSize;return!(e.total<=n)&&t},this.handleKeyDown=function(e){e.keyCode!==b.a.ARROW_UP&&e.keyCode!==b.a.ARROW_DOWN||e.preventDefault()},this.handleKeyUp=function(e){var t=r.getValidValue(e);t!==r.state.currentInputValue&&r.setState({currentInputValue:t}),e.keyCode===b.a.ENTER?r.handleChange(t):e.keyCode===b.a.ARROW_UP?r.handleChange(t-1):e.keyCode===b.a.ARROW_DOWN&&r.handleChange(t+1)},this.changePageSize=function(e){var t=r.state.current,n=F(e,r.state,r.props);t=n<t?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)},this.handleChange=function(e){var t=r.props.disabled,n=e;if(!r.isValid(n)||t)return r.state.current;var o=F(void 0,r.state,r.props);o<n?n=o:n<1&&(n=1),"current"in r.props||r.setState({current:n,currentInputValue:n});var i=r.state.pageSize;return r.props.onChange(n,i),n},this.prev=function(){r.hasPrev()&&r.handleChange(r.state.current-1)},this.next=function(){r.hasNext()&&r.handleChange(r.state.current+1)},this.jumpPrev=function(){r.handleChange(r.getJumpPrevPage())},this.jumpNext=function(){r.handleChange(r.getJumpNextPage())},this.hasPrev=function(){return 1<r.state.current},this.hasNext=function(){return r.state.current<F(void 0,r.state,r.props)},this.runIfEnter=function(e,t){for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];"Enter"!==e.key&&13!==e.charCode||t.apply(void 0,o)},this.runIfEnterPrev=function(e){r.runIfEnter(e,r.prev)},this.runIfEnterNext=function(e){r.runIfEnter(e,r.next)},this.runIfEnterJumpPrev=function(e){r.runIfEnter(e,r.jumpPrev)},this.runIfEnterJumpNext=function(e){r.runIfEnter(e,r.jumpNext)},this.handleGoTO=function(e){e.keyCode!==b.a.ENTER&&"click"!==e.type||r.handleChange(r.state.currentInputValue)}};Object(y.polyfill)(_),t.a=_},847:function(e,t,n){"use strict";function o(t){var e,n=t.rootPrefixCls+"-item",o=d()(n,n+"-"+t.page,(e={},r()(e,n+"-active",t.active),r()(e,t.className,!!t.className),r()(e,n+"-disabled",!t.page),e));return s.a.createElement("li",{title:t.showTitle?t.page:null,className:o,onClick:function(){t.onClick(t.page)},onKeyPress:function(e){t.onKeyPress(e,t.onClick,t.page)},tabIndex:"0"},t.itemRender(t.page,"page",s.a.createElement("a",null,t.page)))}var i=n(64),r=n.n(i),a=n(0),s=n.n(a),l=n(1),u=n.n(l),c=n(3),d=n.n(c);o.propTypes={page:u.a.number,active:u.a.bool,last:u.a.bool,locale:u.a.object,className:u.a.string,showTitle:u.a.bool,rootPrefixCls:u.a.string,onClick:u.a.func,onKeyPress:u.a.func,itemRender:u.a.func},t.a=o},848:function(e,t,n){"use strict";var o,i=n(11),s=n.n(i),r=n(44),a=n.n(r),l=n(13),u=n.n(l),c=n(14),d=n.n(c),h=n(0),C=n.n(h),p=n(1),f=n.n(p),g=n(786),m=(o=C.a.Component,d()(b,o),a()(b,[{key:"getValidValue",value:function(){var e=this.state,t=e.goInputText,n=e.current;return!t||isNaN(t)?n:Number(t)}},{key:"render",value:function(){var n=this,e=this.props,t=e.pageSize,o=e.pageSizeOptions,i=e.locale,r=e.rootPrefixCls,a=e.changeSize,s=e.quickGo,l=e.goButton,u=e.selectComponentClass,c=e.buildOptionText,d=e.selectPrefixCls,h=e.disabled,p=this.state.goInputText,f=r+"-options",g=u,m=null,b=null,v=null;if(!a&&!s)return null;if(a&&g){var y=o.map(function(e,t){return C.a.createElement(g.Option,{key:t,value:e},(c||n.buildOptionText)(e))});m=C.a.createElement(g,{disabled:h,prefixCls:d,showSearch:!1,className:f+"-size-changer",optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(t||o[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode}},y)}return s&&(l&&(v="boolean"==typeof l?C.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:h},i.jump_to_confirm):C.a.createElement("span",{onClick:this.go,onKeyUp:this.go},l)),b=C.a.createElement("div",{className:f+"-quick-jumper"},i.jump_to,C.a.createElement("input",{disabled:h,type:"text",value:p,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),i.page,v)),C.a.createElement("li",{className:f},m,b)}}]),b);function b(){var e,t,o,n;s()(this,b);for(var i=arguments.length,r=Array(i),a=0;a<i;a++)r[a]=arguments[a];return(t=o=u()(this,(e=b.__proto__||Object.getPrototypeOf(b)).call.apply(e,[this].concat(r)))).state={goInputText:""},o.buildOptionText=function(e){return e+" "+o.props.locale.items_per_page},o.changeSize=function(e){o.props.changeSize(Number(e))},o.handleChange=function(e){o.setState({goInputText:e.target.value})},o.handleBlur=function(){var e=o.props,t=e.goButton,n=e.quickGo;t||n(o.getValidValue())},o.go=function(e){""!==o.state.goInputText&&(e.keyCode!==g.a.ENTER&&"click"!==e.type||(o.setState({goInputText:""}),o.props.quickGo(o.getValidValue())))},n=t,u()(o,n)}m.propTypes={disabled:f.a.bool,changeSize:f.a.func,quickGo:f.a.func,selectComponentClass:f.a.func,current:f.a.number,pageSizeOptions:f.a.arrayOf(f.a.string),pageSize:f.a.number,buildOptionText:f.a.func,locale:f.a.object,rootPrefixCls:f.a.string,selectPrefixCls:f.a.string,goButton:f.a.oneOfType([f.a.bool,f.a.node])},m.defaultProps={pageSizeOptions:["10","20","30","40"]},t.a=m},849:function(e,t,n){"use strict";t.a={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"}},850:function(e,t,n){var o=n(854);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},853:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),m=o(n(984)),b=o(n(3)),i=n(10),u=o(n(39)),c=o(n(26));function o(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(0,n(67).tuple)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var p=function(){function e(){var f;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(f=l(this,d(e).apply(this,arguments))).renderOverlay=function(e){var t,n=f.props.overlay;t="function"==typeof n?n():n;var o=(t=g.Children.only(t)).props;(0,u.default)(!o.mode||"vertical"===o.mode,"Dropdown",'mode="'.concat(o.mode,"\" is not supported for Dropdown's Menu."));var i=o.selectable,r=void 0!==i&&i,a=o.focusable,s=void 0===a||a,l=g.createElement("span",{className:"".concat(e,"-menu-submenu-arrow")},g.createElement(c.default,{type:"right",className:"".concat(e,"-menu-submenu-arrow-icon")}));return"string"==typeof t.type?n:g.cloneElement(t,{mode:"vertical",selectable:r,focusable:s,expandIcon:l})},f.renderDropDown=function(e){var t,n=e.getPopupContainer,o=e.getPrefixCls,i=f.props,r=i.prefixCls,a=i.children,s=i.trigger,l=i.disabled,u=i.getPopupContainer,c=o("dropdown",r),d=g.Children.only(a),h=g.cloneElement(d,{className:(0,b.default)(d.props.className,"".concat(c,"-trigger")),disabled:l}),p=l?[]:s;return p&&-1!==p.indexOf("contextMenu")&&(t=!0),g.createElement(m.default,v({alignPoint:t},f.props,{prefixCls:c,getPopupContainer:u||n,transitionName:f.getTransitionName(),trigger:p,overlay:function(){return f.renderOverlay(c)}}),h)},f}var t,n,o;return function(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)}(e,g.Component),t=e,(n=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,o=e.transitionName;return void 0!==o?o:0<=n.indexOf("top")?"slide-down":"slide-up"}},{key:"render",value:function(){return g.createElement(i.ConfigConsumer,null,this.renderDropDown)}}])&&r(t.prototype,n),o&&r(t,o),e}();(t.default=p).defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"}},854:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.ant-pagination{-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum"}.ant-pagination,.ant-pagination ol,.ant-pagination ul{margin:0;padding:0;list-style:none}.ant-pagination:after{display:block;clear:both;height:0;overflow:hidden;visibility:hidden;content:" "}.ant-pagination-item,.ant-pagination-total-text{display:inline-block;height:32px;margin-right:8px;line-height:30px;vertical-align:middle}.ant-pagination-item{min-width:32px;font-family:Arial;text-align:center;list-style:none;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-item a{display:block;padding:0 6px;color:rgba(0,0,0,.65);-webkit-transition:none;-o-transition:none;transition:none}.ant-pagination-item a:hover{text-decoration:none}.ant-pagination-item:focus,.ant-pagination-item:hover{border-color:#1890ff;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-item:focus a,.ant-pagination-item:hover a{color:#1890ff}.ant-pagination-item-active{font-weight:500;background:#fff;border-color:#1890ff}.ant-pagination-item-active a{color:#1890ff}.ant-pagination-item-active:focus,.ant-pagination-item-active:hover{border-color:#40a9ff}.ant-pagination-item-active:focus a,.ant-pagination-item-active:hover a{color:#40a9ff}.ant-pagination-jump-next,.ant-pagination-jump-prev{outline:0}.ant-pagination-jump-next .ant-pagination-item-container,.ant-pagination-jump-prev .ant-pagination-item-container{position:relative}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{display:inline-block;font-size:12px;font-size:12px\\9;-webkit-transform:scale(1) rotate(0deg);-ms-transform:scale(1) rotate(0deg);transform:scale(1) rotate(0deg);color:#1890ff;letter-spacing:-1px;opacity:0;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}:root .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,:root .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{font-size:12px}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg{top:0;right:0;bottom:0;left:0;margin:auto}.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis{position:absolute;top:0;right:0;bottom:0;left:0;display:block;margin:auto;color:rgba(0,0,0,.25);letter-spacing:2px;text-align:center;text-indent:.13em;opacity:1;-webkit-transition:all .2s;-o-transition:all .2s;transition:all .2s}.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:1}.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:0}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-prev{margin-right:8px}.ant-pagination-jump-next,.ant-pagination-jump-prev,.ant-pagination-next,.ant-pagination-prev{display:inline-block;min-width:32px;height:32px;color:rgba(0,0,0,.65);font-family:Arial;line-height:32px;text-align:center;vertical-align:middle;list-style:none;border-radius:4px;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-next,.ant-pagination-prev{outline:0}.ant-pagination-next a,.ant-pagination-prev a{color:rgba(0,0,0,.65);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ant-pagination-next:hover a,.ant-pagination-prev:hover a{border-color:#40a9ff}.ant-pagination-next .ant-pagination-item-link,.ant-pagination-prev .ant-pagination-item-link{display:block;height:100%;font-size:12px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-pagination-next:focus .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}.ant-pagination-disabled,.ant-pagination-disabled:focus,.ant-pagination-disabled:hover{cursor:not-allowed}.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination-disabled:focus .ant-pagination-item-link,.ant-pagination-disabled:focus a,.ant-pagination-disabled:hover .ant-pagination-item-link,.ant-pagination-disabled:hover a,.ant-pagination-disabled a{color:rgba(0,0,0,.25);border-color:#d9d9d9;cursor:not-allowed}.ant-pagination-slash{margin:0 10px 0 5px}.ant-pagination-options{display:inline-block;margin-left:16px;vertical-align:middle}.ant-pagination-options-size-changer.ant-select{display:inline-block;width:auto;margin-right:8px}.ant-pagination-options-quick-jumper{display:inline-block;height:32px;line-height:32px;vertical-align:top}.ant-pagination-options-quick-jumper input{position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.65);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;width:50px;margin:0 8px}.ant-pagination-options-quick-jumper input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-pagination-options-quick-jumper input:-ms-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input::-webkit-input-placeholder{color:#bfbfbf}.ant-pagination-options-quick-jumper input:placeholder-shown{-o-text-overflow:ellipsis;text-overflow:ellipsis}.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-pagination-options-quick-jumper input:focus{outline:0;-webkit-box-shadow:0 0 0 2px rgba(24,144,255,.2);box-shadow:0 0 0 2px rgba(24,144,255,.2)}.ant-pagination-options-quick-jumper input-disabled{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input-disabled:hover{border-color:#d9d9d9;border-right-width:1px!important}.ant-pagination-options-quick-jumper input[disabled]{color:rgba(0,0,0,.25);background-color:#f5f5f5;cursor:not-allowed;opacity:1}.ant-pagination-options-quick-jumper input[disabled]:hover{border-color:#d9d9d9;border-right-width:1px!important}textarea.ant-pagination-options-quick-jumper input{max-width:100%;height:auto;min-height:32px;line-height:1.5;vertical-align:bottom;-webkit-transition:all .3s,height 0s;-o-transition:all .3s,height 0s;transition:all .3s,height 0s}.ant-pagination-options-quick-jumper input-lg{height:40px;padding:6px 11px;font-size:16px}.ant-pagination-options-quick-jumper input-sm{height:24px;padding:1px 7px}.ant-pagination-simple .ant-pagination-next,.ant-pagination-simple .ant-pagination-prev{height:24px;line-height:24px;vertical-align:top}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link{height:24px;border:0}.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination-simple .ant-pagination-simple-pager{display:inline-block;height:24px;margin-right:8px}.ant-pagination-simple .ant-pagination-simple-pager input{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;margin-right:8px;padding:0 6px;text-align:center;background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;outline:none;-webkit-transition:border-color .3s;-o-transition:border-color .3s;transition:border-color .3s}.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}.ant-pagination.mini .ant-pagination-simple-pager,.ant-pagination.mini .ant-pagination-total-text{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-item{min-width:24px;height:24px;margin:0;line-height:22px}.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active){background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next,.ant-pagination.mini .ant-pagination-prev{min-width:24px;height:24px;margin:0;line-height:24px}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link{background:transparent;border-color:transparent}.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link:after,.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link:after{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-jump-next,.ant-pagination.mini .ant-pagination-jump-prev{height:24px;margin-right:0;line-height:24px}.ant-pagination.mini .ant-pagination-options{margin-left:2px}.ant-pagination.mini .ant-pagination-options-quick-jumper{height:24px;line-height:24px}.ant-pagination.mini .ant-pagination-options-quick-jumper input{height:24px;padding:1px 7px;width:44px}.ant-pagination.ant-pagination-disabled{cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item{background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item a{color:rgba(0,0,0,.25);background:transparent;border:none;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active{background:#dbdbdb;border-color:transparent}.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a{color:#fff}.ant-pagination.ant-pagination-disabled .ant-pagination-item-link,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:focus,.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:hover{color:rgba(0,0,0,.45);background:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon{opacity:0}.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis{opacity:1}@media only screen and (max-width:992px){.ant-pagination-item-after-jump-prev,.ant-pagination-item-before-jump-next{display:none}}@media only screen and (max-width:576px){.ant-pagination-options{display:none}}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_antd@3.25.3@antd/lib/pagination/style/index.css"],names:[],mappings:"AAIA,gBACE,8BAA+B,AACvB,sBAAuB,AAG/B,sBAA2B,AAC3B,eAAgB,AAChB,0BAA2B,AAC3B,gBAAiB,AAEjB,qCAAsC,AAC9B,4BAA8B,CACvC,AACD,sDAVE,SAAU,AACV,UAAW,AAKX,eAAiB,CASlB,AACD,sBACE,cAAe,AACf,WAAY,AACZ,SAAU,AACV,gBAAiB,AACjB,kBAAmB,AACnB,WAAa,CACd,AAQD,gDANE,qBAAsB,AACtB,YAAa,AACb,iBAAkB,AAClB,iBAAkB,AAClB,qBAAuB,CAqBxB,AAnBD,qBAEE,eAAgB,AAGhB,kBAAmB,AAEnB,kBAAmB,AAEnB,gBAAiB,AACjB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,UAAW,AACX,eAAgB,AAChB,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,uBACE,cAAe,AACf,cAAe,AACf,sBAA2B,AAC3B,wBAAyB,AACzB,mBAAoB,AACpB,eAAiB,CAClB,AACD,6BACE,oBAAsB,CACvB,AACD,sDAEE,qBAAsB,AACtB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0DAEE,aAAe,CAChB,AACD,4BACE,gBAAiB,AACjB,gBAAiB,AACjB,oBAAsB,CACvB,AACD,8BACE,aAAe,CAChB,AACD,oEAEE,oBAAsB,CACvB,AACD,wEAEE,aAAe,CAChB,AACD,oDAEE,SAAW,CACZ,AACD,kHAEE,iBAAmB,CACpB,AACD,gLAEE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,wCAAyC,AACrC,oCAAqC,AACjC,gCAAiC,AACzC,cAAe,AACf,oBAAqB,AACrB,UAAW,AACX,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,4LAEE,cAAgB,CACjB,AACD,wLAEE,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,WAAa,CACd,AACD,8KAEE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,cAAe,AACf,YAAa,AACb,sBAA2B,AAC3B,mBAAoB,AACpB,kBAAmB,AACnB,kBAAoB,AACpB,UAAW,AACX,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,4PAIE,SAAW,CACZ,AACD,wPAIE,SAAW,CACZ,AACD,yEAGE,gBAAkB,CACnB,AACD,8FAIE,qBAAsB,AACtB,eAAgB,AAChB,YAAa,AACb,sBAA2B,AAC3B,kBAAmB,AACnB,iBAAkB,AAClB,kBAAmB,AACnB,sBAAuB,AACvB,gBAAiB,AACjB,kBAAmB,AACnB,eAAgB,AAChB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0CAEE,SAAW,CACZ,AACD,8CAEE,sBAA2B,AAC3B,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,0DAEE,oBAAsB,CACvB,AACD,8FAEE,cAAe,AACf,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,aAAc,AACd,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,oNAIE,cAAe,AACf,oBAAsB,CACvB,AACD,uFAGE,kBAAoB,CACrB,AACD,kQAME,sBAA2B,AAC3B,qBAAsB,AACtB,kBAAoB,CACrB,AACD,sBACE,mBAAqB,CACtB,AACD,wBACE,qBAAsB,AACtB,iBAAkB,AAClB,qBAAuB,CACxB,AACD,gDACE,qBAAsB,AACtB,WAAY,AACZ,gBAAkB,CACnB,AACD,qCACE,qBAAsB,AACtB,YAAa,AACb,iBAAkB,AAClB,kBAAoB,CACrB,AACD,2CACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,sBAA2B,AAC3B,eAAgB,AAChB,gBAAiB,AACjB,sBAAuB,AACvB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,2BAA6B,AAC7B,sBAAwB,AACxB,mBAAqB,AACrB,WAAY,AACZ,YAAc,CACf,AACD,6DACE,cAAe,AACf,SAAW,CACZ,AACD,iEACE,aAAe,CAChB,AACD,sEACE,aAAe,CAChB,AACD,6DACE,0BAA2B,AACxB,sBAAwB,CAC5B,AAKD,kGAHE,qBAAsB,AACtB,gCAAmC,CAQpC,AAND,iDAGE,UAAW,AACX,iDAAsD,AAC9C,wCAA8C,CACvD,AACD,oDACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,0DACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,qDACE,sBAA2B,AAC3B,yBAA0B,AAC1B,mBAAoB,AACpB,SAAW,CACZ,AACD,2DACE,qBAAsB,AACtB,gCAAmC,CACpC,AACD,mDACE,eAAgB,AAChB,YAAa,AACb,gBAAiB,AACjB,gBAAiB,AACjB,sBAAuB,AACvB,qCAAwC,AACxC,gCAAmC,AACnC,4BAAgC,CACjC,AACD,8CACE,YAAa,AACb,iBAAkB,AAClB,cAAgB,CACjB,AACD,8CACE,YAAa,AACb,eAAiB,CAClB,AACD,wFAEE,YAAa,AACb,iBAAkB,AAClB,kBAAoB,CACrB,AACD,4IAEE,YAAa,AACb,QAAU,CACX,AACD,wJAEE,YAAa,AACb,gBAAkB,CACnB,AACD,oDACE,qBAAsB,AACtB,YAAa,AACb,gBAAkB,CACnB,AACD,0DACE,8BAA+B,AACvB,sBAAuB,AAC/B,YAAa,AACb,iBAAkB,AAClB,cAAe,AACf,kBAAmB,AACnB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,aAAc,AACd,oCAAsC,AACtC,+BAAiC,AACjC,2BAA8B,CAC/B,AACD,gEACE,oBAAsB,CACvB,AACD,kGAEE,YAAa,AACb,gBAAkB,CACnB,AACD,0CACE,eAAgB,AAChB,YAAa,AACb,SAAU,AACV,gBAAkB,CACnB,AACD,2EACE,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,oFAEE,eAAgB,AAChB,YAAa,AACb,SAAU,AACV,gBAAkB,CACnB,AACD,wIAEE,uBAAwB,AACxB,wBAA0B,CAC3B,AACD,oJAEE,YAAa,AACb,gBAAkB,CACnB,AACD,8FAEE,YAAa,AACb,eAAgB,AAChB,gBAAkB,CACnB,AACD,6CACE,eAAiB,CAClB,AACD,0DACE,YAAa,AACb,gBAAkB,CACnB,AACD,gEACE,YAAa,AACb,gBAAiB,AACjB,UAAY,CACb,AACD,wCACE,kBAAoB,CACrB,AACD,6DACE,mBAAoB,AACpB,qBAAsB,AACtB,kBAAoB,CACrB,AACD,+DACE,sBAA2B,AAC3B,uBAAwB,AACxB,YAAa,AACb,kBAAoB,CACrB,AACD,oEACE,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,sEACE,UAAY,CACb,AACD,kNAGE,sBAA2B,AAC3B,mBAAoB,AACpB,qBAAsB,AACtB,kBAAoB,CACrB,AACD,4ZAIE,SAAW,CACZ,AACD,wZAIE,SAAW,CACZ,AACD,yCACE,2EAEE,YAAc,CACf,CACF,AACD,yCACE,wBACE,YAAc,CACf,CACF",file:"index.css",sourcesContent:["/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-pagination {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n}\n.ant-pagination ul,\n.ant-pagination ol {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.ant-pagination::after {\n display: block;\n clear: both;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n content: ' ';\n}\n.ant-pagination-total-text {\n display: inline-block;\n height: 32px;\n margin-right: 8px;\n line-height: 30px;\n vertical-align: middle;\n}\n.ant-pagination-item {\n display: inline-block;\n min-width: 32px;\n height: 32px;\n margin-right: 8px;\n font-family: Arial;\n line-height: 30px;\n text-align: center;\n vertical-align: middle;\n list-style: none;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: 0;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-pagination-item a {\n display: block;\n padding: 0 6px;\n color: rgba(0, 0, 0, 0.65);\n -webkit-transition: none;\n -o-transition: none;\n transition: none;\n}\n.ant-pagination-item a:hover {\n text-decoration: none;\n}\n.ant-pagination-item:focus,\n.ant-pagination-item:hover {\n border-color: #1890ff;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-item:focus a,\n.ant-pagination-item:hover a {\n color: #1890ff;\n}\n.ant-pagination-item-active {\n font-weight: 500;\n background: #fff;\n border-color: #1890ff;\n}\n.ant-pagination-item-active a {\n color: #1890ff;\n}\n.ant-pagination-item-active:focus,\n.ant-pagination-item-active:hover {\n border-color: #40a9ff;\n}\n.ant-pagination-item-active:focus a,\n.ant-pagination-item-active:hover a {\n color: #40a9ff;\n}\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n outline: 0;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container,\n.ant-pagination-jump-next .ant-pagination-item-container {\n position: relative;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n display: inline-block;\n font-size: 12px;\n font-size: 12px \\9;\n -webkit-transform: scale(1) rotate(0deg);\n -ms-transform: scale(1) rotate(0deg);\n transform: scale(1) rotate(0deg);\n color: #1890ff;\n letter-spacing: -1px;\n opacity: 0;\n -webkit-transition: all 0.2s;\n -o-transition: all 0.2s;\n transition: all 0.2s;\n}\n:root .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n:root .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n font-size: 12px;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n margin: auto;\n color: rgba(0, 0, 0, 0.25);\n letter-spacing: 2px;\n text-align: center;\n text-indent: 0.13em;\n opacity: 1;\n -webkit-transition: all 0.2s;\n -o-transition: all 0.2s;\n transition: all 0.2s;\n}\n.ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:focus .ant-pagination-item-link-icon,\n.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n opacity: 1;\n}\n.ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,\n.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n opacity: 0;\n}\n.ant-pagination-prev,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n margin-right: 8px;\n}\n.ant-pagination-prev,\n.ant-pagination-next,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n display: inline-block;\n min-width: 32px;\n height: 32px;\n color: rgba(0, 0, 0, 0.65);\n font-family: Arial;\n line-height: 32px;\n text-align: center;\n vertical-align: middle;\n list-style: none;\n border-radius: 4px;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-prev,\n.ant-pagination-next {\n outline: 0;\n}\n.ant-pagination-prev a,\n.ant-pagination-next a {\n color: rgba(0, 0, 0, 0.65);\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.ant-pagination-prev:hover a,\n.ant-pagination-next:hover a {\n border-color: #40a9ff;\n}\n.ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-next .ant-pagination-item-link {\n display: block;\n height: 100%;\n font-size: 12px;\n text-align: center;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: none;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-pagination-prev:focus .ant-pagination-item-link,\n.ant-pagination-next:focus .ant-pagination-item-link,\n.ant-pagination-prev:hover .ant-pagination-item-link,\n.ant-pagination-next:hover .ant-pagination-item-link {\n color: #1890ff;\n border-color: #1890ff;\n}\n.ant-pagination-disabled,\n.ant-pagination-disabled:hover,\n.ant-pagination-disabled:focus {\n cursor: not-allowed;\n}\n.ant-pagination-disabled a,\n.ant-pagination-disabled:hover a,\n.ant-pagination-disabled:focus a,\n.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination-disabled:hover .ant-pagination-item-link,\n.ant-pagination-disabled:focus .ant-pagination-item-link {\n color: rgba(0, 0, 0, 0.25);\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination-slash {\n margin: 0 10px 0 5px;\n}\n.ant-pagination-options {\n display: inline-block;\n margin-left: 16px;\n vertical-align: middle;\n}\n.ant-pagination-options-size-changer.ant-select {\n display: inline-block;\n width: auto;\n margin-right: 8px;\n}\n.ant-pagination-options-quick-jumper {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n vertical-align: top;\n}\n.ant-pagination-options-quick-jumper input {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 32px;\n padding: 4px 11px;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n line-height: 1.5;\n background-color: #fff;\n background-image: none;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n width: 50px;\n margin: 0 8px;\n}\n.ant-pagination-options-quick-jumper input::-moz-placeholder {\n color: #bfbfbf;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input::-webkit-input-placeholder {\n color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input:placeholder-shown {\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:hover {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input:focus {\n border-color: #40a9ff;\n border-right-width: 1px !important;\n outline: 0;\n -webkit-box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-pagination-options-quick-jumper input-disabled {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input-disabled:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input[disabled] {\n color: rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n cursor: not-allowed;\n opacity: 1;\n}\n.ant-pagination-options-quick-jumper input[disabled]:hover {\n border-color: #d9d9d9;\n border-right-width: 1px !important;\n}\ntextarea.ant-pagination-options-quick-jumper input {\n max-width: 100%;\n height: auto;\n min-height: 32px;\n line-height: 1.5;\n vertical-align: bottom;\n -webkit-transition: all 0.3s, height 0s;\n -o-transition: all 0.3s, height 0s;\n transition: all 0.3s, height 0s;\n}\n.ant-pagination-options-quick-jumper input-lg {\n height: 40px;\n padding: 6px 11px;\n font-size: 16px;\n}\n.ant-pagination-options-quick-jumper input-sm {\n height: 24px;\n padding: 1px 7px;\n}\n.ant-pagination-simple .ant-pagination-prev,\n.ant-pagination-simple .ant-pagination-next {\n height: 24px;\n line-height: 24px;\n vertical-align: top;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {\n height: 24px;\n border: 0;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager {\n display: inline-block;\n height: 24px;\n margin-right: 8px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: 100%;\n margin-right: 8px;\n padding: 0 6px;\n text-align: center;\n background-color: #fff;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n outline: none;\n -webkit-transition: border-color 0.3s;\n -o-transition: border-color 0.3s;\n transition: border-color 0.3s;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input:hover {\n border-color: #1890ff;\n}\n.ant-pagination.mini .ant-pagination-total-text,\n.ant-pagination.mini .ant-pagination-simple-pager {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-item {\n min-width: 24px;\n height: 24px;\n margin: 0;\n line-height: 22px;\n}\n.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {\n background: transparent;\n border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev,\n.ant-pagination.mini .ant-pagination-next {\n min-width: 24px;\n height: 24px;\n margin: 0;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {\n background: transparent;\n border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link::after {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-jump-prev,\n.ant-pagination.mini .ant-pagination-jump-next {\n height: 24px;\n margin-right: 0;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options {\n margin-left: 2px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper {\n height: 24px;\n line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper input {\n height: 24px;\n padding: 1px 7px;\n width: 44px;\n}\n.ant-pagination.ant-pagination-disabled {\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item {\n background: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item a {\n color: rgba(0, 0, 0, 0.25);\n background: transparent;\n border: none;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active {\n background: #dbdbdb;\n border-color: transparent;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a {\n color: #fff;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:hover,\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link:focus {\n color: rgba(0, 0, 0, 0.45);\n background: #f5f5f5;\n border-color: #d9d9d9;\n cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n opacity: 0;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:focus .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:focus .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination.ant-pagination-disabled .ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n opacity: 1;\n}\n@media only screen and (max-width: 992px) {\n .ant-pagination-item-after-jump-prev,\n .ant-pagination-item-before-jump-next {\n display: none;\n }\n}\n@media only screen and (max-width: 576px) {\n .ant-pagination-options {\n display: none;\n }\n}\n"],sourceRoot:""}])},855:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),h=o(n(802)),i=o(n(296)),p=o(n(3)),f=o(n(856)),r=o(n(26)),g=o(n(283)),a=o(n(68)),m=n(10);function o(e){return e&&e.__esModule?e:{default:e}}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return(l="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)}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},A=function(){function e(){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(c=v(this,y(e).apply(this,arguments))).getIconsProps=function(e){return{prevIcon:d.createElement("a",{className:"".concat(e,"-item-link")},d.createElement(r.default,{type:"left"})),nextIcon:d.createElement("a",{className:"".concat(e,"-item-link")},d.createElement(r.default,{type:"right"})),jumpPrevIcon:d.createElement("a",{className:"".concat(e,"-item-link")},d.createElement("div",{className:"".concat(e,"-item-container")},d.createElement(r.default,{className:"".concat(e,"-item-link-icon"),type:"double-left"}),d.createElement("span",{className:"".concat(e,"-item-ellipsis")},"•••"))),jumpNextIcon:d.createElement("a",{className:"".concat(e,"-item-link")},d.createElement("div",{className:"".concat(e,"-item-container")},d.createElement(r.default,{className:"".concat(e,"-item-link-icon"),type:"double-right"}),d.createElement("span",{className:"".concat(e,"-item-ellipsis")},"•••")))}},c.renderPagination=function(e){var t=c.props,i=t.prefixCls,r=t.selectPrefixCls,a=t.className,n=t.size,o=t.locale,s=C(t,["prefixCls","selectPrefixCls","className","size","locale"]),l=b(b({},e),o),u="small"===n;return d.createElement(m.ConfigConsumer,null,function(e){var t=e.getPrefixCls,n=t("pagination",i),o=t("select",r);return d.createElement(h.default,b({},s,{prefixCls:n,selectPrefixCls:o},c.getIconsProps(n),{className:(0,p.default)(a,{mini:u}),selectComponentClass:u?f.default:g.default,locale:l}))})},c}var t,n,o;return function(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&&c(e,t)}(e,d.Component),t=e,(n=[{key:"render",value:function(){return d.createElement(a.default,{componentName:"Pagination",defaultLocale:i.default},this.renderPagination)}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=A},856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),r=(o=n(283))&&o.__esModule?o:{default:o};function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(){function e(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,d(e).apply(this,arguments))}var t,n,o;return function(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)}(e,i.Component),t=e,(n=[{key:"render",value:function(){return i.createElement(r.default,l({size:"small"},this.props))}}])&&u(t.prototype,n),o&&u(t,o),e}();(t.default=p).Option=r.default.Option},857:function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},858:function(e,t,n){var i=n(794),r=n(773),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var o=e[t];a.call(e,t)&&r(o,n)&&(void 0!==n||t in e)||i(e,t,n)}},859:function(e,t){e.exports=function(e){return e}},868:function(e,t,n){"use strict";function o(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Array.isArray(e)?(e.forEach(function(e){return e&&e.dispose()}),[]):0===t.length?e?(e.dispose(),e):void 0:(o(e),o(t),[])}t.d=o,t.c=function(e){return{dispose:function(){return o(e)}}},t.e=function(e){return{dispose:function(){e()}}},n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var i=(r.prototype.dispose=function(){this._lifecycle_disposable_isDisposed=!0,this._toDispose=o(this._toDispose)},r.prototype._register=function(e){return this._lifecycle_disposable_isDisposed?(console.warn("Registering disposable on object that has already been disposed."),e.dispose()):this._toDispose.push(e),e},r.None=Object.freeze({dispose:function(){}}),r);function r(){this._toDispose=[],this._lifecycle_disposable_isDisposed=!1}var a=(s.prototype.dispose=function(){},s);function s(e){this.object=e}},871:function(e,t,n){var o=n(159).Uint8Array;e.exports=o},872:function(e,t){e.exports=function(t,n){return function(e){return t(n(e))}}},873:function(e,t,n){var c=n(901),d=n(787),h=n(767),p=n(799),f=n(777),g=n(800),m=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=h(e),o=!n&&d(e),i=!n&&!o&&p(e),r=!n&&!o&&!i&&g(e),a=n||o||i||r,s=a?c(e.length,String):[],l=s.length;for(var u in e)!t&&!m.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||r&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||f(u,l))||s.push(u);return s}},891:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function o(){return{height:0,opacity:0}}function i(e){return{height:e.scrollHeight,opacity:1}}var r={motionName:"ant-motion-collapse",onAppearStart:o,onEnterStart:o,onAppearActive:i,onEnterActive:i,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:o};t.default=r},892:function(e,t,n){var o=n(775);e.exports=function(){this.__data__=new o,this.size=0}},893:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},894:function(e,t){e.exports=function(e){return this.__data__.get(e)}},895:function(e,t){e.exports=function(e){return this.__data__.has(e)}},896:function(e,t,n){var i=n(775),r=n(782),a=n(783);e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var o=n.__data__;if(!r||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(e,t),this.size=n.size,this}},897:function(e,t){e.exports=function(){return!1}},898:function(e,t,n){var o=n(288),i=n(781),r=n(285),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&i(e.length)&&!!a[o(e)]}},899:function(e,t){e.exports=function(t){return function(e){return t(e)}}},900:function(e,a,s){(function(e){var t=s(299),n="object"==typeof a&&a&&!a.nodeType&&a,o=n&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===n&&t.process,r=function(){try{var e=o&&o.require&&o.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=r}).call(a,s(292)(e))},901:function(e,t){e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},918:function(e,t,n){"use strict";n(27),n(982),n(85)},921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(853)),i=r(n(1003));function r(e){return e&&e.__esModule?e:{default:e}}o.default.Button=i.default;var a=o.default;t.default=a},925:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=void 0;var d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),h=r(n(3)),o=r(n(286)),i=n(10);function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function g(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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})(e,t)}var y=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},C=(0,o.default)({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function A(e){var a=e.suffixCls,s=e.tagName;return function(r){return function(){function e(){var i;return u(this,e),(i=g(this,m(e).apply(this,arguments))).renderComponent=function(e){var t=e.getPrefixCls,n=i.props.prefixCls,o=t(a,n);return d.createElement(r,p({prefixCls:o,tagName:s},i.props))},i}return b(e,d.Component),f(e,[{key:"render",value:function(){return d.createElement(i.ConfigConsumer,null,this.renderComponent)}}]),e}()}}t.LayoutContext=C;function _(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,r=y(e,["prefixCls","className","children","tagName"]),a=(0,h.default)(n,t);return d.createElement(i,p({className:a},r),o)}var w=function(){function t(){var e;return u(this,t),(e=g(this,m(t).apply(this,arguments))).state={siders:[]},e}return b(t,d.Component),f(t,[{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(){var e,t,n,o=this.props,i=o.prefixCls,r=o.className,a=o.children,s=o.hasSider,l=o.tagName,u=y(o,["prefixCls","className","children","hasSider","tagName"]),c=(0,h.default)(r,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof s?s:0<this.state.siders.length,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e));return d.createElement(C.Provider,{value:{siderHook:this.getSiderHook()}},d.createElement(l,p({className:c},u),a))}}]),t}(),x=A({suffixCls:"layout",tagName:"section"})(w),S=A({suffixCls:"layout-header",tagName:"header"})(_),L=A({suffixCls:"layout-footer",tagName:"footer"})(_),D=A({suffixCls:"layout-content",tagName:"main"})(_);x.Header=S,x.Footer=L,x.Content=D;var k=x;t.default=k},926:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;function o(e){return!isNaN(parseFloat(e))&&isFinite(e)}t.default=o},931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(0)),o=c(n(1)),a=n(164),s=i(n(3)),l=i(n(788));function i(e){return e&&e.__esModule?e:{default:e}}function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function c(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}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})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var b=function(){function e(){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=f(this,g(e).apply(this,arguments))).onKeyDown=function(e){t.subMenu.onKeyDown(e)},t.saveSubMenu=function(e){t.subMenu=e},t}var t,n,o;return function(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)}(e,r.Component),t=e,(n=[{key:"render",value:function(){var n=this,e=this.props,o=e.rootPrefixCls,i=e.popupClassName;return r.createElement(l.default.Consumer,null,function(e){var t=e.antdMenuTheme;return r.createElement(a.SubMenu,h({},n.props,{ref:n.saveSubMenu,popupClassName:(0,s.default)("".concat(o,"-").concat(t),i)}))})}}])&&p(t.prototype,n),o&&p(t,o),e}();b.contextTypes={antdMenuTheme:o.string},b.isSubMenu=1;var v=b;t.default=v},932:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),d=n(164),h=o(n(788)),p=o(n(161)),i=n(806);function o(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},b=function(){function e(){var u;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(u=l(this,g(e).apply(this,arguments))).onKeyDown=function(e){u.menuItem.onKeyDown(e)},u.saveMenuItem=function(e){u.menuItem=e},u.renderItem=function(e){var o=e.siderCollapsed,t=u.props,i=t.level,r=t.children,a=t.rootPrefixCls,n=u.props,s=n.title,l=m(n,["title"]);return c.createElement(h.default.Consumer,null,function(e){var t=e.inlineCollapsed,n={title:s||(1===i?r:"")};return o||t||(n.title=null,n.visible=!1),c.createElement(p.default,f({},n,{placement:"right",overlayClassName:"".concat(a,"-inline-collapsed-tooltip")}),c.createElement(d.Item,f({},l,{title:s,ref:u.saveMenuItem})))})},u}var t,n,o;return function(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&&u(e,t)}(e,c.Component),t=e,(n=[{key:"render",value:function(){return c.createElement(i.SiderContext.Consumer,null,this.renderItem)}}])&&r(t.prototype,n),o&&r(t,o),e}();(t.default=b).isMenuItem=!0},966:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return h}),n.d(t,"c",function(){return c}),n.d(t,"d",function(){return f});var o,a=n(1222),i=n(2340),d=n(868),l=n(2057);!function(e){var t={dispose:function(){}};function o(r){return function(t,n,e){void 0===n&&(n=null);var o,i=!1;return o=r(function(e){if(!i)return o?o.dispose():i=!0,t.call(n,e)},null,e),i&&o.dispose(),o}}function i(o,i){return s(function(t,n,e){return void 0===n&&(n=null),o(function(e){return t.call(n,i(e))},null,e)})}function n(o,i){return s(function(t,n,e){return void 0===n&&(n=null),o(function(e){i(e),t.call(n,e)},null,e)})}function r(o,i){return s(function(t,n,e){return void 0===n&&(n=null),o(function(e){return i(e)&&t.call(n,e)},null,e)})}function a(e,t,n){var o=n;return i(e,function(e){return o=t(o,e)})}function s(e){var t,n=new h({onFirstListenerAdd:function(){t=e(n.fire,n)},onLastListenerRemove:function(){t.dispose()}});return n.event}function l(e){var n,o=!0;return r(e,function(e){var t=o||e!==n;return o=!1,n=e,t})}e.None=function(){return t},e.once=o,e.map=i,e.forEach=n,e.filter=r,e.signal=function(e){return e},e.any=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t,n,o){return void 0===n&&(n=null),Object(d.c)(e.map(function(e){return e(function(e){return t.call(n,e)},null,o)}))}},e.reduce=a,e.snapshot=s,e.debounce=function(e,t,n,o,i){var r;void 0===n&&(n=100),void 0===o&&(o=!1);var a=void 0,s=void 0,l=0,u=new h({leakWarningThreshold:i,onFirstListenerAdd:function(){r=e(function(e){l++,a=t(a,e),o&&!s&&u.fire(a),clearTimeout(s),s=setTimeout(function(){var e=a;s=a=void 0,(!o||1<l)&&u.fire(e),l=0},n)})},onLastListenerRemove:function(){r.dispose()}});return u.event},e.stopwatch=function(e){var t=(new Date).getTime();return i(o(e),function(e){return(new Date).getTime()-t})},e.latch=l,e.buffer=function(e,t,n){function o(){i&&i.forEach(function(e){return a.fire(e)}),i=null}void 0===t&&(t=!1),void 0===n&&(n=[]);var i=n.slice(),r=e(function(e){i?i.push(e):a.fire(e)}),a=new h({onFirstListenerAdd:function(){r=r||e(function(e){return a.fire(e)})},onFirstListenerDidAdd:function(){i&&(t?setTimeout(o):o())},onLastListenerRemove:function(){r&&r.dispose(),r=null}});return a.event},e.echo=function(e,o,i){function r(t,n){return i.forEach(function(e){return t.call(n,e)})}void 0===o&&(o=!1),void 0===i&&(i=[]),i=i.slice(),e(function(e){i.push(e),t.fire(e)});var t=new h({onListenerDidAdd:function(e,t,n){o?setTimeout(function(){return r(t,n)}):r(t,n)}});return t.event};var u=(c.prototype.map=function(e){return new c(i(this.event,e))},c.prototype.forEach=function(e){return new c(n(this.event,e))},c.prototype.filter=function(e){return new c(r(this.event,e))},c.prototype.reduce=function(e,t){return new c(a(this.event,e,t))},c.prototype.latch=function(){return new c(l(this.event))},c.prototype.on=function(e,t,n){return this.event(e,t,n)},c.prototype.once=function(e,t,n){return o(this.event)(e,t,n)},c);function c(e){this.event=e}e.chain=function(e){return new u(e)},e.fromNodeEventEmitter=function(e,t,n){function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.fire(n.apply(void 0,e))}void 0===n&&(n=function(e){return e});var i=new h({onFirstListenerAdd:function(){return e.on(t,o)},onLastListenerRemove:function(){return e.removeListener(t,o)}});return i.event},e.fromPromise=function(e){var t=new h,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},e.toPromise=function(t){return new Promise(function(e){return o(t)(e)})}}(o=o||{});r.prototype.dispose=function(){this._stacks&&this._stacks.clear()},r.prototype.check=function(e){var t=this,n=-1;if("number"==typeof this.customThreshold&&(n=this.customThreshold),!(n<=0||e<n)){this._stacks||(this._stacks=new Map);var o=(new Error).stack.split("\n").slice(3).join("\n"),i=this._stacks.get(o)||0;if(this._stacks.set(o,i+1),this._warnCountdown-=1,this._warnCountdown<=0){var r;this._warnCountdown=.5*n;var a=0;this._stacks.forEach(function(e,t){(!r||a<e)&&(r=t,a=e)}),console.warn("["+this.name+"] potential listener LEAK detected, having "+e+" listeners already. MOST frequent listener ("+a+"):"),console.warn(r)}return function(){var e=t._stacks.get(o)||0;t._stacks.set(o,e-1)}}};function r(e,t){void 0===t&&(t=Math.random().toString(18).slice(2,5)),this.customThreshold=e,this.name=t,this._warnCountdown=0}var h=(Object.defineProperty(u.prototype,"event",{get:function(){var s=this;return this._event||(this._event=function(e,t,n){s._listeners||(s._listeners=new l.a);var o=s._listeners.isEmpty();o&&s._options&&s._options.onFirstListenerAdd&&s._options.onFirstListenerAdd(s);var i,r,a=s._listeners.push(t?[e,t]:e);return o&&s._options&&s._options.onFirstListenerDidAdd&&s._options.onFirstListenerDidAdd(s),s._options&&s._options.onListenerDidAdd&&s._options.onListenerDidAdd(s,e,t),s._leakageMon&&(i=s._leakageMon.check(s._listeners.size)),r={dispose:function(){i&&i(),r.dispose=u._noop,s._disposed||(a(),s._options&&s._options.onLastListenerRemove&&(s._listeners&&!s._listeners.isEmpty()||s._options.onLastListenerRemove(s)))}},Array.isArray(n)&&n.push(r),r}),this._event},enumerable:!0,configurable:!0}),u.prototype.fire=function(e){if(this._listeners){this._deliveryQueue||(this._deliveryQueue=[]);for(var t=this._listeners.iterator(),n=t.next();!n.done;n=t.next())this._deliveryQueue.push([n.value,e]);for(;0<this._deliveryQueue.length;){var o=this._deliveryQueue.shift(),i=o[0],r=o[1];try{"function"==typeof i?i.call(void 0,r):i[0].call(i[1],r)}catch(n){Object(a.e)(n)}}}},u.prototype.dispose=function(){this._listeners&&(this._listeners=void 0),this._deliveryQueue&&(this._deliveryQueue.length=0),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},u._noop=function(){},u);function u(e){this._disposed=!1,this._options=e,this._leakageMon=void 0}Object.defineProperty(s.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),s.prototype.add=function(e){var t=this,n={event:e,listener:null};return this.events.push(n),this.hasListeners&&this.hook(n),Object(d.e)(Object(i.a)(function(){t.hasListeners&&t.unhook(n);var e=t.events.indexOf(n);t.events.splice(e,1)}))},s.prototype.onFirstListenerAdd=function(){var t=this;this.hasListeners=!0,this.events.forEach(function(e){return t.hook(e)})},s.prototype.onLastListenerRemove=function(){var t=this;this.hasListeners=!1,this.events.forEach(function(e){return t.unhook(e)})},s.prototype.hook=function(e){var t=this;e.listener=e.event(function(e){return t.emitter.fire(e)})},s.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},s.prototype.dispose=function(){this.emitter.dispose()};function s(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new h({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}var c=(p.prototype.wrapEvent=function(t){var i=this;return function(n,o,e){return t(function(e){var t=i.buffers[i.buffers.length-1];t?t.push(function(){return n.call(o,e)}):n.call(o,e)},void 0,e)}},p.prototype.bufferEvents=function(e){var t=[];this.buffers.push(t);var n=e();return this.buffers.pop(),t.forEach(function(e){return e()}),n},p);function p(){this.buffers=[]}var f=(Object.defineProperty(g.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}),g.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()},g);function g(){var e=this;this.listening=!1,this.inputEvent=o.None,this.inputEventListener=d.a.None,this.emitter=new h({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}},982:function(e,t,n){var o=n(983);"string"==typeof o&&(o=[[e.i,o,""]]);var i={hmr:!1,transform:void 0};n(281)(o,i);o.locals&&(e.exports=o.locals)},983:function(e,t,n){(e.exports=n(280)(!0)).push([e.i,'.ant-dropdown{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.65);font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";position:absolute;top:-9999px;left:-9999px;z-index:1050;display:block}.ant-dropdown:before{position:absolute;top:-7px;right:0;bottom:-7px;left:-7px;z-index:-9999;opacity:.0001;content:" "}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{display:inline-block;font-size:12px;font-size:10px\\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-wrap .ant-btn>.anticon-down{font-size:12px}.ant-dropdown-wrap .anticon-down:before{-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;-o-transition:transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.ant-dropdown-wrap-open .anticon-down:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden{display:none}.ant-dropdown-menu{position:relative;margin:0;padding:4px 0;text-align:left;list-style-type:none;background-color:#fff;background-clip:padding-box;border-radius:4px;outline:none;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.15);box-shadow:0 2px 8px rgba(0,0,0,.15);-webkit-transform:translateZ(0)}.ant-dropdown-menu-item-group-title{padding:5px 12px;color:rgba(0,0,0,.45);-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050}.ant-dropdown-menu-submenu-popup>.ant-dropdown-menu{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-dropdown-menu-submenu-popup li,.ant-dropdown-menu-submenu-popup ul{list-style:none}.ant-dropdown-menu-submenu-popup ul{margin-right:.3em;margin-left:.3em;padding:0}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{clear:both;margin:0;padding:5px 12px;color:rgba(0,0,0,.65);font-weight:400;font-size:14px;line-height:22px;white-space:nowrap;cursor:pointer;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-menu-item>span>.anticon:first-child,.ant-dropdown-menu-submenu-title>.anticon:first-child,.ant-dropdown-menu-submenu-title>span>.anticon:first-child{min-width:12px;margin-right:8px;font-size:12px}.ant-dropdown-menu-item>a,.ant-dropdown-menu-submenu-title>a{display:block;margin:-5px -12px;padding:5px 12px;color:rgba(0,0,0,.65);-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#e6f7ff}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;margin:4px 0;overflow:hidden;line-height:0;background-color:#e8e8e8}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.45);font-style:normal;display:inline-block;font-size:12px;font-size:10px\\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{font-size:12px}.ant-dropdown-menu-item-group-list{margin:0 8px;padding:0;list-style:none}.ant-dropdown-menu-submenu-title{padding-right:26px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{position:absolute;top:0;left:100%;min-width:100%;margin-left:4px;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpIn;animation-name:antSlideUpIn}.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownIn;animation-name:antSlideDownIn}.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight{-webkit-animation-name:antSlideUpOut;animation-name:antSlideUpOut}.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight{-webkit-animation-name:antSlideDownOut;animation-name:antSlideDownOut}.ant-dropdown-link>.anticon.anticon-down,.ant-dropdown-trigger>.anticon.anticon-down{display:inline-block;font-size:12px;font-size:10px\\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-link>.anticon.anticon-down,:root .ant-dropdown-trigger>.anticon.anticon-down{font-size:12px}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child){padding-right:8px;padding-left:8px}.ant-dropdown-button .anticon.anticon-down{display:inline-block;font-size:12px;font-size:10px\\9;-webkit-transform:scale(.83333333) rotate(0deg);-ms-transform:scale(.83333333) rotate(0deg);transform:scale(.83333333) rotate(0deg)}:root .ant-dropdown-button .anticon.anticon-down{font-size:12px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:hsla(0,0%,100%,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:transparent}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{color:#fff;background:#1890ff}',"",{version:3,sources:["/Users/yangshuming/Desktop/new__educode/educoder/public/react/node_modules/_antd@3.25.3@antd/lib/dropdown/style/index.css"],names:[],mappings:"AAIA,cACE,8BAA+B,AACvB,sBAAuB,AAC/B,SAAU,AACV,UAAW,AACX,sBAA2B,AAC3B,eAAgB,AAChB,0BAA2B,AAC3B,gBAAiB,AACjB,gBAAiB,AACjB,qCAAsC,AAC9B,6BAA8B,AACtC,kBAAmB,AACnB,YAAa,AACb,aAAc,AACd,aAAc,AACd,aAAe,CAChB,AACD,qBACE,kBAAmB,AACnB,SAAU,AACV,QAAS,AACT,YAAa,AACb,UAAW,AACX,cAAe,AACf,cAAgB,AAChB,WAAa,CACd,AACD,mBACE,iBAAmB,CACpB,AACD,0CACE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,gDAAkD,AAC9C,4CAA8C,AAC1C,uCAA0C,CACnD,AACD,gDACE,cAAgB,CACjB,AACD,wCACE,yCAA2C,AAC3C,iCAAmC,AACnC,4BAA8B,AAC9B,yBAA2B,AAC3B,8CAAmD,CACpD,AACD,6CACE,iCAAkC,AAC9B,6BAA8B,AAC1B,wBAA0B,CACnC,AACD,+CAEE,YAAc,CACf,AACD,mBACE,kBAAmB,AACnB,SAAU,AACV,cAAe,AACf,gBAAiB,AACjB,qBAAsB,AACtB,sBAAuB,AACvB,4BAA6B,AAC7B,kBAAmB,AACnB,aAAc,AACd,6CAAkD,AAC1C,qCAA0C,AAClD,+BAAwC,CACzC,AACD,oCACE,iBAAkB,AAClB,sBAA2B,AAC3B,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,iCACE,kBAAmB,AACnB,YAAc,CACf,AACD,oDACE,6BAA8B,AAC1B,yBAA0B,AACtB,oBAAsB,CAC/B,AACD,wEAEE,eAAiB,CAClB,AACD,oCACE,kBAAoB,AACpB,iBAAmB,AACnB,SAAW,CACZ,AACD,yDAEE,WAAY,AACZ,SAAU,AACV,iBAAkB,AAClB,sBAA2B,AAC3B,gBAAoB,AACpB,eAAgB,AAChB,iBAAkB,AAClB,mBAAoB,AACpB,eAAgB,AAChB,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,gNAIE,eAAgB,AAChB,iBAAkB,AAClB,cAAgB,CACjB,AACD,6DAEE,cAAe,AACf,kBAAmB,AACnB,iBAAkB,AAClB,sBAA2B,AAC3B,2BAA6B,AAC7B,sBAAwB,AACxB,kBAAqB,CACtB,AACD,0JAIE,cAAe,AACf,wBAA0B,CAC3B,AACD,qEAEE,wBAA0B,CAC3B,AACD,2EAEE,sBAA2B,AAC3B,kBAAoB,CACrB,AACD,uFAEE,sBAA2B,AAC3B,sBAAuB,AACvB,kBAAoB,CACrB,AACD,yEAEE,WAAY,AACZ,aAAc,AACd,gBAAiB,AACjB,cAAe,AACf,wBAA0B,CAC3B,AACD,2HAEE,kBAAmB,AACnB,SAAW,CACZ,AACD,qIAEE,sBAA2B,AAC3B,kBAAmB,AACnB,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,gDAAkD,AAC9C,4CAA8C,AAC1C,uCAA0C,CACnD,AACD,iJAEE,cAAgB,CACjB,AACD,mCACE,aAAc,AACd,UAAW,AACX,eAAiB,CAClB,AACD,iCACE,kBAAoB,CACrB,AACD,oCACE,iBAAmB,CACpB,AACD,uDACE,kBAAmB,AACnB,MAAO,AACP,UAAW,AACX,eAAgB,AAChB,gBAAiB,AACjB,6BAA8B,AAC1B,yBAA0B,AACtB,oBAAsB,CAC/B,AACD,oOAEE,sBAA2B,AAC3B,sBAAuB,AACvB,kBAAoB,CACrB,AACD,qEACE,aAAe,CAChB,AACD,kiBAME,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,wfAME,sCAAuC,AAC/B,6BAA+B,CACxC,AACD,8QAGE,qCAAsC,AAC9B,4BAA8B,CACvC,AACD,yPAGE,uCAAwC,AAChC,8BAAgC,CACzC,AACD,qFAEE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,gDAAkD,AAC9C,4CAA8C,AAC1C,uCAA0C,CACnD,AACD,iGAEE,cAAgB,CACjB,AACD,qBACE,kBAAoB,CACrB,AACD,yEACE,kBAAmB,AACnB,gBAAkB,CACnB,AACD,2CACE,qBAAsB,AACtB,eAAgB,AAChB,iBAAmB,AACnB,gDAAkD,AAC9C,4CAA8C,AAC1C,uCAA0C,CACnD,AACD,iDACE,cAAgB,CACjB,AACD,mEAEE,kBAAoB,CACrB,AAMD,2aAGE,yBAAiC,CAClC,AACD,6KAGE,WAAY,AACZ,sBAAwB,CACzB,AACD,mLAGE,WAAY,AACZ,kBAAoB,CACrB",file:"index.css",sourcesContent:["/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-dropdown {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n color: rgba(0, 0, 0, 0.65);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5;\n list-style: none;\n -webkit-font-feature-settings: 'tnum';\n font-feature-settings: 'tnum';\n position: absolute;\n top: -9999px;\n left: -9999px;\n z-index: 1050;\n display: block;\n}\n.ant-dropdown::before {\n position: absolute;\n top: -7px;\n right: 0;\n bottom: -7px;\n left: -7px;\n z-index: -9999;\n opacity: 0.0001;\n content: ' ';\n}\n.ant-dropdown-wrap {\n position: relative;\n}\n.ant-dropdown-wrap .ant-btn > .anticon-down {\n display: inline-block;\n font-size: 12px;\n font-size: 10px \\9;\n -webkit-transform: scale(0.83333333) rotate(0deg);\n -ms-transform: scale(0.83333333) rotate(0deg);\n transform: scale(0.83333333) rotate(0deg);\n}\n:root .ant-dropdown-wrap .ant-btn > .anticon-down {\n font-size: 12px;\n}\n.ant-dropdown-wrap .anticon-down::before {\n -webkit-transition: -webkit-transform 0.2s;\n transition: -webkit-transform 0.2s;\n -o-transition: transform 0.2s;\n transition: transform 0.2s;\n transition: transform 0.2s, -webkit-transform 0.2s;\n}\n.ant-dropdown-wrap-open .anticon-down::before {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n.ant-dropdown-hidden,\n.ant-dropdown-menu-hidden {\n display: none;\n}\n.ant-dropdown-menu {\n position: relative;\n margin: 0;\n padding: 4px 0;\n text-align: left;\n list-style-type: none;\n background-color: #fff;\n background-clip: padding-box;\n border-radius: 4px;\n outline: none;\n -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);\n -webkit-transform: translate3d(0, 0, 0);\n}\n.ant-dropdown-menu-item-group-title {\n padding: 5px 12px;\n color: rgba(0, 0, 0, 0.45);\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-dropdown-menu-submenu-popup {\n position: absolute;\n z-index: 1050;\n}\n.ant-dropdown-menu-submenu-popup > .ant-dropdown-menu {\n -webkit-transform-origin: 0 0;\n -ms-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu-popup ul,\n.ant-dropdown-menu-submenu-popup li {\n list-style: none;\n}\n.ant-dropdown-menu-submenu-popup ul {\n margin-right: 0.3em;\n margin-left: 0.3em;\n padding: 0;\n}\n.ant-dropdown-menu-item,\n.ant-dropdown-menu-submenu-title {\n clear: both;\n margin: 0;\n padding: 5px 12px;\n color: rgba(0, 0, 0, 0.65);\n font-weight: normal;\n font-size: 14px;\n line-height: 22px;\n white-space: nowrap;\n cursor: pointer;\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-dropdown-menu-item > .anticon:first-child,\n.ant-dropdown-menu-submenu-title > .anticon:first-child,\n.ant-dropdown-menu-item > span > .anticon:first-child,\n.ant-dropdown-menu-submenu-title > span > .anticon:first-child {\n min-width: 12px;\n margin-right: 8px;\n font-size: 12px;\n}\n.ant-dropdown-menu-item > a,\n.ant-dropdown-menu-submenu-title > a {\n display: block;\n margin: -5px -12px;\n padding: 5px 12px;\n color: rgba(0, 0, 0, 0.65);\n -webkit-transition: all 0.3s;\n -o-transition: all 0.3s;\n transition: all 0.3s;\n}\n.ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-submenu-title-selected,\n.ant-dropdown-menu-item-selected > a,\n.ant-dropdown-menu-submenu-title-selected > a {\n color: #1890ff;\n background-color: #e6f7ff;\n}\n.ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-submenu-title:hover {\n background-color: #e6f7ff;\n}\n.ant-dropdown-menu-item-disabled,\n.ant-dropdown-menu-submenu-title-disabled {\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.ant-dropdown-menu-item-disabled:hover,\n.ant-dropdown-menu-submenu-title-disabled:hover {\n color: rgba(0, 0, 0, 0.25);\n background-color: #fff;\n cursor: not-allowed;\n}\n.ant-dropdown-menu-item-divider,\n.ant-dropdown-menu-submenu-title-divider {\n height: 1px;\n margin: 4px 0;\n overflow: hidden;\n line-height: 0;\n background-color: #e8e8e8;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow {\n position: absolute;\n right: 8px;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n color: rgba(0, 0, 0, 0.45);\n font-style: normal;\n display: inline-block;\n font-size: 12px;\n font-size: 10px \\9;\n -webkit-transform: scale(0.83333333) rotate(0deg);\n -ms-transform: scale(0.83333333) rotate(0deg);\n transform: scale(0.83333333) rotate(0deg);\n}\n:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,\n:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n font-size: 12px;\n}\n.ant-dropdown-menu-item-group-list {\n margin: 0 8px;\n padding: 0;\n list-style: none;\n}\n.ant-dropdown-menu-submenu-title {\n padding-right: 26px;\n}\n.ant-dropdown-menu-submenu-vertical {\n position: relative;\n}\n.ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {\n position: absolute;\n top: 0;\n left: 100%;\n min-width: 100%;\n margin-left: 4px;\n -webkit-transform-origin: 0 0;\n -ms-transform-origin: 0 0;\n transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n color: rgba(0, 0, 0, 0.25);\n background-color: #fff;\n cursor: not-allowed;\n}\n.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {\n color: #1890ff;\n}\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight,\n.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight {\n -webkit-animation-name: antSlideUpIn;\n animation-name: antSlideUpIn;\n}\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight,\n.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight {\n -webkit-animation-name: antSlideDownIn;\n animation-name: antSlideDownIn;\n}\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight {\n -webkit-animation-name: antSlideUpOut;\n animation-name: antSlideUpOut;\n}\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight {\n -webkit-animation-name: antSlideDownOut;\n animation-name: antSlideDownOut;\n}\n.ant-dropdown-trigger > .anticon.anticon-down,\n.ant-dropdown-link > .anticon.anticon-down {\n display: inline-block;\n font-size: 12px;\n font-size: 10px \\9;\n -webkit-transform: scale(0.83333333) rotate(0deg);\n -ms-transform: scale(0.83333333) rotate(0deg);\n transform: scale(0.83333333) rotate(0deg);\n}\n:root .ant-dropdown-trigger > .anticon.anticon-down,\n:root .ant-dropdown-link > .anticon.anticon-down {\n font-size: 12px;\n}\n.ant-dropdown-button {\n white-space: nowrap;\n}\n.ant-dropdown-button.ant-btn-group > .ant-btn:last-child:not(:first-child) {\n padding-right: 8px;\n padding-left: 8px;\n}\n.ant-dropdown-button .anticon.anticon-down {\n display: inline-block;\n font-size: 12px;\n font-size: 10px \\9;\n -webkit-transform: scale(0.83333333) rotate(0deg);\n -ms-transform: scale(0.83333333) rotate(0deg);\n transform: scale(0.83333333) rotate(0deg);\n}\n:root .ant-dropdown-button .anticon.anticon-down {\n font-size: 12px;\n}\n.ant-dropdown-menu-dark,\n.ant-dropdown-menu-dark .ant-dropdown-menu {\n background: #001529;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a {\n color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow::after {\n color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover {\n color: #fff;\n background: transparent;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {\n color: #fff;\n background: #1890ff;\n}\n"],sourceRoot:""}])},984:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(985);t.default=o.a},985:function(e,t,n){"use strict";var i=n(0),f=n.n(i),o=n(1),r=n.n(o),a=n(4),s=n.n(a),g=n(87),l=n(3),u=n.n(l),m=n(986),c=n(7),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};var d,h=(function(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)}(p,d=i.Component),p.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},p.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},p.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},p.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},p.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},p.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=u()(n.className,this.getOpenClassName());return t&&e?Object(i.cloneElement)(e,{className:o}):e},p.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,o=e.animation,i=e.align,r=e.placement,a=e.getPopupContainer,s=e.showAction,l=e.hideAction,u=e.overlayClassName,c=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var o in e)0<=t.indexOf(o)||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),p=l;return p||-1===d.indexOf("contextMenu")||(p=["click"]),f.a.createElement(g.default,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:u,popupStyle:c,builtinPlacements:m.a,action:d,showAction:s,hideAction:p||[],popupPlacement:r,popupAlign:i,popupTransitionName:n,popupAnimation:o,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:a}),this.renderChildren())},p);function p(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p);var t=function(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}(this,d.call(this,e));return v.call(t),t.state="visible"in e?{visible:e.visible}:{visible:e.defaultVisible},t}h.propTypes={minOverlayWidthMatchTrigger:r.a.bool,onVisibleChange:r.a.func,onOverlayClick:r.a.func,prefixCls:r.a.string,children:r.a.any,transitionName:r.a.string,overlayClassName:r.a.string,openClassName:r.a.string,animation:r.a.any,align:r.a.object,overlayStyle:r.a.object,placement:r.a.string,overlay:r.a.oneOfType([r.a.node,r.a.func]),trigger:r.a.array,alignPoint:r.a.bool,showAction:r.a.array,hideAction:r.a.array,getPopupContainer:r.a.func,visible:r.a.bool,defaultVisible:r.a.bool},h.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var o=this;this.onClick=function(e){var t=o.props,n=o.getOverlayElement().props;"visible"in t||o.setState({visible:!1}),t.onOverlayClick&&t.onOverlayClick(e),n.onClick&&n.onClick(e)},this.onVisibleChange=function(e){var t=o.props;"visible"in t||o.setState({visible:e}),t.onVisibleChange(e)},this.getMinOverlayWidthMatchTrigger=function(){var e=o.props,t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in o.props?t:!n},this.getMenuElement=function(){var e=o.props.prefixCls,t=o.getOverlayElement(),n={prefixCls:e+"-menu",onClick:o.onClick};return"string"==typeof t.type&&delete n.prefixCls,f.a.cloneElement(t,n)},this.afterVisibleChange=function(e){if(e&&o.getMinOverlayWidthMatchTrigger()){var t=o.getPopupDomNode(),n=s.a.findDOMNode(o);n&&t&&n.offsetWidth>t.offsetWidth&&(t.style.minWidth=n.offsetWidth+"px",o.trigger&&o.trigger._component&&o.trigger._component.alignInstance&&o.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(e){o.trigger=e}};Object(c.polyfill)(h),t.a=h},986:function(e,t,n){"use strict";var o={adjustX:1,adjustY:1},i=[0,0],r={topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:i},topCenter:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:i},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:i},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:i},bottomCenter:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:i},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:i}};t.a=r},988:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o=n(1124),i=(c.prototype.isEmpty=function(){return c.isEmpty(this)},c.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},c.prototype.containsPosition=function(e){return c.containsPosition(this,e)},c.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)},c.prototype.containsRange=function(e){return c.containsRange(this,e)},c.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)},c.prototype.plusRange=function(e){return c.plusRange(this,e)},c.plusRange=function(e,t){var n,o,i,r;return o=t.startLineNumber<e.startLineNumber?(n=t.startLineNumber,t.startColumn):t.startLineNumber===e.startLineNumber?(n=t.startLineNumber,Math.min(t.startColumn,e.startColumn)):(n=e.startLineNumber,e.startColumn),r=t.endLineNumber>e.endLineNumber?(i=t.endLineNumber,t.endColumn):t.endLineNumber===e.endLineNumber?(i=t.endLineNumber,Math.max(t.endColumn,e.endColumn)):(i=e.endLineNumber,e.endColumn),new c(n,o,i,r)},c.prototype.intersectRanges=function(e){return c.intersectRanges(this,e)},c.intersectRanges=function(e,t){var n=e.startLineNumber,o=e.startColumn,i=e.endLineNumber,r=e.endColumn,a=t.startLineNumber,s=t.startColumn,l=t.endLineNumber,u=t.endColumn;return n<a?(n=a,o=s):n===a&&(o=Math.max(o,s)),l<i?(i=l,r=u):i===l&&(r=Math.min(r,u)),i<n?null:n===i&&r<o?null:new c(n,o,i,r)},c.prototype.equalsRange=function(e){return c.equalsRange(this,e)},c.equalsRange=function(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn},c.prototype.getEndPosition=function(){return new o.a(this.endLineNumber,this.endColumn)},c.prototype.getStartPosition=function(){return new o.a(this.startLineNumber,this.startColumn)},c.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},c.prototype.setEndPosition=function(e,t){return new c(this.startLineNumber,this.startColumn,e,t)},c.prototype.setStartPosition=function(e,t){return new c(e,t,this.endLineNumber,this.endColumn)},c.prototype.collapseToStart=function(){return c.collapseToStart(this)},c.collapseToStart=function(e){return new c(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)},c.fromPositions=function(e,t){return void 0===t&&(t=e),new c(e.lineNumber,e.column,t.lineNumber,t.column)},c.lift=function(e){return e?new c(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null},c.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},c.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)},c.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)},c.compareRangesUsingStarts=function(e,t){if(e&&t){var n=0|e.startLineNumber,o=0|t.startLineNumber;if(n!=o)return n-o;var i=0|e.startColumn,r=0|t.startColumn;if(i!=r)return i-r;var a=0|e.endLineNumber,s=0|t.endLineNumber;return a!=s?a-s:(0|e.endColumn)-(0|t.endColumn)}return(e?1:0)-(t?1:0)},c.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},c.spansMultipleLines=function(e){return e.endLineNumber>e.startLineNumber},c);function c(e,t,n,o){n<e||e===n&&o<t?(this.startLineNumber=n,this.startColumn=o,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=o)}},989:function(e,t,n){"use strict";n.d(t,"i",function(){return o}),t.r=function(e){return!e||"string"!=typeof e||0===e.trim().length},t.o=function(e){for(var o=[],t=1;t<arguments.length;t++)o[t-1]=arguments[t];return 0!==o.length?e.replace(i,function(e,t){var n=parseInt(t,10);return isNaN(n)||n<0||n>=o.length?e:o[n]}):e},t.l=function(e){return e.replace(/[<>&]/g,function(e){switch(e){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return e}})},t.m=r,t.y=a,t.g=function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")},t.B=function(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},t.j=function(e,t){var n=e.length-t.length;return 0<n?e.indexOf(t,n)===n:0==n&&e===t},t.h=function(e,t,n){void 0===n&&(n={});if(!e)throw new Error("Cannot create regex from empty string");t||(e=r(e));n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));var o="";n.global&&(o+="g");n.matchCase||(o+="i");n.multiline&&(o+="m");n.unicode&&(o+="u");return new RegExp(e,o)},t.A=function(e){return"^"!==e.source&&"^$"!==e.source&&"$"!==e.source&&"^\\s*$"!==e.source&&!(!e.exec("")||0!==e.lastIndex)},t.z=function(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")},t.n=function(e){for(var t=0,n=e.length;t<n;t++){var o=e.charCodeAt(t);if(32!==o&&9!==o)return t}return-1},t.p=function(e,t,n){void 0===t&&(t=0);void 0===n&&(n=e.length);for(var o=t;o<n;o++){var i=e.charCodeAt(o);if(32!==i&&9!==i)return e.substring(t,o)}return e.substring(t,n)},t.x=function(e,t){void 0===t&&(t=e.length-1);for(var n=t;0<=n;n--){var o=e.charCodeAt(n);if(32!==o&&9!==o)return n}return-1},t.v=s,t.w=l,t.k=function(e,t){var n=e?e.length:0,o=t?t.length:0;return n===o&&c(e,t)},t.C=function(e,t){var n=t.length;if(t.length>e.length)return!1;return c(e,t,n)},t.b=function(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n<o;n++)if(e.charCodeAt(n)!==t.charCodeAt(n))return n;return o},t.c=function(e,t){var n,o=Math.min(e.length,t.length),i=e.length-1,r=t.length-1;for(n=0;n<o;n++)if(e.charCodeAt(i-n)!==t.charCodeAt(r-n))return n;return o},t.t=function(e){return 55296<=e&&e<=56319},t.u=function(e){return 56320<=e&&e<=57343},t.f=function(e){return d.test(e)},t.d=function(e){return h.test(e)},t.q=function(e){return p.test(e)},t.e=function(e){for(var t=0,n=e.length;t<n;t++)if(f(e.charCodeAt(t)))return!0;return!1},t.s=f,n.d(t,"a",function(){return g}),t.D=function(e){return!!(e&&0<e.length&&65279===e.charCodeAt(0))};var o="";var i=/{(\d+)}/g;function r(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\[\]\(\)\#]/g,"\\$&")}function a(e,t){if(!e||!t)return e;var n=t.length;if(0===n||0===e.length)return e;for(var o=0;e.indexOf(t,o)===o;)o+=n;return e.substring(o)}function s(e){return 97<=e&&e<=122}function l(e){return 65<=e&&e<=90}function u(e){return s(e)||l(e)}function c(e,t,n){if(void 0===n&&(n=e.length),"string"!=typeof e||"string"!=typeof t)return!1;for(var o=0;o<n;o++){var i=e.charCodeAt(o),r=t.charCodeAt(o);if(i!==r)if(u(i)&&u(r)){var a=Math.abs(i-r);if(0!==a&&32!==a)return!1}else if(String.fromCharCode(i).toLowerCase()!==String.fromCharCode(r).toLowerCase())return!1}return!0}var d=/(?:[\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])/;var h=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEF8]|\uD83E[\uDD00-\uDDE6])/;var p=/^[\t\n\r\x20-\x7E]*$/;function f(e){return 11904<=(e=+e)&&e<=55215||63744<=e&&e<=64255||65281<=e&&e<=65374}var g=String.fromCharCode(65279)},990:function(e,t,n){"use strict";n(27),n(1137)},991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var p=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var r=o?Object.getOwnPropertyDescriptor(e,i):null;r&&(r.get||r.set)?Object.defineProperty(n,i,r):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(0)),f=o(n(3)),g=o(n(1139)),m=o(n(26)),i=n(10);function o(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}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})(e)}function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}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 r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var y=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},d=function(){function e(){var h;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(h=l(this,u(e).apply(this,arguments))).saveInputNumber=function(e){h.inputNumberRef=e},h.renderInputNumber=function(e){var t,n=e.getPrefixCls,o=h.props,i=o.className,r=o.size,a=o.prefixCls,s=y(o,["className","size","prefixCls"]),l=n("input-number",a),u=(0,f.default)((v(t={},"".concat(l,"-lg"),"large"===r),v(t,"".concat(l,"-sm"),"small"===r),t),i),c=p.createElement(m.default,{type:"up",className:"".concat(l,"-handler-up-inner")}),d=p.createElement(m.default,{type:"down",className:"".concat(l,"-handler-down-inner")});return p.createElement(g.default,b({ref:h.saveInputNumber,className:u,upHandler:c,downHandler:d,prefixCls:l},s))},h}var t,n,o;return function(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&&c(e,t)}(e,p.Component),t=e,(n=[{key:"focus",value:function(){this.inputNumberRef.focus()}},{key:"blur",value:function(){this.inputNumberRef.blur()}},{key:"render",value:function(){return p.createElement(i.ConfigConsumer,null,this.renderInputNumber)}}])&&r(t.prototype,n),o&&r(t,o),e}();(t.default=d).defaultProps={step:1}}});